PageSourceSearch

https://communityimpact.com/_next/static/chunks/3ubxnkdposhxq.js

js communityimpact.com collected 2026-09-24 08:37:02 UTC 31,531 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39346,e=>{"use strict";let t=(0,e.i(10896).default)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);e.s(["Newspaper",0,t],39346)},11932,e=>{"use strict";let t=(0,e.i(10896).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],11932)},67392,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=e.r(63616);function a(e,t){let r=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=a.current;t&&(a.current=null,t())}else e&&(r.current=s(e,n)),t&&(a.current=s(t,n))},[e,t])}function s(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},28141,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={formatUrl:function(){return i},formatWithValidation:function(){return c},urlObjectKeys:function(){return o}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(44066)._(e.r(22141)),l=/https?|ftp|gopher|file/;function i(e){let{auth:t,hostname:r}=e,n=e.protocol||"",a=e.pathname||"",i=e.hash||"",o=e.query||"",c=!1;t=t?encodeURIComponent(t).replace(/%3A/i,":")+"@":"",e.host?c=t+e.host:r&&(c=t+(~r.indexOf(":")?`[${r}]`:r),e.port&&(c+=":"+e.port)),o&&"object"==typeof o&&(o=String(s.urlQueryToSearchParams(o)));let d=e.search||o&&`?${o}`||"";return n&&!n.endsWith(":")&&(n+=":"),e.slashes||(!n||l.test(n))&&!1!==c?(c="//"+(c||""),a&&"/"!==a[0]&&(a="/"+a)):c||(c=""),i&&"#"!==i[0]&&(i="#"+i),d&&"?"!==d[0]&&(d="?"+d),a=a.replace(/[?#]/g,encodeURIComponent),d=d.replace("#","%23"),`${n}${c}${a}${d}${i}`}let o=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function c(e){return i(e)}},10060,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"isLocalURL",{enumerable:!0,get:function(){return s}});let n=e.r(31033),a=e.r(12301);function s(e){if(!(0,n.isAbsoluteUrl)(e))return!0;try{let t=(0,n.getLocationOrigin)(),r=new URL(e,t);return r.origin===t&&(0,a.hasBasePath)(r.pathname)}catch(e){return!1}}},17305,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"errorOnce",{enumerable:!0,get:function(){return n}});let n=e=>{}},53286,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var n={default:function(){return g},useLinkStatus:function(){return b}};for(var a in n)Object.defineProperty(r,a,{enumerable:!0,get:n[a]});let s=e.r(44066),l=e.r(38362),i=s._(e.r(63616)),o=e.r(28141),c=e.r(54629),d=e.r(67392),u=e.r(31033),m=e.r(18070);e.r(65689);let f=e.r(92635),p=e.r(51809),h=e.r(10060),x=e.r(49734);function g(t){var r,n;let a,s,g,[b,v]=(0,i.useOptimistic)(p.IDLE_LINK_STATUS),j=(0,i.useRef)(null),{href:k,as:N,children:w,prefetch:C=null,passHref:S,replace:L,shallow:_,scroll:M,onClick:A,onMouseEnter:P,onTouchStart:R,legacyBehavior:I=!1,onNavigate:T,transitionTypes:$,ref:E,unstable_dynamicOnHover:U,...F}=t;a=w,I&&("string"==typeof a||"number"==typeof a)&&(a=(0,l.jsx)("a",{children:a}));let O=i.default.useContext(c.AppRouterContext),z=!1!==C,B=!1!==C?null===(n=C)||"auto"===n?x.FetchStrategy.PPR:x.FetchStrategy.Full:x.FetchStrategy.PPR,D="string"==typeof(r=N||k)?r:(0,o.formatUrl)(r);if(I){if(a?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
1` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=i.default.Children.only(a)}let q=I?s&&"object"==typeof s&&s.ref:E,W=i.default.useCallback(e=>(null!==O&&(j.current=(0,p.mountLinkInstance)(e,D,O,B,z,v)),()=>{j.current&&((0,p.unmountLinkForCurrentNavigation)(j.current),j.current=null),(0,p.unmountPrefetchableInstance)(e)}),[z,D,O,B,v]),K={ref:(0,d.useMergedRef)(W,q),onClick(t){I||"function"!=typeof A||A(t),I&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(t),!O||t.defaultPrevented||function(t,r,n,a,s,l,o){if("u">typeof window){let c,{nodeName:d}=t.currentTarget;if("A"===d.toUpperCase()&&((c=t.currentTarget.getAttribute("target"))&&"_self"!==c||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.nativeEvent&&2===t.nativeEvent.which)||t.currentTarget.hasAttribute("download"))return;if(!(0,h.isLocalURL)(r)){a&&(t.preventDefault(),location.replace(r));return}if(t.preventDefault(),l){let e=!1;if(l({preventDefault:()=>{e=!0}}),e)return}let{dispatchNavigateAction:u}=e.r(77981);i.default.startTransition(()=>{u(r,a?"replace":"push",!1===s?f.ScrollBehavior.NoScroll:f.ScrollBehavior.Default,n.current,o)})}}(t,D,j,L,M,T,$)},onMouseEnter(e){I||"function"!=typeof P||P(e),I&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(e),O&&z&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)},onTouchStart:function(e){I||"function"!=typeof R||R(e),I&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(e),O&&z&&(0,p.onNavigationIntent)(e.currentTarget,!0===U)}};return(0,u.isAbsoluteUrl)(D)?K.href=D:I&&!S&&("a"!==s.type||"href"in s.props)||(K.href=(0,m.addBasePath)(D)),g=I?i.default.cloneElement(s,K):(0,l.jsx)("a",{...F,...K,children:a}),(0,l.jsx)(y.Provider,{value:b,children:g})}e.r(17305);let y=(0,i.createContext)(p.IDLE_LINK_STATUS),b=()=>(0,i.useContext)(y);("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},10896,e=>{"use strict";var t=e.i(63616);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:l,className:i="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...a,width:n,height:n,stroke:e,strokeWidth:l?24*Number(s)/Number(n):s,className:r("lucide",i),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,a)=>{let l=(0,t.forwardRef)(({className:l,...i},o)=>(0,t.createElement)(s,{ref:o,iconNode:a,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,l),...i}));return l.displayName=n(e),l}],10896)},30513,e=>{"use strict";
1let t=(0,e.i(10896).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],30513)},25337,e=>{"use strict";let t=(0,e.i(10896).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",0,t],25337)},15336,e=>{"use strict";let t=(0,e.i(10896).default)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]]);e.s(["Mail",0,t],15336)},50036,e=>{"use strict";let t=(0,e.i(10896).default)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);e.s(["Check",0,t],50036)},7134,e=>{"use strict";var t=e.i(82583);let r=(0,t.createServerReference)("60a35a8bd56bc011f296162e0e499d482e00528d3a",t.callServer,void 0,t.findSourceMapURL,"sendMagicLinkAction");e.s(["sendMagicLinkAction",0,r])},37145,e=>{"use strict";let t=(0,e.i(10896).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,t],37145)},89294,e=>{"use strict";let t=(0,e.i(10896).default)("bookmark",[["path",{d:"M17 3a2 2 0 0 1 2 2v15a1 1 0 0 1-1.496.868l-4.512-2.578a2 2 0 0 0-1.984 0l-4.512 2.578A1 1 0 0 1 5 20V5a2 2 0 0 1 2-2z",key:"oz39mx"}]]);e.s(["Bookmark",0,t],89294)},45179,58118,e=>{"use strict";var t=e.i(82583);let r=(0,t.createServerReference)("6080b6a96cfd8b911dbfb76747af9f5a0b0168c748",t.callServer,void 0,t.findSourceMapURL,"updateAccount");e.s(["updateAccount",0,r],45179);let n=(0,t.createServerReference)("40aae59f8e0a71542635fa24147c41b10daa83eeea",t.callServer,void 0,t.findSourceMapURL,"verifyAddress");e.s(["verifyAddress",0,n],58118)},24566,e=>{"use strict";function t(...e){"function"==typeof window.citag?window.citag(...e):(window.ciDataLayer=window.ciDataLayer??[]).push(e)}function r(e,n={}){t("track",e,n)}async function n(e){return"u"<typeof crypto||!crypto.subtle?null:Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",new TextEncoder().encode(e)))).map(e=>e.toString(16).padStart(2,"0")).join("")}async function a(e){let t=await n(e.trim().toLowerCase());t&&r("Login",{email:t})}e.s(["citag",0,t,"trackEvent",0,r,"trackLogin",0,a])},51935,e=>{"use strict";
1let t=(0,e.i(10896).default)("truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]);e.s(["Truck",0,t],51935)},36617,e=>{"use strict";var t=e.i(38362),r=e.i(53286),n=e.i(51935);e.s(["PrintUpsellCallout",0,function({className:e="",wantedEdition:a,onLinkClick:s,newTab:l}){return(0,t.jsx)("div",{className:`rounded-lg border border-ci-gold/40 bg-ci-gold/5 p-4 ${e}`,children:(0,t.jsxs)("div",{className:"flex items-start gap-3",children:[(0,t.jsx)("div",{className:"mt-0.5 shrink-0",children:(0,t.jsx)(n.Truck,{className:"h-4 w-4 text-ci-gold"})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm font-semibold text-foreground",children:a?`Still want the ${a} edition?`:"Get print delivered to your door"}),(0,t.jsx)("p",{className:"mt-0.5 text-xs text-muted-foreground",children:a?(0,t.jsxs)(t.Fragment,{children:["Free delivery follows your address, but"," ",(0,t.jsx)("strong",{className:"text-foreground",children:"Annual + Print InCIder members"})," ","($120/yr) receive ",(0,t.jsx)("em",{children:"any"})," market's edition by mail — including"," ",(0,t.jsx)("strong",{className:"text-foreground",children:a}),"."]}):(0,t.jsxs)(t.Fragment,{children:["Your address is outside our free delivery area, but"," ",(0,t.jsx)("strong",{className:"text-foreground",children:"Annual + Print InCIder members"})," ","($120/yr) receive any market's edition by mail — anywhere in the U.S."]})}),(0,t.jsxs)(r.default,{href:"/incider?plan=print",...l?{target:"_blank",rel:"noopener noreferrer"}:{},...s?{onClick:s}:{},className:"mt-3 inline-flex items-center gap-1.5 rounded-md bg-ci-gold px-3 py-1.5 text-xs font-bold text-secondary transition hover:opacity-90",children:[(0,t.jsx)(n.Truck,{className:"h-3 w-3"}),"See the Annual + Print plan"]})]})]})})}])},1030,e=>{"use strict";var t=e.i(38362),r=e.i(63616),n=e.i(30513);let a=new Map;e.s(["AddressInput",0,function({value:e,onChange:s,autoFocus:l}){let[i,o]=(0,r.useState)([]),[c,d]=(0,r.useState)(!1),[u,m]=(0,r.useState)(null),f=(0,r.useRef)(null),p=(0,r.useRef)(null),h=(0,r.useRef)(null),x=(e,t)=>{f.current&&clearTimeout(f.current);let r=e.trim();if(!t&&r.length<5){p.current?.abort(),p.current=null,o([]),d(!1);return}let n=t?`${r.toLowerCase()}|${t.toLowerCase()}`:r.toLowerCase(),s=a.get(n);if(s){p.current?.abort(),p.current=null,h.current=n,o(s),d(!1);return}f.current=setTimeout(async()=>{if(h.current===n&&p.current)return;p.current?.abort(),h.current=n;let r=new AbortController;p.current=r,d(!0);try{let s=new URL("/api/address/autocomplete",window.location.origin);s.searchParams.set("q",e),t&&s.searchParams.set("selected",t);let l=await fetch(s.toString(),{signal:r.signal}),i=await l.json();if(!r.signal.aborted){p.current=null;let e=i.data?.suggestions??[];a.set(n,e),o(e),d(!1)}}catch{r.signal.aborted||(p.current=null,o([]),d(!1))}},300)},g=e=>{let t=`${e.streetLine} ${e.secondary} (${e.entries}) ${e.city} ${e.state} ${e.zipcode}`.trim();x(e.streetLine,t)},y="w-full rounded-lg border border-border bg-background px-3 py-2.5 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-1 focus:ring-primary";return(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{type:"text",placeholder:"Street address",value:e.line1,onChange:t=>{s({...e,line1:t.target.value}),x(t.target.value)},onBlur:()=>setTimeout(()=>o([]),150),autoFocus:l,className:y}),(i.length>0||c)&&(0,t.jsxs)("div",{className:"absolute left-0 right-0 top-full z-20 mt-1 max-h-48 overflow-y-auto rounded-lg border border-border bg-card shadow-lg",children:[c&&0===i.length&&(0,t.jsxs)("div",{className:"flex items-center gap-2 px-3 py-2 text-xs text-muted-foreground",children:[(0,t.jsx)(n.Loader2,{className:"h-3.5 w-3.5 animate-spin"}),"Searching..."]}),i.map((e,r)=>(0,t.jsxs)("button",{type:"button",onMouseDown:()=>(e=>{if(e.entries>1){m(null),g(e);return}m((e.secondary?void 0:i.find(t=>t.entries>1&&t.streetLine===e.streetLine&&t.zipcode===e.zipcode))??null),o([]),s({line1:e.streetLine,line2:e.secondary??"",city:e.city,state:e.state,zip:e.zipcode})})(e),className:"flex w-full flex-col items-start px-3 py-2 text-left text-sm hover:bg-accent",children:[(0,t.jsxs)("span",{className:"font-medium text-foreground",children:[e.streetLine,e.secondary?` ${e.secondary}`:"",e.entries>1?` (${e.entries} units)`:""]}),(0,t.jsx)("span",{className:"text-xs text-muted-foreground",children:[e.city,e.state,e.zipcode].filter(
1Boolean).join(", ")})]},r))]})]}),(0,t.jsx)("input",{type:"text",placeholder:"Apt / Suite (optional)",value:e.line2,onChange:t=>{t.target.value.trim()&&m(null),s({...e,line2:t.target.value})},className:y}),u&&!e.line2.trim()&&(0,t.jsxs)("div",{className:"rounded-lg border border-amber-500/40 bg-amber-500/10 px-3 py-2.5 text-xs text-foreground",children:[(0,t.jsxs)("p",{children:["This building has ",u.entries," units. Add your apartment or suite number — without it we check the building, not your door, and delivery may look unavailable."]}),(0,t.jsx)("button",{type:"button",onClick:()=>{m(null),g(u)},className:"mt-1.5 font-medium text-primary underline underline-offset-2",children:"Choose your unit"})]}),(0,t.jsxs)("div",{className:"grid grid-cols-3 gap-3",children:[(0,t.jsx)("input",{type:"text",placeholder:"City",value:e.city,onChange:t=>s({...e,city:t.target.value}),className:`col-span-3 sm:col-span-1 ${y}`}),(0,t.jsx)("input",{type:"text",placeholder:"State",value:e.state,maxLength:2,onChange:t=>s({...e,state:t.target.value.toUpperCase()}),className:y}),(0,t.jsx)("input",{type:"text",placeholder:"ZIP",value:e.zip,maxLength:10,onChange:t=>s({...e,zip:t.target.value}),className:y})]})]})}])},31507,e=>{"use strict";var t=e.i(38362),r=e.i(63616),n=e.i(53286),a=e.i(11932),s=e.i(30513),l=e.i(50036),i=e.i(39346),o=e.i(37145),c=e.i(25337),d=e.i(15336),u=e.i(89294);
1let m=(0,e.i(10896).default)("shopping-bag",[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]]);var f=e.i(82583);let p=(0,f.createServerReference)("60e0495a9d1867e8dfe53b30ca369fcf0f52bcc1e7",f.callServer,void 0,f.findSourceMapURL,"createAccountAction");var h=e.i(7134),x=e.i(45179),g=e.i(58118),y=e.i(24566),b=e.i(1030),v=e.i(36617),j=e.i(69224);let k={line1:"",line2:"",city:"",state:"",zip:""},N={email:1,"welcome-back":1,name:2,address:3,checking:3,"free-print":4,"out-of-area":4,incider:4,done:5},w={email:0,"welcome-back":0,name:1,address:2,checking:2,"free-print":3,"out-of-area":4,incider:5,done:-1},C=[{icon:d.Mail,label:"Daily local newsletters"},{icon:u.Bookmark,label:"Save articles, read anytime"},{icon:c.MapPin,label:"Your local edition, found for you"},{icon:i.Newspaper,label:"Free print delivery where available"},{icon:m,label:"Wallet deals & local offers"},{icon:o.Sparkles,label:"InCIder exclusive access"}];e.s(["SignupModal",0,function({open:e,onClose:d,title:u="Log in or create a free account",description:m="Save articles, manage newsletters, and more.",bookmarkPostPublicIds:f,newsletterCustomFields:S,walletOfferIds:L,accountTip:_,ballot:M,next:A="/",source:P,marketSlug:R,onRegistered:I}){let{rehydrate:T}=(0,j.useAuth)(),[$,E]=(0,r.useState)("email"),[U,F]=(0,r.useState)(null),[O,z]=(0,r.useState)(""),[B,D]=(0,r.useState)(""),[q,W]=(0,r.useState)(""),[K,V]=(0,r.useState)(k),[H,X]=(0,r.useState)(null),[Y,Z]=(0,r.useState)(!1),[G,J]=(0,r.useState)(null),[Q,ee]=(0,r.useState)("idle"),[et,er]=(0,r.useState)(0),en=(0,r.useRef)(null),ea=(e,t={})=>{(0,y.trackEvent)("SignupFunnel",{step:e,...t})};if((0,r.useEffect)(()=>{e&&(ea("modal_opened",{source:P,marketSlug:R}),E("email"),F(null),z(""),D(""),W(""),V(k),X(null),Z(!1),J(null),ee("idle"),er(0))},[e]),(0,r.useEffect)(()=>{if(!e)return;let t=e=>{"Escape"===e.key&&d()};return document.addEventListener("keydown",t),()=>document.removeEventListener("keydown",t)},[e,d]),(0,r.useEffect)(()=>{if("email"!==$)return;let e=setInterval(()=>{er(e=>(e+1)%C.length)},3600);return()=>clearInterval(e)},[$]),!e)return null;let es=async e=>{if(e.preventDefault(),!Y){J(null),Z(!0);try{let e=localStorage.getItem("sid")??void 0,{account:t,isNew:r,accountTipPublicId:n}=await p(O,{next:A,bookmarkPostPublicIds:f,newsletterCustomFields:S,walletOfferIds:L,accountTip:_,ballot:M,source:P,marketSlug:R,sid:e});ea("email_submitted",{isNew:r}),F(t.id),T(),await I?.(t.id,{savedBookmarks:0,subscribedNewsletters:0},{accountTipPublicId:n}),E(r?"name":"welcome-back")}catch(e){J(e instanceof Error?e.message:"Something went wrong. Please try again.")}finally{Z(!1)}}},el=async e=>{if((e.preventDefault(),U&&!Y)&&B.trim()&&q.trim()){Z(!0);try{await (0,x.updateAccount)(U,{firstName:B.trim(),lastName:q.trim()})}catch{}finally{Z(!1)}ea("name_submitted"),E("address")}},ei=async e=>{if(e.preventDefault(),U&&!Y){ea("address_submitted"),Z(!0);try{K.line1&&await (0,x.updateAccount)(U,{addressStreet1:K.line1,addressStreet2:K.line2||null,addressCity:K.city,addressStateCode:K.state,addressZip:K.zip}),E("checking");let e=await (0,g.verifyAddress)({street:K.line1,street2:K.line2||void 0,city:K.city,zip:K.zip});if(!e.data){ea("address_checked",{result:"error"}),E("incider");return}e.data.verified?(ea("address_checked",{result:"deliverable"}),X(e.data.marketName),E("free-print")):(ea("address_checked",{result:"out_of_area"}),E("out-of-area"))}catch{ea("address_checked",{result:"error"}),E("incider")}finally{Z(!1)}}},eo=async()=>{ee("sending");try{await (0,h.sendMagicLinkAction)(O,A),ee("sent")}catch{ee("error")}},ec="w-full rounded-lg border border-input bg-background px-3.5 py-2.5 text-sm text-foreground placeholder:text-muted-foreground focus:border-primary focus:outline-none focus:ring-2 focus:ring-ring/20",ed="w-full rounded-lg bg-primary px-4 py-2.5 text-sm font-semibold text-primary-foreground transition hover:opacity-90 disabled:opacity-60 flex items-center justify-center gap-2",eu="mt-3 block text-center text-xs text-muted-foreground hover:text-foreground transition cursor-pointer select-none",em={email:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-foreground",children:u}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:m}),(0,t.jsxs)("form",{onSubmit:es,className:"mt-6 space-y-3",children:[G&&(0,t.jsx)("p",{className:"rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:G}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"signup-email",className:"sr-only",children:"Email address"}),(0,t.jsx)("input",{id:"signup-email",type:"email",value:O,onChange:e=>z(e.target.value),placeholder:"[email protected]",required:!0,autoFocus:!0,autoComplete:"email",className:ec})]}),(0,t.jsxs)("button",{type:"submit",disabled:Y,className:ed,children:[Y&&(0,t.jsx)(s.Loader2,{className:"h-4 w-4 animate-spin"}),Y?"":"Continue"]})]}),(0,t.jsxs)("p",{className:"mt-5 text-center text-[11px] text-muted-foreground",children:["By creating an account you agree to our"," ",(0,t.jsx)(n.default,{href:"/terms-of-service",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-foreground",children:"Terms"})," and ",(0,t.jsx)(n.default,{href:"/privacy-policy",target:"_blank",rel:"noopener noreferrer",className:"underline hover:text-foreground",children:"Privacy Policy"}),"."]})]}),"welcome-back":(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-foreground",children:"Check your inbox!"}),(0,t.jsxs)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:["We found an account for"," ",(0,t.jsx)("span",{className:"font-medium text-foreground",children:O})," and sent a sign-in link. It expires in 30 minutes."]}),(0,t.jsxs)("div",{className:"mt-5 rounded-lg border border-border bg-muted px-4 py-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-foreground",children:[(0,t.jsx)(l.Check,{className:"h-4 w-4 text-primary"}),"Sign-in link sent"]}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:["Can’t find it? Check your spam folder or"," ",(0,t.jsx)("button",{type:"button",onClick:eo,disabled:"sending"===Q||"sent"===Q,className:"font-medium text-primary hover:underline disabled:opacity-50",children:"sending"===Q?"resending…":"sent"===Q?"sent!":"resend it"}),"."]})]}),(0,t.jsx)("button",{type:"button",onClick:d,className:eu,children:"Done"})]}),name:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-foreground",children:"What’s your name?"}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:"We’ll use this to personalize your experience."}),(0,t.jsxs)("form",{onSubmit:el,className:"mt-6 space-y-3",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"signup-first-name",className:"sr-only",children:"First name"}),(0,t.jsx)("input",{id:"signup-first-name",type:"text",value:B,onChange:e=>D(e.target.value),placeholder:"First name",autoFocus:!0,autoComplete:"given-name",className:ec})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"signup-last-name",className:"sr-only",children:"Last name"}),(0,t.jsx)("input",{id:"signup-last-name",type:"text",value:q,onChange:e=>W(e.target.value),placeholder:"Last name",autoComplete:"family-name",className:ec})]}),(0,t.jsxs)("button",{type:"submit",disabled:Y||!B.trim()||!q.trim(),className:ed,children:[Y&&(0,t.jsx)(s.Loader2,{className:"h-4 w-4 animate-spin"}),Y?"Saving...":"Continue"]})]})]}),address:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"text-2xl font-bold text-foreground",children:"Where do you live?"}),(0,t.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:"We use your address to find your local edition and check if we deliver to your area."}),(0,t.jsxs)("form",{onSubmit:ei,className:"mt-6 space-y-3",children:[(0,t.jsx)(b.AddressInput,{value:K,onChange:V}),(0,t.jsxs)("button",{type:"submit",disabled:Y||!K.line1,className:ed,children:[Y&&(0,t.jsx)(s.Loader2,{className:"h-4 w-4 animate-spin"}),Y?"Saving...":"Continue"]})]}),(0,t.jsx)("button",{type:"button",onClick:()=>{ea("address_skipped"),E("incider")},className:eu,children:"Skip"})]}),checking:(0,t.jsxs)("div",{className:"flex flex-1 flex-col items-center justify-center gap-3 py-12",children:[(0,t.jsx)(s.Loader2,{className:"h-8 w-8 animate-spin text-primary"}),(0,t.jsx)("p",{className:"text-sm text-muted-foreground",children:"Checking your address…"})]}),"free-print":(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-green-500/15",children:(0,t.jsx)(i.Newspaper,{className:"h-5 w-5 text-green-600 dark:text-green-400"})}),(0,t.jsx)("h2",{className:"mt-4 text-2xl font-bold text-foreground",children:"Good news!"}),(0,t.jsxs)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:["We deliver the"," ",(0,t.jsx)("span",{className:"font-semibold text-foreground",children:H??"Community Impact"})," ","edition of the Community Impact Newspaper to your area — completely free."]}),(0,t.jsx)("p",{className:"mt-3 text-xs leading-relaxed text-muted-foreground
1/70",children:"We want to make sure you continue to get free Community Impact newspapers. By becoming a Community Impact Requester, you are helping us reduce the shipping costs of our newspaper, which allows us to focus more resources on stories in your area."}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)("button",{type:"button",onClick:async()=>{ea("requester_agreed"),U&&await (0,x.updateAccount)(U,{isRequester:!0}).catch(()=>{}),E("incider")},className:ed,children:"Yes, that sounds good!"})}),(0,t.jsx)("button",{type:"button",onClick:()=>{ea("requester_declined"),E("incider")},className:eu,children:"No thank you"})]}),"out-of-area":(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-muted",children:(0,t.jsx)(c.MapPin,{className:"h-5 w-5 text-muted-foreground"})}),(0,t.jsx)("h2",{className:"mt-4 text-2xl font-bold text-foreground",children:"Outside our delivery area"}),(0,t.jsx)(v.PrintUpsellCallout,{className:"mt-4 text-left",newTab:!0,onLinkClick:()=>{ea("incider_link_clicked",{from:"out_of_area"}),d()}}),(0,t.jsx)("button",{type:"button",onClick:()=>E("incider"),className:eu,children:"Maybe later"})]}),incider:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"flex h-11 w-11 items-center justify-center rounded-full bg-ci-gold/15",children:(0,t.jsx)(o.Sparkles,{className:"h-5 w-5 text-ci-gold"})}),(0,t.jsx)("h2",{className:"mt-4 text-2xl font-bold text-foreground",children:"Become an InCIder"}),(0,t.jsxs)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:["Unlimited digital access, exclusive content, marketplace deals, and your local edition delivered to your door — all with an"," ",(0,t.jsx)("span",{className:"font-semibold text-foreground",children:"InCIder"})," membership."]}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsxs)(n.default,{href:"/incider",target:"_blank",rel:"noopener noreferrer",onClick:()=>{ea("incider_link_clicked",{from:"incider"}),d()},className:ed+" inline-flex",children:[(0,t.jsx)(o.Sparkles,{className:"h-4 w-4"}),"Join InCIder"]})}),(0,t.jsx)("button",{type:"button",onClick:()=>E("done"),className:eu,children:"Maybe later"})]}),done:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5",children:[(0,t.jsx)("div",{className:"flex h-8 w-8 items-center justify-center rounded-full bg-primary/10",children:(0,t.jsx)(l.Check,{className:"h-4 w-4 text-primary"})}),(0,t.jsx)("h2",{className:"text-2xl font-bold text-foreground",children:"You’re all set!"})]}),(0,t.jsx)("p",{className:"mt-2 text-sm text-muted-foreground",children:"Verify your email to sign in and access your account anytime."}),(0,t.jsx)(()=>"sent"===Q?(0,t.jsxs)("div",{className:"mt-5 rounded-lg border border-border bg-muted px-4 py-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-sm font-medium text-foreground",children:[(0,t.jsx)(l.Check,{className:"h-4 w-4 text-primary"}),"Check your inbox"]}),(0,t.jsxs)("p",{className:"mt-1 text-xs text-muted-foreground",children:["We sent a sign-in link to ",(0,t.jsx)("span",{className:"font-medium text-foreground",children:O}),". It expires in 30 minutes."]})]}):(0,t.jsxs)("div",{className:"mt-5 space-y-2",children:["error"===Q&&(0,t.jsx)("p",{className:"rounded-lg border border-destructive/30 bg-destructive/10 px-3 py-2 text-sm text-destructive",children:"Couldn’t send the link. Please try again."}),(0,t.jsxs)("button",{type:"button",disabled:"sending"===Q,onClick:eo,className:ed,children:["sending"===Q&&(0,t.jsx)(s.Loader2,{className:"h-4 w-4 animate-spin"}),"sending"===Q?"Sending...":"Send sign-in link"]})]}),{}),"sent"===Q&&(0,t.jsx)("button",{type:"button",onClick:d,className:eu,children:"Done"})]})},ef="email"===$?et:w[$],ep=N[$];return(0,t.jsx)("div",{className:"no-print fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-4 backdrop-blur-sm",onClick:e=>{e.target===e.currentTarget&&d()},children:(0,t.jsxs)("div",{ref:en,role:"dialog","aria-modal":"true",className:"flex w-full max-w-[960px] overflow-hidden rounded-2xl shadow-2xl",children:[(0,t.jsxs)("div",{className:"hidden w-1/2 flex-col bg-ci-navy p-8 md:flex",children:[(0,t.jsx)("div",{className:"mb-8",children:(0,t.jsx)("h3",{className:"text-4xl font-bold leading-tight text-white",children:"Unlock the full Community Impact experience."})}),(0,t.jsx)("ul",{className:"flex flex-1 flex-col gap-4",children:C.map((e,r)=>{let n=-1===ef||ef===r;return(0,t.jsxs)("li",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:`flex h-8 w-8 shrink-0 items-center justify-center rounded-lg transition-colors duration-300 ${n?"bg-ci-gold/20":"bg-white/10"}`,children:(0,t.jsx)(e.icon,{className:`h-4 w-4 transition-colors duration-300 ${n?"text-ci-gold":"text-white/50"}`})}),(0,t.jsx)("span",{className:`text-sm font-medium transition-colors duration-300 ${n?"text-white":"text-white/60"}`,children:e.label})]},r)})})]}),(0,t.jsxs)("div",{className:"flex min-h-[540px] w-full flex-col bg-card md:w-1/2",children:[(0,t.jsx)("div",{className:"flex items-center justify-end px-8 pt-6",children:(0,t.jsx)("button",{type:"button",onClick:d,"aria-label":"Close",className:"flex h-8 w-8 items-center justify-center rounded-lg text-muted-foreground transition hover:bg-accent",children:(0,t.jsx)(a.X,{className:"h-4 w-4"})})}),"email"!==$&&"welcome-back"!==$&&"checking"!==$&&(0,t.jsx)("div",{className:"flex items-center gap-1.5 px-8 pt-3",children:Array.from({length:5},(e,r)=>(0,t.jsx)("div",{className:`h-1.5 rounded-full transition-all duration-300 ${r+1===ep?"w-4 bg-primary":r+1<ep?"w-1.5 bg-primary/40":"w-1.5 bg-border"}`},r))}),(0,t.jsx)("div",{className:"flex flex-1 flex-col justify-center px-8 pb-8 pt-4",children:em[$]})]})]})})}],31507)}]);

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.