PageSourceSearch

https://aec-unites-web.vercel.app/_next/static/chunks/2827-de0621a…?dpl=dpl_8URbjZ2BTL8ve7iniGqtrE8GtxQ1

js aec-unites-web.vercel.app collected 2026-10-03 06:11:33 UTC 13,497 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2827],{4860:(e,t,r)=>{r.d(t,{Q:()=>s});var a=r(8928),n=r(6610),i=r(6860);function s(e){let{action:t,labels:r,siteKey:s,resetSignal:l,tone:o="light",onTokenChange:c,onStatusChange:u}=e,h=(0,i.useId)(),m=(0,i.useRef)(null),f=(0,i.useRef)(null),d=(0,i.useRef)(l),p=(0,i.useRef)(c),C=(0,i.useRef)(u),[g,v]=(0,i.useState)(!1),[w,y]=(0,i.useState)(0),[I,_]=(0,i.useState)("loading");(0,i.useEffect)(()=>{p.current=c,C.current=u},[u,c]);let A=(0,i.useCallback)(e=>{_(e),C.current(e)},[]),b=(0,i.useCallback)(()=>{v(!0)},[]);(0,i.useEffect)(()=>{window.turnstile&&v(!0)},[]),(0,i.useEffect)(()=>{if(!s){p.current(null),A("unavailable");return}if(!g||!window.turnstile||!m.current)return void A("loading");if(f.current)return;let e=window.turnstile;return f.current=e.render(m.current,{sitekey:s,action:t,theme:"auto",callback(e){p.current(e),A("ready")},"expired-callback"(){p.current(null),f.current&&e.reset(f.current),A("resetting")},"error-callback"(){p.current(null),A("failed")}}),()=>{f.current&&e.remove(f.current),f.current=null,p.current(null)}},[t,w,g,s,A]),(0,i.useEffect)(()=>{if(d.current!==l){if(d.current=l,p.current(null),f.current&&window.turnstile){window.turnstile.reset(f.current),A("resetting");return}A(s?"loading":"unavailable")}},[l,s,A]);let N=r[I];return(0,a.jsxs)("div",{className:"space-y-2","aria-label":r.label,id:h,children:[s?(0,a.jsx)(n.default,{src:"https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit",strategy:"afterInteractive",onReady:b,onError:()=>{p.current(null),A("failed")}},w):null,(0,a.jsx)("div",{className:"min-h-16 max-w-full overflow-x-auto",children:(0,a.jsx)("div",{ref:m,className:"mx-auto w-fit"})}),(0,a.jsx)("p",{className:"text-xs ".concat("failed"===I||"unavailable"===I?"dark"===o?"text-red-200":"text-red-700":"ready"===I?"dark"===o?"text-emerald-200":"text-emerald-700":"dark"===o?"text-white/75":"text-aec-charcoal/65"),role:"status","aria-live":"polite",children:N}),"failed"===I?(0,a.jsx)("button",{type:"button",onClick:function(){if(p.current(null),f.current&&window.turnstile){window.turnstile.reset(f.current),A("resetting");return}v(!1),y(e=>e+1),A("loading")},className:"text-xs font-semibold underline underline-offset-4 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-aec-gold ".concat("dark"===o?"text-white hover:text-aec-gold":"text-aec-navy hover:text-aec-blue"),children:r.retry}):null]})}},6297:(e,t,r)=>{r.d(t,{cn:()=>i});var a=r(3862),n=r(6226);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,n.QP)((0,a.$)(t))}},6538:(e,t,r)=>{r.d(t,{WF:()=>x,JM:()=>k,uT:()=>T});let a={emailCharacters:254,nameCharacters:100,companyCharacters:160,jobTitleCharacters:160,phoneCharacters:32,urlCharacters:2048,sourceCharacters:64,sourcePathCharacters:512,sourceAttributionCharacters:64,messageCharacters:5e3,partnershipVisionCharacters:3500,partnershipAdditionalCharacters:1300,tokenCharacters:512,humanVerificationTokenCharacters:2048,geographicMarketCount:6,partnershipInterestCount:10},n=["home","footer"],i=["membership","partnerships","press","programs","general"],s=["strategicPartnerships","highSchool","tradeSchool","higherEducation","professionalDevelopment","businessOpportunities","capital","talent","networking","mentoring"],l=["architecture","engineering","construction","owner_developer","supplier_vendor","consultant","other"],o=["1_10","11_50","51_250","251_500","500_plus"],c=["national","northeast","southeast","midwest","west","southwest"],u=["current_member","interested","unsure"],h=["aec_member","colleague","linkedin","industry_event","email","other"];class m extends Error{constructor(e,t,r){super(void 0===r?"Invalid ".concat(e,": ").concat(t):"Invalid ".concat(e,": ").concat(t," (").concat(r,")")),this.field=e,this.reason=t,this.limit=r,this.kind="PublicInputError",this.name="PublicInputError"}}let f=/[\u0000-\u0008\u000b\u000c\u000e-\u001f\u007f]/;function d(e){return Array.from(e).length}function p(e,t){var r;if("string"!=typeof e)throw new m(t.field,"invalid_type");let a=e.normalize("NFC").replace(/\r\n?/g,"\n");
1if(f.test(a))throw new m(t.field,"invalid_format");let n=t.multiline?a.trim():a.trim().replace(/\s+/g," "),i=d(n),s=null!=(r=t.minCharacters)?r:1;if(0===i)throw new m(t.field,"required");if(i<s)throw new m(t.field,"too_short",s);if(i>t.maxCharacters)throw new m(t.field,"too_long",t.maxCharacters);return n}function C(e,t){if(null!=e){if("string"!=typeof e)throw new m(t.field,"invalid_type");if(0!==e.trim().length)return p(e,t)}}let g=/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+$/i,v=/^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$/i;function w(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"phone",r=C(e,{field:t,maxCharacters:a.phoneCharacters});if(void 0===r)return;if(!/^[+()0-9.\-\s]+$/.test(r))throw new m(t,"invalid_format");let n=r.replace(/\D/g,"").length;if(n<7||n>15)throw new m(t,"invalid_format");return r}function y(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"url",n=C(e,{field:r,maxCharacters:a.urlCharacters});if(void 0===n)return;let i=/^https?:\/\//i.test(n)?n:"https://".concat(n);try{t=new URL(i)}catch(e){throw new m(r,"invalid_format")}if("http:"!==t.protocol&&"https:"!==t.protocol||t.username.length>0||t.password.length>0||0===t.hostname.length)throw new m(r,"invalid_format");return t.href}function I(e,t){var r;let a=p(e,t);if(r=t.values,!r.some(e=>e===a))throw new m(t.field,"invalid_format");return a}function _(e,t){var r;if(!Array.isArray(e))throw new m(t.field,"invalid_type");if(e.length>t.maxItems)throw new m(t.field,"too_many_items",t.maxItems);let a=new Set(e.map(e=>I(e,{field:t.field,values:t.values,maxCharacters:t.maxItemCharacters})));if(a.size<(null!=(r=t.minItems)?r:0))throw new m(t.field,"required");return t.values.filter(e=>a.has(e))}let A=["newsletter_signup","contact_form","partnership_form","waitlist_form"];class b extends Error{constructor(e,t,r=!1){super(e),this.code=e,this.retryAfterSeconds=t,this.resetChallenge=r,this.name="PublicMarketingLeadRequestError"}}function N(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function x(e){var t;let r=function(e){if(!("object"==typeof e&&null!==e&&!Array.isArray(e)))throw new m("request","invalid_type");let t=I(e.kind,{field:"kind",values:A,maxCharacters:a.sourceCharacters}),r={email:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"email",r=p(e,{field:t,maxCharacters:a.emailCharacters}).toLowerCase(),n=r.indexOf("@");if(n<=0||n!==r.lastIndexOf("@"))throw new m(t,"invalid_format");let i=r.slice(0,n),s=r.slice(n+1).split(".");if(i.length>64||i.startsWith(".")||i.endsWith(".")||i.includes("..")||!g.test(i)||s.length<2||s.some(e=>!v.test(e)))throw new m(t,"invalid_format");return r}(e.email),sourcePath:function(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"sourcePath",n=C(e,{field:r,maxCharacters:a.sourcePathCharacters});if(void 0!==n){if(!n.startsWith("/")||n.startsWith("//")||n.includes("\\"))throw new m(r,"invalid_format");try{t=new URL(n,"https://public-input.invalid")}catch(e){throw new m(r,"invalid_format")}if("https://public-input.invalid"!==t.origin)throw new m(r,"invalid_format");return"".concat(t.pathname).concat(t.search)}}(e.sourcePath),humanVerificationToken:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"humanVerificationToken";if("string"!=typeof e)throw new m(t,"invalid_type");if(0===e.length)throw new m(t,"required");if(d(e)>a.humanVerificationTokenCharacters||e.trim()!==e||f.test(e))throw new m(t,"invalid_format",a.humanVerificationTokenCharacters);return e}(e.humanVerificationToken)};if("newsletter_signup"===t)return{kind:t,...r,placement:I(e.placement,{field:"placement",values:n,maxCharacters:16})};if("contact_form"===t)return{kind:t,...r,name:p(e.name,{field:"name",maxCharacters:a.nameCharacters}),company:C(e.company,{field:"company",maxCharacters:a.companyCharacters}),inquiryType:I(e.inquiryType,{field:"inquiryType",values:i,maxCharacters:32}),message:p(e.message,{field:"message",maxCharacters:a.messageCharacters,multiline:!0})};if("partnership_form"===t){if(!0!==e.authorityConfirmed)throw new m("authorityConfirmed","required");
1return{kind:t,...r,firstName:p(e.firstName,{field:"firstName",maxCharacters:a.nameCharacters}),lastName:p(e.lastName,{field:"lastName",maxCharacters:a.nameCharacters}),company:p(e.company,{field:"company",maxCharacters:a.companyCharacters}),firmWebsite:y(e.firmWebsite,"firmWebsite"),jobTitle:C(e.jobTitle,{field:"jobTitle",maxCharacters:a.jobTitleCharacters}),phone:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"phone",r=w(e,t);if(void 0===r)throw new m(t,"required");return r}(e.phone),interests:_(e.interests,{field:"interests",values:s,maxItems:a.partnershipInterestCount,minItems:1,maxItemCharacters:32}),vision:p(e.vision,{field:"vision",maxCharacters:a.partnershipVisionCharacters,multiline:!0}),additional:C(e.additional,{field:"additional",maxCharacters:a.partnershipAdditionalCharacters,multiline:!0}),authorityConfirmed:!0}}return{kind:t,...r,firstName:p(e.firstName,{field:"firstName",maxCharacters:a.nameCharacters}),lastName:p(e.lastName,{field:"lastName",maxCharacters:a.nameCharacters}),preferredName:C(e.preferredName,{field:"preferredName",maxCharacters:a.nameCharacters}),jobTitle:p(e.jobTitle,{field:"jobTitle",maxCharacters:a.jobTitleCharacters}),phone:w(e.phone),company:p(e.company,{field:"company",maxCharacters:a.companyCharacters}),firmWebsite:y(e.firmWebsite,"firmWebsite"),primaryDiscipline:I(e.primaryDiscipline,{field:"primaryDiscipline",values:l,maxCharacters:32}),firmSize:I(e.firmSize,{field:"firmSize",values:o,maxCharacters:16}),geographicMarkets:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"geographicMarkets";return _(e,{field:t,values:c,maxItems:a.geographicMarketCount,minItems:1,maxItemCharacters:16})}(e.geographicMarkets),memberStatus:I(e.memberStatus,{field:"memberStatus",values:u,maxCharacters:32}),sourceAttribution:function(e,t){if(null!=e&&""!==e)return I(e,t)}(e.sourceAttribution,{field:"sourceAttribution",values:h,maxCharacters:a.sourceAttributionCharacters}),inviteToken:C(e.inviteToken,{field:"inviteToken",maxCharacters:a.tokenCharacters})}}(e.request),N=function(e){var t,r,a,n,i,s,l,o,c,u,h,m,f;switch(e.kind){case"newsletter_signup":return JSON.stringify([e.kind,e.email,e.placement,null!=(t=e.sourcePath)?t:null]);case"contact_form":return JSON.stringify([e.kind,e.email,e.name,null!=(r=e.company)?r:null,e.inquiryType,e.message,null!=(a=e.sourcePath)?a:null]);case"partnership_form":return JSON.stringify([e.kind,e.email,e.firstName,e.lastName,e.company,null!=(n=e.firmWebsite)?n:null,null!=(i=e.jobTitle)?i:null,e.phone,e.interests,e.vision,null!=(s=e.additional)?s:null,e.authorityConfirmed,null!=(l=e.sourcePath)?l:null]);case"waitlist_form":return JSON.stringify([e.kind,e.email,e.firstName,e.lastName,null!=(o=e.preferredName)?o:null,e.jobTitle,null!=(c=e.phone)?c:null,e.company,null!=(u=e.firmWebsite)?u:null,e.primaryDiscipline,e.firmSize,e.geographicMarkets,e.memberStatus,null!=(h=e.sourceAttribution)?h:null,null!=(m=e.inviteToken)?m:null,null!=(f=e.sourcePath)?f:null])}}(r);return{request:r,attempt:(null==(t=e.previousAttempt)?void 0:t.businessPayload)===N?e.previousAttempt:{businessPayload:N,requestId:function(){var e;if(!(null==(e=globalThis.crypto)?void 0:e.randomUUID))throw new b("PUBLIC_MARKETING_UNAVAILABLE");return globalThis.crypto.randomUUID()}()}}}async function E(e){try{return await e.json()}catch(e){return}}async function T(e){let t=await fetch("/api/marketing-leads",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e.request,requestId:e.attempt.requestId}),cache:"no-store"}),r=await E(t);if(t.ok&&N(r)&&!0===r.ok&&!0===r.accepted)return;let a=N(r)&&N(r.error)?r.error:void 0,n=function(e){if("string"!=typeof e)return"PUBLIC_MARKETING_UNAVAILABLE";switch(e){case"INVALID_REQUEST":case"INVALID_REQUEST_ORIGIN":case"PUBLIC_RATE_LIMITED":case"PUBLIC_RATE_LIMIT_UNAVAILABLE":case"HUMAN_VERIFICATION_REQUIRED":case"HUMAN_VERIFICATION_FAILED":case"HUMAN_VERIFICATION_UNAVAILABLE":case"PUBLIC_MARKETING_UNAVAILABLE":return e;default:return"PUBLIC_MARKETING_UNAVAILABLE"}}(null==a?void 0:a.code),i=Number(t.headers.get("Retry-After"));throw new b(n,"number"==typeof(null==a?void 0:a.retryAfterSeconds)&&Number.isFinite(a.retryAfterSeconds)?Math.max(1,Math.ceil(a.retryAfterSeconds)):Number.isFinite(i)&&i>0?Math.ceil(i):void 0,(null==a?void 0:a.resetChallenge)===!0)}function k(e){if(e instanceof m)return{messageKey:"invalidRequest",resetChallenge:!1};if(!(e instanceof b))return{messageKey:"unavailable",resetChallenge:!0};switch(e.code){case"INVALID_REQUEST":case"INVALID_REQUEST_ORIGIN":return{messageKey:"invalidRequest",resetChallenge:e.resetChallenge};case"PUBLIC_RATE_LIMITED":var t;return{messageKey:"rateLimited",retryAfterSeconds:null!=(t=e.retryAfterSeconds)?t:60,resetChallenge:e.resetChallenge};case"HUMAN_VERIFICATION_REQUIRED":return{messageKey:"verificationRequired",resetChallenge:e.resetChallenge};case"HUMAN_VERIFICATION_FAILED":return{messageKey:"verificationFailed",resetChallenge:e.resetChallenge};case"HUMAN_VERIFICATION_UNAVAILABLE":return{messageKey:"verificationUnavailable",resetChallenge:e.resetChallenge};case"PUBLIC_RATE_LIMIT_UNAVAILABLE":case"PUBLIC_MARKETING_UNAVAILABLE":return{messageKey:"unavailable",resetChallenge:e.resetChallenge}}}}}]);

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.