1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1518],{10793:e=>{e.exports="/_next/static/images/product-stormstrooper-img2-43e482e073eda0aa0cf4519bf23d799b.png"},23042:(e,t,i)=>{"use strict";i.d(t,{N:()=>g});var n=i(14232),r=i(64698),l=i(50181);function o(){let e=(0,n.useRef)(!1);return(0,l.E)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var a=i(3866),s=i(91200);class c extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:t}){let i=(0,n.useId)(),r=(0,n.useRef)(null),l=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:o,left:a}=l.current;if(t||!r.current||!e||!n)return;r.current.dataset.motionPopId=i;let s=document.createElement("style");return document.head.appendChild(s),s.sheet&&s.sheet.insertRule(` 2 [data-motion-pop-id="${i}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${n}px !important; 6 top: ${o}px !important; 7 left: ${a}px !important; 8 } 9 `),()=>{document.head.removeChild(s)}},[t]),n.createElement(c,{isPresent:t,childRef:r,sizeRef:l},n.cloneElement(e,{ref:r}))}let u=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:l,presenceAffectsLayout:o,mode:c})=>{let u=(0,s.M)(p),m=(0,n.useId)(),f=(0,n.useMemo)(()=>({id:m,initial:t,isPresent:i,custom:l,onExitComplete:e=>
9{for(let t of(u.set(e,!0),u.values()))if(!t)return;r&&r()},register:e=>(u.set(e,!1),()=>u.delete(e))}),o?void 0:[i]);return(0,n.useMemo)(()=>{u.forEach((e,t)=>u.set(t,!1))},[i]),n.useEffect(()=>{i||u.size||!r||r()},[i]),"popLayout"===c&&(e=n.createElement(d,{isPresent:i},e)),n.createElement(a.t.Provider,{value:f},e)};function p(){return new Map}var m=i(5048),f=i(62919);let h=e=>e.key||"",g=({children:e,custom:t,initial:i=!0,onExitComplete:a,exitBeforeEnter:s,presenceAffectsLayout:c=!0,mode:d="sync"})=>{var p;(0,f.V)(!s,"Replace exitBeforeEnter with mode='wait'");let g=(0,n.useContext)(m.L).forceRender||function(){let e=o(),[t,i]=(0,n.useState)(0),l=(0,n.useCallback)(()=>{e.current&&i(t+1)},[t]);return[(0,n.useCallback)(()=>r.Gt.postRender(l),[l]),t]}()[0],x=o(),v=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),b=v,y=(0,n.useRef)(new Map).current,w=(0,n.useRef)(b),k=(0,n.useRef)(new Map).current,E=(0,n.useRef)(!0);if((0,l.E)(()=>{E.current=!1,v.forEach(e=>{let t=h(e);k.set(t,e)}),w.current=b}),p=()=>{E.current=!0,k.clear(),y.clear()},(0,n.useEffect)(()=>()=>p(),[]),E.current)return n.createElement(n.Fragment,null,b.map(e=>n.createElement(u,{key:h(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:c,mode:d},e)));b=[...b];let Y=w.current.map(h),_=v.map(h),A=Y.length;for(let e=0;e<A;e++){let t=Y[e];-1!==_.indexOf(t)||y.has(t)||y.set(t,void 0)}return"wait"===d&&y.size&&(b=[]),y.forEach((e,i)=>{if(-1!==_.indexOf(i))return;let r=k.get(i);if(!r)return;let l=Y.indexOf(i),o=e;o||(o=n.createElement(u,{key:h(r),isPresent:!1,onExitComplete:()=>{k.delete(i),y.delete(i);let e=w.current.findIndex(e=>e.key===i);if(w.current.splice(e,1),!y.size){if(w.current=v,!1===x.current)return;g(),a&&a()}},custom:t,presenceAffectsLayout:c,mode:d},r),y.set(i,o)),b.splice(l,0,o)}),b=b.map(e=>{let t=e.key;return y.has(t)?e:n.createElement(u,{key:h(e),isPresent:!0,presenceAffectsLayout:c,mode:d},e)}),n.createElement(n.Fragment,null,y.size?b:b.map(e=>(0,n.cloneElement)(e)))}},36250:e=>{e.exports="/_next/static/images/product-stormstrooper-img1-dd3ea7e7d37d88e6913df06f0a8fae86.png"},41518:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>C});var n=i(18153),r=i(95062),l=i.n(r),o=i(48230),a=i.n(o),s=i(14232),c=i(23042),d=i(63992),u=i(24249),p=i(63171),m=i(59029),f=i(67013),h=i(21611),g=i(4250),x=i(53825);let v=(0,h.A)("div",{target:"etpcxsx0"})(e=>{let{theme:t,style:i}=e;return{maxWidth:t.breakpoints.md?"100%":"70%",cursor:"grab",...i}}),b=(0,h.A)("div",{target:"etpcxsx1"})(e=>{let{active:t,theme:i}=e;return{display:"flex",cursor:"pointer",justifyContent:"center",alignItems:"center",padding:"9px 15px",borderRadius:"40px",marginRight:8,backgroundColor:t?i.colors.red:i.colors.white}}),y=(0,h.A)("div",{target:"etpcxsx2"})(e=>{let{active:t,theme:i}=e;return{width:"100%",marginLeft:4,whiteSpace:"nowrap",color:t?i.colors.white:i.colors.red,fontWeight:500,fontSize:"14px",lineHeight:"17px"}});function w(e){let{families:t,activeFamily:i,setActiveFamily:r,style:l}=e,{breakpoints:o}=(0,u.u)();return(0,n.Y)(v,{style:l,children:(0,n.Y)(d.P.div,{initial:"hidden",whileInView:"show",viewport:{once:!0,amount:.2,margin:"-200px 0px -100px"},variants:(0,x.bK)(.1),style:{width:"100%"},children:(0,n.Y)(f.Ay,{moveType:"freeScroll",bound:!0,align:"prev",style:{paddingInline:o.md?"0px 120px":"20px 120px"},preventClickOnDrag:!0,needPanelThreshold:"100",onChanged:()=>{},children:t.map(e=>{let t=(null==i?void 0:i.id)===e.id;return(0,n.Y)(d.P.div,{variants:(0,x.bc)(),children:(0,n.FD)(b,{active:t,onClick:()=>r(e),children:[e.icon&&(0,n.Y)(g.E,{icon:e.icon,active:t}),(0,n.Y)(y,{active:t,children:e.label})]})},e.id)})})})})}w.propTypes={families:l().array,activeFamily:l().object,setActiveFamily:l().func,style:l().object},w.defaultProps={families:[],activeFamily:null,setActiveFamily:()=>{},style:{}};var k=i(47838),E=i(85739);let Y=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return e.toString().toLowerCase().normalize("NFD").replace(/[Ì-ͯ]/g,"").replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")},_=e=>{var t;let i=(null==e?void 0:e.attributes)||e||{},n=i.slug||"",r=i.category,l=((null==r||null==(t=r.data)?void 0:t.attributes)||r||{}).slug||"";return{id:null==e?void 0:e.id,name:i.name||"",link:l?"".concat(l,"/").concat(n):n,image:(e=>e?"".concat("https://www.quick.fr/mealImages/products/list","/product_").concat(e,".jpg"):"")(i.original_id
9),en_ce_moment_halal:!1}};function A(e){var t,i,r,l,o,f;let{sectionData:h}=e,{breakpoints:g}=(0,u.u)(),v=g.isMobile,b=(0,s.useMemo)(()=>((null==h?void 0:h.categories)||[]).map(e=>({id:e.id,label:e.title,icon:e.icon||Y(e.title)})),[null==h?void 0:h.categories]),[y,A]=(0,s.useState)(b[0]||null),C=(0,s.useMemo)(()=>((null==h?void 0:h.categories)||[]).find(e=>e.id===(null==y?void 0:y.id)),[null==h?void 0:h.categories,null==y?void 0:y.id]),F=(0,s.useMemo)(()=>{let e=null==C?void 0:C.products;return(Array.isArray(e)?e:(null==e?void 0:e.data)||[]).map(_)},[C]),I=(null==h||null==(r=h.background_image_desktop)||null==(i=r.data)||null==(t=i.attributes)?void 0:t.url)||"",M=(null==h||null==(f=h.background_image_mobile)||null==(o=f.data)||null==(l=o.attributes)?void 0:l.url)||"",P=v&&M?M:I,R=!!((null==h?void 0:h.cta_label)&&(null==h?void 0:h.cta_url));return b.length?(0,n.Y)(p.A,{backgroundColor:"greyInput",paddingx:"0px",paddingxMobile:"0px",children:(0,n.Y)("div",{className:"relative w-full box-border bg-cover bg-center bg-no-repeat px-10 max-md:px-4",style:P?{backgroundImage:"url(".concat(P,")")}:void 0,children:(0,n.FD)("div",{className:"relative z-[2] py-[101px] max-md:py-[34px_15px] px-[calc(50%-635px)] max-md:px-0",children:[(0,n.FD)("div",{className:"flex justify-between items-end mb-[70px] max-md:flex-col max-md:items-start max-md:mb-10",children:[(0,n.Y)("h2",{className:"m-0 text-[48px] font-bold max-md:text-[32px] text-quick-red italic leading-none font-quick",children:null==h?void 0:h.title}),(0,n.Y)(w,{setActiveFamily:A,families:b,activeFamily:y,style:{marginBottom:10,marginTop:20*!!v}})]}),(0,n.Y)(c.N,{mode:"wait",children:(0,n.Y)(d.P.div,{initial:"hidden",whileInView:"show",exit:"hidden",viewport:{once:!0,amount:.2,margin:"-100px 0px -100px"},className:"grid justify-items-center content-start w-full gap-4 max-w-fit mx-auto mb-[30px] max-md:mb-[60px] grid-cols-4 max-xl:grid-cols-3 max-md:grid-cols-1",variants:(0,x.bK)(.1),children:F.map((e,t)=>(0,n.Y)(d.P.div,{variants:(0,x.Io)(),children:(0,n.Y)(k.A,{item:e,index:t,activeFamily:y})},e.id))},null==y?void 0:y.id)}),R&&(0,n.Y)(E.A,{variants:(0,x.nF)(),children:(0,n.Y)("div",{className:"relative z-[105] w-fit mx-auto",children:(0,n.Y)(a(),{href:h.cta_url,className:"flex mx-auto no-underline",children:(0,n.Y)(m.A,{color:"red",textColor:"magenta",marginbottom:"40px",children:h.cta_label})})})})]})})}):null}A.propTypes={sectionData:l().object.isRequired};let C=A},47838:(e,t,i)=>{"use strict";i.d(t,{A:()=>A});var n=i(18153),r=i(95062),l=i.n(r),o=i(54587),a=i.n(o),s=i(48230),c=i.n(s),d=i(46009),u=i(14232),p=i(24249),m=i(21611);let f=(0,m.A)("div",{target:"e105pwpt0"})(e=>{let{style:t,theme:i,showImgOnHover:n=!1}=e;return{boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",flexDirection:"column",justifyContent:"space-between",width:i.breakpoints.isMobile?"100%":306,maxWidth:i.breakpoints.isMobile?"none":350,minWidth:306,height:350,borderRadius:10,padding:n?0:"6px 0 10px",paddingInline:i.breakpoints.isMobile&&"calc((100vw - 360px)/2)",backgroundColor:i.colors.white,...t," img":{width:n?306:276,height:n?350:276,alignSelf:"center"}}}),h=(0,m.A)("p",{target:"e105pwpt1"})(e=>{let{theme:t}=e;return{display:"flex",justifyContent:"center",alignItems:"center",width:t.breakpoints.isMobile?300:"auto",textAlign:"center",margin:0,fontWeight:800,marginInline:5,fontSize:22,lineHeight:1.2,minHeight:55,color:t.colors.black,fontStyle:"italic",letterSpacing:-.1}});var g=i(63293),x=i(36250),v=i.n(x),b=i(10793),y=i.n(b),w=i(87e3),k=i(57813),E=i.n(k),Y=i(11714);function _(e){var t,i;let{style:r,item:l,activeFamily:o,randomProductId1:s,randomProductId2:m}=e,{image:x,name:b,link:k,en_ce_moment_halal:_}=l,A=(null==(i=l.product_specs)||null==(t=i[0])?void 0:t.available)===!1,C=_&&(null==o?void 0:o.id)!=="enCeMoment",[F,I]=(0,u.useState)(!1),M=s===l.id?v():m===l.id?y():null,P=(0,w.A)("ST_ENABLE_GLITCHES"),{breakpoints:R}=(0,p.u)(),z=M&&F&&P&&!R.isMobile;return(0,n.Y)(c(),{href:"/produits/".concat(k,"#").concat(g.c),style:{textDecoration:"none"},onClick:e=>A&&e.preventDefault(),shallow:!0,children:(0,n.Y)(f,{style:{...r,cursor:A?"default":null==r?void 0:r.cursor},image:x,link:k,onMouseEnter:()=>I(!0),onMouseLeave:()=>I(!1),showImgOnHover:z,children:z?(0,n.Y)(a(),{style:{objectFit:"cover",borderRadius:10},src:M,alt:b,width:306,height:350}
9):(0,n.FD)(n.FK,{children:[C&&(0,n.Y)("img",{style:{width:"200px",position:"absolute",objectFit:"contain",top:-100,left:0},src:d.Ay.size(E()),alt:"en-ce-moment"}),(0,n.Y)(a(),{style:{objectFit:"contain",margin:"auto"},src:d.Ay.size(x,{width:"300",trim:!1}),alt:b,width:k.includes("boisson")||k.includes("dessert")?300:250,height:k.includes("boisson")||k.includes("dessert")?240:300}),A&&(0,n.FD)(n.FK,{children:[(0,n.Y)("div",{style:{background:"#fff",position:"absolute",top:0,left:0,width:"100%",height:"100%",mixBlendMode:"soft-light"}}),(0,n.Y)("div",{style:{position:"absolute",top:"40%",left:"50%",transform:"translateX(-50%) rotate(-9.352deg)"},children:(0,n.Y)(Y.A,{style:{fontSize:11},children:"Victime de son succ\xe8s"})})]}),(0,n.Y)(h,{children:b})]})})})}_.propTypes={activeFamily:l().object,style:l().object,item:l().object,randomProductId1:l().number,randomProductId2:l().number},_.defaultProps={style:{},activeFamily:{},item:{},randomProductId1:null,randomProductId2:null};let A=_},57813:e=>{e.exports="/_next/static/images/en-ce-moment-c491ac1c69c75232afe8b7e6762c4b21.png"}}]);
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.