PageSourceSearch

https://iesf.org/_next/static/chunks/37rtbn8vejte4.js

js iesf.org collected 2026-10-02 04:46:41 UTC 16,050 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,3116,e=>{"use strict";let t=(0,e.i(75254).default)("clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}]]);e.s(["Clock",0,t],3116)},31278,e=>{"use strict";let t=(0,e.i(75254).default)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]);e.s(["Loader2",0,t],31278)},31343,e=>{"use strict";let t=(0,e.i(75254).default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]);e.s(["Play",0,t],31343)},14764,e=>{"use strict";let t=(0,e.i(75254).default)("send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]]);e.s(["Send",0,t],14764)},78299,e=>{"use strict";e.i(47167);var t=e.i(43476),a=e.i(71645),s=e.i(57688),r=e.i(63488),i=e.i(46897),n=e.i(14764),o=e.i(48256),l=e.i(3116),c=e.i(19455),d=e.i(93479),u=e.i(10204),m=e.i(66348),p=e.i(1039),h=e.i(47133),g=e.i(26266),f=e.i(81148);e.s(["default",0,function(){let[e,x]=(0,a.useState)({name:"",email:"",subject:"",message:""}),[b,y]=(0,a.useState)(!1),[T,v]=(0,a.useState)(!1),[j,S]=(0,a.useState)(null),[N,w]=(0,a.useState)(""),k=(0,a.useRef)(null),E="0x4AAAAAAEP-0RSGXt9Bu5bk";(0,a.useEffect)(()=>{if(document.getElementById("cf-turnstile-script"))return;let e=document.createElement("script");e.id="cf-turnstile-script",e.src="https://challenges.cloudflare.com/turnstile/v0/api.js",e.async=!0,e.defer=!0,document.body.appendChild(e)},[E]);let $=async t=>{t.preventDefault(),y(!0),S(null);try{let t="";E&&k.current&&(t=k.current.querySelector('input[name="cf-turnstile-response"]')?.value??"");let a=await fetch(`${(0,h.getApiUrl)()}/api/contact`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...e,website2:N,turnstileToken:t||void 0})}),s=await a.json().catch(()=>null);if(!a.ok)return void S(s?.error?.message??"We could not send your message. Please try again, or email us directly.");v(!0),x({name:"",email:"",subject:"",message:""})}catch{S("We could not reach the server. Please check your connection and try again.")}finally{y(!1)}},C=[{icon:r.Mail,title:"Email",value:"[email protected]",link:null,isEmail:!0},{icon:i.MapPin,title:"Headquarters",value:"Busan, South Korea",isEmail:!1,link:"https://www.google.com/maps/search/?api=1&query=615%2C%206F%2C%20Suyeonggangbyeon-daero%20140%2C%20Haeundae-gu%2C%20Busan%2C%20Korea"},{icon:o.Globe,title:"Website",value:"www.iesf.org",isEmail:!1,link:"https://www.iesf.org"},{icon:l.Clock,title:"Office Hours",value:"Mon - Fri: 9AM - 6PM KST",isEmail:!1,link:null}];return(0,t.jsxs)("div",{className:"min-h-screen bg-background pt-20",children:[(0,t.jsxs)("section",{className:"relative py-32 px-6 overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:(0,t.jsx)(s.default,{src:"/iesf_bgs15.png",alt:"Contact IESF",fill:!0,className:"object-cover opacity-30",priority:!0})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-primary/20"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-background/60"}),(0,t.jsxs)("div",{className:"relative z-10 max-w-7xl mx-auto text-center",children:[(0,t.jsxs)("h1",{className:"text-4xl sm:text-5xl md:text-7xl font-black text-foreground uppercase tracking-tight break-words mb-6",children:["CONTACT ",(0,t.jsx)("span",{className:"text-primary",children:"US"})]}),(0,t.jsx)("p",{className:"text-xl md:text-2xl text-muted-foreground max-w-3xl mx-auto",children:"Get in touch with the IESF team. We're here to help."})]})]}),(0,t.jsx)("section",{className:"py-16 px-6 bg-white/[0.03]",children:(0,t.jsx)("div",{className:"max-w-7xl mx-auto",children:(0,t.jsx)("div",{className:"grid md:grid-cols-2 lg:grid-cols-4 gap-6",children:C.map((e,a)=>{let s=e.icon;return(0,t.jsxs)("div",{className:`${f.surface} ${f.hoverCard} p-6 text-center`,children:[(0,t.jsx)("div",{className:"w-14 h-14 bg-primary/15 rounded-full flex items-center justify-center mx-auto mb-4",children:(0,t.jsx)(s,{className:"w-7 h-7 text-primary"})}),(0,t.jsx)("h3",{className:"text-lg font-bold text-foreground uppercase mb-2",children:e.title}),e.isEmail?(0,t.jsx)(g.default,{className:"text-muted-foreground hover:text-primary transition-colors pointer-coarse:inline-block pointer-coarse:py-3.5"}):e.link?(0,t.jsx)("a",{href:e.link,target:e.link.startsWith("http")?"_blank":void 0,rel:e.link.startsWith("http")?"noopener noreferrer":void 0,className:"text-muted-foreground hover:text-primary transition-colors pointer-coarse:inline-block pointer-coarse:py-3.5",children:e.value}):(0,t.jsx)("p",{className:"text-muted-foreground",children:e.value})]},a)})})})}),(0,t.jsx)("section",{className:"py-24 px-6",children:(0,t.jsxs)("div",{className:"max-w-3xl mx-auto",children:[(0,t.jsxs)("div",{className:"text-center mb-12",children:[(0,t.jsxs)("h2",{className:"text-3xl md:text-4xl font-black text-foreground uppercase mb-4",children:["Send Us a ",(0,t.jsx)("span",{className:"text-primary",children:"Message"})]}),(0,t.jsx)("p",{className:"text-lg text-muted-foreground",children:"Fill out the form below and we'll get back to you as soon as possible."})]}),T?(0,t.jsxs)("div",{className:`${f.surface} border-primary p-12 text-center`,children:[(0,t.jsx)("div",{className:"w-20 h-20 bg-primary rounded-full flex items-center justify-center mx-auto mb-6",children:(0,t.jsx)(n.Send,{className:"w-10 h-10 text-white"})}),(0,t.jsx)("h3",{className:"text-2xl font-bold text-foreground mb-4",children:"Message Sent!"}),(0,t.jsx)("p",{className:"text-muted-foreground mb-6",children:"Thank y
1ou for contacting us. Your message has reached the IESF Secretariat and we'll reply by email."}),(0,t.jsx)(c.Button,{onClick:()=>v(!1),className:"bg-primary text-primary-foreground hover:opacity-90",children:"Send Another Message"})]}):(0,t.jsxs)("form",{onSubmit:$,className:`${f.surface} relative p-8 space-y-6`,children:[(0,t.jsx)(m.AutoFillButton,{formId:"contact",formName:"Contact Form",onFill:()=>{x((0,p.getContactFormData)())},onSubmitTest:async()=>{try{return await new Promise(e=>setTimeout(e,1e3)),{success:!0}}catch(e){return{success:!1,error:e instanceof Error?e.message:"Unknown error"}}}}),(0,t.jsxs)("div",{className:"grid md:grid-cols-2 gap-6",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"name",className:"text-foreground",children:"Name"}),(0,t.jsx)(d.Input,{id:"name",type:"text",placeholder:"Your name",value:e.name,onChange:t=>x({...e,name:t.target.value}),required:!0,className:"bg-background border-input"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"email",className:"text-foreground",children:"Email"}),(0,t.jsx)(d.Input,{id:"email",type:"email",placeholder:"[email protected]",value:e.email,onChange:t=>x({...e,email:t.target.value}),required:!0,className:"bg-background border-input"})]})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"subject",className:"text-foreground",children:"Subject"}),(0,t.jsx)(d.Input,{id:"subject",type:"text",placeholder:"What is this about?",value:e.subject,onChange:t=>x({...e,subject:t.target.value}),required:!0,className:"bg-background border-input"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"message",className:"text-foreground",children:"Message"}),(0,t.jsx)("textarea",{id:"message",placeholder:"Your message...",rows:6,value:e.message,onChange:t=>x({...e,message:t.target.value}),required:!0,className:"w-full px-3 py-2 bg-background border-2 border-input rounded-md text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors resize-none"})]}),(0,t.jsxs)("div",{className:"absolute left-[-9999px]","aria-hidden":"true",children:[(0,t.jsx)("label",{htmlFor:"website2",children:"Leave this field empty"}),(0,t.jsx)("input",{id:"website2",name:"website2",type:"text",tabIndex:-1,autoComplete:"off",value:N,onChange:e=>w(e.target.value)})]}),E&&(0,t.jsx)("div",{ref:k,children:(0,t.jsx)("div",{className:"cf-turnstile","data-sitekey":E})}),j&&(0,t.jsx)("div",{role:"alert",className:"rounded-lg border border-destructive/40 bg-destructive/10 px-4 py-3 text-sm text-destructive",children:j}),(0,t.jsx)(c.Button,{type:"submit",disabled:b,className:"w-full bg-primary text-primary-foreground hover:opacity-90 uppercase font-bold py-6",children:b?"Sending...":"Send Message"})]})]})})]})}])},66348,1039,e=>{"use strict";var t=e.i(43476),a=e.i(71645),s=e.i(18566),r=e.i(57951),i=e.i(47133);async function n(e){try{let t={"Content-Type":"application/json"};e.token&&(t.Authorization=`Bearer ${e.token}`),await fetch(`${(0,i.getApiUrl)()}/api/auto-test-log`,{method:"POST",headers:t,body:JSON.stringify({formId:e.formId,formName:e.formName,page:e.page,success:e.success,errorMessage:e.errorMessage,fieldsJson:e.fieldsJson,durationMs:e.durationMs})})}catch{}}let o=(0,e.i(75254).default)("flask-conical",[["path",{d:"M14 2v6a2 2 0 0 0 .245.96l5.51 10.08A2 2 0 0 1 18 22H6a2 2 0 0 1-1.755-2.96l5.51-10.08A2 2 0 0 0 10 8V2",key:"18mbvz"}],["path",{d:"M6.453 15h11.094",key:"3shlmq"}],["path",{d:"M8.5 2h7",key:"csnxdl"}]]);var l=e.i(31278),c=e.i(31343),d=e.i(19455);function u(){return Math.random().toString(36).substring(2,8)}function m(e,t=1,a=3){if(0===e.length)return[];let s=Math.min(e.length,Math.floor(Math.random()*(a-t+1))+t);return[...e].sort(()=>Math.random()-.5).slice(0,s)}function p(e){let t=new Date;return t.setDate(t.getDate()+e),t.toISOString().split("T")[0]}e.s(["AutoFillButton",0,function({formId:e,formName:i,onFill:u,onSubmitTest:m}){let p,[h,g]=(0,a.useState)(!1),f=(0,s.usePathname)(),{token:x}=(0,r.useAuth)(),[b,y]=(0,a.useState)(!1);if((0,a.useEffect)(()=>y(!0),[]),!b||"localhost"!==(p=window.location.hostname)&&"127.0.0.1"!==p)return null;let T=async()=>
1{if(!m||h)return;g(!0);let t=Date.now();try{u(),await new Promise(e=>setTimeout(e,300));let a=await m(),s=Date.now()-t;await n({formId:e,formName:i,page:f,success:a.success,errorMessage:a.error,durationMs:s,token:x})}catch(s){let a=Date.now()-t;await n({formId:e,formName:i,page:f,success:!1,errorMessage:s instanceof Error?s.message:"Unknown error",durationMs:a,token:x})}finally{g(!1)}};return(0,t.jsxs)("div",{className:"border-2 border-dashed border-amber-500/50 rounded-lg p-3 mb-4 bg-amber-500/5 flex items-center gap-3 flex-wrap",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2 text-amber-400 text-sm font-medium",children:[(0,t.jsx)(o,{className:"h-4 w-4"}),(0,t.jsxs)("span",{children:["Test: ",i]})]}),(0,t.jsxs)("div",{className:"flex items-center gap-2 ml-auto",children:[(0,t.jsx)(d.Button,{type:"button",variant:"outline",size:"sm",onClick:()=>{u()},className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 hover:text-amber-300",children:"Auto-Fill"}),m&&(0,t.jsx)(d.Button,{type:"button",variant:"outline",size:"sm",onClick:T,disabled:h,className:"border-amber-500/50 text-amber-400 hover:bg-amber-500/10 hover:text-amber-300",children:h?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(l.Loader2,{className:"h-3 w-3 mr-1 animate-spin"}),"Running..."]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.Play,{className:"h-3 w-3 mr-1"}),"Auto-Fill & Submit"]})})]})]})}],66348),e.s(["getAddStructureMemberData",0,function(){let e=u();return{position:`[TEST] Test Position ${e}`,bio:`[TEST] Test biography for structure member. Ref: ${e}`}},"getAdminEventData",0,function(e,t,a){let s=u(),r=p(60),i=p(65);return{name:`[TEST] Admin Event ${s}`,slug:`test-admin-event-${s}`,description:`[TEST] This is a test event created via admin panel for automated testing. Ref: ${s}`,eventType:e.length>0?m(e,1,1)[0].code:"CHAMPIONSHIP",status:"DRAFT",startDate:r,endDate:i,city:"[TEST] Test City",venue:"[TEST] Grand Test Arena",eventScope:"NATIONAL",hostCountryId:t.length>0?m(t,1,1)[0].id:null,region:null,logo:"",bannerImage:"",visibility:"PUBLIC",competitionPlatformUrl:"",selectedTitles:a.length>0?m(a,1,3).map(e=>e.id):[]}},"getAdminMemberData",0,function(e){let t=u();return{organizationName:`[TEST] Esports Federation ${t}`,slug:`test-federation-${t}`,description:`[TEST] A test member federation for automated testing. Ref: ${t}`,logo:"",website:"https://example.com",email:`test-member-${t}@example.com`,phone:"+264-81-555-0300",address:"[TEST] 456 Federation Avenue, Test City",facebook:"https://facebook.com/test-fed",twitter:"https://twitter.com/test_fed",instagram:"",youtube:"",linkedin:"",selectedCountry:e.length>0?m(e,1,1)[0]:null}},"getContactFormData",0,function(){return{name:`[TEST] User ${u()}`,email:`test-${u()}@example.com`,subject:`[TEST] Contact inquiry ${u()}`,message:`[TEST] This is an automated test message for the contact form. Please disregard. Ref: ${u()}`}},"getCreateNewsData",0,function(e,t){let a=u();return{title:`[TEST] News Article ${a}`,slug:`test-news-${a}`,content:`<p>[TEST] This is an automated test news article. It covers the latest developments in esports testing.</p><p>The International Esports Federation continues to advance competitive gaming worldwide. Ref: ${a}</p>`,excerpt:`[TEST] A test news article for automated testing. Ref: ${a}`,featuredImage:"",status:"DRAFT",selectedTopics:e.length>0?m(e,1,3).map(e=>e.id):[],selectedMembers:[],selectedEvents:[],selectedTitles:t.length>0?m(t,1,2).map(e=>e.id):[]}},"getCreateStructureData",0,function(){let e=u();return{name:`[TEST] Structure ${e}`,slug:`test-structure-${e}`,description:`[TEST] A test organizational structure for automated testing. Ref: ${e}`}},"getCreateTicketData",0,function(e){let t=u();return{subject:`[TEST] Support ticket ${t}`,description:`[TEST] This is an automated test ticket. The issue is that the testing system needs to verify form submission works correctly. Ref: ${t}`,categoryId:e.length>
10?String(m(e,1,1)[0].id):"",priority:m(["LOW","MEDIUM","HIGH"],1,1)[0]}},"getCreateUserData",0,function(e){let t=u();return{firstName:"[TEST] Jane",lastName:`Tester ${t}`,email:`test-user-${t}@example.com`,password:`TestPass@${t}`,selectedRoles:["USER"],countryId:e.length>0?String(m(e,1,1)[0].id):""}},"getDelegateProfileData",0,function(){let e=u();return{organizationName:`[TEST] Federation ${e}`,description:`<p>[TEST] This is a test federation description for automated testing. Our federation promotes esports in the region. Ref: ${e}</p>`,logo:"",website:"https://example.com",email:`test-fed-${e}@example.com`,phone:"+264-81-555-0200",address:"[TEST] 123 Test Street, Test City",facebook:"https://facebook.com/test-federation",twitter:"https://twitter.com/test_fed",instagram:"https://instagram.com/test_fed",youtube:"https://youtube.com/@test-federation",discord:"",twitch:"",tiktok:"",themeColor:"#da1c5c"}},"getEditStructureMemberData",0,function(){let e=u();return{position:`[TEST] Updated Position ${e}`,bio:`[TEST] Updated biography for structure member. Ref: ${e}`}},"getEditUserData",0,function(e){let t=u();return{firstName:"[TEST] Updated",lastName:`User ${t}`,selectedRoles:["USER"],countryId:e.length>
10?String(m(e,1,1)[0].id):""}},"getMemberEventData",0,function(e,t){let a=u(),s=p(30),r=p(33);return{name:`[TEST] Member Event ${a}`,slug:`test-member-event-${a}`,description:`[TEST] This is a test member event created by automated testing. Ref: ${a}`,eventType:t.length>0?m(t,1,1)[0].code:"OTHER",startDate:s,endDate:r,city:"[TEST] Test City",venue:"[TEST] Test Arena",bannerImage:"",logo:"",competitionPlatformUrl:"",selectedTitles:e.length>0?m(e,1,3).map(e=>e.id):[]}},"getProfileFormData",0,function(){let e=u();return{firstName:"[TEST] John",lastName:`[TEST] Doe ${e}`,phone:"+264-81-555-0100",avatar:"",bio:`[TEST] This is a test bio for automated testing. Ref: ${e}`,slug:`test-user-${e}`,linkedin:"https://linkedin.com/in/test-user",twitter:"https://twitter.com/test_user"}},"getTicketReplyData",0,function(){return{replyContent:`[TEST] This is an automated test reply. Ref: ${u()}`}}],1039)}]);

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.