1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18],{730:(e,t,l)=>{"use strict";l.d(t,{WX:()=>g,yU:()=>v});var a=l(263),r=l(6687),s=l.n(r),n=l(9552),i=l.n(n),o=l(914),c=l(7292);function d(){return(0,a.jsx)(s(),{href:"/",className:"flex items-center gap-2",children:(0,a.jsx)(i(),{src:"/logos/text-logo.png",alt:"PastSmallTalk",width:1569,height:337,className:"h-10 w-auto"})})}function m(){let{pathname:e}=(0,o.useRouter)();return(0,a.jsx)("header",{className:(0,c.cn)("w-full","/"!==e&&"border-b border-[#E8E2D3]"),children:(0,a.jsx)("div",{className:"mx-auto flex max-w-7xl items-start justify-between px-4 py-4 sm:px-6",children:(0,a.jsx)(d,{})})})}let x=[{label:"Home",href:"/"},{label:"Topics",href:"/topics"},{label:"Creators",href:"/creators"},{label:"Pricing",href:"/pricing"},{label:"Shop",href:"/shop"}],u=[{label:"Past Small Talk",href:"/how-to-play/past-small-talk"},{label:"Would You Rather",href:"/how-to-play/would-you-rather"},{label:"Never Have I Ever",href:"/how-to-play/never-have-i-ever"},{label:"One Has to Go",href:"/how-to-play/one-has-to-go"},{label:"Exposed",href:"/how-to-play/exposed"},{label:"How to Play",href:"/how-to-play"}],h=[{label:"About",href:"/about"},{label:"Contact",href:"/contact"},{label:"Brand Kit",href:"/brand-kit"}],p=[{label:"Legal Hub",href:"/legal"},{label:"Privacy Policy",href:"/privacy"},{label:"Terms of Service",href:"/tos"},{label:"Refund Policy",href:"/refund"}];function f(e){let{title:t,links:l}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,a.jsx)("h3",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-[#8A7E6E]",children:t}),(0,a.jsx)("ul",{className:"flex flex-col gap-2.5",children:l.map(e=>(0,a.jsx)("li",{children:e.external?(0,a.jsx)("a",{href:e.href,className:"text-sm text-[#3c3c3c] transition-colors hover:text-brand-plum",children:e.label}):(0,a.jsx)(s(),{href:e.href,className:"text-sm text-[#3c3c3c] transition-colors hover:text-brand-plum",children:e.label})},e.href))})]})}function b(){let e=new Date().getFullYear();return(0,a.jsx)("footer",{className:"mt-auto w-full border-t border-[#E8E2D3] bg-white",children:(0,a.jsxs)("div",{className:"mx-auto w-full max-w-screen-xl px-5 py-12 sm:px-6 md:px-12 md:py-16 lg:px-20",children:[(0,a.jsxs)("div",{className:"grid grid-cols-2 gap-10 md:grid-cols-12 md:gap-8",children:[(0,a.jsxs)("div",{className:"col-span-2 flex flex-col gap-5 md:col-span-4",children:[(0,a.jsx)(d,{}),(0,a.jsx)("p",{className:"max-w-[320px] text-[14px] leading-relaxed text-[#4a4a4a]",children:"Card games to connect past small talk. Free to play, personalized to your vibe, and built for the moments that actually matter."}),(0,a.jsxs)("a",{href:"https://may.inc",target:"_blank",rel:"noopener noreferrer",className:"mt-1 inline-flex w-fit items-center gap-2 text-[12.5px] font-medium text-[#3c3c3c] transition-colors hover:text-brand-plum",children:[(0,a.jsx)("span",{className:"text-[#8A7E6E]",children:"Backed by"}),(0,a.jsx)(i(),{src:"https://cdn-may.com/assets/may-rounded-512x512.png",alt:"May, Inc.",width:20,height:20,className:"rounded-[5px]",unoptimized:!0}),(0,a.jsx)("span",{children:"May, Inc."})]})]}),(0,a.jsx)("div",{className:"md:col-span-2",children:(0,a.jsx)(f,{title:"Play",links:x})}),(0,a.jsx)("div",{className:"md:col-span-3",children:(0,a.jsx)(f,{title:"Games",links:u})}),(0,a.jsx)("div",{className:"md:col-span-3",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 gap-8",children:[(0,a.jsx)(f,{title:"Company",links:h}),(0,a.jsx)(f,{title:"Legal",links:p})]})})]}),(0,a.jsxs)("div",{className:"mt-12 flex flex-col gap-3 border-t border-[#E8E2D3] pt-6 sm:flex-row sm:items-center sm:justify-between",children:[(0,a.jsxs)("p",{className:"text-[12px] text-[#8A7E6E]",children:["\xa9 ",e," PastSmallTalk. All rights reserved."]}),(0,a.jsx)("p",{className:"text-[12px] text-[#8A7E6E]",children:"Conversations to connect intentionally."})]})]})})}function g(e){let{children:t}=e;return(0,a.jsxs)("div",{className:"flex min-h-[100dvh] flex-col bg-white",children:[(0,a.jsx)(m,{}),(0,a.jsx)("main",{className:"flex-1",children:t}),(0,a.jsx)(b,{})]})}function v(e){let{children:t}=e;return(0,a.jsxs)("div",{className:"min-h-screen bg-white",children:[(0,a.jsx)(m,{}),(0,a.jsx)("main",{className:"flex-1",children:t}),(0,a.jsx)(b,{})]})}},3766:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>P});var a=l(263),r=l(3239),s=l(6687),n=l.n(s),i=l(3525),o=l(4258),c=l(730),d=l(35),m=l(5568),x=l(2244),u=l(7292);let h=(0,x.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus:outline-none outline-none disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input hover:bg-muted hover:text-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-10 px-4 py-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10"}},defaultVariants:{variant:"default",size:"default"}}),p=r.forwardRef((e,t)=>
1{let{className:l,variant:r,size:s,asChild:n=!1,...i}=e,o=n?m.DX:"button";return(0,a.jsx)(o,{className:(0,u.cn)(h({variant:r,size:s,className:l})),ref:t,...i})});p.displayName="Button";var f=l(7620);function b(e){let{interval:t,price:l,priceId:r,loading:s,disabled:n,onSubscribe:i,bestValue:o}=e;return(0,a.jsxs)("div",{className:(0,u.cn)("relative flex flex-col rounded-2xl border p-6 transition-colors",o?"border-primary/40 bg-primary/[0.03]":"border-border/50"),children:[o&&(0,a.jsx)("span",{className:"absolute -top-3 left-1/2 -translate-x-1/2 rounded-full bg-primary px-3 py-0.5 text-[11px] font-medium uppercase tracking-wider text-primary-foreground",children:"Best Value"}),(0,a.jsx)("p",{className:"text-lg font-medium capitalize",children:t}),(0,a.jsxs)("p",{className:"mt-2 text-3xl font-semibold tracking-tight",children:[l,(0,a.jsxs)("span",{className:"text-base font-normal text-muted-foreground",children:["/","weekly"===t?"wk":"mo"]})]}),(0,a.jsx)(p,{onClick:()=>i(r),disabled:s||n,className:(0,u.cn)("mt-6 w-full rounded-xl py-5 text-sm",(s||n)&&"cursor-not-allowed opacity-40"),children:s?(0,a.jsx)(f.A,{className:"h-4 w-4 animate-spin"}):"Subscribe"})]})}function g(e){let{weeklyPriceId:t,monthlyPriceId:l,loading:r,disabled:s,onSubscribe:n}=e;return(0,a.jsxs)("div",{className:"grid w-full max-w-lg grid-cols-1 gap-4 sm:grid-cols-2",children:[(0,a.jsx)("div",{className:"order-2 sm:order-1",children:(0,a.jsx)(b,{interval:"weekly",price:"$1.99",priceId:t,loading:r===t,disabled:s||!!r&&r!==t,onSubscribe:n})}),(0,a.jsx)("div",{className:"order-1 sm:order-2",children:(0,a.jsx)(b,{interval:"monthly",price:"$4.99",priceId:l,loading:r===l,disabled:s||!!r&&r!==l,onSubscribe:n,bestValue:!0})})]})}function v(e){let{className:t}=e;return(0,a.jsxs)("p",{className:(0,u.cn)("text-[11px] leading-relaxed text-muted-foreground/40",t),children:["Charged by"," ",(0,a.jsx)("a",{href:"https://may.inc",target:"_blank",rel:"noopener noreferrer",className:"underline transition-colors hover:text-muted-foreground/60",children:"May Software Inc."}),", the company behind PastSmallTalk."]})}var j=l(1099);let y=(0,r.createContext)({openCheckout:()=>{},isReady:!1,initFailed:!1,checkoutStatus:"idle"});function N(e){let{children:t,onCheckoutComplete:l,clientToken:s,environment:n}=e,[i,o]=(0,r.useState)(),[c,d]=(0,r.useState)(!1),[m,x]=(0,r.useState)("idle"),u=(0,r.useRef)(l);u.current=l,(0,r.useEffect)(()=>{let e=s||"live_6931e51d6930fe95be299847eb6",t=n||"production";if(!e)return void d(!0);(0,j.Pm)({environment:"production"===t?void 0:"sandbox",token:e,checkout:{settings:{displayMode:"overlay",theme:"light"}},eventCallback:e=>{if("checkout.completed"===e.name){var t;x("completed"),null==(t=u.current)||t.call(u)}"checkout.closed"===e.name&&x(e=>"completed"===e?"completed":"idle")}}).then(e=>{e?o(e):d(!0)}).catch(()=>d(!0))},[s,n]);let h=(0,r.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};i&&(x("open"),i.Checkout.open({items:[{priceId:e,quantity:1}],customer:t.email?{email:t.email}:void 0,customData:t.userId?{user_id:t.userId}:void 0,settings:{displayMode:"overlay",theme:"light",allowLogout:!t.email}}))},[i]);return(0,a.jsx)(y.Provider,{value:{openCheckout:h,isReady:!!i,initFailed:c,checkoutStatus:m},children:t})}var w=l(6901);let k="pri_01kpp0kdk33vez9e9h0zxyhkke",S="pri_01kpp0jg3zfmj4eetqswk93qg9";function E(e){let{user:t}=e,{openCheckout:l,isReady:s,initFailed:c,checkoutStatus:d}=(0,r.useContext)(y),[m,x]=(0,r.useState)(null),[u,h]=(0,r.useState)(!1),f="open"===d;(0,r.useEffect)(()=>{"idle"===d&&x(null)},[d]);let b=(0,r.useCallback)(e=>{var a;if(null==t?void 0:t.isPaid)return void h(!0);s&&(x(e),l(e,{email:null!=(a=null==t?void 0:t.email)?a:void 0,userId:null==t?void 0:t.id}))},[l,s,t]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("section",{className:"w-full bg-brand-cream",children:(0,a.jsxs)("div",{className:"mx-auto max-w-2xl px-5 pb-12 pt-10 text-center sm:px-6 sm:pb-16 sm:pt-14",children:[(0,a.jsxs)("span",{className:"inline-flex items-center gap-1.5 text-[11px] font-semibold uppercase tracking-[0.14em] text-brand-plum",children:[(0,a.jsx)(i.A,{className:"size-3.5",strokeWidth:2.25}),"PST+"]}),(0,a.jsx)("h1",{className:"mt-4 font-serif text-[32px] leading-[1.1] tracking-tight text-foreground sm:text-[40px]",children:"Unlimited personalized games."}),(0,a.jsx)("p",{className:"mt-3 text-[15px] leading-relaxed text-[#4a4a4a] sm:text-[17px]",children:"Upgrade to PST+ for unlimited AI-personalized decks and exclusive games. Cancel anytime."}),(0,a.jsx)("div",{className:"mt-8 flex justify-center sm:mt-10",children:(0,a.jsx)(g,{weeklyPriceId:k,monthlyPriceId:S,loading:f?m:null,disabled:!s&&!c,onSubscribe:b})}),c&&(0,a.jsx)("p",{className:"mt-4 text-sm text-destructive",children:"Unable to load checkout. Please refresh and try again."}),(0,a.jsx)("p",{className:"mt-5 text-xs text-[#8A7E6E]",children:"Cancel anytime \xb7 All prices in USD"}),(0,a.jsx)(v,{className:"mt-2"})]})}),u&&(0,a.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/30 p-4 backdrop-blur-sm duration-200 animate-in fade-in",onClick:()=>h(!1),children:(0,a.jsxs)("div",{className:"relative w-full max-w-[22rem] rounded-2xl border border-border/40 bg-card p-8 text-center shadow-2xl shadow-black/10 duration-200 animate-in zoom-in-95",onClick:e=>e.stopPropagation(),children:[(0,a.jsx)("button",{onClick:()=>h(!1),className:"absolute right-3 top-3 rounded-full p-1.5 text-muted-foreground
1/40 transition-colors hover:bg-muted/50 hover:text-foreground",children:(0,a.jsx)(o.A,{className:"h-4 w-4"})}),(0,a.jsx)("div",{className:"mx-auto mb-5 flex h-14 w-14 items-center justify-center rounded-full bg-primary/10",children:(0,a.jsx)(i.A,{className:"h-7 w-7 text-primary"})}),(0,a.jsx)("h2",{className:"mb-1.5 font-serif text-xl italic text-foreground",children:"You're already on PST+"}),(0,a.jsx)("p",{className:"mb-6 text-sm text-muted-foreground/60",children:"Your subscription is active."}),(0,a.jsx)(p,{asChild:!0,className:"w-full rounded-xl py-5 text-sm",children:(0,a.jsx)(n(),{href:"/home",children:"Go to App"})})]})})]})}let C=()=>{let[e,t]=(0,r.useState)(null);(0,r.useEffect)(()=>{(0,w.l_)("/users/me").then(e=>t(e)).catch(()=>{})},[]);let l=(0,r.useCallback)(()=>{e?window.location.href="/home?purchased=1":window.location.href="/welcome"},[e]);return(0,a.jsxs)(N,{onCheckoutComplete:l,children:[(0,a.jsx)(d.G$,{page:"pricing"}),(0,a.jsx)(E,{user:e})]})};C.getLayout=function(e){return(0,a.jsx)(c.WX,{children:e})};let P=C},6289:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/pricing",function(){return l(3766)}])},7292:(e,t,l)=>{"use strict";l.d(t,{cn:()=>s});var a=l(3638),r=l(6970);function s(){for(var e=arguments.length,t=Array(e),l=0;l<e;l++)t[l]=arguments[l];return(0,r.QP)((0,a.$)(t))}},7633:(e,t,l)=>{"use strict";l.r(t),l.d(t,{default:()=>r});var a=l(3216);function r(e){let{src:t,width:l,quality:r}=e,s=t.startsWith("/")?t.slice(1):t,n=new URLSearchParams;l&&n.set("w",l.toString()),r&&n.set("q",r.toString());let i=n.toString()?"?".concat(n.toString()):"";return"".concat(a.w4,"/assets/").concat(s).concat(i)}}},e=>{e.O(0,[299,99,636,593,792],()=>e(e.s=6289)),_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.