PageSourceSearch

https://www.ditp.go.th/_next/static/chunks/pages/apply-for-work-abfb137db691ca87.js

js ditp.go.th collected 2026-10-02 04:02:41 UTC 7,334 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6792],{44310:function(e,l,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/apply-for-work",function(){return t(41517)}])},3632:function(e,l,t){"use strict";t.d(l,{Z:function(){return o}});var i=t(85893),a=t(41664),s=t.n(a),r=t(11163);function o(e){let{paths:l}=e,t=(0,r.useRouter)();return(0,i.jsx)("nav",{className:"text-gray-500 text-sm overflow-x-auto whitespace-nowrap custom-scroll",children:(0,i.jsx)("div",{className:"max-w-screen-xl mx-auto px-4",children:(0,i.jsxs)("div",{className:"flex space-x-2 items-center",children:[(0,i.jsx)("img",{src:"/icons/home.png",alt:"Profile",className:"w-4 h-4"}),l.filter(e=>e.label).map((e,a)=>(0,i.jsxs)("div",{className:"flex items-center space-x-2 mt-2",children:[a>0&&(0,i.jsx)("span",{className:"text-gray-400",children:"/"}),a===l.length-1?(0,i.jsx)("span",{className:"text-black font-semibold",children:e.label}):e.link?(0,i.jsx)(s(),{href:e.link,legacyBehavior:!0,locale:t.locale,children:(0,i.jsx)("a",{className:"text-gray-400 hover:text-gray-600",children:e.label})}):(0,i.jsx)("div",{className:"text-gray-400 line-clamp-1",children:e.label})]},a))]})})})}},41517:function(e,l,t){"use strict";t.r(l),t.d(l,{__N_SSP:function(){return x},default:function(){return p}});var i=t(85893),a=t(3632),s=t(76809),r=t(24985),o=t(63805),n=t(41664),d=t.n(n);t(71061);var c=t(67294),m=t(66308),x=!0;function p(e){var l,t,n,x,p,u,v,f,h,_,g,b;r.QP;let j=[{label:"หน้าหลัก",link:"/"},{label:"ข่าวรับสมัครงาน"}];return(0,c.useEffect)(()=>{(async()=>{try{let e={content:"ข่าวรับสมัครงาน",url:window.location.href,author:"",post_type:"หน้า",publishAt:""};await s.hi.getPageinsights(e)}catch(e){console.error("เกิดข้อผิดพลาดในการบันทึกข้อมูล",e)}})()},[]),(0,i.jsxs)("div",{className:"pt-14 pb-16",style:{backgroundColor:"#ffffff",backgroundImage:"url('/images/bg.jpg')",backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"repeat"},children:[(0,i.jsx)("div",{className:"flex items-center justify-center bg-cover bg-center",style:{backgroundImage:"url(".concat((null===(n=e.imagecover.data.image_cover_apply_for_work)||void 0===n?void 0:null===(t=n.formats)||void 0===t?void 0:null===(l=t.medium)||void 0===l?void 0:l.url)||(null===(x=e.imagecover.data.image_cover_apply_for_work)||void 0===x?void 0:x.url),")"),height:"193px"},children:(0,i.jsx)("h1",{className:"text-white text-center text-xl md:text-[40px]",children:"ข่าวรับสมัครงาน"})}),(0,i.jsx)(m.Z,{title:"ข่าวรับสมัครงาน - กรมส่งเสริมการค้าระหว่างประเทศ",description:e.requestststatic.data.detail,breadcrumbs:j}),(0,i.jsx)("div",{className:"sticky top-[60px] z-20  bg-white",children:(0,i.jsx)(a.Z,{paths:j})}),(0,i.jsx)("div",{className:"max-w-screen-xl mx-auto px-4 mt-12",children:(0,i.jsxs)("div",{className:"md:px-16",children:[(0,i.jsx)("h2",{className:"mt-12 mb-8 text-2xl md:text-[40px] font-semibold inline bg-gradient-to-r from-[#1A1C49] to-[#41B8B9] dark:from-[#93C5FD] dark:to-[#67E8F9] bg-clip-text text-transparent leading-normal",children:"ตำแหน่งที่เปิดรับสมัคร"}),(0,i.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-1 gap-6 mt-8",children:null===(p=(0,o.IU)(null===(u=e.applyforworks)||void 0===u?void 0:u.data).slice(0,5))||void 0===p?void 0:p.map((e,l)=>{var t,a,s,r,n,c;let m=new Date,x=new Date(null==e?void 0:null===(t=e.apply_for_work_detail)||void 0===t?void 0:t.start_date),p=new Date(null==e?void 0:null===(a=e.apply_for_work_detail)||void 0===a?void 0:a.end_date),u=(null===(s=e.apply_for_work_type)||void 0===s?void 0:s.apply_for_work_type_name)==="สมัคร",v=m>=x&&m<=p,f=u&&v;return(0,i.jsxs)("div",{className:"flex flex-col md:flex-row items-start border-b-2 mb-2 pb-2",children:[(0,i.jsx)("div",{className:"flex-shrink-0 overflow-hidden",children:(0,i.jsx)("img",{src:(null===(r=e.image)||void 0===r?void 0:r.url)||"/images/ditpimage.png",alt:"Profile",className:"w-[150px] h-[50px] object-cover"})}),(0,i.jsxs)("div",{className:"flex flex-col text-left lg:w-[944px] ml-2 ",children:[(0,i.jsxs)("div",{className:"flex",children:[(null===(n=e.division)||void 0===n?void 0:n.division_name)&&(0,i.jsx)("div",{className:"bg-indigo-100 border rounded-xl px-2 py-1 
1w-fit mt-2",children:(0,i.jsx)(d(),{href:"/post/division/".concat(e.division.documentId),children:e.division.division_name})}),u&&!v&&(0,i.jsx)("div",{className:" text-red-500 px-2 py-1 w-fit mt-2 font-semibold",children:"ปิดรับสมัคร"})]}),(0,i.jsx)("div",{className:"text-lg md:text-xl font-semibold mt-2",children:e.title}),(0,i.jsx)("div",{className:"mt-1",children:(0,o.vc)((null==e?void 0:e.publish_date)||(null==e?void 0:e.current_publish)||(null==e?void 0:e.createdAt),null==e?void 0:e.locale)})]}),(null===(c=e.apply_for_work_type)||void 0===c?void 0:c.apply_for_work_type_name)&&(u?f&&(0,i.jsx)(d(),{href:"/apply-for-work/".concat(null==e?void 0:e.documentId),children:(0,i.jsx)("button",{type:"button",className:"self-start px-6 md:w-[180px] py-3 border-2 border-[#0E143B] rounded-full mb-4",children:(0,i.jsx)("div",{className:"text-center",children:e.apply_for_work_type.apply_for_work_type_name})})}):(0,i.jsx)(d(),{href:"/apply-for-work/".concat(e.documentId),children:(0,i.jsx)("button",{type:"button",className:"self-start px-6 md:w-[180px] py-3 border-2 border-[#0E143B] rounded-full mb-4",children:(0,i.jsx)("div",{className:"text-center",children:e.apply_for_work_type.apply_for_work_type_name})})}))]},l)})}),(0,i.jsxs)("div",{className:"border-b-2 pb-14 mt-8",children:[(0,i.jsx)("h2",{className:"mt-12 mb-8 text-2xl md:text-[40px] font-semibold inline bg-gradient-to-r from-[#1A1C49] to-[#41B8B9] dark:from-[#93C5FD] dark:to-[#67E8F9] bg-clip-text text-transparent leading-normal",children:"ขอโอนมารับราชการในสังกัดกรม"}),(0,i.jsx)("div",{className:"indent-8",children:e.requestststatic.data.detail}),(0,i.jsx)("div",{className:"px-2",children:null===(v=(0,o.IU)(null==e?void 0:null===(f=e.request)||void 0===f?void 0:f.data))||void 0===v?void 0:v.map((e,l)=>(0,i.jsx)(d(),{href:"/apply-for-work/apply-for-work-post/".concat(e.documentId),children:(0,i.jsx)("ul",{className:"pl-4",children:(0,i.jsx)("li",{children:null==e?void 0:e.title})})},l))}),(0,i.jsxs)("div",{className:"space-y-2 mt-4",children:[(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)("img",{src:"/images/map.png",alt:"Profile",className:"w-[16px] h-[16px] filter-custom"}),(0,i.jsx)("div",{className:"pl-2",children:null===(_=e.requestststatic)||void 0===_?void 0:null===(h=_.data)||void 0===h?void 0:h.address})]}),(0,i.jsxs)("div",{className:"flex items-center",children:[(0,i.jsx)("img",{src:"/images/telephone.png",alt:"Profile",className:"w-[16px] h-[16px] filter-custom"}),(0,i.jsx)("div",{className:"pl-2",children:null===(b=e.requestststatic)||void 0===b?void 0:null===(g=b.data)||void 0===g?void 0:g.contact})]})]})]})]})})]})}},9008:function(e,l,t){e.exports=t(23867)}},function(e){e.O(0,[6308,2888,9774,179],function(){return e(e.s=44310)}),_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.