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-01fa-7b63-80ac-da0455fb7c5a")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[25045],{16294:(e,l,t)=>{t.d(l,{Ay:()=>m,Eo:()=>c});var s=t(37876),i=t(14232),r=t(72649),a=t.n(r),n=t(97696);let o=(e,l)=>{let t=e.filter(e=>0!==e.value||null===e.value).sort((e,l)=>e.sys_value===l.sys_value&&e.sp_value&&l.sp_value?l.sp_value-e.sp_value:l.sys_value-e.sys_value).map(e=>({...e,order:`f - ${e.name}`,mustKnow:!0})).filter(l=>!e.find(e=>parseInt(e.skill_id)===parseInt(l.skill_id)&&e.value>0)).slice(0,10),s=e.filter(e=>e.value>0||null===e.value).reduce((t,s)=>{let i=l.find(e=>e.skill_id==s.skill_id);if(!i)return t;let r=[...t];null!==s.value||r.find(e=>e.skill_id==s.skill_id)||r.push({...s,order:`a - ${i.name}`,mustKnow:!0});let a={1:"e",2:"d",3:"c",4:"b",5:"a"};return i.mustKnowSkills.forEach(l=>{!r.find(e=>e.skill_id==l.skill_id)&&(e.find(e=>parseInt(e.skill_id)===parseInt(l.skill_id))||r.push({...l,order:`b - ${a[s.value]} - ${l.name}`,mustKnow:!0}))}),r},[]).sort((e,l)=>e.order.localeCompare(l.order)).filter(l=>!e.find(e=>parseInt(e.skill_id)===parseInt(l.skill_id)&&e.value>0)).slice(0,10),i=[];if(t.length>0&&0===s.length)i.push(...t);else if(0===t.length&&s.length>0)i.push(...s);else if(t.length>0&&s.length>0){let e=t.filter(e=>!s.find(l=>l.skill_id==e.skill_id));i.push(...e,...s),i=i.slice(0,10)}return i},d=(e,l={})=>{let{type:t,payload:s}=l;switch(t){case"LOAD_DATA":{s.skillTypes.map(e=>(e.skill_subtypes=e.skill_subtypes.sort(n.eh),e));let l=0,t=[];s.skillTypes.forEach(e=>{t.push({href:`#${e.slug}`,label:`${e.name}`,children:e.skill_subtypes.map(t=>(l+=t.counter_rated,{parentHref:`#${e.slug}`,href:`#${t.slug}`,label:t.name}))})});let i=[];return s.skillTypes.forEach(e=>{e.skill_subtypes.forEach(l=>{l.skills.forEach(t=>{i.push({id:`skill-${t.slug}`,name:t.name,skillSubType:{id:`#${l.slug}`},skillType:{id:`#${e.slug}`}})})})}),i.sort(n.eh),s.mySkills=((e,l)=>{if(e){let t=[];return e.forEach(e=>{let s=e.rate;e.rate&&l.find(l=>l.title.toLowerCase()===e.rate.toLowerCase())&&(s=l.find(l=>l.title.toLowerCase()===e.rate.toLowerCase())?.rate),t=[...t,...e.skills.map(e=>({...e,rate:s}))]}),t.sort((e,l)=>e.rate===l.rate?e.name.localeCompare(l.name):e.rate-l.rate),t}return[]})(s.skillRates,s.sections),s.suggestions=o(s.mySkills,s.skills),{...e,...s,skillsMenu:t,skillOptions:i,totalSkillsSelected:l}}case"UPDATE_COUNTER":let i=a()(e);for(let e=0;e<i.skillTypes.length;e++){let l,t=i.skillTypes[e];for(let e=0;e<t.skill_subtypes.length;e++){let i=t.skill_subtypes[e],r=i.skills.findIndex(e=>e.id===s.skill_id);if(-1!==r){i.skills[r].value=s.value,t.counter_rated=t.skill_subtypes.filter(e=>e.skills.filter(e=>null!==e.value).length>0).length,i.counter_rated=i.skills.filter(e=>null!==e.value).length,l=!0;break}}if(l)break}return Object.assign({},{...i});case"UPDATE_SKILLS_SELECTED":{let l=a()(e),t=[...l.mySkills],i=t.findIndex(e=>e.skill_id==s.skill_id);i>-1?t[i]={...t[i],...s,rate:s.sp_value||s.value}:t.push({...s,rate:s.value}),t.sort((e,l)=>e.rate===l.rate?e.name.localeCompare(l.name):e.rate-l.rate);let r=o(t,l.skills),n=t.filter(e=>e.value>0).length;return Object.assign({},{...l,totalSkillsSelected:n,mySkills:t,suggestions:r})}case"ADD_OTHER_SKILL":let r=[...e.otherSkills];return r.unshift({id:s.id,name:s.name,value:s.value}),{...e,...{otherSkills:[...r]}};case"REMOVE_OTHER_SKILL":return{...e,...{otherSkills:[...e.otherSkills].filter(({id:e})=>e!==s.id)}};case"RATE_OTHER_SKILL":let{totalSkillsSelected:d}=Object.assign({},e),u=[...e.otherSkills].map(e=>(e.id===s.id&&(e.value=s.value,s.value?d++:d--),e));return{...e,...{otherSkills:[...u]},totalSkillsSelected:d}}return e},u=(0,i.createContext)(null);function c(){return(0,i.useContext)(u)}let h=[{title:"Master",stars:5,rate:5},{title:"Expert",stars:5,rate:4},{title:"Proficient",stars:5,rate:3},{title:"Familiar",stars:5,rate:2},{title:"Beginner",stars:5,rate:1}];function m({data:e,children:l}){let[t,r]=(0,i.useState)([]),[a,n]=(0,i.useState)([]),[o,c]=(0,i.useReducer)(d,{id:"",candidateCompleteness:{},careerFocuses:[],first_name:"",mySkills:[],otherSkills:[],skillsMenu:[],skillOptions:[],skillTypes:[],skills:[],suggestions:[],totalSkillsSelected:0,username:"",show_experience:!1,show_education:!1,sections:h},d);return(0,i.useEffect)(()=>{c({type:"LOAD_DATA",payload:{...e,sections:h}})},[e,c]),(0,i.useEffect)(()=>{let l=[],t=[];
1e.skillTypes.forEach(s=>{let i=e.careerFocuses?.filter(e=>{switch(e.name?.toLowerCase()){case"developer":return"development"===s.name.toLowerCase();case"designer":return"design"===s.name.toLowerCase();default:return e.name?.toLowerCase()===s.name.toLowerCase()}}).length>0;(s.counter_rated>0||i)&&l.push(`#${s.slug}`),s.skill_subtypes.forEach(e=>{e.counter_rated>0&&t.push(`#${e.slug}`)})}),l.length&&(r(l),n(t))},[e]),(0,s.jsx)(u.Provider,{value:{...o,open:t,toggle:e=>{t.includes(e)?r(t.filter(l=>l!==e)):r([...t,e])},openSecondLevel:a,toggleSecondLevel:e=>{a.includes(e)?n(a.filter(l=>l!==e)):n([...a,e])},dispatch:c},children:l})}},34442:(e,l,t)=>{t.d(l,{A:()=>b});var s=t(37876);t(14232);var i=t(95062),r=t.n(i),a=t(15039),n=t.n(a),o=t(10159),d=t(87856),u=t(51733),c=t(68303),h=t(18627);let m=d.Ay.footer` 2 width: 100%; 3 max-width: 100%; 4 min-height: calc(${u.YK["0.25x"]} * 1.25); 5 display: flex; 6 align-items: center; 7 justify-content: space-between; 8 flex-direction: column; 9 padding: ${u.YK.base} 0; 10 text-align: center; 11 div { 12 ${c.FR}; 13 color: ${u.Tj.neutral["400"]}; 14 } 15 16 @media (min-width: ${u.fi.sm}) { 17 flex-direction: row; 18 margin: 0px; 19 } 20 &.embed-bottom { 21 padding: ${u.YK["2x"]} 0; 22 23 div:first-child { 24 padding-bottom: ${u.YK["1.75x"]}; 25 } 26 @media (min-width: ${u.fi.sm}) { 27 div:first-child { 28 padding-bottom: 0; 29 } 30 } 31 } 32 @media print { 33 display: none; 34 } 35`,f=d.Ay.footer` 36 width: 100%; 37 max-width: 100%; 38 background-color: ${u.Tj.neutral["900"]}; 39 40 &.hidden-mobile { 41 @media screen and (max-width: ${u.fi.sm}) { 42 visibility: hidden !important; 43 } 44 } 45 46 &.fixed-bottom { 47 position: sticky; 48 top: 100vh; 49 @media (min-width: ${u.fi.sm}) { 50 position: fixed; 51 top: unset; 52 bottom: 0; 53 left: 0; 54 } 55 } 56 57 &.sticky-bottom { 58 position: sticky; 59 ${""} 60 top: 100vh; 61 } 62 63 z-index: ${u.w4.zIndex.mobileStepper}; 64 65 > ${h.G} { 66 width: calc(100% - ${u.YK["2x"]}); 67 } 68`,p=d.Ay.span` 69 ${c.FR}; 70 color: ${u.Tj.neutral["0"]}; 71`,k=(0,d.Ay)(p)``,_=d.Ay.a` 72 ${c.FR}; 73 text-decoration: none; 74 color: ${u.Tj.neutral["0"]}; 75`;var g=t(83709);let y=new Date().getFullYear(),v=({position:e="sticky-bottom",layout:l,hiddenMobile:t=!1})=>{let i=(0,o.A)({value:u.ZN.sm}),r=n()({"fixed-bottom":"fixed-bottom"===e,"sticky-bottom":"sticky-bottom"===e,"hidden-mobile":!0===t}),a=n()({"embed-bottom":"embed-bottom"===e}),d=(0,s.jsx)(s.Fragment,{children:i?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:["Copyright ",y," ",(0,s.jsx)(k,{children:"Scalable Path"}),"."]}),(0,s.jsx)("div",{children:"Made globally from San Francisco, California."})]}):(0,s.jsxs)("div",{children:["Copyright ",y," ",(0,s.jsx)(p,{children:"Scalable Path"}),". Made globally from San Francisco, California."]})}),c=(0,s.jsxs)("div",{children:[(0,s.jsx)(_,{href:"/privacy-policy",children:"Privacy Policy"})," ",(0,s.jsx)(p,{children:"|"})," ",(0,s.jsx)(_,{href:"/terms-of-service",children:"Terms of Service"})]}),h=(0,s.jsxs)(s.Fragment,{children:[c," ",d]}),v=(0,s.jsxs)(s.Fragment,{children:[d," ",c]});return(0,s.jsx)(f,{className:r,children:(0,s.jsx)(g.A,{container:!0,children:(0,s.jsx)(g.A,{item:!0,col:8,children:(0,s.jsx)(m,{layout:l,className:a,children:i?h:v})})})})};v.propTypes={position:r().oneOf(["sticky-bottom","fixed-bottom","embed-bottom","none"]),layout:r().oneOf(["grid"])};let b=v}}]); 76//# sourceMappingURL=25045-507899ace1a165d3.js.map 77//# chunkId=01a0f383-01fa-7b63-80ac-da0455fb7c5a
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.