PageSourceSearch

https://2024berkshirepartnerscxosummit-706-morphic.netlify.app/2123-e0e9b05a7c17725714a0.js

js 2024berkshirepartnerscxosummit-706-morphic.netlify.app collected 2026-10-03 10:24:29 UTC 3,422 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkgatsby_template=self.webpackChunkgatsby_template||[]).push([[2123],{42123:function(e,t,l){l.r(t),l.d(t,{default:function(){return g}});var n=l(63696),a=l(42769),o=l(64917);const i=async e=>{try{let t=await o.A.get(`https://api.lever.co/v0/postings/${e}?group=department&mode=json`);const l=t.data.map(e=>(e.postings.sort((e,t)=>{var l,n,a,o;return(null==e||null===(l=e.categories)||void 0===l?void 0:l.team)===(null==t||null===(n=t.categories)||void 0===n?void 0:n.team)?null==e?void 0:e.text.localeCompare(null==t?void 0:t.text):null==e||null===(a=e.categories)||void 0===a?void 0:a.team.localeCompare(null==t||null===(o=t.categories)||void 0===o?void 0:o.team)}),e));return t.data=l,t}catch(l){var t;const e="Failed to fetch data. Please check that your integration settings are correct, and Make sure your Lever account has API access enabled.";return l.message=404===(null==l||null===(t=l.response)||void 0===t?void 0:t.status)?e:l.message,l}};var r=l(9636),s=l(6297),u=l(30884),c=l(99465),d=l(39757),m=l(56318),v=l(87796);var g=e=>{let{button:t,card:l,section:o,sectionTitle:g,positionsTitleColor:p,CareersAtsPositionsTitleColor:b,integration:E}=e;const h=(null==E?void 0:E.dataObj)||(null==E?void 0:E.data),{0:A,1:f}=(0,n.useState)(null),{0:y,1:k}=(0,n.useState)(null),{0:C,1:x}=(0,n.useState)(null);let w;return(0,n.useEffect)(()=>{const e=null==h?void 0:h.companyName;(null==e?void 0:e.length)>0&&(async e=>{try{k(!0),x("Loading...");const t=await i(e);f(t.data),k(!1),x(null),t.data||x("There are no job postings right now, but be on the look out as we're\nalways adding new positions.")}catch(t){console.log(t)}})(e)},[]),w=A&&(null==A?void 0:A.map((e,t)=>{var o,i,u,c,d;return n.createElement(a.A,null,n.createElement(s.A,{key:t,mb:5},n.createElement(s.A,{align:"center"===(null==g?void 0:g.align)?"center":"left"},(null==e||null===(o=e.postings[0])||void 0===o||null===(i=o.categories)||void 0===i?void 0:i.department)&&n.createElement(r.hE,{mb:4},null==e||null===(u=e.postings[0])||void 0===u||null===(c=u.categories)||void 0===c?void 0:c.department)),null==e||null===(d=e.postings)||void 0===d?void 0:d.map((t,a)=>{var o,i,u,c,d,v;return n.createElement(n.Fragment,null,n.createElement(s.A,{align:"center"===(null==g?void 0:g.align)?"center":"left"},0!==(null===(o=t.categories)||void 0===o?void 0:o.team.localeCompare(null==e||null===(i=e.postings[a-1])||void 0===i||null===(u=i.categories)||void 0===u?void 0:u.team))&&n.createElement(r.JU,{mb:5},null==t||null===(c=t.categories)||void 0===c?void 0:c.team)),n.createElement(m.A,{title:null==t?void 0:t.text,titleColor:p||b,location:null==t||null===(d=t.categories)||void 0===d?void 0:d.location,department:null==t||null===(v=t.categories)||void 0===v?void 0:v.department,link:{href:null==t?void 0:t.hostedUrl,linkText:null==t?void 0:t.text},card:l,idx:a,key:a}))})))})),n.createElement(d.A,o,n.createElement(s.A,{pb:{_:0,md:6}},g&&n.createElement(a.A,null,n.createElement(v.A,Object.assign({},g,{maxWidth:42,mb:{_:6,md:7}}))),n.createElement(s.A,{as:"ul",p:0,m:0,mx:"auto"},C&&n.createElement(r.JU,{mb:5,align:"center"===(null==g?void 0:g.align)?"center":"left"},C),w),t&&n.createElement(a.A,null,n.createElement(c.A,{flexDirection:"column",alignItems:"center",mt:{_:6,md:7}},n.createElement(u.A,Object.assign({"aria-label":"CTA button to 
1job listing info"},t))))))}}}]);
2//# sourceMappingURL=2123-e0e9b05a7c17725714a0.js.map

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.