PageSourceSearch

https://www.quick.fr/_next/static/chunks/4669.7bca5e5673ccd78d.js

js quick.fr collected 2026-10-01 12:20:33 UTC 2,234 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4669],{14669:(e,t,i)=>{i.r(t),i.d(t,{default:()=>x});var n=i(18153),a=i(14232),l=i(1340),r=i(44065),s=i(86069),u=i(21611),d=i(34411),o=i.n(d),c=i(64976),b=i.n(c);let g=(0,u.A)("div",{target:"e5i0w2y0"})({boxSizing:"border-box",display:"flex",width:"100%",flexDirection:"column"}),h=(0,u.A)("div",{target:"e5i0w2y1"})(e=>{let{theme:t,windowWidth:i}=e;return{height:t.breakpoints.sm?360:t.breakpoints.md?480:t.breakpoints.xl?600:t.breakpoints.xxl?720:.46*i,width:"100%",backgroundImage:t.breakpoints.xs?'url("'.concat(o(),'")'):'url("'.concat(b(),'")'),backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:"center"}});function w(){let[e,t]=(0,a.useState)(window.innerWidth),i=()=>{t(window.innerWidth)};return(0,a.useEffect)(()=>(window.addEventListener("resize",i),()=>{window.removeEventListener("resize",i)}),[window.innerWidth]),(0,n.Y)(h,{windowWidth:e})}var k=i(91342),_=i(61876),v=i(23081),p=i(5900),f=i(89722);let x=function(){var e,t,i;let{user:u,isLogged:d,isLoading:o,token:c}=(0,v.A)(),{activeRestaurant:b,activeRestaurantFr:h,isLoyaltyProgramActive:x}=(0,l.x)(),{data:A}=(0,r.xH)(c,h,!o),{data:m}=(0,s.uY)(c,h),Y=!!(null==m||null==(e=m.data)?void 0:e.items)&&m.data.items.length>0,R=(null==A||null==(t=A.data)?void 0:t.length)&&!(Y&&x),D={quick_title_line_1:{quick_title_line_part_1:{color:"Rouge",id:1,title:!o&&R&&d?"Mes bons":"Ma fid\xe9lit\xe9"}},quick_title_line_2:{quick_title_line_part_1:{id:2,color:"Rouge",title:!o&&R&&d?"plans":"r\xe9compens\xe9e"}}},q=(0,a.useMemo)(()=>{var e;return o||d||!x?(o||d||(x||!A)&&b.attributes)&&(o||!d||b.attributes)?!o&&d&&b.attributes&&((null==A||null==(e=A.data)?void 0:e.length)||Y&&x)?(0,n.Y)(p.A,{isOnMainPage:!0,dealsData:A,rewardsData:m,isActiveRestaurantHasOnlyDeals:R}):null:(0,n.Y)(k.A,{isLogged:!o&&d,isActivatedRestaurant:!!b.attributes}):(0,n.Y)(f.A,{})},[o,b,d,A,m,R,Y,x]);return(0,n.Y)(g,{children:null!==q&&(0,n.Y)(n.FK,{children:o||d||!x?(0,n.FD)(n.FK,{children:[!o&&d&&b.attributes&&((null==A||null==(i=A.data)?void 0:i.length)||Y&&x)&&(0,n.Y)(w,{}),(0,n.Y)(_.A,{isRestaurantChosen:!!b.attributes,quickTitle:D,isActiveRestaurantHasOnlyDeals:R,isLogged:!o&&d}),q]}):q})})}}}]);

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.