PageSourceSearch

https://www.manufacturingezyfind.co.za/_next/static/chunks/pages/manufacturing/jobs-34e5a47eb16fb882.js

js manufacturingezyfind.co.za collected 2026-10-02 01:13:39 UTC 27,598 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9765],{462:(e,t,s)=>{"use strict";s.d(t,{d:()=>i});var n=s(28888);function r(){let e=(0,n._)(["\n query GetPostList (\n    $postId: Int = null\n    $title: String = null\n    $domainId: Int = null\n    $categoryId: Int = null\n    $companyId: Int = null\n    $location: String = null\n    $page: Int = null\n    $size: Int = null\n  ) {\n    getPostList (\n      postId: $postId\n      title: $title\n      domainId: $domainId\n      categoryId: $categoryId\n      companyId: $companyId\n      location: $location\n      page: $page\n      size: $size\n    ) {\n      count\n      currentPage\n      message\n      nextPage\n      prevPage\n      result {\n        postID\n        categoryID\n        companyID\n        companyName\n        description\n        descriptionSEO\n        documentName\n        domainID\n        postedDate\n        endDate\n        filePath\n        keywordsSEO\n        location\n        name\n        startDate\n        thumbNailImagePath\n        title\n        titleSEO\n        googleSchema\n        viewCount\n        clickCount\n        provinceName\n        cityName\n        suburbName\n      }\n      success\n      totalPages\n    }\n  }\n"]);return r=function(){return e},e}let i=(0,s(79350).J1)(r())},2874:(e,t,s)=>{"use strict";s.d(t,{R:()=>r});var n=s(37876);function r(e){let{currentPage:t,pageSize:s,totalCount:r,label:i}=e;if(0===r)return null;let a=Math.min(t*s,r);return(0,n.jsx)("div",{className:"bg-white card-shadow py-3 px-3 flex gap-3 items-center justify-between mb-5",children:(0,n.jsxs)("div",{className:"text-sm",children:["Showing ",(t-1)*s+1," to ",a," of ",r," ",i]})})}},17980:(e,t,s)=>{"use strict";s.r(t),s.d(t,{__N_SSG:()=>J,default:()=>q});var n=s(37876),r=s(89545),i=s(11041),a=s(97460),l=s(14232),o=s(78248),c=s(89310),d=s(44350),u=s(31842),m=s(76052),h=s(462),p=s(48230),x=s.n(p),f=s(12300),g=s(20442),y=s(2874),b=s(37964),v=s(48401),j=s(94250),_=s.n(j),N=s(79742),S=s(39593),w=s(26695),C=s(69241);let I=e=>{let{onUpdate:t,handleNext:s,initialValues:r,formClassName:i="h-[415px] xl:h-full border border-gray-300"}=e,a=(0,S.Wx)({initialValues:r,validationSchema:w.sv,onSubmit:e=>{t(e),s()},enableReinitialize:!0}),o=async()=>{a.setTouched({item:!0,description:!0}),0===Object.keys(await a.validateForm()).length&&a.submitForm()},c=(0,l.useCallback)(e=>(a.touched[e]||a.submitCount>0)&&a.errors[e],[a]),d="block text-sm xl:text-xs 2xl:text-sm font-medium mb-2 xl:mb-1 2xl:mb-2",u="form-control border border-gray-300 text-sm xl:text-xs w-full px-3 font-semibold text-gray-500";return(0,n.jsx)("form",{onSubmit:e=>e.preventDefault(),className:(0,C.A)("p-4 xl:p-2 2xl:p-3",i),children:(0,n.jsxs)("div",{className:"h-full flex flex-col",children:[(0,n.jsxs)("div",{children:[(0,n.jsxs)("div",{className:"mb-3 xl:mb-2 2xl:mb-3",children:[(0,n.jsx)("label",{htmlFor:"item",className:d,children:"Title"}),(0,n.jsx)("input",{type:"text",id:"item",name:"item",value:a.values.item,onChange:a.handleChange,className:"".concat(u," h-8"),placeholder:"Item"}),c("item")&&(0,n.jsx)("p",{className:"text-sm text-red-600 mt-1",children:a.errors.item})]}),(0,n.jsxs)("div",{className:"mb-4",children:[(0,n.jsx)("label",{htmlFor:"description",className:d,children:"Description"}),(0,n.jsx)("textarea",{id:"description",name:"description",value:a.values.description,onChange:a.handleChange,className:"".concat(u," py-3"),rows:3,placeholder:"Description"}),c("description")&&(0,n.jsx)("p",{className:"text-sm text-red-600 mt-1",children:a.errors.description})]})]}),(0,n.jsx)("div",{className:"flex justify-end mt-auto",children:(0,n.jsx)(v.A,{onClick:o,className:"bg-[var(--primary-color)] border border-[var(--primary-color)] text-sm text-white hover:bg-white hover:text-[var(--primary-color)]",children:"Next"})})]})})};var F=s(89848),R=s(36123),z=s(65791);let P={},A=e=>{let{postTitle:t,postId:s,formClassName:r}=e,[i,a]=(0,l.useState)(1),[o,c]=(0,l.useState)(P),d=()=>a(e=>e+1),u=()=>a(e=>Math.max(1,e-1)),m=(0,l.useCallback)(e=>{c(t=>({...t,...e}))},[]),h=async e=>{try{var t;let n=await z.t.applyJob({title:o.item,description:o.description,postId:s,titleCategoryId:e.categoryId});return(null==n?void 0:n.success)&&F.oR.success((null==n?void 0:n.message)||"Successfully Applied"),null!=(t=null==n?void 0:n.success)&&t}catch(e){return console.error("Failed to submit item request",e),!1}},p=()=>{c(P),a(1)},x=async(e,t)=>{e&&await h(t)&&a(4)},f=(0,l.useMemo)(()=>[(0,n.jsx)(I,{onUpdate:m,handleNext:d,formClassName:r,initialValues:{item:t||o.item,description:o.description||""}},"step-1"),(0,n.jsx)(R.A,{onUpdate:m,handleNext:d,handlePrev:u,formClassName:r,initialValues:{upload:o.upload||[]}},"step-2"),(0,n.jsx)(N.A,{displayName:!1,onUpdate:m,onComplete:x,handlePrev:u,formClassName:r,initialValues:{name:o.name,password:o.password,email:o.email,mobile:o.mobile}},"step-3"),(0,n.jsxs)("div",{className:"text-center",children:[(0,n.jsx)("h2",{className:"text-2xl font-bold",children:"Thank You!"}),(0,n.jsx)("p",{children:"Your request has been submitted successfully."}),(0,n.jsx)(v.A,{onClick:p,className:"!bg-[var(--primary-color)] border border-[var(--primary-color)] text-sm text-white hover:!bg-white hover:!text-[var(--primary-color)]",children:"Submit Another Request"})]},"step-4")],[o]);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"xl:absolute w-full top-0 xl:-top-12 h-full",children:(0,n.jsx)("div",{className:"h-full md:px-1 md:pt-1 max-md:mx-[15p
1x] mt-2 md:mt-0",children:f[i-1]})})})},k=e=>{let{postTitle:t,postId:s,title:r,formClassName:l,open:o,setOpen:c}=e;return o?(0,n.jsx)("div",{className:"fixed inset-0 z-[1200] bg-black/50 backdrop-blur-sm flex items-center justify-center p-4",children:(0,n.jsxs)("div",{className:"jsx-3b4ff60e4b4b71f3 relative w-full max-w-[600px] md:max-w-[700px] lg:max-w-[780px] bg-white rounded shadow-lg overflow-hidden h-[50vh] min-h-[50vh] flex flex-col",children:[(0,n.jsx)("button",{type:"button","aria-label":"Close",onClick:()=>c(!1),className:"jsx-3b4ff60e4b4b71f3 absolute z-[1300] top-2 right-2 p-1 bg-white text-red-600 shadow transition-all focus:outline-none focus:ring-2 focus:ring-red-400",children:(0,n.jsx)(a.g,{icon:i.GRI,className:"text-base"})}),(0,n.jsx)("div",{className:"jsx-3b4ff60e4b4b71f3 h-10 md:h-12 bg-[var(--primary-color)] text-white text-md flex items-center pl-4 font-semibold flex-shrink-0",children:r}),(0,n.jsx)("div",{className:"jsx-3b4ff60e4b4b71f3 p-4 md:p-6 overflow-y-auto flex-1 request-item-form-modal",children:(0,n.jsx)(A,{postTitle:t,postId:s,formClassName:l})}),(0,n.jsx)(_(),{id:"3b4ff60e4b4b71f3",children:".request-item-form-modal.jsx-3b4ff60e4b4b71f3>div{position:static!important;top:0!important;height:auto!important}.request-item-form-modal.jsx-3b4ff60e4b4b71f3 .triangle{display:none!important}"})]})}):null};function O(e){let{initialJobs:t,initialPagination:s}=e,[p,j]=(0,l.useState)(t||[]),[_,N]=(0,l.useState)(s),[S,w]=(0,l.useState)(null),[C,I]=(0,l.useState)({page:c._U,size:c.yQ}),F=e=>({domainId:Number(r.K.CATEGORY_ID),categoryId:m.zK.Jobs,title:e.searchText,page:e.page,size:e.size||c.yQ}),[R,{data:z,loading:P}]=(0,o._)(h.d,{fetchPolicy:"network-only"});return((0,l.useEffect)(()=>{if(null==z?void 0:z.getPostList){var e,t,s,n;j(null!=(e=z.getPostList.result)?e:[]),N({count:null!=(t=z.getPostList.count)?t:0,currentPage:null!=(s=z.getPostList.currentPage)?s:1,totalPages:null!=(n=z.getPostList.totalPages)?n:0})}},[z]),P)?(0,n.jsx)(u.A,{}):(0,n.jsxs)("div",{className:"flex flex-wrap lg:gap-6 lg:flex-nowrap my-10",children:[(0,n.jsxs)("div",{className:"basis-12/12 lg:basis-4/12 xl:basis-3/12",children:[(0,n.jsx)("div",{className:"py-3 px-5 text-white bg-secondary flex justify-between items-center",children:(0,n.jsx)("p",{className:"text-lg",children:"Filter Option"})}),(0,n.jsx)("div",{className:"border border-gray-300",children:(0,n.jsxs)("div",{className:"border-b border-gray-300",children:[(0,n.jsxs)("div",{className:"bg-white px-4 py-3 flex justify-between items-center cursor-pointer",children:[(0,n.jsx)("p",{className:"text-md font-semibold",children:"Search By Text"}),(0,n.jsx)(a.g,{icon:i.tdl,className:"text-lg"})]}),(0,n.jsx)("div",{className:"bg-gray-50 px-4 py-5",children:(0,n.jsx)("form",{onSubmit:e=>{var t;e.preventDefault(),t=e.currentTarget.elements.namedItem("search").value,I(e=>{let s={...e,searchText:t,page:1};return R({variables:F(s)}),s})},children:(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsx)("input",{type:"search",name:"search",placeholder:"Enter Title",defaultValue:C.searchText,className:"form-control border border-gray-300 text-sm w-full h-10 px-5"}),(0,n.jsx)("button",{type:"submit",className:"absolute top-[50%] translate-y-[-50%] right-0 h-10 px-4 bg-primary text-white",children:"Search"})]})})})]})})]}),(0,n.jsxs)("div",{className:"basis-12/12 lg:basis-8/12 xl:basis-9/12 mt-5 lg:mt-0",children:[_&&(0,n.jsx)(y.R,{currentPage:_.currentPage,pageSize:c.yQ,totalCount:_.count,label:"Jobs"}),0===p.length&&(0,n.jsx)(b.e,{}),(0,n.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 xl:grid-cols-3 gap-6",children:p.map((e,t)=>(0,n.jsxs)("div",{className:"border border-gray-300 p-4 bg-white flex flex-col justify-between shadow-sm hover:bg-gray-50 transition-all",children:[(0,n.jsxs)("div",{className:"flex flex-col flex-grow",children:[(0,n.jsx)(x(),{href:"".concat(r.K.DOMAIN_URL,"manufacturing/jobs/").concat(null==e?void 0:e.postID,"/").concat((0,f.Y)((null==e?void 0:e.title)||"")),className:"text-md uppercase font-semibold text-primary block mb-1 overflow-hidden",style:{minHeight:"48px"},children:e.title}),(0,n.jsx)("div",{className:"text-sm font-light",children:e.companyName}),(0,n.jsx)("div",{className:"text-sm font-light text-gray-500 mt-2 overflow-hidden",style:{minHeight:"60px"},dangerouslySetInnerHTML:{__html:e.descriptionSEO}})]}),(0,n.jsxs)("div",{className:"flex items-center justify-between mt-4",children:[(0,n.jsxs)("p",{className:"text-sm",children:[(0,n.jsx)(a.g,{icon:i.BEE,className:"text-primary mr-1"}),"Posted: ",(0,g.Y)(e.startDate||"")]}),(0,n.jsx)(v.A,{className:"bg-[var(--primary-color)] text-sm text-white border border-[var(--primary-color)] uppercase px-4 py-1 hover:bg-white hover:text-[var(--primary-color)] transition-all",onClick:()=>{w(e)},children:"Apply Now"})]}),S&&(0,n.jsx)(k,{open:!!S,setOpen:()=>
1w(null),postTitle:S.title||"",postId:S.postID,title:"Apply",formClassName:"h-full border border-gray-300"})]},t))}),(0,n.jsx)("div",{className:"flex flex-col md:flex-row mt-10 justify-center",children:_&&(0,n.jsx)(d.d,{currentPage:_.currentPage,totalPages:_.totalPages,onPageChange:e=>{I(t=>{let s={...t,page:e};return R({variables:F(s)}),s})},generateUrl:e=>{let t=new URLSearchParams;C.searchText&&t.append("search",C.searchText),e>1&&t.append("page",e.toString());let s=t.toString();return"".concat(r.K.DOMAIN_URL,"manufacturing/article").concat(s?"?".concat(s):"")}})})]})]})}var E=s(55447),T=s(65870),M=s(77328),L=s.n(M);let D="Manufacturing, Mining, Engineering & Construction Jobs | www.ManufacturingEzyFind.co.za",U="Find all your Manufacturing, Mining, Engineering & Construction Jobs on this portal",$="".concat(r.K.DOMAIN_URL,"manufacturing/jobs");var J=!0;function q(e){let{jobs:t,pagination:s}=e;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(L(),{children:[(0,n.jsx)("title",{children:D}),(0,n.jsx)("meta",{name:"title",content:D}),(0,n.jsx)("meta",{name:"description",content:U}),(0,n.jsx)("meta",{name:"keywords",content:"Manufacturing jobs, Mining jobs, Engineering jobs, Construction Jobs"}),(0,n.jsx)("link",{rel:"canonical",href:$}),(0,n.jsx)("meta",{property:"og:type",content:"website"}),(0,n.jsx)("meta",{property:"og:title",content:D}),(0,n.jsx)("meta",{property:"og:description",content:U}),(0,n.jsx)("meta",{property:"og:url",content:$}),(0,n.jsx)("meta",{property:"og:site_name",content:"ManufacturingEzyFind"}),(0,n.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,n.jsx)("meta",{name:"twitter:title",content:D}),(0,n.jsx)("meta",{name:"twitter:description",content:U}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"CollectionPage",name:"Manufacturing, Mining, Engineering & Construction Jobs",description:U,url:$,publisher:{"@type":"Organization",name:"ManufacturingEzyFind",url:r.K.DOMAIN_URL,logo:{"@type":"ImageObject",url:"".concat(r.K.DOMAIN_URL,"images/logo.webp")}},mainEntity:{"@type":"ItemList",numberOfItems:s.count,itemListElement:t.slice(0,10).map((e,t)=>({"@type":"ListItem",position:t+1,item:{"@type":"JobPosting",title:e.title,description:e.description,url:"".concat(r.K.DOMAIN_URL,"manufacturing/jobs/").concat(e.postID,"/").concat((0,T.C)(e.title)),datePosted:e.startDate,validThrough:e.endDate,hiringOrganization:{"@type":"Organization",name:e.companyName||"ManufacturingEzyFind"},jobLocation:{"@type":"Place",address:{"@type":"PostalAddress",addressLocality:e.location||"South Africa",addressCountry:"ZA"}},industry:"Manufacturing, Engineering, Mining"}}))},inLanguage:"en-ZA"})}}),(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify({"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:r.K.DOMAIN_URL},{"@type":"ListItem",position:2,name:"Jobs",item:$}]})}})]}),(0,n.jsx)("div",{className:"my-10",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)(O,{initialJobs:t,initialPagination:s})})}),(0,n.jsx)(E.default,{})]})}},28817:(e,t,s)=>{"use strict";var n=s(65364);s(72552);var r=s(14232),i=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(r),a=void 0!==n&&n.env&&!0,l=function(e){return"[object String]"===Object.prototype.toString.call(e)},o=function(){function e(e){var t=void 0===e?{}:e,s=t.name,n=void 0===s?"stylesheet":s,r=t.optimizeForSpeed,i=void 0===r?a:r;c(l(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",c("boolean"==typeof i,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=i,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t,s=e.prototype;return s.setOptimizeForSpeed=function(e){c("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),c(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},s.isOptimizeForSpeed=function(){return this._optimizeForSpeed},s.inject=function(){var e=this;if(c(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(a||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,s){return"number"==typeof s?e._serverSheet.cssRules[s]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),s},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},s.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},s.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},s.insertRule=function(e,t){if(c(l(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var s=this.getSheet();"number"!=typeof t&&(t=s.cssRules.length);try{s.insertRule(e,t)}catch(t){return a||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},s.replaceRule=function(e,t){if(this._optimizeForSpeed){var s=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!s.cssRules[e])return e;s.deleteRule(e);try{s.insertRule(t,e)}catch(n){a||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),s.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];c(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},s.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];c(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},s.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},s.cssRules=function(){var e=this;return this._tags.reduce(function(t,s){return s?t=t.concat(Array.prototype.map.call(e.getSheetForTag(s).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},s.makeStyleTag=function(e,t,s){t&&c(l(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var r=document.head||document.getElementsByTagName("head")[0];return s?r.insertBefore(n,s):r.appendChild(n),n},t=[{key:"length",get:function(){return this._rulesCount}}],function(e,t){for(var s=0;s<t.length;s++){var n=t[s];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}();function c(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var d=function(e){for(var t=5381,s=e.length;s;)t=33*t^e.charCodeAt(--s);return t>>>0},u={};function m(e,t){if(!t)return"jsx-"+e;var s=String(t),n=e+s;return u[n]||(u[n]="jsx-"+d(e+"-"+s)),u[n]}function h(e,t){var s=e+t;return u[s]||(u[s]=t.replace(/__jsx-style-dynamic-selector/g,e)),u[s]}var p=function(){function e(e){var t=void 0===e?{}:e,s=t.styleSheet,n=void 0===s?null:s,r=t.optimizeForSpeed,i=void 0!==r&&r;this._sheet=n||new o({name:"styled-jsx",optimizeForSpeed:i}),this._sheet.inject(),n&&"boolean"==typeof i&&(this._sheet.setOptimizeForSpeed(i),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var s=this.getIdAndRules(e),n=s.styleId,r=s.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var i=r.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=i,this._instancesCounts[n]=1},t.remove=function(e){var t=this,s=this.getIdAndRules(e).styleId;if(function(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}(s in this._instancesCounts,"styleId: `"+s+"` not found"),this._instancesCounts[s]-=1,this._instancesCounts[s]<1){var n=this._fromServer&&this._fromServer[s];n?(n.parentNode.removeChild(n),delete this._fromServer[s]):(this._indices[s].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[s]),delete this._instancesCounts[s]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],s=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return s[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){var t,s;return t=this.cssRules(),void 0===(s=e)&&(s={}),t.map(function(e){var t=e[0],n=e[1];return i.default.createElement("style",{id:"__"+t,key:"__"+t,nonce:s.nonce?s.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})},t.getIdAndRules=function(e){var t=e.children,s=e.dynamic,n=e.id;if(s){var r=m(n,s);return{styleId:r,rules:Array.isArray(t)?t.map(function(e){return h(r,e)}):[h(r,t)]}}return{styleId:m(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}(),x=r.createContext(null);x.displayName="StyleSheetContext";var f=i.default.useInsertionEffect||i.default.useLayoutEffect,g=new p;function y(e){var t=g||r.useContext(x);return t&&f(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}y.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},t.style=y},36123:(e,t,s)=>{"use strict";s.d(t,{A:()=>p});var n=s(37876),r=s(11041),i=s(97460),a=s(14232),l=s(91408),o=s(39593),c=s(54587),d=s.n(c),u=s(48401),m=s(69241);let h=l.Ik({upload:l.YO()});
1function p(e){let{onUpdate:t,handleNext:s,handlePrev:l,initialValues:c,formClassName:p="h-[415px] xl:h-full border border-gray-300"}=e,[x,f]=(0,a.useState)(c.upload||[]),[g,y]=(0,a.useState)([]),[b,v]=(0,a.useState)(null),j=(0,o.Wx)({initialValues:c,validationSchema:h,onSubmit:e=>{t(e),s()},validateOnBlur:!1,validateOnChange:!1,enableReinitialize:!0});(0,a.useEffect)(()=>{let e=x.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return y(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[x]);let _=async()=>{j.setFieldTouched("upload",!0),0===Object.keys(await j.validateForm()).length&&await j.submitForm()};return(0,n.jsx)("form",{onSubmit:e=>e.preventDefault(),className:(0,m.A)("p-4 xl:p-2 2xl:p-3",p),children:(0,n.jsxs)("div",{className:"flex flex-col h-full",children:[(0,n.jsxs)("div",{children:[(0,n.jsx)("p",{className:"text-md xl:text-sm 2xl:text-lg font-semibold",children:"Upload Image"}),(0,n.jsxs)("div",{className:"form-group mb-2",children:[(0,n.jsx)("label",{htmlFor:"upload",children:(0,n.jsxs)("div",{className:"border border-gray-300 w-full h-[7rem] flex flex-col justify-center items-center text-sm text-gray-500 cursor-pointer",children:[(0,n.jsx)(i.g,{icon:r.rOd,className:"text-lg"}),"Click to upload"]})}),(0,n.jsx)("input",{type:"file",id:"upload",multiple:!0,accept:"image/*,application/pdf",onChange:e=>{v(null);let t=Array.from(e.target.files||[]),s=[],n=[];if(x.length+t.length>15&&n.push("You can upload up to ".concat(15," files only.")),t.forEach(e=>{e.size>0x1400000?n.push('File "'.concat(e.name,'" exceeds the 20MB limit.')):s.push(e)}),n.length>0)return void v(n.join(" "));let r=[...x,...s];f(r),j.setFieldValue("upload",r)},className:"hidden"}),(0,n.jsxs)("p",{className:"text-sm mt-2",children:[(0,n.jsx)("span",{className:"text-primary",children:"Note:"})," File size cannot be more than 20MB. Max ",15," files."]}),b&&(0,n.jsx)("p",{className:"text-sm text-red-600 mt-1",children:b}),j.touched.upload&&j.errors.upload&&(0,n.jsx)("p",{className:"text-sm text-red-600 mt-1",children:"string"==typeof j.errors.upload?j.errors.upload:j.errors.upload.join(", ")})]}),x.length>0&&(0,n.jsx)("div",{className:"mt-3 mb-3",children:(0,n.jsx)("div",{className:"flex gap-3 overflow-x-auto pb-1",children:x.map((e,t)=>(0,n.jsxs)("div",{className:"relative min-w-[60px] w-[60px] h-[60px] border rounded-md bg-white shadow-sm flex-shrink-0 flex items-center justify-center",children:[g[t]?(0,n.jsx)(d(),{src:g[t],alt:"Preview",width:60,height:60,className:"object-contain p-1 w-full h-full"}):(0,n.jsx)(i.g,{icon:"application/pdf"===e.type?r.O_q:r.h8M,className:"text-xl text-gray-600"}),(0,n.jsx)("button",{type:"button",onClick:()=>(e=>{let t=x.filter((t,s)=>s!==e),s=g.filter((t,s)=>s!==e);f(t),y(s),j.setFieldValue("upload",t)})(t),className:"absolute top-0 right-0 p-[2px] text-gray-800 hover:text-red-600",children:(0,n.jsx)(i.g,{icon:r.yYc,className:"text-[12px]"})})]},t))})})]}),(0,n.jsxs)("div",{className:"flex justify-between mt-auto",children:[(0,n.jsx)(u.A,{onClick:l,className:"bg-[var(--secondary-color)] border text-sm text-white hover:bg-white hover:text-[var(--secondary-color)]",children:"Previous"}),(0,n.jsx)(u.A,{onClick:_,className:"bg-[var(--primary-color)] border text-sm text-white hover:bg-white hover:text-[var(--primary-color)]",children:"Next"})]})]})})}},37964:(e,t,s)=>{"use strict";s.d(t,{e:()=>r});var n=s(37876);function r(e){let{message:t="No records found"}=e;return(0,n.jsx)("div",{className:"flex-1 bg-white",children:(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center text-center w-full h-full min-h-[calc(100vh-150px)]",children:[(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-20 w-20 text-gray-400 mb-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 8v4m0 4h.01M21 12c0 4.97-4.03 9-9 9s-9-4.03-9-9 4.03-9  9-9 9 4.03 9 9z"})}),(0,n.jsx)("p",{className:"text-gray-500 text-2xl font-semibold",children:t})]})})}},44350:(e,t,s)=>{"use strict";s.d(t,{d:()=>l});var n=s(37876),r=s(48230),i=s.n(r),a=s(89099);let l=e=>{let{currentPage:t,totalPages:s,onPageChange:r,generateUrl:l}=e,o=(0,a.useRouter)();if(s<=1)return null;
1let c=Math.floor(s/2),d=Math.max(1,t-c),u=Math.min(s,t+c);t-c<1&&(u=Math.min(s,u+(c-t+1))),t+c>s&&(d=Math.max(1,d-(t+c-s)));let m=Array.from({length:u-d+1},(e,t)=>d+t),h=function(e,a){let c=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e<1||e>s?(0,n.jsx)("span",{className:"px-3 py-2 mx-1 bg-gray-200 text-gray-400 rounded cursor-not-allowed",children:a},"page-".concat(a)):(0,n.jsx)(i(),{href:(e=>{if(l)return l(e);let t={...o.query};return 1===e?delete t.page:t.page=e.toString(),{pathname:o.pathname,query:t}})(e),onClick:t=>{r&&r&&r(e)},className:"px-3 py-2 mx-1 rounded transition-colors ".concat(c?"bg-primary text-white font-semibold":"bg-white text-primary border border-primary hover:bg-primary hover:text-white"),"aria-label":"Go to page ".concat(e),"aria-current":c?"page":void 0,rel:e===t-1?"prev":e===t+1?"next":void 0,children:a},"page-".concat(a))};return(0,n.jsxs)("nav",{className:"flex items-center justify-center flex-wrap gap-2","aria-label":"Pagination",children:[h(t-1,"← Previous"),d>1&&(0,n.jsxs)(n.Fragment,{children:[h(1,1),d>2&&(0,n.jsx)("span",{className:"px-2 py-2 mx-1 text-gray-500",children:"..."})]}),m.map(e=>h(e,e,e===t)),u<s&&(0,n.jsxs)(n.Fragment,{children:[u<s-1&&(0,n.jsx)("span",{className:"px-2 py-2 mx-1 text-gray-500",children:"..."}),h(s,s)]}),h(t+1,"Next →")]})}},47537:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/manufacturing/jobs",function(){return s(17980)}])},72552:()=>{},76052:(e,t,s)=>{"use strict";s.d(t,{If:()=>r,vO:()=>n,zK:()=>i});var n=function(e){return e[e.Company=1]="Company",e[e.Special=2]="Special",e[e.Eflyer=3]="Eflyer",e[e.Product=4]="Product",e}({}),r=function(e){return e[e.Company=1]="Company",e[e.Special=2]="Special",e[e.Eflyer=3]="Eflyer",e[e.Product=4]="Product",e}({}),i=function(e){return e[e.Jobs=1]="Jobs",e[e.Internships=2]="Internships",e[e.Apprenticeship=3]="Apprenticeship",e[e.Articles=4]="Articles",e[e.PropertyToRent=5]="PropertyToRent",e[e.Tender=6]="Tender",e[e.IndustryTrends=7]="IndustryTrends",e[e.Bursary=8]="Bursary",e[e.Blog=9]="Blog",e}({})},77328:(e,t,s)=>{e.exports=s(89836)},94250:(e,t,s)=>{"use strict";e.exports=s(28817).style}},e=>{e.O(0,[7388,9131,636,2193,8792],()=>e(e.s=47537)),_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.