PageSourceSearch

https://www.metrobank.com.ph/_next/static/chunks/7484.165061b9c8394602.js

js metrobank.com.ph collected 2026-09-24 09:28:52 UTC 53,688 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7484],{2563:e=>{e.exports={productContainer:"styles_productContainer__t_2sh","-isUitf":"styles_-isUitf__sjEJb",productDescription:"styles_productDescription__W7zu4",productContent:"styles_productContent__VkjO3","-hasCta":"styles_-hasCta__h_mfd",productCardTitle:"styles_productCardTitle__GGzV3",creditcardContent:"styles_creditcardContent__SteXN",iconContent:"styles_iconContent__wqnxQ",iconContainer:"styles_iconContainer__8Hl1O",icon:"styles_icon__9s_NT",image:"styles_image__QS05B",withBgIcon:"styles_withBgIcon__UJXJc",duoToneIcon:"styles_duoToneIcon__6AdXp",toggleCompare:"styles_toggleCompare__tV9GJ",mediaWrapper:"styles_mediaWrapper__zpbem",mediaWrapperInner:"styles_mediaWrapperInner__kRF6q",playButton:"styles_playButton__GF1rX",buttonContainer:"styles_buttonContainer__ZcWT_",ctaContainer:"styles_ctaContainer__MT45G",learnButton:"styles_learnButton__JSBu_",videoDateStamp:"styles_videoDateStamp__xvaum",imageWrapper:"styles_imageWrapper__Qj75U",imageEscudo:"styles_imageEscudo__fibcX",hoverEffect:"styles_hoverEffect__t_4p9",transparent:"styles_transparent__wcNau",blue:"styles_blue__Q7zQm",openVideoOverlay:"styles_openVideoOverlay__ABt8M",closeBtn:"styles_closeBtn___NgmJ",openVideoContainer:"styles_openVideoContainer__hh9yB",isMobile:"styles_isMobile__hlK6d",creditcardWrapper:"styles_creditcardWrapper__8quHQ",bankShadow:"styles_bankShadow__nYDyw"}},5127:e=>{e.exports={productContainer:"styles_productContainer__mZji4",productDescription:"styles_productDescription__FtWxp",productContent:"styles_productContent__jRnkO",productCardTitle:"styles_productCardTitle__uondE",creditcardContent:"styles_creditcardContent__RUMUT",iconContent:"styles_iconContent__Mdz0s",iconContainer:"styles_iconContainer__kryhI",icon:"styles_icon__ksFXt",toggleCompare:"styles_toggleCompare__E8_pk",mediaWrapper:"styles_mediaWrapper__JFscw",mediaWrapperInner:"styles_mediaWrapperInner__Am6PH",playButton:"styles_playButton__jW2tA",buttonContainer:"styles_buttonContainer__PyiPf",ctaContainer:"styles_ctaContainer__Vr1yH",learnButton:"styles_learnButton__qb6_5",videoDateStamp:"styles_videoDateStamp__xxD_i",imageWrapper:"styles_imageWrapper__C7G9F",image:"styles_image__fyq2w",imageEscudo:"styles_imageEscudo__MD_if",hoverEffect:"styles_hoverEffect__XIJ_q",transparent:"styles_transparent__5ZFRd",blue:"styles_blue__Ckb3x",openVideoOverlay:"styles_openVideoOverlay__7BGro",closeBtn:"styles_closeBtn__MfBwD",openVideoContainer:"styles_openVideoContainer__fZk5Y",isMobile:"styles_isMobile__3__pL",creditcardWrapper:"styles_creditcardWrapper__e0zIp",bankShadow:"styles_bankShadow__Bgfwg"}},6660:e=>{e.exports={container:"styles_container__dRCCt",filterContainer:"styles_filterContainer__mPF2_",filterButton:"styles_filterButton__7pZxu",active:"styles_active__XkSgq",inactive:"styles_inactive__NdQAD",filterIcon:"styles_filterIcon__kbK9t",filterLabel:"styles_filterLabel__iyWkh",carouselContainer:"styles_carouselContainer__B33Jm",iconCardWrap:"styles_iconCardWrap__ztAwP",cardColumnCarousel:"styles_cardColumnCarousel__U1jr6",mobileColumnCarousel:"styles_mobileColumnCarousel__otH3y",cardColumn:"styles_cardColumn__65u7N",cardColumnCard:"styles_cardColumnCard__Wjfka",gridCarousel:"styles_gridCarousel__LNbd2",zeroPercentCarousel:"styles_zeroPercentCarousel__Evy9v",equalHeightProductCarousel:"styles_equalHeightProductCarousel__fzwMU",rewardGridCarousel:"styles_rewardGridCarousel__aFWu5"}},7445:e=>{e.exports={productContainer:"styles_productContainer__tx3PC",productDescription:"styles_productDescription__vPOPF",productContent:"styles_productContent__qA2Tc",productCardTitle:"styles_productCardTitle__Am9W8",creditcardContent:"styles_creditcardContent__NeYsQ",iconContent:"styles_iconContent__zKKA8",iconContainer:"styles_iconContainer__oeRH7",icon:"styles_icon__KwyIK",toggleCompare:"styles_toggleCompare__hA8C4",mediaWrapper:"styles_mediaWrapper__tpyOY",mediaWrapperInner:"styles_mediaWrapperInner__PnGof",playButton:"styles_playButton__17kwV",buttonContainer:"styles_buttonContainer__nA6GI",ctaContainer:"styles_ctaContainer__XKTyB",learnButton:"styles_learnButton__HucOa",videoDateStamp:"styles_videoDateStamp__HADZW",imageWrapper:"styles_imageWrapper__Cbzc9",image:"styles_image__RMo3B",imageEscudo:"styles_imageEscudo__IpdrQ",productC
1ontainerCompressed:"styles_productContainerCompressed__rXOFl",hoverEffect:"styles_hoverEffect__ZGEZW",transparent:"styles_transparent__KbeHm",blue:"styles_blue__gNL8k",openVideoOverlay:"styles_openVideoOverlay__i9Kr4",closeBtn:"styles_closeBtn__qYwtR",openVideoContainer:"styles_openVideoContainer__a7C4q",isMobile:"styles_isMobile__M55AQ",creditcardWrapper:"styles_creditcardWrapper__q7HnO",bankShadow:"styles_bankShadow__ss2U_"}},11339:(e,t,o)=>{"use strict";o.d(t,{A:()=>s});var r=o(37876);o(14232);var n=o(30805),a=o.n(n);let s=({children:e,background:t,escudoBackground:o,escudoPosition:n,sectionLayoutStyle:s,escudoCustomStyle:l,sectionLayoutInnerStyle:i,useBackgroundImages:c=!1})=>c?(0,r.jsx)("div",{className:a().sectionLayout,style:{background:t,...s},children:(0,r.jsx)("div",{className:a().sectionLayoutInner,style:{...i},children:(0,r.jsx)("div",{className:a().sectionContent,children:e})})}):(0,r.jsx)("div",{className:a().sectionLayout,style:{background:t,...s},children:(0,r.jsxs)("div",{className:a().sectionLayoutInner,style:{...i},children:[(0,r.jsx)("div",{className:"flex absolute",style:n,children:(0,r.jsx)("div",{className:a().escudoBackground,children:(0,r.jsx)("div",{className:a().escudo,style:{background:o,...l}})})}),(0,r.jsx)("div",{className:a().sectionContent,children:e})]})})},13836:e=>{e.exports={container:"styles_container__lXjIq","-isUitf":"styles_-isUitf__oCPtf"}},19174:e=>{e.exports={controlsContainer:"styles_controlsContainer__4GiDD",customPaginationContainer:"styles_customPaginationContainer__WtiNn",customButtonSwiper:"styles_customButtonSwiper__gucbw",customPagination:"styles_customPagination__JMRyX",customWhitePagination:"styles_customWhitePagination__d18Dv",customNav:"styles_customNav__d_mT_",navButton:"styles_navButton__NhEA3",prev:"styles_prev__fjWVw",next:"styles_next__fbcE4",hiddenButton:"styles_hiddenButton__EeXe2"}},20099:e=>{e.exports={header:"styles_header__8tBmy",headerFlushHorizontal:"styles_headerFlushHorizontal__Gbv1Q",verticalHeader:"styles_verticalHeader__m4C6S",headerDesktop780:"styles_headerDesktop780__jektU",title:"styles_title__pxQWI",descText:"styles_descText__pYQYV",productCardsActions:"styles_productCardsActions__XSUL9",headerDescriptionFullWidth:"styles_headerDescriptionFullWidth__T4ddz",titleFullWidth:"styles_titleFullWidth__z10Ff",description:"styles_description__YAVRl",ctaContainer:"styles_ctaContainer__NBKw7"}},28665:e=>{e.exports={promoCardContainer:"styles_promoCardContainer__IyUaP",imageContainer:"styles_imageContainer__d7KF7",image:"styles_image__hN4Pd",cardContent:"styles_cardContent__HxW_6",promoName:"styles_promoName__Ia4uJ",points:"styles_points__HbdLA",productContainer:"styles_productContainer__UKGRr",productDescription:"styles_productDescription__RDVUK",productContent:"styles_productContent__y4FFh",productCardTitle:"styles_productCardTitle___GxGW",creditcardContent:"styles_creditcardContent__018Iw",iconContent:"styles_iconContent__7xaF4",iconContainer:"styles_iconContainer__XNzpm",icon:"styles_icon__T3NSB",toggleCompare:"styles_toggleCompare__GRQ1D",mediaWrapper:"styles_mediaWrapper__MxRsY",mediaWrapperInner:"styles_mediaWrapperInner__0FYJB",playButton:"styles_playButton__10SfB",buttonContainer:"styles_buttonContainer__xckLK",ctaContainer:"styles_ctaContainer__D4H2f",learnButton:"styles_learnButton__RXXTI",videoDateStamp:"styles_videoDateStamp__9D3zD",imageWrapper:"styles_imageWrapper__u_ppx",imageEscudo:"styles_imageEscudo__a2ZGP",hoverEffect:"styles_hoverEffect__rLOht",transparent:"styles_transparent__ev2_c",blue:"styles_blue__DpQ_j",openVideoOverlay:"styles_openVideoOverlay__8Bgrj",closeBtn:"styles_closeBtn__CoB4Y",openVideoContainer:"styles_openVideoContainer___ntiR",isMobile:"styles_isMobile__ihC1F",creditcardWrapper:"styles_creditcardWrapper__8gU5G",bankShadow:"styles_bankShadow__wkxVH"}},30805:e=>{e.exports={sectionLayout:"styles_sectionLayout__N9Yl4",sectionLayoutInner:"styles_sectionLayoutInner__YllT9",sectionContent:"styles_sectionContent__d7CW7",escudoBackground:"styles_escudoBackground__WmmPP","escudo-flip":"styles_escudo-flip__s5VbX",escudo:"styles_escudo__e92Q4"}},57694:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var r=o(37876);let n=({variant:e,height:t,width:o,color:n="currentColor",fill:a="none"})=>"play"===e?(0,r.jsxs)("svg",{width:o,height:t,viewBox:"16 10 30 30",fill:a,xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M8.5 24C8.5 10.7452 19.2452 0 32.5 0C45.7548 0 56.5 10.7452 56.5 24C56.5 37.2548 45.7548 48 32.5 48C19.2452 48 8.5 37.2548 8.5 24Z",fill:"none"}),(0,r.jsx)("path",{d:"M25.5 16.9895C25.5 16.0183 25.5 15.5328 25.7025 15.2651C25.8789 15.0319 26.1485 14.8876 26.4404 14.8702C26.7754 14.8502 27.1795 15.1195 27.9875 15.6582L38.5031 22.6686C39.1708 23.1137 39.5046 23.3363 39.6209 23.6168C39.7227 23.8621 39.7227 24.1377 39.6209 24.383C39.5046 24.6635 39.1708 24.886 38.5031 25.3312L27.9875 32.3415C27.1795 32.8802 26.7754 33.1496 26.4404 33.1296C26.1485 33.1122 25.8789 32.9679 25.7025 32.7347C25.5 32.467 25.5 31.9814 25.5 31.0103V16.9895Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]}):(0,r.jsxs)("svg",{width:o,height:t,viewBox:"16 10 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M8.5 24C8.5 10.7452 19.2452 0 32.5 0C45.7548 0 56.5 10.7452 56.5 24C56.5 37.2548 45.7548 48 32.5 48C19.2452 48 8.5 37.2548 8.5 24Z",fill:"none"}),(0,r.jsx)("path",{d:"M25.5 16.9895C25.5 16.0183 25.5 15.5328 25.7025 15.2651C25.8789 15.0319 26.1485 14.8876 26.4404 14.8702C26.7754 14.8502 27.1795 15.1195 27.9875 15.6582L38.5031 22.6686C39.1708 23.1137 39.5046 23.3363 39.6209 23.6168C39.7227 23.8621 39.7227 24.1377 39.6209 24.383C39.5046 24.6635 39.1708 24.886 38.5031 25.3312L27.9875 32.3415C27.1795 32.8802 26.7754 33.1496 26.4404 33.1296C26.1485 33.1122 25.8789 32.9679 25.7025 32.7347C25.5 32.467 25.5 31.9814 25.5 31.0103V16.9895Z",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})},68858:(e,t,o)=>{"use strict";o.d(t,{A:()=>Q});var r=o(37876),n=o(14232),a=o(6660),s=o.n(a),l=o(71473),i=o(88874),c=o(92252),d=o(48230),u=o.n(d),_=o(95566),p=o.n(_),m=o(97460),h=o(17120),y=o(47370),C=o(15039),g=o.n(C);let x=({imageClassName:e,...t})=>{let o=(0,n.useMemo)(()=>"ZeroPercentInstallmentDetailsPageV2Record"===t.__typename?`/pers
1onal/cards/credit-cards/zero-percent-installment-partners/${t.slug}`:`/promos${t.slug}`,[t]),a=(0,n.useMemo)(()=>{if(!t.expirationDate)return"";let e=new Date,o=new Date(t.expirationDate).getTime()-e.getTime();if(o<=0)return"Expired";let r=Math.floor(o/864e5),n=Math.floor(o/36e5);return r>1?`Ends in ${r} days`:1===r?"Ends in 1 day":`Ends in ${n} hours`},[t.expirationDate]),s="cardImage"in t?t.cardImage:t.cardBannerImage;return(0,r.jsxs)(u(),{href:o,className:g()(p().promoCardContainer,p().hoverEffect,p().blue,"ZeroPercentInstallmentDetailsPageV2Record"===t.__typename&&p().zeroPercentCard),children:[(0,r.jsx)("div",{className:g()(e,p().imageContainer,"ZeroPercentInstallmentDetailsPageV2Record"===t.__typename&&p().zeroPercentImage),children:(0,r.jsx)("img",{src:s?.url,alt:t.pageName,className:p().image,style:{objectPosition:`${(s?.focalPoint?.x??.5)*100}% ${(s?.focalPoint?.y??.5)*100}%`}})}),(0,r.jsxs)("div",{className:g()(p().cardContent,"ZeroPercentInstallmentDetailsPageV2Record"===t.__typename?"w-auto justify-between max-w-[calc(100%-98px)]":"w-fit h-fit justify-normal"),children:[t.expirationDate&&(0,r.jsxs)("div",{className:p().expirationDate,children:[(0,r.jsx)(m.FontAwesomeIcon,{height:13,width:13,icon:h.AoE}),a]}),(0,r.jsx)("p",{className:g()(p().promoName,"ZeroPercentInstallmentDetailsPageV2Record"===t.__typename?"text-blue-primary":"text-darker-grey","ZeroPercentInstallmentDetailsPageV2Record"===t.__typename&&p().zeroPercentTitle),children:"ZeroPercentInstallmentDetailsPageV2Record"===t.__typename?t.title:t.pageName}),Array.isArray(t.termsLabels)&&t.termsLabels.length>0&&(0,r.jsx)("div",{className:p().termsLabelContainer,children:t.termsLabels.map((e,t)=>(0,r.jsxs)("div",{className:p().termsLabel,children:[(0,r.jsx)("img",{src:e?.icon?.url,alt:`${e.text} icon`,className:p().termsLabelIcon}),(0,r.jsx)("p",{className:"whitespace-nowrap",children:e.text})]},t))}),(0,r.jsxs)("div",{className:p().viewPromoButton,children:["View"," ","ZeroPercentInstallmentDetailsPageV2Record"===t.__typename?"Details":"Promo",(0,r.jsx)(y.A,{direction:"right",height:16,width:16})]})]})]})};var B=o(13836),b=o.n(B),k=o(82205),f=o.n(k),v=o(89099),j=o(65788),w=o(78394);let N=({card:e})=>{let t=(0,v.useRouter)(),{isTablet:o,isMobile:n}=(0,c.kW)(),a=o||n,{setExternalLink:s}=(0,w.Vd)();return(0,r.jsxs)("div",{className:g()(f().productContainer,f().transparent,"group","justify-end",{"cursor-pointer":e.ctaButton&&a}),style:{background:e.backgroundColor},onClick:()=>{e.secondaryButton&&a&&(e.secondaryButton?.isExternal?s(e.secondaryButton?.slug):t.push(e.secondaryButton?.slug??"#"))},children:[e.backgroundImage?.url&&(0,r.jsx)("div",{className:f().imageWrapper,style:{"--bg-color":e.gradientOverlay||"transparent",backgroundImage:`url(${e.backgroundImage.url})`,backgroundSize:"cover",backgroundPosition:`${e.backgroundImage.focalPoint?.x*100}% ${e.backgroundImage.focalPoint?.y*100}%`}}),(a?e.escudoBackgroundMobile?.url:e.escudoBackground?.url)&&(0,r.jsx)("div",{className:`absolute inset-0 bg-no-repeat bg-contain ${a?"bg-[position:left_center]":"bg-[position:right]"}`,style:{backgroundImage:`url(${a?e.escudoBackgroundMobile?.url:e.escudoBackground?.url})`,height:a?"136px":"299px",top:"50%",transform:"translateY(-50%)"}}),(0,r.jsxs)("div",{className:f().productContent,children:[e.secondaryButton&&a?(0,r.jsx)("a",{href:e.secondaryButton?.slug,onClick:t=>{e.secondaryButton?.isExternal&&t.preventDefault()},className:"cursor-pointer",children:(0,r.jsx)("p",{className:g()(f().productCardTitle,"font-notoSans"),style:{color:e.productTitleColor?.hex||"text-white",WebkitLineClamp:e.productTitleLineLimit},children:e.productTitle})}):(0,r.jsx)("p",{className:g()(f().productCardTitle,"font-notoSans"),style:{color:e.productTitleColor?.hex||"text-white",WebkitLineClamp:e.productTitleLineLimit},children:e.productTitle}),e.productDescription&&!a&&(0,r.jsx)("p",{className:g()(f().productDescription,"font-notoSans","max-h-0"),style:{color:e.productDescriptionColor?.hex||"text-white",display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"},children:e.productDescription}),(0,r.jsxs)("div",{className:f().buttonContainer,children:[e.ctaButton?(0,r.jsx)("div",{className:f().ctaContainer,children:a?(0,r.jsxs)("button",{type:"button","data-name":e.ctaButton?.name,className:f().learnButton,style:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex},onClick:o=>{o.stopPropagation(),e.ctaButton?.isExternal?s(e.ctaButton?.slug):t.push(e.ctaButton?.slug??"#")}
1,children:[e.ctaButton.text,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]}):(0,r.jsx)(j.A,{label:e.ctaButton.text,icon:(0,r.jsx)(y.A,{direction:"right",height:24,width:24}),backgroundColor:e.ctaButton?.darkMode?e.ctaButton.backgroundColorDark?.hex:e.ctaButton.backgroundColor?.hex,iconBackgroundColor:e.ctaButton?.darkMode?e.ctaButton.iconBackgroundDark?.hex:e.ctaButton.iconBackground?.hex,iconContainerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.iconColorDark?.hex:e.ctaButton.iconColor?.hex},containerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex,fontWeight:700,cursor:"pointer",border:`1px solid ${e.ctaButton?.darkMode?e.ctaButton.borderColorDark?.hex:e.ctaButton.borderColor?.hex}`},onClick:()=>t.push(e.ctaButton?.slug??"#"),ctaName:e.ctaButton.name,href:e.ctaButton.slug,showButtonIcon:e.ctaButton.isArrowVisible||!1,isExternalLink:e.ctaButton?.isExternal})}):null,e.secondaryButton&&!a&&(0,r.jsx)("a",{href:e.secondaryButton?.slug,onClick:t=>{e.secondaryButton?.isExternal&&t.preventDefault()},children:(0,r.jsxs)("button",{type:"button","data-name":e.secondaryButton?.buttonDataName,className:f().learnButton,style:{color:e.secondaryButton.darkMode?e.secondaryButton.textColorDark?.hex:e.secondaryButton.textColor?.hex},onClick:()=>{e.secondaryButton?.isExternal&&s(e.secondaryButton?.slug)},children:[e.secondaryButton.label,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]})})]})]})]})};var D=o(5127),W=o.n(D),I=o(57694),P=o(95021);let M=({card:e})=>{var t;let{setIsModalOpen:o,setModalContent:a}=(0,w.Vd)(),{isTablet:s,isMobile:l}
1=(0,c.kW)(),i=s||l,[d,u]=(0,n.useState)(!1),_=(0,n.useRef)(null),p=(0,P.CZ)(e.externalVideoUrl,{autoplay:!0,mute:!0}),m=e.previewImage?.url??(0,P.X7)(e.externalVideoUrl,"hqdefault"),h=(0,n.useCallback)(()=>{u(!1),o(!1)},[o]);return(0,n.useEffect)(()=>{let e=e=>{d&&_.current&&!_.current.contains(e.target)&&h()};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[h,d]),(0,n.useEffect)(()=>{d&&a((0,r.jsxs)("div",{className:W().openVideoOverlay,id:"video-modal",children:[(0,r.jsx)("button",{className:W().closeBtn,onClick:e=>{h(),e.stopPropagation()},children:(0,r.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M30 10L10 30",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M10 10L30 30",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}),(0,r.jsx)("div",{className:g()(W().openVideoContainer,i&&W().isMobile),ref:_,children:e.video?.url?(0,r.jsxs)("video",{autoPlay:!0,controls:!0,playsInline:!0,preload:"auto",className:"object-contain",children:[(0,r.jsx)("source",{src:e.video.url,type:"video/mp4"}),"Your browser does not support the video tag."]}):p?(0,r.jsx)("iframe",{className:"w-full h-full",src:p,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):(0,r.jsx)("p",{children:"No video available."})})]}))},[i,e.video?.url,h,d,a,p]),(0,r.jsxs)("div",{className:g()(W().productContainer,W().transparent,"group",W().hoverEffect,"cursor-pointer",e.backgroundColor&&W().blue),style:{background:e.backgroundColor},onClick:()=>{(e.video?.url||p)&&(u(!0),o(!0))},children:[(0,r.jsx)("div",{className:W().mediaWrapper,children:m&&(0,r.jsx)("div",{className:W().mediaWrapperInner,style:{backgroundImage:`url(${m})`,backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"},"aria-label":`${e.productTitle}-video-thumbnail`,children:(0,r.jsx)("div",{className:W().playButton,children:(0,r.jsx)(I.A,{variant:"play",height:24,width:24,color:"#ffffff"})})})}),(0,r.jsxs)("div",{className:W().productContent,children:[(0,r.jsx)("p",{className:g()(W().productCardTitle,"font-mbSansBold font-bold"),style:{color:e.productTitleColor?e.productTitleColor.hex:"text-grey-gh-text",WebkitLineClamp:e.productTitleLineLimit},children:e.productTitle}),e.video?._updatedAt&&(0,r.jsx)("p",{className:W().videoDateStamp,children:(t=e.video._updatedAt)?new Date(t).toLocaleDateString("en-US",{month:"short",day:"2-digit",year:"numeric"}):""})]})]})};var E=o(2563),L=o.n(E),T=o(90357),A=o(48043);let S=({card:e,structure:t})=>{let o=(0,v.useRouter)(),n=o.asPath.includes("/uitf"),{isTablet:a,isMobile:s}=(0,c.kW)(),{setExternalLink:l}=(0,w.Vd)(),i=!!e.ctaButton?.slug?.trim()||!!e.ctaButton?.text?.trim()||!!e.secondaryButton?.slug?.trim()||!!e.secondaryButton?.label?.trim(),d=!(a||s)||!i;
1return(0,r.jsxs)("div",{className:g()(L().productContainer,L().transparent,"group",L().hoverEffect,e.backgroundColor&&L().blue,n&&L()["-isUitf"],i&&L()["-hasCta"]),style:{background:e.backgroundColor},children:[(0,r.jsx)("div",{className:L().iconContainer,style:{backgroundColor:"duo-color"===e.iconType?e.iconBackgroundFill?.hex||"#FFFFFF":(e.iconType,e.iconBackground?.hex||"#FFFFFF"),padding:e.iconType?"8px":"0"},children:(0,r.jsx)("div",{className:L().icon,children:e.icon&&(0,r.jsx)("img",{src:e.icon.url,alt:e.productTitle,className:g()(L().image,"with-bg-color"===e.iconType?L().withBgIcon:L().duoToneIcon),style:{filter:"with-bg-color"===e.iconType?"brightness(0) saturate(100%) invert(100%)":"none"}})})}),(0,r.jsxs)("div",{className:g()(L().productContent,L().iconContent,n&&L()["-isUitf"],i&&L()["-hasCta"]),children:[(0,r.jsx)(T.A,{content:e.productTitle,className:g()(L().productCardTitle,"font-notoSans"),style:{color:e.productTitleColor?.hex??"#ffffff",WebkitLineClamp:e.productTitleLineLimit,display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}}),e.productDescription&&d&&(0,r.jsx)(T.A,{content:e.productDescription,className:g()(L().productDescription,"font-notoSans",n&&L()["-isUitf"]),style:{color:e.productDescriptionColor?.hex??"#ffffff",WebkitLineClamp:(0,A.nD)(e.productTitle)&&"carousel"===t?2:3,display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}}),(0,r.jsxs)("div",{className:L().buttonContainer,children:[e.ctaButton&&(0,r.jsx)("div",{className:L().ctaContainer,children:(0,r.jsx)(j.A,{label:e.ctaButton.text,icon:(0,r.jsx)(y.A,{direction:"right",height:24,width:24}),backgroundColor:e.ctaButton.darkMode?e.ctaButton.backgroundColorDark?.hex:e.ctaButton.backgroundColor?.hex,iconBackgroundColor:e.ctaButton.darkMode?e.ctaButton.iconBackgroundDark?.hex:e.ctaButton.iconBackground?.hex,iconContainerStyles:{color:e.ctaButton.darkMode?e.ctaButton.iconColorDark?.hex:e.ctaButton.iconColor?.hex},containerStyles:{color:e.ctaButton.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex,fontWeight:700,cursor:"pointer",border:`1px solid ${e.ctaButton.darkMode?e.ctaButton.borderColorDark?.hex:e.ctaButton.borderColor?.hex}`},onClick:()=>o.push(e.ctaButton?.slug??"#"),ctaName:e.ctaButton.name,href:e.ctaButton.slug,showButtonIcon:e.ctaButton.isArrowVisible||!1,isExternalLink:e.ctaButton?.isExternal})}),e.secondaryButton&&(0,r.jsx)("a",{href:e.secondaryButton?.slug,onClick:t=>{e.secondaryButton?.isExternal&&t.preventDefault()},children:(0,r.jsxs)("button",{type:"button","data-name":e.secondaryButton.buttonDataName,className:L().learnButton,style:{color:e.secondaryButton.darkMode?e.secondaryButton.textColorDark?.hex:e.secondaryButton.textColor?.hex},onClick:()=>{e.secondaryButton?.isExternal&&l(e.secondaryButton?.slug)},children:[e.secondaryButton.label,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]})})]})]})]})};var V=o(99590),R=o.n(V);let F=({card:e,normalizeCardColumnImage:t,productTitleLineLimit:o})=>{let n=(0,v.useRouter)(),{isTablet:a,isMobile:s}=(0,c.kW)(),l=a||s,{setExternalLink:i}=(0,w.Vd)(),d=l&&o?void 0:o??e.productTitleLineLimit;return(0,r.jsxs)("div",{className:g()(R().productContainer,R().transparent,"group",R().hoverEffect,e.backgroundColor&&R().blue,{"cursor-pointer":l&&!!(e.ctaButton||e.secondaryButton)}),style:{background:e.backgroundColor},onClick:()=>{e.secondaryButton&&l&&(e.secondaryButton?.isExternal?i(e.secondaryButton?.slug):n.push(e.secondaryButton?.slug??"#"))},children:[(0,r.jsx)("div",{className:g()(R().mediaWrapper,t&&R().cardColumnMediaWrapper),children:e.previewImage&&(0,r.jsx)("div",{className:g()(R().mediaWrapperInner,R().bankShadow,t&&R().cardColumnMediaWrapperInner),children:(0,r.jsx)("img",{src:e.previewImage.url,alt:`${e.productTitle} preview image`,className:g()(t&&R().cardColumnPreviewImage)})})}),(0,r.jsxs)("div",{className:g()(R().productContent,t&&R().cardColumnContent),children:[(0,r.jsx)("p",{className:g()(R().productCardTitle,d&&R().productCardTitleClamped,`${e.productTitleColor?e.productTitleColor.hex:"text-white"} font-notoSans`),style:{WebkitLineClamp:d},children:e.productTitle}),(0,r.jsxs)("div",{className:R().buttonContainer,children:[e.ctaButton?(0,r.jsx)("div",{className:R().ctaContainer,children:l?(0,r.jsxs)("button",{type:"button","data-name":e.ctaButton?.name,className:R().learnButton,style:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex},onClick:t=>{t.stopPropagation(),e.ctaButton?.isExternal?i(e.ctaButton?.slug):n.push(e.ctaButton?.slug??"#")}
1,children:[e.ctaButton.text,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]}):(0,r.jsx)(j.A,{label:e.ctaButton.text,icon:(0,r.jsx)(y.A,{direction:"right",height:24,width:24}),backgroundColor:e.ctaButton?.darkMode?e.ctaButton.backgroundColorDark?.hex:e.ctaButton.backgroundColor?.hex,iconBackgroundColor:e.ctaButton?.darkMode?e.ctaButton.iconBackgroundDark?.hex:e.ctaButton.iconBackground?.hex,iconContainerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.iconColorDark?.hex:e.ctaButton.iconColor?.hex},containerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex,fontWeight:700,cursor:"pointer",border:`1px solid ${e.ctaButton?.darkMode?e.ctaButton.borderColorDark?.hex:e.ctaButton.borderColor?.hex}`},onClick:()=>n.push(e.ctaButton?.slug??"#"),ctaName:e.ctaButton.name,href:e.ctaButton.slug,showButtonIcon:e.ctaButton.isArrowVisible||!1,isExternalLink:e.ctaButton?.isExternal})}):null,e.secondaryButton&&!l&&(0,r.jsx)("a",{href:e.secondaryButton?.slug,onClick:t=>{e.secondaryButton?.isExternal&&t.preventDefault()},children:(0,r.jsxs)("button",{type:"button","data-name":e.secondaryButton.buttonDataName,className:R().learnButton,style:{color:e.secondaryButton?.darkMode?e.secondaryButton.textColorDark?.hex:e.secondaryButton.textColor?.hex},onClick:()=>{e.secondaryButton?.isExternal&&i(e.secondaryButton?.slug)},children:[e.secondaryButton.label,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]})})]})]})]})};var $=o(82573),z=o.n($);let O=({card:e,normalizeCardColumnImage:t,productTitleLineLimit:o})=>{let n=(0,v.useRouter)(),{isTablet:a,isMobile:s}=(0,c.kW)(),l=a||s,{setExternalLink:i}=(0,w.Vd)(),d=l&&o?void 0:o??e.productTitleLineLimit;return(0,r.jsxs)("div",{className:g()(z().productContainer,z().transparent,"group",{"cursor-pointer":l&&!!(e.ctaButton||e.secondaryButton)}),style:{background:e.backgroundColor},onClick:()=>{e.secondaryButton&&l&&(e.secondaryButton?.isExternal?i(e.secondaryButton?.slug):n.push(e.secondaryButton?.slug??"#"))},children:[(0,r.jsx)("div",{className:g()(z().mediaWrapper,t&&z().cardColumnMediaWrapper),children:e.previewImage&&(0,r.jsx)("div",{className:g()(z().mediaWrapperInner,t&&z().cardColumnMediaWrapperInner),style:{scale:l?"100%":"70%"},children:(0,r.jsx)("img",{src:e.previewImage.url,alt:`${e.productTitle} preview image`,className:g()(z().previewImage,z().bankShadow,t&&z().cardColumnPreviewImage),style:{"--shadow-color":e.backgroundColor&&"#ffffff"!==e.backgroundColor.toLowerCase()?"#ffffff":"#045F82"}})})}),(0,r.jsxs)("div",{className:g()(z().creditcardContent,t&&z().cardColumnContent),children:[(0,r.jsx)("p",{className:g()(z().productCardTitle,`${e.productTitleColor?e.productTitleColor.hex:"text-white"} font-notoSans`),style:{WebkitLineClamp:d},children:e.productTitle}),(0,r.jsxs)("div",{className:z().buttonContainer,children:[e.ctaButton?l?(0,r.jsx)("a",{href:"",children:(0,r.jsxs)("button",{type:"button",className:z().learnButton,style:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:"#059ed8"},onClick:t=>{t.preventDefault(),t.stopPropagation(),e.ctaButton?.isExternal?i(e.ctaButton?.slug):n.push(e.ctaButton?.slug??"#")},children:[e.ctaButton.text,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]})}):(0,r.jsx)("div",{className:z().ctaContainer,children:(0,r.jsx)(j.A,{label:e.ctaButton.text,icon:(0,r.jsx)(y.A,{direction:"right",height:24,width:24}),backgroundColor:e.ctaButton?.darkMode?e.ctaButton.backgroundColorDark?.hex:e.ctaButton.backgroundColor?.hex,iconBackgroundColor:e.ctaButton?.darkMode?e.ctaButton.iconBackgroundDark?.hex:e.ctaButton.iconBackground?.hex,iconContainerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.iconColorDark?.hex:e.ctaButton.iconColor?.hex},containerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex,fontWeight:700,cursor:"pointer",border:`1px solid ${e.ctaButton?.darkMode?e.ctaButton.borderColorDark?.hex:e.ctaButton.borderColor?.hex}`},onClick:()=>n.push(e.ctaButton?.slug??"#"),ctaName:e.ctaButton.name,href:e.ctaButton.slug,showButtonIcon:e.ctaButton.isArrowVisible||!1,isExternalLink:e.ctaButton?.isExternal})}):null,e.secondaryButton&&!l&&(0,r.jsx)("a",{href:e.secondaryButton?.slug,children:(0,r.jsxs)("button",{type:"button","data-name":e.secondaryButton.buttonDataName,className:z().learnButton,style:{color:e.secondaryButton?.darkMode?e.secondaryButton.textColorDark?.hex:e.secondaryButton.textColor?.hex},onClick:t=>{e.secondaryButton?.isExternal?(t.preventDefault(),i(e.secondaryButton?.slug)):n.push(e.secondaryButton?.slug??"#")},children:[e.secondaryButton.label,(0,r.jsx)(y.A,{direction:"right",he
1ight:24,width:24})]})})]})]})]})};var U=o(28665),Z=o.n(U);let q=e=>{let t,o=(0,v.useRouter)(),n=()=>{o.push(`/personal/cards/credit-cards/rewards-offers/${e.slug}`)},a=e.useBannerImage?`${100*e.cardBannerImage.focalPoint.x}% ${100*e.cardBannerImage.focalPoint.y}%`:`${100*e.cardLogoImage.focalPoint.x}% ${100*e.cardLogoImage.focalPoint.y}%`;return(0,r.jsxs)("div",{onClick:n,className:g()(Z().promoCardContainer,Z().hoverEffect,Z().blue),"data-name":e.ctaButton.name,children:[(0,r.jsx)("div",{className:g()(Z().imageContainer),children:(0,r.jsx)("img",{src:e.useBannerImage?e.cardBannerImage.url:e.cardLogoImage.url,alt:e.title,className:Z().image,style:{objectPosition:a}})}),(0,r.jsxs)("div",{className:Z().cardContent,children:[(0,r.jsx)("h6",{className:Z().promoName,children:e.pageName}),(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)("div",{className:"flex flex-col gap-3",children:(0,r.jsxs)("div",{className:Z().points,children:[(0,r.jsx)("img",{src:"/icons/gift.svg",alt:"Gift"}),e.points.toLocaleString()," points"]})}),(0,r.jsx)("div",{className:"hidden mb-desktop:block",children:(t=e.cardDealsImage.length<3?0:e.cardDealsImage.length-3,(0,r.jsxs)("div",{className:"flex gap-2",children:[e.cardDealsImage.slice(0,3).map((e,t)=>(0,r.jsx)("img",{src:e.image.url,alt:"",className:"h-8"},t)),t>0&&(0,r.jsxs)("div",{className:"flex items-center justify-center rounded-full bg-grey-border w-7 h-7 font-mbSansBold",children:["+",t]})]}))}),(0,r.jsxs)("button",{type:"button",onClick:n,"data-name":e.ctaButton.name,children:["View details",(0,r.jsx)(y.A,{direction:"right",height:16,width:16})]})]})]})]})};var G=o(7445),H=o.n(G);let X=({card:e,carouselMode:t=!1})=>{let o=(0,v.useRouter)(),{isTablet:n,isMobile:a}=(0,c.kW)(),s=n||a,{setExternalLink:l}=(0,w.Vd)();return(0,r.jsxs)("div",{className:g()(H().productContainer,t&&"!min-w-full mb-tablet:ml-[calc(100vw/15.6)] mb-desktop:ml-0",e.compressed&&H().productC
1ontainerCompressed,H().transparent,"group","justify-end",{"cursor-pointer":s&&!!(e.ctaButton||e.secondaryButton)}),style:{background:e.backgroundColor},onClick:()=>{e.secondaryButton&&s&&(e.secondaryButton?.isExternal?l(e.secondaryButton?.slug):o.push(e.secondaryButton?.slug??"#"))},children:[e.backgroundImage?.url&&(0,r.jsx)("div",{className:H().imageWrapper,style:{"--bg-color":e.gradientOverlay||"transparent",backgroundImage:`url(${e.backgroundImage.url})`,backgroundSize:"cover",backgroundPosition:`${e.backgroundImage.focalPoint?.x*100}% ${e.backgroundImage.focalPoint?.y*100}%`}}),(s?e.escudoBackgroundMobile?.url:e.escudoBackground?.url)&&(0,r.jsx)("div",{className:`absolute inset-0 bg-no-repeat bg-contain ${s?"bg-[position:left_center]":"bg-[position:right]"}`,style:{backgroundImage:`url(${s?e.escudoBackgroundMobile?.url:e.escudoBackground?.url})`,height:s?"151px":"299px",top:"50%",transform:"translateY(-50%)"}}),(0,r.jsxs)("div",{className:H().productContent,children:[(0,r.jsx)("p",{className:g()(H().productCardTitle,"font-notoSans"),style:{color:e.productTitleColor?.hex||"text-white",WebkitLineClamp:e.productTitleLineLimit},children:e.productTitle}),e.productDescription&&(0,r.jsx)("p",{className:g()(H().productDescription,"font-notoSans"),style:{color:e.productDescriptionColor?.hex||"#ffffff",display:"-webkit-box",WebkitLineClamp:e.productDescriptionLineLimit>0?e.productDescriptionLineLimit:s?3:void 0,WebkitBoxOrient:"vertical",overflow:"hidden"},children:e.productDescription}),(0,r.jsxs)("div",{className:H().buttonContainer,children:[e.ctaButton?(0,r.jsx)("div",{className:H().ctaContainer,children:s?(0,r.jsxs)("button",{type:"button","data-name":e.ctaButton?.name,className:H().learnButton,style:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex},onClick:t=>{t.stopPropagation(),e.ctaButton?.isExternal?l(e.ctaButton?.slug):o.push(e.ctaButton?.slug??"#")},children:[e.ctaButton.text,(0,r.jsx)(y.A,{direction:"right",height:16,width:16})]}):(0,r.jsx)(j.A,{label:e.ctaButton.text,icon:(0,r.jsx)(y.A,{direction:"right",height:24,width:24}),backgroundColor:e.ctaButton?.darkMode?e.ctaButton.backgroundColorDark?.hex:e.ctaButton.backgroundColor?.hex,iconBackgroundColor:e.ctaButton?.darkMode?e.ctaButton.iconBackgroundDark?.hex:e.ctaButton.iconBackground?.hex,iconContainerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.iconColorDark?.hex:e.ctaButton.iconColor?.hex},containerStyles:{color:e.ctaButton?.darkMode?e.ctaButton.textColorDark?.hex:e.ctaButton.textColor?.hex,fontWeight:700,cursor:"pointer",border:`1px solid ${e.ctaButton?.darkMode?e.ctaButton.borderColorDark?.hex:e.ctaButton.borderColor?.hex}`},onClick:()=>o.push(e.ctaButton?.slug??"#"),ctaName:e.ctaButton.name,href:e.ctaButton.slug,showButtonIcon:e.ctaButton.isArrowVisible||!1,isExternalLink:e.ctaButton?.isExternal})}):null,e.secondaryButton&&s?(0,r.jsx)("div",{className:H().ctaContainer,children:(0,r.jsxs)("button",{type:"button","data-name":e.secondaryButton?.buttonDataName,className:H().learnButton,id:e.secondaryButton?.buttonDataName,style:{color:e.secondaryButton.darkMode?e.secondaryButton.textColorDark?.hex:e.secondaryButton.textColor?.hex},onClick:t=>{t.stopPropagation(),e.secondaryButton?.isExternal?l(e.secondaryButton.slug):o.push(e.secondaryButton.slug??"#")},children:[e.secondaryButton.label,(0,r.jsx)(y.A,{direction:"right",height:16,width:16})]})}):null,e.secondaryButton&&!s&&(0,r.jsx)("a",{href:e.secondaryButton?.slug,onClick:t=>{e.secondaryButton?.isExternal&&t.preventDefault()},children:(0,r.jsxs)("button",{type:"button","data-name":e.secondaryButton?.buttonDataName,id:e.secondaryButton?.buttonDataName,className:H().learnButton,style:{color:e.secondaryButton.darkMode?e.secondaryButton.textColorDark?.hex:e.secondaryButton.textColor?.hex},onClick:()=>{e.secondaryButton?.isExternal&&l(e.secondaryButton?.slug)},children:[e.secondaryButton.label,(0,r.jsx)(y.A,{direction:"right",height:24,width:24})]})})]})]})]})},Y=({data:e,centerCards:t,structure:o})=>{let n=(0,v.useRouter)().asPath.includes("/uitf"),a=e.length;return(0,r.jsx)("div",{className:g()({"grid-rows-4":a>=4,"!justify-center":t},b().container,n&&b()["-isUitf"]),children:e.map((n,a)=>"CustomCardRecord"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-tablet:w-[336px] mb-desktop:w-full",children:(0,r.jsx)(N,{card:n})},a):"VideoCardRecord"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full",children:(0,r.jsx)(M,{card:n})},a):"IconCardRecord"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full mb-tablet:basis-[calc(50%-8px)] mb-tablet:flex-grow-0 mb-tablet:flex-shrink-0 mb-desktop:basis-auto mb-desktop:shrink mb-desktop:grow-0",children:(0,r.jsx)(S,{card:n,structure:o})},a):"BankCardRecord"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full",children:(0,r.jsx)(F,{card:n})},a):"CreditcardCardRecord"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full",children:(0,r.jsx)(O,{card:n})},a):"IndividualPromoRecord"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full",children:(0,r.jsx)(x,{...n,imageClassName:g()({"mb-desktop:!min-h-[331.93px] [&>img]:mb-desktop:!min-h-[331.93px]":2===e.length,"mb-desktop:!min-h-[213.8px] [&>img]:mb-desktop:!min-h-[213.8px]":3===e.length})})},a):"PromosDetailsPageV2Record"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full",children:(0,r.jsx)(x,{...n,imageClassName:g()({"mb-desktop:!min-h-[331.93px] [&>img]:mb-desktop:!min-h-[331.93px]":2===e.length,"mb-desktop:!min-h-[213.68px] [&>img]:mb-desktop:!min-h-[213.68px]":3===e.length})})}
1,a):"RewardsDetailsPagesV2Record"===n.__typename?(0,r.jsx)("div",{className:"mb-desktop:!min-h-[388px] mb-desktop:w-full flex justify-center",children:(0,r.jsx)(q,{...n})},a):"FeatureCardRecord"===n.__typename?(0,r.jsx)("div",{className:g()("mb-desktop:!min-h-[388px] mb-tablet:min-w-[336px] mb-desktop:min-w-0 mb-desktop:[&>div]:min-w-0 mb-widescreen:[&>div]:min-w-full",{"mb-desktop:w-full":!t}),children:(0,r.jsx)(X,{card:n})},a):null)})},Q=({centerCards:e,header:t,backgroundColor:o,useEscudoBackground:a,cardList:d,structure:u,filter:_,cardListBlock:p})=>{let{isDesktop:m,isWidescreen:h,isTablet:y,isMobile:C,width:B}=(0,c.kW)(),[b,k]=(0,n.useState)([]),[f,v]=(0,n.useState)("all"),j=(0,n.useMemo)(()=>d?.length?[...d]:p?.length?[...p]:[],[d,p]);(0,n.useEffect)(()=>{let e=_||[];k(e),e.length>0?v("all"):v(null)},[_]);let w=(0,n.useMemo)(()=>[...j],[j]),D=(0,n.useMemo)(()=>{let e=w;return f&&"all"!==f&&(e=w.filter(e=>"CreditcardCardRecord"!==e.__typename||e.tags?.includes(f))),e},[f,w]),W=(0,n.useMemo)(()=>{if(m||h)return 1;let e=D.length;return e<=4?4:e<8?Math.ceil(e/2):4},[m,h,D.length]),I=w.some(e=>"RewardsDetailsPagesV2Record"===e.__typename),P=w.some(e=>"ZeroPercentInstallmentDetailsPageV2Record"===e.__typename),E=w.some(e=>"IconCardRecord"===e.__typename),L=D.length>0&&D.every(e=>"BankCardRecord"===e.__typename||"CreditcardCardRecord"===e.__typename),T=(0,n.useMemo)(()=>{let e=2.2,t=40;return m||h?(e=4,t=0):C&&(e=D.length<=4?1:P?1.05:1.2,t=D.length<=4?12:24),I&&(C?(e=1,t=0):y&&(e=2,t=2)),E&&C&&(e=1,t=0),{slidesPerView:e,slidesOffsetBefore:t}},[m,h,C,y,I,E,P,D.length]),A=(y||C)&&!I&&L&&D.length>4,V=(0,n.useMemo)(()=>A?Array.from({length:Math.ceil(D.length/4)},(e,t)=>D.slice(4*t,(t+1)*4)):[],[D,A]),R=C?312:336,$=C?24:8,z=(0,n.useMemo)(()=>{let e=C?20:24,t=C?1:2;return B?Math.max(1,Math.floor((B-$+e)/(R+e))):t},[$,R,C,B]),U=(0,n.useMemo)(()=>A?Math.max(V.length-z+1,1):0,[V.length,A,z]),Z=U>1,G=(0,n.useMemo)(()=>Z?Math.max((B??0)-R,$):$,[$,R,Z,B]),H=(e,t,o)=>({CustomCardRecord:{variant:"custom",render:()=>(0,r.jsx)(N,{card:t})},VideoCardRecord:{variant:"video",render:()=>(0,r.jsx)(M,{card:t})},IconCardRecord:{variant:"icon",render:()=>(0,r.jsx)(S,{card:t,structure:u})},BankCardRecord:{variant:"bank",render:()=>(0,r.jsx)(F,{card:t,normalizeCardColumnImage:o?.normalizeCardColumnImage,productTitleLineLimit:o?.productTitleLineLimit})},CreditcardCardRecord:{variant:"creditcard",render:()=>(0,r.jsx)(O,{card:t,normalizeCardColumnImage:o?.normalizeCardColumnImage,productTitleLineLimit:o?.productTitleLineLimit})},IndividualPromoRecord:{variant:"promo",render:()=>(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(x,{...t})})},PromosDetailsPageV2Record:{variant:"promodetails",render:()=>(0,r.jsx)("div",{className:"w-full",children:(0,r.jsx)(x,{...t})})},RewardsDetailsPagesV2Record:{variant:"rewarddetails",render:()=>(0,r.jsx)("div",{className:"flex justify-center w-full",children:(0,r.jsx)(q,{...t})})},FeatureCardRecord:{variant:"feature",render:()=>(0,r.jsx)(X,{card:t,carouselMode:!0})}})[e]?.render()||(0,r.jsx)("div",{className:g()("ZeroPercentInstallmentDetailsPageV2Record"===e?"w-full h-full":"mb-desktop:!min-h-[388px] mb-desktop:w-full"),children:(0,r.jsx)(x,{...t})});return(0,r.jsx)("div",{style:{background:a?"none":o},children:(0,r.jsxs)("div",{className:g()(s().container,!t&&"-mt-16 mb-desktop:-mt-20"),children:[(0,r.jsx)(l.A,{...t}),0!==b.length&&(0,r.jsx)("div",{className:s().carouselContainer,children:(0,r.jsx)("div",{className:s().filterContainer,children:b&&b.map((e,t)=>(0,r.jsxs)("div",{onClick:()=>v(e.value),className:g()(s().filterButton,f===e.value?s().active:s().inactive),children:[(0,r.jsx)("img",{src:e.icon.url,alt:e.label,className:g()("w-5 h-5",s().filterIcon),style:{filter:f===e.value?"brightness(0) invert(1)":"brightness(0) saturate(100%) invert(42%) sepia(90%) saturate(450%) hue-rotate(160deg) brightness(59%) contrast(200%)"}}),(0,r.jsx)("span",{className:g()("font-bold text-sm px-1",s().filterLabel),children:e.label})]},t))})}),(0,r.jsx)("div",{className:g()(s().carouselContainer,E&&s().iconCardWrap),children:A?(0,r.jsx)(i.A,{rows:1,data:V,slidesPerView:"auto",spaceBetween:C?20:24,slidesOffsetBefore:$,slidesOffsetAfter:G,slidesPerGroup:1,showPagination:Z,showArrowPagination:!1,paginationCount:U,className:g()(s().cardColumnCarousel,C&&s().mobileColumnCarousel),renderItem:(e,t)=>
1(0,r.jsx)("div",{className:s().cardColumn,children:e.map((e,n)=>(0,r.jsx)("div",{className:s().cardColumnCard,children:H(e.__typename,e,{normalizeCardColumnImage:o?.toLowerCase()==="#ffffff"||o?.toLowerCase()==="#fff",productTitleLineLimit:2})},`${t}-${n}`))})}):"wrap"===u||w.length<=4&&B>=768?(0,r.jsx)(Y,{data:D.filter(e=>new Set(["CustomCardRecord","VideoCardRecord","BankCardRecord","CreditcardCardRecord","IconCardRecord","IndividualPromoRecord","PromosDetailsPageV2Record","RewardsDetailsPagesV2Record","FeatureCardRecord"]).has(e.__typename)),centerCards:e,structure:u}):(0,r.jsx)(i.A,{rows:W,data:D,slidesPerView:T.slidesPerView,spaceBetween:0,slidesOffsetBefore:T.slidesOffsetBefore,slidesPerGroup:I||m||h?4:1,className:g()(I?s().rewardGridCarousel:s().gridCarousel,P&&s().zeroPercentCarousel,E&&s().iconCardCarousel,D[0]?.__typename==="CreditcardCardRecord"&&s().equalHeightProductCarousel,D.length<4&&"!h-fit"),renderItem:e=>H(e.__typename,e)})})]})})}},70031:()=>{},71473:(e,t,o)=>{"use strict";o.d(t,{A:()=>x});var r=o(37876);o(14232);var n=o(20099),a=o.n(n),s=o(65788),l=o(47370),i=o(89099),c=o(43676),d=o.n(c),u=o(6189),_=o.n(u),p=o(62426),m=o.n(p),h=o(15039),y=o.n(h),C=o(78394),g=o(90357);let x=({title:e,description:t,ctaButton:o,isCtaBottom:n,titleClassName:c,descriptionClassName:u,descriptionClassVariant:p,headerClassVariant:h,primaryButton:x,secondaryButton:B,descriptionFullWidth:b,flushHorizontalInset:k})=>{let f=(0,i.useRouter)(),{setExternalLink:v}=(0,C.Vd)(),j=f.asPath.includes("/uitf");return(0,r.jsxs)("div",{className:y()(a().header,h,b&&a().headerDescriptionFullWidth,k&&a().headerFlushHorizontal),children:[e&&(0,r.jsx)(d(),{rehypePlugins:[_()],plugins:[m()],className:y()(c,j?a().titleFullWidth:a().title),components:{h1:({node:e,...t})=>(0,r.jsx)("h1",{...t}),h2:({node:e,...t})=>(0,r.jsx)("h2",{...t}),h3:({node:e,...t})=>(0,r.jsx)("h3",{...t}),h4:({node:e,...t})=>(0,r.jsx)("h4",{...t}),h5:({node:e,...t})=>(0,r.jsx)("h5",{...t}),h6:({node:e,...t})=>(0,r.jsx)("h6",{...t}),p:({node:e,...t})=>(0,r.jsx)("p",{...t})},children:e}),(0,r.jsxs)("div",{className:y()(a().description,p,{"!flex-col !items-start":n}),children:[(t||Array.isArray(o)&&o.length>0)&&(0,r.jsx)(g.A,{content:t,className:y()(a().descText,u)}),Array.isArray(o)&&o.length>0&&(0,r.jsx)("div",{className:a().ctaContainer,children:Array.isArray(o)&&o.map((e,t)=>(0,r.jsx)(s.A,{label:e.text,icon:(0,r.jsx)(l.A,{direction:"right",height:24,width:24}),backgroundColor:e.darkmode?e.backgroundColorDark?.hex:e.backgroundColor?.hex,iconBackgroundColor:e.darkMode?e.iconBackgroundDark?.hex:e.iconBackground?.hex,iconContainerStyles:e.tiltArrow?{transform:"rotate(-45deg)",color:e.darkMode?e.iconColorDarkMode?.hex:e.iconColor.hex}:{color:e.darkMode?e.iconColorDarkMode?.hex:e.iconColor.hex},containerStyles:{color:e.darkMode?e.textColorDark?.hex:e.textColor?.hex,fontWeight:700,cursor:"pointer",border:`1px solid ${e.darkMode?e.borderColorDark?.hex:e.borderColor?.hex}`},onClick:()=>f.push(e.slug),ctaName:e.name,href:e.slug,isExternalLink:e?.isExternal,isNewTab:e?.tiltArrow},e.name??`secondary-cta-${t}`))})]})]})}},76085:()=>{},82205:e=>{e.exports={productContainer:"styles_productContainer__B4NLz",productDescription:"styles_productDescription__RSPFM",productContent:"styles_productContent__QJCrJ",productCardTitle:"styles_productCardTitle__qNh38",creditcardContent:"styles_creditcardContent__RkPOD",iconContent:"styles_iconContent__pUhVq",iconContainer:"styles_iconContainer__CHaOQ",icon:"styles_icon__WPFbi",toggleCompare:"styles_toggleCompare__Q_40I",mediaWrapper:"styles_mediaWrapper___qgUf",mediaWrapperInner:"styles_mediaWrapperInner__MA9wF",playButton:"styles_playButton__n6gmE",buttonContainer:"styles_buttonContainer__RFyas",ctaContainer:"styles_ctaContainer__PV8kX",learnButton:"styles_learnButton__kGm6U",videoDateStamp:"styles_videoDateStamp__I98_J",imageWrapper:"styles_imageWrapper__ptqhL",image:"styles_image__ZmbEe",imageEscudo:"styles_imageEscudo__wxSrq",hoverEffect:"styles_hoverEffect__Nv2pZ",transparent:"styles_transparent__zupIw",blue:"styles_blue__citNm",openVideoOverlay:"styles_openVideoOverlay__XmEqM",closeBtn:"styles_closeBtn__m5vFr",openVideoContainer:"styles_openVideoContainer__FzKRA",isMobile:"styles_isMobile__GBbDA",creditcardWrapper:"styles_creditcardWrapper__8_wwe",bankShadow:"styles_bankShadow__BgOmk"}},82573:e=>
1{e.exports={productContainer:"styles_productContainer__Duxrm",productDescription:"styles_productDescription__lUcNU",productContent:"styles_productContent__S_9fB",productCardTitle:"styles_productCardTitle__Sy437",creditcardContent:"styles_creditcardContent__E9zqV",productCardTitleClamped:"styles_productCardTitleClamped__fF6WP",cardColumnContent:"styles_cardColumnContent__1rhu9",buttonContainer:"styles_buttonContainer__OGPuL",iconContent:"styles_iconContent___HdA3",iconContainer:"styles_iconContainer__D8sVM",icon:"styles_icon__mJYmp",toggleCompare:"styles_toggleCompare__QJ_wF",mediaWrapper:"styles_mediaWrapper__4Z4Mi",mediaWrapperInner:"styles_mediaWrapperInner___5Hl5",previewImage:"styles_previewImage__plJWZ",cardColumnMediaWrapper:"styles_cardColumnMediaWrapper__lC938",cardColumnMediaWrapperInner:"styles_cardColumnMediaWrapperInner__oI8Ug",cardColumnPreviewImage:"styles_cardColumnPreviewImage__S5KTB",ctaContainer:"styles_ctaContainer__kpQFE",learnButton:"styles_learnButton__tOMxy",videoDateStamp:"styles_videoDateStamp__OBrcq",imageWrapper:"styles_imageWrapper__srP7Y",image:"styles_image__JEi0K",imageEscudo:"styles_imageEscudo__s5sfh",hoverEffect:"styles_hoverEffect__3YoFy",transparent:"styles_transparent__LwrEp",blue:"styles_blue__iEHcF",creditcardWrapper:"styles_creditcardWrapper__cBwYM",bankShadow:"styles_bankShadow__KBBYa"}},88874:(e,t,o)=>{"use strict";o.d(t,{A:()=>_});var r=o(37876),n=o(14232),a=o(27888),s=o(19174),l=o.n(s);o(32283),o(76085),o(70031),o(96637);var i=o(84618),c=o(3952),d=o(15039),u=o.n(d);let _=({data:e,renderItem:t,slidesPerView:o=4,rows:s=2,spaceBetween:d=30,slidesOffsetBefore:_=40,slidesOffsetAfter:p,slidesPerGroup:m,className:h,showPagination:y=!0,showArrowPagination:C=!0,useWhitePagination:g=!1,paginationClass:x,paginationCount:B,navClassName:b,wrapperClassName:k,slideClassName:f,breakpoints:v,forcePagination:j=!1,activeSlideIndex:w=null})=>{let N=(0,n.useRef)(null),D=(0,n.useRef)(null),W=(0,n.useRef)(null),I=(0,n.useRef)(null),[P,M]=(0,n.useState)(!0),[E,L]=(0,n.useState)(!1),[T,A]=(0,n.useState)(0),S="number"==typeof B,V=t=>Math.max(Math.min(t.activeIndex,(B??e.length)-1),0);return(0,n.useEffect)(()=>{if(!y||S)return;let e=N.current,t=D.current;e&&t&&(e.params.pagination&&"boolean"!=typeof e.params.pagination&&(e.params.pagination.el=t),e.pagination&&(e.pagination.destroy(),e.pagination.init(),e.pagination.render(),e.pagination.update()))},[y,S,e.length]),(0,n.useEffect)(()=>{let e=N.current;null==e||null==w||e.activeIndex!==w&&e.slideTo(w)},[w,e.length]),(0,r.jsxs)("div",{className:l().carouselWrapper,style:{"--grid-rows":s},children:[(0,r.jsxs)("div",{className:"relative w-full h-auto",children:[(0,r.jsx)(a.RC,{onSwiper:e=>{N.current=e,M(e.isBeginning),L(e.isEnd),A(V(e))},onSlideChange:e=>{M(e.isBeginning),L(e.isEnd),A(V(e))},slidesPerView:o,slidesPerGroup:m||("number"==typeof o?o*s:1),grid:{rows:s,fill:"row"},pagination:!!y&&!S&&{clickable:!0,el:D.current},navigation:{prevEl:W.current,nextEl:I.current},onBeforeInit:e=>{if(e.params.navigation){let t=e.params.navigation;t.prevEl=W.current,t.nextEl=I.current}},spaceBetween:d,modules:[i.xA,i.dK,i.Vx],slidesOffsetBefore:_,slidesOffsetAfter:p??_,className:h,breakpoints:v,wrapperClass:k,children:e.map((e,o)=>(0,r.jsx)(a.qr,{className:f,children:t(e,o)},o))},`grid-carousel-${s}-${e.length}-${S?`manual-${B}`:"swiper"}-${y?"pag":"nopag"}`),C&&(0,r.jsxs)("div",{className:u()(l().customNav,b),children:[(0,r.jsx)("button",{ref:W,className:u()(l().navButton,l().prev,{[l().hiddenButton]:P}),children:(0,r.jsx)(c.A,{direction:"left",height:24,width:24,strokeWidth:1})}),(0,r.jsx)("button",{ref:I,className:u()(l().navButton,l().next,{[l().hiddenButton]:E}),children:(0,r.jsx)(c.A,{direction:"right",height:24,width:24,strokeWidth:1})})]})]}),S&&y&&B>0?(0,r.jsx)("div",{className:`${g?l().customWhitePagination:l().customPagination} ${x??""}`,children:Array.from({length:B},(e,t)=>(0,r.jsx)("button",{type:"button","aria-label":`Go to slide ${t+1}`,className:u()("swiper-pagination-bullet",{"swiper-pagination-bullet-active":T===t}),onClick:()=>N.current?.slideTo(t)},t))},`manual-pagination-${B}`):(y&&e.length>4||j)&&(0,r.jsx)("div",{ref:D,className:`${g?l().customWhitePagination:l().customPagination} ${x??""}`},"swiper-pagination")]})}},95021:(e,t,o)=>{"use strict";o.d(t,{CZ:()=>a,X7:()=>s});let r=/^[a-zA-Z0-9_-]{11}$/,n=e=>{if(!e)return null;try{let t=new URL(e),o=t.hostname.replace(/^www\.|^m\./,"");
1if("youtu.be"===o){let e=t.pathname.split("/").filter(Boolean)[0];return e&&r.test(e)?e:null}if("youtube.com"!==o&&"youtube-nocookie.com"!==o)return null;let n=t.searchParams.get("v");if("/watch"===t.pathname&&n&&r.test(n))return n;let[a,s]=t.pathname.split("/").filter(Boolean);if(["embed","shorts","live"].includes(a)&&s&&r.test(s))return s;return null}catch{return null}},a=(e,t={})=>{let o=n(e);if(!o)return null;let r=new URLSearchParams({rel:"0"});return t.autoplay&&r.set("autoplay","1"),t.mute&&r.set("mute","1"),`https://www.youtube.com/embed/${o}?${r.toString()}`},s=(e,t="maxresdefault")=>{let o=n(e);return o?`https://img.youtube.com/vi/${o}/${t}.jpg`:null}},95566:e=>{e.exports={promoCardContainer:"styles_promoCardContainer__e9AzM",zeroPercentCard:"styles_zeroPercentCard__w2Qju",imageContainer:"styles_imageContainer__tvM4t",zeroPercentImage:"styles_zeroPercentImage__D2bwt",image:"styles_image__jnKQy",cardContent:"styles_cardContent__oScRr",promoName:"styles_promoName__AKHxM",zeroPercentTitle:"styles_zeroPercentTitle__fjbpy",viewPromoButton:"styles_viewPromoButton__PyeXS",expirationDate:"styles_expirationDate__Hj0Tq",productContainer:"styles_productContainer__cg_bd",productDescription:"styles_productDescription__YPYg0",productContent:"styles_productContent__pZjNL",productCardTitle:"styles_productCardTitle__u7w8Q",creditcardContent:"styles_creditcardContent__S8oe5",iconContent:"styles_iconContent__EFbFL",iconContainer:"styles_iconContainer__Ih8Pn",icon:"styles_icon__rL8dT",toggleCompare:"styles_toggleCompare__Q_CcH",mediaWrapper:"styles_mediaWrapper__TYu90",mediaWrapperInner:"styles_mediaWrapperInner__AZD4H",playButton:"styles_playButton__uqRo8",buttonContainer:"styles_buttonContainer__gXhqM",ctaContainer:"styles_ctaContainer__oCegb",learnButton:"styles_learnButton__xEsvl",videoDateStamp:"styles_videoDateStamp__8_ith",imageWrapper:"styles_imageWrapper__8yr9V",imageEscudo:"styles_imageEscudo__e9U0b",hoverEffect:"styles_hoverEffect__8g11a",transparent:"styles_transparent__MLMxE",blue:"styles_blue__Mz6BK",openVideoOverlay:"styles_openVideoOverlay___3sCR",closeBtn:"styles_closeBtn__v7Of8",openVideoContainer:"styles_openVideoContainer__U6Gsq",isMobile:"styles_isMobile__qw4ve",creditcardWrapper:"styles_creditcardWrapper__ATEdE",bankShadow:"styles_bankShadow__8iWY4",termsLabelContainer:"styles_termsLabelContainer__UmiK4",termsLabel:"styles_termsLabel__XC14O",termsLabelIcon:"styles_termsLabelIcon__dIXjM"}},96637:()=>{},99590:e=>{e.exports={productContainer:"styles_productContainer__GGb0A",productDescription:"styles_productDescription__zVbqw",productContent:"styles_productContent___q00b",productCardTitle:"styles_productCardTitle__5Iy_X",productCardTitleClamped:"styles_productCardTitleClamped__LmIFD",cardColumnContent:"styles_cardColumnContent__8xa7f",buttonContainer:"styles_buttonContainer__plY2U",creditcardContent:"styles_creditcardContent__v4Duh",iconContent:"styles_iconContent__g7zdP",iconContainer:"styles_iconContainer__zNgSv",icon:"styles_icon__m1Uxp",toggleCompare:"styles_toggleCompare__tdWHg",mediaWrapper:"styles_mediaWrapper__O_bhy",mediaWrapperInner:"styles_mediaWrapperInner__JMdnd",cardColumnMediaWrapper:"styles_cardColumnMediaWrapper__oOj7V",cardColumnMediaWrapperInner:"styles_cardColumnMediaWrapperInner__s97aU",cardColumnPreviewImage:"styles_cardColumnPreviewImage__MBFwP",ctaContainer:"styles_ctaContainer__5DocZ",learnButton:"styles_learnButton__5L81u",videoDateStamp:"styles_videoDateStamp__JqAJf",imageWrapper:"styles_imageWrapper__6jWw7",image:"styles_image__upTRX",imageEscudo:"styles_imageEscudo__ObKfH",hoverEffect:"styles_hoverEffect__7tyF6",transparent:"styles_transparent__8ENyB",blue:"styles_blue__1iewA",openVideoOverlay:"styles_openVideoOverlay__jr1zZ",closeBtn:"styles_closeBtn__FHwCV",openVideoContainer:"styles_openVideoContainer__33UTd",isMobile:"styles_isMobile__fFmwo",creditcardWrapper:"styles_creditcardWrapper__VJu5G"}}}]);

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.