PageSourceSearch

https://indiancaucus.org/_next/static/chunks/pages/app/membership-45fd74e28f2d1228.js

js indiancaucus.org collected 2026-09-24 14:28:03 UTC 3,971 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7132],{8312:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/app/membership",function(){return r(32388)}])},32388:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>p});var a=r(37876),n=r(14232),s=r(89099),i=r(62422),o=r(84098),l=r(94430);let d=[{tier:"Individual",amount:25,perks:["Member updates","Event priority","Support the mission"]},{tier:"Family",amount:51,perks:["Everything in Individual","Covers your household","Family event perks"],popular:!0},{tier:"Patron",amount:101,perks:["Everything in Family","Recognition at events","Deeper community impact"]},{tier:"Benefactor",amount:251,perks:["Everything in Patron","Special invitations","Founding supporter"]}];function p(){let e=(0,s.useRouter)(),{toast:t}=(0,l.j)(),[r,p]=(0,n.useState)("");async function m(e){p(e.tier);try{let r=await fetch("/api/create-checkout-session",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({amount:e.amount,membership:!0,tier:e.tier})}),a=await r.json();if(a.url){window.location.href=a.url;return}p(""),t("Could not start checkout. Please try again.","error")}catch{p(""),t("Could not start checkout. Please try again.","error")}}return(0,a.jsxs)(i.Ay,{title:"Membership",children:[e.query.success&&(0,a.jsx)("div",{className:"app-pop bg-green-50 border border-green-200 text-green-800 text-sm rounded-2xl px-4 py-3 mb-4 font-semibold",children:"Welcome, member! Thank you for supporting the community."}),(0,a.jsxs)("div",{className:"app-fade-up app-hero-warm rounded-3xl p-5 mb-5 text-white shadow-lg app-gradient-animate",style:o.VT,children:[(0,a.jsx)("h1",{className:"text-2xl font-extrabold",children:"Become a member"}),(0,a.jsx)("p",{className:"text-white/90 text-sm mt-1.5",children:"Annual membership powers our festivals, programs, and community services year-round."})]}),(0,a.jsx)("div",{className:"space-y-3 app-stagger",children:d.map(e=>(0,a.jsxs)("div",{className:`bg-white rounded-3xl p-5 shadow-xs border ${e.popular?"border-brand-orange ring-1 ring-brand-orange/20":"border-orange-100"}`,children:[(0,a.jsxs)("div",{className:"flex items-baseline justify-between",children:[(0,a.jsxs)("p",{className:"font-extrabold text-brand-navy text-lg",children:[e.tier,e.popular&&(0,a.jsx)("span",{className:"ml-2 text-[10px] font-bold text-white bg-brand-burnt rounded-full px-2 py-0.5 align-middle",children:"POPULAR"})]}),(0,a.jsxs)("p",{className:"font-extrabold text-brand-navy",children:["$",e.amount,(0,a.jsx)("span",{className:"text-gray-500 text-sm font-semibold",children:"/yr"})]})]}),(0,a.jsx)("ul",{className:"mt-2 space-y-1",children:e.perks.map(e=>(0,a.jsxs)("li",{className:"flex items-center gap-2 text-gray-600 text-sm",children:[(0,a.jsx)("svg",{width:"14",height:"14",className:"text-brand-green-dark dark:text-brand-green-light shrink-0",fill:"none",stroke:"currentColor",strokeWidth:"3",viewBox:"0 0 24 24",children:(0,a.jsx)("polyline",{points:"20 6 9 17 4 12"})}),e]},e))}),(0,a.jsx)("button",{onClick:()=>m(e),disabled:r===e.tier,className:`mt-4 w-full py-3 rounded-2xl text-sm font-bold active:scale-[.98] transition-transform disabled:opacity-50 ${e.popular?"bg-linear-to-r from-brand-orange to-brand-saffron text-white shadow-lg shadow-orange-500/20":"bg-brand-navy text-white"}`,children:r===e.tier?"…":`Join — $${e.amount}/yr`})]},e.tier))}),(0,a.jsx)("p",{className:"text-gray-500 dark:text-white/55 text-xs text-center mt-4",children:"Renews annually via Stripe. Cancel anytime. Membership may be tax-deductible."})]})}},84098:(e,t,r)=>{"use strict";r.d(t,{J6:()=>n,VT:()=>i,jh:()=>a,ll:()=>s});let a="linear-gradient(120deg,#FF9933,#F26644 62%,#800000 155%)",n="linear-gradient(120deg,#0F2044 0%,#1e1b18 52%,#800000 150%)",s="linear-gradient(150deg,#0F2044 0%,#1e1b18 50%,#800000 150%)",i={textShadow:"0 1px 2px rgba(0,0,0,0.32), 0 1px 8px rgba(0,0,0,0.14)"}}},e=>{e.O(0,[8230,900,6475,2422,636,6593,8792],()=>e(e.s=8312)),_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.