PageSourceSearch

https://thepointsguy.com/35777612791/_next/static/chunks/pages/glossary/[slug]-e3049aed75a83604.js

js thepointsguy.com collected 2026-09-24 07:31:52 UTC 32,494 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5039],{49635:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/glossary/[slug]",function(){return n(1974)}])},18908:function(e,t,n){"use strict";n.d(t,{e:function(){return FaqAccordion}});var l=n(85893),r=n(29731),a=n(55887),i=n(58311),s=n(65122),o=n(67294),d=n(57632);let c="glossary-faq",Carat=()=>(0,l.jsx)("svg",{viewBox:"0 0 42 25",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"m20.73 25.83 2.88-2.75 18.8-17.96L38.27.78 20.91 17.36 4.34 0 0 4.14l20.72 21.7z",fill:"currentColor"})}),FaqAccordion=e=>{let{items:t,location:n=r.G.faq}=e,[u,w]=(0,o.useState)(null),[m]=(0,o.useState)(()=>(0,d.Z)()),p=(0,a.Z)({elementViewedArgs:{viewCorrelationId:m,webElement:{elementType:i.Hd.Section,htmlId:c,location:n,name:"Frequently asked questions",position:"0",text:""}},opts:{triggerOnce:!0}}),handleToggle=(e,t,l)=>{let r=!t;(0,s.j)(new s.Fd({actionOutcome:r?i.$K.Open:i.$K.Close,outboundUrl:"",viewCorrelationId:m,webElement:{elementType:i.Hd.Button,htmlId:"".concat(c,"-").concat(e),location:n,name:l,position:"".concat(e+1),text:l}})),w(r?e:null)};return(0,l.jsx)("div",{className:"tw-flex tw-flex-col",id:c,ref:p,children:t.map((e,t)=>{let n=u===t;return(0,l.jsxs)("div",{className:"tw-border-b tw-border-gray-2",children:[(0,l.jsxs)("button",{"aria-controls":"faq-answer-".concat(t),"aria-expanded":n,className:"tw-flex tw-w-full tw-items-center tw-justify-between tw-gap-4 tw-py-4 tw-pr-4 tw-text-left",id:"".concat(c,"-").concat(t),onClick:()=>{var l;return handleToggle(t,n,null!==(l=e.question)&&void 0!==l?l:"")},children:[(0,l.jsx)("span",{className:"tw-text-base-semibold tw-text-gray-6",children:e.question}),(0,l.jsx)("span",{"aria-hidden":"true",className:"tw-block tw-h-2 tw-w-4 tw-shrink-0 tw-text-gray-6 tw-transition-transform ".concat(n?"tw-rotate-180":""),children:(0,l.jsx)(Carat,{})})]}),n&&e.answer&&(0,l.jsx)("div",{className:"tw-text-base-regular tw-pb-4 tw-pr-4 tw-font-poppins tw-text-gray-6",dangerouslySetInnerHTML:{__html:e.answer},id:"faq-answer-".concat(t)})]},t)})})}},30245:function(e,t,n){"use strict";n.d(t,{Tw:function(){return CloseIcon},W1:function(){return SearchIcon},aG:function(){return TocIcon},e0:function(){return ArrowIcon},pf:function(){return BackArrowIcon},tv:function(){return ExternalArrowIcon},v4:function(){return ChevronDownIcon}});var l=n(85893);let SearchIcon=()=>(0,l.jsx)("svg",{className:"tw-shrink-0",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:(0,l.jsx)("path",{d:"M14.75 14.75L10.727 10.727M12.25 6.875a5.375 5.375 0 1 1-10.75 0 5.375 5.375 0 0 1 10.75 0Z",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),ArrowIcon=()=>(0,l.jsx)("svg",{className:"tw-shrink-0",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:(0,l.jsx)("path",{d:"M3.5 8h9M8.5 4l4.5 4-4.5 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),CloseIcon=()=>(0,l.jsx)("svg",{fill:"none",height:"10",viewBox:"0 0 10 10",width:"10",children:(0,l.jsx)("path",{d:"M1.5 1.5l7 7M8.5 1.5l-7 7",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.5"})}),ExternalArrowIcon=()=>(0,l.jsx)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:(0,l.jsx)("path",{d:"M3 13L13 3M13 3H5M13 3v8",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),ChevronDownIcon=()=>(0,l.jsx)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:(0,l.jsx)("path",{d:"M3 6l5 5 5-5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),TocIcon=()=>(0,l.jsx)("svg",{className:"tw-shrink-0",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:(0,l.jsx)("path",{d:"M2 4h12M2 8h8M2 12h10",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})}),BackArrowIcon=()=>(0,l.jsx)("svg",{fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",children:(0,l.jsx)("path",{d:"M12.5 8h-9M7 4L3 8l4 4",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})})},35341:function(e,t,n){"use strict";n.d(t,{i:function(){return TermCard}});var l=n(85893),r=n(30245),a=n(41664),i=n.n(a);let truncateSnippet=e=>{if(e.length<=100)return e;let t=e.slice(0,100),n=t.lastIndexOf(" ");return"".concat(t.slice(0,n>0?n:100),"…")},TermCard=e=>{var t;let{onClick:n,term:a}=e,s=a.definitionSnippet||a.description,o=null!==(t=a.termName)&&void 0!==t?t:a.title;return(0,l.jsxs)(i(),{className:"tw-group tw-flex tw-h-full tw-flex-col tw-gap-[10px] tw-rounded-lg tw-border tw-border-gray-2 tw-bg-white tw-px-5 tw-py-[18px] tw-transition-shadow hover:tw-shadow-md",href:"/glossary/".concat(a.slug),onClick:n,children:[(0,l.jsxs)("div",{className:"tw-flex tw-items-start tw-justify-between tw-gap-2",children:[(0,l.jsx)("span",{className:"tw-heading-9 tw-text-teal-4",children:o}),(0,l.jsx)("span",{className:"tw-mt-0.5 tw-text-blue-1 md:tw-opacity-0 md:tw-transition-opacity md:group-hover:tw-opacity-100",children:(0,l.jsx)(r.e0,{})})]}),(0,l.jsx)("div",{className:"tw-h-px tw-w-full tw-bg-gray-1"}),(0,l.jsx)("p",{className:"tw-text-md-regular tw-text-gray-5",children:s?truncateSnippet(s):null})]})}},29731:function(e,t,n){"use strict";n.d(t,{G:function(){return l},c:function(){return r}});let l={faq:"Glossary Term Page - FAQ",jumpNav:"Glossary Term Page - Jump To Section",relatedArticles:"Glossary Term Page - Related Articles",relatedTerms:"Glossary Term Page - Related Terms"},r={alphabetNav:"Glossary Home Page - Alphabet Nav",faq:"Glossary Home Page - FAQ",filterPills:"Glossary Home Page - Filter Pills",searchBar:"Glossary Home Page - Search Bar"}},49472:function(e,t,n){"use strict";n.d(t,{Z:function(){return sanitizeHTML}});var l=n(29238),r=n.n(l);function sanitizeHTML(e,t){if("string"!=typeof e)return"";if(t&&("object"!=typeof t||Array.isArray(t)))throw Error("Invalid options provided for sanitizeHTML");return r().sanitize(e,t)}},74066:function(e,t,n){"use strict";n.d(t,{BG:function(){return buildItemListSchema}
1,Cm:function(){return buildFaqSchema},E7:function(){return buildDefinedTermSchema},G2:function(){return buildWebPageSpeakableSchema},MB:function(){return buildDefinedTermSetSchema},Tx:function(){return buildVideoObjectSchema},WN:function(){return buildReviewRatingSchema},_f:function(){return buildProductSchema},dH:function(){return htmlToPlainText},wg:function(){return buildBreadcrumbList},wl:function(){return buildGlossaryArticleSchema}});var l=n(49472);let r={advertising:"Advertising","airport-lounge-access":"Airport Lounge Access",business:"Business","cash-back":"Cash Back","credit-cards":"Credit Cards",hotel:"Hotel",reviews:"Reviews",travel:"Travel"},toTitleCase=e=>e.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "),buildBreadcrumbList=(e,t)=>{let n=t.replace(/^\/|\/$/g,"").split("/").filter(Boolean),l=[{"@type":"ListItem",item:"".concat(e,"/"),name:"Home",position:1},...n.map((t,l)=>({"@type":"ListItem",item:"".concat(e,"/").concat(n.slice(0,l+1).join("/"),"/"),name:r[t]||toTitleCase(t),position:l+2}))];return{"@type":"BreadcrumbList",itemListElement:l}},buildProductSchema=(e,t)=>{let n={"@type":"Product",...e.brand&&{brand:{"@type":"Brand",name:e.brand}},...e.superlative&&{description:e.superlative},...e.imageSrc&&{image:e.imageSrc},name:e.title,...void 0!==e.annualFee&&null!==e.annualFee&&{offers:{"@type":"Offer",price:parseAnnualFee(e.annualFee),priceCurrency:"USD",priceSpecification:{"@type":"UnitPriceSpecification",price:parseAnnualFee(e.annualFee),priceCurrency:"USD",unitText:"ANNUAL"}}},...e.pdpUrl&&t&&{url:"".concat(t).concat(e.pdpUrl)}};return n},buildReviewRatingSchema=(e,t)=>{let n=null!=t?t:{name:"The Points Guy",type:"Organization"};return{"@type":"Review",author:{"@type":n.type,name:n.name},reviewRating:{"@type":"Rating",bestRating:"5",ratingValue:String(e),worstRating:"1"}}},buildVideoObjectSchema=e=>{var t;let n=null===(t=e.video.contentUrl.match(/v=([^&]+)/))||void 0===t?void 0:t[1];return n?{"@type":"VideoObject",description:e.description,embedUrl:"https://www.youtube.com/embed/".concat(n),name:e.title,thumbnailUrl:e.video.thumbnailUrl,...e.duration&&{duration:e.duration}}:null},buildFaqSchema=e=>{var t;return(null==e?void 0:null===(t=e.questions)||void 0===t?void 0:t.length)?{"@type":"FAQPage",mainEntity:e.questions.map(e=>({"@type":"Question",acceptedAnswer:{"@type":"Answer",text:e.answer},name:e.question}))}:null},buildItemListSchema=(e,t)=>({"@type":"ItemList",itemListElement:e.map((e,n)=>{let l=buildProductSchema(e,t);return void 0!==e.tpgRating&&null!==e.tpgRating&&(l.review=buildReviewRatingSchema(e.tpgRating)),{"@type":"ListItem",item:l,position:n+1}}),numberOfItems:e.length}),parseAnnualFee=e=>{let t=e.match(/\$?([\d,.]+)/);return t?t[1]:"0"},a={"@type":"Organization",logo:{"@type":"ImageObject",height:"66",url:"/images/fastly/TPG-Logo-Digital-84px.jpg",width:"84"},name:"The Points Guy"},htmlToPlainText=e=>{if(!e)return"";let t=(0,l.Z)(e,{ALLOWED_TAGS:[]});return t.replace(/\s+/g," ").trim()},buildDefinedTermSchema=(e,t)=>({"@type":"DefinedTerm",...e.definitionSnippet&&{description:e.definitionSnippet},inDefinedTermSet:t.glossaryListUrl,name:e.term,termCode:e.slug,url:"".concat(t.baseUrl,"/glossary/").concat(e.slug)}),buildDefinedTermSetSchema=(e,t)=>{var n;let l="".concat(t.baseUrl,"/glossary");return{"@type":"DefinedTermSet",hasDefinedTerm:e.map(e=>buildDefinedTermSchema(e,{baseUrl:t.baseUrl,glossaryListUrl:l})),name:null!==(n=t.name)&&void 0!==n?n:"Travel Rewards Glossary",url:l}},buildGlossaryArticleSchema=(e,t)=>{var n,l,r;let i=null===(l=e.author)||void 0===l?void 0:null===(n=l.name)||void 0===n?void 0:n.replace(/^By\s+/,"").trim();return{"@type":"Article",...i&&{author:{"@type":"Person",name:i,...(null===(r=e.author)||void 0===r?void 0:r.url)&&{url:e.author.url}}},...e.dateModified&&{dateModified:e.dateModified},...e.datePublished&&{datePublished:e.datePublished},...e.description&&{description:e.description},headline:e.headline,mainEntityOfPage:{"@id":t.canonicalUrl,"@type":"WebPage"},publisher:a,url:t.canonicalUrl}},buildWebPageSpeakableSchema=e=>{var t;return{"@id":e.canonicalUrl,"@type":"WebPage",speakable:{"@type":"SpeakableSpecification",cssSelector:null!==(t=e.cssSelector)&&void 0!==t?t:["#definition-snippet"]},url:e.canonicalUrl}}},1974:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return U},default:function(){return _slug_}});var l=n(85893),r=n(18908),a=n(30245);let i={__typename:"GlossaryTermAuthor",name:"The Points Guy Travel Team",url:"/author/tpgtravel/"},formatDate=e=>e?new Date(e).toLocaleDateString("en-US",{day:"numeric",month:"long",timeZone:"UTC",year:"numeric"}):"",relatedTermToCard=e=>({__typename:"GlossaryTermSummary",definitionSnippet:e.definitionSnippet,description:e.description,lastUpdated:null,published:null,slug:e.slug,termName:e.termName,title:e.title,vertical:e.verticalSlug?{__typename:"GlossaryVertical",description:null,displayOrder:null,name:e.verticalSlug,slug:e.verticalSlug}:null,wpPostId:null});var s=n(9008),o=n.n(s),d=n(11163),c=n(67294),u=n(14483),w=n(74066),components_GlossaryTermSeo=e=>{let{term:t}=e,n=(0,d.useRouter)(),r=c.useMemo(()=>{var e,l,r,a,s;let o=(0,u.Z)(n),d="".concat(o,"/glossary"),c=null!==(l=null===(e=t.seo)||void 0===e?void 0:e.customCanonicalUrl)&&void 0!==l?l:"".concat(o,"/glossary/").concat(t.slug),m=(0,w.wl)({author:{...i,url:i.url?"".concat(o).concat(i.url):null},dateModified:t.lastUpdated,datePublished:t.published,description:t.lede,headline:t.title},{canonicalUrl:c}),p=(0,w.E7)({definitionSnippet:t.definitionSnippet,slug:t.slug,term:null!==(r=t.termName)&&void 0!==r?r:t.title},{baseUrl:o,glossaryListUrl:d}),h={"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",item:"".concat(o,"/"),name:"Home",position:1},{"@type":"ListItem",item:"".concat(d,"/"),name:"Glossary",position:2},{"@type":"ListItem",item:c,name:null!==(a=t.termName)&&void 0!==a?a:t.title,position:3}]},x=[m,p,(0,w.G2)({canonicalUrl:c}),h],g=(null!==(s=t.faqItems)&&void 0!==s?s:[]).filter(e=>e.question&&e.answer).map(e=>({answer:(0,w.dH)(e.answer),question:e.question})),v=(0,w.Cm)({questions:g});return v&&x.push(v),{"@context":"http://schema.org","@graph":x}},[n,t]);return(0,l.jsx)(o(),{children:(0,l.jsx)("script",{dangerouslySetInnerHTML:{__html:JSON.stringify(r)},id:"schemaOrgGlossaryTerm",type:"application/ld+json"})})},m=n(29731),p=n(55887),h=n(58311),x=n(65122),g=n(57632);let v="glossary-jump-nav",f="glossary-jump-toggle",JumpLinks=e=>{let{sections:t}=e,[n,r]=(0,c.useState)(!1),[i]=(0,c.useState)(()=>(0,g.Z)()),s=t.filter(e=>e.heading&&e.anchorId),o=(0,p.Z)({elementViewedArgs:{viewCorrelationId:i,webElement:{elementType:h.Hd.Section,htmlId:v,location:m.G.jumpNav,name:"Jump to",position:"0",text:""}}
1,opts:{triggerOnce:!0}});return s.length?(0,l.jsxs)("nav",{"aria-label":"Jump to section",className:"tw-rounded-lg tw-border tw-border-gray-2",id:v,ref:o,children:[(0,l.jsxs)("button",{"aria-expanded":n,className:"tw-flex tw-w-full tw-items-center tw-justify-between tw-gap-3 tw-px-4 tw-py-3",id:f,onClick:()=>{let e=!n;(0,x.j)(new x.Fd({actionOutcome:e?h.$K.Open:h.$K.Close,outboundUrl:"",viewCorrelationId:i,webElement:{elementType:h.Hd.Button,htmlId:f,location:m.G.jumpNav,name:"Jump to",position:"0",text:"Jump to"}})),r(e)},type:"button",children:[(0,l.jsxs)("span",{className:"tw-flex tw-items-center tw-gap-2 tw-text-gray-5",children:[(0,l.jsx)(a.aG,{}),(0,l.jsx)("span",{className:"tw-text-sm-regular tw-font-medium",children:"Jump to"})]}),(0,l.jsx)("span",{"aria-hidden":"true",className:"tw-shrink-0 tw-text-gray-4 tw-transition-transform tw-duration-200 ".concat(n?"tw-rotate-180":""),children:(0,l.jsx)(a.v4,{})})]}),n&&(0,l.jsx)("ul",{className:"tw-flex tw-flex-col tw-divide-y tw-divide-gray-2 tw-border-t tw-border-gray-2",children:s.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsx)("a",{className:"tw-text-sm-regular tw-block tw-px-4 tw-py-3 tw-text-teal-4 hover:tw-bg-gray-1 hover:tw-underline",href:"#".concat(e.anchorId),onClick:()=>{var n,l,a;(0,x.j)(new x.Fd({actionOutcome:h.$K.Anchor,outboundUrl:"#".concat(e.anchorId),viewCorrelationId:i,webElement:{elementType:h.Hd.Link,htmlId:null!==(n=e.anchorId)&&void 0!==n?n:"",location:m.G.jumpNav,name:null!==(l=e.heading)&&void 0!==l?l:"",position:"".concat(t+1),text:null!==(a=e.heading)&&void 0!==a?a:""}})),r(!1)},children:e.heading})},t))})]}):null};var y=n(25675),b=n.n(y);let ArticlePlaceholderIcon=()=>(0,l.jsxs)("svg",{"aria-hidden":"true",className:"tw-text-teal-3",fill:"none",height:"40",viewBox:"0 0 40 40",width:"40",children:[(0,l.jsx)("rect",{height:"28",rx:"3",stroke:"currentColor",strokeWidth:"2",width:"34",x:"3",y:"6"}),(0,l.jsx)("circle",{cx:"13",cy:"15",fill:"currentColor",r:"3"}),(0,l.jsx)("path",{d:"M6 30l8.5-8.5a2 2 0 0 1 2.8 0L25 29M22 26l3.5-3.5a2 2 0 0 1 2.8 0L34 28",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2"})]}),RelatedArticleCard=e=>{let{article:t,onClick:n}=e;return t.url?(0,l.jsxs)("a",{className:"tw-group tw-flex tw-h-full tw-flex-col tw-overflow-hidden tw-rounded-lg tw-border tw-border-gray-2 tw-bg-white tw-transition-shadow hover:tw-shadow-md",href:t.url,onClick:n,rel:"noopener noreferrer",target:"_blank",children:[(0,l.jsx)("div",{className:"tw-relative tw-aspect-[16/9] tw-w-full tw-overflow-hidden tw-bg-teal-1",children:t.imageUrl?(0,l.jsx)(b(),{alt:"",className:"tw-object-cover tw-transition-transform tw-duration-200 group-hover:tw-scale-105",fill:!0,sizes:"(min-width: 768px) 33vw, 100vw",src:t.imageUrl}):(0,l.jsx)("div",{className:"tw-flex tw-size-full tw-items-center tw-justify-center",children:(0,l.jsx)(ArticlePlaceholderIcon,{})})}),(0,l.jsxs)("div",{className:"tw-flex tw-flex-1 tw-items-start tw-justify-between tw-gap-2 tw-px-5 tw-py-[18px]",children:[(0,l.jsx)("span",{className:"tw-heading-9 tw-text-gray-6",children:t.title}),(0,l.jsx)("span",{className:"tw-mt-0.5 tw-text-blue-1 md:tw-opacity-0 md:tw-transition-opacity md:group-hover:tw-opacity-100",children:(0,l.jsx)(a.tv,{})})]})]}):null};var j=n(50501),N=n.n(j);let TermBlockRenderer=e=>{var t,n,r,a,i,s;let{block:o}=e;switch(o.__typename){case"GlossaryTermBlockBody":return o.content?(0,l.jsx)("div",{className:"".concat(N().richText," tw-max-w-none tw-text-gray-6"),dangerouslySetInnerHTML:{__html:o.content}}):null;case"GlossaryTermBlockKeyPoints":return(null===(t=o.points)||void 0===t?void 0:t.length)?(0,l.jsx)("ul",{className:"tw-list-disc tw-space-y-2 tw-pl-5 tw-text-gray-6",children:o.points.map((e,t)=>e.text?(0,l.jsx)("li",{className:"".concat(N().richText," tw-text-base-regular [&_p]:tw-inline"),dangerouslySetInnerHTML:{__html:e.text}},t):null)}):null;case"GlossaryTermBlockTpgTip":return o.content?(0,l.jsx)("aside",{className:"tw-rounded-lg tw-bg-teal-1 tw-p-5",children:(0,l.jsx)("div",{className:"tw-text-base-regular tw-text-gray-6 [&_p]:tw-inline",dangerouslySetInnerHTML:{__html:'<strong class="tw-font-semibold">TPG Tip: </strong>'.concat(o.content)}})}):null;case"GlossaryTermBlockTable":{if(!(null===(n=o.rows)||void 0===n?void 0:n.length))return null;let e=o.rows.map(e=>[e.col1Value,e.col2Value,e.col3Value,e.col4Value,e.col5Value]),t=[0,1,2,3,4].filter(t=>{var n;let l=!!(null===(n=o.columnHeaders)||void 0===n?void 0:n[t]),r=e.some(e=>null!==e[t]&&""!==e[t]);return l||r}),i=!!(null===(r=o.columnHeaders)||void 0===r?void 0:r.length)||!!o.labelColumnHeader;return(0,l.jsx)("div",{className:"tw-overflow-x-auto",children:(0,l.jsxs)("table",{className:"tw-w-full tw-border-collapse tw-overflow-hidden tw-rounded-lg tw-border tw-border-gray-2 tw-text-sm",children:[(0,l.jsx)("thead",{className:"tw-bg-gray-6",children:i?(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:"tw-text-md-medium tw-px-4 tw-py-3 tw-text-left tw-text-white",children:null!==(a=o.labelColumnHeader)&&void 0!==a?a:""}),t.map(e=>(0,l.jsx)("th",{className:"tw-text-md-medium tw-px-4 tw-py-3 tw-text-left tw-text-white",children:o.columnHeaders[e]},e))]}):null}),(0,l.jsx)("tbody",{children:o.rows.map((e,n)=>{let r=[e.col1Value,e.col2Value,e.col3Value,e.col4Value,e.col5Value];return(0,l.jsxs)("tr",{className:"tw-border-t tw-border-gray-2 even:tw-bg-gray-1",children:[(0,l.jsx)("td",{className:"tw-text-md-semibold tw-p-4 tw-text-gray-6",children:e.label}),t.map(e=>{var t;return(0,l.jsx)("td",{className:"tw-text-md-semibold tw-p-4 tw-text-gray-6",children:null!==(t=r[e])&&void 0!==t?t:""},e)})]},n)})})]})})}case"GlossaryTermBlockValueCalculator":return(null===(i=o.rows)||void 0===i?void 0:i.length)?(0,l.jsx)("div",{className:"tw-overflow-x-auto",children:(0,l.jsxs)("table",{className:"tw-w-full tw-border-collapse tw-overflow-hidden tw-rounded-lg tw-border tw-border-gray-2 tw-text-sm",children:[(0,l.jsx)("thead",{className:"tw-bg-gray-6",children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:"tw-text-md-medium tw-w-1/2 tw-px-4 tw-py-3 tw-text-left tw-text-white",children:o.rows[0].label}),(0,l.jsx)("th",{className:"tw-text-md-medium tw-w-1/2 tw-px-4 tw-py-3 tw-text-left tw-text-white",children:null!==(s=o.rows[0].value)&&void 0!==s?s:""})]})}),(0,l.jsx)("tbody",{children:o.rows.slice(1).map((e,t)=>{var n;return(0,l.jsxs)("tr",{className:"tw-border-t tw-border-gray-2 even:tw-bg-gray-1",children:[(0,l.jsx)("td",{className:"tw-text-md-semibold tw-w-1/2 tw-p-4 tw-text-gray-6",children:e.label}),(0,l.jsx)("td",{className:"tw-text-md-semibold tw-w-1/2 tw-p-4 tw-text-gray-6",children:null!==(n=e.value)&&void 0!==n?n:""})]},t)})})]})}):null;default:return null}};var T=n(35341),k=n(82729),S=n(73381),I=n(40216),C=n(94932),G=n(88767);
1function _templateObject(){let e=(0,k._)(["\n  query GlossaryTerm($input: GlossaryTermInput!) {\n    glossaryTerm(input: $input) {\n      wpPostId\n      slug\n      title\n      termName\n      lede\n      description\n      definitionSnippet\n      sections {\n        heading\n        anchorId\n        blocks {\n          __typename\n          ... on GlossaryTermBlockBody {\n            content\n          }\n          ... on GlossaryTermBlockKeyPoints {\n            points {\n              text\n            }\n          }\n          ... on GlossaryTermBlockTpgTip {\n            content\n          }\n          ... on GlossaryTermBlockTable {\n            heading\n            labelColumnHeader\n            columnHeaders\n            rows {\n              label\n              col1Value\n              col2Value\n              col3Value\n              col4Value\n              col5Value\n            }\n          }\n          ... on GlossaryTermBlockValueCalculator {\n            rows {\n              label\n              value\n            }\n          }\n        }\n      }\n      faqHeading\n      faqItems {\n        question\n        answer\n      }\n      relatedTerms {\n        slug\n        title\n        termName\n        description\n        definitionSnippet\n        verticalSlug\n      }\n      relatedArticles {\n        slug\n        title\n        url\n        imageUrl\n      }\n      vertical {\n        slug\n        name\n        description\n        displayOrder\n      }\n      seo {\n        titleTag\n        metaDescription\n        customCanonicalUrl\n      }\n      pageSettings {\n        removeAdPromoWidgets\n        disableAiSummary\n        isNoIndex\n        isSunset\n      }\n      author {\n        name\n        url\n      }\n      published\n      lastUpdated\n    }\n  }\n"]);return _templateObject=function(){return e},e}let L=(0,C.Ps)(_templateObject()),getKey=e=>{var t,n,l;return["GlossaryTerm",null!==(t=e.input.slug)&&void 0!==t?t:null,null!==(n=e.input.wpPostId)&&void 0!==n?n:null,null!==(l=e.input.shouldShowPreview)&&void 0!==l?l:null]},fetchGlossaryTerm=async e=>{let t=await new I.Z(S.G3.GENERIC,L,e).send();if(!t)throw Error("Failed to fetch glossary term data");return t},useGlossaryTermQuery=e=>{let t=getKey(e);return(0,G.useQuery)(t,()=>fetchGlossaryTerm(e),{cacheTime:1/0,enabled:!!e.input.slug||!!e.input.wpPostId,staleTime:1/0})};var P=n(53720),_=n(41664),B=n.n(_),A=n(2962),templates_GlossaryTermPage=e=>{var t,n,s,o,d,u,w,v,f,y,b,j,N,k,S,I,C,G,L;let{slug:_,shouldShowPreview:U}=e,{data:O,isLoading:H}=useGlossaryTermQuery({input:{shouldShowPreview:U,slug:_}}),[E]=(0,c.useState)(()=>(0,g.Z)()),V=(0,p.Z)({elementViewedArgs:{viewCorrelationId:E,webElement:{elementType:h.Hd.Section,htmlId:"glossary-related-terms",location:m.G.relatedTerms,name:"Related terms",position:"0",text:""}},opts:{triggerOnce:!0}}),[q]=(0,c.useState)(()=>(0,g.Z)()),M=(0,p.Z)({elementViewedArgs:{viewCorrelationId:q,webElement:{elementType:h.Hd.Section,htmlId:"glossary-related-articles",location:m.G.relatedArticles,name:"Related articles",position:"0",text:""}},opts:{triggerOnce:!0}});if(H)return null;let F=null==O?void 0:O.glossaryTerm;if(!F)return null;let R="".concat("https://thepointsguy.com","/glossary/").concat(F.slug),D=null!==(b=null===(t=F.seo)||void 0===t?void 0:t.titleTag)&&void 0!==b?b:"".concat(F.title," | Travel Rewards Glossary | TPG"),W=null!==(j=null===(n=F.seo)||void 0===n?void 0:n.metaDescription)&&void 0!==j?j:F.lede?F.lede.slice(0,160):void 0,K=(null!==(N=null===(s=F.faqItems)||void 0===s?void 0:s.length)&&void 0!==N?N:0)>0,$=(null!==(k=null===(o=F.relatedTerms)||void 0===o?void 0:o.length)&&void 0!==k?k:0)>0,Z=(null!==(S=null===(d=F.relatedArticles)||void 0===d?void 0:d.length)&&void 0!==S?S:0)>0;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(A.PB,{canonical:null!==(I=null===(u=F.seo)||void 0===u?void 0:u.customCanonicalUrl)&&void 0!==I?I:R,description:null!=W?W:void 0,noindex:null!==(C=null===(w=F.pageSettings)||void 0===w?void 0:w.isNoIndex)&&void 0!==C&&C,title:D}),(0,l.jsx)(components_GlossaryTermSeo,{term:F}),(0,l.jsxs)("main",{className:"tw-min-h-screen tw-bg-white tw-font-poppins",children:[(0,l.jsxs)("div",{className:"tw-bg-gray-6",children:[(0,l.jsx)("div",{className:"tw-px-4 tw-pt-4 md:tw-px-8 md:tw-pt-4",children:(0,l.jsxs)(B(),{className:"tw-heading-10 tw-inline-flex tw-h-12 tw-items-center tw-justify-center tw-gap-3 tw-whitespace-nowrap tw-rounded-full tw-border tw-border-solid tw-border-transparent tw-bg-transparent tw-px-6 tw-text-white tw-no-underline tw-transition-colors tw-duration-200 hover:tw-border-white hover:tw-bg-white/15 hover:tw-text-white hover:tw-no-underline focus-visible:tw-border-white focus-visible:tw-outline focus-visible:tw-outline-1 focus-visible:tw-outline-offset-1 focus-visible:tw-outline-white",href:"/glossary",children:[(0,l.jsx)(a.pf,{}),(0,l.jsx)("span",{children:"Back to glossary"})]})}),(0,l.jsx)("div",{className:"tw-mx-auto tw-max-w-[708px] tw-px-4 tw-pb-8 tw-pt-6 md:tw-px-0 md:tw-pb-12",children:(0,l.jsxs)("div",{className:"tw-flex tw-flex-col tw-items-center tw-gap-5 tw-text-center",children:[(null===(v=F.vertical)||void 0===v?void 0:v.name)&&(0,l.jsx)("span",{className:"tw-text-md-medium tw-inline-flex tw-items-center tw-rounded-full tw-bg-white/10 tw-px-4 tw-py-1 tw-text-teal-1",children:F.vertical.name}),(0,l.jsx)("h1",{className:"tw-font-sora tw-text-[28px] tw-font-bold tw-leading-[35px] tw-text-white md:tw-text-[40px] md:tw-leading-[48px]",children:F.title}),((null==i?void 0:i.name)||F.lastUpdated)&&(0,l.jsxs)("div",{className:"tw-text-md-regular tw-flex tw-items-center tw-justify-center tw-gap-4 tw-text-white",children:[(null==i?void 0:i.name)&&(0,l.jsxs)("span",{children:["By"," ",i.url?(0,l.jsx)("a",{className:"tw-text-white tw-underline hover:tw-text-white",href:i.url,children:i.name.replace(/^By\s+/,"")}):(0,l.jsx)("span",{className:"tw-underline",children:i.name.replace(/^By\s+/,"")})]}),(null==i?void 0:i.name)&&F.lastUpdated&&(0,l.jsx)("span",{"aria-hidden":"true",className:"tw-h-[14px] tw-w-px tw-shrink-0 tw-bg-white/30"}),F.lastUpdated&&(0,l.jsxs)("span",{children:["Last updated ",formatDate(F.lastUpdated)]})]}),F.lede&&(0,l.jsx)("p",{className:"tw-text-md-regular tw-text-gray-1",children:F.lede})]})})]}),(0,l.jsx)("div",{className:"tw-mx-auto tw-max-w-[708px] tw-px-4 tw-py-8 md:tw-px-0 md:tw-py-12",children:(0,l.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-8",children:[F.definitionSnippet&&(0,l.jsxs)("div",{className:"tw-flex tw-flex-col tw-gap-3 tw-rounded-xl tw-bg-teal-1 tw-p-6",id:"definition-snippet",children:[(0,l.jsxs)("div",{className:"tw-flex tw-items-center tw-gap-1.5",children:[(0,l.jsx)("span",{className:"tw-font-poppins tw-text-[11px] tw-font-bold tw-text-teal-3",children:"✦"}),(0,l.jsx)("span",{className:"tw-text-xs-semibold-caps tw-text-teal-3",children:"DEFINITION 
1SNIPPET"})]}),(0,l.jsx)("p",{className:"tw-text-md-regular tw-whitespace-pre-line tw-text-teal-3",children:F.definitionSnippet})]}),(null!==(G=null===(f=F.sections)||void 0===f?void 0:f.length)&&void 0!==G?G:0)>0&&(0,l.jsx)(JumpLinks,{sections:F.sections}),(0,l.jsx)("div",{className:"tw-flex tw-flex-col tw-gap-12",children:null===(y=F.sections)||void 0===y?void 0:y.map((e,t)=>{var n,r;return(0,l.jsxs)("section",{className:"tw-flex tw-flex-col tw-gap-6",id:null!==(r=e.anchorId)&&void 0!==r?r:void 0,children:[e.heading&&(0,l.jsx)("h2",{className:"tw-heading-5 tw-text-gray-6 md:tw-heading-4",children:e.heading}),(0,l.jsx)("div",{className:"tw-flex tw-flex-col tw-gap-6",children:null===(n=e.blocks)||void 0===n?void 0:n.map((e,t)=>(0,l.jsx)(TermBlockRenderer,{block:e},t))})]},t)})}),K&&(0,l.jsxs)("section",{className:"tw-mt-4 tw-flex tw-flex-col tw-gap-4",children:[(0,l.jsx)("h2",{className:"tw-heading-5 tw-text-gray-6 md:tw-heading-4",children:null!==(L=F.faqHeading)&&void 0!==L?L:"Frequently asked questions"}),(0,l.jsx)(r.e,{items:F.faqItems})]}),$&&(0,l.jsxs)("section",{className:"tw-mt-4 tw-flex tw-flex-col tw-gap-6",id:"glossary-related-terms",ref:V,children:[(0,l.jsx)("h2",{className:"tw-heading-7 tw-text-gray-6",children:"Related terms"}),(0,l.jsx)(P.l,{desktopSlidesPerView:3,onNextClick:()=>(0,x.j)(new x.Fd({actionOutcome:h.$K.Next,outboundUrl:"",viewCorrelationId:E,webElement:{elementType:h.Hd.Button,htmlId:"glossary-related-terms-next",location:m.G.relatedTerms,name:"next_arrow",position:"0",text:""}})),onPrevClick:()=>(0,x.j)(new x.Fd({actionOutcome:h.$K.Back,outboundUrl:"",viewCorrelationId:E,webElement:{elementType:h.Hd.Button,htmlId:"glossary-related-terms-prev",location:m.G.relatedTerms,name:"previous_arrow",position:"0",text:""}})),slideClassName:"tw-h-full",children:F.relatedTerms.map((e,t)=>{var n,r;let a=relatedTermToCard(e),i=null!==(r=null!==(n=a.termName)&&void 0!==n?n:a.title)&&void 0!==r?r:"";return(0,l.jsx)(T.i,{onClick:()=>(0,x.j)(new x.Fd({actionOutcome:h.$K.InternalLink,outboundUrl:"/glossary/".concat(a.slug),viewCorrelationId:E,webElement:{elementType:h.Hd.Link,htmlId:"glossary-related-term-".concat(t),location:m.G.relatedTerms,name:i,position:"".concat(t+1),text:i}})),term:a},e.slug)})}),(0,l.jsx)("div",{className:"tw-border-t tw-border-gray-2 tw-pt-4",children:(0,l.jsx)(B(),{className:"tw-text-base-regular tw-text-gray-6 hover:tw-underline",href:"/glossary",onClick:()=>(0,x.j)(new x.Fd({actionOutcome:h.$K.InternalLink,outboundUrl:"/glossary",viewCorrelationId:E,webElement:{elementType:h.Hd.Link,htmlId:"glossary-view-all-terms",location:m.G.relatedTerms,name:"View all terms",position:"0",text:"View all terms"}})),children:"View all terms"})})]}),Z&&(0,l.jsxs)("section",{className:"tw-flex tw-flex-col tw-gap-6",id:"glossary-related-articles",ref:M,children:[(0,l.jsx)("h2",{className:"tw-heading-5 tw-text-gray-6 md:tw-heading-4",children:"Related articles"}),(0,l.jsx)(P.l,{desktopSlidesPerView:3,onNextClick:()=>(0,x.j)(new x.Fd({actionOutcome:h.$K.Next,outboundUrl:"",viewCorrelationId:q,webElement:{elementType:h.Hd.Button,htmlId:"glossary-related-articles-next",location:m.G.relatedArticles,name:"next_arrow",position:"0",text:""}})),onPrevClick:()=>(0,x.j)(new x.Fd({actionOutcome:h.$K.Back,outboundUrl:"",viewCorrelationId:q,webElement:{elementType:h.Hd.Button,htmlId:"glossary-related-articles-prev",location:m.G.relatedArticles,name:"previous_arrow",position:"0",text:""}})),slideClassName:"tw-h-full",children:F.relatedArticles.map((e,t)=>(0,l.jsx)(RelatedArticleCard,{article:e,onClick:()=>{var n;return(0,x.j)(new x.Fd({actionOutcome:h.$K.InternalLink,outboundUrl:null!==(n=e.url)&&void 0!==n?n:"",viewCorrelationId:q,webElement:{elementType:h.Hd.Link,htmlId:"glossary-related-article-".concat(t),location:m.G.relatedArticles,name:e.title,position:"".concat(t+1),text:e.title}}))}},e.slug))})]})]})})]})]})},U=!0,_slug_=e=>{let{slug:t,shouldShowPreview:n}=e;return(0,l.jsx)(templates_GlossaryTermPage,{shouldShowPreview:n,slug:t})}},53720:function(e,t,n){"use strict";n.d(t,{l:function(){return Carousel}});var l=n(85893);n(60439);var r=n(52893),a=n(93967),i=n.n(a),s=n(67294),o=n(2261);let Carousel=e=>{let{children:t,className:n="",desktopSlidesPerView:a=4,onNextClick:d,onPrevClick:c,slideClassName:u=""}
1=e,w=(0,s.useRef)(),[m,p]=(0,s.useState)(!0),[h,x]=(0,s.useState)(!1),g=(0,s.useCallback)(e=>{w.current=e,p(e.isBeginning),x(e.isEnd)},[]),v=(0,s.useCallback)(e=>{p(e.isBeginning),x(e.isEnd)},[]),f=m&&h;return(0,l.jsxs)("div",{className:"tw-relative ".concat(n),children:[!f&&(0,l.jsx)("button",{"aria-label":"Previous",className:i()("tw-absolute tw-left-0 tw-top-1/2 tw-z-20 tw-size-8","tw-hidden md:tw-inline-flex tw-items-center tw-justify-center","tw-rounded-full tw-border tw-border-solid tw-border-black","disabled:tw-opacity-30 disabled:tw-pointer-events-none"),disabled:m,onClick:()=>{var e;null==c||c(),null===(e=w.current)||void 0===e||e.slidePrev()},children:(0,l.jsx)(r.Arrow,{className:"*:tw-fill-black"})}),(0,l.jsx)("div",{className:f?"":"md:tw-mx-12",children:(0,l.jsx)(o.tq,{breakpoints:{640:{slidesOffsetAfter:0,slidesOffsetBefore:0,slidesPerView:a}},className:"tw-z-10",onSlideChange:v,onSwiper:g,slidesOffsetAfter:24,slidesOffsetBefore:24,slidesPerView:1.2,spaceBetween:24,children:t.map((e,t)=>(0,l.jsx)(o.o5,{className:"tw-w-auto ".concat(u),children:e},t))})}),!f&&(0,l.jsx)("button",{"aria-label":"Next",className:i()("tw-absolute tw-right-0 tw-top-1/2 tw-z-20 tw-size-8","tw-hidden md:tw-inline-flex tw-items-center tw-justify-center","tw-rounded-full tw-border tw-border-solid tw-border-black","disabled:tw-opacity-30 disabled:tw-pointer-events-none"),disabled:h,onClick:()=>{var e;null==d||d(),null===(e=w.current)||void 0===e||e.slideNext()},children:(0,l.jsx)(r.Arrow,{className:"tw-rotate-180 *:tw-fill-black"})})]})}},50501:function(e){e.exports={richText:"glossary-rich-text_richText__OyZjo"}}},function(e){e.O(0,[9238,9774,2888,179],function(){return e(e.s=49635)}),_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.