PageSourceSearch

https://www.woodfordtownfc.com/_next/static/chunks/3589-5db7a98694caccab.js

js woodfordtownfc.com collected 2026-09-25 00:52:42 UTC 10,784 bytes, 4 lines download raw bytes

1"use strict";
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="35d16b50-002e-5437-bbd0-8363e7fb1476")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3589],{34189:(e,t,l)=>{l.d(t,{A:()=>i});var a=l(14232),n=l(47104),o=l(83005);let r=({officials:e,onClickEmail:t})=>a.createElement(n.A,{className:"ie-grid-two-col",columns:"1fr 1fr 1fr",rowGap:"medium",columnGap:"medium",responsive:[{minWidth:895,maxWidth:1319,props:{columns:"1fr 1fr",rowGap:"small"}},{maxWidth:894,props:{columns:"1fr",rowGap:"small"}},{maxWidth:400,props:{columns:"repeat(auto-fit, minmax(250px, 376px))",rowGap:"small"}}]},e.map(e=>a.createElement(o.A,{key:`${e.id}${e.position}`,official:e,onClickEmail:t})));r.defaultProps={onClickEmail:null};let i=r},42297:(e,t,l)=>{l.d(t,{A:()=>W});var a=l(14232),n=l(2171),o=l(82851),r=l(36905),i=l(74055),m=l(55112),c=l(35027),s=l(94481),d=l(12461),p=l(44523),u=l(34917),E=l(74854),A=l(50794),y=l(97455),f=l(47104),g=l(47511),h=l(91465),b=l(37074),v=l(46930);let x=({validationErrors:e,isSending:t,updateValues:l,values:n,official:o,submissionFailed:r})=>a.createElement(f.A,{columns:"auto"},a.createElement(g.A,{component:"div",angle:0,stops:[[0,"white"],["50%","white"],["50%","primary"]]},a.createElement(f.A,null,a.createElement(h.A,{image:o.avatar,includeRetina:!0,alt:o.name,boxShadow:"dark",size:66,style:{justifySelf:"center"}}))),a.createElement(i.A,{top:"medium"},a.createElement(c.A,{preset:"title",component:"div",align:"center"},o.name)),a.createElement(i.A,{top:"small"},a.createElement(c.A,{preset:"subtitle--small",color:"dovegrey",align:"center",component:"div"},o.position)),o.mobile&&a.createElement(i.A,{top:"small"},a.createElement(c.A,{preset:"body--small",color:"dustygrey",align:"center",component:"div"},a.createElement(u.x6,{i18nKey:"common:mobile",values:{number:o.mobile}},"Mobile:",o.mobile))),a.createElement(i.A,{all:"medium"},a.createElement(i.A,{bottom:"medium"},a.createElement(i.A,{bottom:"xsmall"},a.createElement(c.A,{preset:"description",component:"label",htmlFor:"name",color:"dovegrey"},a.createElement(u.x6,{i18nKey:"common:name_label"},"Your name"))),a.createElement(b.A,{input:{type:"text",value:n.name},name:"name",disabled:t,meta:{touched:!0,error:e.name},onChange:e=>l({...n,name:e.target.value})})),a.createElement(i.A,{bottom:"medium"},a.createElement(i.A,{bottom:"small"},a.createElement(c.A,{preset:"description",component:"label",htmlFor:"email",color:"dovegrey"},a.createElement(u.x6,{i18nKey:"common:email_label"},"Your email"))),a.createElement(b.A,{input:{type:"email",value:n.email},name:"email",disabled:t,meta:{touched:!0,error:e.email},onChange:e=>l({...n,email:e.target.value})})),a.createElement(i.A,{bottom:"medium"},a.createElement(i.A,{bottom:"small"},a.createElement(c.A,{preset:"description",component:"label",htmlFor:"phone",color:"dovegrey"},a.createElement(u.x6,{i18nKey:"common:phone_label"},"Your phone"))),a.createElement(b.A,{input:{type:"text",value:n.phone},name:"phone",disabled:t,meta:{touched:!0,error:e.phone},onChange:e=>l({...n,phone:e.target.value})})),a.createElement(i.A,{bottom:"medium"},a.createElement(i.A,{bottom:"small"},a.createElement(c.A,{preset:"description",component:"label",htmlFor:"message",color:"dovegrey"},a.createElement(u.x6,{i18nKey:"common:message_label"},"Your message"))),a.createElement(v.A,{input:{type:"textarea",value:n.message},name:"message",disabled:t,meta:{touched:!0,error:e.message},onChange:e=>l({...n,message:e.target.value}),rows:10})),a.createElement(f.A,null,a.createElement(i.A,{bottom:"xxxxlarge"},r&&a.createElement(c.A,{preset:"description",component:"label",color:"negative"},a.createElement(u.x6,{i18nKey:"common:contact_official_submission_error"},"submission failed"))))));var w=l(27416),C=l(3013),k=l(65565);let _=()=>a.createElement(f.A,{columns:"auto",style:{position:"relative"}},a.createElement(g.A,{component:"div",angle:0,stops:[[0,"white"],["50%","white"],["50%","primary"]]},a.createElement(f.A,null,a.createElement(i.A,{style:{justifySelf:"center"},component:"div"},a.createElement(w.A,null,a.createElement(C.A,{size:66}))))),a.createElement(i.A,{top:"medium",component:"div",horizontal:"xxlarge"},a.createElement(k.A,{preset:"title"})),a.createElement(i.A,{top:"small",horizontal:"medium",component:"div"},a.createElement(k.A,{preset:"subtitle--small"})),a.createElement(i.A,{horizontal:"large",component:"div"},a.createElement(k.A,{preset:"subtitle--small"})));var S=l(4439);let $=()=>a.createElement(f.A,null,a.createElement(g.A,{component:"div",angle:0,stops:[[0,"white"],["50%","white"],["50%","primary"]],style:{textAlign:"center"}},a.createElement(w.A,{shadow:"dark"},a.createElement(d.A,{fill:"positive",radius:"circle",style:{display:"inline-block",height:"66px",width:"66px",zIndex:999},component:"div"},a.createElement(i.A,{all:18},a.createElement(S.A,{name:"tick",color:"white",size:30}))))),a.createElement(i.A,{top:"medium"},a.createElement(c.A,{preset:"subtitle--large",align:"center",component:"div",color:"dustygrey",style:{textTransform:"none"}},a.createElement(u.x6,{i18key:"common:official_contact_sent"},"Your message has been sent")))),z=({isOpen:e,official:t,club:l,isContactingOfficial:n,contactAction:p,onClose:A,user:y})=>
3{let f={name:y?y.name:"",email:"",phone:"",messsage:""},{executeRecaptcha:g}=(0,r._Y)(),[h,b]=(0,a.useState)(!1),[v,w]=(0,a.useState)({}),[C,k]=(0,a.useState)(!1),[S,z]=(0,a.useState)(f),W=async()=>{k(!1);let e=(e=>{let t={};return(!e.name||e.name.length<1)&&(t.name="Name is required"),(!e.message||e.message.length<1)&&(t.name="Message is required"),e.email?(e=>!!(e&&!/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i.test(e)))(e.email)&&(t.email="Invalid email address"):t.email="Email address is required",t})(S);if(!(0,o.isEmpty)(e))return void w(e);w({});let a=await g("contactOfficial");p(l.id,t.id,{...S,recaptcha:a},()=>{b(!0)},()=>{k(!0)})};return a.createElement(s.A,{isOpen:e,onClose:()=>{w({}),k(!1),z(f),b(!1),A()},renderActions:()=>h?null:a.createElement(i.A,{all:"medium",component:"div"},a.createElement(m.A,{fullWidth:!0,theme:"primary",onClick:W,disabled:n},a.createElement(c.A,{preset:"name"},a.createElement(u.x6,{i18nKey:"common:send_message_button_text"},"Send message"))))},a.createElement(d.A,{fill:"white",style:{height:"100%"}},a.createElement("div",{style:{overflowY:"auto"}},a.createElement(d.A,{fill:"primary"},a.createElement(E.A,{isLoading:n}),a.createElement(i.A,{top:"medium",bottom:"small"},a.createElement(c.A,{preset:"title",color:"white",component:"div",align:"center"},a.createElement(u.x6,{i18key:"common:contact"},"Contact")))),h?a.createElement($,null):t?a.createElement(x,{isSending:n,official:t,submissionFailed:C,updateValues:z,validationErrors:v,values:S}):a.createElement(_,null))))};z.defaultProps={official:!1,isContactingOfficial:!1,user:null};let W=(0,n.Ng)(e=>({isContactingOfficial:(0,p._i)(e),user:(0,y.xC)(e)}),{contactAction:A.W})(z)},44523:(e,t,l)=>{l.d(t,{$i:()=>m,$m:()=>n,MG:()=>o,_i:()=>s,aP:()=>d,nV:()=>c,p6:()=>r,q5:()=>i});var a=l(82851);let n=(e,t)=>(0,a.includes)((0,a.get)(e,"contact.currentlyLoadingClubs",[]),t),o=(e,t)=>(0,a.includes)((0,a.get)(e,"contact.loadedClubs",[]),t),r=(e,t)=>(0,a.get)(e,`contact.locations[${t}]`,[]),i=(e,t)=>(0,a.get)(e,`contact.officialGroups[${t}]`,[]),m=(e,t)=>(0,a.get)(e,`contact.otherOfficials[${t}]`,[]),c=(e,t)=>(0,a.get)(e,`contact.loadingErrors[${t}]`),s=e=>(0,a.get)(e,"contact.contactingOfficial",!1),d=(e,t,l)=>{let n=[...(0,a.flatMap)(i(e,t),e=>e.officials),...m(e,t)];return(0,a.find)(n,{id:l})}},50794:(e,t,l)=>{l.d(t,{W:()=>i,o:()=>r});var a=l(53948),n=l(18368),o=l(50022);let r=(e,t)=>async l=>{try{l({type:a.Xr,payload:{clubId:e}});let r=new o.A(e,"contact"),{locations:i,officialGroups:m,otherOfficials:c}=(await n.A.getPageData(r,t)).data;return l({type:a.Ri,payload:{clubId:e,locations:i,officialGroups:m,otherOfficials:c}}),l({type:a.oh,payload:r.toString()}),{}}catch(n){let t=500;return n&&(t=n.errorStatusCode||t),l({type:a.ez,payload:{clubId:e,statusCode:t,error:n}}),{error:n}}},i=(e,t,n,o,r)=>async i=>{try{i({type:a.PC,payload:{officialId:t,clubId:e}});let{makeIsomorphicApiRequest:m}=await Promise.all([l.e(8513),l.e(4471),l.e(981)]).then(l.bind(l,83362)),c=await m(`v2/club-website/${e}/contact/${t}`,{method:"POST",body:JSON.stringify(n)});if(200!==c.status){i({type:a.CS}),"function"==typeof r&&r();return}await c.json(),i({type:a.rK}),"function"==typeof o&&o()}catch(e){i({type:a.CS}),"function"==typeof r&&r()}}},83005:(e,t,l)=>{l.d(t,{A:()=>p});var a=l(14232),n=l(74055),o=l(20008),r=l(91465),i=l(35027),m=l(12461),c=l(61799),s=l(4439);let d=({official:e,onClickEmail:t,isMobile:l,isLast:d})=>{let p=l=>e.canEmail?t?a.createElement("div",{onClick:()=>t(e),onKeyDown:()=>t(e),"aria-label":`Contact ${e.name}`,role:"button",tabIndex:-1,style:{cursor:"pointer"}},l):a.createElement(c.A,{route:"contact.official",params:{officialId:e.id},replace:!0,scroll:!1},a.createElement("div",{style:{cursor:"pointer",display:"inline-block"}},l)):l,u=()=>a.createElement(n.A,{all:"small"},a.createElement(o.A,{flexDirection:"row",alignItems:"center"},p(a.createElement(r.A,{image:e.avatar,includeRetina:!0,radius:"rounded",borderWidth:"none",alt:e.name,size:60,style:{overflow:"hidden"}})),a.createElement(n.A,{left:"medium",style:{flex:1,minWidth:0}},a.createElement(o.A,{flexDirection:"row",alignItems:"center",justifyContent:"space-between"},a.createElement(o.A,{flexDirection:"column",style:{flex:1,minWidth:0}},p(a.createElement("div",null,a.createElement(i.A,{component:"div",preset:"subtitle--small",color:"black"},e.name),a.createElement(i.A,{component:"div",preset:"body--small",color:"dustygrey"},e.role))),(e.phone||e.mobile)&&a.createElement(o.A,{flexDirection:"row",alignItems:"center",style:{marginTop:"4px"}},a.createElement(s.A,{name:"phone",size:16,color:"dustygrey"}),a.createElement(n.A,{left:"xsmall"},a.createElement(i.A,{component:"a",preset:"body--small",color:"black",href:`tel:${e.phone||e.mobile}`},e.phone||e.mobile)))),e.canEmail&&a.createElement(n.A,{style:{flexShrink:0}},p(a.createElement(m.A,{className:"contact-official-link",component:"div",fill:"#D9D9D9",radiu
3s:"rounded",style:{width:32,height:32,display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"}},a.createElement(s.A,{name:"email-outline",size:32,color:"black"}))))))));return l?a.createElement("div",{style:{borderBottom:d?"none":"1px solid #e0e0e0"}},u()):a.createElement(m.A,{fill:"white",radius:"rounded",style:{border:"1px solid #e0e0e0"}},u())};d.defaultProps={onClickEmail:null,isMobile:!1,isLast:!1};let p=d}}]);
4//# debugId=35d16b50-002e-5437-bbd0-8363e7fb1476

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.