PageSourceSearch

https://www.scalablepath.com/_next/static/chunks/pages/view-position/[[...params]]-b39c86c74670afd5.js

js scalablepath.com collected 2026-10-03 23:27:22 UTC 21,642 bytes, 334 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._posthogChunkIds=e._posthogChunkIds||{},e._posthogChunkIds[n]="01a0f383-0184-7610-9251-eeb7a875a467")}catch(e){}}();(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[60624],{25141:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSP:()=>eS,default:()=>eY});var n=t(37876),r=t(29196),a=t(25430),s=t(60125),o=t(1645),l=t(73674),d=t(16300),c=t(14232),m=t(87856),h=t(51733);let g=m.Ay.div`
2  position: relative;
3  background-color: ${h.Tj.secondary["100"]};
4  padding-top: 3.5rem;
5  @media (min-width: ${h.fi.sm}) {
6    padding-top: 0;
7    background-color: transparent;
8    margin-top: 3.5rem;
9  }
10`,p=m.Ay.div`
11  width: calc(100% - 2rem);
12  margin-top: 4rem;
13  margin: auto;
14  text-align: center;
15  display: flex;
16  flex-direction: column;
17  align-items: center;
18  @media (min-width: ${h.fi.sm}) {
19    width: 66rem;
20  }
21`,u=m.Ay.p`
22  width: calc(100% - 2rem);
23  margin: auto;
24  font-family: ${h.gx.family.OpenSans};
25  font-size: ${h.gx.size.base};
26  margin-top: 1rem;
27  @media (min-width: ${h.fi.sm}) {
28    font-size: ${h.gx.size.lg};
29    margin-top: 2rem;
30    width: 60rem;
31  }
32`;var x=t(40649);let f=m.Ay.div`
33  width: calc(calc(100vw - 3rem) / 2);
34  height: 16rem;
35  margin: 0;
36  margin-bottom: 1rem;
37  background-color: ${h.Tj.neutral["0"]};
38  border-radius: 1rem;
39  @media (min-width: ${h.fi.sm}) {
40    margin: 0.5rem;
41    width: 16.3rem;
42    height: 16.3rem;
43  }
44`,j=m.Ay.p`
45  display: flex;
46  align-items: center;
47  width: calc(100% - 2rem);
48  margin: auto;
49  height: calc(30% - 1rem);
50  font-family: ${h.gx.family.OpenSans};
51  font-size: ${h.gx.size.base};
52  @media (min-width: ${h.fi.sm}) {
53    font-size: ${h.gx.size.base};
54  }
55`,y=m.Ay.div`
56  width: calc(100% - 2rem);
57  height: calc(65% - 1rem);
58  margin: auto;
59  margin-top: 1rem;
60`,b=({animationPath:e,registerPlayTrigger:i,triggerName:r,onComplete:a})=>{let s=(0,c.useRef)(),o=(0,c.useRef)(),l=async()=>{o.current=(await t.e(39923).then(t.t.bind(t,94985,23))).loadAnimation({renderer:"canvas",container:s.current,path:e,autoplay:!1,loop:!1,speed:1}),a&&o.current.addEventListener("complete",a)};(0,c.useEffect)(()=>
60{l()},[]);let d=()=>{o.current.goToAndPlay(0)};return(0,c.useEffect)(()=>i&&i(r,d),[]),(0,n.jsx)(y,{ref:s})},w=({text:e,animationPath:i,registerPlayTrigger:t,triggerName:r,onComplete:a})=>(0,n.jsxs)(f,{children:[(0,n.jsx)(b,{animationPath:i,registerPlayTrigger:t,triggerName:r,onComplete:a}),(0,n.jsx)(j,{children:e})]}),v=m.Ay.div`
61  margin-top: 2.8rem;
62  width: 66rem;
63`,$=m.Ay.div`
64  display: none;
65  justify-content: center;
66  @media (min-width: ${h.fi.sm}) {
67    display: flex;
68  }
69`,A=m.Ay.div`
70  display: flex;
71  justify-content: center;
72  @media (min-width: ${h.fi.sm}) {
73    display: none;
74  }
75  div {
76    margin-left: 1rem;
77    &:last-child {
78      margin-right: 1rem;
79    }
80  }
81`;var z=t(37828);let k=({registerTrigger:e})=>{let{layout:i}=(0,x.m)(),t=(0,c.useRef)(),r=(0,z.t)(t),a="mobile"===i,s=(0,c.useRef)({}),o=(0,c.useRef)(),l=()=>{r.current&&(o.current=1,s.current[o.current]&&s.current[o.current]())},d=()=>{r.current&&setTimeout(()=>{o.current+=1,s.current[o.current]&&s.current[o.current]()},450)},m=(0,c.useCallback)((e,i)=>{s.current[e]=i},[]);(0,c.useEffect)(()=>{e&&e(l)},[r.current]);let h={animationPath:"/forDevelopers/requirementsAnimatedCards/chat.json",text:"Excellent communication and English skills",registerPlayTrigger:m,triggerName:1,onComplete:d},g={animationPath:"/forDevelopers/requirementsAnimatedCards/speed.json",text:"A fast, reliable computer and internet connection",registerPlayTrigger:m,triggerName:2,onComplete:d},p={animationPath:"/forDevelopers/requirementsAnimatedCards/planet.json",text:"Overlap with clients' business hours for real-time collaboration",registerPlayTrigger:m,triggerName:3,onComplete:d},u={animationPath:"/forDevelopers/requirementsAnimatedCards/code.json",text:"Adherence to coding standards and QA best practices",registerPlayTrigger:m,triggerName:4,onComplete:d},f={animationPath:"/forDevelopers/requirementsAnimatedCards/hi5.json",text:"A positive and collaborative attitude",registerPlayTrigger:m,triggerName:5,onComplete:d},j={animationPath:"/forDevelopers/requirementsAnimatedCards/book.json",text:"An interest in staying current with the latest industry trends",registerPlayTrigger:m,triggerName:6,onComplete:d},y={animationPath:"/forDevelopers/requirementsAnimatedCards/codeOfConduct.json",text:"Abide by our Code of Conduct",registerPlayTrigger:m,triggerName:7,onComplete:l};return(0,n.jsxs)(v,{ref:t,children:[null!==i&&!a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)($,{children:[(0,n.jsx)(w,{...h}),(0,n.jsx)(w,{...g}),(0,n.jsx)(w,{...p}),(0,n.jsx)(w,{...u})]}),(0,n.jsxs)($,{children:[(0,n.jsx)(w,{...f}),(0,n.jsx)(w,{...j}),(0,n.jsx)(w,{...y})]})]}),null!==i&&a&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(A,{children:[(0,n.jsx)(w,{...h}),(0,n.jsx)(w,{...g})]}),(0,n.jsxs)(A,{children:[(0,n.jsx)(w,{...p}),(0,n.jsx)(w,{...u})]}),(0,n.jsxs)(A,{children:[(0,n.jsx)(w,{...f}),(0,n.jsx)(w,{...j})]}),(0,n.jsx)(A,{children:(0,n.jsx)(w,{...y})})]})]})},P=({registerTrigger:e})=>{let i=(0,c.useRef)(!1),t=(0,c.useRef)(),r=(0,z.A)(t),a=(0,c.useRef)({});return(0,c.useEffect)(()=>{r?(i.current||setTimeout(()=>{a.current()},450),i.current=!0):i.current=!1},[r]),(0,n.jsx)("span",{ref:t,style:{zIndex:3},children:(0,n.jsx)(k,{registerTrigger:e=>{a.current=e}})})};var T=t(69794);let C=({title:e,subtitle:i,showBackground:t=!0})=>(0,n.jsxs)(g,{children:[t&&(0,n.jsx)(T.A,{top:"-3rem",height:"43rem"}),(0,n.jsxs)(p,{children:[(0,n.jsx)(l.A,{rawHtml:e,lightSize:2,lightWeight:"normal",heavySize:2.5,heavyWeight:"bold",lightSizeMobile:1.75,lightWeightMobile:"normal",heavySizeMobile:2,heavyWeightMobile:"bold"}),(0,n.jsx)(u,{children:i}),(0,n.jsx)(P,{}),t&&(0,n.jsx)(T.A,{showInMobile:!0,showInDesktop:!1,color:h.Tj.neutral["0"],top:"-8rem",height:"10rem",zIndex:1})]})]});var S=t(49024),Y=t(8601);let _=m.Ay.div`
82  max-width: ${h.l8.article};
83  margin: 3rem auto;
84`;var R=t(95062),D=t.n(R),K=t(30801),H=t(18847);let E=t.n(H)()(()=>t.e(75641).then(t.bind(t,75641)),{loadableGenerated:{webpack:()=>[75641]},loadableGenerated:{webpack:()=>[75641]}}),M=({steps:e})=>(0,n.jsx)(_,{children:e.map(({number:i,title:t,text:r,rawHtml:a,link:s,subitems:o},l)=>(0,n.jsx)(E,{rawHtml:a,number:i,title:t,text:r,link:s,subitems:o,last:l===e.length-1},i))});M.propTypes={steps:D().arrayOf(D().shape(K.A))};let O=m.Ay.header`
85  max-width: ${h.l8.article};
86  margin: 0 auto;
87  display: flex;
88  align-items: self-start;
89`,N=m.Ay.div`
90  &:nth-of-type(1) {
91    text-align: center;
92    max-width: 2.75rem;
93    padding: 2.5rem 1rem 1rem 0;
94  }
95  &:nth-of-type(2) {
96    padding-left: 1rem;
97  }
98`,B=m.Ay.p`
99  margin: 0;
100  margin-top: 1rem;
101  font-family: ${h.gx.family.OpenSans};
102  font-size: ${h.gx.size.lg};
103`;var I=t(6820);
103let q=({rawHtmlTitle:e,subtitle:i})=>(0,n.jsxs)(O,{children:[(0,n.jsx)(N,{children:(0,n.jsx)(I.B,{})}),(0,n.jsxs)(N,{children:[(0,n.jsx)(l.A,{rawHtml:e,heavySize:3.5,heavyWeight:"bold",heavySizeMobile:2.5,lightSize:1.5,lightSizeMobile:1.25,lightWeight:"normal",lightWeightMobile:"normal"}),(0,n.jsx)(B,{children:i})]})]});var W=t(15039),F=t.n(W);let V=m.Ay.h4`
104  font-family: ${h.gx.family.Poppins};
105  font-size: ${h.gx.size.lg};
106  font-weight: ${h.gx.weight.semiBold};
107  text-align: center;
108  line-height: calc(${h.gx.size.lg} * 1.25);
109  color: ${h.Tj.neutral["900"]};
110  margin: ${h.YK["0.5x"]} 0;
111  @media screen and (min-width: ${h.fi.sm}) {
112    text-align: left;
113    margin: ${h.YK["0.5x"]} 0;
114  }
115`,L=m.Ay.div`
116  transition: all 0.6s;
117  position: relative;
118  background-color: ${h.Tj.neutral["0"]};
119  border-radius: calc(${h.PQ.radius} * 4);
120  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.05);
121  max-width: calc(${h.l8.article});
122  margin: 0 auto;
123  @keyframes enterText {
124    0% {
125      opacity: 0;
126    }
127    30% {
128      opacity: 0;
129    }
130    100% {
131      opacity: 1;
132    }
133  }
134  z-index: 120; // fix the Header z-index overlapping
135`,Q=m.Ay.div`
136  transition: all 0.6s;
137  align-items: center;
138  padding: ${h.YK.base};
139  max-width: calc(${h.l8.article} - ${h.YK["2x"]});
140
141  @media screen and (min-width: ${h.fi.sm}) {
142    display: flex;
143    flex-direction: column;
144  }
145
146  > div {
147    @media screen and (min-width: ${h.fi.sm}) {
148      flex: 1 0 auto;
149    }
150    &:first-child {
151      flex: 3 1 auto;
152      margin: 0 0 ${h.YK.base} 0;
153    }
154    &:nth-of-type(2) {
155      @media screen and (max-width: ${h.fi.sm}) {
156        display: block;
157        width: 100% !important;
158        margin-top: ${h.YK.base};
159      }
160    }
161  }
162  @media (min-width: ${h.fi.sm}) {
163    flex-direction: row;
164    margin: 0 auto;
165    padding: ${h.YK["2x"]} calc(${h.YK["2x"]} * 2);
166    > div {
167      width: calc(${h.YK["3.5x"]} * 4);
168      &:first-child {
169        margin: 0 ${h.YK.base} 0 0;
170        width: auto;
171      }
172    }
173  }
174`,U=m.Ay.section`
175  &.cta-sticky {
176    ${L} {
177      position: fixed;
178      bottom: var(--container-bottom);
179      left: 0;
180      border-radius: 0;
181      padding: 0 ${h.YK.base};
182      box-shadow: 0 -2px 24px 0 rgba(0, 0, 0, 0.05);
183      width: calc(100vw - ${h.YK["1.5x"]});
184      max-width: unset;
185    }
186    ${Q} {
187      flex-direction: row;
188      padding: ${h.YK.base};
189      width: auto;
190      > div {
191        width: calc(${h.YK["3.5x"]} * 1);
192        min-width: calc(${h.YK["3.5x"]} * 3);
193        &:first-child {
194          width: auto;
195          margin: 0;
196        }
197      }
198    }
199    ${V} {
200      font-size: ${h.gx.size.lg};
201      margin: 0;
202      @media (min-width: ${h.fi.sm}) {
203        font-size: ${h.gx.size.lg};
204        line-height: calc(${h.gx.size.lg} * 1.25);
205      }
206    }
207  }
208  &.cta-relative {
209    ${L} {
210      position: relative;
211    }
212  }
213  padding: 0 ${h.YK.base};
214  margin-top: ${({marginTop:e})=>e||null};
215  margin-bottom: ${({marginBottom:e})=>e||null};
216  @media (min-width: ${h.fi.sm}) {
217    padding: 0;
218  }
219`,X=({title:e,children:i,initialHeight:t,marginTop:r,marginBottom:a})=>{let s=(0,c.useRef)(),o=(0,c.useRef)(),[l,d]=(0,c.useState)(!0),[m,h]=(0,c.useState)("-100px"),g=(0,c.useCallback)(()=>{if(!s.current)return;let e=document.body,i=document.documentElement,n=t;n||(n=.4*Math.max(e.scrollHeight,e.offsetHeight,i.clientHeight,i.scrollHeight,i.offsetHeight));let r=document.documentElement.clientHeight,a=window.pageYOffset,l=s?.current?.getBoundingClientRect(),c=o?.current.getBoundingClientRect(),m=-c.height;if(a+r/2>=n){let e=(a+r/2-n)/2;e>c.height?m=0:e>=0&&e<=c.height&&(m=e-c.height)}l?.top+150<r?d(!1):l?.top>0&&l?.top+150>=r&&d(!0),h(`${m}px`)});return(0,c.useEffect)(()=>{window.addEventListener("scroll",g,!1)},[]),(0,n.jsx)(U,{className:F()({"cta-sticky":l}),ref:s,marginTop:r,marginBottom:a,children:(0,n.jsx)(L,{style:{"--container-bottom":m},ref:o,children:(0,n.jsxs)(Q,{children:[(0,n.jsx)("div",{children:(0,n.jsx)(V,{children:e})}),(0,n.jsx)("div",{children:i})]})})})};X.propTypes={title:D().string,text:D().string,marginTop:D().string,marginBottom:D().string,initialHeight:D().number};var G=t(12893),J=t(73804);let Z=m.Ay.div`
220  font-size: ${h.gx.size["2xl"]};
221  @media (min-width: ${h.fi.sm}) {
222    font-size: 2.25rem;
223  }
224  font-weight: ${h.gx.weight.bold};
225`,ee=m.Ay.div`
226  font-size: ${h.gx.size.lg};
227  @media (min-width: ${h.fi.sm}) {
228    font-size: ${h.gx.size.xl};
229  }
230  font-family: ${h.gx.family.Poppins};
231  font-weight: ${h.gx.weight.semiBold};
232`,ei=m.Ay.div`
233  font-size: ${h.gx.size.base};
234  margin-top: 0.2rem;
235`;var et=t(89099);let en=()=>(0,n.jsx)(ee,{children:"We are not currently accepting applications for this position."}),er=({acceptApplications:e})=>{let i=1===parseInt((0,et.useRouter)().query.hb);return e?i?null:(0,n.jsxs)(J.A,{onClose:null,children:[(0,n.jsx)(Z,{"data-testid":"banner-title",children:"Welcome to Scalable Path!"}),(0,n.jsx)(ee,{children:"Placing developers around the world on top client projects since 2010"}),(0,n.jsx)(ei,{children:"Have a look at the Job description below and apply if you think you are a good fit!"})]}):(0,n.jsx)(J.A,{onClose:null,children:(0,n.jsx)(en,{})})};var ea=t(75760);let es=m.Ay.main`
236  position: relative;
237  width: 100%;
238  min-height: 100vh;
239  overflow: hidden;
240`,eo=m.Ay.div`
241  padding-top: ${h.YK["6x"]};
242`,el=m.Ay.div`
243  margin-top: 7rem;
244  margin-bottom: 6.5rem;
245  position: relative;
246  @media (min-width: ${h.fi.lg}) {
247    margin-top: 9rem;
248  }
249`,ed=m.Ay.div`
250  text-align: center;
251  max-width: 60rem;
252  margin: 0 auto;
253  margin-bottom: 4rem;
254  padding: 0 1rem;
255  @media (min-width: ${h.fi.lg}) {
256    margin-bottom: 0;
257  }
258`,ec=m.Ay.div`
259  margin-top: 9rem;
260  margin-bottom: 9rem;
261  position: relative;
262`,em=m.Ay.div`
263  margin-top: 8rem;
264  padding: 0 1rem;
265  @media (min-width: ${h.fi.sm}) {
266    padding: 0;
267  }
268`,eh=m.Ay.div`
269  position: relative;
270`,eg=m.Ay.div`
271  max-width: 90rem;
272  margin: ${h.YK["2x"]} auto 0;
273  background-color: ${h.Tj.secondary["100"]};
274  border-radius: ${h.r8.sm};
275  padding: ${h.YK.base};
276
277  @media screen and (min-width: ${h.fi.sm}) and (max-width: ${ea.breakpointsMax.xl}) {
278    max-width: 90vw;
279  }
280`;var ep=t(40913);let eu=({position:e,positionUid:i,slug:t})=>{let r=e?.name&&`View Position | ${e.name} | Scalable Path\xae`,a=e?.company_description&&`${e.company_description}`,s=G.A.candidateFacingPositionPage({positionUid:i,slug:t});
280return(0,n.jsx)(ep.A,{title:r,description:a,openGraph:{title:r,url:s},twitterCard:{title:r}})};var ex=t(83709),ef=t(12865);let ej=m.Ay.div`
281  position: relative;
282`,ey=(0,m.Ay)(ef.kQ)`
283  display: none;
284  position: absolute;
285  left: ${h.YK.base};
286  @media (min-width: ${h.fi.m}) {
287    display: block;
288  }
289`,eb=(0,m.Ay)(ef.kQ)`
290  position: absolute;
291  bottom: 0;
292  right: ${h.YK["0.5x"]};
293  display: none;
294  @media (min-width: ${h.fi.m}) {
295    display: block;
296  }
297`;var ew=t(26407),ev=t(92871);let e$=({faq:e,opened:i=-1})=>(0,n.jsxs)(ej,{children:[(0,n.jsx)(ey,{translateY:[-50,159],children:(0,n.jsx)(ew.A,{numHorizontalDots:4,numVerticalDots:13})}),(0,n.jsx)(eg,{children:(0,n.jsx)(ex.A,{item:!0,start:3,col:8,children:(0,n.jsx)(ev.A,{faq:e,opened:i})})}),(0,n.jsx)(eb,{translateY:[-100,80],children:(0,n.jsx)(ew.A,{numHorizontalDots:3,numVerticalDots:13})})]});e$.propTypes={faq:D().shape({title:D().string,subTitle:D().string,sections:D().arrayOf(D().object)}),opened:D().number};var eA=t(53796),ez=t(18730),ek=t(56274),eP=t(79959),eT=t.n(eP);let eC=({me:e,position:i,positionUid:t,slug:r,jsons:m})=>{let h=(0,c.useRef)(),g=m["view-position.how-it-works"],p=m["view-position.benefits"],u=m["view-position.faq"],[x,f]=(0,c.useState)(1),j=`/view-position/${i.uid}/${eT()(i.name)}`;return(0,n.jsxs)(es,{children:[(0,n.jsx)(eu,{position:i,positionUid:t,slug:r}),(0,n.jsx)(S.A,{user:e,position:i,baseRoute:j}),(0,n.jsxs)(ez.A,{children:[(0,n.jsx)(eA.A,{hideUserOptions:!e}),(0,n.jsx)(eo,{children:(0,n.jsx)(ex.A,{container:!0,children:(0,n.jsxs)(ex.A,{item:!0,start:1,col:8,children:[(0,n.jsx)(er,{acceptApplications:i.accept_applications}),(0,n.jsx)(d.A,{ref:h,showSkillLevel:!1,showTooltips:!1,position:i,showApplyButton:i.accept_applications,buttonId:"apply_p_jobs",positionUid:t,slug:r})]})})}),g&&(0,n.jsxs)(eh,{children:[(0,n.jsx)(o.A,{top:"1rem",left:"1rem",translateY:[-30,39],numHorizontalDots:4,numVerticalDots:13,showInMobile:!1,showInDesktop:!0}),(0,n.jsx)(ex.A,{container:!0,children:(0,n.jsx)(ex.A,{item:!0,start:1,col:8,children:(0,n.jsx)(em,{children:(0,n.jsx)(q,{rawHtmlTitle:g.rawHtmlTitle,subtitle:g.subtitle})})})}),(0,n.jsx)(eg,{container:!0,children:(0,n.jsx)(ex.A,{item:!0,start:1,col:8,children:(0,n.jsx)(M,{steps:g.steps})})})]}),(0,n.jsx)(s.A,{}),p&&(0,n.jsxs)(el,{children:[(0,n.jsx)(o.A,{top:"1rem",left:"1rem",translateX:[-30,39],numHorizontalDots:12,numVerticalDots:13,showInMobile:!1,showInDesktop:!0}),(0,n.jsx)(ex.A,{container:!0,children:(0,n.jsxs)(ex.A,{item:!0,start:1,col:8,children:[(0,n.jsx)(ed,{children:(0,n.jsx)(l.A,{rawHtml:p.heading,lightSize:1.25,lightWeight:"normal",heavySize:2,heavyWeight:"semiBold",lightSizeMobile:1,lightWeightMobile:"normal",heavySizeMobile:1.5,heavyWeightMobile:"semiBold"})}),(0,n.jsx)(Y.A,{addBorders:!0,benefits:p.benefits})]})})]}),u&&(0,n.jsx)(e$,{faq:u}),(0,n.jsxs)(ec,{children:[(0,n.jsx)(o.A,{top:"1rem",left:"1rem",translateY:[-70,-20],numHorizontalDots:4,numVerticalDots:13,showInMobile:!1,showInDesktop:!0}),(0,n.jsx)(ex.A,{container:!0,children:(0,n.jsx)(ex.A,{item:!0,start:1,col:8,children:(0,n.jsx)(C,{showBackground:!1,title:"<h2><span>Requirements</span> For Freelancers</h2>",subtitle:"Scalable Path holds its contractors to the highest standards. Developers often participate in daily virtual meetings and collaborate directly with clients. Here’s what it takes to be a part of our team."})})})]}),x&&i.accept_applications&&(0,n.jsx)(X,{title:i.name,marginTop:"4rem",marginBottom:"6rem",initialHeight:x,children:(0,n.jsx)(a.A,{id:"apply_p_stickynav",type:"primary",link:!0,block:!0,href:G.A.candidateFacingPositionPage({positionUid:t,slug:r}),children:"Apply Now"})}),(0,n.jsx)(ek.w,{})]})]})};var eS=!0;function eY(e){return(0,n.jsx)(r.vu,{children:(0,n.jsx)(ef.zE,{children:(0,n.jsx)(eC,{...e})})})}},31812:(e,i,t)=>{"use strict";t.d(i,{A:()=>r});var n=t(79350);let r=(0,n.J1)`
298  query LoggedIn($flashReferer: String) {
299    loggedIn(flashReferer: $flashReferer) {
300      username
301      mainDashboardRoute
302    }
303  }
304`},46871:(e,i,t)=>{"use strict";t.d(i,{ub:()=>l,hf:()=>d});var n=t(18047),r=t.n(n),a=t(93007),s=t.n(a);t(85820),t(38871),t(74055),t(31812);var o=t(79350);function l(e,i){if(!e._policies)throw Error("ERROR checkObjectAccess: object does not have _policies");return e._policies.includes(i)}function d(e,i){return s()(e)?r()(i,e).length>0:i.includes(e)}(0,o.J1)`
305  mutation UpdateBooking($message: String!, $type: String!) {
306    setFlashMessage(message: $message, type: $type) {
307      success
308      message
309      me {
310        id
311        mainDashboardRoute
312        username
313      }
314    }
315  }
316`},49024:(e,i,t)=>{"use strict";t.d(i,{A:()=>w});var n=t(37876),r=t(22748),a=t(64177),s=t(78248),o=t(38871),l=t(18730),d=t(97199),c=t(36595),m=t(36130),h=t(13808),g=t(96367),p=t(6175),u=t(45413),x=t(53484),f=t(46871),j=t(89099),y=t(14232);let b=({position:e,baseRoute:i,actionsPosition:t="default"})=>{let[r,o]=(0,y.useState)(null),{enqueueSnackbar:f}=(0,l.d)(),[b]=(0,a.n)(c.A),[w]=(0,a.n)(d.A),[v]=(0,a.n)(m.A),[$,A]=(0,y.useState)(!1),[z,k]=(0,y.useState)(null),[P,T]=(0,y.useState)(!1),C=(0,j.useRouter)(),[S,{called:Y,loading:_,error:R,data:D}]=(0,s._)(h.A);(0,y.useEffect)(()=>{Y||_||S({variables:{uid:e.uid}}),K()},[]),(0,y.useEffect)(()=>{!_&&!R&&D&&D.positionActions&&k(D.positionActions)},[D]);let K=()=>{let i=C.asPath.split("/");"position"===i[i.length-2]&&i[i.length-1]===e.id&&o(e.id)},H=z&&z.map(t=>t.label?{...t,href:t.url??null,onClick:(n,r)=>((t,n,{onClose:r})=>{if("edit-internal-info"===t.class&&(C.push(`${i}/position/${e.id}`),o(e.id)),!t.url)switch(t.class){case"clone-position":b({variables:{uid:e.uid}}).then(e=>{f({type:"success",title:"The position has been cloned successfully."});let{euid:i,slug:t}=e.data.clonePosition;window.location=`/job/${i}/${t}`}).catch(e=>{f({type:"error",title:"Failed to clone the position. Please try again later."})});break;case"send-client-update":A(!0);break;case"calculate-score":w({variables:{uid:e.uid}}).then(e=>{f({type:"success",title:e.data.calculateScore.message})}).catch(e=>f({type:"error",title:"Failed to calculate the score. Please try again later. "+e.message}));break;case"reindex-candidates":v({variables:{uid:e.uid}}).then(e=>{f({type:"success",title:e.data.reindexCandidates.message})}).catch(e=>f({type:"error",title:"Failed to reindex the candidates. Please try again later. "+e.message}));break;case"delete-position":e.id,T(()=>!0)}"function"==typeof r&&setTimeout(()=>r(n),500)})(t,n,r)}:t);return H?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(p.A,{actions:H,onOpen:()=>{S({variables:{uid:e.uid}})},actionsPosition:t}),r&&(0,n.jsx)(x.A,{positionId:r,onClose:()=>{o(null),C.push(i)}}),(0,n.jsx)(g.A,{open:$,uid:e.uid,onClose:e=>A(!1)}),P&&(0,n.jsx)(u.A,{onClose:()=>{T(()=>!1)},rowSelection:[0],positions:[e]})]}):null},w=({user:e,position:i,baseRoute:t="",actionsPosition:a="default"})=>(0,f.hf)(["admin","staffing"],e?.access?.permissions)?(0,n.jsx)(r.X,{client:o.A,children:(0,n.jsx)(b,{position:i,baseRoute:t,actionsPosition:a})}):null},52876:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/view-position/[[...params]]",function(){return t(25141)}])},73804:(e,i,t)=>{"use strict";t.d(i,{A:()=>g});var n=t(37876);t(14232);var r=t(95062),a=t.n(r),s=t(87856),o=t(51733),l=t(95778);let d=s.Ay.div`
317  font-family: ${o.gx.family.OpenSans};
318  background-color: ${o.Tj.secondary["500"]};
319  color: ${o.Tj.neutral["0"]};
320  position: relative;
321  margin: auto;
322  margin-bottom: ${({bottomMargin:e})=>o.YK[e]};
323  padding: ${o.YK.base};
324  @media (min-width: ${o.fi.sm}) {
325    border-radius: ${o.r8.sm};
326  }
327`,c=s.Ay.div`
328  position: absolute;
329  right: 0.35rem;
330  top: 0.35rem;
331  font-size: ${o.gx.size.base};
332`,m=e=>(0,n.jsx)(l.A,{transparentBg:!0,color:o.Tj.neutral["0"],...e}),h=({onClose:e,children:i,bottomMargin:t="2x"})=>(0,n.jsxs)(d,{bottomMargin:t,children:[e&&(0,n.jsx)(c,{children:(0,n.jsx)(m,{"data-testid":"banner-close-button",onClick:e})}),i]});h.propTypes={onClose:a().func,children:a().oneOfType([a().arrayOf(a().node),a().node]),bottomMargin:a().oneOf(["1.5x","2x"])};let g=h}},e=>{e.O(0,[11289,26751,27072,41410,50876,49265,39070,53484,1684,60910,24387,90636,46593,38792],()=>e(e.s=52876)),_N_E=e.O()}]);
333//# sourceMappingURL=[[...params]]-b39c86c74670afd5.js.map
334//# chunkId=01a0f383-0184-7610-9251-eeb7a875a467

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.