"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1846],{21846:(e,s,l)=>{l.r(s),l.d(s,{default:()=>t});var a=l(95155);l(12115);var d=l(22810),r=l(2796),n=l(85922);let t=e=>{let{jobPosition:s,id:l}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("section",{children:(0,a.jsx)("div",{className:"container sm:mx-auto 2xl:max-w-screen-xl",children:(0,a.jsxs)("div",{className:"space-y-16",children:[(0,a.jsx)("div",{children:(0,a.jsxs)(d.A,{children:[(0,a.jsx)(r.A,{span:12,md:{span:8},lg:{span:4},children:(0,a.jsxs)("div",{className:"space-y-2 px-4 py-3 h-full border border-gray-900 border-r-0 border-b-0 lg:border-b",children:[(0,a.jsx)("h6",{className:"text-sm font-semibold text-gray-200",children:"Total"}),(0,a.jsxs)("div",{className:"text-white font-bold space-x-2",children:[(0,a.jsx)("span",{children:null==s?void 0:s.numReq}),(0,a.jsx)("span",{children:(null==s?void 0:s.numReq)>1?"Positions":"Position"})]})]})}),(0,a.jsx)(r.A,{span:12,md:{span:8},lg:{span:4},children:(0,a.jsxs)("div",{className:"space-y-2 border px-4 py-3 h-full border-gray-900 border-b-0 lg:border-b md:border-r-0",children:[(0,a.jsx)("h6",{className:"text-sm font-semibold text-gray-200",children:"Gender"}),(0,a.jsx)("div",{className:"text-white font-bold space-x-2",children:(0,a.jsx)("span",{children:(null==s?void 0:s.gender)!="all"?(null==s?void 0:s.gender)=="women"?"Women":"Men":"Not specified"})})]})}),(0,a.jsx)(r.A,{span:12,md:{span:8},lg:{span:4},children:(0,a.jsxs)("div",{className:"space-y-2 border px-4 py-3 h-full border-gray-900 border-b-0 border-r-0 md:border-r lg:border-r-0 lg:border-b",children:[(0,a.jsx)("h6",{className:"text-sm font-semibold text-gray-200",children:"Age"}),(0,a.jsx)("div",{className:"text-white font-bold space-x-2",children:(0,a.jsx)("span",{children:"".concat(null==s?void 0:s.ageFrom," - ").concat(null==s?void 0:s.ageTo," Years")})})]})}),(0,a.jsx)(r.A,{span:12,md:{span:8},lg:{span:4},children:(0,a.jsxs)("div",{className:"space-y-2 border px-4 py-3 h-full border-gray-900 border-b-0 md:border-b md:border-r-0",children:[(0,a.jsx)("h6",{className:"text-sm font-semibold text-gray-200",children:"Education"}),(0,a.jsx)("div",{className:"text-white font-bold space-x-2"})]})}),(0,a.jsx)(r.A,{span:12,md:{span:8},lg:{span:4},children:(0,a.jsxs)("div",{className:"space-y-2 border px-4 py-3 h-full border-gray-900 border-r-0",children:[(0,a.jsx)("h6",{className:"text-sm font-semibold text-gray-200",children:"Experience"}),(0,a.jsxs)("div",{className:"text-white font-bold space-x-2",children:[(0,a.jsx)("span",{children:null==s?void 0:s.experience}),(0,a.jsx)("span",{children:(null==s?void 0:s.experience)>1?"Years +":"Year +"})]})]})}),(0,a.jsx)(r.A,{span:12,md:{span:8},lg:{span:4},children:(0,a.jsxs)("div",{className:"space-y-2 border px-4 py-3 h-full border-gray-900",children:[(0,a.jsx)("h6",{className:"text-sm font-semibold text-gray-200",children:"Work Location"}),(0,a.jsx)("div",{className:"text-white font-bold space-x-2",children:(0,a.jsx)("span",{children:null==s?void 0:s.province})})]})})]})}),(null==s?void 0:s.description)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h6",{className:"text-base md:text-lg lg:text-xl font-bold",children:"รายละเอียดงาน"}),(0,a.jsx)("div",{className:"text-base text-gray-200",children:null==s?void 0:s.description})]}),(null==s?void 0:s.responsibility)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h6",{className:"text-base md:text-lg lg:text-xl font-bold",children:"หน้าที่รับผิดชอบ"}),(0,a.jsx)("div",{className:"text-base text-gray-200",dangerouslySetInnerHTML:{__html:(null==s?void 0:s.responsibility)||""}})]}),(null==s?void 0:s.qualification)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h6",{className:"text-base md:text-lg lg:text-xl font-bold",children:"คุณสมบัติ"}),(0,a.jsx)("div",{className:"text-base text-gray-200",dangerouslySetInnerHTML:{__html:(null==s?void 0:s.qualification)||""}})]}),(null==s?void 0:s.workPlaceName)&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h6",{className:"text-base md:text-lg lg:text-xl font-bold",children:"สถานที่ทำงาน"}),(0,a.jsx)("div",{className:"text-base text-gray-200",children:null==s?void 0:s.workPlaceName})]}),(null==s?void 0:s.attachfiles.length)>0&&(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("h6",{className:"text-base md:text-lg lg:text-xl font-bold",children:"เอกสารที่ต้องแนบ"}),(0,a.jsx)("div",{className:"text-base text-gray-200",children:(0,a.jsx)("ul",{children:null==s?void 0:s.attachfiles.map(e=>(0,a.jsx)("li",{children:e},e))})})]}),(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)(n.A.ButtonLink,{label:"Apply Now",href:"/apply-job?id=".concat(l)})})]})})})})}}}]);