PageSourceSearch

https://infinity-brand-site-qa.vercel.app/_next/static/chunks/8974.fee10e9ef0b6e42d.js

js infinity-brand-site-qa.vercel.app collected 2026-10-03 07:10:40 UTC 4,323 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{5541:e=>{e.exports={"visually-hidden":"SbIRFooterV2EmailForm_visually-hidden__9_05A",container:"SbIRFooterV2EmailForm_container__0Xpxm",formRow:"SbIRFooterV2EmailForm_formRow__uERHS",fieldContainer:"SbIRFooterV2EmailForm_fieldContainer__elXYi",emailInput:"SbIRFooterV2EmailForm_emailInput___Cu_J",submitButton:"SbIRFooterV2EmailForm_submitButton__qwJ5X",confirmationIndicator:"SbIRFooterV2EmailForm_confirmationIndicator__ka9RI",checkIcon:"SbIRFooterV2EmailForm_checkIcon__CG_II",disclaimer:"SbIRFooterV2EmailForm_disclaimer__jwEyW"}},32631:(e,r,i)=>{"use strict";i.d(r,{SbIRFooterV2EmailForm:()=>w});var a=i(52812),o=i(78627),t=i(9095);let l=(0,t.createServerReference)("60a56ca21f998a225e51332956618c914a5d2f2405",t.callServer,void 0,t.findSourceMapURL,"default");var s=i(96918),n=i(18136),d=i(29383),m=i(57726),c=i(85209),u=i(47996),p=i(73296),h=i(64268),_=i(41056),f=i(80935),x=i(934),g=i(5541),v=i.n(g);let b=x.object({email:x.email("Please enter a valid email address."),zipCode:x.string().regex(o.bS,"Please enter a valid 5-digit zip code.")}),w=e=>{let{blok:r,editorAttributes:i}=e,{headline:o,disclaimer:t,confirmation_text:x}=r,[g,w]=_.useState(!1),{register:F,handleSubmit:I,setError:R,watch:S,formState:{errors:j,isSubmitting:E}}=(0,f.mN)({resolver:(0,n.u)(b),mode:"onBlur",reValidateMode:"onChange"}),[y,C]=S(["email","zipCode"]),z=b.safeParse({email:y,zipCode:C}).success,N=(0,h.sf)(),V=_.useCallback(async e=>{try{let r=await l(e.email,e.zipCode);if("success"===r.status){if(w(!0),N)try{N.capture("IR_email_register",{form_name:"Email Registration",form_url:window.location.href,form_path:window.location.pathname})}catch(e){console.error("PostHog capture error",e)}window.dataLayer&&window.dataLayer.push({event:"registered_email"})}else console.error("Newsletter subscription error:",r.error),R("email",{type:"duplicate"===r.code?"duplicate":"server",message:"duplicate"===r.code?r.error:"We couldn't register your email. Please try again."})}catch(e){console.error("Newsletter subscription error:",e),R("email",{type:"server",message:"We couldn't register your email. Please try again."})}},[R,N]);return(0,a.jsxs)("form",{...i,className:v().container,onSubmit:I(V),children:[o&&!g&&(0,a.jsx)(s.v,{richtext:o,renderNodes:e=>(0,a.jsx)(d.Text,{as:"div",color:"var(--v-color-text-primary, #242424)",size:"200",font:"sans",weight:"medium",lineHeight:"150%",marginBottom:"200",children:e})}),(0,a.jsx)("div",{className:v().formRow,children:(0,a.jsxs)("div",{className:"".concat(v().fieldContainer," ").concat(j.zipCode||j.email?v().error:""),children:[!g&&!E&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(m.Field,{width:"fill",error:j.zipCode?j.zipCode.message:void 0,children:(0,a.jsx)(c.TextInput,{...F("zipCode"),placeholder:"Zip code",width:"fill",className:v().zipCodeInput})}),(0,a.jsx)(m.Field,{width:"fill",error:j.email?j.email.message:void 0,children:(0,a.jsx)(c.TextInput,{...F("email"),placeholder:"Email Address",width:"fill",className:v().emailInput})})]}),E&&(0,a.jsx)("div",{className:v().loading,"aria-live":"polite","aria-label":"Submitting",children:(0,a.jsx)(u.Spinner,{size:"md"})}),g&&(0,a.jsx)("div",{className:v().confirmationContainer,children:x&&(0,a.jsx)(s.v,{richtext:x,renderNodes:e=>(0,a.jsx)(d.Text,{color:"var(--v-color-text-primary, #242424)",size:"200",font:"sans",weight:"medium",lineHeight:"150%",marginBottom:"200",children:e})})})]})}),z&&!g&&!E&&(0,a.jsx)("div",{children:(0,a.jsx)(p.Button,{as:"button",type:"submit",appearance:"filled",color:"default",size:"md",label:"Register",className:v().submitButton,width:"fill"})}),z&&t&&!g&&(0,a.jsx)("div",{className:v().disclaimer,children:(0,a.jsx)(s.v,{richtext:t,renderNodes:e=>(0,a.jsx)(d.Text,{color:"var(--v-color-text-secondary, #4f4f4f)",size:"050",font:"sans",weight:"medium",lineHeight:"150%",letterSpacing:"00",marginBottom:"200",children:e})})})]})}},36593:(e,r,i)=>{"use strict";i.r(r),i.d(r,{SbIRFooterV2EmailForm:()=>a.SbIRFooterV2EmailForm,default:()=>a.SbIRFooterV2EmailForm});var a=i(32631)},78627:(e,r,i)=>{"use strict";i.d(r,{Ie:()=>o,Uo:()=>a,bS:()=>t});let a=new RegExp(/(^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$)/),o=new RegExp(/(1?\W*([2-9][0-8][0-9])\W*([2-9][0-9]{2})\W*([0-9]{4})(\se?x?t?(\d*))?)/),t=new RegExp(/^\d{5}$/)}}]);

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.