PageSourceSearch

https://unitedtech.ai/_next/static/chunks/005pc2n-0k7z9.js

js unitedtech.ai collected 2026-10-04 18:49:43 UTC 7,379 bytes, 4 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="f4600619-5f78-5cb4-8294-4761c3337872")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,92539,84364,e=>{"use strict";var t=e.i(43476),l=e.i(71645);e.i(93649);var a=e.i(26683);function n({lines:e,visible:s,delay:r,as:i="span",className:c}){let[o,u]=(0,l.useState)(!1);return((0,l.useLayoutEffect)(()=>{if(!s||o)return;let t=r+(e.length-1)*90+650,l=window.setTimeout(()=>u(!0),t);return()=>window.clearTimeout(l)},[s,o,r,e.length]),o)?(0,t.jsx)(i,{className:c,children:e.map((e,l)=>(0,t.jsxs)("span",{className:e.className,children:[l>0?" ":null,e.content]},l))}):(0,t.jsx)(i,{className:c,children:e.map((e,l)=>(0,t.jsxs)("span",{children:[l>0?" ":null,(0,t.jsx)("span",{className:(0,a.cn)("inline-block overflow-hidden align-top",e.className),children:(0,t.jsx)("span",{className:"inline-block",style:{transform:s?"translateY(0)":"translateY(110%)",transition:"transform 650ms cubic-bezier(0.16, 1, 0.3, 1)",transitionDelay:`${r+90*l}ms`},children:e.content})})]},l))})}function s({text:e,visible:a,delay:r,as:i,className:c}){let{containerRef:o,words:u,lines:d}=function(e,t){let a=(0,l.useRef)(null),[n,s]=(0,l.useState)(null),[r,i]=(0,l.useState)(e);r!==e&&(i(e),s(null));let c=(0,l.useRef)(t);return(0,l.useLayoutEffect)(()=>{c.current=t},[t]),(0,l.useLayoutEffect)(()=>{let e=()=>{c.current||s(null)};return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]),(0,l.useLayoutEffect)(()=>{if(null!==n)return;let e=a.current;if(!e)return;let t=Array.from(e.querySelectorAll("[data-word]"));0!==t.length&&s(function(e){let t=[],l=null;for(let a of e){let e=a.offsetTop,n=(a.textContent??"").trim();null===l||Math.abs(e-l)>1?(t.push([n]),l=e):t[t.length-1].push(n)}return t.map(e=>e.join(" "))}(t))},[n]),{containerRef:a,words:e.split(" "),lines:n}}(e,a);return null===d?(0,t.jsx)("span",{ref:o,className:c,style:{visibility:"hidden"},children:u.map((e,l)=>(0,t.jsxs)("span",{"data-word":!0,children:[e,l<u.length-1?" ":""]},l))}):(0,t.jsx)(n,{visible:a,delay:r,as:i,className:c,lines:d.map(e=>({content:e}))})}e.s(["RevealLines",0,function({lines:e,visible:l,delay:r=0,as:i,className:c}){let o=1===e.length?e[0]:null;return o&&"string"==typeof o.content&&o.content.includes(" ")?(0,t.jsx)(s,{text:o.content,visible:l,delay:r,as:i,className:(0,a.cn)(c,o.className)}):(0,t.jsx)(n,{lines:e,visible:l,delay:r,as:i,className:c})}],84364),e.s([],92539)},13997,39407,e=>{"use strict";var t=e.i(43476),l=e.i(71645);let a="cubic-bezier(0.16, 1, 0.3, 1)",n={up:"translateY(28px)",left:"translateX(-40px)",right:"translateX(40px)"};function s({visible:e,delay:t=0,direction:l="up",duration:r=700}){let i="fade"===l?null:n[l];return{opacity:+!!e,transform:i?e?"translate(0, 0)":i:void 0,transition:i?`opacity ${r}ms ${a}, transform ${r}ms ${a}`:`opacity ${r}ms ${a}`,transitionDelay:`${t}ms`,willChange:e?void 0:i?"opacity, transform":"opacity"}}function r({visible:e,delay:t=0,direction:a="up",duration:n=700}){let[i,c]=(0,l.useState)(!1);return((0,l.useEffect)(()=>{if(!e)return;let l=setTimeout(()=>c(!0),t+n);return()=>clearTimeout(l)},[e,t,n]),i&&e)?{opacity:1}:s({visible:e,delay:t,direction:a,duration:n})}e.s(["Reveal",0,function({as:e="div",visible:l,delay:a,direction:n,duration:s,className:i,children:c}){return(0,t.jsx)(e,{className:i,style:r({visible:l,delay:a,direction:n,duration:s}),children:c})},"getRevealStyle",0,s,"getStaggerDelay",0,function(e,t=50,l=200){return Math.min(e*t,l)},"useRevealStyle",0,r],39407),e.s([],13997)},92970,e=>{"use strict";var t=e.i(43476),l=e.i(48148),a=e.i(71645);e.i(43581),e.i(93649);var n=e.i(3778);e.i(92539);var s=e.i(84364);e.i(37176);var r=e.i(31890),i=e.i(18566),c=e.i(70795);e.i(59862);var o=e.i(73459);e.i(13997);var u=e.i(39407),d=e.i(26683);function p({options:e,selected:l,onToggle:a,allLabel:n,className:s,style:i}){let c=e.filter(e=>"all"!==e.value),o=l.length>0&&l.length===c.length;return(0,t.jsx)("div",{className:(0,d.cn)("flex flex-wrap gap-x-4 gap-y-[10px] md:gap-y-4 lg:gap-x-8 lg:gap-y-4",s),style:i,children:e.map(e=>{let s;return(0,t.jsx)("button",{type:"button",onClick:()=>a(e.value),className:(0,d.cn)("cursor-pointer"),children:(0,t.jsxs)(r.Typography,{as:"span",variant:"body-l",className:(0,d.cn)("whitespace-nowrap transition-colors lg:text-title-s lg:font-normal lg:tracking-[-0.48px] flex gap-2",("all"===(s=e.value)?o:l.includes(s))?"text-cta":"text-light-grey opacity-40 hover:opacity-100 dark:opacity-100 dark:hover:text-cta"),
2children:[(0,t.jsxs)("span",{children:["all"===e.value?n:e.label," "]}),(0,t.jsx)("span",{children:e.count})]})},e.value)})})}let m="unit";function f({vacancy:e}){let{ref:l,visible:a}=(0,n.useReveal)();return(0,t.jsx)("div",{ref:l,className:"h-full",style:(0,u.getRevealStyle)({visible:a,direction:"up"}),children:(0,t.jsx)(c.JobCard,{variant:"card",href:`/vacancies/${e.slug}`,title:e.title,department:e.department,employmentType:e.workType,className:"h-full"})})}function h({vacancies:e,departmentOptions:l,allLabel:n,visible:s}){let r=(0,i.useSearchParams)(),c=(0,o.useRouter)(),d=(0,o.usePathname)(),x=(0,a.useMemo)(()=>l.filter(e=>"all"!==e.value).map(e=>e.value),[l]),[g,v]=(0,a.useState)(()=>{var e;return(!(e=r.get(m))?[]:e.split(",").filter(Boolean)).filter(e=>x.includes(e))}),y=(0,a.useMemo)(()=>g.length?e.filter(e=>g.includes(e.department)):e,[e,g]);return(0,t.jsxs)("div",{className:"flex flex-col",children:[(0,t.jsx)(p,{options:l,selected:g,onToggle:function(e){let t;v(t="all"===e?g.length===x.length?[]:x:g.includes(e)?g.filter(t=>t!==e):[...g,e]),c.replace({pathname:d,query:t.length?{[m]:t.join(",")}:{}},{scroll:!1})},allLabel:n,style:(0,u.getRevealStyle)({visible:s,direction:"up"})}),(0,t.jsx)("div",{"aria-hidden":!0,className:"relative left-1/2 mt-[25px] mb-8 w-screen -translate-x-1/2 border-t border-dashed border-dash-stroke"}),(0,t.jsx)("div",{className:"grid grid-cols-1 gap-4 py-2 md:grid-cols-2 lg:gap-8 lg:py-0",children:y.map(e=>(0,t.jsx)(f,{vacancy:e},e.id))})]})}e.s(["VacanciesPage",0,function({vacancies:e}){let i=(0,l.useTranslations)("vacancies"),c=function(e){let t=[{value:"all",label:"All",count:e.length}],l={};for(let[a,n]of(e.forEach(e=>{l[e.department]=(l[e.department]||0)+1}),Object.entries(l)))t.push({value:a,label:a,count:n});return t}(e),{ref:o,visible:u}=(0,n.useReveal)();return(0,t.jsxs)("div",{className:"relative mx-auto w-full max-w-[1440px]",children:[(0,t.jsx)("div",{"aria-hidden":!0,className:"pointer-events-none absolute inset-y-0 right-4 border-r border-dashed border-dash-stroke"}),(0,t.jsxs)("div",{className:"px-4 pb-16 pt-20 lg:max-w-[1246px] mx-auto lg:pt-[88px]",children:[(0,t.jsx)("div",{ref:o,children:(0,t.jsx)(r.Typography,{as:"h1",variant:"title-m",className:"text-light-grey tracking-[-1.28px] lg:text-title-l lg:font-medium lg:tracking-[-1.56px]",children:(0,t.jsx)(s.RevealLines,{visible:u,lines:[{content:i("title")}]})})}),(0,t.jsx)("div",{className:"pt-[44px]",children:(0,t.jsx)(a.Suspense,{children:(0,t.jsx)(h,{vacancies:e,departmentOptions:c,allLabel:i("filters.all"),visible:u})})})]})]})}],92970)}]);
3
4//# debugId=f4600619-5f78-5cb4-8294-4761c3337872

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.