PageSourceSearch

https://www.theinfatuation.com/_next/static/chunks/5426-179aefd99f9b6710.js

js theinfatuation.com collected 2026-10-02 02:15:32 UTC 13,387 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5426],{48818:function(e,n,t){"use strict";var i=t(62272),o=t(84814),r=t(41664),a=t.n(r),s=t(5276),l=t(15545),c=t(43401),d=t(33446),u=t(65060),m=t(10561),h=t(93344),p=t(88641);const g=(0,o.memo)((e=>{let{adLocation:n,city:t,widgetAd:o,isAdSuppressed:r=!1,className:g,style:x,...v}=e;var C,j,y,f,w,b;const _=(0,u.Z)(),S=(0,d.Z)(c.RJ),k="/".concat(t),A=!!o||r,{data:Z,error:T,loading:E}=(0,m.SR_)({variables:{cityPath:k,adLocation:n},skip:A}),R=null==Z||null===(j=Z.widgetAdCollection)||void 0===j||null===(C=j.items)||void 0===C?void 0:C.find((e=>{var n,t,i;return(null==e||null===(i=e.marketCollection)||void 0===i||null===(t=i.items[0])||void 0===t||null===(n=t.citySection)||void 0===n?void 0:n.path)===k})),N=!!o&&!R&&!E||r,{data:P,error:I}=(0,m.hsQ)({variables:{cityName:"All",adLocation:n},skip:N}),L=null==P||null===(y=P.widgetAdCollection)||void 0===y?void 0:y.items[0];var F;const z=null!==(F=null!=o?o:R)&&void 0!==F?F:L,H=(0,s.ZP)({threshold:.5,unobserveOnEnter:!0,onEnter:()=>{!z||T||I||_("Content Viewed",null,{adId:z.sys.id,cmpName:z.name,cmpType:"Ad"})}});return E?(0,i.jsx)(h.O,{height:{base:"305px",md:"71px"},"data-testid":"adSkeleton",width:"100%",startColor:p.Z.gray10,endColor:p.Z.gray30}
1):!z||r||(S?!z.imageSmall&&!z.image:!z.image)||T&&I?null:(0,i.jsx)(a(),{ref:H.observe,"data-testid":"chaseAdBanner","data-custom-link-analytics":"true",role:"link","aria-label":"Chase advertisement link","aria-description":"Click to view Chase advertisement",href:z.clickThroughUrl||"",id:z.sys.id,target:"_blank",rel:"noopener noreferrer nofollow",onClick:e=>{return n=e.currentTarget,void _("Exit Link Clicked",null,{url:n.href,adId:n.id});var n},children:(0,i.jsx)(l.Z,{placeholder:"empty",src:S?(null==z||null===(f=z.imageSmall)||void 0===f?void 0:f.url)||(null==z||null===(w=z.image)||void 0===w?void 0:w.url):null==z||null===(b=z.image)||void 0===b?void 0:b.url,alt:"".concat(null==z?void 0:z.name),className:g,style:x,...v})})}));n.Z=g},55426:function(e,n,t){"use strict";t.d(n,{Z:function(){return Q}});var i=t(62272),o=t(9008),r=t.n(o),a=t(11163),s=t(45363),l=t(14418),c=t(36916),d=t(61128),u=t(39849),m=t(23100),h=t(6110),p=t(85931),g=t(41664),x=t.n(g),v=t(15545),C=t(93047),j=t(69060),y=t(11999),f=t(1526),w=t(43401),b=t(33446),_=t(65060),S=t(92549);var k={imageContainer:e=>({position:"relative",_after:e?{}:{...S.Z.hoverLineAfter}}),rating:{position:"absolute",right:2,top:2,zIndex:1},titleContainer:e=>({alignItems:"flex-start",display:"flex",flexDirection:"column",justifyContent:"space-between",mb:e?"auto":0,mt:e?"auto":2}),title:e=>({position:"relative",textTransform:"capitalize",transition:"color 0.1s ease",_before:e?{...S.Z.h1HighlightBefore}:{},_groupHover:{color:e?"gray100":"primary"}})};const A=["".concat(w.$Z.sixColumns,", ").concat(w.vH.sixColumns),"".concat(w.$Z.threeColumns),"".concat(w.$Z.twoColumns),"".concat(w.$Z.fourColumns)];var Z=t(52285);var T=e=>{let{post:n,itemPosition:t,cmpName:o,aspectRatio:r="16:9"}=e;var a,s;const{setUserEngagement:c}=(0,Z.f)(),d=(0,b.Z)(w.RJ),u=(0,_.Z)();if(!(null==n||null===(a=n.sys)||void 0===a?void 0:a.id))return null;const{src:h,alt:g}=(0,f.lR)(n),S=(0,y.z_)(n.__typename),T=1===t,E=4===t&&!d;return(0,i.jsxs)(p.f,{display:T||E?"flex":"block",flexDirection:{sm:T?"column-reverse":"unset",md:T||E?"column":"unset",lg:T?"column":"unset"},gap:{sm:6,md:4},role:"group",onClick:()=>{c("post_discovery"),u("Post Clicked",n,{cmpName:o,cmpType:"Section Hero",itemPosition:t})},children:[(0,i.jsx)(m.xu,{sx:k.imageContainer(T),children:(0,i.jsxs)(m.xu,{position:"relative",width:{lg:E?"350px":"unset"},display:{md:E?"flex":"block"},flexDirection:"column",children:[(0,i.jsx)(v.Z,{src:h,alt:g||(0,y.GH)(n.__typename,n.title),style:{objectFit:"cover",width:"100%"},priority:!0,...w.bp[r],transformations:{resize:{aspectRatio:r}},sizes:(R=t-1,A[R])}),"rating"in n&&!!n.rating&&(0,i.jsx)(C.Z,{variant:"standalone-sm",zIndex:1,rating:n.rating})]})}),(0,i.jsxs)(m.xu,{sx:k.titleContainer(E),children:[(0,i.jsx)(x(),{href:(0,y.DG)(S,null===(s=n.slug)||void 0===s?void 0:s.name,n.canonicalPath),passHref:!0,legacyBehavior:!0,children:(0,i.jsx)(p.A,{children:T?(0,i.jsx)(l.X,{as:"h1",variant:"h1",sx:k.title(!0),mb:2,children:n.title}):(0,i.jsx)(l.X,{as:"h3",variant:"h3",sx:k.title(!1),mb:2,children:n.title})})}),(0,y.lp)(n)&&(0,i.jsx)(j.Z,{post:n,cuisine:(0,y.hN)(n)?[]:(0,y.V4)(n),neighborhood:(0,y._D)(n),cityPath:n.canonicalPath,itemPosition:t,cmpName:o,cmpType:"Section Hero"})]})]});var R};const E=[{gridColumnStart:1,gridColumnEnd:7,gridRowStart:1,gridRowEnd:2,mb:{sm:10,md:0}},{gridColumnStart:1,gridColumnEnd:4,gridRowStart:1,gridRowEnd:2},{gridColumnStart:4,gridColumnEnd:6,gridRowStart:1,gridRowEnd:2,mt:"auto"},{gridColumnStart:1,gridColumnEnd:7,gridRowStart:2,gridRowEnd:3}],R=e=>E[e];t(64172);const N={centeredSlides:!1,grabCursor:!0,slidesPerView:1.25,slidesPerGroup:1,touchEventsTarget:"container",spaceBetween:16};var P=e=>{let{featuredPost:n,postsCollection:t,name:o}=e;var r;const a=(0,b.Z)(w.RJ),s=null!=o?o:"";return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(u.M,{w:"100%",columns:{sm:6,md:12},spacingX:{sm:4,md:6},children:[(0,i.jsx)(m.xu,{...R(0),children:(0,i.jsx)(T,{cmpName:s,post:n,itemPosition:1,aspectRatio:a?"4:3":"16:9"})}),!a&&(0,i.jsx)(u.M,{columns:6,spacingX:{sm:4,md:6},spacingY:6,gridColumnStart:7,gridColumnEnd:13,gridTemplateRows:"max-content min-content",children:null==t||null===(r=t.items)||void 0===r?void 0:r.map(((e,n)=>{var t;return(0,i.jsx)(m.xu,{...R(n+1),children:(0,i.jsx)(T,{post:e,cmpName:s,itemPosition:n+2,aspectRatio:2===n?"16:9":"4:3"})},null==e||null===(t=e.sys)||void 0===t?void 0:t.id)}))})]}),a&&(0,i.jsx)(h.Z,{posts:(null==t?void 0:t.items)||[],cmpName:s,cmpType:"Section Carousel",startingItemPosition:1,swiperOptions:N,carouselWrapperStyles:{marginBottom:{base:0,md:16},minHeight:360}})]})},I=t(34996),L=t(51426),F=t(95738),z=t(27226),H=t.n(z),M=t(36092),O=t(48818),U=t(204),W=t(88911),B=t(29222),D=t(93701),X=t(15068),G=t(72551),J=t(94224),V=t(1963),K=t(83208),$=t(53985);const q=e=>{let{children:n,...t}=e;return(0,b.Z)(w.RJ)?(0,i.jsx)(m.xu,{...t,children:n}):(0,i.jsx)(G.Z,{...t,children:n})};var Y=()=>{const e=(0,b.Z)(w.RJ),n=(0,_.Z)(),{user:t,openModal:o}=(0,V.aF)(),{isLinkedToChase:r,loggedIn:a}=t,s=(0,K.Z)(),{linkChase:d,signUpWithChase:h,chaseAuthErrorModal:p,closeChaseAuthErrorModal:g}=(0,J.Z)();if(r)return null;const x=async()=>{a&&n("CTA Clicked",null,{eventLabel:"Account Management",eventLocation:"Section Front Ad",itemName:"LINK WITH CHASE"}),a?await d({eventLocation:"Section Front Ad"}):await h({eventLocation:"Section Front Ad",eventLabel:"Account Management"})};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(c.W2,{children:(0,i.jsxs)(u.M,{gap:6,columns:{base:6,md:12},mb:12,"data-testid":"banner-grid",children:[(0,i.jsx)(m.xu,{gridRowStart:1,gridColumn:{base:"1 / span 6",md:"1 / span 8"},marginTop:{base:12,md:0},children:(0,i.jsx)(v.Z,{alt:"Food and view of Tour Eiffel",src:"/assets/chaseAd/Chase_Sapphire_Linking_Paris.jpg",...e?{width:343,height:258}:{width:792,height:423},sizes:"(min-width: 1000px) 1200px, (min-width: 800px) 700px, (min-width: 500px) 500px, 200px",style:{objectFit:"cover",width:"100%"}})}),(0,i.jsxs)(U.k,{h:"fit-content",gap:2,zIndex:2,bg:"black",gridRowStart:1,gridColumn:{base:"4 / span 3",md:"1 / span 3"},p:{base:3,md:4},flexDir:"column",alignItems:"start",marginLeft:{base:0,md:6},marginTop:{base:0,md:6},children:[(0,i.jsxs)(U.k,{alignItems:"center",gap:2,wrap:"wrap",children:[(0,i.jsx)(U.k,{width:54,height:"10px",children:(0,i.jsx)(v.Z,{width:54,height:10,sizes:"200px",alt:"Chase Exclusive logo",src:"/assets/chaseAd/chase_dark_bg.png"})}),(0,i.jsx)(W.x,{variant:"caption",color:"white",children:"Exclusive"})]}),(0,i.jsx)(l.X,{as:"h3",variant:"h3",mb:6,color:"white",m:0,children:"The First Timer’s Guide To Eating In Paris"})]}),(0,i.jsxs)(q,{display:"flex",gap:6,flexDir:"column",bg:"white",h:"fit-content",p:{base:0,md:8},gridRowStart:{base:2,md:1},gridColumn:{base:"1 / span 6",md:"7 / span 6"},zIndex:2,alignSelf:"center",children:[(0,i.jsx)(m.xu,{width:270,height:"28px",position:"relative",children:(0,i.jsx)(v.Z,{width:270,height:28,sizes:"500px",alt:"Chase Sapphire and The Infatuation logos",src:"/assets/chaseAd/new_chase_infatuation_light_bg.png"})}),(0,i.jsx)(l.X,{variant:"h2",mb:0,children:"Unlock Exclusive Content Just For Chase Customers."}),s?(0,i.jsxs)(U.k,{alignItems:"center",gap:2,children:[!(a&&!r)&&(0,i.jsx)(W.x,{variant:"caption",color:"gray100",children:"New here?"}),(0,i.jsx)(B.z,{onClick:x,h:12,borderRadius:"base",px:8,gap:1,children:a&&!r?"LINK WITH CHASE":"Sign Up with Chase"})]}):(0,i.jsxs)(B.z,{onClick:async()=>{n("CTA Clicked",null,{eventLabel:"Account Management",itemName:"CONNECT CHASE ACCOUNT"}),a?await d({eventLocation:"Section Front Ad"}):o({trigger:"Top Nav",flow:"Section Front Ad",screen:"sign-up-chase"})},w:"fit-content",children:[(0,i.jsx)(D.m.span,{mr:2,children:"connect your account"}),(0,i.jsx)(X.Z,{name:"arrow-forward"})]})]})]})}),s&&(0,i.jsx)($.Z,{isOpen:p.isOpen,onClose:g,errorType:p.errorType,errorMessage:p.errorMessage,errorCode:p.errorCode,eventLabel:"Account Management",eventLocation:"Section Front Ad",onTryAgain:()=>{g(),x()}})]})};var Q=e=>{let{section:n,isPaginated:t,city:o}=e;var u,m,h,p,g;const x=(0,a.useRouter)(),v=(0,y.Uw)(x.query.page),C=1===v,j=null==n||null===(u=n.curationCollection)||void 0===u?void 0:u.items.find((e=>"CurateSectionHero"===(null==e?void 0:e.__typename))),f=null==n||null===(m=n.curationCollection)||void 0===m?void 0:m.items.filter((e=>"CurateSectionInline"===(null==e?void 0:e.__typename))),w=null==n||null===(h=n.curationCollection)||void 0===h?void 0:h.items.filter((e=>"CurateSectionPost"===(null==e?void 0:e.__typename))),b=null==n||null===(p=n.curationCollection)||void 0===p?void 0:p.items.find((e=>"CurateSectionCarousel"===(null==e?void 0:e.__typename))),_="all"===o?{type:"CITY",cityTypes:["Expansion - International","Expansion - Domestic"],postType:[M.Ig.PostGuide]}:{type:"SECTION",sectionIds:[null==n||null===(g=n.sys)||void 0===g?void 0:g.id]};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r(),{children:(0,i.jsx)("script",{...(0,s.h6)(F.rG)})}),(0,i.jsx)(L.ZP,{pageHasPost:!1,post:void 0,octagonPayload:{...o?{jp_infpcc:o,jp_infcn:o}:{}}}),C||!t?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(c.W2,{className:H().heroContainer,children:[(0,i.jsx)(P,{...j}),(0,i.jsx)(O.Z,{adLocation:"SectionFront",city:o,className:H().adContainer})]}),(0,i.jsx)(d.Z,{curatedSections:f,curateSectionPosts:w,curateSectionCarousel:b}),(0,i.jsx)(Y,{})]}):(0,i.jsx)(c.yl,{...c.L2,children:(0,i.jsxs)(l.X,{gridColumn:{base:"span 6",md:"span 8"},variant:"h1",mb:12,children:[n.displayName," – Page ",v]})}),(0,i.jsx)(I.Z,{query:_,className:H().mostRecent,pageNumber:t?v:1})]})}},53985:function(e,n,t){"use strict";t.d(n,{d:function(){return w}});var i=t(62272),o=t(84814),r=t(92752),a=t(8954),s=t(31948),l=t(44504),c=t(204),d=t(89154),u=t(73793),m=t(76684),h=t(88911),p=t(29222),g=t(11163),x=t(53300),v=t(15068),C=t(65060),j=t(7224),y=t(14480);const f=j.UZ,w=(e,n,t,i)=>{if("profile-linked"===e||((e,n)=>{var t;const i=null!==(t=null==e?void 0:e.toLowerCase())&&void 0!==t?t:"";return"3101"===n||"3102"===n||i.includes("exception occurred in create profile")||i.includes("unknown error")})(n,t))return"Unable to authenticate. Please try again, or, if you already have an account, log in using the method you originally signed up with.";if(t){const e=(0,y.T3)(t,n,{isSocialAuth:!0,authContext:i});if(e!==j.UZ)return e}return n||f};
1n.Z=e=>{let{isOpen:n,onClose:t,errorType:j,errorMessage:y,eventLabel:f,eventLocation:b,onTryAgain:_,errorCode:S,authContext:k="Signup"}=e;const A=(0,C.Z)(),Z=(0,g.useRouter)(),T=w(j,y,S,k),E=((e,n)=>{if(Array.isArray(e))return e[e.length-1]||"";if(e)return e;const t=(n||"").split("?")[0].split("/").filter(Boolean);return t[t.length-1]||""})(Z.query.slug,Z.asPath);(0,o.useEffect)((()=>{n&&(A("Error Viewed",null,{error_message:T,error_type:"Chase Authentication",event_label:E}),A("Modal Viewed",null,{event_location:b,modal_name:"Authentication Error"}))}),[E,T,b,n,A]);return(0,i.jsxs)(r.u_,{isOpen:n,onClose:t,isCentered:!0,motionPreset:"slideInBottom",children:[(0,i.jsx)(a.Z,{}),(0,i.jsxs)(s.h,{my:"3.75rem",mx:4,height:"unset",minHeight:"unset",borderRadius:"2xl",maxWidth:"md",children:[(0,i.jsx)(l.x,{px:6,pt:6,pb:0,children:(0,i.jsxs)(c.k,{justify:"space-between",align:"center",children:[(0,i.jsx)(x.ChakraLogoIcon,{size:35,fill:"blue50"}),(0,i.jsx)(d.h,{"aria-label":"Close",variant:"unstyled",display:"flex",alignItems:"center",justifyContent:"center",size:"sm",onClick:t,children:(0,i.jsx)(v.Z,{name:"close"})})]})}
1),(0,i.jsx)(u.f,{p:6,children:(0,i.jsx)(c.k,{direction:"column",children:(0,i.jsxs)(m.K,{spacing:4,w:"100%",align:"stretch",children:[(0,i.jsx)(h.x,{color:"black",textAlign:"left",fontWeight:"medium",children:T}),(0,i.jsx)(m.K,{spacing:4,w:"100%",children:(0,i.jsx)(p.z,{variant:"primary",w:"100%",onClick:()=>{A("CTA Clicked",null,{event_label:f,event_location:b,item_name:"Try Again",modal_name:"Authentication Error"}),(null!=_?_:t)()},children:"Try Again"})})]})})})]})]})}},27226:function(e){e.exports={heroContainer:"section-module_styles_heroContainer__ctSBo",adContainer:"section-module_styles_adContainer___gCoc",mostRecent:"section-module_styles_mostRecent__xRgWj"}}}]);

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.