PageSourceSearch

https://jobs.actemium.ch/_next/static/chunks/_next/static/chunks/3711.fb03ee2d6a13e979.js

js actemium.ch collected 2026-10-07 00:03:36 UTC 54,430 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3711],{5884:(e,t,i)=>{i.d(t,{G:()=>u});var o=i(37876),n=i(5646),a=i(17370),r=i(38924),l=i(79870),d=i(55952),s=i(97144);let c=n.Ay.div.withConfig({displayName:"HeadlineWithText__Container",componentId:"sc-1ll9jpy-0"})(["display:flex;flex-direction:column;row-gap:32px;@media ",",print{row-gap:48px;}"],a.bp.t),p=(0,n.Ay)(l.H2).withConfig({displayName:"HeadlineWithText__Title",componentId:"sc-1ll9jpy-1"})([""," "," ","  word-break:break-word;@media ",",print{","}"],l.R_,({$align:e})=>e&&(0,r.wk)(e),(0,r.BN)("1.5rem"),a.bp.p,(0,r.BN)("3rem")),m=(0,n.Ay)(d.Jr).withConfig({displayName:"HeadlineWithText__Text",componentId:"sc-1ll9jpy-2"})([""," word-break:break-word;"," ",""],({$align:e})=>e&&(0,r.wk)(e),({$smallText:e})=>e&&d.cB,({$defaultColor:e})=>!!e&&(0,n.AH)(["color:",";"],e)),u=({headline:e,headlineTag:t,text:i,headlineAlign:n,textAlign:a,className:r,smallText:l,defaultTextColor:d})=>(0,o.jsxs)(c,{className:r,children:[e&&(0,o.jsx)(p,Object.assign({},t?{as:t}:{},{$align:n,children:(0,o.jsx)(s.E,{children:e})})),i&&(0,o.jsx)(m,{$align:a,$smallText:l,$defaultColor:d,children:i})]})},26344:(e,t,i)=>{i.d(t,{d:()=>y});var o=i(37876),n=i(14232),a=i(5646),r=i(10406),l=i(21845),d=i(17370),s=i(45031),c=i(38924),p=i(97144),m=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};let u=a.Ay.label.withConfig({displayName:"Switch__Label",componentId:"sc-16vi7u4
1-0"})(["display:flex;flex-direction:",";text-align:",";column-gap:0.625rem;font-size:0.875rem;line-height:1.125rem;color:",";@media ","{font-size:1rem;}"],({$isReversed:e})=>e?"row-reverse":"row",({$isReversed:e})=>e?"right":"left",l.a.Label,d.bp.t),h=a.Ay.div.withConfig({displayName:"Switch__Box",componentId:"sc-16vi7u4-1"})(["flex-shrink:0;position:relative;width:2rem;height:1.125rem;"]),g=a.Ay.div.withConfig({displayName:"Switch__SwitchSlider",componentId:"sc-16vi7u4-2"})(["height:100%;width:100%;position:relative;background-color:",";border-radius:0.625rem;cursor:pointer;transition:background-color ",";outline:2px solid ",';&:before{content:"";width:0.875rem;height:0.875rem;background-color:',";border-radius:50%;position:absolute;top:0.125rem;left:0.125rem;transition:transform ",";}"],l.a.Label,s.xf,({theme:e})=>e.isError?l.a.Error:"transparent",l.a.White,s.xf),f=a.Ay.input.withConfig({displayName:"Switch__Input",componentId:"sc-16vi7u4-3"})(["cursor:inherit;cursor:pointer;position:absolute;opacity:0;width:100%;height:100%;top:0;left:0;padding:0;margin:0;z-index:1;&:checked ~ ","{background-color:",";}&:checked ~ ",":before{transform:translateX(0.875rem);}&:focus-visible ~ ","{"," outline-offset:0;}"],g,({theme:e})=>e.design.colorSchema.highlightColor,g,g,c.ED),y=(0,n.forwardRef)((e,t)=>{var{error:i,name:l,onChange:d,defaultChecked:s=!1,required:c,label:y,isReverseLayout:x,className:b}=e,v=m(e,["error","name","onChange","defaultChecked","required","label","isReverseLayout","className"]);let{0:w,1:C}=(0,n.useState)(s||!1),_=(0,n.useRef)(null),j=c?`${y}*`:y,I=!!i;return(0,o.jsx)(a.NP,{theme:{isError:I},children:(0,o.jsxs)(u,{className:b,$isReversed:x,children:[(0,o.jsxs)(h,{children:[(0,o.jsx)(f,Object.assign({type:"checkbox",required:c,"aria-invalid":I,"aria-errormessage":i,name:l,ref:(0,r.P)([_,t]),onChange:e=>{C(e.target.checked),d(e)},checked:w},v)),(0,o.jsx)(g,{})]}),(0,o.jsx)("div",{children:y&&(0,o.jsx)(p.E,{children:j})})]})})});y.displayName="Switch"},27258:(e,t,i)=>{i.d(t,{i:()=>a});var o=i(52295),n=i(8943);let a=(e,t,i)=>(0,n.lB)(()=>(0,o.jJ)(e,t,i,!0),[e,t,i])},38283:(e,t,i)=>{i.d(t,{D:()=>n});var o=i(14232);let n=(e=0)=>{let{0:t,1:i}=(0,o.useState)(!1);return(0,o.useEffect)(()=>{let t=setTimeout(()=>{i(!0)},e);return()=>clearTimeout(t)},[e]),t}},41984:(e,t,i)=>{i.d(t,{I:()=>a});var o=i(46942),n=i(14232);let a=(e=[])=>(0,n.useMemo)(()=>null==e?void 0:e.map(e=>{let t={name:e.name,href:""};return e.name===o.$.SOCIAL_APPLY?(t.locale=e.locale,t.jobPostingId=e.job):e.name===o.$.PITCHYOU&&(t.href=e.code),t}),[e])},42259:(e,t,i)=>{i.d(t,{fp:()=>P,Y0:()=>N,eN:()=>o});var o,n=i(37876),a=i(5646),r=i(34846),l=i(21845),d=i(38924),s=i(35382),c=i(62191),p=i(6962),m=i(14232),u=i(36877),h=i(45031),g=i(65107),f=i(10406),y=i(97144),x=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};let b=a.Ay.div.withConfig({displayName:"Radio__Box",componentId:"sc-1hnzdxy-0"})(["position:relative;height:2rem;width:2rem;flex-shrink:0;border:1px solid ",";border-radius:50%;"],(0,u.B3)(l.a.Black,.5)),v=a.Ay.div.withConfig({displayName:"Radio__RadioMark",componentId:"sc-1hnzdxy-1"})(["height:100%;width:100%;border-radius:50%;background-color:",";transition:box-shadow ",";&::before{",';content:"";opacity:0;height:1rem;width:1rem;border-radius:50%;background-color:',";}"],l.a.White,h.xf,d.F,({theme:e})=>e.design.colorSchema.highlightColor),w=a.Ay.span.withConfig({displayName:"Radio__Label",componentId:"sc-1hnzdxy-2"})(["",""],(0,d.Jl)()),C=a.Ay.input.withConfig({displayName:"Radio__Input",componentId:"sc-1hnzdxy-3"})(["cursor:inherit;position:absolute;opacity:0;width:100%;height:100%;top:0px;left:0px;margin:0px;padding:0px;z-index:1;&:checked ~ ","::before{opacity:1;}&:checked ~ ","{color:",";}&:focus-visible ~ ","{"," outline-offset:-1px;}"],v,w,({theme:e})=>e.design.colorSchema.highlightColor,v,d.ED),_=a.Ay.label.withConfig({displayName:"Radio__Container",componentId:"sc-1hnzdxy-4"})(["cursor:pointer;text-transform:uppercase;font-size:0.875rem;letter-spacing:0.1em;color:",";display:flex;align-items:center;gap:0.75rem;transition:color ",";&:hover{color:",";","{box-shadow:0 0 16px rgba(0,0,0,0.1);color:",";}}"],l.a.Label,h.xf,({theme:e})=>e.design.colorSchema.highlightColor,v,({theme:e})=>e.design.colorSchema.highlightColor),j=(e,t)=>{var{label:i,className:o}=e,a=x(e,["label","className"]);let r=(0,m.useRef)(null);return(0,g.B)(r.current),(0,n.jsxs)(_,{className:o,children:[(0,n.jsxs)(b,{children:[(0,n.jsx)(C,Object.assign({ref:(0,f.P)([r,t]),type:"radio"},a)),(0,n.jsx)(v,{})]}),(0,n.jsx)(w,{children:i&&(0,n.jsx)(y.E,{children:i})})]})};j.displayName="Radio";let I=(0,m.forwardRef)(j);var A=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};let k=a.Ay.div.withConfig({displayName:"RadioGroup__Container",componentId:"sc-14nrfdo-0"})(["display:flex;gap:2rem 4rem;flex-wrap:wrap;"]),S=(0,m.forwardRef)((e,t)=>{var{value:i,options:o,className:a}
1=e,r=A(e,["value","options","className"]);return(0,n.jsx)(k,{className:a,children:o.map(e=>(0,n.jsx)(I,Object.assign({ref:t,label:e.label,value:e.value},r),e.value))})});var O=i(74630);let N=a.Ay.div.withConfig({displayName:"ApplicationQuestion__Text",componentId:"sc-8u7pcn-0"})(["color:",";font-size:1rem;line-height:1.25;margin-bottom:",";"],l.a.Text,(0,d.ls)(2));!function(e){e.TEXTAREA="TEXTAREA",e.TEXT="TEXT",e.YESNO="YESNO",e.CATALOG="CATALOG",e.MULTISELECT="MULTISELECT"}(o||(o={}));let P=({question:e,type:t,answerCatalog:i,error:a,questionIdInputProps:l,answerInputProps:d})=>{let{t:m}=(0,r.Bd)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(N,{children:e}),(0,n.jsx)("input",Object.assign({type:"hidden"},l)),t===o.TEXTAREA&&(0,n.jsx)(s.z,{error:a?m("widget.application.questions.text_error_message"):"",children:(0,n.jsx)(c.T,Object.assign({},d))}),t===o.TEXT&&(0,n.jsx)(s.z,{error:a?m("widget.application.questions.text_error_message"):"",children:(0,n.jsx)(p.k,Object.assign({},d))}),t===o.YESNO&&(0,n.jsx)(s.z,{error:a?m("widget.application.questions.yesno_error_message"):"",children:(0,n.jsx)(S,Object.assign({options:(null==i?void 0:i.map(e=>({value:e,label:e})))||[]},d))}),t===o.CATALOG&&(0,n.jsx)(s.z,{error:a?m("widget.application.questions.catalog_error_message"):"",children:(0,n.jsx)(O.c,Object.assign({options:(null==i?void 0:i.map(e=>({value:e,label:e})))||[]},d))}),t===o.MULTISELECT&&(0,n.jsx)(s.z,{error:a?m("widget.application.questions.catalog_error_message"):"",children:(0,n.jsx)(O.c,Object.assign({multiple:!0,options:(null==i?void 0:i.map(e=>({value:e,label:e})))||[]},d))})]})}},43603:(e,t,i)=>{i.d(t,{H:()=>o,P:()=>n});let o=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|.(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,n=/^[+\d-() ]*$/},46942:(e,t,i)=>{var o,n;i.d(t,{$:()=>o,g:()=>n}),function(e){e.SOCIAL_APPLY="SOCIAL_APPLY",e.PITCHYOU="PITCHYOU"}(o||(o={})),function(e){e.FB="FB",e.TG="TG",e.WB="WB"}(n||(n={}))},49602:(e,t,i)=>{i.d(t,{c6:()=>u,fe:()=>d});var o=i(37876),n=i(5646),a=i(51580),r=i(45031),l=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};let d=r.H6.duration,s=(0,n.AH)(["grid-template-rows:1fr;opacity:1;visibility:visible;transition:grid-template-rows ","s ease-in-out,opacity ","s linear ","s,visibility ","s linear;"],d,d/2,d/2,d),c=(0,n.AH)(["grid-template-rows:0fr;opacity:0;visibility:hidden;transition:grid-template-rows ","s ease-in-out,opacity ","s linear,visibility ","s linear;"],d,d/2,d),p=n.Ay.div.withConfig({displayName:"Expander__Container",componentId:"sc-zy4yxo-0"})(["display:grid;",";"],({$isOpen:e})=>e?s:c),m=n.Ay.div.withConfig({displayName:"Expander__Inner",componentId:"sc-zy4yxo-1"})(["grid-row:1 / span 2;overflow:hidden;"]),u=e=>{var{id:t,isOpen:i,onOpenEnd:n,onCloseEnd:r,children:d,className:s}=e,c=l(e,["id","isOpen","onOpenEnd","onCloseEnd","children","className"]);let u=(0,a.K)(()=>{i?null==n||n():null==r||r()});return(0,o.jsx)(p,Object.assign({id:t},u,{$isOpen:i,className:s,"aria-hidden":!i,hidden:!i,inert:i?void 0:""},c,{children:(0,o.jsx)(m,{children:d})}))}},53502:(e,t,i)=>{i.d(t,{o:()=>u});var o=i(37876),n=i(14232),a=i(5646),r=i(63853),l=i(42044),d=i(38924),s=i(79685),c=i(85812);let p=a.Ay.div.withConfig({displayName:"BackgroundImage__Overlay",componentId:"sc-ckuva5-0"})([""," z-index:",";"," ",";background-image:url(",");background-attachment:",";background-size:cover;background-position:center;transition:transform 0.5s ease-in-out;@supports (-webkit-touch-callout:none){background-attachment:initial;}@media print{background-attachment:initial;}"],d.Pu,({$zIndex:e})=>e||0,({$gradient:e})=>e&&(0,d.yh)(e,45),({$overlay:e})=>e&&(0,d.WK)(e),({$src:e})=>e,({$fixed:e})=>e?"fixed":"scroll"),m=a.Ay.div.withConfig({displayName:"BackgroundImage__Container",componentId:"sc-ckuva5-1"})(["position:relative;height:100%;width:100%;",""],({$hoverScale:e})=>e&&(0,a.AH)(["&:hover ","{transform:scale(",");}"],p,e)),u=({src:e,gradient:t,overlay:i,hoverScale:a,fixed:d=!1,children:u,className:h,zIndex:g,resizingType:f=l.Ch.Fill,gravity:y=l.rn.Center,useImageRatio:x=!0})=>{let b=(0,n.useRef)(!0),[v,{width:w,height:C}]=(0,s.W)(),{0:_,1:j}
1=(0,n.useState)(""),{getRespImgUrl:I}=(0,c.o)({resizingType:f,gravity:y,useImageRatio:x}),A=(0,r.YQ)((e,t,i)=>{let o=I(e,t,i);o&&j(o)},300);return(0,n.useEffect)(()=>{if((0!==w||0!==C)&&e)if(b.current){b.current=!1;let t=I(w,C,e);t&&j(t)}else A(w,C,e)},[w,C,e,I,A]),(0,o.jsxs)(m,{className:h,$hoverScale:a,children:[e&&(0,o.jsx)(p,{ref:v,$gradient:t,$overlay:i,$src:_,$fixed:d,$zIndex:g}),u]})}},67669:(e,t,i)=>{i.d(t,{c:()=>Q});var o=i(37876),n=i(5646),a=i(46942),r=i(38924),l=i(17370),d=i(21845),s=i(20104),c=i(97144),p=i(85046),m=i(34846),u=i(8924),h=i(60015);let g={[a.g.FB]:h.kj.MessengerApply,[a.g.TG]:h.kj.TelegramApply,[a.g.WB]:h.kj.WhatsAppApply},f={[a.g.FB]:"Messenger",[a.g.TG]:"Telegram",[a.g.WB]:"Whatsapp"},y={[a.g.FB]:{color:d.a.SAMessenger},[a.g.TG]:{color:d.a.SATelegram},[a.g.WB]:{color:d.a.SAWhatsapp}},x=(0,n.Ay)(s.$n).withConfig({displayName:"PitchYouButton__StyledButton",componentId:"sc-bee7ec-0"})(["padding:0;border:none;width:100%;div{height:100%;gap:0;}@media ","{width:",";}svg{fill:",";}"],l.bp.p,({$fullWidth:e})=>e?"100%":"auto",d.a.White),b=(0,n.Ay)(u.In).withConfig({displayName:"PitchYouButton__StyledIcon",componentId:"sc-bee7ec-1"})(["height:","rem;width:","rem;"],({$size:e})=>e===s.Mp.Large?2.5:1.7,({$size:e})=>e===s.Mp.Large?2.5:1.7),v=n.Ay.span.withConfig({displayName:"PitchYouButton__ButtonLabel",componentId:"sc-bee7ec-2"})([""," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 1rem;flex-grow:1;text-align:center;color:",";"],(0,r.Jl)(),d.a.White),w=n.Ay.span.withConfig({displayName:"PitchYouButton__SocialIconsContainer",componentId:"sc-bee7ec-3"})(["display:flex;align-items:center;justify-content:center;gap:8px;padding:0 ","rem;border-left:2px solid rgba(255,255,255,0.25);
1height:100%;"],({$size:e})=>e===s.Mp.Large?1:.625),C=({href:e,buttonSize:t,fullWidth:i})=>{let{t:n}=(0,m.Bd)();return(0,o.jsxs)(x,{variant:s.Ak.Solid,size:t,color:d.a.PitchYou,textColor:d.a.White,$fullWidth:i,fullWidthContent:!0,defaultFill:!0,href:e,target:"_blank",rel:"noopener noreferrer",children:[(0,o.jsx)(v,{children:n("widget.job-description.button.PITCHYOU")}),(0,o.jsx)(w,{$size:t,children:(0,o.jsx)(b,{$size:t,name:g[a.g.WB]})})]})};var _=i(36877),j=i(14232),I=i(35854),A=i(19598),k=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i},S=i(59698),O=i(25907),N=i(31562),P=i(1170),L=i(25894),T=i(32251),E=i(94680);let $=(0,n.Ay)(s.$n).withConfig({displayName:"SocialApplyButton__StyledButton",componentId:"sc-zztige-0"})(["width:100%;@media ","{width:",";}",""],l.bp.p,({$fullWidth:e})=>e?"100%":"auto",({$provider:e})=>e&&(0,n.AH)(["background-color:",";color:",";&:hover{background-color:",";}&::before,&::after{content:none;}svg{fill:",";}"],y[e].color,d.a.White,(0,_.e$)(.1,y[e].color),d.a.White)),z=(0,n.Ay)(u.In).withConfig({displayName:"SocialApplyButton__StyledIcon",componentId:"sc-zztige-1"})(["&&{height:2rem;width:2rem;}"]),B=n.Ay.span.withConfig({displayName:"SocialApplyButton__SocialIconsContainer",componentId:"sc-zztige-2"})(["display:flex;gap:8px;margin-right:-12px;"]),q=n.Ay.span.withConfig({displayName:"SocialApplyButton__ButtonLabel",componentId:"sc-zztige-3"})([""," overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"],(0,r.Jl)()),R=({provider:e,buttonSize:t,fullWidth:i})=>{let{pageUiEnvironment:{window:n,document:a}}=(0,L.p)(),{t:r}=(0,m.Bd)(),{getSiteId:l}=(0,O.v)(),{location:d,isBuilderEnv:c,apiData:p,frontendOAuthClientId:u,projectType:h}=(0,T.N)(),{triggerRestrictedEventOfOpeningSocialApply:y}=(0,N.K)(),{socialApplyProviders:x}=(e=>{var{skip:t=!1}=e,i=k(e,["skip"]);let[{data:o,loading:n,error:a},r]=(0,A.bP)({method:"get",url:`${I.Q}/widgets/social-apply/providers`,params:i},{manual:t});return{socialApplyProviders:null==o?void 0:o.data,refetch:r,error:a,isLoading:n}})({userId:u}),{0:b,1:v}=(0,j.useState)("https://www.example.com"),{0:w,1:C}=(0,j.useState)();(0,j.useEffect)(()=>{var e;S.k||null!=x&&x.length&&(null==x?void 0:x.length)>=2||C(null==(e=null==x?void 0:x[0])?void 0:e.name)},[x]),(0,j.useEffect)(()=>{if(!S.k&&d&&!c){let t=h===P.L.custom,{hostname:i,pathname:o}=new URL(t?null==n?void 0:n.location.href:d.href),r=new URLSearchParams(t?null==n?void 0:n.location.search:d.search).get("locale"),s=n!==(null==n?void 0:n.parent)&&r&&e.locale!==r;v(((e,t,i,o,n,a)=>{let r="",l=RegExp("/^/(jobs)/d*/$/");if(t&&"/"!==t&&!l.test(t)){let e=RegExp("//(jobs|(application/[a-z0-9-]*)?)/d*/$/");r=t.replace(e,"/")}let d=btoa(JSON.stringify({msid:a,referrer:e+r,locale:i,job:o,domain:n}));return`${E.Q}/start?payload=${encodeURIComponent(d)}`})(a&&a.location.hostname!==i?a.location.hostname:i,o,s?r:e.locale,e.jobPostingId,p.domainData.rootProjectDomain,l(!0)))}},[c,a,n,d,e,p.domainData.rootProjectDomain,l]);let _=(x||[]).map(({name:e})=>f[e]).join(", "),R=r("widget.job-description.button.SOCIAL_APPLY");return(0,o.jsxs)($,{variant:s.Ak.Fancy,size:t,defaultFill:!0,href:b,target:"_blank",rel:"noopener noreferrer",$provider:w,$fullWidth:i,"aria-label":`${R} ${_}`,onClick:e=>{c&&(e.preventDefault(),y())},children:[(0,o.jsx)(q,{children:R}),(0,o.jsx)(B,{children:null==x?void 0:x.map(({name:e})=>(0,o.jsx)(z,{name:g[e]},e))})]},e.name)},F=n.Ay.div.withConfig({displayName:"CTAContent__Container",componentId:"sc-1ll7yln-0"})(["display:flex;flex-direction:column;align-items:center;text-align:center;gap:",";@media ","{flex-direction:",";text-align:",";gap:",";}"],(0,r.ls)(2),l.bp.p,({$isVertical:e,$withSocial:t})=>e||t?"column":"row",({$isVertical:e})=>e?"left":"center",({$isVertical:e})=>e?(0,r.ls)(3):(0,r.ls)(2)),W=n.Ay.div.withConfig({displayName:"CTAContent__ButtonsContainer",componentId:"sc-1ll7yln-1"})(["display:flex;gap:",";flex-direction:row;flex-wrap:wrap;align-items:center;width:",";z-index:1;flex-shrink:0;@media ","{flex-direction:",";justify-content:center;}"],(0,r.ls)(1.5),({$fullWidth:e})=>e?"100%":"auto",l.bp.p,({$fullWidth:e})=>e?"column":"row"),M=n.Ay.div.withConfig({displayName:"CTAContent__Text",componentId:"sc-1ll7yln-2"})(["font-size:0.875rem;line-height:1.5;color:",";text-align:center;@media ","{text-align:",";}"],({$color:e})=>e||d.a.Text,l.bp.p,({$fullWidth:e,$isVertical:t})=>e||!t?"left":"center"),D=(0,n.Ay)(p.B).withConfig({displayName:"CTAContent__StyledButtonFactory",componentId:"sc-1ll7yln-3"})(["width:100%;@media ","{width:",";}"],l.bp.p,({$fullWidth:e})=>e?"100%":"auto"),H=(0,n.Ay)(s.$n).withConfig({displayName:"CTAContent__StyledButton",componentId:"sc-1ll7yln-4"})(["width:100%;@media ","{width:",";}"],l.bp.p,({$fullWidth:e})=>e?"100%":"auto"),Q=({button:e,buttonSize:t,customButton:i,text:n,textColor:r,fullWidth:l,applicationProviders:d})=>{let s=l||d.length>0;return(0,o.jsxs)(F,{$isVertical:s,$withSocial:!!d.length,children:[(0,o.jsxs)(W,{$fullWidth:l,children:[e&&(0,o.jsx)(D,Object.assign({},e,{size:t,$fullWidth:l})),i&&(0,o.jsx)(H,Object.assign({},i,{size:t,$fullWidth:l})),d.map(e=>e.name===a.$.SOCIAL_APPLY?(0,o.jsx)(R,{provider:e,fullWidth:l,buttonSize:t},e.name):e.name===a.$.PITCHYOU?(0,o.jsx)(C,{href:e.href,fullWidth:l,buttonSize:t},e.name):void 0)]}),n&&(0,o.jsx)(M,{$isVertical:s,$fullWidth:l,$color:r,children:(0,o.jsx)(c.E,{children:n})})]})}},73055:(e,t,i)=>{i.d(t,{X:()=>r,t:()=>l});var o=i(37876),n=i(14232);let a=(0,n.createContext)(void 0);function r({children:e,data:t,widgetId:i}){let n=Object.assign(Object.assign({},t),{widgetId:i});return(0,o.jsx)(a.Provider,{value:n,children:e})}function l(){let e=(0,n.useContext)(a);if(!e)throw Error("[WidgetDataProvider]: useBaseWidgetData must be used within a BaseWidgetDataProvider");return e}},73711:(e,t,i)=>{i.r(t),i.d(t,{WidgetQuickApplication:()=>ta,default:()=>tr});var o,n=i(37876),a=i(34846),r=i(84840),l=i(55932),d=i(66392),s=i(2091),c=i(27258),p=i(65697),m=i(32251),u=i(73055),h=i(21845);let g=h.a.MidnightBlue,f=h.a.Transparent,y=h.a.Grey,x=h.a.Orange,b="fCaptchaSolution",v={firstName:"",lastName:"",phone:"",email:"",coverLetterText:"",attachments:[],privacyPolicyAccepted:!1,weeksPeriod:[],timeOfDayPeriod:[],questions:[],preferredJobLocations:"",[b]:"",showPeriod:!1};var w=i(8943),C=i(52295),_=i(90347);let j=(e=[],t=[])=>((e=[],t=[])=>t.map(t=>e[t]).filter(e=>void 0!==e))(e,t).map(e=>({value:e,label:e.toString()})),I=({children:e,formData:t,widgetId:i})=>{var o,b,v,I,A,k,S,O;let{t:N}=(0,a.Bd)(),{design:P,seo:L,companySettings:T,apiData:E}=(0,m.N)(),$=(0,r.G)(P.colorSchema),z=t.backgroundType.value,B=t.image.image,q=t.activateGradient.checked,R=t.gradientTrans
1parency.value,F=(0,l.Y7)(t.gradient,P.colorSchema,R),W=t.activateOverlay.checked,M=(0,d.e)(t.warmth.value,t.transparency.value),D=(0,s.b)(t.backgroundColor,$,f),H=(0,c.i)(t.headline.value,$,h.a.White),Q=t.headline.align,Y=(0,c.i)(t.copytext.value,$,g),U=t.copytext.align,G=t.activateCustomStepsHeadline.checked?t.customStepsHeadline.value:N("widget.quick-application.steps-headline"),J=(({items:e,colors:t})=>(0,w.lB)(()=>e.map(e=>{let i=e.jobAd;return{jobId:Number(i.value),title:e.jobAdTitle.value||i.title,copytext:(0,C.jJ)(e.text.value,t,g),copytextAlign:e.text.align}}),[e,t]))({items:t.items.forms,colors:$}),X=t.activatePeriodOfAvailability.checked,V=X&&t.activateTimeOfDayPeriod.checked,K=X&&t.activateWeeksPeriod.checked,Z=N("widget.quick-application.weeks-period",{returnObjects:!0}),ee=N("widget.quick-application.time-of-day-period",{returnObjects:!0}),et=V?j(ee,t.timeOfDayPeriod.value):[],ei=K?j(Z,t.weeksPeriod.value):[],eo={headline:H,isMainHeading:L.isCustomMainHeadingEnabled&&(null==(o=L.mainHeadingWidgetInfo)?void 0:o.id)===i,headlineAlign:Q,copytext:Y,copytextAlign:U,backgroundColor:z===p.h.Color?D:void 0,backgroundImage:z===p.h.Image?B:void 0,gradient:q?F:void 0,overlay:W?M:void 0,activateSteps:t.activateSteps.checked,stepsHeadline:G,stepsHeadlineColor:(0,s.b)(t.stepsHeadlineColor,$,g),steps:t.steps.forms.map(e=>e.title.value),stepsColor:(0,s.b)(t.titleColor,$,g),stepsBackgroundColor:(0,s.b)(t.figureBackgroundColor,$,y),stepsNumberColor:(0,s.b)(t.figureColor,$,g),jobAdTitleColor:(0,s.b)(t.jobAdTitleColor,$,g),activeJobAdTitleColor:(0,s.b)(t.activeJobAdTitleColor,$),badgeBackgroun
1dColor:(0,s.b)(t.badgeBackgroundColor,$,x),jobAdButtonColor:(0,s.b)(t.jobAdButtonColor,$),items:J,showPhoneField:t.activateTelephoneField.checked,isPhoneFieldRequired:t.makeRequiredTelephoneField.checked,privacyPolicyAcceptedText:N("widget.application.third_step.privacy_policy_accepted").replace("%dataSecurityURL%",(0,_.Wj)((null==(I=null==(v=null==(b=null==T?void 0:T.footer)?void 0:b.importantLinks)?void 0:v[1])?void 0:I.href)||(null==(k=null==(A=E.footer)?void 0:A[1])?void 0:k.href))),showAttachments:t.activateAttachmentsField.checked,attachmentsLabel:t.attachmentsLabel.value,showPreferredLocationField:null==(S=t.activatePreferredLocationField)?void 0:S.checked,isPreferredLocationFieldRequired:null==(O=t.makeRequiredPreferredLocationField)?void 0:O.checked,activatePeriodOfAvailability:t.activatePeriodOfAvailability.checked,weeksPeriod:ei,timeOfDayPeriod:et,showFriendlyCaptcha:t.activateFriendlyCaptcha.checked,checkIsEmailExist:t.activateCheckMailForExistence.checked,showPeriod:X,showCoverLetter:t.activateCoverLetterField.checked};return(0,n.jsx)(u.X,{data:eo,widgetId:i,children:e})},A=u.t;var k=i(14232),S=i(5646),O=i(96208),N=i(5884),P=i(78116),L=i(17370),T=i(63174),E=i(38924),$=i(79350),z=i(21608),B=i(76954);let q=S.Ay.div.withConfig({displayName:"Steps__Container",componentId:"sc-n04h20-0"})(["margin-top:56px;display:flex;flex-direction:column;align-items:center;@media ","{margin-top:98px;}@media ","{margin-top:72px;}@media ","{margin-top:88px;}"],L.bp.p,L.bp.t,L.bp.d),R=S.Ay.div.withConfig({displayName:"Steps__Title",componentId:"sc-n04h20-1"})(["color:",";text-align:center;font-size:16px;"," "," margin-bottom:32px;@media ","{font-size:1.125rem;margin-bottom:40px;}"],({$color:e})=>e,(0,E.cn)(),(0,E.ji)(),L.bp.p),F=S.Ay.div.withConfig({displayName:"Steps__StepsContainer",componentId:"sc-n04h20-2"})(["display:flex;overflow:auto;padding:0 "," ",";gap:2px;max-width:100%;@media ","{gap:48px;}@media ","{flex-wrap:wrap;justify-content:center;}"],(0,E.QA)(1),(0,E.ls)(3),L.bp.p,L.bp.d),W=S.Ay.div.withConfig({displayName:"Steps__Step",componentId:"sc-n04h20-3"})(["flex-shrink:0;width:108px;display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;word-break:break-word;font-size:0.875rem;line-height:1.25;@media ","{flex-shrink:0;width:128px;}@media ","{flex-direction:row;gap:16px;min-width:auto;width:192px;text-align:left;font-size:1rem;}"],L.bp.m,L.bp.p),M=S.Ay.div.withConfig({displayName:"Steps__Number",componentId:"sc-n04h20-4"})(["color:",";background-color:",";flex-shrink:0;width:56px;height:56px;display:flex;justify-content:center;align-items:center;font-size:2.25rem;"," border-radius:50%;@media (forced-colors:active){background-color:color-mix(in srgb,currentColor 20%,transparent);}"],({$color:e})=>e,({$backgroundColor:e})=>e,(0,E.Jl)()),D=S.Ay.div.withConfig({displayName:"Steps__Label",componentId:"sc-n04h20-5"})(["color:",";"],({$color:e})=>e),H=()=>{let{steps:e,stepsHeadline:t,stepsHeadlineColor:i,stepsColor:o,stepsBackgroundColor:a,stepsNumberColor:r}=A();return(0,n.jsxs)(q,{children:[(0,n.jsx)(R,{$color:i,children:t}),(0,n.jsx)(F,{children:e.map((e,t)=>(0,n.jsxs)(W,{children:[(0,n.jsx)(M,{$color:r,$backgroundColor:a,children:t+1}),(0,n.jsx)(D,{$color:o,children:e})]},t))})]})};var Q=i(96941),Y=i(36877),U=i(85882),G=i(79870),J=i(20104),X=i(60015),V=i(64072),K=i(55952),Z=i(77390),ee=i(96510),et=i(8924),ei=i(97144),eo=i(39140),en=i(88992),ea=i(45031),er=i(6962),el=i(26344),ed=i(49602),es=i(56458),ec=i(62191),ep=i(60250),em=i(48080),eu=i(37850),eh=i(20714),eg=i(67669),ef=i(44543),ey=i(43603),ex=i(35854),eb=i(19598),ev=i(98189),ew=i(31562),eC=i(25894);let e_=(e,t)=>{if(e&&t)return`${e}": "${t}`},ej=(e,t)=>{if(e&&0!==t.length)return e_(e,t.filter(Boolean).join(", "))};!function(e){e.EMAIL_ALREADY_EXIST="mail_address_already_exists",e.VERIFICATION_BAD_REQUEST="verification-bad-request",e.CAPTCHA_FAILED="failed-captcha-solution",e.GET_APPLICATION_ERROR="get_application_error"}(o||(o={}));var eI=i(42259),eA=i(41984),ek=i(74630);let eS=S.Ay.div.withConfig({displayName:"ItemQuestions__Container",componentId:"sc-fiq3ue-0"})([""]),eO=S.Ay.div.withConfig({displayName:"ItemQuestions__QuestionContainer",componentId:"sc-fiq3ue-1"})(["& + &{margin-top:48px;}"]),eN=({questions:e,locationQuestion:t})=>{let{t:i}=(0,a.Bd)(),{isPreferredLocationFieldRequired:o,showPreferredLocationField:r}=A(),{control:l,register:d,formState:{errors:s}}=(0,en.xW)(),{update:c}=(0,en.jz)({control:l,name:"questions"});return(0,n.jsxs)(eS,{children:[e.map((e,t)=>{var i;return(0,n.jsx)(eO,{children:(0,n.jsx)(eI.fp,{type:e.type,question:e.question,answerCatalog:e.answerCatalog||null,error:!!(null==(i=null==s?void 0:s.questions)?void 0:i[t]),questionIdInputProps:d(`questions.${t}.questionId`),answerInputProps:d(`questions.${t}.${e.type===eI.eN.MULTISELECT?"multiSelectAnswers":"answer"}`,{required:!0,onChange:i=>{e.type===eI.eN.MULTISELECT?c(t,Object.assign(Object.assign({},e),{multiSelectAnswers:i.target.value})):c(t,Object.assign(Object.assign({},e),{answer:i.target.value}))}})})},t)}),t&&r&&(0,n.jsxs)(eO,{children:[(0,n.jsx)(eI.Y0,{children:`${t.question}${o?"*":""}`}),(0,n.jsx)(eh.X,{Component:ek.c,name:"preferredJobLocations",options:t.answerCatalog,inputLabel:i("widget.application.questions.preferredLocation.label"),rules:{required:!!o&&i("widget.application.questions.preferredLocation.label")}})]})]})},eP=S.Ay.form.withConfig({displayName:"ItemForm__Form",componentId:"sc-yt31h6-0"})([""]),eL=S.Ay.div.withConfig({displayName:"ItemForm__FormMainFields",componentId:"sc-yt31h6-1"})(["display:grid;grid-template-columns:1fr;gap:24px;@media ","{grid-template-columns:repeat(2,1fr);}"],L.bp.p),eT=S.Ay.div.withConfig({displayName:"ItemForm__EmailCol",componentId:"sc-yt31h6-2"})(["@media ","{","}"],L.bp.p,({$isFullwidth:e})=>e&&"grid-column-end: span 2;"),eE=S.Ay.div.withConfig({displayName:"ItemForm__ButtonsContainer",componentId:"sc-yt31h6-3"})(["margin-top:48px;display:flex;justify-content:center;"]),e$=S.Ay.div.withConfig({displayName:"ItemForm__PrivacyPolicyAcceptedText",componentId:"sc-yt31h6-4"})(["margin-top:32px;font-size:0.75rem;line-height:1.33;color:",";
1a{display:unset;text-decoration:none;color:",";border-bottom:1px solid ",";}"],h.a.Label,h.a.FormBlue,h.a.FormBlue),ez=S.Ay.div.withConfig({displayName:"ItemForm__QuestionsContainer",componentId:"sc-yt31h6-5"})(["",";border:2px solid ",";padding:32px 24px 32px;background-color:",";margin-top:24px;"],(0,E.hD)(ea.lp,ea.Vs),(0,Y.B3)(h.a.White,.75),(0,Y.B3)(h.a.White,.25)),eB=S.Ay.div.withConfig({displayName:"ItemForm__AttachmentsLayout",componentId:"sc-yt31h6-6"})(["margin-bottom:32px;"]),eq=(0,S.Ay)(ep.$).withConfig({displayName:"ItemForm__StyledFileList",componentId:"sc-yt31h6-7"})(["margin-top:24px;"]),eR=(0,S.Ay)(em.G).withConfig({displayName:"ItemForm__StyledFilesUploadDropzone",componentId:"sc-yt31h6-8"})(["margin-top:32px;width:100%;"]),eF=S.Ay.div.withConfig({displayName:"ItemForm__ExtraDataContainer",componentId:"sc-yt31h6-9"})(["margin-top:32px;display:flex;flex-direction:column;gap:24px;"]),eW=S.Ay.div.withConfig({displayName:"ItemForm__ExtraSelectsContainer",componentId:"sc-yt31h6-10"})(["display:grid;grid-template-columns:1fr;gap:24px;@media ","{grid-template-columns:repeat(",",1fr);}"],L.bp.t,({$fullAvailabilitySelect:e})=>e?2:1),eM=(0,S.Ay)(eu.K).withConfig({displayName:"ItemForm__StyledFrcCaptcha",componentId:"sc-yt31h6-11"})(["margin-top:24px;"]),eD=["placeholder","placeholder_singular","placeholder_plural"],eH=({formFieldsRef:e,formButtonsRef:t,jobId:i,onClose:r,onSuccess:l,onLoading:d,modalRef:s})=>{let{jobAdButtonColor:c,showPhoneField:p,isPhoneFieldRequired:u,privacyPolicyAcceptedText:h,showAttachments:g,attachmentsLabel:f,activatePeriodOfAvailability:y,weeksPeriod:x,timeOfDayPeriod:v,checkIsEmailExist:w,showFriendlyCaptcha:C,showPreferredLocationField:_,showCoverLetter:j}=A(),{apiData:I,mode:S}=(0,m.N)(),{t:O}=(0,a.Bd)(),{providers:N,questions:L,locationQuestion:T}=(({jobId:e})=>{let{frontendOAuthClientId:t,locale:i}=(0,m.N)(),{jobAdInfo:o}=(e=>{let[{data:t,loading:i,error:o},n]=(0,eb.bP)({method:"get",url:`${ex.Q}/widgets/quick-application/job-info`,params:e},{manual:e.skip});return{jobAdInfo:t,refetch:n,error:o,isLoading:i}})({userId:t,jobPostingId:e,locale:i,skip:!e}),n=(0,eA.I)(null==o?void 0:o.applicationProviders),a=(null==o?void 0:o.additionalLocation.length)?{question:null==o?void 0:o.multiLocationInformation.preferredLocationQuestions,type:eI.eN.CATALOG,answerCatalog:null==o?void 0:o.additionalLocation.map(e=>({value:JSON.stringify(e),label:e.geoName}))}:void 0;return{questions:(null==o?void 0:o.questions)||[],locationQuestion:a,providers:n}}
1)({jobId:i}),{submit:E,isLoading:$}=(()=>{let{pageUiEnvironment:{document:e}}=(0,eC.p)(),{t}=(0,a.Bd)(),{isBuilderEnv:i,frontendOAuthClientId:n,pageId:r}=(0,m.N)(),{setError:l,setValue:d}=(0,en.xW)(),{triggerPageEvent:s}=(0,ew.K)(),{submit:c,isLoading:p,error:u}=(()=>{let[{loading:e,error:t},i]=(0,eb.bP)({url:`${ex.Q}/widgets/quick-application/application`,method:"post"},{manual:!0});return{submit:(0,k.useCallback)(e=>{let{attachments:t,applicationData:o,userId:n,pageId:a,jobId:r,widgetId:l,mailExistence:d,referrer:s,isSkipServerCodeErrors:c=!1}=e,p=new FormData;return null==t||t.forEach((e,t)=>{p.append(`attachment-${t}`,e)}),p.append("applicationData",JSON.stringify(o)),p.append("jobId",String(r)),p.append("userId",n),p.append("pageId",a),p.append("widgetId",String(l)),p.append("mailExistence",String(d)),p.append("referrer",s),e["f-captcha-solution"]&&(p.append("f-captcha-solution",e["f-captcha-solution"]),p.append("isSkipServerCodeErrors",JSON.stringify(c))),i({data:p,headers:{"Content-Type":"multipart/form-data"}}).then(({data:e})=>e)},[i]),error:t,isLoading:e}})(),{widgetId:h=0,showFriendlyCaptcha:g,showPeriod:f}=A(),{0:y,1:x}=(0,k.useState)(new Set),{exist:v,valid:w,reset:C,start:_}=(0,ef.X)(),j=()=>{l("email",{type:"manual",message:t("widget.talent-pool-application.email_already_exist_error_message")},{shouldFocus:!0})},I=a=>(function(e,t,i,o){return new(i||(i=Promise))(function(n,a){function r(e){try{d(o.next(e))}catch(e){a(e)}}function l(e){try{d(o.throw(e))}catch(e){a(e)}}function d(e){var t;e.done?n(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(r,l)}d((o=o.apply(e,t||[])).next())})})(void 0,[a],void 0,function*({data:a,checkIsEmailExist:l,jobId:p,isSkipServerErrors:m=!1,errorCb:u}){var A,k;if(i)return void s(ev.C.SubmitApplicationForm,{widgetType:P.x.TalentPoolApplication});if(y.has(a.email))return j();if(g&&!w)return;let S={applicationData:((e,t)=>{var i;let o=(({prefixes:e,weeks:t,timesOfDay:i,coverLetter:o,defaultLetter:n})=>{if(!o&&0===t.length&&0===i.length)return n;let a=ej(e.week,t);return[a,ej(e.timeOfDay,i),e_(e.coverLetter,o)].filter(Boolean).join("\\r\\n").trim()})({prefixes:t.prefixes,weeks:e.weeksPeriod||[],timesOfDay:e.timeOfDayPeriod||[],coverLetter:e.coverLetterText,defaultLetter:t.defaultCoverLetter}),n=e.preferredJobLocations?[JSON.parse(e.preferredJobLocations)]:void 0,a=(null==(i=e.questions)?void 0:i.length)?e.questions.map(({answer:e,multiSelectAnswers:t,id:i})=>({answer:e,multiSelectAnswers:t,questionId:i})):void 0;return{firstname:e.firstName,lastname:e.lastName,email:e.email,phone:e.phone,privacyPolicyAccepted:!0,coverLetterText:o,preferredJobLocations:n,answers:a}})(a,{prefixes:{week:t("widget.quick-application.select-weeks-period.prefix"),timeOfDay:t("widget.quick-application.select-time-of-day-period.prefix"),coverLetter:t("widget.quick-application.cover-letter.placeholder")},showPeriod:f,defaultCoverLetter:t("widget.quick-application.cover-letter.message")}),jobId:p,userId:n,pageId:r,widgetId:h,mailExistence:l,referrer:i?"":(null==e?void 0:e.referrer)||"",attachments:null==(A=a.attachments)?void 0:A.map(({data:e})=>e),"f-captcha-solution":a[b],isSkipServerCodeErrors:m};try{return yield c(S),{success:!0}}catch(i){let{errorCode:e}=(null==(k=i.response)?void 0:k.data)||{};if(e===o.GET_APPLICATION_ERROR){confirm(t("widget.application.get_application_error")),null==u||u();return}switch(e){case o.EMAIL_ALREADY_EXIST:x(e=>new Set(e).add(a.email)),j();break;case o.VERIFICATION_BAD_REQUEST:if(v){if(confirm(t("widget.application.verification_bad_request")))return void(yield I({data:a,checkIsEmailExist:l,jobId:p,isSkipServerErrors:!0}));C()}break;case o.CAPTCHA_FAILED:null==C||C()}if(v){d(b,void 0),C(),_();return}}});return{submit:I,isLoading:p,error:u}})(),{watch:z,setValue:B,handleSubmit:q,register:R,control:F}=(0,en.xW)(),{fields:W,append:M,remove:D}=(0,en.jz)({control:F,name:"attachments"}),H={label:O("widget.talent-pool-application.submit"),color:c,type:"submit"},{fileUploadInformation:Q}=I.talentPoolInitialData,Y=O("widget.application.first_step.upload_attachments_tooltip").replace("%fileTypes%",Q.filetypes.join(", ")).replace("%qty%",Q.displayMaxSize);(0,k.useEffect)(()=>{d($)},[$]);let G=C&&!!z("email"),J=!!W.length,X=J||g,V=!!(x.length&&v.length);C&&R(b,{required:!0});let K=u?O("widget.application.second_step.phone_placeholder_mandatory"):O("widget.application.second_step.phone_placeholder"),Z=z("showPeriod"),ee=z("weeksPeriod"),et=z("timeOfDayPeriod"),eo=(e,t)=>{let i=Math.min(e.length,2);return O(`${t}.${eD[i]}`)},ea=eo(ee,"widget.quick-application.select-weeks-period"),ep=eo(et,"widget.quick-application.select-time-of-day-period"),em=S===U.q5.Build;return(0,k.useEffect)(()=>{em&&B("showPeriod",!0)},[em]),(0,n.jsxs)(eP,{onSubmit:q(e=>
1(function(e,t,i,o){return new(i||(i=Promise))(function(n,a){function r(e){try{d(o.next(e))}catch(e){a(e)}}function l(e){try{d(o.throw(e))}catch(e){a(e)}}function d(e){var t;e.done?n(e.value):((t=e.value)instanceof i?t:new i(function(e){e(t)})).then(r,l)}d((o=o.apply(e,t||[])).next())})})(void 0,void 0,void 0,function*(){let t=yield E({data:e,checkIsEmailExist:w,jobId:i,errorCb:r});(null==t?void 0:t.success)&&l()})),children:[(0,n.jsxs)("div",{ref:e,children:[(0,n.jsxs)(eL,{children:[(0,n.jsx)(eh.X,{Component:er.k,name:"firstName",autoComplete:"given-name",inputLabel:O("widget.application.second_step.first_name_placeholder"),rules:{required:O("widget.application.second_step.first_name_error_message")}}),(0,n.jsx)(eh.X,{Component:er.k,name:"lastName",autoComplete:"family-name",inputLabel:O("widget.application.second_step.last_name_placeholder"),rules:{required:O("widget.application.second_step.last_name_error_message")}}),(0,n.jsx)(eT,{$isFullwidth:!p,children:(0,n.jsx)(eh.X,{Component:er.k,name:"email",autoComplete:"email",inputLabel:O("widget.application.second_step.email_placeholder"),rules:{required:O("widget.application.second_step.email_error_message"),pattern:{value:ey.H,message:O("widget.application.second_step.email_error_message")}}})}),p&&(0,n.jsx)(eh.X,{Component:er.k,name:"phone",type:"tel",autoComplete:"tel",inputLabel:K,rules:{required:u&&O("widget.application.second_step.phone_error_message"),pattern:{value:ey.P,message:O("widget.application.second_step.phone_error_message")}}})]}),X&&(0,n.jsxs)(eB,{children:[J&&(0,n.jsx)(eq,{title:O("widget.application.first_step.attachments_title"),fileList:W,isInvertedLineColor:!0,onDelete:e=>{let t=W.findIndex(({id:t})=>t===e.id);if(-1!==t)return D(t)}}),g&&(0,n.jsx)(eR,{tooltipText:Y,label:f,fileTypes:Q.filetypes,maxSize:parseInt(Q.maxSize,10),name:"attachments",onChange:e=>{M(e.map(e=>({data:e})))}})]}),((null==L?void 0:L.length)||T&&_)&&(0,n.jsx)(ez,{children:(0,n.jsx)(eN,{questions:L,locationQuestion:T})}),y&&(0,n.jsxs)(ez,{children:[(0,n.jsx)(el.d,Object.assign({label:O("widget.application.period.label")},R("showPeriod"))),(0,n.jsx)(ed.c6,{isOpen:Z,children:(0,n.jsxs)(eF,{children:[(x.length>0||v.length)&&(0,n.jsxs)(eW,{$fullAvailabilitySelect:V,children:[x.length>0&&(0,n.jsx)(eh.X,{Component:es.l,name:"weeksPeriod",inputLabel:ea,isMulti:!0,outer:!0,options:x,checkboxes:!0,transparent:!0,clearable:!1,menuZIndex:201,menuPortalTarget:s.current}),v.length>0&&(0,n.jsx)(eh.X,{Component:es.l,name:"timeOfDayPeriod",inputLabel:ep,isMulti:!0,outer:!0,options:v,checkboxes:!0,transparent:!0,clearable:!1,menuZIndex:201,menuPortalTarget:s.current})]}),j&&(0,n.jsx)(eh.X,{Component:ec.T,name:"coverLetterText",inputLabel:O("widget.quick-application.cover-letter.placeholder")})]})})]}),(0,n.jsx)(e$,{children:(0,n.jsx)(ei.E,{children:h})})]}),(0,n.jsx)(eM,{visible:G,onSolved:e=>{B(b,e,{shouldValidate:!0})}}),(0,n.jsx)(eE,{ref:t,children:(0,n.jsx)(eg.c,{customButton:H,applicationProviders:N})})]})},eQ=e=>{let{apiData:t,locale:i}=(0,m.N)(),o={siteKey:t.friendlyCaptcha.siteKey,puzzleEndpoint:t.friendlyCaptcha.puzzleEndpoint,language:i},a=(0,en.mN)({defaultValues:v});return(0,n.jsx)(ef.P,Object.assign({},o,{children:(0,n.jsx)(en.Op,Object.assign({},a,{children:(0,n.jsx)(eH,Object.assign({},e))}))}))},eY=S.Ay.div.withConfig({displayName:"ItemModal__Container",componentId:"sc-rcpsw0-0"})(["position:",";top:0;left:0;right:0;bottom:0;background-color:",";z-index:200;cursor:auto;display:none;scroll-behavior:smooth;"],({$isBuilder:e})=>e?"absolute":"fixed",h.a.Grey),eU=S.Ay.div.withConfig({displayName:"ItemModal__ScrollContainer",componentId:"sc-rcpsw0-1"})(["width:100%;height:100%;overflow-y:auto;overflow-x:hidden;"]),eG=S.Ay.div.withConfig({displayName:"ItemModal__BodyContainer",componentId:"sc-rcpsw0-2"})(["",";padding:"," 0;display:flex;width:100%;flex-grow:1;align-items:center;@media ","{padding:"," 0;}"],E.kL,(0,E.ls)(6),L.bp.d,(0,E.ls)(10)),eJ=S.Ay.div.withConfig({displayName:"ItemModal__ModalInner",componentId:"sc-rcpsw0-3"})(["height:100%;"]),eX=S.Ay.button.withConfig({displayName:"ItemModal__CloseButton",componentId:"sc-rcpsw0-4"})([""," "," z-index:4;background-color:",";height:32px;width:32px;border-radius:50%;position:fixed;top:16px;right:16px;transition:opacity 0.3s;will-change:opacity;@media ","{top:24px;right:32px;transform:scale(1.5);transform-origin:100% 0;}&:hover{opacity:0.7;}svg{fill:",";}"],E.GS,E.tP,h.a.White,L.bp.p,({theme:e})=>e.design.colorSchema.highlightColor),eV=S.Ay.div.withConfig({displayName:"ItemModal__Content",componentId:"sc-rcpsw0-5"})(["padding:0 16px;width:100%;@media ","{padding:0 ",";}@media ","{padding:0 ",";}"],L.bp.p,(0,E.QA)(4),L.bp.d,(0,E.QA)(5)),eK=S.Ay.h3.withConfig({displayName:"ItemModal__Title",componentId:"sc-rcpsw0-6"})(["",";color:",";font-size:1.5rem;text-align:center;margin-bottom:",";word-break:break-word;@media ","{font-size:1.375rem;margin-bottom:",";}@media ","{font-size:1.5rem;}@media ","{font-size:2.25rem;}"],G.R_,({$color:e})=>e,(0,E.ls)(2),L.bp.p,(0,E.ls)(3),L.bp.t,L.bp.d),eZ=S.Ay.div.withConfig({displayName:"ItemModal__Description",componentId:"sc-rcpsw0-7"})(["",";",";margin-bottom:28px;color:",";"," @media ","{margin-bottom:36px;}"],K.BY,K.o,h.a.MidnightBlue,({$align:e})=>e&&(0,E.wk)(e),L.bp.p),e0=({onClose:e,onSuccess:t,isOpen:i,title:o,copytext:a,c
1opytextAlign:r,jobId:l})=>{let{activeJobAdTitleColor:d}=A(),{mode:s}=(0,m.N)(),c=s===U.q5.Build,p=(0,k.useRef)(null),u=(0,k.useRef)(null),h=(0,k.useRef)(null),g=(0,k.useRef)(null),f=(0,k.useRef)(null),{0:y,1:x}=(0,k.useState)(!1),{0:b,1:v}=(0,k.useState)(!1),w=()=>{v(!1),eo.m.unlockPage(),Q.os.timeline().to(p.current,{opacity:0,display:"none",duration:.3,onComplete:()=>{e()}})};return(0,k.useEffect)(()=>{i?(Q.os.timeline().to(p.current,{opacity:1,display:"block",duration:.3,onComplete:()=>{var e;v(!0);let t=null==(e=h.current)?void 0:e.querySelector("input");t&&t.focus()}}).fromTo(u.current,{opacity:0,y:50},{opacity:1,y:0,duration:.2}).fromTo(h.current,{opacity:0,y:50},{opacity:1,y:0,duration:.2}).fromTo(g.current,{opacity:0,y:50},{opacity:1,y:0,duration:.2}),eo.m.lockPage()):w()},[i]),(0,n.jsxs)(eY,{ref:p,className:"js-quick-application-modal",$isBuilder:c,role:"dialog","aria-modal":"true","aria-hidden":!i,children:[(0,n.jsx)(Z.Z,{isVisible:y,isTransparent:!0}),(0,n.jsx)(ee.k,{isActive:b&&!y,children:(0,n.jsxs)(eJ,{children:[(0,n.jsx)(eX,{onClick:w,children:(0,n.jsx)(et.In,{name:X.kj.Cancel,size:X.lK.Tiny})}),(0,n.jsx)(eU,{children:(0,n.jsx)(eG,{ref:f,children:(0,n.jsxs)(eV,{children:[(0,n.jsxs)("div",{ref:u,children:[(0,n.jsx)(eK,{$color:d,children:o}),(0,n.jsx)(eZ,{$align:r,children:(0,n.jsx)(ei.E,{children:a})})]}),(0,n.jsx)(eQ,{title:o,copytext:a,jobId:l,formFieldsRef:h,formButtonsRef:g,onClose:w,onSuccess:()=>{t(),w()},onLoading:e=>{x(e)},modalRef:f})]})})})]})})]})},e1=S.Ay.div.withConfig({displayName:"Item__Container",componentId:"sc-s9yfgc-0"})(["cursor:pointer;position:",";transition:background-color 0.25s ease-in-out;border-top:2px solid ",";min-height:149px;@media ","{min-height:114px;}@media ","{min-height:130px;}@media ","{min-height:146px;}&:last-child{border-bottom:2px solid ",";}&:hover{background-color:",';&::before{opacity:1;}}&::before{content:"";pointer-events:none;',";backdrop-filter:blur(16px);opacity:0;transition:opacity 0.25s ease-in-out;}",""],({$isBuilder:e})=>e?"static":"relative",({$color:e})=>(0,Y.B3)(e,.1),L.bp.p,L.bp.t,L.bp.d,({$color:e})=>(0,Y.B3)(e,.1),({$color:e})=>(0,Y.B3)(e,.05),E.Pu,({$isSuccess:e})=>e&&(0,S.AH)(["display:flex;align-items:center;justify-content:center;pointer-events:none;"])),e2=S.Ay.div.withConfig({displayName:"Item__Overlay",componentId:"sc-s9yfgc-1"})(["position:absolute;top:50%;right:50%;height:100%;width:100%;transform:translate(50%,-50%);background-color:",";pointer-events:none;z-index:200;opacity:0;"],h.a.Grey),e5=S.Ay.div.withConfig({displayName:"Item__Group",componentId:"sc-s9yfgc-2"})(["overflow:hidden;padding:28px ",";@media ","{padding:"," ",";}@media ","{padding:"," ",";}@media ","{padding:"," ",";}"],(0,E.QA)(2),L.bp.p,(0,E.ls)(4),(0,E.QA)(2),L.bp.t,(0,E.ls)(5),(0,E.QA)(1),L.bp.d,(0,E.ls)(6),(0,E.QA)(1)),e4=S.Ay.div.withConfig({displayName:"Item__ContentWrapper",componentId:"sc-s9yfgc-3"})(["overflow:hidden;"]),e3=S.Ay.div.withConfig({displayName:"Item__Content",componentId:"sc-s9yfgc-4"})(["width:100%;position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;gap:24px;@media ","{flex-direction:row;justify-content:space-between;}"],L.bp.p),e6=S.Ay.div.withConfig({displayName:"Item__Title",componentId:"sc-s9yfgc-5"})(["",";font-size:1.5rem;margin:0;word-break:break-word;text-align:center;transition:color 0.3s ease-in-out,transform 0.3s ease-in-out;color:",";@media ","{font-size:1.75rem;text-align:left;}@media ","{font-size:2.24rem;}"],G.R_,({$color:e})=>e,L.bp.p,L.bp.d),e7=S.Ay.div.withConfig({displayName:"Item__SuccessMessage",componentId:"sc-s9yfgc-6"})(["text-align:center;font-size:1rem;"," color:",";@media ","{font-size:1.125rem;}"],(0,E.Jl)(),({$color:e})=>e,L.bp.p),e8=e=>{let{backgroundImage:t,backgroundColor:i,jobAdTitleColor:o,badgeBackgroun
1dColor:r}=A(),{mode:l}=(0,m.N)(),d=l===U.q5.Build,{t:s}=(0,a.Bd)(),{0:c,1:p}=(0,k.useState)(!1),{0:u,1:g}=(0,k.useState)(!1),f=(0,k.useRef)(null),y=(0,k.useRef)(null),x=()=>{p(!1),Q.os.timeline().to(y.current,{width:"100%",height:"100%",duration:.6,easing:"power2.out"}).to(y.current,{opacity:0,duration:.2},"timeLabel").to(f.current,{opacity:1,duration:.2},"timeLabel")};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)(e1,{$color:t||i&&!(0,V.MW)(i)?h.a.White:h.a.DarkBlue,$isSuccess:u,$isBuilder:d,children:[(0,n.jsx)(e2,{ref:y}),u?(0,n.jsx)(e7,{$color:o,children:s("widget.quick-application.success.message")}):(0,n.jsx)(e5,{onClick:()=>{Q.os.timeline().to(f.current,{opacity:0,duration:.2}).to(y.current,{opacity:1,duration:.3},0).to(y.current,{width:"100vw",height:"200vh",duration:.6,easing:"power2.in",onComplete:()=>{p(!0)}})},children:(0,n.jsx)(e4,{children:(0,n.jsxs)(e3,{ref:f,children:[(0,n.jsx)(e6,{$color:o,children:e.title}),(0,n.jsx)(J.$n,{leftIcon:X.kj.Thunder,color:r,iconSize:J.f3.Large,label:s("widget.quick-application.badge.label")})]})})}),(0,n.jsx)(e0,Object.assign({isOpen:c,onClose:x,onSuccess:()=>{x(),g(!0)}},e))]})})},e9=(0,S.Ay)(O.w).withConfig({displayName:"QuickApplication__Container",componentId:"sc-1yags5z-0"})(["padding:56px 0;position:initial;@media ","{padding:80px 0;}"],L.bp.p),te=(0,S.Ay)($.m).withConfig({displayName:"QuickApplication__StyledWrapper",componentId:"sc-1yags5z-1"})(["position:static;"]),tt=S.Ay.div.withConfig({displayName:"QuickApplication__HeadlineContainer",componentId:"sc-1yags5z-2"})([""," "," @media ","{"," ","}@media ","{"," ","}@media ","{"," ","}"],(0,T.xU)(2),(0,T.vd)(10),L.bp.p,(0,T.xU)(5),(0,T.vd)(16),L.bp.t,(0,T.xU)(4),(0,T.vd)(18),L.bp.d,(0,T.xU)(5),(0,T.vd)(16)),ti=S.Ay.div.withConfig({displayName:"QuickApplication__ItemsContainer",componentId:"sc-1yags5z-3"})(["margin:"," 0;"],(0,E.ls)(7)),to=S.Ay.div.withConfig({displayName:"QuickApplication__StepsContainer",componentId:"sc-1yags5z-4"})(["margin-top:56px;@media ","{margin-top:98px;}@media ","{margin-top:72px;}@media ","{margin-top:88px;}"],L.bp.p,L.bp.t,L.bp.d),tn=({className:e})=>{let{backgroundColor:t,backgroundImage:i,headline:o,isMainHeading:a,copytext:r,headlineAlign:l,copytextAlign:d,gradient:s,overlay:c,widgetId:p,activateSteps:m,items:u}=A(),g=(0,k.useRef)(null),f=()=>{var e;let t=null==(e=g.current)?void 0:e.querySelectorAll(".js-quick-application-modal")[0];t&&(t.style.display="none",t.style.opacity="0")};return(0,B.k)({widgetType:P.x.QuickApplication,widgetId:p,events:{onTabSelected:e=>{"form"===e.tabId?(()=>{var e;let t=null==(e=g.current)?void 0:e.querySelectorAll(".js-quick-application-modal")[0];t&&(t.style.display="block",t.style.opacity="1")})():f()},onFormClosed:()=>{f()}}}),(0,n.jsx)(e9,{widgetName:P.x.QuickApplication,widgetId:p,backgroundColor:t,backgroundImage:i,gradient:s,overlay:c,className:e,bgZIndex:-1,children:(0,n.jsxs)(te,{children:[(0,n.jsx)(z.x,{children:(0,n.jsx)(tt,{children:(0,n.jsx)(N.G,Object.assign({headline:o,text:r,headlineAlign:l,textAlign:d,defaultTextColor:h.a.MidnightBlue},a?{headlineTag:"h1"}:void 0))})}),(0,n.jsx)(ti,{ref:g,children:u.map((e,t)=>(0,n.jsx)(e8,Object.assign({},e),t))}),m&&(0,n.jsx)(to,{children:(0,n.jsx)(H,{})})]})})};function ta({formData:e,widgetId:t}){return(0,n.jsx)(I,{formData:e,widgetId:t,children:(0,n.jsx)(tn,{})})}let tr=ta},74630:(e,t,i)=>{i.d(t,{c:()=>y});var o=i(37876),n=i(14232),a=i(10406),r=i(5646),l=i(38924),d=i(45031),s=i(21845),c=i(17370),p=function(e,t){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&0>t.indexOf(o)&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)0>t.indexOf(o[n])&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(i[o[n]]=e[o[n]]);return i};let m=r.Ay.div.withConfig({displayName:"PickList__Container",componentId:"sc-f6s74w-0"})(["position:relative;"]),u=r.Ay.div.withConfig({displayName:"PickList__Options",componentId:"sc-f6s74w-1"})(["display:flex;flex-direction:column;row-gap:1rem;"]),h=r.Ay.button.withConfig({displayName:"PickList__Option",componentId:"sc-f6s74w-2"})(["",";"],({theme:e,$isActive:t})=>(0,r.AH)([""," "," "," justify-content:flex-start;text-align:left;width:100%;counter-increment:counter;position:relative;font-size:1rem;line-height:1.25;padding:1rem 1.5rem 1rem 4.5rem;background-color:",";color:",";transition:background-color ",",color ",";&:before{position:absolute;top:50%;transform:translateY(-50%);left:1.5rem;color:",";content:counter(counter,upper-alpha);font-size:1.25rem;"," transition:color ",";@media ",'{font-size:1.5rem;}}&:after{content:"";',";z-index:0;pointer-events:none;box-shadow:",";
1transition:box-shadow ",";border-radius:inherit;}&:focus-visible{&:after{outline:2px solid ",";outline-offset:-4px;}}&:hover{&:before{color:",";}&:after{box-shadow:",";}}@media ","{padding:1.5rem 1.5rem 1.5rem 4.5rem;}"],l.GS,l.tP,(0,l.hD)(d.kM,d.Sw),t?e.design.colorSchema.highlightColor:s.a.White,t?s.a.White:s.a.Label,d.xf,d.xf,t?s.a.White:s.a.Label,(0,l.ji)(),d.xf,c.bp.t,l.Pu,d.FR.cardShadow,d.xf,s.a.OutlineSecondary,t?s.a.White:e.design.colorSchema.highlightColor,d.FR.hoverCardShadow,c.bp.t)),g=r.Ay.input.withConfig({displayName:"PickList__HiddenInput",componentId:"sc-f6s74w-3"})(["position:absolute;pointer-events:none;border:none;z-index:-100;width:100%;height:0;opacity:0;"]),f=(e,t)=>{var{defaultValue:i,options:r,multiple:l=!1,onChange:d}=e,s=p(e,["defaultValue","options","multiple","onChange"]);let{0:c,1:f}=(0,n.useState)(l?i?Array.isArray(i)?i:[i]:[]:i||""),y=(0,n.useRef)(null);return(0,o.jsxs)(m,Object.assign({},s,{children:[(0,o.jsx)(g,Object.assign({ref:(0,a.P)([y,t]),type:"text",defaultValue:i,readOnly:!0},s,{tabIndex:-1})),(0,o.jsx)(u,{children:r.map((e,t)=>{let i=l?c.includes(e.value):e.value===c;return(0,o.jsx)(h,{onClick:()=>(e=>{let t,i={target:{value:t=l?c.includes(e)?c.filter(t=>t!==e):[...c,e]:e,name:s.name},type:"change"};y.current&&(y.current.value=l?(null==t?void 0:t.length)>0?JSON.stringify(t):"":String(t)),f(t),null==d||d(i)})(e.value),$isActive:i,type:"button",children:e.label},t)})})]}))};f.displayName="PickList";let y=(0,n.forwardRef)(f)},76954:(e,t,i)=>{i.d(t,{k:()=>l});var o=i(14232),n=i(85882),a=i(32251);let r="page-builder-react",l=({widgetType:e,widgetId:t,events:i})=>{let{isBuilderEnv:l,mode:d}=(0,a.N)(),s=(0,o.useCallback)(function(e){return i=>{t&&i.detail.payload.widgetId===t&&e(i.detail.payload)}},[]);(0,o.useEffect)(()=>{if(d!==n.q5.Build&&!l)return;let t=`${r}:${e}:tabSelected`,o=i.onTabSelected?s(i.onTabSelected):void 0;o&&document.addEventListener(t,o);let a=`${r}:${e}:formClosed`,c=i.onFormClosed?s(i.onFormClosed):void 0;c&&document.addEventListener(a,c);let p=`${r}:${e}:formOpened`,m=i.onFormOpened?s(i.onFormOpened):void 0;m&&document.addEventListener(p,m);let u=`${r}:${e}:listItemSelected`,h=i.onListItemSelected?s(i.onListItemSelected):void 0;h&&document.addEventListener(u,h);let g=`${r}:${e}:listItemUpdated`,f=i.onListItemUpdated?s(i.onListItemUpdated):void 0;f&&document.addEventListener(g,f);let y=`${r}:${e}:listItemClosed`,x=i.onListItemClosed?s(i.onListItemClosed):void 0;return x&&document.addEventListener(y,x),()=>{o&&document.removeEventListener(t,o),c&&document.removeEventListener(a,c),m&&document.removeEventListener(p,m),h&&document.removeEventListener(u,h),f&&document.removeEventListener(g,f),x&&document.removeEventListener(y,x)}},[])}},85812:(e,t,i)=>{i.d(t,{o:()=>l});var o=i(14232),n=i(14453),a=i(59698),r=i(42044);let l=({resizingType:e=r.Ch.Fill,gravity:t=r.rn.Center,useImageRatio:i=!0})=>{let l=a.k?1:window.devicePixelRatio;return{getRespImgUrl:(0,o.useCallback)((o,a,r)=>{let d=Math.ceil(o*l),s=Math.ceil(a*l),c=(0,n._Z)({height:s,width:d,useImageRatio:i});return(0,n.DE)(r,{width:c.width,height:c.height,resizingType:e,gravity:t})},[e,l,l])}}},94680:(e,t,i)=>{i.d(t,{Q:()=>n});var o=i(99742);let n=o.env.REACT_APP_SOCIAL_APPLY_HOST||o.env.STORYBOOK_SOCIAL_APPLY_HOST||"https://social-apply.softgarden.io"},96208:(e,t,i)=>{i.d(t,{w:()=>b});var o=i(37876),n=i(14232),a=i(5646),r=i(64072),l=i(44789),d=i(78116),s=i(85882),c=i(32251),p=i(17370),m=i(53502),u=i(38283),h=i(72655);let g=[d.x.TargetGroups,d.x.Iconbox,d.x.Imagebox,d.x.Iframe,d.x.Quotes,d.x.Contacts,d.x.Events,d.x.Certificates,d.x.Social,d.x.Gallery,d.x.Video],f=a.Ay.section.withConfig({displayName:"Section__Container",componentId:"sc-xkeag-0"})(["background-color:",";@media ","{opacity:0;opacity:",';}&:not([data-widget="job-ad-header"]) + [data-widget="job-ad-headline"]{padding-top:24px;@media ',",print{padding-top:40px;}}"],({$backgroundColor:e})=>e,p.bp.p,({$isVisible:e})=>+!!e,p.bp.d),y=a.Ay.div.withConfig({displayName:"Section__Content",componentId:"sc-xkeag-1"})(["position:relative;z-index:1;",""],({$withoutTopOffset:e})=>e&&(0,a.AH)(["&&{padding-top:0;margin-top:0;}"])),x=a.Ay.div.withConfig({displayName:"Section__ContentStartElement",componentId:"sc-xkeag-2"})(["height:0;width:0;opacity:0;"]),b=(0,n.forwardRef)(({widgetName:e,backgroundColor:t,backgroundImage:i,gradient:p,overlay:b,children:v,widgetId:w,isBgFixed:C=!0,className:_,bgZIndex:j,exportPdf:I=!1},A)=>{let{mode:k,device:S}=(0,c.N)(),O=(0,u.D)(100),N=!t||(0,r.MW)(t),{0:P,1:L}
1=(0,n.useState)(!1);return(0,n.useEffect)(()=>{if(!w)return;let i=h.N.setMeta(w,{type:e,backgroundColor:t||void 0}),o=h.N.getMetaByIndex(i-1);o&&k!==s.q5.Build&&L(g.includes(e)&&o.type===d.x.Headline&&o.backgroundColor===(t||void 0))},[t,e,w]),(0,o.jsx)(a.NP,{theme:{isBgIsLight:N},children:(0,o.jsx)(f,{ref:A,"data-widget":e,"data-widget-id":w,$backgroundColor:t,$isVisible:O||"mobile"===S,"data-export-pdf":I,children:(0,o.jsx)(m.o,{src:null==i?void 0:i.src,gradient:p,overlay:b,fixed:C,zIndex:j,children:(0,o.jsxs)(y,{className:_,$withoutTopOffset:P,children:[(0,o.jsx)(x,{tabIndex:-1,className:l.T}),v]})})})})});b.displayName="Section"}}]);

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.