PageSourceSearch

https://devonjobs-admin.vercel.app/_next/static/chunks/8396-a26b96aafbdf6435.js

js devonjobs-admin.vercel.app collected 2026-10-03 06:43:21 UTC 12,125 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8396],{68396:function(n,o,e){e.r(o);var t=e(59499),i=e(51436),r=e(92814),c=e(67294),l=e(73935),a=e(52015),s=e(60208),d=e(42404),u=e(85893);function p(n,o){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);o&&(t=t.filter((function(o){return Object.getOwnPropertyDescriptor(n,o).enumerable}))),e.push.apply(e,t)}return e}function h(n){for(var o=1;o<arguments.length;o++){var e=null!=arguments[o]?arguments[o]:{};o%2?p(Object(e),!0).forEach((function(o){(0,t.Z)(n,o,e[o])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):p(Object(e)).forEach((function(o){Object.defineProperty(n,o,Object.getOwnPropertyDescriptor(e,o))}))}return n}var m=a.ZP.div.withConfig({displayName:"FiltersModal__FilterRow",componentId:"sc-ei03ci-0"})(["display:grid;grid-template-columns:1fr 1fr 1fr;grid-gap:10px;@media (max-width:900px){grid-template-columns:1fr 1fr;}@media (max-width:600px){grid-template-columns:1fr;}"]),f=(a.ZP.span.withConfig({displayName:"FiltersModal__ChangeRangeSpan",componentId:"sc-ei03ci-1"})(["font-size:10px;font-weight:400;cursor:pointer;color:#3a77ba;"]),a.ZP.span.withConfig({displayName:"FiltersModal__ShowMoreSpan",componentId:"sc-ei03ci-2"})(["font-size:14px;cursor:pointer;color:#3a77ba;"]));o.default=function(n){var o,e,t,a,p,g,x=n.isShowing,y=n.hide,b=n.jobOptions,v=n.searchQuery,j=n.setSearchQuery,w=n.sessionID,k=h({},v),C=(0,c.useState)({occupation:!1,salaryRange:!1,hourlyRateRange:!1,region:!1,organisation:!1,term:!1,appointmentType:!1,location:!1}),N=C[0],S=C[1],_=function(n,o){if(k[n])if(k[n].includes(o))k[n]=k[n].filter((function(n){return n!==o})),j(h({},k));else{var e=[];
1k[n].forEach((function(n){e.push(n)})),e.push(o),k[n]=e,j(h({},k))}window.localStorage.setItem(w+"filters",JSON.stringify(k))};return x?l.createPortal((0,u.jsx)(u.Fragment,{children:(0,u.jsx)(s.ZA,{onClick:y,style:{display:"grid"},children:(0,u.jsx)(s.AB,{onClick:function(n){return n.stopPropagation()},style:{maxWidth:1200,height:"max-content"},children:(0,u.jsxs)("div",{className:"modal",children:[(0,u.jsxs)(s.xB,{children:[(0,u.jsxs)("h3",{className:"text-h3",style:{color:"#000"},children:[(0,u.jsx)(r.G,{icon:i.MUh})," Filters"]}),(0,u.jsx)(d.Km,{onClick:y,style:{padding:0,fontSize:"2rem",lineHeight:1},children:(0,u.jsx)(r.G,{icon:i.NBC})})]}),(0,u.jsxs)(s.hz,{children:[(0,u.jsxs)(m,{children:[(0,u.jsxs)("div",{children:[(0,u.jsxs)("h4",{className:"text-h4 push-bottom push-top",style:{color:"#000"},children:["Occupational Group"," ",(null===(o=b.occupationalGroups)||void 0===o?void 0:o.length)>0&&(0,u.jsxs)("span",{style:{fontSize:10,fontWeight:400},children:["(",k.occupationalGroup.length," ","selected)"]})]}),b.occupationalGroups.map((function(n,o){var e;return!N.occupation&&o>2?null:(0,u.jsx)("p",{className:"filter-text ".concat(null!==(e=k.occupationalGroup)&&void 0!==e&&e.includes(n.group)?"selected-filter":""),onClick:function(o){return _("occupationalGroup",n.group)},children:n.group},o)})),b.occupationalGroups.length>3&&(0,u.jsx)(f,{onClick:function(n){n.preventDefault(),S(h(h({},N),{},{occupation:!N.occupation}))},children:(0,u.jsx)(u.Fragment,{children:N.occupation?"< Show Less":"> Show More"})})]}),(0,u.jsxs)("div",{children:[(0,u.jsxs)("h4",{className:"text-h4 push-bottom push-top",style:{color:"#000"},children:["Organisations"," ",(null===(e=b.organisations)||void 0===e?void 0:e.length)>0&&(0,u.jsxs)("span",{style:{fontSize:10,fontWeight:400},children:["(",k.organisation.length," selected)"]})]}),b.organisations.map((function(n,o){var e;return!N.organisation&&o>2?null:(0,u.jsx)("p",{className:"filter-text ".concat(null!==(e=k.organisation)&&void 0!==e&&e.includes(n.organisation)?"selected-filter":""),onClick:function(o){return _("organisation",n.organisation)},children:n.organisation},o)})),b.organisations.length>3&&(0,u.jsx)(f,{onClick:function(n){n.preventDefault(),S(h(h({},N),{},{organisation:!N.organisation}))},children:(0,u.jsx)(u.Fragment,{children:N.organisation?"< Show Less":"> Show More"})})]}),(0,u.jsxs)("div",{children:[(0,u.jsxs)("h4",{className:"text-h4 push-bottom push-top",style:{color:"#000"},children:["Regions"," ",(null===(t=b.regions)||void 0===t?void 0:t.length)>0&&(0,u.jsxs)("span",{style:{fontSize:10,fontWeight:400},children:["(",k.region.length," selected)"]})]}),b.regions.map((function(n,o){var e;return!N.region&&o>2?null:(0,u.jsx)("p",{className:"filter-text ".concat(null!==(e=k.region)&&void 0!==e&&e.includes(n.region)?"selected-filter":""),onClick:function(o){return _("region",n.region)},children:n.region},o)})),b.regions.length>3&&(0,u.jsx)(f,{onClick:function(n){n.preventDefault(),S(h(h({},N),{},{region:!N.region}))},children:(0,u.jsx)(u.Fragment,{children:N.region?"< Show Less":"> Show More"})})]}),(0,u.jsxs)("div",{children:[(0,u.jsxs)("h4",{className:"text-h4 push-bottom push-top",style:{color:"#000"},children:["Work Locations"," ",(null===(a=b.workLocations)||void 0===a?void 0:a.length)>0&&(0,u.jsxs)("span",{style:{fontSize:10,fontWeight:400},children:["(",k.workLocation.length," selected)"]})]}),b.workLocations.map((function(n,o){var e;return!N.location&&o>2?null:(0,u.jsx)("p",{className:"filter-text ".concat(null!==(e=k.workLocation)&&void 0!==e&&e.includes(n.workLocation)?"selected-filter":""),onClick:function(o){return _("workLocation",n.workLocation)},children:n.workLocation},o)})),b.workLocations.length>3&&(0,u.jsx)(f,{onClick:function(n){n.preventDefault(),S(h(h({},N),{},{location:!N.location}))},children:(0,u.jsx)(u.Fragment,{children:N.location?"< Show Less":"> Show More"})})]}),(0,u.jsxs)("div",{children:[(0,u.jsxs)("h4",{className:"text-h4 push-bottom push-top",style:{color:"#000"},children:["Appointment Types"," ",(null===(p=b.appointmentTypes)||void 0===p?void 0:p.length)>0&&(0,u.jsxs)("span",{style:{fontSize:10,fontWeight:400},children:["(",k.appointmentType.length," selected)"]})]}),b.appointmentTypes.map((function(n,o){var e;return!N.appointmentType&&o>2?null:(0,u.jsx)("p",{className:"filter-text ".concat(null!==(e=k.appointmentType)&&void 0!==e&&e.includes(n.appointment)?"selected-filter":""),onClick:function(o){return _("appointmentType",n.appointment)},children:n.appointment},o)})),b.appointmentTypes.length>3&&(0,u.jsx)(f,{onClick:function(n){n.preventDefault(),S(h(h({},N),{},{appointmentType:!N.appointmentType}))},children:(0,u.jsx)(u.Fragment,{children:N.appointmentType?"< Show Less":"> Show More"})})]}),(0,u.jsxs)("div",{children:[(0,u.jsxs)("h4",{className:"text-h4 push-bottom push-top",style:{color:"#000"},children:["Job Terms"," ",(null===(g=b.jobTerms)||void 0===g?void 0:g.length)>0&&(0,u.jsxs)("span",{style:{fontSize:10,fontWeight:400},children:["(",k.jobTerm.length," selected)"]})]}),b.jobTerms.map((function(n,o){var e;return!N.term&&o>2?null:(0,u.jsx)("p",{className:"filter-text ".concat(null!==(e=k.jobTerm)&&void 0!==e&&e.includes(n.term)?"selected-filter":""),onClick:function(o){return _("jobTerm",n.term)},children:n.term},o)})),b.jobTerms.length>3&&(0,u.jsx)(f,{onClick:function(n){n.preventDefault(),S(h(h({},N),{},{term:!N.term}))},children:(0,u.jsx)(u.Fragment,{children:N.term?"< Show Less":"> Show More"})})]})]}),(0,u.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end"},children:[(0,u.jsx)("button",{onClick:function(){j({occupationalGroup:[],organisation:[],jobTerm:[],appointmentType:[],region:[],workLocation:[],title:"",archived:!1}),window.localStorage.setItem(w+"filters",JSON.stringify({occupationalGroup:[],organisation:[],jobTerm:[],appointmentType:[],region:[],workLocation:[],title:"",archived:!1}))},className:"text-p button-submit",style:{marginRight:"10px"},children:"Clear"}),(0,u.jsx)("button",{onClick:function(){y()},className:"text-p button-submit",children:"Submit"})]})]})]})})})}),document.body):null}},42404:function(n,o,e){e.d(o,{Km:function(){return r},RZ:function(){return c},zx:function(){return i}});var t=e(52015),i=(e(11163),e(92814),e(85893),t.ZP.button.withConfig({displayName:"Button",componentId:"sc-1lmi9gd-0"})(["color:#fff;font-size:1em;padding:0.5em 1.5em;border:2px solid #c3d221;font-weight:400;border-radius:4px;background-color:#c3d221;transition:ease-in-out 0.3s;
1cursor:pointer;&:hover{opacity:0.5;}&:focus{outline:0;}&[disabled]{background-color:",";border-color:",";opacity:1;cursor:not-allowed;&:hover{opacity:1;}}"],(function(n){return n.theme.grey}),(function(n){return n.theme.grey}))),r=t.ZP.button.withConfig({displayName:"Button__EmojiButton",componentId:"sc-1lmi9gd-1"})(["background:none;border:none;transition:ease-in-out 0.3s;cursor:pointer;padding:1rem;font-size:20px;&:hover{opacity:0.3;}&:focus{outline:0;}"]),c=((0,t.ZP)(i).withConfig({displayName:"Button__DeleteButton",componentId:"sc-1lmi9gd-2"})(["background:none;color:#fff;border:none;font-size:20px;"]),(0,t.ZP)(i).withConfig({displayName:"Button__WarnButton",componentId:"sc-1lmi9gd-3"})(["background-color:",";border-color:",";"],(function(n){return n.theme.orange}),(function(n){return n.theme.orange})),(0,t.ZP)(i).withConfig({displayName:"Button__SuccessButton",componentId:"sc-1lmi9gd-4"})(["background-color:",";border-color:",";"],(function(n){return n.theme.green}),(function(n){return n.theme.green})),(0,t.ZP)(i).withConfig({displayName:"Button__InfoButton",componentId:"sc-1lmi9gd-5"})(["background-color:#0057B5;border-color:#0057B5;"]));(0,t.ZP)(i).withConfig({displayName:"Button__SecondaryButton",componentId:"sc-1lmi9gd-6"})(["background-color:white;border-color:",";color:",";"],(function(n){return n.theme.navy}),(function(n){return n.theme.navy}
1)),t.ZP.span.withConfig({displayName:"Button__SpanButton",componentId:"sc-1lmi9gd-7"})(["font-size:1.2em;padding:0.5em 1.5em;border:2px solid ",";font-weight:400;border-radius:4px;transition:ease-in-out 0.3s;cursor:pointer;color:",";text-align:center;&:hover{background:",";color:white;}"],(function(n){return n.color?n.theme[n.color]:n.theme.navy}),(function(n){return n.color?n.theme[n.color]:n.theme.navy}),(function(n){return n.color?n.theme[n.color]:n.theme.navy})),(0,t.ZP)(i).withConfig({displayName:"Button__ErrorButton",componentId:"sc-1lmi9gd-8"})(["background-color:",";border-color:",";"],(function(n){return n.theme.red}),(function(n){return n.theme.red})),t.ZP.button.withConfig({displayName:"Button__ToggleButton",componentId:"sc-1lmi9gd-9"})(["background-color:",";color:",";font-size:1em;padding:0.5em 1.5em;border:2px solid ",";font-weight:400;border-radius:4px;transition:ease-in-out 0.3s;cursor:pointer;&:hover{background-color:",";color:#fff;}"],(function(n){return n.value?n.theme.red:"#fff"}),(function(n){return n.value?"#fff":n.theme.red}),(function(n){return n.theme.red}),(function(n){return n.theme.red}))},60208:function(n,o,e){e.d(o,{AB:function(){return s},G9:function(){return u},ZA:function(){return a},dd:function(){return l},hz:function(){return p},xB:function(){return d}});var t=e(52015),i=e(42404),r=e(67294),c=e(85893);function l(){var n=(0,r.useState)(!1),o=n[0],e=n[1];return{isShowing:o,toggle:function(){e(!o)}}}var a=t.ZP.div.withConfig({displayName:"Modal__ModalOverlay",componentId:"sc-vj503v-0"})(["position:fixed;z-index:9998;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4);"]),s=t.ZP.div.withConfig({displayName:"Modal__ModalWrapper",componentId:"sc-vj503v-1"})(["background-color:#fefefe;margin:2% auto;padding:20px;border:2px solid #ddd;border-radius:4px;width:80%;box-shadow:0px 0px 43px -19px rgba(0,0,0,0.75);z-index:9999;@media (max-width:960px){width:95%;padding:10px;}"]),d=t.ZP.div.withConfig({displayName:"Modal__ModalHeader",componentId:"sc-vj503v-2"})(["display:grid;grid-template-columns:1fr auto;h2{margin:1rem 0;}"]);function u(n){var o=n.hide;return(0,c.jsx)(i.Km,{type:"button",className:"modal-close-button","data-dismiss":"modal","aria-label":"Close",onClick:o,children:(0,c.jsx)("span",{"aria-hidden":"true",children:"\u274c"})})}var p=t.ZP.div.withConfig({displayName:"Modal__ModalContent",componentId:"sc-vj503v-3"})(["padding:10px 30px 30px 30px;"])}}]);

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.