1import{r as h,R as f}from"./vendor-BI1IxUOt.js";import{h as se,m as _,g as w,d as le,a as H,s as K,j as ce,S as ue,N as de,K as fe,M as pe}from"./classes-to-selector-DJGxIu0W.js";import{S as ge}from"./scrollbar-DPAXe0WU.js";import{J as me}from"./card-CwJIf-om.js";import{S as ve}from"./Skeleton-y4rhGjy-.js";import{g as be}from"./recent-jobs-utils-BXXGdFVx.js";import"./utils-CbhCWvJ3.js";function he({swiper:e,extendParams:r,on:i}){r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let n=null,c,l,g=new Date().getTime();function v(t){const o=n;o.length!==0&&K(o,t)}function a(t=16){const o=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(t).replace(/x/g,o)}function s(t){t=_(t),t.forEach(o=>{o.setAttribute("tabIndex","0")})}function d(t){t=_(t),t.forEach(o=>{o.setAttribute("tabIndex","-1")})}function b(t,o){t=_(t),t.forEach(u=>{u.setAttribute("role",o)})}function x(t,o){t=_(t),t.forEach(u=>{u.setAttribute("aria-roledescription",o)})}function C(t,o){t=_(t),t.forEach(u=>{u.setAttribute("aria-controls",o)})}function L(t,o){t=_(t),t.forEach(u=>{u.setAttribute("aria-label",o)})}function R(t,o){t=_(t),t.forEach(u=>{u.setAttribute("id",o)})}function m(t,o){t=_(t),t.forEach(u=>{u.setAttribute("aria-live",o)})}function N(t){t=_(t),t.forEach(o=>{o.setAttribute("aria-disabled",!0)})}function A(t){t=_(t),t.forEach(o=>{o.setAttribute("aria-disabled",!1)})}function S(t){if(t.keyCode!==13&&t.keyCode!==32)return;const o=e.params.a11y,u=t.target;if(!(e.pagination&&e.pagination.el&&(u===e.pagination.el||e.pagination.el.contains(t.target))&&!t.target.matches(H(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const E=_(e.navigation.prevEl);_(e.navigation.nextEl).includes(u)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?v(o.lastSlideMessage):v(o.nextSlideMessage)),E.includes(u)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?v(o.firstSlideMessage):v(o.prevSlideMessage))}e.pagination&&u.matches(H(e.params.pagination.bulletClass))&&u.click()}}function T(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:o}=e.navigation;o&&(e.isBeginning?(N(o),d(o)):(A(o),s(o))),t&&(e.isEnd?(N(t),d(t)):(A(t),s(t)))}function I(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function O(){return I()&&e.params.pagination.clickable}function y(){const t=e.params.a11y;I()&&e.pagination.bullets.forEach(o=>{e.params.pagination.clickable&&(s(o),e.params.pagination.renderBullet||(b(o,"button"),L(o,t.paginationBulletMessage.replace(/\{\{index\}\}/,le(o)+1)))),o.matches(H(e.params.pagination.bulletActiveClass))?o.setAttribute("aria-current","true"):o.removeAttribute("aria-current")})}const p=(t,o,u)=>{s(t),t.tagName!=="BUTTON"&&(b(t,"button"),t.addEventListener("keydown",S)),L(t,u),C(t,o)},$=t=>{l&&l!==t.target&&!l.contains(t.target)&&(c=!0),e.a11y.clicked=!0},j=()=>{c=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},B=t=>{g=new Date().getTime()},P=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-g<100)return;const o=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!o||!e.slides.includes(o))return;l=o;const u=e.virtual&&e.params.virtual.enabled,E=(u?parseInt(o.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(o))===e.activeIndex,M=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(o);E||M||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{c||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(o.getAttribute("data-swiper-slide-index"))),0):u?e.slideTo(e.getSlideIndexWhenGrid(
1parseInt(o.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(o)),0),c=!1)}))},J=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&x(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&b(e.slides,t.slideRole);const o=e.slides.length;t.slideLabelMessage&&e.slides.forEach((u,E)=>{const M=e.params.loop?parseInt(u.getAttribute("data-swiper-slide-index"),10):E,V=t.slideLabelMessage.replace(/\{\{index\}\}/,M+1).replace(/\{\{slidesLength\}\}/,o);L(u,V)})},G=()=>{const t=e.params.a11y;e.el.append(n);const o=e.el;t.containerRoleDescriptionMessage&&x(o,t.containerRoleDescriptionMessage),t.containerMessage&&L(o,t.containerMessage),t.containerRole&&b(o,t.containerRole);const u=e.wrapperEl,E=t.id||u.getAttribute("id")||`swiper-wrapper-${a(16)}`;if(R(u,E),t.wrapperLiveRegion){const z=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";m(u,z)}J();let{nextEl:M,prevEl:V}=e.navigation?e.navigation:{};M=_(M),V=_(V),M&&M.forEach(z=>p(z,E,t.nextSlideMessage)),V&&V.forEach(z=>p(z,E,t.prevSlideMessage)),O()&&_(e.pagination.el).forEach(oe=>{oe.addEventListener("keydown",S)}),w().addEventListener("visibilitychange",B),e.el.addEventListener("focus",P,!0),e.el.addEventListener("pointerdown",$,!0),e.el.addEventListener("pointerup",j,!0)};function W(){n&&n.remove();let{nextEl:t,prevEl:o}=e.navigation?e.navigation:{};t=_(t),o=_(o),t&&t.forEach(E=>E.removeEventListener("keydown",S)),o&&o.forEach(E=>E.removeEventListener("keydown",S)),O()&&_(e.pagination.el).forEach(M=>{M.removeEventListener("keydown",S)}),w().removeEventListener("visibilitychange",B),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",P,!0),e.el.removeEventListener("pointerdown",$,!0),e.el.removeEventListener("pointerup",j,!0))}i("beforeInit",()=>{n=se("span",e.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&G()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&J()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&T()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&y()}),i("destroy",()=>{e.params.a11y.enabled&&W()})}const Z=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_snapToSlideEdge","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function D(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"&&!e.__swiper__}function F(e,r){const i=["__proto__","constructor","prototype"];Object.keys(r).filter(n=>
vendor: 9,657 bytes, line 1
1i.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=r[n]:D(r[n])&&D(e[n])&&Object.keys(r[n]).length>0?r[n].__swiper__?e[n]=r[n]:F(e[n],r[n]):e[n]=r[n]})}function Y(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function k(e={}){return e.pagination&&typeof e.pagination.el>"u"}function ee(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function te(e=""){const r=e.split(" ").map(n=>n.trim()).filter(n=>!!n),i=[];return r.forEach(n=>{i.indexOf(n)<0&&i.push(n)}),i.join(" ")}function Ee(e=""){return e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function Se({swiper:e,slides:r,passedParams:i,changedParams:n,nextEl:c,prevEl:l,scrollbarEl:g,paginationEl:v}){const a=n.filter(p=>p!=="children"&&p!=="direction"&&p!=="wrapperClass"),{params:s,pagination:d,navigation:b,scrollbar:x,virtual:C,thumbs:L}=e;let R,m,N,A,S,T,I,O;n.includes("thumbs")&&i.thumbs&&i.thumbs.swiper&&!i.thumbs.swiper.destroyed&&s.thumbs&&(!s.thumbs.swiper||s.thumbs.swiper.destroyed)&&(R=!0),n.includes("controller")&&i.controller&&i.controller.control&&s.controller&&!s.controller.control&&(m=!0),n.includes("pagination")&&i.pagination&&(i.pagination.el||v)&&(s.pagination||s.pagination===!1)&&d&&!d.el&&(N=!0),n.includes("scrollbar")&&i.scrollbar&&(i.scrollbar.el||g)&&(s.scrollbar||s.scrollbar===!1)&&x&&!x.el&&(A=!0),n.includes("navigation")&&i.navigation&&(i.navigation.prevEl||l)&&(i.navigation.nextEl||c)&&(s.navigation||s.navigation===!1)&&b&&!b.prevEl&&!b.nextEl&&(S=!0);const y=p=>{e[p]&&(e[p].destroy(),p==="navigation"?(e.isElement&&(e[p].prevEl.remove(),e[p].nextEl.remove()),s[p].prevEl=void 0,s[p].nextEl=void 0,e[p].prevEl=void 0,e[p].nextEl=void 0):(e.isElement&&e[p].el.remove(),s[p].el=void 0,e[p].el=void 0))};n.includes("loop")&&e.isElement&&(s.loop&&!i.loop?T=!0:!s.loop&&i.loop?I=!0:O=!0),a.forEach(p=>{if(D(s[p])&&D(i[p]))Object.assign(s[p],i[p]),(p==="navigation"||p==="pagination"||p==="scrollbar")&&"enabled"in i[p]&&!i[p].enabled&&y(p);else{const $=i[p];($===!0||$===!1)&&(p==="navigation"||p==="pagination"||p==="scrollbar")?$===!1&&y(p):s[p]=i[p]}}),a.includes("controller")&&!m&&e.controller&&e.controller.control&&s.controller&&s.controller.control&&(e.controller.control=s.controller.control),n.includes("children")&&r&&C&&s.virtual.enabled?(C.slides=r,C.update(!0)):n.includes("virtual")&&C&&s.virtual.enabled&&(r&&(C.slides=r),C.update(!0)),n.includes("children")&&r&&s.loop&&(O=!0),R&&L.init()&&L.update(!0),m&&(e.controller.control=s.controller.control),N&&(e.isElement&&(!v||typeof v=="string")&&(v=document.createElement("div"),v.classList.add("swiper-pagination"),v.part.add("pagination"),e.el.appendChild(v)),v&&(s.pagination.el=v),d.init(),d.render(),d.update()),A&&(e.isElement&&(!g||typeof g=="string")&&(g=document.createElement("div"),g.classList.add("swiper-scrollbar"),g.part.add("scrollbar"),e.el.appendChild(g)),g&&(s.scrollbar.el=g),x.init(),x.updateSize(),x.setTranslate()),S&&(e.isElement&&((!c||typeof c=="string")&&(c=document.createElement("div"),c.classList.add("swiper-button-next"),K(c,e.navigation.arrowSvg),c.part.add("button-next"),e.el.appendChild(c)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),K(l,e.navigation.arrowSvg),l.part.add("button-prev"),e.el.appendChild(l))),c&&(s.navigation.nextEl=c),l&&(s.navigation.prevEl=l),b.init(),b.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=i.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=i.allowSlidePrev),n.includes("direction")&&e.changeDirection(i.direction,!1),(T||O)&&e.loopDestroy(),(I||O)&&e.loopCreate(),e.update()}function _e(e={},r=!0){const i={on:{}},n={},c={};F(i,ce),i._emitClasses=!0,i.init=!1;const l={},g=Z.map(a=>a.replace(/_/,"")),v=Object.assign({},e);return Object.keys(v).forEach(a=>{typeof e[a]>"u"||(g.indexOf(a)>=0?D(e[a])?(i[a]={},c[a]={},F(i[a],e[a]),F(c[a],e[a])):(i[a]=e[a],c[a]=e[a]):a.search(/on[A-Z]/)===0&&typeof e[a]=="function"?r?n[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:l[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:c,rest:l,events:n}}function xe({el:e,nextEl:r,prevEl:i,paginationEl:n,scrollbarEl:c,swiper:l},g){Y(g)&&r&&i&&(l.params.navigation.nextEl=r,l.originalParams.navigation.nextEl=r,l.params.navigation.prevEl=i,l.originalParams.navigation.prevEl=i),k(g)&&n&&(l.params.pagination.el=n,l.originalParams.pagination.el=n),ee(g)&&c&&(l.params.scrollbar.el=c,l.originalParams.scrollbar.el=c),l.init(e)}function Ce(e,r,i,n,c){const l=[];if(!r)return l;const g=a=>{l.indexOf(a)<0&&l.push(a)};if(i&&n){const a=n.map(c),s=i.map(c);a.join("")!==s.join("")&&g("children"),n.length!==i.length&&g("children")}return Z.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in e&&a in r)if(D(e[a])&&D(r[a])){const s=Object.keys(e[a]),d=Object.keys(r[a]);s.length!==d.length?g(a):(s.forEach(b=>{e[a][b]!==r[a][b]&&g(a)}),d.forEach(b=>{e[a][b]!==r[a][b]&&g(a)}))}else e[a]!==r[a]&&g(a)}),l}const ye=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function U(){return U=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var i=arguments[r];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},U.apply(this,arguments)}function ne(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function ie(e){const r=[];return f.Children.toArray(e).forEach(i=>{ne(i)?r.push(i):i.props&&i.props.children&&ie(i.props.children).forEach(n=>r.push(n))}),r}function Re(e){const r=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return f.Children.toArray(e).forEach(n=>{if(ne(n))r.push(n);else if(n.props&&n.props.slot&&i[n.props.slot])i[n.props.slot].push(n);else if(n.props&&n.props.children){const c=ie(n.props.children);c.length>0?c.forEach(l=>r.push(l)):i["container-end"].push(n)}else i["container-end"].push(n)}),{slides:r,slots:i}}function Le(e,r,i){if(!i)return null;const n=d=>{let b=d;return d<0?b=r.length+d:b>=r.length&&(b=b-r.length),b},c=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:l,to:g}=i,v=e.params.loop?-r.length:0,a=e.params.loop?r.length*2:r.length,s=[];for(let d=v;d<a;d+=1)d>=l&&d<=g&&s.push(r[n(d)]);return s.map((d,b)=>f.cloneElement(d,{swiper:e,style:c,key:d.props.virtualIndex||d.key||`slide-${b}`}))}function q(e,r){return typeof window>"u"?h.useEffect(e,r):h.useLayoutEffect(e,r)}const Q=h.createContext(null),Ne=h.createContext(null),ae=h.forwardRef(({className:e,tag:r="div",wrapperTag:i="div",children:n,onSwiper:c,...l}={},g)=>{let v=!1;const[a,s]=h.useState("swiper"),[d,b]=h.useState(null),[x,C]=h.useState(!1),L=h.useRef(!1),R=h.useRef(null),m=h.useRef(null),N=h.useRef(null),A=h.useRef(null),S=h.useRef(null),T=h.useRef(null),I=h.useRef(null),O=h.useRef(null),{params:y,passedParams:p,rest:$,events:j}=_e(l),{slides:B,slots:P}=Re(n),J=()=>{C(!x)};Object.assign(y.on,{_containerClasses(u,E){s(E)}});const G=()=>{Object.assign(y.on,j),v=!0;const u={...y};if(delete u.wrapperClass,m.current=new ue(u),m.current.virtual&&m.current.params.virtual.enabled){m.current.virtual.slides=B;const E={cache:!1,slides:B,renderExternal:b,renderExternalUpdate:!1};F(m.current.params.virtual,E),F(m.current.originalParams.virtual,E)}};R.current||G(),m.current&&m.current.on("_beforeBreakpoint",J);const W=()=>{v||!j||!m.current||Object.keys(j).forEach(u=>{m.current.on(u,j[u])})},t=()=>{!j||!m.current||Object.keys(j).forEach(u=>{m.current.off(u,j[u])})};h.useEffect(()=>()=>{m.current&&m.current.off("_beforeBreakpoint",J)}),h.useEffect(()=>{!L.current&&m.current&&(m.current.emitSlidesClasses(),L.current=!0)}),q(()=>{if(g&&(g.current=R.current),!!R.current)return m.current.destroyed&&G(),xe({el:R.current,nextEl:S.current,prevEl:T.current,paginationEl:I.current,scrollbarEl:O.current,swiper:m.current},y),c&&!m.current.destroyed&&c(m.current),()=>{m.current&&!m.current.destroyed&&m.current.destroy(!0,!1)}},[]),q(()=>{W();const u=Ce(p,N.current,B,A.current,E=>E.key);return N.current=p,A.current=B,u.length&&m.current&&!m.current.destroyed&&Se({swiper:m.current,slides:B,passedParams:p,changedParams:u,nextEl:S.current,prevEl:T.current,scrollbarEl:O.current,paginationEl:I.current}),()=>{t()}}),q(()=>{ye(m.current)},[d]);function o(){return y.virtual?Le(m.current,B,d):B.map((u,E)=>f.cloneElement(u,{swiper:m.current,swiperSlideIndex:E}))}return f.createElement(r,U({ref:R,className:te(`${a}${e?` ${e}`:""}`)},$),f.createElement(Ne.Provider,{value:m.current},P["container-start"],f.createElement(i,{className:Ee(y.wrapperClass)},P["wrapper-start"],o(),P["wrapper-end"]),Y(y)&&f.createElement(f.Fragment,null,f.createElement("div",{ref:T,className:"swiper-button-prev"}),f.createElement("div",{ref:S,className:"swiper-button-next"})),ee(y)&&f.createElement("div",{ref:O,className:"swiper-scrollbar"}),k(y)&&f.createElement("div",{ref:I,className:"swiper-pagination"}),P["container-end"]))});ae.displayName="Swiper";const re=h.forwardRef(({tag:e="div",children:r,className:i="",swiper:n,zoom:c,lazy:l,virtualIndex:g,swiperSlideIndex:v,...a}={},s)=>{const d=h.useRef(null),[b,x]=h.useState("swiper-slide"),[C,L]=h.useState(!1);function R(S,T,I){T===d.current&&x(I)}q(()=>{if(typeof v<"u"&&(d.current.swiperSlideIndex=v),s&&(s.current=d.current),!(!d.current||!n)){if
1(n.destroyed){b!=="swiper-slide"&&x("swiper-slide");return}return n.on("_slideClass",R),()=>{n&&n.off("_slideClass",R)}}}),q(()=>{n&&d.current&&!n.destroyed&&x(n.getSlideClasses(d.current))},[n]);const m={isActive:b.indexOf("swiper-slide-active")>=0,isVisible:b.indexOf("swiper-slide-visible")>=0,isPrev:b.indexOf("swiper-slide-prev")>=0,isNext:b.indexOf("swiper-slide-next")>=0},N=()=>typeof r=="function"?r(m):r,A=()=>{L(!0)};return f.createElement(e,U({ref:d,className:te(`${b}${i?` ${i}`:""}`),"data-swiper-slide-index":g,onLoad:A},a),c&&f.createElement(Q.Provider,{value:m},f.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof c=="number"?c:void 0},N(),l&&!C&&f.createElement("div",{className:"swiper-lazy-preloader",ref:S=>{S&&(S.lazyPreloaderManaged=!0)}}))),!c&&f.createElement(Q.Provider,{value:m},N(),l&&!C&&f.createElement("div",{className:"swiper-lazy-preloader",ref:S=>{S&&(S.lazyPreloaderManaged=!0)}})))});re.displayName="SwiperSlide";const Ie=({theme:e="light",children:r,slidesPerView:i="auto",spaceBetween:n=12,showScrollbar:c=!0,className:l="",breakpoints:g={320:{slidesPerView:1.2,spaceBetween:12},768:{slidesPerView:1.5,spaceBetween:12},1024:{slidesPerView:2.5,spaceBetween:16}}})=>{const v=e==="dark"?"dark":"light",a=f.Children.map(r,(s,d)=>f.createElement(re,{key:d,className:"carousel__slide"},s));return f.createElement("div",{className:`carousel ${l}`},f.createElement("div",{className:"carousel__container"},f.createElement(ae,{modules:[de,fe,ge,pe,he],spaceBetween:n,slidesPerView:i,watchOverflow:!0,grabCursor:!0,navigation:{nextEl:".carousel__swiper-controls-next",prevEl:".carousel__swiper-controls-prev"},scrollbar:c?{el:".carousel__scrollbar",draggable:!0}:void 0,keyboard:{enabled:!0,onlyInViewport:!0},breakpoints:g,className:"carousel__swiper"},a,c&&f.createElement("div",{className:"swiper-scrollbar carousel__scrollbar"})),f.createElement("div",{className:"carousel__swiper-controls"},f.createElement("button",{className:`carousel__swiper-controls-prev ${v}-hover`,"aria-label":"previous slide"},f.createElement("svg",{viewBox:"0 0 24 24",width:"40",height:"40"},f.createElement("use",{href:`#${v}_enabled_left`}))),f.createElement("button",{className:`carousel__swiper-controls-next ${v}-hover`,"aria-label":"next slide"},f.createElement("svg",{viewBox:"0 0 24 24",width:"40",height:"40"},f.createElement("use",{href:`#${v}_enabled_right`}))))))},Oe=({endpoint:e,verificationToken:r,jobId:i})=>{const[n,c]=h.useState(!1),[l,g]=h.useState(null),[v,a]=h.useState(null);return h.useEffect(()=>{i&&e&&r&&(async()=>{c(!0),a(null);try{const C=(await(await window.fetch(e,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",__RequestVerificationToken:r},body:JSON.stringify({query:`query getJobPostingById( 2 $id: ID!, 3 ) { 4 getJobPostingById( 5 id: $id, 6 ) { 7 jobPostingEntity { 8 datePosted 9 jobDescription 10 jobRequirements 11 jobTitle 12 address { 13 city 14 state 15 postalCode 16 } 17 payInfo { 18 maximumPay 19 minimumPay 20 payType 21 payValue 22 payPer 23 } 24 brand { 25 brandName 26 enterpriseBrandId 27 } 28 enterpriseJobPostingId 29 applyURL 30 } 31 ers { 32 id 33 source 34 } 35 } 36 }`,variables:{id:i}})})).json()).data.getJobPostingById;g(C)}catch(d){const b=d instanceof Error?d.message:"An error occurred while fetching job data";a(b)}finally{c(!1)}})()},[i,e,r]),{isLoading:n,data:l,error:v}},Me=()=>f.createElement("div",{role:"status","aria-live":"assertive","aria-label":"loading job..."},f.createElement(ve,{height:"260px",width:"100%"})),Ae=({endpoint:e,verificationToken:r,jobId:i,detailPageUrl:n})=>{const{isLoading:c,data:l,error:g}=Oe({endpoint:e,verificationToken:r,jobId:i});if(g)return null;if(c)return f.createElement(Me,null);if(!l||!l.jobPostingEntity)return null;const v=l.jobPostingEntity;return f.createElement("a",{href:`${n}/${i}`,"aria-label":`View details for ${v.jobTitle} at ${v.address.city}, ${v.address.state}`},f.createElement(me,{offer:v,showIsLastSeen:!1,ers:l.ers}))},X=6,Fe=({heading:e,buttonHtml:r,detailPageUrl:i,jobSearchEndpoint:n,verificationToken:c,theme:l="light"})=>{const[g,v]=h.useState([]);return h.useEffect(()=>{const a=window.location.pathname.split("/").at(-1);let s=be().filter(d=>d!==a);s.length>X&&(s=s.slice(0,X)),v(s)},[]),g.length===0?null:f.createElement("section",{className:"recent-job-list"},f.createElement("div",{className:"recent-job-list__header"},f.createElement("h2",{className:"recent-job-list__heading"},e),r&&f.createElement("div",{className:"hidden-mobile",dangerouslySetInnerHTML:{__html:r}}
36)),f.createElement(Ie,{theme:l,showScrollbar:!0,className:"recent-job-list__carousel"},g.map(a=>f.createElement(Ae,{key:a,jobId:a,endpoint:n,detailPageUrl:i,verificationToken:c}))),r&&f.createElement("div",{className:"recent-job-list__button-container hidden-desktop",dangerouslySetInnerHTML:{__html:r}}))};export{Fe as default};
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.