1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[535],{449:function(e,s,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/become-supervisor",function(){return i(5877)}])},6409:function(e,s,i){"use strict";var l=i(5893),a=i(5675),r=i.n(a),n=i(2132);s.Z=e=>{let{title:s,image:i,text:a,page:t}=e,{t:c}=(0,n.$G)();return(0,l.jsx)("section",{className:"our-features",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"row align-items-center",children:[(0,l.jsx)("div",{className:"col-md-6",children:(0,l.jsx)("div",{className:"features-img",children:(0,l.jsx)(r(),{src:i,alt:"AboutUsImage"})})}),(0,l.jsx)("div",{className:"col-md-6",children:(0,l.jsxs)("div",{className:"about-content",children:[(0,l.jsx)("h2",{className:"title",children:s}),(0,l.jsx)("p",{className:"text",children:a}),"driver"===t&&(0,l.jsxs)("div",{className:"feats",children:[(0,l.jsx)("h3",{className:"feats-title",children:c("driver:why_choose_us")}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:c("driver:why_one")}),(0,l.jsx)("li",{children:c("driver:why_two")}),(0,l.jsx)("li",{children:c("driver:why_three")})]}),(0,l.jsx)("h3",{className:"feats-title mt-5",children:c("driver:job_requirements")}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:c("driver:job_one")}
1),(0,l.jsx)("li",{children:c("driver:job_two")}),(0,l.jsx)("li",{children:c("driver:job_three")})]}),(0,l.jsxs)("div",{className:"notes",children:[(0,l.jsxs)("span",{className:"note-label",children:[c("driver:note_title")," : "]}),(0,l.jsx)("span",{className:"note-text",children:c("driver:note_text")})]})]}),"supervisor"===t&&(0,l.jsxs)("div",{className:"feats",children:[(0,l.jsx)("h3",{className:"feats-title",children:c("supervisor:why_choose_us")}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:c("supervisor:super_why_one")}),(0,l.jsx)("li",{children:c("supervisor:super_why_two")}),(0,l.jsx)("li",{children:c("supervisor:super_why_three")})]}),(0,l.jsx)("h3",{className:"feats-title mt-5",children:c("supervisor:super_job_requirements")}),(0,l.jsxs)("ul",{children:[(0,l.jsx)("li",{children:c("supervisor:super_job_one")}),(0,l.jsx)("li",{children:c("supervisor:super_job_two")}),(0,l.jsx)("li",{children:c("supervisor:super_job_three")})]}),(0,l.jsxs)("div",{className:"notes",children:[(0,l.jsxs)("span",{className:"note-label",children:[c("supervisor:how_to_apply")," : "]}),(0,l.jsx)("span",{className:"note-text",children:c("supervisor:applay_text")})]})]})]})})]})})})}},6990:function(e,s,i){"use strict";var l=i(5893);s.Z=e=>{let{title:s}=e;return(0,l.jsx)("section",{className:"page-header",children:(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("h1",{className:"title",children:s})})})}},5877:function(e,s,i){"use strict";i.r(s),i.d(s,{__N_SSG:function(){return h},default:function(){return x}});var l=i(5893),a=i(6409),r=i(6990),n=i(9008),t=i.n(n),c={src:"/_next/static/media/supervisor.bc5b6f23.svg",height:470,width:515,blurWidth:0,blurHeight:0},o=i(2132),m=i(7294),d=i(5020),u=()=>{let{t:e}=(0,o.$G)("common"),[s,i]=(0,m.useState)({full_name:"",phone:"",age:"",image:"",qualifications:[]}),[a,r]=(0,m.useState)({full_name:"",phone:"",age:"",image:"",qualifications:""}),[n,t]=(0,m.useState)(!1),[c,u]=(0,m.useState)(!1),h=()=>{let i=!0;return""===s.full_name&&(r(s=>({...s,full_name:e("full_name_is_required")})),i=!1),""===s.phone&&(r(s=>({...s,phone:e("phone_number_is_required")})),i=!1),""===s.age&&(r(s=>({...s,age:e("age_is_required")})),i=!1),""===s.image&&(r(s=>({...s,image:e("profile_image_is_required")})),i=!1),0==s.qualifications.length&&(r(s=>({...s,qualifications:e("qualification_image_is_required")})),i=!1),i};return(0,l.jsxs)("section",{className:"contact-form",children:[(0,l.jsx)("h2",{className:"title",children:e("register_as_a_supervisor")}),(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("form",{className:"general-form",id:"SupervisorForm",onSubmit:e=>{if(e.preventDefault(),h()){u(!0);let e=new FormData;e.append("full_name",s.full_name),e.append("phone",s.phone),e.append("age",s.age),e.append("image",s.image);for(let i=0;i<s.qualifications.length;i++)e.append("qualifications[".concat(i,"]"),s.qualifications[i]);d.W.post("landing/join-supervisor",e).then(e=>{e.data.success&&(u(!1),t(!0),i(()=>({full_name:"",phone:"",age:"",image:"",qualifications:""})),document.getElementById("SupervisorForm").reset(),setTimeout(()=>{t(!1)},3e3))}).catch(e=>{console.log(e),u(!1)})}},children:(0,l.jsxs)("div",{className:"row",children:[(0,l.jsxs)("div",{className:"col-md-6",children:[(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsx)("label",{htmlFor:"FullName",children:(0,l.jsx)("i",{className:"fi fi-rr-user"})}),(0,l.jsx)("input",{type:"text",id:"FullName",className:"form-control",placeholder:e("full_name"),onChange:e=>{i(s=>({...s,full_name:e.target.value})),r(e=>({...e,full_name:""}))}})]}),a.full_name&&(0,l.jsx)("div",{className:"form-text text-danger mb-3",children:a.full_name})]}),(0,l.jsxs)("div",{className:"col-md-6",children:[(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsx)("label",{htmlFor:"Phone",children:(0,l.jsx)("i",{className:"fi fi-rr-mobile-notch"})}),(0,l.jsx)("input",{type:"text",id:"Phone",className:"form-control",placeholder:e("phone_number"),onChange:e=>{i(s=>({...s,phone:e.target.value})),r(e=>({...e,phone:""}))}})]}),a.phone&&(0,l.jsx)("div",{className:"form-text text-danger mb-3",children:a.phone})]}),(0,l.jsxs)("div",{className:"col-md-6",children:[(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsx)("label",{htmlFor:"Age",children:(0,l.jsx)("i",{className:"fi fi-sr-time-check"})}),(0,l.jsx)("input",{type:"number",id:"Age",className:"form-control",placeholder:e("age"),onChange:e=>{i(s=>({...s,age:e.target.value})),r(e=>({...e,age:""}))}})]}),a.age&&(0,l.jsx)("div",{className:"form-text text-danger mb-3",children:a.age})]}),(0,l.jsxs)("div",{className:"col-md-6",children:[(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsxs)("label",{htmlFor:"ProfileImage",children:[(0,l.jsx)("i",{className:"fi fi-ss-picpeople-filled"})," ",e("profile_image")]}),(0,l.jsx)("input",{type:"file",id:"ProfileImage",className:"form-control file",onChange:e=>{i(s=>({...s,image:e.target.files[0]})),r(e=>({...e,image:""}))}})]}),a.image&&(0,l.jsx)("div",{className:"form-text text-danger mb-3",children:a.image})]}),(0,l.jsxs)("div",{className:"col-md-12",children:[(0,l.jsxs)("div",{className:"form-group",children:[(0,l.jsxs)("label",{htmlFor:"Qualifications",children:[(0,l.jsx)("i",{className:"fi fi-ss-picpeople-filled"})," ",e("qualification_image")]}),(0,l.jsx)("input",{type:"file",id:"Qualifications",className:"form-control file",multiple:!0,accept:"image/*",onChange:e=>{i(s=>({...s,qualifications:[...e.target.files]})),r(e=>({...e,qualifications:""}))}})]}),a.qualifications&&(0,l.jsx)("div",{className:"form-text text-danger mb-3",children:a.qualifications})]}),(0,l.jsx)("div",{className:"col-md-12",children:(0,l.jsx)("div",{className:"form-group",children:c?(0,l.jsx)("button",{className:"submit-btn load",disabled:!0,type:"submit",children:e("send")}):(0,l.jsx)("button",{className:"submit-btn",type:"submit",children:e("send")})})}),(0,l.jsx)("div",{className:"col-md-12",children:n&&(0,l.jsx)("div",{className:"alert alert-success text-center mt-5",role:"alert",children:e("your_request_to_join_has_been_sent_successfully_we_will_contact_you_soon")})})]})})})]})},h=!0,x=()=>{let{t:e}=(0,o.$G)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(t(),{children:(0,l.jsx)("title",{children:"".concat(e("menu:become_supervisor")," - ").concat(e("common:site_name"))})}),(0,l.jsx)(r.Z,{title:e("menu:become_supervisor")}),(0,l.jsx)(a.Z,{title:e("supervisor:join_our_team_as_bus_supervisors"),image:c,text:e("supervisor:super_join_text"),page:"supervisor"}),(0,l.jsx)(u,{})]})}}},function(e){e.O(0,[888,774,179],function(){return e(e.s=449)}),_N_E=e.O()}]);
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.