1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[37268,45972,79014],{27096:(e,t,r)=>{"use strict";r.r(t),r.d(t,{OptIn:()=>a});var l=r(6029),s=r(87897),n=r(19844),u=r(91032);let a=({label:e,name:t,link:r,linkTarget:a,optional:i})=>(0,l.jsx)(u.FormRow,{children:(0,l.jsx)("label",{className:"w-full",children:(0,l.jsxs)("div",{className:"flex flex-row space-x-2",children:[(0,l.jsx)("div",{children:(0,l.jsx)(s.Checkbox,{required:!i,name:t})}),(0,l.jsx)("div",{className:"w-full",children:r?(0,l.jsx)(n.Link,{href:r,target:a,className:"text-skin-primary pb-2 underline",children:e}):(0,l.jsx)("span",{className:"text-skin-primary pb-2",children:e})})]})})})},44533:e=>{e.exports={field:"field_field__vgKjV"}},45375:(e,t,r)=>{"use strict";r.d(t,{N:()=>n,s:()=>u});var l=r(6029),s=r(55729);let n=(0,s.createContext)({loading:!1,errors:{},values:{},initialValues:{},setValues:()=>{},setValue:()=>{},turnstileToken:null,setTurnstileToken:()=>{},turnstileReady:!0,setTurnstileReady:()=>{},turnstileEnabled:!1,registerTurnstileReset:()=>{}}),u=({children:e,onSubmit:t,initialValues:r,formId:u,debug:a=!1,loading:i=!1,errors:o})=>{let[c,d]=(0,s.useState)(r),[f,h]=(0,s.useState)(null),[m,x]=(0,s.use
1State)(!1),p=(0,s.useRef)(null),k=(0,s.useRef)(null),b=(0,s.useRef)(null),j=(0,s.useRef)(null),v=(0,s.useRef)(null);(0,s.useEffect)(()=>()=>{clearTimeout(j.current),clearTimeout(v.current)},[]);let w=(0,s.useCallback)(e=>{b.current=e},[]),y=(0,s.useCallback)(async(e=0)=>{if(u)try{let e=await fetch(`/api/form-token/?formId=${encodeURIComponent(u)}`),t=await e.json();if(!t?.token)throw Error(`no token in response (${e.status})`);p.current=t.token}catch(t){if(e>=1)return void console.error("FORM :: form-token :: could not be fetched",t.message);v.current=setTimeout(()=>y(e+1),1500)}},[u]);return(0,s.useEffect)(()=>{y()},[y]),(0,l.jsxs)(n.Provider,{value:{initialValues:r,values:c,setValues:d,setValue:(e,t)=>{d({...c,[e]:t})},errors:o||{},loading:i,turnstileToken:f,setTurnstileToken:h,turnstileReady:m,setTurnstileReady:x,turnstileEnabled:!0,registerTurnstileReset:w},children:[(0,l.jsxs)("form",{onSubmit:e=>{e.preventDefault();try{t(c,{turnstileToken:f,formToken:p.current,honeypot:k.current?.value||"",onRejected:()=>{y(),"function"==typeof b.current&&(h(null),x(!1),b.current(),clearTimeout(j.current),j.current=setTimeout(()=>x(!0),8e3))}})}catch(e){console.error(e)}return!1},children:[(0,l.jsxs)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -left-[9999px] h-0 w-0 overflow-hidden",children:[(0,l.jsx)("label",{htmlFor:`hp-${u||"form"}`,children:"Website"}),(0,l.jsx)("input",{ref:k,id:`hp-${u||"form"}`,type:"text",name:"website",defaultValue:"",tabIndex:-1,autoComplete:"off"})]}),e]}),a&&(0,l.jsx)("pre",{children:JSON.stringify(c,null,4)})]})}},87897:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Checkbox:()=>a});var l=r(6029),s=r(96098),n=r(44533),u=r.n(n);let a=({required:e=!1,name:t,className:r,value:n=!0,...a})=>{let{setValue:i}=(0,s.P)();return(0,l.jsx)("input",{type:"checkbox",className:[u().field,"p-4 text-skin-secondary cursor-pointer border",r].filter(Boolean).join(" "),required:e,name:t,onChange:e=>{i(t,!!e.target.checked&&n)},...a})}},91032:(e,t,r)=>{"use strict";r.r(t),r.d(t,{FormRow:()=>s});var l=r(6029);let s=({children:e})=>(0,l.jsx)("div",{className:"mb-4 flex w-full flex-col",children:e})},96098:(e,t,r)=>{"use strict";r.d(t,{P:()=>n});var l=r(55729),s=r(45375);let n=()=>(0,l.useContext)(s.N)}}]);
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.