1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2076],{84628:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/newsletters/[nlType]/archive/[date]",function(){return i(45499)}])},53245:function(e,t,i){"use strict";var o=i(85893),n=i(5379),r=i.n(n),c=i(67294);t.Z=e=>{let{htmlEmail:t}=e;return t&&0!==t.length?(0,o.jsxs)(c.Fragment,{children:[(0,o.jsx)("div",{dangerouslySetInnerHTML:{__html:null!=t?t:""},className:"jsx-327cdc56081ca97c"}),(0,o.jsx)(r(),{id:"327cdc56081ca97c",children:".em_full_width{width:100%!important;max-width:700px!important}.em_full_width.em_black_bg img{width:100%!important;max-width:700px!important}.em_full_img img{width:100%!important;max-width:100%!important}.email-preview-container.jsx-327cdc56081ca97c ul.jsx-327cdc56081ca97c,.email-preview-container.jsx-327cdc56081ca97c ol.jsx-327cdc56081ca97c{margin:1em 0 1em 0!important;padding-left:30px!important}.email-preview-container.jsx-327cdc56081ca97c ul.jsx-327cdc56081ca97c li.jsx-327cdc56081ca97c,.email-preview-container.jsx-327cdc56081ca97c ol.jsx-327cdc56081ca97c li.jsx-327cdc56081ca97c{margin:.25em 0!important;padding:0!important;list-style-position:outside!important}.email-preview-container.jsx-327cdc56081ca97c ul.jsx-327cdc56081ca97c li.jsx-327cdc56081ca97c{list-style-type:disc!important}.email-preview-container.jsx-327cdc56081ca97c ol.jsx-327cdc56081ca97c li.jsx-327cdc56081ca97c{list-style-type:decimal!important}"})]}):(console.error("No Email content available"),null)}},45499:function(e,t,i){"use strict";i.r(t),i.d(t,{__N_SSP:function(){return p},default:function(){return _date_}});var o=i(85893),n=i(53245),r=i(5379),c=i.n(r),a=i(82672),l=i(11752),s=i.n(l),d=i(67294),ArchiveForm=e=>{let{formContext:t,messageType:i,className:n,submitButton:r={backgroundColor:"#C9FF95",color:"#0C3D47",text:"Join Free"}}=e,{publicRuntimeConfig:l}=s()();return(0,o.jsxs)("div",{className:c().dynamic([["5dc358ac97862401",[r.backgroundColor,r.color,r.backgroundColor,r.color]]])+" "+(n||""),children:[(0,o.jsx)(a.C8,{edition:"US",formContext:t,instance:"LandingPage",messageTypes:[i],mode:l.mode,noCheckbox:!0,submitButtonText:r.text,textColor:"#adbbc9"}),(0,o.jsx)(c(),{id:"5dc358ac97862401",dynamic:[r.backgroundColor,r.color,r.backgroundColor,r.color],children:".newsletter-form__input{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem}@media(min-width:768px){.newsletter-form__input{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.newsletter-form__input button{padding:.75rem 1.5rem;font-family:Sora,serif;font-weight:600;font-size:1rem;line-height:1.5rem;letter-spacing:0;background-color:".concat(r.backgroundColor,";color:").concat(r.color,"}.newsletter-form__input button:hover{background-color:").concat(r.backgroundColor,";color:").concat(r.color,'}[class*="EmailCapture_confirmation"]{margin-top:1rem}[class*="EmailCapture_confirmation"] a:hover{color:#fff!important}.legalText{font-weight:400;color:#adbbc9!important}.legalText a{color:inherit!important}.legalText a:hover{text-decoration:underline!important}.newsletter-form__input.business{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;gap:1rem;-webkit-box-align:inherit;-webkit-align-items:inherit;-moz-box-align:inherit;-ms-flex-align:inherit;align-items:inherit;padding-bottom:0;width:auto}@media(min-width:768px){.newsletter-form__input.business{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}')})]})},m=i(64822);let hasAmexContent=e=>(0,m._)(e);var x=i(73553),w=i(7266),u=i(2962),p=!0,_date_=e=>{let{emailContent:t}=e,{campaign:i,date:r,html:c,newsletterAuthor:a,newsletterSubject:l}=null!=t?t:{},{dispatch:s}=(0,w.b)(),{isEnabled:m}=(0,x.y)("upAskTpgExcludeAmexContent"),p=m&&hasAmexContent(c);return d.useEffect(()=>(s({payload:{chatTpgSuppressed:p},type:"chat tpg suppressed changed"}),()=>{s({payload:{chatTpgSuppressed:!1},type:"chat tpg suppressed changed"})}),[s,p]),(0,o.jsxs)(d.Fragment,{children:[(0,o.jsx)(u.PB,{description:"Read the full ".concat(i," newsletter â").concat(l,"â by ").concat(a,", original sent on ").concat(r),title:"".concat(l," - The Points Guy")}),(0,o.jsxs)("div",{className:"h-screen w-screen tw-pointer-events-none tw-fixed tw-inset-0 tw-z-10 tw-flex tw-flex-col tw-bg-gray-6",children:[(0,o.jsx)("div",{className:"tw-pointer-events-auto tw-flex tw-size-full tw-justify-center tw-overflow-y-auto tw-px-4 tw-pt-5 md:tw-pt-10",children:(0,o.jsx)("div",{className:"tw-inline-flex tw-max-w-[37rem]",children:(0,o.jsx)("div",{className:"email-preview-container tw-overflow-scroll tw-rounded-t-2xl",children:t&&c&&(0,o.jsx)(n.Z,{htmlEmail:c})})})}),(0,o.jsx)("div",{className:"tw-pointer-events-auto tw-relative tw-z-20 tw-flex tw-w-full tw-flex-row tw-items-center tw-justify-center tw-bg-green-7 tw-text-white",children:(0,o.jsxs)("div",{className:"tw-bg-teal-800 tw-flex tw-flex-col tw-items-start tw-justify-between tw-gap-4 tw-px-4 tw-py-6 tw-text-white md:tw-flex-row md:tw-items-center",children:[(0,o.jsxs)("div",{className:"tw-flex tw-w-full tw-flex-col tw-gap-2 tw-text-center md:tw-text-left",children:[(0,o.jsxs)("h2",{className:"tw-heading-7 md:tw-heading-5",children:["Get the insider scoop on"," ",(0,o.jsx)("span",{className:"tw-text-nowrap",children:"points + miles"})]}),(0,o.jsx)("p",{className:"tw-text-sm-regular md:tw-text-md-regular ",children:"Sign up for our newsletters so you never miss a deal."})]}),(0,o.jsx)("div",{className:"tw-w-full",children:(0,o.jsx)(ArchiveForm,{formContext:{formId:"newsletter-archive",formName:"".concat(i,"-newsletter"),formType:"Email Capture",formVersion:void 0},messageType:i,submitButton:{backgroundColor:"#C9FF95",color:"#0C3D47",text:"Subscribe for free"}})})]})})]})]})}},64822:function(e,t,i){"use strict";i.d(t,{_:function(){return hasAmexProductMention}});var o=i(82729);
1function _templateObject(){let e=(0,o._)(["(?:amex|americans+express)"],["(?:amex|american\\s+express)"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,o._)(["\b","\b"],["\\b","\\b"]);return _templateObject1=function(){return e},e}let n=String.raw(_templateObject()),r=new RegExp(String.raw(_templateObject1(),n)),c={amp:"&",apos:"'",ldquo:'"',lsquo:"'",nbsp:" ",quot:'"',rdquo:'"',rsquo:"'"},decodeCodePoint=(e,t)=>Number.isNaN(e)||e<0||e>1114111?t:String.fromCodePoint(e),decodeHtmlEntities=e=>e.replace(/&(#x[\da-f]+|#\d+|[a-z]+);/gi,(e,t)=>{let i=t.toLowerCase(),o=c[i];if(o)return o;if(i.startsWith("#x")){let t=parseInt(i.slice(2),16);return decodeCodePoint(t,e)}if(i.startsWith("#")){let t=parseInt(i.slice(1),10);return decodeCodePoint(t,e)}return e}),decodePercentEncodedText=e=>e.replace(/(?:%[\da-f]{2})+/gi,e=>{try{return decodeURIComponent(e)}catch(t){return e}}),decodeText=e=>{let t=e.replace(/\+/g," "),i=decodePercentEncodedText(t);return decodeHtmlEntities(decodeHtmlEntities(i))},normalizeText=e=>decodeText(e).normalize("NFKD").replace(/[®â¢Â©]/g,"").replace(/[_-]+/g," ").replace(/\s+/g," ").trim().toLowerCase(),stringifyValue=e=>{if("string"==typeof e)return e;if(null==e)return"";try{return JSON.stringify(e)}catch(e){return""}},hasAmexProductMention=e=>{let t=normalizeText(stringifyValue(e));return!!t&&r.test(t)}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=84628)}),_N_E=e.O()}]);
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.