1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4581],{19908:(t,e,o)=>{o.r(e),o.d(e,{WidgetStickyCTA:()=>K,default:()=>z});var i=o(37876),a=o(14232),n=o(34846),l=o(11234),c=o(62715),r=o(97614),s=o(32251),p=o(73055),d=o(74766),u=o(84840),b=o(2091),h=o(41984),g=o(94680),k=o(21845),y=o(46168),v=o(95153),A=o(39730),m=o(24948),x=o(4483);let f=({children:t,widgetId:e,formData:o})=>{var f;let{t:w}=(0,n.Bd)(),{design:C,featureMatrix:T,apiData:j}=(0,s.N)(),S=(0,d.b)(),N=(0,u.G)(C.colorSchema),B=(0,b.b)(o.buttonColor,N),O=Number(o.buttonApplyNow.value),_=!T.disabledJobApplicants&&o.activateTotalApplication.checked,L=o.buttonType.value,$=L!==l.V.ApplyNow,{totalApplications:I}=(0,m.d)({jobPostingId:O,skip:!_||$||!O}),{jobAdApplicationProviders:E}=(0,x.C)({jobPostingId:O,skip:$||!O}),G=(0,h.I)(E),P=void 0!==I?(0,y.O)(I,w):void 0,V=(0,b.b)(o.backgroundColor,N,k.a.Transparent),F=(0,b.b)(o.buttonBackgroundColor,N,k.a.White),K=(0,b.b)(o.totalApplicationColor,N,k.a.Text),z=null==(f=S.metadata)?void 0:f.isUseModernApplication,D=j.domainData.rootProjectDomain,M=(0,a.useMemo)(()=>Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({type:L,label:o.buttonText.value,color:B},(0,v.Kb)(L===l.V.Anchor,{widgetAnchor:o.anchorToWidget.value})),(0,v.Kb)(L===l.V.Email,Object.assign({email:o.buttonEmail.value},(0,A.F)(c.O.StickySTA,o.buttonEmail.value)))),(0,v.Kb)(L===l.V.JobList,Object.assign({filterPresets:o.filterPresets},(0,A.F)(c.O.StickySTA)))),(0,v.Kb)(L===l.V.Link,Object.assign({href:o.buttonLink.value,isTargetBlank:o.activateTargetBlankForLink.checked},(0,A.F)(c.O.StickySTA,o.buttonLink.value)))),(0,v.Kb)(L===l.V.ApplyNow,{jobPostingId:O,href:z?(0,y.r)(D,o.buttonApplyNow.value,o.buttonApplyNow.layoutId):o.buttonApplyNow.applyOnlineLink})),[L,o,B,z,D]),W={isLarge:o.activateLargeButtonSize.checked,isTotalApp:o.activateTotalApplication.checked,totalAppText:_&&!$?P:void 0,totalApplicationColor:K,socialApplyHref:`${g.Q}/start?payload={{payload}}`,backgroundColor:V,buttonBackgroundColor:F,applicationProviders:L===l.V.ApplyNow?G:[],activateButtonShadow:o.activateButtonShadow.checked,horizontalAlign:o.position.value,stickyPosition:o.activateTopPositionForButton.checked?r.G.Top:r.G.Bottom,button:M};return(0,i.jsx)(p.X,{data:W,widgetId:e,children:t})},w=p.t;var C=o(5646),T=o(36877),j=o(96208),S=o(67669),N=o(78116),B=o(20104),O=o(45031),_=o(17370),L=o(38924),$=o(18550),I=o(79685);let E=C.Ay.section.withConfig({displayName:"StickyCTA__StickyContainer",componentId:"sc-lnu7kg-0"})([""," z-index:",";pointer-events:none;"],({$position:t,$topOffset:e})=>t&&(0,C.AH)(["position:sticky;",";"],t===r.G.Top?`top: ${e}px`:"bottom: 0px"),O.fE.ctaButton),G=(0,C.Ay)(j.w).withConfig({displayName:"StickyCTA__Container",componentId:"sc-lnu7kg-1"})(["display:flex;justify-content:center;@media ","{justify-content:",";}"],_.bp.p,({$align:t})=>t),P=C.Ay.div.withConfig({displayName:"StickyCTA__Content",componentId:"sc-lnu7kg-2"})(["pointer-events:initial;",";padding:24px 32px;background-color:",";display:flex;overflow:hidden;z-index:0;flex-direction:column;align-items:center;margin:24px;max-width:576px;",""],({$isLarge:t})=>t?(0,L.hD)(O.Zi,O.fS):(0,L.hD)(O.hu,O.bG),({$bgColor:t})=>t,({$withShadow:t})=>t&&(0,C.AH)(["box-shadow:0 0 64px ",";"],(0,T.B3)(k.a.Black,.15))),V=C.Ay.div.withConfig({displayName:"StickyCTA__Background",componentId:"sc-lnu7kg-3"})(['position:relative;height:0;&:before{content:"";position:absolute;top:0;left:0;right:0;height:',"px;background-color:",";}"],({$height:t})=>t,({$color:t})=>t),F=({className:t})=>{let{isLarge:e,applicationProviders:o,totalAppText:a,widgetId:n,button:l,backgroundColor:c,buttonBackgroundColor:r,stickyPosition:s,horizontalAlign:p,activateButtonShadow:d,totalApplicationColor:u}=w(),{headerHeight:b}=(0,$.A)(),[h,{height:g}]=(0,I.W)(),k=L.tK[p];return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(V,{$color:c,$he
1ight:g}),(0,i.jsx)(E,{ref:h,$position:s,$topOffset:b,children:(0,i.jsx)(G,{$align:k,widgetName:N.x.StickyCTA,widgetId:n,className:t,children:(0,i.jsx)(P,{$bgColor:r,$withShadow:d,$isLarge:e,children:(0,i.jsx)(S.c,{button:l,buttonSize:e?B.Mp.Large:B.Mp.Medium,applicationProviders:o,text:a,textColor:u})})})})]})};function K({formData:t,widgetId:e}){return(0,i.jsx)(f,{formData:t,widgetId:e,children:(0,i.jsx)(F,{})})}let z=K},84840:(t,e,o)=>{o.d(e,{G:()=>a});var i=o(8943);let a=t=>(0,i.lB)(()=>[t.highlight,...t.colors],[t.highlight,t.colors])},97144:(t,e,o)=>{o.d(e,{E:()=>a});var i=o(18847);let a=o.n(i)()(()=>o.e(6838).then(o.bind(o,36838)),{loadableGenerated:{webpack:()=>[36838]}})}}]);
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.