1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[479],{22:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>l});let l={src:"/_next/static/media/arrow-forward-20x20.21b7e18f.svg",height:21,width:20,blurWidth:0,blurHeight:0}},44:(e,t,a)=>{"use strict";a.d(t,{default:()=>E});var l=a(5155),n=a(63),r=a(2115),i=a(8479);let s=async()=>new Promise((e,t)=>{fetch(new URL("".concat("https://www.comptia.org","/api/auth/token/")).href,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({grant_type:"client_credentials",client_id:"61bbc959-60b9-4e87-8a8c-98258a290675"})}).then(async a=>{if(!a.ok)return void t(Error("Error: ".concat(a.statusText)));let l=await a.json();l&&l.access_token?e(l.access_token):t(Error("Error: Access token not found in response."))}).catch(e=>{t(e instanceof Error?e:Error(String(e)))})}),o=e=>new Promise((t,a)=>{window.grecaptcha.ready(()=>{window.grecaptcha.execute(e,{action:"submit"}).then(e=>{let a=document.getElementById("g-recaptcha-response");a&&(a.value=e),t(e)}).catch(a)})}),c=e=>{let{properties:{siteKey:t}}=e;return(0,r.useEffect)(()=>{if(window.grecaptcha)o(t);else{let e=document.createElement("script");e.src="https://www.google.com/recaptcha/api.js?render=".concat(t),e.async=!0,e.defer=!0,document.body.appendChild(e)}},[t]),(0,l.jsx)("input",{type:"hidden",name:"g-recaptcha-response",id:"g-recaptcha-response",value:""})};var d=a(189),m=function(e){return e.UpdateValue="UpdateValue",e.UpdateValidation="UpdateValidation",e.UpdateDependencies="UpdateDependencies",e.ResetForm="ResetForm",e.ResetFormDone="ResetFormDone",e.UpdateAllValidation="UpdateAllValidation",e.UpdateFocusOn="UpdateFocusOn",e.UpdateIdentityInfo="UpdateIdentityInfo",e.UpdateSubmissionKey="UpdateSubmissionKey",e.UpdateCurrentStepIndex="UpdateCurrentStepIndex",e.UpdateIsSubmitting="UpdateIsSubmitting",e.UpdateElementDependencies="UpdateElementDependencies",e.UpdateFileManipulation="UpdateFileManipulation",e}({});function u(e,t){switch(t.type){case"UpdateValue":return{...e,formSubmissions:e.formSubmissions.map(e=>
1(0,d.aI)(e.elementKey,t.elementKey)?{elementKey:t.elementKey,value:t.value}:e)};case"UpdateElementDependencies":return{...e,elementDependencies:e.elementDependencies.map(e=>(0,d.aI)(e.elementKey,t.elementKey)?{elementKey:t.elementKey,isSatisfied:t.condition,sastisfiedAction:t.satisfiedAction}:e)};case"UpdateValidation":return{...e,formValidationResults:e.formValidationResults.map(e=>(0,d.aI)(e.elementKey,t.elementKey)?{elementKey:t.elementKey,result:t.validationResult}:e)};case"UpdateAllValidation":return{...e,formValidationResults:t.formValidationResults};case"UpdateDependencies":return{...e,dependencyInactiveElements:t.dependencyInactiveElements};case"ResetForm":return{...e,...t.formState};case"ResetFormDone":return{...e,isReset:!1};case"UpdateFocusOn":return{...e,focusOn:t.focusOn};case"UpdateIdentityInfo":return{...e,identityInfo:t.identityInfo};case"UpdateSubmissionKey":return{...e,submissionKey:t.submissionKey};case"UpdateCurrentStepIndex":return{...e,currentStepIndex:t.currentStepIndex};case"UpdateIsSubmitting":return{...e,isSubmitting:t.isSubmitting};case"UpdateFileManipulation":return{...e,isFileManipulation:t.isFileManipulation};default:return e}}var x=function(e){return e.B2B="b2b",e.B2C="b2c",e}({});let p=(0,r.createContext)(null),h=(0,r.createContext)(null);function b(){return(0,r.useContext)(p)}function g(){return(0,r.useContext)(h)}let f=e=>{let{children:t,initialState:a}=e,[n,i]=(0,r.useReducer)(u,a);return(0,l.jsx)(p.Provider,{value:n,children:(0,l.jsx)(h.Provider,{value:i,children:t})})};function v(e){var t,a;let n=!(null==(a=e.validationResults)||null==(t=a.result)?void 0:t.valid);return(0,l.jsx)(l.Fragment,{children:e.isVisible&&(0,l.jsx)("div",{className:"Form__Element ".concat(e.className," ").concat(n?"ValidationFail":"ValidationSuccess"),...e.extraAttr,children:e.children})})}class y{constructor(e){this.updateValidation=(e,t)=>{this._dispatch({type:m.UpdateValidation,elementKey:e,validationResult:t})},this.UpdateElementDependencies=(e,t,a)=>{this._dispatch({type:m.UpdateElementDependencies,elementKey:e,condition:t,satisfiedAction:a})},this.updateAllValidation=e=>{this._dispatch({type:m.UpdateAllValidation,formValidationResults:e})},this.updateValue=(e,t)=>{this._dispatch({type:m.UpdateValue,elementKey:e,value:t})},this.updateDependencies=e=>{this._dispatch({type:m.UpdateDependencies,dependencyInactiveElements:e})},this.resetFormDone=()=>{this._dispatch({type:m.ResetFormDone})},this.resetForm=e=>{this._dispatch({type:m.ResetForm,formState:{...(0,d.uB)(e),isReset:!0}})},this.updateFocusOn=e=>{this._dispatch({type:m.UpdateFocusOn,focusOn:e})},this.updateIdentity=e=>{this._dispatch({type:m.UpdateIdentityInfo,identityInfo:e})},this.updateSubmissionKey=e=>{this._dispatch({type:m.UpdateSubmissionKey,submissionKey:e})},this.updateCurrentStepIndex=e=>{this._dispatch({type:m.UpdateCurrentStepIndex,currentStepIndex:e})},this.updateIsSubmitting=e=>{this._dispatch({type:m.UpdateIsSubmitting,isSubmitting:e})},this.updateFileManipulation=e=>{this._dispatch({type:m.UpdateFileManipulation,isFileManipulation:e})},this._dispatch=e}}var j=a(4312);let w=e=>{var t,a,l,n,i,s,o,c,m;let u=b(),x=new d.fI,p=(0,r.useRef)({}),h=new d.tL(e),f=new d.Tc(e),v=(0,d.Bu)(e),w=(0,r.useRef)(!0),N=g(),A=(0,r.useMemo)(()=>new y(N),[N]),C=(0,r.useRef)(null),k=null!=(s=null==(t=(null!=(i=null==u?void 0:u.formSubmissions)?i:[]).filter(t=>
1(0,d.aI)(t.elementKey,e.key))[0])?void 0:t.value)?s:"",_=null!=(c=(null!=(o=null==u?void 0:u.formValidationResults)?o:[]).filter(t=>(0,d.aI)(t.elementKey,e.key))[0])?c:{elementKey:e.key,result:{valid:!0}},L=e.properties,T=null==(a=L.validators)?void 0:a.some(e=>e.type===d.vb.RequiredValidator),S=(0,r.useRef)(null!=(m=null==(l=L.validators)?void 0:l.reduce((e,t)=>{var a;return"".concat(e," ").concat(null!=(a=t.model.validationCssClass)?a:"")},""))?m:"");return T&&(p.current={...p.current,required:T,"aria-required":T}),(0,d.uJ)(e.properties.description)||(p.current={...p.current,title:e.properties.description}),(null==(n=e.properties.forms_ExternalSystemsFieldMappings)?void 0:n.length)>0&&(p.current={...p.current,list:"".concat(e.key,"_datalist")}),(0,r.useEffect)(()=>{(null==u?void 0:u.isReset)&&((0,d.aI)(e.contentType,"FileUploadElementBlock")&&C.current&&(C.current.value=null),A.resetFormDone())},[null==u?void 0:u.isReset]),(0,r.useEffect)(()=>{var t;let a=e.properties;if((0,d.kZ)(a.satisfiedAction)||(0,d.kZ)(a.conditions))return;let l=f.checkConditions(null==u?void 0:u.formSubmissions,null==u?void 0:u.elementDependencies);l?w.current=(0,d.aI)(a.satisfiedAction,d.Dj.Show):w.current=(0,d.aI)(a.satisfiedAction,d.Dj.Hide),(null==u||null==(t=u.elementDependencies.find(t=>t.elementKey===e.key))?void 0:t.isSatisfied)!=l&&A.UpdateElementDependencies(e.key,l,a.satisfiedAction)},[null==u?void 0:u.formSubmissions,null==u?void 0:u.elementDependencies]),(0,r.useEffect)(()=>{var t;let a=null!=(t=null==u?void 0:u.focusOn)?t:"";(0,d.aI)(a,e.key)&&(C.current&&C.current.focus(),A.updateFocusOn(""))},[null==u?void 0:u.focusOn]),(0,r.useEffect)(()=>{if((0,d.aI)(e.contentType,"SubmitButtonElementBlock")&&C.current){var t;C.current.disabled=null!=(t=null==u?void 0:u.isSubmitting)&&t}},[null==u?void 0:u.isSubmitting]),{elementContext:{value:k,defaultValue:v,validationResults:_,validatorClasses:S.current,extraAttr:p.current,isVisible:w.current,elementRef:C,messages:null==u?void 0:u.messages},handleChange:t=>{var a;let{name:l,value:n,type:r,checked:i,files:s,selectedOptions:o}=t.target,c=n;if(/checkbox|radio/.test(r)){let e=(0,d.kZ)(k)||/radio/.test(r)?[]:k.split(",");i?e.push(n):e=e.filter(e=>!(0,d.aI)(e,n)),c=e.length>0?e.filter(e=>!(0,d.uJ)(e)).join(","):null}if(/file/.test(r)){let t=[];for(var m=0;m<s.length;m++){var x=s[m];t.push({name:x.name,file:x})}c=t,A.updateValidation(e.key,h.validate(s))}/select-multiple/.test(r)&&(c=Array.from(o,e=>e.value).join(",")),A.updateValue(e.key,c);let p=null==u||null==(a=u.formContainer)?void 0:a.key,b=null==u?void 0:u.formName,g=null==u?void 0:u.formAudience;(0,j.A)({event:"form_begin",form_id:p,form_name:b,form_audience:g},p)},handleBlur:t=>{A.updateValidation(e.key,h.validate(k))},handleReset:e=>{e.preventDefault();let t=null!=(a=null==u?void 0:u.formContainer)?a:{};if((e=>!!(0,d.uJ)(e)||confirm((0,d.FK)(e)))(t.properties.resetConfirmationMessage)){x.remove(d.cn.FormCurrentStep+t.key),x.remove(t.key),A.resetForm(t),A.updateCurrentStepIndex(0);var a,l,n,r,i=null==(r=t.steps[0])||null==(n=r.formStep)||null==(l=n.properties)?void 0:l.attachedContentLink;if(!(0,d.uJ)(i)){let e=new URL(i);(null==u?void 0:u.history)&&(null==u||u.history.push(e.pathname))}}},handleKeyPress:e=>{let{type:t}=e.target;/number/.test(t)&&69===e.keyCode&&e.preventDefault()}}},N=e=>{var t,a;let{element:n}=e;return(0,l.jsx)(l.Fragment,{children:(null==(t=n.properties.forms_ExternalSystemsFieldMappings)?void 0:t.length)>0&&(0,l.jsx)("datalist",{id:"".concat(n.key,"_datalist"),children:null==(a=n.properties.forms_ExternalSystemsFieldMappings)?void 0:a.map(e=>(0,l.jsx)("option",{value:e},e))})})},A=e=>{let{element:t}=e;return(0,l.jsx)("label",{htmlFor:t.key,className:"Form__Element__Caption",children:t.properties.label})},C=e=>{let{validationResults:t}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("span",{className:"Form__Element__ValidationError",id:"".concat(t.elementKey,"_desc"),role:"alert",style:{display:t.result.valid?"none":""},children:t.result.message})})};var k=a(1469);let _={TextboxElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}
1=w(t),{isVisible:s,validationResults:o,value:c,elementRef:d,validatorClasses:m,extraAttr:u}=a;return(0,r.useMemo)(()=>{var e;return(0,l.jsxs)(v,{className:"FormTextbox ".concat(m),validationResults:o,isVisible:s,children:[(0,l.jsx)("input",{name:t.key,id:t.key,type:"text",className:"FormTextbox__Input","aria-describedby":"".concat(t.key,"_desc"),placeholder:null!=(e=t.properties.placeHolder)?e:" ",value:c,autoComplete:t.properties.autoComplete,"data-label":t.properties.label,...u,onChange:n,onBlur:i,ref:d}),(0,l.jsx)(A,{element:t}),(0,l.jsx)(C,{element:t,validationResults:o}),(0,l.jsx)(N,{element:t})]})},[s,o,c])},TextareaElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}=w(t),{isVisible:s,validationResults:o,value:c,extraAttr:d,validatorClasses:m,elementRef:u}=a;return(0,r.useMemo)(()=>{var e;return(0,l.jsxs)(v,{className:"FormTextbox FormTextbox--Textarea ".concat(m),validationResults:o,isVisible:s,children:[(0,l.jsx)("textarea",{name:t.key,id:t.key,className:"FormTextbox__Input",placeholder:null!=(e=t.properties.placeHolder)?e:" ","data-label":t.properties.label,...d,"aria-describedby":"".concat(t.key,"_desc"),value:c,autoComplete:t.properties.autoComplete,onChange:n,onBlur:i,ref:u}),(0,l.jsx)(A,{element:t}),(0,l.jsx)(C,{element:t,validationResults:o})]})},[s,o,c])},PredefinedHiddenElementBlock:e=>{let{element:t}=e,{elementContext:a}=w(t),{value:n,extraAttr:r}=a;return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("input",{name:t.key,id:t.key,type:"hidden",value:n,className:"Form__Element FormHidden FormHideInSummarized",...r})})},ChoiceElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}=w(t),{isVisible:s,validationResults:o,value:c,validatorClasses:m,extraAttr:u}=a;return(0,r.useMemo)(()=>{var e;return(0,l.jsxs)(v,{className:"FormChoice ".concat(t.properties.allowMultiSelect?"FormChoice--Checkbox":"").concat(m),validationResults:o,isVisible:s,extraAttr:u,children:[(0,l.jsxs)("fieldset",{"aria-describedby":"".concat(t.key,"_desc"),children:[!(0,d.uJ)(t.properties.label)&&(0,l.jsx)("legend",{className:"Form__Element__Caption",children:t.properties.label}),null==(e=t.properties.items)?void 0:e.map((e,a)=>{let s=!(0,d.uJ)(e.value)&&!(0,d.uJ)(c)&&c.split(",").some(t=>(0,d.aI)(t,e.value)),o="".concat(t.key,"_").concat(a);return(0,l.jsx)(r.Fragment,{children:t.properties.allowMultiSelect?(0,l.jsxs)("label",{htmlFor:o,className:"FormChoice__Label",children:[(0,l.jsx)("input",{type:"checkbox",id:o,name:t.key,value:e.value,className:"FormChoice__Input FormChoice__Input--Checkbox","data-label":t.properties.label,checked:s,onChange:n,onBlur:i}),(0,l.jsx)("span",{children:e.caption})]}):(0,l.jsxs)("div",{children:[(0,l.jsx)("input",{type:"radio",id:o,name:t.key,value:e.value,className:"FormChoice__Input FormChoice__Input--Radio","data-label":t.properties.label,checked:s,onChange:n,onBlur:i}),(0,l.jsx)("label",{htmlFor:o,className:"FormChoice__Label",children:e.caption})]})},"".concat(e.value,"_").concat(a))})]}),(0,l.jsx)(C,{element:t,validationResults:o})]})},[s,o,c])},NumberElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i,handleKeyPress:s}=w(t),{isVisible:o,validationResults:c,value:d,extraAttr:m,validatorClasses:u,elementRef:x}=a;return(0,r.useMemo)(()=>(0,l.jsx)(v,{className:"FormTextbox FormTextbox--Number ".concat(u),validationResults:c,isVisible:o,children:(0,l.jsxs)("div",{lang:t.locale,children:[(0,l.jsx)(A,{element:t}),(0,l.jsx)("input",{name:t.key,id:t.key,type:"number",step:"any",placeholder:t.properties.placeHolder,"data-label":t.properties.label,...m,value:d,"aria-describedby":"".concat(t.key,"_desc"),autoComplete:t.properties.autoComplete,onChange:n,onBlur:i,onKeyDown:s,ref:x}),(0,l.jsx)(C,{element:t,validationResults:c})]})}),[o,c,d])},RangeElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}=w(t),{isVisible:s,validationResults:o,value:c,validatorClasses:d}=a,m=()=>{n({target:{name:t.key,value:Number.parseInt(c)-t.properties.step,type:"range"}})},u=()=>{n({target:{name:t.key,value:Number.parseInt(c)+t.properties.step,type:"range"}})};return(0,r.useMemo)(()=>(0,l.jsxs)(v,{className:"FormRange ".concat(d),validationResults:o,isVisible:s,children:[(0,l.jsx)(A,{element:t}),(0,l.jsxs)("span",{className:"FormRange__Wrapper",children:[(0,l.jsxs)("span",{className:"FormRange__Slider__Wrapper",children:[c>t.properties.min?(0,l.jsx)("button",{className:"FormRange__Slider__Button",type:"button","aria-label":"decrement",title:"decrement","data-action":"decrement",onClick:m,children:"<"}):(0,l.jsx)("button",{className:"FormRange__Slider__Button FormRange__Slider__Button__Disable",type:"button","aria-label":"decrement",title:"decrement","data-action":"decrement",children:"<"}),(0,l.jsx)("span",{className:"FormRange__Min",children:t.properties.min}),(0,l.jsx)("input",{name:t.key,id:t.key,type:"range",className:"FormRange__Input",value:c,min:t.properties.min,max:t.properties.max,step:t.properties.step,"data-label":t.properties.label,"aria-valuemin":t.properties.min,"aria-valuemax":t.properties.max,"aria-valuenow":c,"aria-valuetext":c,onChange:n,onBlur:i}),(0,l.jsx)("span",{className:"FormRange__Max",children:t.properties.max}),c<t.properties.max?(0,l.jsx)("button",{className:"FormRange__Slider__Button",type:"button","aria-label":"increment",title:"increment","data-action":"increment",onClick:u,children:">"}):(0,l.jsx)("button",{className:"FormRange__Slider__Button FormRange__Slider__Button__Disable",type:"button","aria-label":"increment",title:"increment","data-action":"increment",children:">"})]}),(0,l.jsx)("span",{className:"FormRange__Output__Wrapper",children:(0,l.jsx)("output",{htmlFor:t.key,className:"FormRange__Output",children:c})})]}),(0,l.jsx)(C,{element:t,validationResults:o})]}
1),[s,o,c])},FormStepBlock:e=>{let{element:t}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("h3",{className:"FormStep__Title",children:t.properties.label}),(0,l.jsx)("aside",{className:"FormStep__Description",children:t.properties.description})]})},SelectionElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}=w(t),{isVisible:s,validationResults:o,value:c,extraAttr:m,validatorClasses:u,elementRef:x}=a;return(0,r.useMemo)(()=>{var e;return(0,l.jsxs)(v,{className:"FormSelection ".concat(u),validationResults:o,isVisible:s,children:[(0,l.jsxs)("select",{name:t.key,id:t.key,multiple:t.properties.allowMultiSelect,"aria-describedby":t.displayName+"_desc","data-label":t.properties.label,...m,autoComplete:t.properties.autoComplete,onChange:n,onBlur:i,value:t.properties.allowMultiSelect?c.split(","):c,ref:x,children:[(0,l.jsx)("option",{value:"",disabled:""!==c,children:(0,d.uJ)(t.properties.placeHolder)?t.localizations.selectionDefaultPlaceholder:t.properties.placeHolder}),null==(e=t.properties.items)?void 0:e.map(e=>(0,l.jsx)("option",{value:e.value,defaultChecked:e.checked,children:e.caption},e.value))]}),(0,l.jsx)(A,{element:t}),(0,l.jsx)(C,{element:t,validationResults:o})]})},[s,o,c])},UrlElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}=w(t),{isVisible:s,validationResults:o,value:c,extraAttr:d,validatorClasses:m,elementRef:u}=a;return(0,r.useMemo)(()=>(0,l.jsxs)(v,{className:"FormTextbox__Input FormUrl__Input ".concat(m),validationResults:o,isVisible:s,children:[(0,l.jsx)(A,{element:t}),(0,l.jsx)("input",{name:t.key,id:t.key,type:"url",placeholder:t.properties.placeHolder,value:c,"data-label":t.properties.label,...d,"aria-describedby":"".concat(t.key,"_desc"),onChange:n,onBlur:i,ref:u}),(0,l.jsx)(C,{element:t,validationResults:o})]}),[s,o,c])},ImageChoiceElementBlock:e=>{let{element:t}=e,{elementContext:a,handleChange:n,handleBlur:i}=w(t),s=t.properties.showSelectionInputControl?"":"visually-hidden",{isVisible:o,validationResults:c,value:m,validatorClasses:u,extraAttr:x}=a;return(0,r.useMemo)(()=>{var e;return(0,l.jsxs)(v,{className:"FormChoice FormChoice--Image ".concat(u),validationResults:c,isVisible:o,extraAttr:x,children:[(0,l.jsxs)("fieldset",{"aria-describedby":"".concat(t.key,"_desc"),children:[(0,d.uJ)(t.properties.label)&&(0,l.jsx)("legend",{className:"Form__Element__Caption",children:t.properties.label}),null==(e=t.properties.items)?void 0:e.map((e,a)=>{let r=!(0,d.uJ)(e.text)&&!(0,d.uJ)(m)&&m.split(",").some(t=>(0,d.aI)(t,e.text));var o,c,u=t.key+a;return(0,l.jsxs)("label",{htmlFor:u,className:"FormChoice--Image__Item",children:[t.properties.allowMultiSelect?(0,l.jsx)("input",{type:"checkbox",id:u,name:t.key,checked:r,value:e.text,className:"FormChoice__Input FormChoice__Input--Checkbox ".concat(s),"data-label":t.properties.label,onChange:n,onBlur:i}):(0,l.jsx)("input",{type:"radio",id:u,name:t.key,checked:r,value:e.text,className:"FormChoice__Input FormChoice__Input--Radio ".concat(s),"data-label":t.properties.label,onChange:n,onBlur:i}),(0,l.jsx)("span",{className:"FormChoice--Image__Item__Caption",children:e.text}),(0,l.jsx)("img",{src:e.url,title:null!=(o=e.title)?o:e.text,alt:null!=(c=e.title)?c:e.text})]},t.key+e.text)})]}),(0,l.jsx)(C,{element:t,validationResults:c})]})},[o,c,m])},FileUploadElementBlock:e=>{var t,a,n,i,s;let{element:o}=e,{elementContext:c}=w(o),m=o.properties.fileTypes?o.properties.fileTypes.split(",").map(e=>"."!=(e=e.trim())[0]?".".concat(e):e).join(","):"",{isVisible:u,validationResults:x,extraAttr:p,validatorClasses:h,elementRef:f,messages:j}=c,N=b(),A=null==N?void 0:N.formContainer;null==(t=new d.KW(A).loadFormDataFromStorage().find(e=>e.elementKey===o.key))||t.prevValue;let[_,L]=(0,r.useState)([]),[T,S]=(0,r.useState)([]),P=g(),I=(0,r.useMemo)(()=>new y(P),[P]),F=o.properties.fileTypes?o.properties.fileTypes.split(",").map(e=>"."!==(e=e.trim())[0]?".".concat(e.toLowerCase()):e.toLowerCase()):[],D=o.properties.validators||[],B=D.find(e=>e.type===d.vb.AllowedExtensionsValidator),M=D.find(e=>e.type===d.vb.MaxFileSizeValidator),H=null!=(s=null==M||null==(a=M.model)?void 0:a.sizeInBytes)?s:0,E=null==M||null==(n=M.model)?void 0:n.message,R=null==B||null==(i=B.model)?void 0:i.message,U=(0,r.useCallback)(e=>{I.updateFileManipulation(e)},[I]),V=(0,r.useCallback)(e=>{U(!0),S([]);let t=Array.from(e.target.files||[]),a=[],l=[];
1t.forEach(e=>{let t=e.name||"",n=t.lastIndexOf("."),r=-1!==n?t.substring(n).toLowerCase():"";var i=!1;if(F.length>0&&(!r||!F.includes(r))){l.push("".concat(R," (").concat(e.name,")"));var i=!0}H>0&&e.size>H&&(l.push("".concat(E," (").concat(e.name,")")),i=!0),i||a.push(e)}),S(l),L(e=>o.properties.allowMultiple?[...e,...a]:a),e.target.value="",setTimeout(()=>U(!1),100)},[o.properties.allowMultiple,o.properties.fileSize,I]),z=(0,r.useCallback)(e=>{U(!0),L(t=>t.filter((t,a)=>a!==e)),S([]),setTimeout(()=>U(!1),100)},[I]);return(0,r.useEffect)(()=>{if(_.length>0){let e=_.map(e=>({name:e.name,file:e}));I.updateValue(o.key,e)}else I.updateValue(o.key,null)},[_,o.key,I]),(0,r.useEffect)(()=>{var e;if((null==f||null==(e=f.current)?void 0:e.files)&&0===_.length){let e=Array.from(f.current.files);e.length>0&&L(e)}},[f,_.length]),(0,r.useMemo)(()=>{var e;return(0,l.jsxs)(v,{className:"FormFileUpload ".concat(h),validationResults:x,isVisible:u,children:[(0,l.jsxs)("label",{htmlFor:o.key,className:"w-full",children:[(0,l.jsx)("span",{className:"Form__Element__Caption",children:o.properties.label}),(0,l.jsxs)("p",{className:"text-d-xxsmall-body text-content-tertiary mb-4",children:["".concat(j.maxFileSizeMessage," ").concat(H/1048576,"MB.")," ",m&&"".concat(j.supportedFileTypesMessage," ").concat(m,".")]}),(0,l.jsxs)("button",{className:"w-full",type:"button",onClick:()=>{var e;return null==f||null==(e=f.current)?void 0:e.click()},children:[(0,l.jsx)("input",{type:"file",name:o.key,id:o.key,"data-label":o.properties.label,...p,multiple:o.properties.allowMultiple,className:"FormFileUpload__Input",accept:m,"aria-describedby":o.key+"_desc",onChange:V,ref:f,hidden:!0}),(0,l.jsxs)("div",{children:[(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("rect",{x:"0",y:"0",width:"100%",height:"100%",fill:"none",stroke:"#20282F",strokeWidth:"2",strokeDasharray:"5,5",rx:"6",ry:"6"})}),(0,l.jsx)(k.JM,{color:"#20282F"}),(0,l.jsx)("span",{className:"underline text-content-secondary",children:null!=(e=o.properties.description)?e:"Drag & drop your files or click to browse"})]})]}),(0,l.jsx)(C,{element:o,validationResults:x}),T.length>0&&(0,l.jsx)("div",{className:"FormFileUpload__Errors mt-2",children:(0,l.jsx)("ul",{children:T.map((e,t)=>(0,l.jsx)("li",{className:"text-d-xxsmall-body text-[#9E0101]",children:e},t))})})]}),_.length>0&&(0,l.jsx)("ul",{children:_.map((e,t)=>(0,l.jsxs)("li",{className:"flex justify-between items-center bg-background-surface-weak p-4 rounded-corner-8",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(k.oS,{color:"#20282F"}),(0,l.jsx)("span",{children:e.name})]}),(0,l.jsx)("button",{onClick:()=>z(t),className:"focus-visible:outline focus-visible:outline-1 focus-visible:outline-content-brand focus-visible:outline-offset-4 rounded-corner-4",children:(0,l.jsx)(k.US,{size:24})})]},t))})]})},[u,x,_,z,T])},ResetButtonElementBlock:e=>{let{element:t}=e,{elementContext:a,handleReset:n}=w(t),{extraAttr:i}=a;return(0,r.useMemo)(()=>(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("input",{type:"reset",className:"Form__Element FormResetButton Form__Element--NonData",...i,value:t.properties.label,onClick:n})}),[])},SubmitButtonElementBlock:e=>{let{element:t}=e,{elementContext:a}=w(t),{isVisible:n,extraAttr:i,validatorClasses:s,elementRef:o}=a;return(0,r.useMemo)(()=>n&&(0,l.jsx)("button",{id:t.key,name:"submit",type:"submit",value:t.key,...i,disabled:!1,className:(0,d.uJ)(t.properties.image)?"Form__Element FormExcludeDataRebind FormSubmitButton ".concat(s):"Form__Element FormExcludeDataRebind FormSubmitButton FormImageSubmitButton ".concat(s),ref:o,children:(0,d.uJ)(t.properties.image)?t.properties.label:(0,l.jsx)("img",{src:t.properties.image,alt:t.properties.label})}),[n])},ParagraphTextElementBlock:e=>{var t,a,n,i;let{element:s}=e,{elementContext:o}=w(s),{isVisible:c,validationResults:m,value:u,validatorClasses:x}=o,p=b(),h=null==p?void 0:p.formContainer,g=h.key,f=new d.KW(h),y=(0,d.xs)(),j=null!=(a=null!=(t=f.loadFormDataFromStorage())?t:null==p?void 0:p.formSubmissions)?a:[],N=null==(n=s.properties.disablePlaceholdersReplacement)||n,C=null!=(i=s.properties.paragraphText)?i:"";
1return["::","#"].forEach(e=>{let t=function(e,t){var a;let l=RegExp("".concat(t,"(.*?)").concat(t),"g"),n=t.length,r=null!=(a=e.match(l))?a:[];return r?r.map(e=>e.slice(n,-n)):[]}(C,e);N&&j.forEach(a=>{let l=h.formElements.find(e=>e.key===a.elementKey),n=null==l?void 0:l.displayName;l&&y.includes(null==l?void 0:l.contentType)&&n&&-1!==t.indexOf(n)&&(C=C.replaceAll("".concat(e).concat(n).concat(e),(0,d.Jn)(a)))})}),(0,r.useMemo)(()=>(0,l.jsxs)(v,{className:"FormParagraphText Form__Element--NonData rte ".concat(x),validationResults:m,isVisible:c,children:[(0,l.jsx)(A,{element:s}),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{id:g,children:(0,l.jsx)("div",{dangerouslySetInnerHTML:{__html:C}})}),(0,l.jsx)("div",{id:g+"__OriginalText",className:"Form__Original__ParagraphText"})]})]}),[c,m,u])}};function L(e){let{element:t}=e,a=_[t.contentType];return(0,d.kZ)(a)?(0,l.jsx)("p",{children:"Cannot render ".concat(t.contentType," component")}):(0,l.jsx)(a,{element:t})}function T(e){let{elements:t}=e;return(0,l.jsx)(l.Fragment,{children:t.map(e=>(0,l.jsx)(L,{element:e},e.key))})}let S=e=>{var t,a,n,i,s;let o=b(),c=new d.fI,m=null!=(n=null==o?void 0:o.formContainer)?n:{},u=new d.W1(m,null!=(i=null==o?void 0:o.dependencyInactiveElements)?i:[]),{isFormFinalized:x,history:p,handleSubmit:h,isMalFormSteps:f,isStepValidToDisplay:v,isSuccess:j}=e,w=g(),N=(0,r.useMemo)(()=>new y(w),[w]),A=(0,r.useRef)(null==(a=m.steps)||null==(t=a.filter(e=>!(0,d.kZ)(e.formStep.localizations))[0])?void 0:t.formStep.localizations).current,C=(0,r.useRef)(!1),k=new d.KW(m),_=m.steps.length,L=null!=(s=null==o?void 0:o.currentStepIndex)?s:0,T=L+1,S=0==L,P=L==_-1,I=_>1&&L>-1&&L<_&&!x&&!f&&v,F=async e=>{e.preventDefault(),h(e),C.current=!0},D=e=>{var t,a,l,n=null==(l=m.steps[e])||null==(a=l.formStep)||null==(t=a.properties)?void 0:t.attachedContentLink;if(c.set(d.cn.FormCurrentStep+m.key,e),N.updateCurrentStepIndex(e),!(0,d.uJ)(n)){let e=new URL(n);p&&p.push(e.pathname)}};return(0,r.useEffect)(()=>{if(j&&C.current){var e;D(null!=(e=u.findNextStep(L))?e:0),C.current=!1}},[j]),(0,l.jsx)(l.Fragment,{children:I&&m.properties.showNavigationBar&&(0,l.jsxs)("nav",{role:"navigation",className:"Form__NavigationBar",children:[(0,l.jsx)("button",{type:"submit",name:"submit",value:d.HV.PreviousStep,className:"Form__NavigationBar__Action FormExcludeDataRebind btnPrev",disabled:S,onClick:e=>(e=>{var t,a;e.preventDefault(),k.saveFormDataToStorage(null!=(t=null==o?void 0:o.formSubmissions)?t:[]),D(null!=(a=u.findPreviousStep(L))?a:0)})(e),children:A.previousButtonLabel}),(0,l.jsxs)("div",{className:"Form__NavigationBar__ProgressBar",children:[(0,l.jsx)("div",{className:"Form__NavigationBar__ProgressBar--Progress",style:{width:100*T/_+"%"}}),(0,l.jsxs)("div",{className:"Form__NavigationBar__ProgressBar--Text",children:[(0,l.jsx)("span",{className:"Form__NavigationBar__ProgressBar__ProgressLabel",children:A.pageButtonLabel}),(0,l.jsx)("span",{className:"Form__NavigationBar__ProgressBar__CurrentStep",children:T})," / ",(0,l.jsx)("span",{className:"Form__NavigationBar__ProgressBar__StepsCount",children:_})]})]}),(0,l.jsx)("button",{type:"submit",name:"submit",value:d.HV.NextStep,className:"Form__NavigationBar__Action FormExcludeDataRebind btnNext",disabled:P,onClick:F,children:A.nextButtonLabel})]})})};var P=a(9732),I=a(6784),F=a(7358);let D=e=>{var t,a,n,c,m;let u=b(),x=null!=(t=null==u?void 0:u.formContainer)?t:{},p=null!=(a=null==u?void 0:u.dependencyInactiveElements)?a:[],h=new d.EG(x,e.baseUrl),f=g(),v=(0,r.useMemo)(()=>new y(f),[f]),w=new d.W1(x,p),N=new d.Rr(x),A=null!=(n=e.currentPageUrl)?n:window.location.href,C=(0,r.useRef)(null),k="".concat(x.key,"_label"),_=(0,r.useRef)(""),L=(0,r.useRef)("hide"),D=(0,r.useRef)(!0),B=new d.fI,M=new d.fI(window.localStorage),H=null!=(c=null==u?void 0:u.currentStepIndex)?c:0,E=(0,r.useRef)(!1),R=(0,r.useRef)(""),U=(0,r.useRef)(!1),V=(0,r.useRef)(!1),z=(0,r.useRef)(!1),K=(0,r.useRef)(!1),O=(0,r.useRef)(!1),J=(0,r.useRef)(!1),q=(0,r.useRef)(""),Q=d.cn.FormSubmissionId+x.key,G=w.isStepValidToDisplay(H,A),W=N.isMalFormSteps();(z.current||K.current)&&O.current?(L.current="Form__Success__Message",_.current=null!=(m=x.properties.submitSuccessMessage)?m:q.current):!J.current&&O.current||(0,d.uJ)(q.current)?(L.current="hide",_.current=""):(L.current="Form__Warning__Message",_.current=q.current);let Z=V.current?"ValidationFail":"ValidationSuccess",$=e=>{if(J.current=!(0,d.uJ)(e),q.current=e,e){var t;null==(t=C.current)||t.scrollIntoView({behavior:"smooth",block:"center"})}},Y=async e=>
1(await fetch("".concat("https://www.comptia.org","/api/recaptcha-validation/"),{method:"GET",headers:{"Content-Type":"application/json",token:e}})).json(),X=async e=>{let t=new FormData,a={},l={FormKey:e.formKey,Locale:e.locale,IsFinalized:e.isFinalized,SubmissionKey:e.partialSubmissionKey,HostedPageUrl:e.hostedPageUrl,CurrentStep:e.currentStepIndex};e.submissionData.forEach(e=>{let l=e.value,n=e.elementKey;if(!(0,d.kZ)(l))if(Array.isArray(l)&&l.length>0&&null!==l[0]&&"object"==typeof l[0]){let a="";for(var r=0;r<l.length;r++){let e=l[r].file;e&&Object.getPrototypeOf(e)===File.prototype&&t.append(n+"_file_"+r,e),r>0&&r!=l.length-1&&(a+=" | "),a+=l[r].name}t.append(n,a),e.prevValue=a}else a[n]=e.value}),l.Fields=a,t.append("data",JSON.stringify(l));let n=await fetch("".concat(i.A,"/api/forms/"),{method:"POST",headers:{Authorization:"Bearer ".concat(e.accessToken)},credentials:"include",body:t}),r=await n.json();if(!n.ok)throw r;return r},ee=async t=>{if(t.preventDefault(),(null==u?void 0:u.isFileManipulation)||void 0!==x.properties.allowAnonymousSubmission&&!x.properties.allowAnonymousSubmission&&(0,d.uJ)(null==u||null==(b=u.identityInfo)?void 0:b.accessToken))return;let a=null==(g=t.nativeEvent.submitter)?void 0:g.id,l=x.formElements.find(e=>e.key===a);(0,d.kZ)(l)||(K.current=!0);let n=H===x.steps.length-1,r=(null!=(j=null==u?void 0:u.elementDependencies)?j:[]).filter(e=>!e.isSatisfied&&e.sastisfiedAction===d.Dj.Show||e.isSatisfied&&e.sastisfiedAction===d.Dj.Hide).map(e=>e.elementKey),i=(null!=(w=null==u?void 0:u.formSubmissions)?w:[]).filter(e=>!(0,d.hn)(e.elementKey,r)&&N.isInCurrentStep(e.elementKey,H)),c=h.doValidate(i);v.updateAllValidation(c);let m=N.getFirstInvalidElement(c,H);if(!(0,d.uJ)(m))return void v.updateFocusOn(m);if((!(0,d.kZ)(l)||n)&&!(()=>{var e,t,a;let l=null!=(e=null==u?void 0:u.formContainer)?e:{},n=null!=(t=l.properties.confirmationMessage)?t:"",r=!0;if(l.properties.showSummarizedData){let e=null!=(a=null==u?void 0:u.formSubmissions)?a:[],t=(0,d.Y6)(e,l,H,p);(0,d.uJ)(n)&&(0,d.uJ)(t)||(r=confirm(n+"\n\n"+t))}return r})()){K.current=!1;return}var b,g,f,y,j,w,k,_,L,T=null!=(k=null==u||null==(f=u.identityInfo)?void 0:f.accessToken)?k:await s();let S={formKey:x.key,locale:x.locale,isFinalized:(null==l||null==(y=l.properties)?void 0:y.finalizeForm)||n,partialSubmissionKey:null!=(L=null!=(_=M.get(Q))?_:null==u?void 0:u.submissionKey)?L:"",hostedPageUrl:A,submissionData:i,accessToken:T,currentStepIndex:H};if(e.renderRecaptcha&&!(0,d.uJ)(e.recaptchaSiteKey)){let t=await o(e.recaptchaSiteKey);if(t){let a=await Y(t);if(!a||!a.success||a.score<(e.recaptchaThreshold||.5)){$(e.recaptchaMessage||""),v.updateIsSubmitting(!1);return}}else{$(e.recaptchaMessage||""),v.updateIsSubmitting(!1);return}let a=document.getElementById("g-recaptcha-response");a&&(a.value="")}v.updateIsSubmitting(!0),X(S).then(e=>{O.current=e.success,z.current=((null==l||null==(r=l.properties)?void 0:r.finalizeForm)||n)&&e.success,v.updateSubmissionKey(e.submissionKey),M.set(Q,e.submissionKey);let t=null==u?void 0:u.formName,a=null==u?void 0:u.formAudience;if(e.success){let e=x.formElements.filter(e=>(Array.isArray(e.contentType)?e.contentType:[e.contentType]).some(e=>null==e?void 0:e.toLowerCase().includes("checkbox"))).pop(),l=!e||(null==(o=i.find(t=>t.elementKey===e.key))?void 0:o.value)||!1;E.current=!0,(0,I.sendGTMEvent)({event:"form_submitted",form_id:x.key,form_name:t,form_audience:a,privacy_consent:l})}if(K.current&&(q.current=e.messages.map(e=>e.message).join("<br>"),D.current=!1),z.current&&(B.remove(d.cn.FormCurrentStep+x.key),M.remove(Q)),l){let e=null!=(p=null==l||null==(c=l.properties)?void 0:c.redirectToPage)?p:null==(m=x.properties)?void 0:m.redirectToPage;if(!(0,d.uJ)(e)){var r,s,o,c,m,p,h;let t=new URL(e,null!=(h=F.env.REACT_APP_HEADLESS_FORM_BASE_URL)?h:"https://temp");window.location.href=t.href}}null==(s=C.current)||s.scrollIntoView({behavior:"smooth",block:"center"})}).catch(t=>{switch(console.error("error",t),t.status){case 401:v.updateIdentity({}),B.remove(d.cn.FormAccessToken);break;case 400:if(t.errors){var a,l;V.current=!1;let e=null!=(l=null==u||null==(a=u.formValidationResults)?void 0:a.map(e=>
1(0,d.kZ)(t.errors[e.elementKey])?e:{...e,result:{valid:!1,message:t.errors[e.elementKey].join("<br/>")}}))?l:[];v.updateAllValidation(e),v.updateFocusOn(N.getFirstInvalidElement(e,H))}}$("".concat(e.errorMessage||t.detail||t.title))}).finally(()=>{v.updateIsSubmitting(!1),v.updateIdentity({}),B.remove(d.cn.FormAccessToken)})};(0,r.useEffect)(()=>{O.current=!1,(x.properties.focusOnForm||H>0)&&v.updateFocusOn(N.getFirstInputElement(H,p))},[H]),(0,r.useEffect)(()=>{G||v.updateCurrentStepIndex(N.getCurrentStepIndex(A))},[]);let et=e=>{let t=e.target.getAttribute("data-label")||"";t&&(R.current=t)};return(0,r.useEffect)(()=>{let e=()=>{var e,t;if(U.current=!0,null!=(t=null==(e=window.__sent)?void 0:e.has(x.key))&&t&&!E.current){let e=null==u?void 0:u.formName,t=null==u?void 0:u.formAudience;(0,j.A)({event:"form_exit",form_id:x.key,form_name:e,form_audience:t,last_input:R.current},"".concat(x.key,"_exit"))}};return window.addEventListener("beforeunload",e),window.addEventListener("pagehide",e),()=>{window.removeEventListener("beforeunload",e),window.removeEventListener("pagehide",e)}},[x.key,null==u?void 0:u.formName,null==u?void 0:u.formAudience]),(0,r.useEffect)(()=>()=>{if(!U.current){var e,t;if(null!=(t=null==(e=window.__sent)?void 0:e.has(x.key))&&t&&!E.current){let e=null==u?void 0:u.formName,t=null==u?void 0:u.formAudience;(0,j.A)({event:"form_exit",form_id:x.key,form_name:e,form_audience:t,last_input:R.current},"".concat(x.key,"_exit"))}}},[x.key,null==u?void 0:u.formName,null==u?void 0:u.formAudience]),(0,r.useEffect)(()=>{let e=document.getElementById(x.key);if(e)return e.addEventListener("input",et),e.addEventListener("change",et),()=>{e.removeEventListener("input",et),e.removeEventListener("change",et)}},[x.key]),W&&$(x.localizations.malformstepconfigruationErrorMessage),(0,l.jsxs)("form",{method:"post",noValidate:!0,"aria-labelledby":k,encType:"multipart/form-data",className:"EPiServerForms ".concat(Z),id:x.key,onSubmit:ee,children:[(0,l.jsx)("div",{className:"Form__Status",ref:C,children:"Form__Success__Message"!==L.current?(0,l.jsx)("div",{role:"status",className:"".concat(L.current," mb-8"),children:(0,l.jsx)(P.A,{content:{error:_.current}})}):(0,l.jsx)("div",{role:"status",className:"Form__Status__Message ".concat(L.current),children:(0,l.jsx)("div",{className:"flex flex-col gap-4",dangerouslySetInnerHTML:{__html:_.current}})})}),"Form__Success__Message"!==L.current&&(0,l.jsxs)("div",{className:"Form__Header rte flex flex-col gap-4 mb-8 xl:mb-10",children:[e.eyebrow&&(0,l.jsx)("span",{className:"eyebrow",children:e.eyebrow}),x.properties.title&&(0,l.jsx)("h2",{className:"Form__Title",id:k,children:x.properties.title}),x.properties.description&&(0,l.jsx)("aside",{className:"Form__Description",children:x.properties.description}),(0,l.jsxs)("p",{className:"Form__MainBody__Required",children:["* ",e.requiredMessage]})]}),(0,l.jsxs)("div",{className:"Form__MainBody",style:{display:D.current?"flow":"none"},children:[x.steps.map((e,t)=>{let a=H!==t||z.current||!G||W?"hide":"";return(0,l.jsx)("section",{id:e.formStep.key,className:"Form__Element__Step ".concat(a),children:(0,l.jsx)(T,{elements:e.elements,stepIndex:t})},e.formStep.key)}),(0,l.jsx)(S,{isFormFinalized:z.current,history:e.history,handleSubmit:ee,isMalFormSteps:W,isStepValidToDisplay:G,isSuccess:O.current})]})]})};function B(e){var t,a;let n=new d.ip(e.form).buildForm(),r=(0,d.uB)(n,e.currentPageUrl,e.history),i=n.formElements.find(e=>{var t;return(null==(t=e.displayName)?void 0:t.toLowerCase())==="audience"}),s=null==i||null==(a=i.properties)||null==(t=a.predefinedValue)?void 0:t.toLowerCase(),o={...r,formName:e.formName,formAudience:s===x.B2B||s===x.B2C?s:"",messages:{maxFileSizeMessage:e.maxFileSizeMessage,supportedFileTypesMessage:e.supportedFileTypesMessage}};return(0,l.jsx)(f,{initialState:o,children:(0,l.jsx)(D,{identityInfo:e.identityInfo,baseUrl:e.baseUrl,history:e.history,currentPageUrl:e.currentPageUrl,recaptchaSiteKey:e.recaptchaSiteKey,renderRecaptcha:e.renderRecaptcha,recaptchaThreshold:e.recaptchaThreshold,recaptchaMessage:e.recaptchaMessage,requiredMessage:e.requiredMessage,eyebrow:e.eyebrow,errorMessage:e.errorMessage})})}a(3970);let M=e=>{let{formName:t,formKey:a,language:n,baseUrl:s,identityInfo:o,history:c,currentPageUrl:m,optiGraphUrl:u,recaptchaSiteKey:x,renderRecaptcha:p,recaptchaThreshold:h,recaptchaMessage:b,requiredMessage:g,eyebrow:f,errorMessage:v,maxFileSizeMessage:y,supportedFileTypesMessage:j}=e,{data:w}=(e=>
1{let[t,a]=(0,r.useState)(null),[l,n]=(0,r.useState)(null),[s,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let t=async()=>{o(!0);let t=new d.e8({baseURL:e.baseUrl});try{let l;if(e.optiGraphUrl)l=await t.queryForm(e.optiGraphUrl,e.formKey,e.language);else{let t=await fetch("".concat(i.A,"/api/forms/?formKey=").concat(e.formKey,"&language=").concat(e.language));l=await t.json()}a(l);{let t=new CustomEvent("formLoaded",{detail:{formKey:e.formKey},bubbles:!0});window.dispatchEvent(t)}}catch(e){n(e)}finally{o(!1)}};s||t()},[e.formKey,e.language]),{data:t,error:l,loading:s}})({formKey:a,language:n,baseUrl:s,optiGraphUrl:u});return(0,l.jsx)(l.Fragment,{children:w&&(0,l.jsx)(B,{form:w,formName:t,identityInfo:o,baseUrl:s,history:c,currentPageUrl:m,recaptchaSiteKey:x,renderRecaptcha:p,recaptchaThreshold:h,recaptchaMessage:b,requiredMessage:g,eyebrow:f,errorMessage:v,maxFileSizeMessage:y,supportedFileTypesMessage:j},w.key)})};var H=a(8164);let E=r.memo(e=>{let{content:{name:t,contentGuid:a,language:i,enableRecaptcha:o,scoreThreshold:m,recaptchaValidationError:u,requiredMessage:x,eyebrow:p,errorMessage:h,maxFileSizeMessage:b,supportedFileTypesMessage:g}}=e,[f,v]=(0,r.useState)(),y=(0,n.useRouter)(),j=(0,n.usePathname)(),w="6LfhdLItAAAAAMi_RIKn5nhy-pK-sHNKGMMJB_-8";return(0,r.useEffect)(()=>{let e=new d.fI,t=async()=>{let t=await s();return e.set(d.cn.FormAccessToken,t),v({accessToken:t}),t},a=e.get(d.cn.FormAccessToken);a?v({accessToken:a}):t()},[]),(0,l.jsx)("div",{...(0,H.HP)("FormContainerBlock","container"),className:"form-container-block !mb-6 xl:!mb-20",children:(0,l.jsxs)("div",{...(0,H.HP)("FormContainerBlock","form"),className:"bg-content-white shadow-default p-6 xl:p-8 rounded-corner-8 h-full",children:[(0,l.jsx)(M,{formKey:a,formName:t,language:i.name,baseUrl:"".concat("https://cms.comptia.org","/"),identityInfo:f,history:y,currentPageUrl:"".concat("https://www.comptia.org"+j),recaptchaSiteKey:w,renderRecaptcha:o,recaptchaThreshold:m,recaptchaMessage:u,requiredMessage:x,eyebrow:p,errorMessage:h,maxFileSizeMessage:b,supportedFileTypesMessage:g},a),o&&(0,l.jsx)(c,{properties:{siteKey:w}})]})})})},99:(e,t,a)=>{"use strict";a.d(t,{A:()=>o,E:()=>s});var l=a(5155),n=a(2115),r=a(5203),i=a.n(r);let s=e=>{let{text:t,url:a}=e;return a?(0,l.jsx)("a",{href:a,className:i()("badge bg-content-white text-content-brand border border-content-brand transition-colors duration-300","hover:bg-content-brand hover:text-content-white","focus:outline focus:outline-[0.5px] focus:outline-content-brand focus:outline-offset-2","active:bg-content-white active:text-content-brand"),children:t}):(0,l.jsx)("span",{className:"badge text-content-secondary bg-background-surface cursor-default",children:t})},o=n.memo(s)},211:(e,t,a)=>{"use strict";a.d(t,{yQ:()=>b,Ay:()=>g,Vz:()=>h});var l=a(5155);a(2115);var n=a(7944),r=a(8545);let i=(0,r.createServerReference)("7f588f74810422a3a87c4856b603bf164467b7b407",r.callServer,void 0,r.findSourceMapURL,"default");var s=a(5203),o=a.n(s),c=a(1177),d=a(6578),m=a(9335),u=a(2282),x=a(7479),p=a(8164);let h=e=>e.contentType.includes("ProductDetailCard"),b=e=>{let{content:t,mode:a,backgroundImage:n,tabsContent:r}=e;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,p.HP)("ProductTitlePage","container"),className:o()("product-title-page",n&&"bg-image"),style:{backgroundImage:n?"url(".concat(n,")"):"none"},children:[n&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{className:"container relative",children:[t.breadcrumbs&&(0,l.jsx)(c.A,{content:t.breadcrumbs}),(0,l.jsxs)("div",{className:"mt-4 xl:mt-6 relative",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-2 xl:max-w-[893px]",children:[t.eyebrow&&(0,l.jsx)("p",{...(0,d.d8)("Eyebrow",a),className:"eyebrow",children:t.eyebrow}),t.title&&(0,l.jsx)("h1",{...(0,d.d8)("Title",a),...(0,p.HP)("ProductTitlePage","title"),className:"w-fit heading-lg text-multicolor max-w-[80%] xl:w-full",children:t.title}),t.shortDescription&&(0,l.jsx)("p",{...(0,d.d8)("ShortDescription",a),...(0,p.HP)("ProductTitlePage","short-description"),className:"text-content-secondary mt-2 xl:mt-0",children:t.shortDe
1scription}),t.shortDescriptionRte&&(0,l.jsx)("div",{...(0,d.d8)("ShortDescriptionRte",a),...(0,p.HP)("ProductTitlePage","short-description-rte"),className:"short-description-rte text-content-secondary mt-2 xl:mt-0",dangerouslySetInnerHTML:{__html:t.shortDescriptionRte}})]}),(0,l.jsx)(u.A,{...(0,p.HP)("ProductTitlePage","image"),imageData:t.thumbnailData,width:300,height:300,propertyName:"Thumbnail",className:"thumbnail absolute top-0 right-0 max-w-[72px] xl:max-w-[160px] object-cover",removeSvgFill:!1,mode:a})]})]}),(0,l.jsx)("div",{className:"mt-6 xl:mt-10 relative",children:r.length>0&&(0,l.jsx)(m.A,{tabs:r,mode:a,isSticky:!0})}),(0,d.Dd)(t.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area relative",role:"contentinfo",...(0,d.d8)("BottomContentArea",a),children:(0,l.jsx)(x.A,{content:t.bottomContentArea,mode:a})})]})})},g=e=>{var t;let{content:a,mode:r}=e,s=[],o=null==(t=a.backGroundImageData)?void 0:t.src;return(0,d.m4)(r)?(0,l.jsx)(n.default,{content:a,mode:r,tabsContent:s,backgroundImage:o,tabsQuantity:4}):(0,l.jsx)(i,{content:a,mode:r,tabsContent:s,backgroundImage:o,tabsQuantity:4})}},926:(e,t,a)=>{"use strict";a.d(t,{A:()=>l.A});var l=a(3743)},939:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(5155),n=a(2115),r=a(5203),i=a.n(r),s=a(6578),o=a(5211);let c=n.memo(e=>{let{content:t,mode:a}
1=e,[r,c]=(0,n.useState)(0),[d,m]=(0,n.useState)(!0),u=(0,n.useRef)(null),x=(0,n.useRef)([]),{isTruncated:p,toggleTruncate:h,text:b,showMoreBtn:g,setIsTruncated:f}=((e,t)=>{let[a,l]=(0,n.useState)(!0),[r,i]=(0,n.useState)(!1),[s,o]=(0,n.useState)("");return(0,n.useEffect)(()=>{let l=new DOMParser().parseFromString(e,"text/html").body.textContent||"";a&&l.length>t?(o(e.substring(0,t)+"..."),i(!0)):(o(e),i(l.length>t))},[e,t,a]),{text:s,isTruncated:a,setIsTruncated:l,toggleTruncate:()=>{l(!a)},showMoreBtn:r}})(t.tabs[r].description,846),v=e=>{let{key:a}=e;if("ArrowRight"===a||"ArrowLeft"===a){var l;e.preventDefault();let n=r;"ArrowRight"===a?n=(r+1)%t.tabs.length:"ArrowLeft"===a&&(n=(r-1+t.tabs.length)%t.tabs.length),c(n),f(!0),null==(l=x.current[n])||l.focus()}};return(0,n.useEffect)(()=>(u.current&&u.current.addEventListener("keydown",v),()=>{u.current&&u.current.removeEventListener("keydown",v)}),[r]),(0,l.jsx)("div",{className:"py-12 xl:py-16 light-theme overflow-x-hidden",children:(0,l.jsxs)("div",{className:"container flex flex-col gap-8",children:[t.headline&&(0,l.jsx)("div",{className:"2xl:w-10/12",children:(0,l.jsx)("h2",{...(0,s.d8)("Headline",a),className:"heading-md text-initial",children:t.headline})}),(0,l.jsxs)("div",{...(0,s.d8)("MainContentArea",a),className:"flex flex-col",children:[(0,l.jsx)("div",{className:i()("sm:w-[calc(100vw-(100vw-540px)/2)]","md:w-[calc(100vw-(100vw-720px)/2)]","lg:w-[calc(100vw-(100vw-960px)/2)]","xl:w-[calc(100vw-(100vw-1140px)/2)]","2xl:w-[calc(100vw-(100vw-1440px)/2)]","w-[calc(100vw-16px)]","flex gap-2 overflow-x-auto mobile-slider mb-8"),"aria-label":"Tabs",role:"tablist",ref:u,children:t.tabs.map((e,t)=>(0,l.jsx)("button",{role:"tab","aria-selected":t===r,"aria-controls":"tabpanel-".concat(t),id:"tab-".concat(t),tabIndex:t===r?0:-1,onClick:()=>{c(t),f(!0),m(!1),setTimeout(()=>{m(!0)},0)},className:i()("flex items-center pt-4 pb-1 px-2 min-w-fit w-fit *:disabled:text-palette-secondary-grey-150 *:disabled:border-palette-transparent","focus:outline-palette-secondary-grey-500 focus:outline-2 focus:outline-offset-[-2px]"),ref:e=>{x.current[t]=e},children:(0,l.jsx)("div",{className:i()("text-nowrap border-b-[3px] pb-2 hover:border-palette-primary-black hover:text-palette-primary-black font-medium",t===r?"text-palette-primary-black border-palette-primary-black":"text-palette-secondary-grey-700 border-palette-transparent"),children:e.name})},t))}),t.tabs.map((e,n)=>{var i;return(0,l.jsx)("div",{...(0,s.C0)(null==(i=t.tabs[n].contentLink)?void 0:i.id,a),children:(0,l.jsx)(o.A,{content:t.tabs[n],activeTab:r,fade:d,isTruncated:p,text:b,showMoreBtn:g,toggleTruncate:h,showMoreLabel:t.showMoreLabel,showLessLabel:t.showLessLabel,isBlockEdit:!1,index:n,mode:a})},n)})]})]})})})},1177:(e,t,a)=>{"use strict";a.d(t,{A:()=>l.default});var l=a(7459)},1372:(e,t,a)=>{"use strict";a.d(t,{A:()=>u});var l=a(5155),n=a(2115),r=a(2619),i=a.n(r),s=a(1600),o=a(2282),c=a(1469),d=a(8936),m=a(8164);let u=n.memo(e=>{var t;let{content:{title:a,titleUrl:n,imageData:r,categories:u,readTime:x}}=e;return(0,l.jsxs)("div",{...(0,m.HP)("BlogArticleCard","container"),className:"flex flex-col gap-2",children:[((null==r?void 0:r.src)||(null==r?void 0:r.assetId))&&(0,l.jsx)(o.A,{...(0,m.HP)("BlogArticleCard","image"),imageData:r,className:"block w-full h-auto aspect-image rounded-corner-8",propertyName:"Image",width:282,height:188,mode:d.rc.Default}),n&&(0,l.jsxs)(i(),{...(0,m.R0)("BlogArticleCard","title"),className:"title-link",target:"_self","aria-label":a,href:n,children:[(0,l.jsx)("span",{className:"mr-2",children:a}),(0,l.jsx)(c.vK,{className:"w-3 -mb-[2px] -mt-0.5 inline-block"})]}),u&&u.length>0&&(0,l.jsx)("div",{className:"flex gap-2 flex-wrap",children:u.slice(0,6).map((e,t)=>{let a="string"==typeof e,n=a?e:e.name,r=a?"":e.url;return(0,l.jsx)(s.A,{text:n,url:r},t)})}),"0"!==x&&(0,l.jsx)("time",{className:"text-d-xxsmall-body text-content-secondary block",dateTime:"PT".concat(null==x||null==(t=x.match(/\d+/))?void 0:t[0],"M"),children:x})]})})},1600:(e,t,a)=>{"use strict";a.d(t,{A:()=>l.A});var l=a(99)},1661:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(5155),n=a(2115),r=a(5203),i=a.n(r),s=a(9219),o=a(8164);let c=(0,n.memo)(e=>{let{content:{source:t,headline:a,description:r}}
1=e,c=(0,n.useRef)(null),[d,m]=(0,n.useState)(!0);return(0,n.useEffect)(()=>{let e=c.current;e&&(e.onload=()=>{var t;let a=document.createElement("style"),l=Array.from(document.styleSheets).map(e=>{try{return Array.from(e.cssRules||[]).map(e=>e.cssText).join("\n")}catch(t){return console.warn("Could not access stylesheet:",e.href),""}}).join("\n");a.textContent=l,null==(t=e.contentWindow)||t.postMessage({type:"styles",data:l},"https://forms.comptia.org/"),m(!1)});let a=e=>{if("iframeHeight"===e.data.type&&e.data.id==="".concat(t)){let t=e.data.height;c.current&&t>0&&(c.current.style.height="".concat(t+10,"px"))}};return window.addEventListener("message",a),()=>{window.removeEventListener("message",a)}},[]),(0,l.jsxs)("div",{...(0,o.HP)("BusinessForm","container"),className:i()("flex flex-col gap-4 bg-background-surface-weak rounded-corner-8 business-form-block",d&&"justify-center h-full"),children:[(0,l.jsx)(s.A,{loading:d}),(0,l.jsxs)("div",{className:i()(d?"hidden":"block"),children:[(0,l.jsxs)("div",{className:"flex flex-col gap-4 p-6 xl:p-14 pb-0 xl:pb-0",children:[(0,l.jsx)("h2",{className:"text-initial text-content-secondary heading-md",dangerouslySetInnerHTML:{__html:a.replaceAll("\n","<br/>")}}),(0,l.jsx)("p",{className:"text-content-secondary mb-4 xl:max-w-[954px]",dangerouslySetInnerHTML:{__html:r.replaceAll("\n","<br/>")}})]}),(0,l.jsx)("iframe",{...(0,o.HP)("BusinessForm","iframe"),title:a,className:"mb-6 xl:mb-14 min-h-[50px]",ref:c,src:t,width:"100%",height:"100%"})]})]})})},2197:(e,t,a)=>{"use strict";a.d(t,{r:()=>n});var l=a(2115);let n=e=>{let{wrapperRef:t,iframeRef:a}=e,[n,r]=(0,l.useState)(!1),[i,s]=(0,l.useState)({}),[o,c]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{(()=>{let e=document.createElement("script");e.src="https://player.vimeo.com/api/player.js",e.async=!0,e.onload=()=>{c(!0)},document.head.appendChild(e)})()},[]),(0,l.useEffect)(()=>{if(o){let e=()=>{if(document.fullscreenElement===a.current)r(!0);else if(n){var e,t;r(!1),null==(e=a.current)||e.scrollIntoView({behavior:"instant",block:"center"}),null==(t=a.current)||t.focus()}};return document.addEventListener("fullscreenchange",e),()=>{document.removeEventListener("fullscreenchange",e)}}},[n,o]),(0,l.useEffect)(()=>{let e=new IntersectionObserver(e=>{e.forEach(e=>{if(!e.isIntersecting&&a.current){var t;null==(t=a.current.contentWindow)||t.postMessage(JSON.stringify({method:"pause"}),"https://cms.comptia.org")}})},{threshold:.1});return o&&a.current&&e.observe(a.current),()=>{o&&a.current&&e.unobserve(a.current)}},[o]),(0,l.useEffect)(()=>{let e=e=>{let t=e.target.nextElementSibling,a=new window.Vimeo.Player(t);if(i[t.getAttribute("video-id")])return a.pause();a.play()};return o&&t.current&&t.current.addEventListener("click",e),()=>{o&&t.current&&t.current.removeEventListener("click",e)}},[i,o,t]),(0,l.useEffect)(()=>{o&&document.querySelectorAll(".iframe").forEach((e,t)=>{let a=new window.Vimeo.Player(e);e.setAttribute("video-id","video-".concat(++t));let l=e.getAttribute("video-id");a.on("play",()=>{s(e=>({...e,[l]:!0}))}),a.on("pause",()=>{s(e=>({...e,[l]:!1}))})})},[o]),{isPlayingMap:i,isVimeoInitialized:o,isFullscreen:n}}},2383:(e,t,a)=>{"use strict";a.d(t,{A:()=>l});let l=e=>e?e.toLowerCase().normalize("NFC").split(" ").join("-"):""},2579:(e,t,a)=>{"use strict";a.d(t,{default:()=>o});var l=a(5155),n=a(2115),r=a(6578),i=a(2282),s=a(8164);let o=n.memo(e=>{let{content:t,mode:a}=e;return(0,n.useEffect)(()=>{let e=()=>{window.brandquizEmbed&&(document.querySelectorAll(".involveme_embed, .brandquiz_embed").forEach(e=>{let t=e.querySelector("iframe");t&&t.remove()}),window.brandquizEmbed.embeds=[],window.brandquizEmbed.embed())},t=setTimeout(()=>{if(window.brandquizEmbed)e();else{let t=setInterval(()=>{window.brandquizEmbed&&(clearInterval(t),e())},100);setTimeout(()=>clearInterval(t),5e3)}},100);return()=>clearTimeout(t)},[]),console.log("InvolveMeQuiz content:",t),(0,l.jsx)("div",{...(0,s.HP)("InvolveMeQuiz","container"),className:"involveme-quiz-block",children:t.showAsPopup?(0,l.jsxs)("div",{className:"image-text-block mb-6 xl:mb-20 flex flex-col gap-4 p-6 xl:p-8 rounded-corner-8 xl:gap-2 bg-content-white shadow-default",children:[t.popupTitle&&(0,l.jsx)("h2",{className:"heading-sm font-bold text-initial",...(0,r.d8)("PopupTitle",a),children:t.popupTitle}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 xl:mt-2 xl:gap-6 items-start w-full justify-between ".concat("left"===t.alignment?"xl:flex-row-reverse":"xl:flex-row"),children:[t.popupImage&&t.popupImage.src&&(0,l.jsx)(i.A,{imageData:t.popupImage,className:"w-full h-auto block aspect-image rounded-corner-8 xl:max-w-[282px]",propertyName:"PopupImage",width:522,he
1ight:462,cropImage:!1,mode:a}),(0,l.jsx)("div",{className:"flex flex-col gap-4 xl:mt-2 xl:gap-6 items-start w-full justify-between xl:flex-row",children:(0,l.jsxs)("div",{className:"w-full flex flex-col gap-6 xl:gap-4",children:[t.popupDescription&&(0,l.jsx)("div",{className:"rte body-sm *:text-content-secondary",...(0,r.d8)("Description",a),dangerouslySetInnerHTML:{__html:t.popupDescription}}),(0,l.jsx)("div",{className:"flex gap-8 items-center flex-wrap mt-2 xl:mt-0",children:(0,l.jsx)("button",{className:"involveme_popup btn btn--primary","data-project":t.dataProject,"data-embed-mode":"popup","data-trigger-event":"button","data-popup-size":"medium","data-organization-url":"https://quiz.comptia.org","data-title":t.dataTitle,children:t.popupButtonLabel})})]})})]})]}):(0,l.jsx)("div",{...(0,s.HP)("InvolveMeQuiz","iframe"),className:"involveme_embed","data-project":t.dataProject,"data-title":t.dataTitle})})})},2918:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var l=a(5155),n=a(2115),r=a(5833),i=a(6578),s=a(5203),o=a.n(s),c=a(2197);let d=n.memo(e=>{let{content:t,mode:a}=e,s=(0,n.useRef)(null),d=(0,n.useRef)(null);return(0,c.r)({wrapperRef:s,iframeRef:d}),(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{...(0,i.d8)("Alignment",a),className:"xl:py-16 py-12 grey-theme",children:(0,l.jsxs)("div",{className:o()("full"!==t.alignment&&"container","flex flex-col gap-12"),children:[t.headline&&(0,l.jsx)("h2",{...(0,i.d8)("Headline",a),className:o()("full"===t.alignment&&"container","heading-md text-initial 2xl:w-10/12"),children:t.headline}),(0,l.jsxs)("div",{className:"flex flex-col gap-12 2xl:gap-16 2xl:items-center w-full justify-between ".concat("left"===t.alignment?"2xl:flex-row":"2xl:flex-row-reverse"),children:[(0,l.jsxs)("div",{className:o()("relative w-full 2xl:min-w-[947px] h-0 overflow-hidden","left"===t.alignment||"right"===t.alignment?"pb-[56%] 2xl:pb-[37%]":"pb-[56%]"),children:[(0,l.jsx)("div",{className:"h-[calc(100%_-_40px)] w-full z-[9999999] absolute cursor-pointer",ref:s}),(0,l.jsx)("iframe",{...(0,i.d8)("VideoLink",a),src:"https://player.vimeo.com/video/".concat(t.videoId,"?badge=0&autopause=0&player_id=0&app_id=58479"),className:o()("full"!==t.alignment&&"rounded-corner-16","iframe absolute top-0 left-0 w-full h-full border-0"),frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write",title:t.title,ref:d})]}),("left"===t.alignment||"right"===t.alignment)&&(0,l.jsxs)("div",{className:"w-full flex flex-col",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[t.title&&(0,l.jsx)("h3",{...(0,i.d8)("Title",a),className:"heading-sm text-initial font-bold",children:t.title}),t.description&&(0,l.jsx)("div",{className:"rte body",...(0,i.d8)("Description",a),dangerouslySetInnerHTML:{__html:t.description}})]}),t.ctaButtons&&t.ctaButtons.length>0&&(0,l.jsx)("div",{className:"flex gap-x-8 gap-y-6 md:flex-row flex-wrap items-center mt-16",children:t.ctaButtons.map((e,t)=>(0,l.jsx)(r.default,{content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--primary":"btn--tertiary",ctaUrl:e.ctaUrl,ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},mode:a,propertyName:"Cta".concat(t+1)},t))})]})]})]})})})})},3048:(e,t,a)=>{"use strict";a.d(t,{default:()=>g});var l=a(5155),n=a(2115),r=a(7479),i=a(6578),s=a(1177),o=a(2282),c=a(5464),d=a(780);let m=n.memo(e=>{var t,a,n;let{content:r,mode:s}=e,{addToCart:m}=(0,d._)();return(0,l.jsxs)("div",{className:"flex flex-col gap-4 items-start px-8 py-12 w-full",children:[(0,l.jsxs)("p",{className:"body-sm",children:[r.primaryCategory," ",r.productCategory]}),r.imageData&&(0,l.jsx)(o.A,{imageData:r.imageData,className:"block object-contain self-center w-[200px] h-[200px]",svgClasses:"self-center w-[200px] h-[200px] *:w-[200px] *:h-[200px]",propertyName:"Image",width:200,height:200,cropImage:!1,removeSvgFill:!1,mode:s}),(0,l.jsx)("div",{className:"inline-block text-left",children:(null==r?void 0:r.title)&&(0,l.jsx)("h2",{...(0,i.d8)("Title",s),className:"text-initial heading-sm !font-bold",children:null==r?void 0:r.title})}),(0,l.jsx)("div",{...(0,i.d8)("Description",s),className:"text-left body-sm rte",dangerouslySetInnerHTML:{__html:null!=(n=null==r?void 0:r.description)?n:""}}),r.includes&&r.includes.map((e,t)=>{let{title:a,items:n}=e;return(0,l.jsxs)("ul",{className:"list-style-none",children:[(0,l.jsx)("li",{className:"font-semibold w-fit mb-2",children:a}),n.map((e,t)=>(0,l.jsx)("li",{className:"w-fit list-disc list-inside",children:e},t))]},t)}),(null==(t=r.cta)?void 0:t.ctaAriaLabel)&&(0,l.jsx)(c.A,{content:{ctaLabel:r.cta.ctaLabel,ctaType:"btn--tertiary",ctaAriaLabel:r.cta.ctaAriaLabel},mode:s,className:"!text-wrap !text-left",propertyName:"Cta",onClick:function(){var e;m({Quantity:1,VariantCode:(null==(e=r.variants)?void 0:e[0].code)||""})}}),(null==(a=r.price)?void 0:a.discountedPrice)&&(0,l.jsxs)("p",{className:"body-sm font-bold",children:["$",r.price.discountedPrice.toFixed(2)," ",r.price.currency]})]})});var u=a(9219),x=a(8164);let p=n.memo(e=>{let{content:t,mode:a}=e,{loading:n}=(0,d._)();return(0,l.jsxs)("div",{...(0,x.HP)("ProductInfoCards","container"),className:"py-12 xl:py-16 grey-theme",children:[(0,l.jsx)(u.A,{loading:n}),(0,l.jsx)("div",{className:"container",children:(0,l.jsx)("ul",{...(0,i.d8)("MainContentArea",a),...(0,x.HP)("ProductInfoCards","list"),className:"list-style-none flex flex-wrap mt-12 xl:mx-12 2xl:mx-0 justify-center gap-8",children:null==t?void 0:t.map((e,t)=>{var n,r;return(0,l.jsx)("li",{...(0,i.C0)(null==(n=e.contentLink)?void 0:n.id,a),...(0,x.Mu)("ProductInfoCards","card",(null==(r=e.contentLink)?void 0:r.id)||t),className:"md:max-w-[336px] w-full rounded-corner-16 light-theme text-left",children:(0,l.jsx)(m,{content:e,mode:a})},t)})})})]})});var h=a(7631),b=a(8479);let g=n.memo(e=>{var t;let{content:a,mode:o}=e,{productData:c,loading:d}=(e=>
1{let[t,a]=(0,n.useState)(""),[l,r]=(0,n.useState)(!1),[i,s]=(0,n.useState)(null),[o,c]=(0,n.useState)(!0);(0,n.useEffect)(()=>{null===h.A||void 0===h.A||h.A.getUser().then(e=>{var t;(null==e||null==(t=e.profile)?void 0:t.id)&&a(e.profile.id)}),r(!0)},[]);let d=(0,n.useCallback)(async()=>{if(l)try{var a,n;c(!0);let l=await fetch("".concat(b.A,"/api/product-listing/"),{method:"POST",headers:{"Content-Type":"application/json",userId:t,ssoMarket:"NA"},body:JSON.stringify({WebCategoryCode:e,SearchFilterViewModel:{BestBetBases:"",CatalogId:"",Category:"",Filters:"",IsAjaxRequest:!1,IsBestBetEnabled:!1,IsDidYouMeanEnabled:!1,IsLoadAllPreviousPages:!1,NumberOfDiDYouMeanSuggestions:0,NumberOfFilterValues:0,OrderBy:"PriceAZ",PageIndex:0,PageSize:0,Q:null,SelectedFacets:null,TrackSearchData:!0}})}),r=await l.json();(null==(n=r.productList)||null==(a=n.products)?void 0:a.length)&&s(r.productList.products.map(e=>{let{images:t,displayName:a,url:l,price:n,primaryCategory:r,productCategory:i,includes:s,variants:o}=e;return{imageData:null==t?void 0:t[0],title:a,description:"Lorem Ipsum Dolor sit amet est Consect et dolore au adipiscing elit seddo tet un eut autre ante Seddov oluptate velit esse cillu m lore sed do est eiusmod pore the max character count is 191.",cta:{ctaType:"btn--primary",ctaUrl:l,ctaLabel:"Add to Cart",ctaAriaLabel:"Add ".concat(a," to Cart")},price:n,primaryCategory:r,productCategory:i,includes:s,variants:o}}))}catch(e){console.error("Error fetching product data:",e),s(null)}finally{c(!1)}},[e,t,l]);return(0,n.useEffect)(()=>{l&&d()},[d,l]),{productData:i,loading:o}})((null==(t=a.webCategoryArea)?void 0:t.webCategory_0.code)||"");return(0,l.jsxs)(l.Fragment,{children:[a.breadcrumbs&&(0,l.jsx)(s.A,{content:a.breadcrumbs}),(0,i.Dd)(a.topContentArea)&&(0,l.jsx)("section",{className:"content-area",role:"banner",...(0,i.d8)("TopContentArea",o),...(0,x.HP)("ProductInformationPage","top-content-area"),children:(0,l.jsx)(r.A,{content:a.topContentArea,mode:o})}),(0,i.Dd)(a.mainContentArea)&&(0,l.jsx)("div",{className:"content-area",...(0,i.d8)("MainContentArea",o),...(0,x.HP)("ProductInformationPage","main-content-area"),children:(0,l.jsx)(r.A,{content:a.mainContentArea,mode:o})}),(0,i.Dd)((null==a?void 0:a.webCategoryArea)||{})&&!d&&(0,l.jsx)(p,{content:c}),(0,i.Dd)(a.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area",role:"contentinfo",...(0,i.d8)("BottomContentArea",o),children:(0,l.jsx)(r.A,{content:a.bottomContentArea,mode:o})})]})})},3511:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(5155),n=a(2115),r=a(7479),i=a(6578),s=a(1177),o=a(5203),c=a.n(o),d=a(8164);let m=n.memo(e=>{var t;let{content:a,mode:n}=e,o=null==a||null==(t=a.backgroundImage)?void 0:t.src,m={productListingCards:{cards:Object.values(a.productTitlePageContentArea),contentType:["Other","ProductListingCards"]}};return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,d.HP)("SubProductListingPage","container"),className:c()(o&&"bg-image"),style:{backgroundImage:o?"url(".concat(o,")"):"none"},children:[o&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{className:"container relative",children:[a.breadcrumbs&&(0,l.jsx)(s.A,{content:a.breadcrumbs}),(0,l.jsx)("h1",{...(0,i.d8)("Title",n),...(0,d.HP)("SubProductListingPage","title"),className:"w-full heading-lg xl:text-center mt-1",children:a.title}),a.summary&&(0,l.jsx)("p",{...(0,i.d8)("Summary",n),...(0,d.HP)("SubProductListingPage","summary"),className:"xl:text-center mt-4 xl:mt-2 text-content-secondary",children:a.summary})]}),(0,l.jsx)("div",{className:"relative",children:(0,l.jsx)("div",{className:"mt-6 xl:mt-8 relative container content-area",children:(0,l.jsx)(r.A,{content:m,mode:n})})}),(0,i.Dd)(a.bottomContentArea)&&(0,l.jsx)("section",{...(0,d.HP)("SubProductListingPage","bottom-content-area"),className:"content-area relative",role:"contentinfo",...(0,i.d8)("BottomContentArea",n),children:(0,l.jsx)(r.A,{content:a.bottomContentArea,mode:n})})]})})})},3791:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(5155),n=a(2115),r=a(5833),i=a(6578),s=a(926),o=a(8441),c=a(6543),d=a(8164);let m=n.memo(e=>{var t,a,m,u;let{content:x,mode:p}=e,{isModalOpen:h,openModal:b,closeModal:g}=(0,o.h)(),f=n.useRef(null);return(0,l.jsxs)("section",{...(0,d.HP)("MarketingTout","container"),className:"container !p-6 xl:p-8 !mt-0",children:[(0,l.jsx)("p",{...(0,i.d8)("Eyebrow",p),className:"eyebrow mb-2",children:x.eyebrow}),(0,l.jsx)("h2",{...(0,i.d8)("Title",p),className:"text-initial text-d-sm-body xl:text-d-xsm-title font-bold mb-4",dangerouslySetInnerHTML:{__html:x.title.replaceAll("\n","<br/>")}}),(0,l.jsx)("p",{...(0,i.d8)("Description",p),className:"body-sm text-content-secondary",dangerouslySetInnerHTML:{__html:x.description.replaceAll("\n","<br/>")}}),(null==x?void 0:x.cta)&&(0,l.jsx)("div",{className:"mt-6 xl:mt-4",children:(0,l.jsx)(r.default,{...(0,d.BQ)("MarketingTout","cta"),content:{ctaLabel:x.cta.ctaLabel,ctaTarget:x.cta.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--sm",ctaUrl:x.popupForm?void 0:x.cta.ctaUrl,ctaAriaLabel:x.cta.ctaAriaLabel,imageData:x.cta.imageData,alignment:x.cta.alignment},onClick:x.popupForm?b:void 0,className:"!text-wrap xl:btn--md",mode:p,propertyName:"Cta","aria-haspopup":x.popupForm?"dialog":"","aria-controls":x.popupForm?"modal-".concat(null==(a=x.popupForm)||null==(t=a.contentLink)?void 0:t.id):""})}),x.popupForm&&(0,l.jsx)(s.A,{...(0,d.HP)("MarketingTout","modal"),isOpen:h,onClose:g,closeButtonLabel:x.closeButtonLabel,id:"modal-".concat(null==(u=x.popupForm)||null==(m
1=u.contentLink)?void 0:m.id),triggerRef:f,children:(0,l.jsx)(c.A,{content:x.popupForm,mode:p})})]})})},3970:()=>{},4497:(e,t,a)=>{"use strict";a.d(t,{A:()=>l.default});var l=a(6294)},4579:(e,t,a)=>{"use strict";a.d(t,{A:()=>l.A});var l=a(5625)},5211:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var l=a(5155),n=a(2115),r=a(5203),i=a.n(r),s=a(6578),o=a(5833);let c=n.memo(e=>{let{content:t,mode:a,activeTab:n=0,fade:r=!0,isTruncated:c=!1,text:d=t.description,showMoreBtn:m=!1,toggleTruncate:u,index:x=0,showMoreLabel:p,showLessLabel:h,isBlockEdit:b=!0}=e;return(0,l.jsxs)(l.Fragment,{children:[b&&(0,l.jsx)("div",{className:"flex gap-2 pt-2 pb-1 xl:pb-0 xl:pt-4 mb-8",children:(0,l.jsx)("button",{...(0,s.d8)("TabName",a),className:"flex items-center pt-4 pb-1 px-2 min-w-fit w-fit",children:(0,l.jsx)("div",{className:"text-nowrap border-b-[3px] pb-2 font-medium text-palette-primary-black border-palette-primary-black",children:t.tabName})})}),(0,l.jsx)("div",{id:"tabpanel-".concat(x),role:"tabpanel",tabIndex:x===n?0:-1,"aria-labelledby":"tab-".concat(x),hidden:x!==n,className:i()("focus:outline-2 focus:outline-palette-secondary-grey-500 transition-opacity",r?"opacity-100":"opacity-0",x===n?"flex":"hidden"),children:(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row gap-8 xl:gap-16",children:[(0,l.jsx)("h3",{...(0,s.d8)("Title",a),className:"w-full xl:w-[480px] heading-sm font-bold",children:t.title}),(0,l.jsxs)("div",{className:i()("w-full xl:w-[596px] 2xl:w-[896px] overflow-hidden transition-all duration-[600ms]"),children:[(0,l.jsx)("div",{className:i()("rte body",c&&"max-h-[100%_!important]"),...(0,s.d8)("Description",a),dangerouslySetInnerHTML:{__html:null!=d?d:""}}),m&&(0,l.jsx)("div",{className:"w-fit ms-auto mt-8",children:(0,l.jsx)(o.default,{content:{ctaLabel:c?p:h,ctaType:"btn--tertiary",ctaAriaLabel:c?p:h,imageData:{src:"/icons/arrow-down-24x24.svg",alt:""}},onClick:u,mode:a,propertyName:"Cta",className:"-mr-3 focus-visible:mr-0 no-hover",svgClasses:i()("transition-all pointer-events-none",!c&&"rotate-180")})})]})]})},x)]})})},5431:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var l=a(5155),n=a(2115),r=a(63),i=a(5625),s=a(1177),o=a(9940),c=a(1469),d=a(2282),m=a(8936),u=a(5464),x=a(22),p=a(8164);let h=n.memo(e=>{var t,a,h,b,g;let{content:f}=e,v=(0,r.useSearchParams)(),y=(0,r.useRouter)(),[j,w]=(0,n.useState)(null!=(g=v.get("query"))?g:""),N=v.get("query"),A=null==(t=v.get("categories"))?void 0:t.split(","),C=(0,n.useCallback)(e=>{let t=new URLSearchParams(window.location.search);t.set("page","1"),t.set("query",e),t.delete("categories"),null==y||y.push("".concat(window.location.pathname,"?").concat(t.toString()))},[]),{data:k,loading:_}=(0,o.A)(v,10,"GetContent",f.language,A);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"container",children:f.breadcrumbs&&(0,l.jsx)(s.A,{content:f.breadcrumbs})}),(0,l.jsx)("div",{className:"bg-background-surface-weak py-4 xl:py-10",children:(0,l.jsx)("div",{...(0,p.HP)("SearchForm","container"),className:"container",children:(0,l.jsxs)("form",{...(0,p.HP)("SearchForm","form"),role:"search",className:"w-full xl:max-w-[792px] xl:mx-auto",onSubmit:e=>{e.preventDefault(),C(j)},children:[(0,l.jsx)("label",{htmlFor:"usesearch-input",className:"sr-only",children:f.searchAriaLabel}),(0,l.jsxs)("div",{className:"flex flex-row w-full gap-2 items-center",children:[(0,l.jsxs)("div",{className:"relative w-full",children:[(0,l.jsx)(c.WI,{className:"absolute left-3 top-1/2 transform -translate-y-1/2"}),(0,l.jsx)("input",{...(0,p.rE)("SearchForm","search"),id:"search-input",type:"search",placeholder:f.searchInputPlaceHolder,name:"query",onChange:e=>w(e.target.value),value:j,className:"w-full h-[52px] !pl-10 pr-3 py-3 border-[1px] border-content-secondary rounded-corner-8 text-content-primary text-xsm-body focus-visible:outline-0 focus-visible:border-2"})]}),(0,l.jsx)("button",{...(0,p.BQ)("SearchForm","search"),className:"btn btn--primary btn--lg w-full","aria-label":f.searchAriaLabel,type:"submit",children:f.searchLabel})]})]})})}),(0,l.jsx)("div",{className:"py-8 xl:py-10 w-full xl:max-w-[792px] xl:mx-auto",children:_&&!k?(0,l.jsx)("div",{className:"flex justify-center items-center",children:(0,l.jsx)("div",{className:"animate-spin rounded-[100px] h-12 w-12 border-t-4 border-palette-primary-brand"})}):(null==k||null==(a=k.results)?void 0:a.length)===0?(N||""===N)&&(0,l.jsx)("h2",{className:"text-initial heading-xsm",children:f.noResultsFor.replace("{0}","â".concat(N,"â"))}):(0,l.jsxs)("div",{className:"container flex flex-col gap-8",children:[N&&(0,l.jsx)("h2",{className:"text-initial heading-xsm",children:f.resultsFor.replace("{0}","â".concat(N,"â"))}),(0,l.jsx)("ul",{...(0,p.HP)("SearchPage","results"),className:"list-style-none flex flex-col gap-6 w-full xl:mb-4",children:null==k?void 0:k.results.map((e,t)=>{var a,n;return(0,l.jsxs)("li",{className:"bg-content-white shadow-default rounded-corner-8 flex flex-col xl:flex-row gap-5 p-6",children:[(0,l.jsx)(d.A,{...(0,p.HP)("SearchForm","image"),imageData:(null==(a=e.thumbnail)?void 0:a.src)?e.thumbnail:{src:"/images/image-placeholder-564x376.png"},className:"block object-cover w-[80px] xl:w-[124px] h-[80px] xl:h-[124px] rounded-corner-8",svgClasses:"*:w-[80px] *:xl:w-[124px] *:h-[80px] *:xl:h-[124px]",propertyName:"Image",width:248,height:248,mode:m.rc.Default}),(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"body font-semibold text-content-primary mb-2",children:e.title}),(0,l.jsx)("p",{className:"text-m-sm-body text-content-secondary mb-4",children:(null==(n=e.shortDe
1scription)?void 0:n.length)>182?"".concat(e.shortDescription.substring(0,182),"..."):e.shortDescription}),(0,l.jsx)(u.A,{...(0,p.BQ)("SearchForm","cta"),content:{ctaLabel:e.cta.ctaLabel,ctaTarget:e.cta.ctaTarget,ctaType:"btn--tertiary",ctaSize:"btn--sm",ctaUrl:e.cta.ctaUrl,ctaAriaLabel:e.cta.ctaAriaLabel,imageData:x.default,alignment:"right"},mode:m.rc.Default,className:"xl:btn--lg xl:!p-0",trackingId:e.trackingId,trackingQuery:j})]})]},t)})}),(null==k?void 0:k.totalMatching)&&(null==k||null==(h=k.results)?void 0:h.length)&&(null==k?void 0:k.totalMatching)>(null==k||null==(b=k.results)?void 0:b.length)&&(0,l.jsx)(i.A,{totalPages:Math.ceil(k.totalMatching/10),labels:{nextAriaLabel:f.nextAriaLabel,nextLabel:f.nextLabel,previousAriaLabel:f.previousAriaLabel,previousLabel:f.previousLabel,goToPageAriaLabel:f.goToPageAriaLabel}})]})})]})})},5625:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var l=a(5155),n=a(2115),r=a(63),i=a(5203),s=a.n(i);let o=e=>{let{onClick:t,disabled:a=!1,isActive:n=!1,ariaLabel:r,ariaCurrent:i,buttonType:o,hideOnDesktop:c,children:d}=e,m="nav"===o;return(0,l.jsx)("li",{className:s()(!m&&(c?"xl:hidden":"hidden xl:block"),a&&"hidden"),children:(0,l.jsx)("button",{onClick:t,disabled:a,"aria-label":r,"aria-current":i,className:s()("font-medium rounded-corner-100 body-sm border-content-brand","focus:outline focus:outline-[0.5px] focus:outline-content-brand focus:outline-offset-2",n&&"w-10 h-10 text-content-white bg-content-primary hover:bg-content-brand",m&&"btn btn--secondary btn--sm xl:btn--md","number"===o&&!n&&"bg-content-white text-content-secondary hover:text-content-brand"),children:d})})},c=e=>{var t;let{totalPages:a,labels:i={previousAriaLabel:"",previousLabel:"",nextAriaLabel:"",nextLabel:"",goToPageAriaLabel:""}}=e,s=(0,r.useRouter)(),c=(0,r.useSearchParams)(),d=Number.parseInt(null!=(t=c.get("page"))?t:"1",10),m=(0,n.useMemo)(()=>((e,t)=>{let a=[],l=!1,n=!1,r=!1,i=!1;function s(r){switch(!0){case[1,e,t].includes(r)||e<=3&&r<=3||e>=t-2&&r>=t-2:a.push({page:r,hideOnDesktop:!0});break;case r<e&&!l:l=!0,a.push({page:"...",hideOnDesktop:!0});break;case r>e&&!n:n=!0,a.push({page:"...",hideOnDesktop:!0})}}for(let l=1;l<=t;l++){if(t<=5){a.push({page:l,hideOnDesktop:!1}),a.push({page:l,hideOnDesktop:!0});continue}if(t<=7){a.push({page:l,hideOnDesktop:!1}),s(l);continue}s(l),function(l){switch(!0){case[1,e-1,e,e+1,t].includes(l)||e<=4&&l<=5||e>=t-3&&l>=t-4:a.push({page:l,hideOnDesktop:!1});break;case l<e&&!r:r=!0,a.push({page:"...",hideOnDesktop:!1});break;case l>e&&!i:i=!0,a.push({page:"...",hideOnDesktop:!1})}}(l)}return a})(d,a),[d,a]),u=e=>{let t=new URLSearchParams(c.toString());t.set("page",e.toString()),s.push("".concat(window.location.pathname,"?").concat(t.toString()))};return(0,l.jsx)("nav",{className:"flex justify-center",children:(0,l.jsxs)("ul",{className:"inline-flex items-center gap-4 xl:gap-6",children:[(0,l.jsx)(o,{onClick:()=>u(d-1),disabled:d<=1,ariaLabel:i.previousAriaLabel,buttonType:"nav",children:i.previousLabel}),m.map((e,t)=>{let{page:a,hideOnDesktop:n}=e;return"..."===a?(0,l.jsx)("li",{className:n?"xl:hidden":"hidden xl:block",children:(0,l.jsx)("span",{className:"font-medium text-palette-secondary-grey-700",children:"..."})},t):(0,l.jsx)(o,{onClick:()=>u(a),isActive:a===d,ariaLabel:"".concat(i.goToPageAriaLabel," ").concat(a),ariaCurrent:a===d?"page":void 0,buttonType:"number",hideOnDesktop:n,children:a},t)}),(0,l.jsx)(o,{onClick:()=>u(d+1),disabled:d>=a,ariaLabel:i.nextAriaLabel,buttonType:"nav",children:i.nextLabel})]})})}},5842:(e,t,a)=>{"use strict";a.d(t,{A:()=>m});var l=a(5155),n=a(2115),r=a(6578),i=a(2282),s=a(5464),o=a(5203),c=a.n(o),d=a(99);let m=n.memo(e=>{var t,a,n;let{content:o,mode:m,isCardsProduct:u=!1}=e;return(0,l.jsxs)("div",{className:c()("flex flex-col gap-4 items-start px-8 py-12 w-full",u?"md:max-w-[336px]":"xl:max-w-[261px] 2xl:max-w-[336px]"),children:[(0,l.jsx)(i.A,{imageData:o&&o.imageData,className:c()("block object-contain self-center",u?"w-[200px] h-[200px]":"h-[124px] w-full mb-4"),svgClasses:c()("self-center",u?"w-[200px] h-[200px] *:w-[200px] *:h-[200px]":"w-[124px] h-[124px] *:w-[124px] *:h-[124px] mb-4"),propertyName:"Image",width:u?200:124,height:u?200:124,cropImage:!1,removeSvgFill:!u,mode:m}),(0,l.jsxs)("div",{className:c()(u&&"inline-block text-left"),children:[(null==o?void 0:o.title)&&(0,l.jsx)("h2",{...(0,r.d8)("Title",m),className:c()(u&&(null==o?void 0:o.badge)&&"mr-4 inline-block align-middle !w-fit","text-initial heading-sm !font-bold"),children:null==o?void 0:o.title}),(null==o?void 0:o.badge)&&(0,l.jsx)(d.E,{text:o.badge})]}),(0,l.jsx)("div",{...(0,r.d8)("Description",m),className:c()(u&&"text-left","body-sm rte"),dangerouslySetInnerHTML:{__html:null!=(n=null==o?void 0:o.description)?n:""}}),o&&(null==(t=o.cta)?void 0:t.ctaAriaLabel)&&(0,l.jsx)(s.A,{content:{ctaLabel:o.cta.ctaLabel,ctaTarget:o.cta.ctaTarget,ctaType:"btn--tertiary",ctaUrl:o.cta.ctaUrl,ctaAriaLabel:o.cta.ctaAriaLabel,imageData:o.cta.imageData,alignment:o.cta.alignment},mode:m,className:"!text-wrap !text-left",propertyName:"Cta"}),o&&(null==(a=o.price)?void 0:a.discountedPrice)&&(0,l.jsxs)("p",{className:"body-sm font-bold",children:["$",o.price.discountedPrice.toFixed(0)," ",o.price.currency]})]})})},6206:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var l=a(5155),n=a(2115),r=a(5833),i=a(2282),s=a(1600),o=a(8164);let c=n.memo(e=>{var t,a,n,c,d,m,u;let{content:x,mode:p}=e;return(0,l.jsxs)("div",{...(0,o.dz)("JobCard",x.title),className:"border-[#
1E1E5EA] border py-6 xl:py-4 px-6 rounded-corner-8 flex flex-col gap-4 bg-background-white h-full",children:[(0,l.jsxs)("div",{className:"flex gap-3 items-center",children:[x.icon.src&&(0,l.jsx)("span",{"aria-hidden":"true",className:"rounded-corner-100 bg-multicolor w-[48px] flex-shrink-0 h-[48px] flex items-center justify-center",children:(0,l.jsx)(i.A,{imageData:x.icon,className:"w-[24px] h-[24px]",svgClasses:"*:w-[24px] *:h-[24px] fill-content-white",propertyName:"Image",width:24,height:24,cropImage:!1,mode:p})}),(0,l.jsx)("h2",{className:"heading-xsm text-content-primary text-initial",children:x.title})]}),(0,l.jsx)("div",{className:"flex gap-2 flex-wrap",children:null==(t=x.jobTag)?void 0:t.map((e,t)=>(0,l.jsx)(s.A,{text:e},t))}),(0,l.jsx)("p",{className:"rte text-content-secondary text-xsm-body",dangerouslySetInnerHTML:{__html:x.shortDescription.replaceAll("\n","<br/>")}}),(0,l.jsx)(r.default,{content:{ctaLabel:null==(a=x.cta)?void 0:a.ctaLabel,ctaTarget:null==(n=x.cta)?void 0:n.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--sm",ctaUrl:null==(c=x.cta)?void 0:c.ctaUrl,ctaAriaLabel:null==(d=x.cta)?void 0:d.ctaAriaLabel,imageData:null==(m=x.cta)?void 0:m.imageData,alignment:null==(u=x.cta)?void 0:u.alignment},mode:p,className:"!text-wrap xl:btn--md",propertyName:"Cta"})]})})},6294:(e,t,a)=>{"use strict";a.d(t,{default:()=>x});var l=a(5155),n=a(2115),r=a(7479),i=a(6578),s=a(1177),o=a(5203),c=a.n(o),d=a(9335),m=a(8164),u=a(2383);let x=n.memo(e=>{var t,a,o;let{content:x,mode:p}=e,h=[],b=[],g=null==x||null==(t=x.backgroundImage)?void 0:t.src,f=null!=(a=x.levelCategories)?a:[],v=null!=(o=x.showOverviewTab)&&o&&x.overviewContentArea&&Object.keys(x.overviewContentArea).length>0,y=f.length>0;v&&b.push(x.overviewLabel),b.push(x.allLabel),b.push(...f);let j=(0,u.A)(b[0]);(0,n.useEffect)(()=>{y&&!window.location.hash&&j&&history.replaceState(null,"","#".concat(j))},[j,y]);let w=e=>({productListingCards:{cards:e,contentType:["Other","ProductListingCards"]}}),N=e=>{if(0===e&&v)return x.overviewContentArea;let t=+!!v;if(e===t)return w(Object.values(x.productTitlePageContentArea));let a=f[e-(t+1)];return w(Object.values(x.productTitlePageContentArea).filter(e=>{var t;return null==(t=e.levelName)?void 0:t.includes(a)}))};for(let e=0;e<b.length;e++)h.push({title:b[e],mainContentArea:N(e)});return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,m.HP)("ProductListingPage","container"),className:c()(g&&"bg-image"),style:{backgroundImage:g?"url(".concat(g,")"):"none"},children:[g&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{...(0,m.HP)("ProductListingPage","top-content-area"),className:"container relative",children:[x.breadcrumbs&&(0,l.jsx)(s.A,{content:x.breadcrumbs}),(0,l.jsx)("h1",{...(0,i.d8)("Title",p),className:"w-full heading-lg xl:text-center mt-1",children:x.title}),x.summary&&(0,l.jsx)("p",{...(0,i.d8)("Summary",p),className:"xl:text-center mt-4 xl:mt-2 text-content-secondary",children:x.summary})]}),(0,l.jsx)("div",{...(0,m.HP)("ProductListingPage","main-content-area"),className:"relative",children:y&&(0,l.jsx)("div",{className:"mt-6 xl:mt-8 relative",children:(0,l.jsx)(d.A,{tabs:h,mode:p})})}),(0,i.Dd)(x.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area relative",role:"contentinfo",...(0,i.d8)("BottomContentArea",p),children:(0,l.jsx)(r.A,{content:x.bottomContentArea,mode:p})})]})})})},6543:(e,t,a)=>{"use strict";a.d(t,{A:()=>ek});var l=a(5155),n=a(2115);let r=n.memo(e=>{var t;let{content:a}=e;return(0,l.jsx)("p",{children:"Could not load ".concat((null==a||null==(t=a.contentType)?void 0:t.join(": "))||"the component.",".")})});var i=a(7479),s=a(6578),o=a(1177),c=a(5203),d=a.n(c),m=a(9335),u=a(8164);let x=n.memo(e=>{var t;let{content:a,mode:n}=e,r=null==a||null==(t=a.backgroundImage)?void 0:t.src;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,u.HP)("ChannelHomepage","container"),className:d()("channel-homepage",r&&"bg-image"),style:{backgroundImage:r?"url(".concat(r,")"):"none"},children:[r&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{className:"container relative",children:[a.breadcrumbs&&(0,l.jsx)(o.A,{content:a.breadcrumbs}),(0,l.jsx)("h1",{...(0,s.d8)("Title",n),className:"w-full heading-lg xl:text-center mt-1",children:a.title}),a.summary&&(0,l.jsx)("p",{...(0,s.d8)("Summary",n),className:"xl:text-center mt-4 xl:mt-2 text-content-secondary",children:a.summary})]}),a.tabs&&a.tabs.length>0&&(0,l.jsx)("div",{className:"mt-6 xl:mt-8 relative",children:(0,l.jsx)(m.A,{tabs:a.tabs,mode:n})}),(0,l.jsx)("div",{className:"container relative",children:(0,s.Dd)(a.mainContentArea)&&(0,l.jsx)("div",{className:"content-area",...(0,s.d8)("MainContentArea",n),...(0,u.HP)("ChannelHomepage","main-content"),children:(0,l.jsx)(i.A,{content:a.mainContentArea,mode:n})})}),(0,s.Dd)(a.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area relative",role:"contentinfo",...(0,s.d8)("BottomContentArea",n),children:(0,l.jsx)(i.A,{content:a.bottomContentArea,mode:n})})]})})}),p=n.memo(e=>{var t;let{content:a,mode:n}=e,r=null==a||null==(t=a.backgroundImage)?void 0:t.src;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,u.HP)("StartPage","container"),className:"bg-gradient-to-b from-[#F6F7F9] to-white",children:[(0,l.jsxs)("div",{className:r&&"bg-image",style:{backgroundImage:r?"url(".concat(r,")"):"none"},children:[r&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsx)("div",{className:"container relative pt-10 xl:pt-16",children:(0,s.Dd)(a.mainContentArea)&&(0,l.jsx)("div",{className:"content-area",...(0,s.d8)("MainContentArea",n),children:(0,l.jsx)(i.A,{content:a.mainContentArea,mode:n})})})]}),(0,s.Dd)(a.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area",role:"contentinfo",...(0,s.d8)("BottomContentArea",n),children:(0,l.jsx)(i.A,{content:a.bottomContentArea,mode:n})})]})})});var h=a(3048),b=a(1600);let g=n.memo(e=>{var t,a,n,r;let{content:c,mode:m}=e,x=new Date(null!=(r=c.startPublish)?r:"").toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"});return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{...(0,u.HP)("BlogArticlePage","container"),className:"container blog-article-page",children:[c.breadcrumbs&&(0,l.jsx)(o.A,{content:c.breadcrumbs}),(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row gap-16 xl:gap-12 mt-4 mb-16 xl:mb-20",children:[(0,l.jsxs)("article",{...(0,u.HP)("BlogArticlePage","article"),className:"flex flex-col gap-10 w-full xl:max-w-[70%]",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h1",{className:"mb-4",...(0,s.d8)("Title",m),...(0,u.HP)("BlogArticlePage","t
1itle"),dangerouslySetInnerHTML:{__html:c.title.replaceAll("\n","<br/>")}}),!!(null==(t=c.categories)?void 0:t.length)&&(0,l.jsx)("div",{...(0,u.HP)("BlogArticlePage","categories"),className:"flex gap-2 flex-wrap mb-2 xl:mb-4",children:c.categories.slice(0,6).map((e,t)=>(0,l.jsx)(b.A,{text:e.name,url:e.url},t))}),(0,l.jsxs)("div",{className:"text-m-sm-body flex items-center flex-wrap",children:[(0,l.jsx)("span",{className:d()(("0"!==c.readTime||c.author)&&"metadata"),children:x}),c.author&&(0,l.jsx)("span",{className:d()("0"!==c.readTime&&"metadata"),...(0,s.d8)("Author",m),children:c.author}),"0"!==c.readTime&&(0,l.jsx)("time",{dateTime:"PT".concat(null==(n=c.readTime)||null==(a=n.match(/\d+/))?void 0:a[0],"M"),...(0,s.d8)("ReadTime",m),children:c.readTime})]})]}),(0,l.jsx)("div",{...(0,s.d8)("RichText",m),className:"table-container rte font-gelasio",dangerouslySetInnerHTML:{__html:c.richText}}),(0,l.jsx)(i.A,{content:c.leftContentArea,mode:m})]}),(0,s.Dd)(c.rightContentArea)&&(0,l.jsx)("aside",{...(0,s.d8)("RightContentArea",m),...(0,u.HP)("BlogArticlePage","aside"),className:"w-full xl:max-w-[30%] flex flex-col gap-10",children:(0,l.jsx)(i.A,{content:c.rightContentArea,mode:m})})]})]}),(0,s.Dd)(c.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area",role:"contentinfo",...(0,s.d8)("BottomContentArea",m),...(0,u.HP)("BlogArticlePage","bottom-content-area"),children:(0,l.jsx)(i.A,{content:c.bottomContentArea,mode:m})})]})});var f=a(5833),v=a(2282);let y=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("HeroBanner","container"),className:d()(t.cornerClip?"rounded-corner-4/24/24 xl:rounded-[4px_40px_40px] text-center xl:text-left":"rounded-corner-8 text-left","w-full flex flex-col p-6 mb-6 xl:mb-20 shadow-default xl:flex-row-reverse xl:p-8 bg-content-white xl:gap-4"),children:[t.imageData&&(0,l.jsx)(v.A,{...(0,u.HP)("HeroBanner","image"),imageData:t.imageData,className:"hidden w-full h-[333px] rounded-corner-8 xl:block object-cover max-w-[222px]",propertyName:"Image",width:222,height:333,mode:a,priority:!0}),(0,l.jsxs)("div",{className:d()("w-full flex flex-col gap-4 justify-start xl:text-start xl:items-start"),children:[t.heroHeadline&&n.createElement(t.headlineHeading,{className:"text-m-lg-title xl:text-d-xl-title text-multicolor whitespace-pre-line",...(0,u.HP)("HeroBanner","headline"),...(0,s.d8)("Headline",a)},t.heroHeadline),t.heroDescription&&(0,l.jsx)("div",{...(0,u.HP)("HeroBanner","description"),...(0,s.d8)("Description",a),className:"rte body *:!text-content-primary",dangerouslySetInnerHTML:{__html:t.heroDescription}}),t.title&&(0,l.jsx)("p",{className:"heading-xsm font-semibold",children:t.title}),(null==t?void 0:t.ctaButtons.length)>0&&(0,l.jsx)("div",{...(0,u.HP)("HeroBanner","cta-group"),className:d()(t.cornerClip?"items-center":"items-start","flex flex-col xl:flex-row gap-2 flex-wrap"),children:t.ctaButtons.map((e,t)=>(0,l.jsx)(f.default,{...(0,u.BQ)("HeroBanner","cta",t),content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--primary":"btn--secondary",ctaSize:"btn--md",ctaUrl:e.ctaUrl,ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},className:"xl:btn--lg",mode:a,propertyName:"Cta".concat(t+1)},t))})]})]})}),j=n.memo(e=>{var t;let{content:a,mode:r}=e;return(0,l.jsx)("div",{...(0,u.HP)("PageBanner","container"),className:d()("flex justify-center w-full bg-multicolor py-14"),children:(0,l.jsx)("div",{className:"container",children:(0,l.jsxs)("div",{className:"flex flex-col items-center gap-2 py-12 px-8 xl:py-14 xl:px-[104px] rounded-corner-16 bg-palette-primary-white",children:[a.eyebrow&&(0,l.jsx)("span",{...(0,s.d8)("Eyebrow",r),className:"text-center eyebrow",children:a.eyebrow}),(0,l.jsx)("h2",{...(0,s.d8)("Headline",r),...(0,u.HP)("PageBanner","headline"),className:"text-center text-initial heading-md",children:a.headline}),a.description&&(0,l.jsx)("div",{...(0,s.d8)("Description",r),className:"body rte mt-2 *:!text-content-secondary *:text-center",dangerouslySetInnerHTML:{__html:null!=(t=a.description)?t:""}}),(null==a?void 0:a.ctaButtons.length)>0&&(0,l.jsx)("div",{className:"flex mt-4 xl:mt-2 gap-4 xl:gap-5 justify-center flex-wrap",children:a.ctaButtons.map((e,t)=>(0,n.createElement)(f.default,{...(0,u.BQ)("PageBanner","cta",t),key:t,content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--primary":"btn--secondary",ctaSize:"btn--md",ctaUrl:e.ctaUrl,ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},className:"xl:btn--lg",mode:r,propertyName:"Cta".concat(t+1)}))})]})})})}),w=n.memo(e=>{var t,a,n,r;let{content:i,mode:o}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-4 items-start w-full",children:[((null==i||null==(t=i.imageData)?void 0:t.assetId)||(null==i||null==(a=i.imageData)?void 0:a.src))&&
1(0,l.jsx)(v.A,{imageData:i.imageData,className:"block object-cover fill-content-brand h-[48px] w-[48px] *:w-[48px] *:h-[48px] xl:h-[56px] xl:w-[56px] *:xl:w-[56px] *:xl:h-[56px]",propertyName:"Image",width:56,height:56,cropImage:!1,mode:o}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(null==i?void 0:i.title)&&(0,l.jsx)("h2",{...(0,s.d8)("Title",o),className:"text-m-md-body xl:text-d-md-body text-initial font-semibold",children:null==i?void 0:i.title}),(0,l.jsx)("div",{...(0,s.d8)("Description",o),className:"body-sm xl:body-sm rte",dangerouslySetInnerHTML:{__html:null!=(r=null==i?void 0:i.description)?r:""}})]}),(null==i||null==(n=i.cta)?void 0:n.ctaLabel)&&(0,l.jsx)(f.default,{content:{ctaLabel:null==i?void 0:i.cta.ctaLabel,ctaTarget:null==i?void 0:i.cta.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--md",ctaUrl:null==i?void 0:i.cta.ctaUrl,ctaAriaLabel:null==i?void 0:i.cta.ctaAriaLabel,imageData:null==i?void 0:i.cta.imageData,alignment:null==i?void 0:i.cta.alignment},mode:o,propertyName:"Cta",className:"xl:btn--lg"})]})}),N=n.memo(e=>{var t,a,n;let{content:r,mode:i}=e;return(0,l.jsxs)("div",{...(0,u.HP)("InfoBox","container"),className:"flex flex-col gap-4 mb-6 xl:mb-20 xl:px-14 info-box-block",children:[r.headline&&(0,l.jsx)("h2",{...(0,s.d8)("Headline",i),className:"heading-md text-initial xl:text-center headline xl:max-w-[943px] xl:mx-auto",children:r.headline}),r.subheadline&&(0,l.jsx)("div",{...(0,s.d8)("Subheadline",i),className:"heading-xxsm xl:text-center rte xl:max-w-[943px] xl:mx-auto",dangerouslySetInnerHTML:{__html:null!=(n=r.subheadline)?n:""}}),(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",i),...(0,u.HP)("InfoBox","list"),className:"list-style-none grid grid-cols-2 xl:grid-cols-3 gap-x-4 gap-y-6 xl:gap-x-6 xl:gap-y-16 mt-2 xl:mt-10",children:null==(t=r.cards)?void 0:t.map((e,t)=>{var a,n;return(0,l.jsx)("li",{className:"p-2 xl:p-0",...(0,s.C0)(null==(a=e.contentLink)?void 0:a.id,i),...(0,u.Mu)("InfoBox","card",(null==(n=e.contentLink)?void 0:n.id)||t),children:(0,l.jsx)(w,{content:e,mode:i})},t)})}),(null==(a=r.cta)?void 0:a.ctaLabel)&&(0,l.jsx)("div",{className:"w-fit m-auto",children:(0,l.jsx)(f.default,{...(0,u.BQ)("InfoBox","cta"),content:{ctaLabel:r.cta.ctaLabel,ctaTarget:r.cta.ctaTarget,ctaType:"btn--secondary",ctaUrl:r.cta.ctaUrl,ctaAriaLabel:r.cta.ctaAriaLabel,imageData:r.cta.imageData,alignment:r.cta.alignment},mode:i,propertyName:"Cta"})})]})}),A=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("ImageText","container"),className:"image-text-block mb-6 xl:mb-20 flex flex-col gap-4 p-6 xl:p-8 rounded-corner-8 xl:gap-2 bg-content-white shadow-default",children:[t.eyebrow&&(0,l.jsx)("p",{className:"eyebrow",...(0,s.d8)("Eyebrow",a),children:t.eyebrow}),(0,l.jsx)("h2",{...(0,s.d8)("Headline",a),className:"heading-sm font-bold text-initial",children:t.headline}),(0,l.jsxs)("div",{className:"flex flex-col gap-4 xl:mt-2 xl:gap-6 items-start w-full justify-between ".concat("left"===t.alignment?"xl:flex-row-reverse":"xl:flex-row"),children:[(0,l.jsx)(v.A,{...(0,u.HP)("ImageText","image"),imageData:t.imageData,className:"w-full h-auto block aspect-image rounded-corner-8 xl:max-w-[282px]",propertyName:"Image",width:522,height:462,mode:a,cropImage:!1}),(0,l.jsxs)("div",{className:"w-full flex flex-col gap-6 xl:gap-4",children:[t.title&&(0,l.jsx)("h3",{...(0,s.d8)("Title",a),className:"text-d-sm-body xl:text-d-xl-body font-bold",children:t.title}),t.description&&(0,l.jsx)("div",{className:"rte body-sm *:text-content-secondary",...(0,s.d8)("Description",a),dangerouslySetInnerHTML:{__html:t.description}}),(null==t?void 0:t.ctaButtons.length)>0&&(0,l.jsx)("div",{className:"flex gap-8 items-center flex-wrap mt-2 xl:mt-0",children:t.ctaButtons.map((e,t)=>(0,l.jsx)(f.default,{...(0,u.BQ)("ImageText","cta",t),content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--primary":"btn--tertiary",ctaUrl:e.ctaUrl,ctaSize:"btn--md",ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},className:"xl:btn--lg",mode:a,propertyName:"Cta".concat(t+1)},t))})]})]})]})});var C=a(9130),k=a(5842),_=a(939),L=a(5211),T=a(5464);let S=n.memo(e=>{var t;let{content:a,mode:n}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"flex flex-col-reverse",children:[a.title&&(0,l.jsx)("h3",{...(0,s.d8)("Title",n),className:"body font-semibold mb-2",children:a.title}),(0,l.jsx)("p",{...(0,s.d8)("Number",n),className:d()("heading-lg mb-2 xl:mb-4 stats-number text-multicolor"),children:a.number})]}),(0,l.jsx)("div",{className:"rte body-sm *:text-content-secondary mb-2 xl:mb-4",...(0,s.d8)("Description",n),dangerouslySetInnerHTML:{__html:null!=(t=a.description)?t:""}}),a.cta&&(0,l.jsx)(T.A,{content:{ctaLabel:a.cta.ctaLabel,ctaTarget:a.cta.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--sm",ctaUrl:a.cta.ctaUrl,ctaAriaLabel:a.cta.ctaAriaLabel,imageData:a.cta.imageData,alignment:a.cta.alignment},mode:n,className:"!text-wrap xl:btn--lg",propertyName:"Cta"})]})}),P=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("Stats","container"),className:"flex flex-col gap-6 xl:gap-14 roun
1ded-corner-8 shadow-default px-4 py-6 md:p-6 xl:p-14 bg-content-white mb-6 xl:mb-20 stats-block",children:[(t.headline||t.subheadline)&&(0,l.jsxs)("div",{children:[t.headline&&(0,l.jsx)("h2",{...(0,s.d8)("Headline",a),className:"heading-md text-content-secondary text-initial",children:t.headline}),t.subheadline&&(0,l.jsx)("p",{...(0,s.d8)("SubHeadline",a),className:"body mt-4 text-content-secondary",children:t.subheadline})]}),(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",a),...(0,u.HP)("Stats","list"),className:d()("grid grid-cols-1 xl:grid-cols-3 gap-6 xl:gap-y-14"),children:t.stats.map((e,t)=>{var n;return(0,l.jsx)("li",{...(0,s.C0)(null==(n=e.contentLink)?void 0:n.id,a),...(0,u.Mu)("Stats","item",t),className:"flex flex-col w-full",children:(0,l.jsx)(S,{content:e,mode:a})},t)})})]})});var I=a(2918);let F=(0,n.memo)(e=>{let{content:t,mode:a}=e;return(0,l.jsx)("article",{className:d()("py-16 xl:py-[100px]","".concat(t.theme,"-theme")),children:(0,l.jsxs)("div",{className:"container flex flex-col xl:flex-row gap-8 xl:gap-[92px]",children:[t.showIcon&&(0,l.jsxs)("svg",{"aria-label":"Quote Icon",className:"w-full h-full max-w-[64px] xl:max-w-[120px] xl:min-w-[120px]",width:"120",height:"86",viewBox:"0 0 120 86",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":!0,children:[(0,l.jsxs)("defs",{children:[(0,l.jsxs)("linearGradient",{id:"gradient",x1:"0",y1:"0",x2:"1",y2:"1",gradientUnits:"objectBoundingBox",children:[(0,l.jsx)("stop",{offset:"21%",className:"stop-color-brand"}),(0,l.jsx)("stop",{offset:"45%",className:"stop-color-jam"}),(0,l.jsx)("stop",{offset:"67%",className:"stop-color-midnight"}),(0,l.jsx)("stop",{offset:"93%",className:"stop-color-violet"})]}),(0,l.jsx)("clipPath",{id:"clip-path",children:(0,l.jsx)("rect",{width:"120",height:"86",fill:"white"})})]}),(0,l.jsx)("g",{clipPath:"url(#clip-path)",children:(0,l.jsx)("path",{d:"M0 31.5714C0 13.8125 14.3839 -0.571411 32.1429 -0.571411H34.2857C39.0268 -0.571411 42.8571 3.25895 42.8571 8.00002C42.8571 12.7411 39.0268 16.5714 34.2857 16.5714H32.1429C23.8661 16.5714 17.1429 23.2947 17.1429 31.5714V33.7143H34.2857C43.7411 33.7143 51.4286 41.4018 51.4286 50.8572V68C51.4286 77.4554 43.7411 85.1429 34.2857 85.1429H17.1429C7.6875 85.1429 0 77.4554 0 68V59.4286V50.8572V31.5714ZM68.5714 31.5714C68.5714 13.8125 82.9554 -0.5714
111 100.714 -0.571411H102.857C107.598 -0.571411 111.429 3.25895 111.429 8.00002C111.429 12.7411 107.598 16.5714 102.857 16.5714H100.714C92.4375 16.5714 85.7143 23.2947 85.7143 31.5714V33.7143H102.857C112.312 33.7143 120 41.4018 120 50.8572V68C120 77.4554 112.312 85.1429 102.857 85.1429H85.7143C76.2589 85.1429 68.5714 77.4554 68.5714 68V59.4286V50.8572V31.5714Z",fill:"dark"===t.theme?"#FFF":"url(#gradient)"})})]}),(0,l.jsxs)("blockquote",{children:[(0,l.jsx)("p",{...(0,s.d8)("Quote",a),className:"heading-sm font-bold mb-8 md:mb-8 text-palette-primary-black",children:t.quote}),(0,l.jsxs)("div",{className:"xl:w-[76%] 2xl:w-[57%] flex flex-col gap-4",children:[(0,l.jsx)("p",{...(0,s.d8)("AuthorName",a),className:"heading-xsm not-italic text-palette-primary-black",children:t.authorName}),t.authorTitle&&(0,l.jsx)("p",{...(0,s.d8)("AuthorTitle",a),className:" text-d-xxsmall-body md:text-m-sm-body",children:t.authorTitle}),(0,l.jsx)("p",{...(0,s.d8)("Company",a),className:"body-xxsm",children:t.company})]})]})]})})}),D=n.memo(e=>{var t,a;let{content:n,mode:r,showImage:i=!0}=e;return(0,l.jsxs)(l.Fragment,{children:[i&&((null==(t=n.imageData)?void 0:t.src)||(null==(a=n.imageData)?void 0:a.assetId))&&(0,l.jsx)(v.A,{imageData:n.imageData,className:"rounded-corner-50% object-cover w-14 h-14 mb-4",propertyName:"Image",width:56,height:56,mode:r}),(0,l.jsx)("p",{...(0,s.d8)("AuthorName",r),className:"body font-semibold",children:n.authorName}),n.authorTitle&&(0,l.jsx)("p",{...(0,s.d8)("AuthorTitle",r),className:"body-xsm text-content-secondary mt-1",children:n.authorTitle}),(0,l.jsx)("blockquote",{children:(0,l.jsxs)("p",{...(0,s.d8)("Quote",r),className:"body-sm mt-4",children:["â",n.quote,"â"]})}),n.training&&(0,l.jsx)("p",{...(0,s.d8)("Training",r),className:"body-xsm text-content-secondary mt-4",children:n.training}),n.cta&&(0,l.jsx)(T.A,{content:{ctaLabel:n.cta.ctaLabel,ctaTarget:n.cta.ctaTarget,ctaType:"btn--tertiary",ctaUrl:n.cta.ctaUrl,ctaAriaLabel:n.cta.ctaAriaLabel,imageData:n.cta.imageData,alignment:n.cta.alignment},mode:r,className:"mt-4 !text-wrap",propertyName:"Cta"})]})}),B=n.memo(e=>{var t,a;let{content:n,mode:r}=e;return(0,l.jsxs)("div",{...(0,u.HP)("CardsPullQuote","container"),className:"container bg-background-surface flex flex-col py-6 px-4 xl:p-8 gap-4 xl:rounded-corner-8 mb-6 xl:mb-20",children:[(0,l.jsx)("h2",{...(0,s.d8)("Headline",r),className:"heading-md text-initial text-content-secondary",children:n.headline}),n.subheadline&&(0,l.jsx)("div",{...(0,s.d8)("Subheadline",r),className:"body-sm rte *:text-content-secondary",dangerouslySetInnerHTML:{__html:n.subheadline}}),(null==(t=n.cta)?void 0:t.ctaLabel)&&(0,l.jsx)(T.A,{...(0,u.BQ)("CardsPullQuote","cta"),content:{ctaLabel:n.cta.ctaLabel,ctaTarget:n.cta.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--md",ctaUrl:n.cta.ctaUrl,ctaAriaLabel:n.cta.ctaAriaLabel,imageData:n.cta.imageData,alignment:n.cta.alignment},className:"!text-wrap xl:btn--lg",mode:r,propertyName:"Cta"}),(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",r),...(0,u.HP)("CardsPullQuote","list"),className:"list-style-none flex flex-col gap-6 mt-2 xl:flex-row xl:mt-4",children:null==(a=n.cards)?void 0:a.map((e,t)=>{var a,i;return t>=2?null:(0,l.jsx)("li",{...(0,s.C0)(null==(a=e.contentLink)?void 0:a.id,r),...(0,u.Mu)("CardsPullQuote","item",(null==(i=e.contentLink)?void 0:i.id)||t),className:"rounded-corner-8 w-full p-6 bg-content-white",children:(0,l.jsx)(D,{content:e,mode:r,showImage:n.showImage})},t)})})]})}),M=n.memo(e=>{var t;let{content:a,mode:n}=e;return(0,l.jsx)(v.A,{...(0,s.d8)("Logo",n),imageData:null!=(t=a.logo)?t:{},propertyName:"Image",width:172,height:98,className:"flex justify-center items-center w-[172px] h-[98px] *:w-[172px] *:h-[98px] object-contain",cropImage:!1,removeSvgFill:!1,mode:n})}),H=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsx)("div",{className:"py-12 md:py-16 grey-theme",children:(0,l.jsxs)("div",{className:"container flex flex-col gap-[40px]",children:[(0,l.jsx)("h2",{...(0,s.d8)("Headline",a),className:"heading-md text-initial text-center xl:px-[92px] 2xl:px-[120px]",children:t.headline}),(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",a),className:d()("flex gap-y-4 xl:gap-y-0 md:gap-x-16 lg:gap-x-[162px] xl:gap-x-2 2xl:gap-x-16 justify-items-center justify-center flex-col md:flex-row flex-wrap items-center"),children:t.logos.map((e,t)=>{var n;return(0,l.jsx)("li",{...(0,s.C0)(null==(n=e.contentLink)?void 0:n.id,a),className:"flex items-center justify-center py-8 px-6",children:(0,l.jsx)(M,{content:e,mode:a})},t)})})]})})}),E=n.memo(e=>{let{content:t,mode:a,icon:n}=e;return(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)("svg",{className:"w-[24px] h-[24px] min-w-[24px] min-h-[24px]",width:"24",height:"24",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,l.jsx)("path",{d:"M12 22.5C6.477 22.5 2 18.023 2 12.5C2 6.977 6.477 2.5 12 2.5C17.523 2.5 22 6.977 22 12.5C22 18.023 17.523 22.5 12 22.5ZM11.003 16.5L18.073 9.429L16.66 8.015L11.003 13.672L8.174 10.843L6.76 12.257L11.003 16.5Z",fill:"#B70F2A"})}),t.description&&(0,l.jsx)("p",{className:"text-m-sm-body text-content-secondary",...(0,s.d8)("Description",a),children:t.description}),t.descriptionRte&&(0,l.jsx)("div",{...(0,s.d8)("DescriptionRte",a),dangerouslySetInnerHTML:{__html:t.descriptionRte}})]})}),R=n.memo(e=>{var t,a;let{content:n,mode:r}=e,i=n.numOfColumns;return(0,l.jsxs)("div",{...(0,u.HP)("List","container"),className:"flex flex-col gap-6 xl:gap-8 p-6 xl:p-10 bg-background-surface-weak rounded-corner-8 list-block mb-6 xl:mb-20",children:[(n.eyebrow||n.headline||n.subHeadline||n.secondaryCtaButton)&&(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[n.eyebrow&&(0,l.jsx)("p",{...(0,s.d8)("Eyebrow",r),className:"eyebrow",children:n.eyebrow}),n.headline&&(0,l.jsx)("h2",{...(0,s.d8)("Headline",r),className:"text-initial heading-md",children:n.headline}),n.subHeadline&&(0,l.jsx)("p",{...(0,s.d8)("Subheadline",r),className:"body-sm tracking-[initial] text-content-secondary",children:n.subHeadline}),n.subHeadlineRte&&(0,l.jsx)("div",{...(0,s.d8)("SubheadlineRte",r),className:"body-sm tracking-[initial] text-content-secondary",dangerouslySetInnerHTML:{__html:n.subHeadlineRte}}),(null==(t=n.secondaryCtaButton)?void 0:t.ctaLabel)&&(0,l.jsx)("div",{children:(0,l.jsx)(T.A,{...(0,u.HP)("List","cta"),content:{ctaLabel:n.secondaryCtaButton.ctaLabel,ctaTarget:n.secondaryCtaButton.ctaTarget,ctaType:"btn--primary",ctaUrl:n.secondaryCtaButton.ctaUrl,ctaAriaLabel:n.secondaryCtaButton.ctaAriaLabel,imageData:n.secondaryCtaButton.imageData,alignment:n.secondaryCtaButton.alignment,ctaSize:"btn--md"},mode:r,className:"xl:btn--lg",propertyName:"SecondaryCTAButton"})})]}),(n.title||n.elements)&&(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[n.title&&(0,l.jsx)("p",{...(0,s.d8)("Title",r),className:"heading-sm font-bold",children:n.title}),n.elements&&(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",r),...(0,u.HP)("List","list"),className:"flex flex-wrap gap-4 list",children:null==(a=n.elements)?void 0:a.map((e,t)=>{var a,n;return(0,l.jsx)("li",{...(0,s.C0)(null==(a=e.contentLink)?void 0:a.id,r),...(0,u.Mu)("List","item",(null==(n=e.contentLink)?void 0:n.id)||t),className:"flex gap-4 w-full ".concat(i),children:(0,l.jsx)(E,{content:e,icon:"redcirclecheck"})},t)})})]})]})}),U=n.memo(e=>{var t;let{content:a,mode:n}=e;return(0,l.jsx)("div",{className:d()("py-16","grey"==a.theme?"container xl:py-[120px]":"xl:container","grey-theme"),children:(0,l.jsx)("div",{className:d()("grey"!==a.theme&&"py-16","".concat(a.theme,"-theme rounded-corner-4/16/16")),children:(0,l.jsxs)("div",{className:d()("grey"!==a.theme&&"container xl:no-container xl:px-16","flex flex-col gap-4"),children:[(0,l.jsx)("h1",{...(0,s.d8)("Headline",n),children:a.headline}),a.description&&(0,l.jsx)("div",{...(0,s.d8)("Description",n),className:"rte body xl:max-w-[900px]",dangerouslySetInnerHTML:{__html:a.description}}),(null==(t=a.ctaButtons)?void 0:t.length)>0&&(0,l.jsx)("div",{className:"flex flex-row mt-4 gap-8 md:items-center flex-wrap",children:a.ctaButtons.map((e,t)=>(0,l.jsx)(f.default,{content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--primary":"btn--tertiary",ctaUrl:e.ctaUrl,ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},mode:n,propertyName:"Cta".concat(t+1)},t))})]})})})});var V=a(1372);let z=n.memo(e=>{var t;let{content:a,mode:n}=e;return(0,l.jsx)("div",{...(0,u.HP)("BlogArticleCards","container"),className:"container blog-article-cards-block",children:(0,l.jsxs)("div",{className:"shadow-default p-6 xl:p-14 roun
1ded-corner-8 mb-16 xl:mb-20",children:[(0,l.jsxs)("div",{className:"xl:mx-auto xl:max-w-[950px] flex flex-col gap-4",children:[(0,l.jsx)("h2",{...(0,s.d8)("Headline",n),className:"text-initial text-center heading-md text-content-secondary",children:a.headline}),a.subheadline&&(0,l.jsx)("p",{...(0,s.d8)("Subheadline",n),className:"text-center body-sm text-palette-secondary-grey-850",children:a.subheadline})]}),(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",n),...(0,u.HP)("BlogArticleCards","list"),className:"list-style-none grid grid-cols-1 xl:grid-cols-3 mt-10 xl:mt-12 gap-8 xl:gap-[72px] xl:px-[50px]",children:null==(t=a.cards)?void 0:t.map((e,t)=>{var a;let n=(null==(a=e.contentLink)?void 0:a.id)||t;return(0,l.jsx)("li",{...(0,u.Mu)("BlogArticleCards","article-card",n),children:(0,l.jsx)(V.A,{content:e})},t)})})]})})}),K=n.memo(e=>{let{content:t,mode:a}=e,n=t.contentType.includes("FootnoteBlock");return(0,l.jsxs)("div",{...(0,u.HP)("Disclaimer","container"),className:d()("flex flex-col gap-2",n?"!-mt-16 xl:!-mt-20 !mb-16 xl:mb-20":"container"),children:[(0,l.jsx)("p",{className:"text-d-xxsmall-body xl:body-xsm text-palette-primary-black",...(0,s.d8)("Title",a),children:t.title}),(0,l.jsx)("div",{className:"*:body-xxsm body-xxsm *:text-palette-primary-black rte",...(0,s.d8)("Description",a),dangerouslySetInnerHTML:{__html:t.description}})]})});
1var O=a(7090),J=a(9853),q=a(5431),Q=a(6603),G=a(1469);let W=n.memo(e=>{var t,a;let{content:n,mode:r}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{...(0,u.HP)("ContentPage","container"),className:"container pb-20 content-page",children:[n.breadcrumbs&&(0,l.jsx)(o.A,{content:n.breadcrumbs}),(0,l.jsx)("div",{className:"py-4 md:pt-2",children:(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)("h1",{...(0,s.d8)("Title",r),...(0,u.HP)("ContentPage","title"),className:"heading-lg",children:n.title}),(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row gap-12",children:[(0,l.jsxs)("article",{className:d()("w-full",(0,s.Dd)(n.rightContentArea)&&"xl:max-w-[70%]"),children:[n.subheadline&&(0,l.jsx)("div",{...(0,s.d8)("Subheadline",r),...(0,u.HP)("ContentPage","subheadline"),className:"body-sm rte font-gelasio *:text-content-primary",dangerouslySetInnerHTML:{__html:n.subheadline}}),(null==(t=n.jumpLinks)?void 0:t.length)>0&&(0,l.jsx)("ul",{...(0,s.d8)("JumpLinks",r),...(0,u.HP)("ContentPage","list","jump-links"),className:"list-disc list-inside p-6",children:null==(a=n.jumpLinks)?void 0:a.map((e,t)=>(0,l.jsx)("li",{...(0,u.Mu)("ContentPage","jump-link",t),className:"*:body-sm *:font-bold pb-4 text-nowrap",children:(0,l.jsxs)("a",{...(0,u.R0)("ContentPage","jump-link",t),href:"#".concat(e.anchorId),className:"text-content-primary inline-flex items-center gap-2 text-wrap",children:[e.title,(0,l.jsx)(G.kL,{})]})},t))}),(0,s.Dd)(n.mainContentArea)&&(0,l.jsx)("div",{className:"pt-4 content-area",...(0,s.d8)("MainContentArea",r),...(0,u.HP)("ContentPage","main-content-area"),children:(0,l.jsx)(i.A,{content:n.mainContentArea,mode:r})})]}),(0,s.Dd)(n.rightContentArea)&&(0,l.jsx)("aside",{...(0,s.d8)("RightContentArea",r),...(0,u.HP)("ContentPage","aside"),className:"w-full xl:max-w-[30%] flex flex-col gap-10",children:(0,l.jsx)(i.A,{content:n.rightContentArea,mode:r})})]})]})})]}),n.showBackTopButton&&(0,l.jsx)(Q.default,{label:n.backToTopLabel})]})}),Z=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsx)("div",{...(0,s.d8)("Description",a),...(0,u.HP)("RichText","container"),className:"body-sm rte table-container rich-text-block",dangerouslySetInnerHTML:{__html:t.description}})});var $=a(2579),Y=a(3511),X=a(211);let ee=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("Layout2_3And1_3","container"),className:"flex flex-col xl:flex-row gap-6 mb-6 layout2_3And1_3",children:[(0,l.jsx)("div",{className:"flex flex-col gap-6 w-full xl:w-2/3 layout2_3",...(0,s.d8)("LeftContentArea",a),...(0,u.HP)("Layout2_3And1_3","LeftContentArea"),children:(0,l.jsx)(i.A,{content:t.leftContainer,mode:a})}),(0,l.jsx)("div",{className:"flex flex-col gap-6 w-full xl:w-1/3 layout1_3",...(0,s.d8)("RightContentArea",a),...(0,u.HP)("Layout2_3And1_3","RightContentArea"),children:(0,l.jsx)(i.A,{content:t.rightContainer,mode:a})})]})}),et=n.memo(e=>{var t;let{content:a,mode:r}=e;return(0,l.jsxs)("div",{className:"flex flex-col items-start p-6 xl:p-8 gap-2 w-full h-full",children:[a.eyebrow&&(0,l.jsx)("span",{...(0,s.d8)("Eyebrow",r),className:"eyebrow",children:a.eyebrow}),a.icon&&a.icon.src&&(0,l.jsx)(v.A,{imageData:a.icon,className:"w-[48px] h-[48px] xl:w-[64px] xl:mb-2 xl:h-[64px]",svgClasses:"*:w-[48px] *:h-[48px] *:xl:w-[64px] *:xl:h-[64px] xl:mb-2 fill-palette-primary-brand",propertyName:"Image",width:64,height:64,cropImage:!1,mode:r}),a.title&&n.createElement(a.titleHeading||"h2",{className:"text-content-primary heading-sm font-bold whitespace-pre-line",...(0,s.d8)("Title",r)},a.title),a.image&&a.image.src&&(0,l.jsx)(v.A,{imageData:a.image,className:"block w-full h-auto aspect-image rounded-corner-8 mt-2 mb-2 xl:mb-0",propertyName:"Image",width:523,height:348,cropImage:!1,mode:r}),(0,l.jsx)("p",{...(0,s.d8)("Description",r),className:"xl:mt-2 text-content-secondary text-m-sm-body",dangerouslySetInnerHTML:{__html:a.description.replaceAll("\n","<br/>")}}),a&&(null==(t=a.cta)?void 0:t.ctaAriaLabel)&&(0,l.jsx)(T.A,{content:{ctaLabel:a.cta.ctaLabel,ctaTarget:a.cta.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--sm",ctaUrl:a.cta.ctaUrl,ctaAriaLabel:a.cta.ctaAriaLabel,imageData:a.cta.imageData,alignment:a.cta.alignment},mode:r,className:"!text-wrap !text-left mt-2 xl:btn--lg",propertyName:"Cta"})]})}),ea=n.memo(e=>{var t;let{content:a,mode:n}=e;return(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",n),...(0,u.HP)("FeaturedCards","list"),className:"list-style-none grid gap-4 xl:gap-6 xl:grid-cols-2 mb-16 xl:mb-20 featured-cards-block",children:null==(t=a.cards)?void 0:t.map((e,t)=>{var a,r;let i=(null==(a=e.contentLink)?void 0:a.id)||t;return(0,l.jsx)("li",{...(0,s.C0)(null==(r=e.contentLink)?void 0:r.id,n),...(0,u.dz)("featured",i),className:"w-full rounded-corner-8 shadow-default bg-content-white",children:(0,l.jsx)(et,{content:e,mode:n})},t)})})});var el=a(9050),en=a(3791),er=a(6206);let ei=(0,n.memo)(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("article",{className:"w-full !inline-block job-cards-block",children:[(t.headline||t.eyebrow)&&(0,l.jsxs)("div",{className:"flex flex-col-reverse gap-4 xl:gap-6",children:[t.headline&&(0,l.jsx)("h2",{...(0,s.d8)("Headline",a),className:"heading-md text-content-secondary text-initial xl:max-w-[528px]",children:t.headline}),t.eyebrow&&(0,l.jsx)("h3",{...(0,s.d8)("Eyebrow",a),className:"eyebrow xl:hidden border-b border-content-secondary pb-2 job-cards-block__eyebrow",children:t.eyebrow})]}),t.subheadline&&(0,l.jsx)("h3",{...(0,s.d8)("Subheadline",a),className:"body text-content-secondary xl:w-[70%] inline-block mt-4",dangerouslySetInnerHTML:{__html:t.subheadline.replaceAll("\n","<br/>")}}),t.cta&&(0,l.jsx)("div",{className:d()("w-full inline-flex xl:justify-end job-cards-block__cta",t.subheadline?"pt-2 xl:pt-0 xl:max-w-[30%]":"!max-w-full"),children:(0,l.jsx)(T.A,{...(0,u.BQ)("Job
1Cards","cta"),content:{ctaLabel:t.cta.ctaLabel,ctaTarget:t.cta.ctaTarget,ctaType:"btn--tertiary",ctaUrl:t.cta.ctaUrl,ctaAriaLabel:t.cta.ctaAriaLabel,imageData:t.cta.imageData,alignment:t.cta.alignment,ctaSize:"btn--md"},mode:a,propertyName:"Cta",className:"xl:btn--lg"})}),(0,l.jsx)("div",{...(0,u.HP)("JobCards","list"),className:d()("w-full grid grid-cols-1 xl:grid-cols-3 gap-6 job-cards-block__details",(t.headline||t.subheadline||t.eyebrow||t.cta)&&"pt-4"),children:t.cards.length>0&&t.cards.map((e,t)=>(0,l.jsx)(er.A,{content:e},t))})]})});var es=a(8255),eo=a(6912);let ec=n.memo(e=>{var t;let{content:a,mode:n}=e,r=null==a||null==(t=a.backgroundImage)?void 0:t.src;return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,u.HP)("JobDetailPage","container"),className:d()("job-detail-page",r&&"bg-image"),style:{backgroundImage:r?"url(".concat(r,")"):"none"},children:[r&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{...(0,u.HP)("JobDetailPage","main-content-area"),className:"container relative",children:[a.breadcrumbs&&(0,l.jsx)(o.A,{content:a.breadcrumbs}),(0,s.Dd)(a.mainContentArea)&&(0,l.jsx)("div",{className:"mt-4",...(0,s.d8)("MainContentArea",n),children:(0,l.jsx)(i.A,{content:a.mainContentArea,mode:n})})]}),a.tabs&&a.tabs.length>0&&(0,l.jsx)("div",{className:"mt-6 xl:mt-10 relative",children:(0,l.jsx)(m.A,{tabs:a.tabs,mode:n})}),(0,s.Dd)(a.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area relative",role:"contentinfo",...(0,s.d8)("BottomContentArea",n),...(0,u.HP)("JobDetailPage","bottom-content-area"),children:(0,l.jsx)(i.A,{content:a.bottomContentArea,mode:n})})]})})});var ed=a(7200);let em=(0,n.memo)(e=>{let{subheadline:t,icon:a,description:n,mode:r,cta:i,alternateStyle:o}=e;return(0,l.jsxs)("div",{className:"flex flex-col gap-6 xl:gap-8",children:[o&&t&&(0,l.jsx)("h3",{className:d()("text-content-secondary text-d-xsm-title text-initial"),...(0,s.d8)("Headline",r),children:t}),(0,l.jsxs)("div",{className:d()(o?"flex flex-col xl:flex-row gap-5 xl:gap-6 items-start":"grid grid-cols-1 xl:grid-cols-5 gap-6"),children:[a&&(0,l.jsx)(v.A,{width:o?120:200,height:o?120:200,imageData:a,mode:r,propertyName:"Icon",className:d()("object-contain w-full aspect-square",o?"max-w-[120px] xl:max-w-[120px]":"max-w-[70px] xl:max-w-[129px]"),svgClasses:d()("w-full h-fit aspect-square *:w-full",o?"max-w-[120px] xl:max-w-[120px]":"max-w-[72px] xl:max-w-[133px]"),removeSvgFill:!1,waitUntilContentLoaded:!1,cropImage:!1}),(0,l.jsxs)("div",{className:d()("flex flex-col gap-4",o?"gap-5 xl:gap-6":"xl:col-span-4"),children:[n&&(0,l.jsx)("div",{className:d()("rte *:text-content-secondary",o?"body-xsm xl:body-sm":"body-xsm"),...(0,s.d8)("Description",r),dangerouslySetInnerHTML:{__html:n}}),i&&(0,l.jsx)(T.A,{content:{...i,ctaType:"btn--secondary",ctaSize:o?"btn--sm":"btn--md"},className:d()(o?"xl:btn--md":"xl:btn--lg"),mode:r,propertyName:"CTA"})]})]})]})}),eu=(0,n.memo)(e=>{let{content:{headline:t,elements:a,alternateStyle:r},mode:i}=e;return(0,l.jsxs)("div",{...(0,u.HP)("TrainingPath","container"),className:d()("flex flex-col gap-6 mb-6 xl:mb-20 training-path-block",r?"gap-6 xl:gap-8":"p-6 xl:p-10 rounded-corner-8 bg-content-white shadow-default"),children:[t&&n.createElement(r?"h2":"h3",{className:d()("text-content-secondary",r?"text-m-md-title xl:text-d-md-title":"text-d-xsm-title text-initial"),...(0,s.d8)("Headline",i)},t),(0,l.jsx)("ul",{className:d()(r?"grid grid-cols-1 xl:grid-cols-2 gap-6 xl:gap-8":"flex flex-col gap-6"),...(0,s.d8)("MainContentArea",i),...(0,u.HP)("TrainingPath","list"),children:a&&a.length>0&&a.map((e,t)=>{var a,n;return(0,l.jsx)("li",{className:d()(r&&"p-6 xl:p-8 rounded-corner-8 bg-content-white shadow-default"),...(0,s.C0)(null==(a=e.contentLink)?void 0:a.id,i),...(0,u.Mu)("TrainingPath","card",(null==(n=e.contentLink)?void 0:n.id)||t),children:(0,l.jsx)(em,{...e,mode:i,alternateStyle:r})},t)})})]})});var ex=a(22);let ep=n.memo(e=>{let{content:{title:t,thumbnailData:a,roles:n,learnMoreTCta:r,qtyCategories:i=3},mode:o}=e,c=(null==r?void 0:r.ctaUrl)?"a":"div";return(0,l.jsxs)(c,{className:"flex flex-col gap-4 p-6 w-full h-full product-listing-card items-center text-center",...(null==r?void 0:r.ctaUrl)?{href:r.ctaUrl,"aria-label":r.ctaAriaLabel}:{},children:[(null==a?void 0:a.src)&&(0,l.jsx)(v.A,{imageData:a,className:"block object-contain w-[126px] h-[126px]",svgClasses:"block object-contain *:w-[126px] *:
1h-[126px]",propertyName:"Image",width:126,height:126,cropImage:!1,removeSvgFill:!1,mode:o}),(0,l.jsx)("p",{className:"heading-xsm",...(0,s.d8)("Title",o),children:t}),n&&(null==n?void 0:n.length)>0&&(0,l.jsx)("div",{className:"flex flex-wrap gap-2 *:w-fit justify-center",children:null==n?void 0:n.slice(0,i).map((e,t)=>(0,l.jsx)(b.A,{text:e},t))}),r&&(0,l.jsxs)("span",{className:"btn flex flex-row gap-2 btn--tertiary btn--sm xl:btn--md !text-wrap !text-left learn-more-cta group-hover:underline transition-all duration-20","aria-label":r.ctaAriaLabel,children:[r.ctaLabel,(0,l.jsx)(v.A,{imageData:ex.default,className:d()("w-[20px] h-[20px] *:w-[20px] *:h-[20px]"),propertyName:"Image",width:20,height:20,cropImage:!1,mode:o})]})]})}),eh=(0,n.memo)(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("CardsProductTitle","container"),className:"flex flex-col gap-6 cards-product-title-block",children:[t.eyeBrow&&(0,l.jsx)("h3",{className:"eyebrow border-b border-content-secondary pb-1",...(0,s.d8)("Eyebrow",a),children:t.eyeBrow}),(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",a),...(0,u.HP)("CardsProductTitle","list"),className:"grid gap-6",children:t.productTitleCardList.length>0&&t.productTitleCardList.map((e,t)=>(0,l.jsx)("li",{...(0,u.Mu)("CardsProductTitle","card",t),className:"w-full rounded-corner-8 bg-background-white border border-solid border-background-surface",children:(0,l.jsx)(ep,{content:{...e,qtyCategories:6},mode:a})},t))})]})}),eb=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("UnevenTwoColumnProps","container"),className:"flex flex-col xl:flex-row gap-6 xl:gap-16 mb-6 uneven-two-column-block",children:[(0,l.jsx)("div",{className:"flex flex-col gap-6 w-full xl:w-1/3 justify-between uneven-two-column-block--left-content",...(0,s.d8)("LeftContentArea",a),...(0,u.HP)("UnevenTwoColumnProps","LeftContentArea"),children:(0,l.jsx)(i.A,{content:t.leftContainer,mode:a})}),(0,l.jsx)("div",{className:"flex flex-col gap-6 w-full xl:w-2/3 justify-between uneven-two-column-block--main-content",...(0,s.d8)("MainContentArea",a),...(0,u.HP)("UnevenTwoColumnProps","RightContentArea"),children:(0,l.jsx)(i.A,{content:t.mainContainer,mode:a})})]})});var eg=a(8936);let ef=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsxs)("div",{...(0,u.HP)("LargeImage","container"),className:"mb-6 xl:mb-20",children:[t.headline&&(0,l.jsx)("h2",{...(0,s.d8)("Headline",a),className:"text-initial heading-md text-content-primary mb-4",dangerouslySetInnerHTML:{__html:t.headline.replaceAll("\n","<br/>")}}),t.description&&(0,l.jsx)("p",{...(0,s.d8)("Description",a),className:"body-sm text-content-secondary mb-10 xl:max-w-[9
160px]",dangerouslySetInnerHTML:{__html:t.description.replaceAll("\n","<br/>")}}),t.title&&(0,l.jsx)("h3",{...(0,s.d8)("Title",a),className:"text-initial heading-sm text-content-primary mb-3 xl:mb-10",dangerouslySetInnerHTML:{__html:t.title.replaceAll("\n","<br/>")}}),(0,l.jsx)(v.A,{...(0,u.HP)("LargeImage","image"),imageData:t.desktopImage,className:"object-cover w-full h-auto hidden xl:block",propertyName:"ImageDesktop",width:1200,height:1200,cropImage:!1,mode:eg.rc.Default}),(0,l.jsx)(v.A,{...(0,u.HP)("LargeImage","image"),imageData:t.mobileImage,className:"object-cover w-full h-auto block xl:hidden",propertyName:"ImageMobile",width:768,height:576,cropImage:!1,mode:eg.rc.Default})]})});var ev=a(44);let ey=(0,n.memo)(e=>{let{content:t,mode:a}=e;return(0,l.jsx)("main",{id:"main",children:(0,l.jsxs)("div",{className:"py-8 xl:pt-12 xl:pb-[120px]",children:[(0,l.jsxs)("div",{...(0,u.HP)("NotFoundPage","container"),className:"container",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-4 xl:items-center xl:text-center mb-8",children:[(0,l.jsxs)("div",{className:"flex flex-col-reverse xl:items-center xl:text-center gap-4",children:[(0,l.jsx)("h1",{...(0,s.d8)("Title",a),className:"text-m-md-title text-initial text-content-secondary xl:text-d-md-title font-bold",children:t.title}),(0,l.jsx)("p",{...(0,s.d8)("ErrorState",a),className:"text-[80px] xl:text-[110px] text-multicolor xl:text-center font-bold leading-[115%] xl:leading-[120%]",children:t.errorState})]}),(0,l.jsx)("p",{...(0,s.d8)("Description",a),...(0,u.HP)("NotFoundPage","message"),className:"text-d-sm-body text-content-secondary xl:text-d-md-body",children:t.description})]}),(0,l.jsx)("div",{...(0,s.d8)("MainContentArea",a),className:"content-area",children:(0,l.jsx)(i.A,{content:t.mainContentArea,mode:a})})]}),(0,s.Dd)(t.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area",role:"contentinfo",...(0,s.d8)("BottomContentArea",a),children:(0,l.jsx)(i.A,{content:t.bottomContentArea,mode:a})})]})})});var ej=a(7806),ew=a(1661),eN=a(9732);let eA=n.memo(e=>{let{content:{message:t}}=e;return(0,l.jsxs)("div",{...(0,u.HP)("GlobalMessage","container"),className:"flex flex-row gap-2 xl:gap-4 justify-center items-center p-6 bg-background-surface rounded-corner-8",children:[(0,l.jsx)(G.Gg,{className:"flex-shrink-0"}),(0,l.jsx)("p",{className:"mb-0 text-secondary text-d-xxsmall-body xl:text-m-sm-body font-semibold xl:font-semibold",children:t}),(0,l.jsx)(G.Gg,{className:"flex-shrink-0"})]})}),eC=(0,n.memo)(e=>{let{content:t,mode:a}=e;return(0,l.jsx)("ul",{...(0,s.d8)("MainContentArea",a),...(0,u.HP)("ProductListingCards","list"),className:"grid grid-cols-1 xl:grid-cols-4 gap-6",children:t.cards.length>0&&t.cards.map((e,t)=>(0,l.jsx)("li",{...(0,u.dz)("product-listing",e.title),className:"group xl:max-w-[282px] w-full rounded-corner-8 bg-background-white border border-solid border-background-surface focus:border-[#20282F] active:shadow-[rgba(99,99,99,0.2)_0px_2px_8px_0px] transition-shadow hover:shadow-[rgba(99,99,99,0.5)_0px_2px_14px_0px]",children:(0,l.jsx)(ep,{content:e,mode:a})},t))})}),ek=n.memo(e=>{let{content:t,mode:n}=e;if(t){let e=(e=>{if(null==e?void 0:e.contentType){let t=null==e?void 0:e.contentType[0],l=null==e?void 0:e.contentType.slice(-1)[0];if(t&&l)return((e,t)=>{switch(e){case"Page":return({BaseChannelExperiencePage:x,VerticalDetailPage:x,StartPage:p,BlogArticlePage:g,BlogCategoryPage:es.default,BlogListingPage:es.default,ProductInformationPage:h.default,HeadlessSearchPage:q.default,ContentPage:W,ProductListingPage:a(4497).A,SubProductListingPage:Y.default,ProductTitlePage:X.Ay,JobDetailPage:ec,JobListingPage:ed.default,ErrorPage:ey})[t];case"Block":return({EpiserverGenericBlock:r,HeroBannerBlock:y,PageBannerBlock:j,InfoBoxBlock:N,InfoBoxSubBlock:w,ImagePlusTextBlock:A,CardsBlock:C.default,CardSubBlock:k.A,TabsBlock:_.default,TabElementBlock:L.A,StatsBlock:P,StatElementBlock:S,VimeoVideoBlock:I.default,TestimonialPullQuoteBlock:F,CardPullQuoteBlock:B,CardPullQuoteSubBlock:D,LogoGridBlock:H,ListBlock:R,ListElementBlock:E,TitleBannerBlock:U,BlogArticleCardsBlock:z,CardsProductTitleBlock:C.default,CardsProductTitleSubBlock:k.A,DisclaimerBlock:K,FootnoteBlock:K,MediaContainerBlock:O.default,ComparisonTableBlock:J.default,RichTextBlock:Z,InvolveMeQuizBlock:$.default,LayoutBlock:ee,FeaturedCardsBlock:ea,AccordionFaqsBlock:el.default,MarketingToutBlock:en.default,JobDetailPage:er.A,JobCardsBlock:ei,TrainingPathBlock:eu,TrainingPathElementBlock:em,ProductTitleCardComponentBlock:eh,UnevenTwoColumnBlock:eb,LargeImageBlock:ef,FormContainerBlock:ev.default,ExtendedFormContainerBlock:ev.default,VideoPlusBlock:ej.default,B2CFormBlock:ew.default,B2BFormBlock:ew.default,TitleWithCTABlock:R,CallToActionButtonBlock:f.default})[t];default:return({CallToActionButtonBlock:f.default,ProductDetailCard:eo.default,ErrorBanner:eN.A,GlobalMessage:eA,ProductListingCards:eC})[t]}})(t,l)}})(t);return e?(0,l.jsx)(e,{content:t,mode:n}):(0,l.jsx)(r,{content:t})}return(0,l.jsx)(l.Fragment,{})})},6603:(e,t,a)=>{"use strict";a.d(t,{default:()=>i});var l=a(5155),n=a(2115),r=a(1469);let i=e=>{let{label:t}
1=e,[a,i]=(0,n.useState)(!1),s=()=>{window.pageYOffset>200?i(!0):i(!1)};return(0,n.useEffect)(()=>(window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)}),[]),(0,l.jsx)("button",{type:"button","aria-label":t,onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"back-to-top ".concat(a?"opacity-100":"opacity-0 pointer-events-none"),children:(0,l.jsx)(r.A6,{width:16,height:16,viewBox:"0 5 16 16",className:"rotate-90",color:"#FFFFFF"})})}},6912:(e,t,a)=>{"use strict";a.d(t,{default:()=>k});var l=a(5155),n=a(2115),r=a(1469),i=a(5464);let s={src:"/_next/static/media/shopping-cart.318248bd.svg"};var o=a(5203),c=a.n(o),d=function(e){return e.ADDED="added",e.UPDATED="updated",e}({}),m=a(780),u=a(6784),x=a(9732),p=a(9219),h=a(926),b=a(8164);let g=n.memo(e=>{let{content:t,selectedVariant:a,onVariantSelect:r,headline:i}=e,{elements:s}=t,[o,c]=(0,n.useState)(-1);return(0,n.useEffect)(()=>{if(a){let e=s.findIndex((e,t)=>{var l;let n=null!=(l=e.variantCode)?l:String(t);return a.variantCode===n});c(-1!==e?e:-1)}else c(-1)},[a,s]),(0,l.jsxs)("fieldset",{children:[(0,l.jsx)("legend",{className:"sr-only",children:i}),(0,l.jsx)("ul",{className:"flex flex-col gap-6",children:s.map((e,t)=>(0,l.jsx)("li",{className:"block",children:(0,l.jsxs)("label",{...(0,b.HP)("RadioButtonList","label",t),className:"cursor-pointer flex items-center",children:[(0,l.jsxs)("div",{className:"relative flex items-center",children:[(0,l.jsx)("input",{...(0,b.Mu)("RadioButtonList","button",t),type:"radio",className:"sr-only",name:"button-radio",value:t,checked:o===t,onChange:()=>(e=>{if(c(e),r){let l=s[e];if(l){var t,a;r(null!=(t=l.productCode)?t:"",null!=(a=l.variantCode)?a:String(e))}}})(t),"aria-describedby":(null==e?void 0:e.shortDescription)?"radio-".concat(t,"-label radio-").concat(t,"-description"):"radio-".concat(t,"-label")}),(0,l.jsx)("div",{className:"relative w-5 h-5 rounded-corner-100 border-content-primary border-2 transition-all duration-200","aria-hidden":"true",children:o===t&&(0,l.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,l.jsx)("div",{className:"w-5 h-5 rounded-corner-100 bg-content-primary"})})})]}),(0,l.jsxs)("div",{className:"flex flex-col pl-2",children:[(0,l.jsx)("span",{className:"font-semibold",id:"radio-".concat(t,"-label"),children:e.label}),(null==e?void 0:e.shortDescription)&&(0,l.jsx)("span",{className:"body-xxsm text-content-secondary",id:"radio-".concat(t,"-description"),children:null==e?void 0:e.shortDescription})]})]})},"".concat(null==e?void 0:e.label,"-").concat(t)))})]})});var f=a(8441);let v=function(){let[e,t]=(0,n.useState)(null);return{selectedVariant:e,setFMCVariantSelected:e=>
1{let{productCode:a,variantCode:l}=e;t({productCode:a,variantCode:l})},cleanFMCVariantSelected:()=>{t(null)},getLastFMCVariantSelected:()=>e}};var y=a(8566),j=a(4354),w=a(8207),N=a(6755),A=a(63),C=a(6751);let k=n.memo(e=>{let{content:{title:t,prices:a,productTitleLists:o,seeAdditionalDetails:k,myPrice:_,addToCart:L,updateToCart:T,added:S,quantity:P,addToCartErrorLabel:I,offlineErrorMessage:F,requestCancelledErrorMessage:D,timeoutErrorMessage:B,connectionErrorMessage:M,selectDate:H,cancel:E,modelHeading:R,priceMetaData:U,isLoyaltyUser:V=!1}}=e,z=(0,A.useRouter)(),K=null==o?void 0:o.some(e=>e.item.hasFmcItem),O=(0,n.useRef)(null),J=(0,n.useRef)(null),q=(0,n.useRef)([]),{addToCart:Q,miniCartData:G,loading:W,error:Z}=(0,m._)(),$=null==U?void 0:U.currency,Y=(0,n.useMemo)(()=>{var e,t;return(null==U||null==(e=U.market)?void 0:e.toLowerCase())===y.T.GL||(null==U||null==(t=U.market)?void 0:t.toLowerCase())===y.T.EM},[null==U?void 0:U.market]),[X,ee]=(0,n.useState)(!1),[et,ea]=(0,n.useState)([]),[el,en]=(0,n.useState)([]),[er,ei]=(0,n.useState)([]),[es,eo]=(0,n.useState)(!1),[ec,ed]=(0,n.useState)(!1),[em,eu]=(0,n.use
1State)(I),[ex,ep]=(0,n.useState)(null),[eh,eb]=(0,n.useState)(null),{isModalOpen:eg,openModal:ef,closeModal:ev}=(0,f.h)(),{selectedVariant:ey,setFMCVariantSelected:ej,cleanFMCVariantSelected:ew}=v(),eN=(e,t)=>{ej({productCode:e,variantCode:t})};(0,n.useEffect)(()=>{if(Z){var e;eo(!0),eu({OfflineError:F,RequestCancelledError:D,TimeoutError:B,ConnectionError:M,DefaultError:I}[Z]||Z),null==(e=O.current)||e.scrollIntoView({behavior:"smooth"})}},[Z,F,D,B,M]),(0,n.useEffect)(()=>{en(Array(null==o?void 0:o.length).fill(1)),ee(null==o?void 0:o.some(e=>null==a?void 0:a.some(t=>{var a;return(t.code===(null==(a=e.item.variants[0])?void 0:a.code)||t.code===e.item.productCode)&&t.displayPrice})))},[o]),(0,n.useEffect)(()=>{var e;if(!(null==o?void 0:o.length)&&!(null==G||null==(e=G.items)?void 0:e.length))return;let t=[],a=[];o.forEach((e,l)=>{var n;let r=null==G||null==(n=G.items)?void 0:n.find(t=>{var a;return t.code===(null==(a=e.item.variants[0])?void 0:a.code)||t.code===e.item.productCode});r&&!e.item.hasFmcItem?(a.push((null==r?void 0:r.quantity)||1),t.push({index:l,status:d.ADDED})):a.push(1)}),en(a),ei(t)},[o,G]);let eA=(e,t,l)=>{var n,r,i;let s=(0,N.A)((0,w.Ri)("PriceMetaData")||"");ea(t=>t.includes(e)?t.filter(t=>t!==e):[...t,e]),(0,u.sendGTMEvent)({event:"view_additional_info",ecommerce:{items:[{item_id:t.productCode,item_name:t.title,price:Math.round(null!=(i=null==a||null==(n=a.find(e=>{var a;return e.code===(null==(a=t.variants[0])?void 0:a.code)||e.code===t.productCode}))?void 0:n.displayPrice)?i:0),toggle_state:l?"collapsed":"expanded",opti_id:null==(r=t.variants[0])?void 0:r.code}],currency:s.currency||j.$f}})},eC=async(e,t,l)=>{var n,r,i,s,o,c,m;eo(!1),eu(null),ed(!0);let x={Quantity:null!=(n=el[t])?n:1,VariantCode:e.variants[e.hasFmcItem?Number.parseInt(null!=(r=null==ey?void 0:ey.variantCode)?r:""):0].code},p=er.some(e=>e.index===t&&e.status===d.UPDATED),h=await Q(x,p,l);if(h&&h.itemsCount>0){ei(e=>e.some(e=>e.index===t)?e.map(e=>e.index===t?{index:t,status:d.ADDED}:e):[...e,{index:t,status:d.ADDED}]);let l=(0,N.A)((0,w.Ri)("PriceMetaData")||"");(0,u.sendGTMEvent)({ecommerce:null}),(0,u.sendGTMEvent)({event:"add_to_cart",ecommerce:{items:[{item_id:e.productCode,item_name:e.title,price:Math.round(null!=(o=null==a||null==(i=a.find(t=>{var a;return t.code===(null==(a=e.variants[0])?void 0:a.code)||t.code===e.productCode}))?void 0:i.displayPrice)?o:0),quantity:null!=(c=el[t])?c:1,opti_id:null==(s=e.variants[0])?void 0:s.code}],currency:l.currency||j.$f,is_upsell:!1}})}else(null==h?void 0:h.errorCode)=="MARKET_MISMATCH"?(ep(h),eb({item:e,index:t}),ef()):(null==h?void 0:h.validationIssues)&&h.validationIssues.length>0&&(eu(h.validationIssues.join(", ")),eo(!0),null==(m=O.current)||m.scrollIntoView({behavior:"smooth"}));setTimeout(()=>{var e;null==(e=q.current[t])||e.focus()},500),ed(!1)},ek=(e,t,a)=>{var l;let n=null==G||null==(l=G.items)?void 0:l.some(t=>{var l;return t.code===(null==(l=a.variants[0])?void 0:l.code)&&t.quantity!==e||t.code===a.productCode&&t.quantity!==e});en(a=>{let l=[...a];return l[t]=e,l}),ei(e=>e.some(e=>e.index===t)?e.map(e=>e.index===t?{index:t,status:n?d.UPDATED:d.ADDED}:e):e)},e_=(e,t,a)=>{let l=el[t]+("increment"===e?1:-1);ek(l=Math.max(1,Math.min(l,9999)),t,a)};return X&&o&&(null==o?void 0:o.length)>0&&(0,l.jsxs)("div",{...(0,b.HP)("ProductDetailCard","container",t),ref:O,className:c()("bg-background-white p-6 shadow-default rounded-corner-8 flex flex-col gap-4 mb-10 product-detail-card",K?"xl:p-6":"xl:p-8"),children:[es&&(0,l.jsx)(x.A,{content:{error:null!=em?em:I}}),W?(0,l.jsx)(p.A,{loading:!0}):(0,l.jsxs)(l.Fragment,{children:[!K&&(0,l.jsx)("h2",{className:"heading-sm font-semibold text-initial",children:t}),(0,l.jsx)("ul",{...(0,b.HP)("ProductDetailCard","list",t),className:"flex flex-col gap-2",children:null==o?void 0:o.map((e,o)=>{var m,u,x,p,f,v,N,A,I;let F=null==a?void 0:a.filter(t=>{var a;return t.code===(null==(a=e.item.variants[0])?void 0:a.code)||t.code===e.item.productCode}),D=null==F?void 0:F.find(e=>e.currencyCode===$),B=null==D?void 0:D.displayPrice,M=null==D?void 0:D.currencyCode,V=F.find(e=>e.currencyCode===j.$f),O=null==V?void 0:V.displayPrice;if(!Y&&!B&&!O||Y&&!O)return null;let Q=et.includes(o),G=null==(m=er.find(e=>e.index===o))?void 0:m.status,W=Math.random().toString(36).substring(2,9);return(0,l.jsx)("li",{...(0,b.Mu)("ProductDetailCard",t+" item",o),className:c()(G&&"active",G,"p-6 xl:p-8 rounded-corner-8 xl:border-0 border-[1px] border-background-surface"),children:(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row justify-between items-start gap-4 xl:gap-8",children:[(0,l.jsxs)("div",{className:"flex flex-col gap-1 flex-1",children:[n.createElement(K?"h2":"h3",{className:"text-d-xsm-title font-semibold"},e.item.title),!e.item.hasFmcItem&&!!(null==(u=e.item.variants[0])?void 0:u.isbn)&&(0,l.jsxs)("p",{className:"xxsm opacity-70",children:["ISBN: ",e.item.variants[0].isbn]}),e.item.hasFmcItem&&(0,l.jsx)("p",{className:"text-d-xxsmall-body text-content-tertiary -mt-1",children:e.item.courseDuration}),(null==(x=e.item)?void 0:x.inclusions)&&(0,l.jsxs)("div",{className:"pt-1",children:[(0,l.jsx)("h4",{children:(0,l.jsxs)("button",{...(0,b.BQ)("ProductDetailCard","accordion",o),id:"accordion-button-".concat(W),"aria-controls":"accordion-content-".concat(W),"aria-expanded":Q,className:"w-fit flex items-center font-bold",onClick:()=>eA(o,e.item,Q),onKeyDown:t=>"Enter"===t.key&&eA(o,e.item,Q),tabIndex:0,children:[(0,l.jsx)("span",{className:"text-xsm-body text-content-primary font-semibold",children:k}),(0,l.jsx)("span",{className:"ml-1 -mt-0.5","aria-hidden":"true",children:(0,l.jsx)(r.D3,{color:"#0D1013",size:24,className:c()(Q&&"-rotate-180","inline-block transition-all duration-200")})})]})}),(0,l.jsxs)("div",{id:"accordion-content-".concat(W),role:"region","aria-labelledby":"accordion-button-".concat(W),className:c()("text-gray-600 transition-all duration-300 overflow-hidden",Q?"max-h-full":"max-h-0"),children:[(null==(f=e.item)||null==(p=f.inclusions)?void 0:p.items)&&(0,l.jsx)("ul",{className:"px-6 list-disc list-inside -indent-[22px]",children:null==(A=e.item)||null==(N=A.inclusions)||null==(v=N.items)?void 0:v.map((e,t)=>(0,l.jsx)("li",{className:"text-xsm-body text-content-primary",children:e},t))}),(null==(I=e.item.inclusions)?void 0:I.richTextData)&&(0,l.jsx)("div",{className:"product-details-rt-data rte *:text-xsm-body",dangerouslySetInnerHTML:{__html:e.item.inclusions.richTextData}})]})]})]}),(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row gap-4 xl:gap-10 flex-1 items-start",children:[(0,l.jsxs)("div",{className:"flex xl:flex-col gap-4 xl:gap-1 items-start justify-between xl:basis-[160px] xl:flex-shrink-1",children:[(0,l.jsx)("span",{className:"text-d-xxsmall-body text-content-secondary py-[2px] xl:py-0",children:_}),(0,l.jsxs)("div",{className:"flex flex-col",children:[!!(Y&&O||!Y&&!B&&O)&&(0,l.jsxs)("span",{className:"text-m-sm-body xl:text-d-sm-body font-semibold text-content-primary text-nowrap",children:[new Intl.NumberFormat(y.T.NA,{currency:j.$f,maximumFractionDigits:0}).format(Math.round(O))," ",j.$f]}),!!B&&(0,l.jsxs)("span",{className:c()(O&&Y?"text-d-xxsmall-body text-[#50595E]":"text-m-sm-body xl:text-d-sm-body text-nowrap font-semibold text-content-primary",(G===d.ADDED||G===d.UPDATED)&&"text-[#B6B7B7]"),children:[new Intl.NumberFormat("en-US",{currency:M,maximumFractionDigits:0}).format(Math.round(B||0))," ",M,Y&&(0,l.jsx)("sup",{children:"*"})]}),U.alpha2country===j.nN[y.T.JP]&&(0,l.jsxs)("span",{className:c()("text-d-xxsmall-body text-nowrap text-[#50595E]",G===d.ADDED&&"text-[#B6B7B7]"),children:[new Intl.NumberFormat(y.T.JP,{currency:M,maximumFractionDigits:0}).format(Math.floor(1.1*(B||0)))," ",M,(0,l.jsx)("sup",{children:"*"})]})]})]}),(0,l.jsxs)("div",{className:"flex items-center gap-2 xl:justify-center",children:[(0,l.jsx)("button",{...(0,b.BQ)("ProductDetailCard","decrement",o),onClick:()=>e_("decrement",o,e.item),disabled:1===el[o],"aria-label":"".concat(P," â"),className:c()("rounded-corner-100 flex items-center justify-center h-[44px] w-[44px] transition-all duration-300 border border-content-white focus-visible:outline focus-visible:outline-offset-2",1===el[o]?"bg-content-disabled":"bg-content-primary hover:bg-background-brand",G?"focus-visible:outline-content-brand":"focus-visible:outline-content-primary"),children:(0,l.jsx)(r.QG,{"aria-hidden":"true",size:16,color:"#fff"})}),(0,l.jsx)("label",{htmlFor:"quantity-select-".concat(o),className:"sr-only",children:P}),(0,l.jsx)("input",{ref:e=>{e&&(q.current[o]=e)},type:"text",id:"quantity-select-".concat(o),className:"w-[55px] h-[55px] border-2 text-center px-0 text-xsm-body !text-content-secondary border-[#808080] rounded-corner-8 appearance-none focus:outline-2 focus:outline-content-primary",value:el[o],"aria-label":"".concat(P," ").concat(el[o]),onChange:t=>{let a=""===t.target.value?1:Number(t.target.value);a>=1&&a<=9999&&ek(a,o,e.item)}}),(0,l.jsx)("button",{...(0,b.BQ)("ProductDetailCard","increment",o),onClick:()=>e_("increment",o,e.item),disabled:9999===el[o],"aria-label":"".concat(P," +"),className:c()("rounded-corner-100 flex items-center justify-center h-[44px] w-[44px] transition-all duration-300 border border-content-white focus-visible:outline focus-visible:outline-content-primary focus-visible:outline-offset-2",9999===el[o]?"bg-content-disabled":"bg-content-primary hover:bg-background-brand",G?"focus-visible:outline-content-brand":"focus-visible:outline-content-primary"),children:(0,l.jsx)(r.c1,{"aria-hidden":"true",size:16,color:"#fff"})})]}),(0,l.jsx)("div",{className:"xl:w-[200px] flex items-center justify-end xl:flex-shrink-1",children:(0,l.jsx)(i.A,{...(0,b.BQ)("ProductDetailCard","cta",o),ctaRef:J,content:{ctaUrl:"",ctaTarget:"_blank",ctaLabel:e.item.hasFmcItem?H:G===d.ADDED?S:G===d.UPDATED?T:L,ctaType:"btn--primary",ctaSize:"btn--md",ctaAriaLabel:"",imageData:e.item.hasFmcItem?void 0:{src:s.src,alt:"",extension:".svg"},alignment:"right"},"aria-haspopup":e.item.hasFmcItem?"dialog":"","aria-controls":e.item.hasFmcItem?"modal-".concat(W):"",disabled:!e.item.hasFmcItem&&G===d.ADDED,onClick:()=>e.item.hasFmcItem?ef():eC(e.item,o),className:"xl:btn--lg !whitespace-nowrap"})}),e.item.hasFmcItem&&(0,l.jsx)(h.A,{isOpen:eg,onClose:ev,id:"modal-".concat(W),triggerRef:J,headingId:"modal-".concat(W,"-heading"),children:(0,l.jsxs)("div",{className:"flex flex-col gap-8 h-full px-2 xl:px-4",children:[(0,l.jsx)("h2",{id:"modal-".concat(W,"-heading"),className:"w-5/6 text-d-sm-body font-semibold",children:R}),(0,l.jsxs)("div",{className:"flex flex-col justify-between h-full",children:[(0,l.jsx)("div",{className:"min-h-fit",children:(0,l.jsx)(g,{selectedVariant:ey,headline:R,onVariantSelect:eN,content:{elements:e.item.variants.map(e=>
1({label:e.name,code:e.code,shortDescription:null==e?void 0:e.shortDescription}))}})}),(0,l.jsxs)("div",{className:"flex gap-5",children:[(0,l.jsx)(i.A,{content:{ctaLabel:L,ctaType:"btn--primary",ctaSize:"btn--md",ctaAriaLabel:""},disabled:!ey,onClick:()=>eC(e.item,o).then(()=>{ev(),ew()}),className:"xl:btn--lg"}),(0,l.jsx)(i.A,{content:{ctaAriaLabel:E,ctaLabel:E,ctaType:"btn--secondary"},onClick:()=>ev(),"aria-controls":"modal-".concat(W)})]})]})]})}),ex&&(0,l.jsx)(h.A,{isOpen:eg,onClose:ev,id:"modal-".concat(W),triggerRef:J,headingId:"modal-".concat(W,"-heading"),size:C.r.Medium,children:(0,l.jsxs)("div",{className:"flex flex-col gap-6 h-full px-2 xl:px-4",children:[(0,l.jsx)("h2",{id:"modal-".concat(W,"-heading"),className:"w-3/6 heading-md font-bold text-content-primary",children:ex.validationModalTitle}),(0,l.jsx)("div",{className:"body-xsm",dangerouslySetInnerHTML:{__html:ex.validationIssues[0]}}),(0,l.jsxs)("div",{className:"flex flex-col gap-5",children:[(0,l.jsx)(i.A,{content:{ctaLabel:ex.confirmButtonLabel||"Confirm",ctaType:"btn--primary",ctaSize:"btn--md",ctaAriaLabel:ex.confirmButtonLabel||"Confirm"},onClick:()=>{if(ev(),ep(null),eb(null),ex.geolocationPriceCookie){let e=globalThis.location.hostname.split("."),t=globalThis.location.hash,a=e.slice(-2).join(".");(0,w.TV)("PriceMetaData",encodeURIComponent(ex.geolocationPriceCookie),a,2592e3),z.push("".concat(ex.redirectUrl||"/").concat(t)),eh&&(eC(eh.item,eh.index,!0),eb(null))}},className:"xl:btn--lg"}),(0,l.jsx)(i.A,{content:{ctaAriaLabel:ex.cancelButtonLabel||"Cancel",ctaLabel:ex.cancelButtonLabel||"Cancel",ctaType:"btn--secondary",ctaSize:"btn--md"},onClick:()=>{ev(),ep(null),eh&&(eC(eh.item,eh.index,!0),eb(null))},"aria-controls":"modal-".concat(W),className:"xl:btn--lg"})]})]})})]})]})},o)})})]}),V&&ec&&(0,l.jsx)("div",{className:"fixed inset-0 bg-[#000]/50 flex items-center justify-center z-50",children:(0,l.jsx)(p.A,{loading:!0})})]})})},7090:(e,t,a)=>{"use strict";a.d(t,{default:()=>m});var l=a(5155),n=a(2115),r=a(6578),i=a(2282),s=a(5203),o=a.n(s),c=a(5464),d=a(2197);let m=n.memo(e=>{var t,a;let{content:s,mode:m}=e,u=(0,n.useRef)(null),x=(0,n.useRef)(null);return(0,d.r)({wrapperRef:u,iframeRef:x}),(0,l.jsx)("div",{className:"py-6",children:(0,l.jsxs)("div",{className:o()("container flex flex-col gap-2",8===s.gridSize&&"2xl:px-[245px]"),children:[s.headline&&(0,l.jsx)("p",{...(0,r.d8)("Headline",m),className:"heading-xsm font-bold text-palette-primary-black",children:s.headline}),s.subheadline&&(0,l.jsx)("p",{...(0,r.d8)("Subheadline",m),className:"body text-palette-primary-black",children:s.subheadline}),(0,l.jsxs)("figure",{className:"flex flex-col gap-6",children:[(null==(t=s.imageData)?void 0:t.src)?(0,l.jsx)(i.A,{imageData:s.imageData,width:1440,height:810,className:"w-full aspect-video object-cover rounded-corner-16 mt-4",propertyName:"Image",mode:m}):(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,r.d8)("VideoLink",m),className:"relative w-full 2xl:min-w-[947px] h-0 overflow-hidden pb-[56%] mt-4",children:[(0,l.jsx)("div",{className:"h-[calc(100%_-_40px)] w-full z-[9999999] absolute cursor-pointer",ref:u}),(0,l.jsx)("iframe",{title:s.caption,src:"https://player.vimeo.com/video/".concat(s.videoId,"?badge=0&autopause=0&player_id=0&app_id=58479"),className:"iframe absolute top-0 left-0 w-full h-full border-0 rounded-corner-16",frameBorder:"0",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write",ref:x,"aria-label":s.caption})]})}),s.caption&&(0,l.jsx)("figcaption",{className:"px-6 md:px-8 xl:px-16",children:(0,l.jsx)("p",{...(0,r.d8)("Caption",m),className:"body-sm",children:s.caption})})]}),(null==(a=s.cta)?void 0:a.ctaLabel)&&(0,l.jsx)("div",{className:"w-fit m-auto mt-4",children:(0,l.jsx)(c.A,{content:{ctaLabel:s.cta.ctaLabel,ctaTarget:s.cta.ctaTarget,ctaType:"btn--secondary",ctaUrl:s.cta.ctaUrl,ctaAriaLabel:s.cta.ctaAriaLabel,imageData:s.cta.imageData,alignment:s.cta.alignment},mode:m,propertyName:"Cta"})})]})})})},7122:(e,t,a)=>{"use strict";a.d(t,{default:()=>p});var l=a(5155),n=a(2115),r=a(5203),i=a.n(r),s=a(8833),o=a(9327),c=a(7479),d=a(6578),m=a(63),u=a(8164),x=a(2383);let p=(0,n.memo)(e=>{let{tabs:t,mode:a,isSticky:r=!1}=e,p=(0,m.usePathname)(),h=(0,m.useSearchParams)(),[b,g]=(0,n.use
1State)(0),f=(0,n.useRef)(null),v=(0,n.useRef)([]),y=(0,n.useRef)([]),j=(0,n.useRef)(null),{isScrollable:w,canScrollLeft:N,canScrollRight:A,sideScroll:C}=(0,s.A)(t,f,j);(0,n.useEffect)(()=>{let e=()=>{let e=window.location.hash.substring(1),a=t.findIndex(t=>!!t.title&&(0,x.A)(t.title)===(0,x.A)(decodeURIComponent(e)));a>=0?(g(a),setTimeout(()=>{L()},500)):g(0)};return e(),window.addEventListener("hashchange",e),()=>{window.removeEventListener("hashchange",e)}},[t,p,h]);let k=e=>{var a;if(g(e),!(null==(a=t[e])?void 0:a.title))return;let l=(0,x.A)(t[e].title);history.pushState(null,"","#".concat(l)),L()},_=(0,n.useCallback)(e=>{var a,l;let n=b;"ArrowRight"===e.key?(k(n=(b+1)%t.length),null==(a=v.current[n])||a.focus(),e.preventDefault()):"ArrowLeft"===e.key&&(k(n=(b-1+t.length)%t.length),null==(l=v.current[n])||l.focus(),e.preventDefault())},[b,k]),L=()=>{var e,t;let a=window.scrollY<window.innerHeight,l=null==(e=y.current[b])?void 0:e.getBoundingClientRect(),n=window.scrollY+((null==l?void 0:l.top)||0);window.scrollTo({top:n-(a?150:200),behavior:"smooth"}),null==f||null==(t=f.current)||t.focus()};return(0,l.jsxs)("div",{...(0,u.HP)("TabbedContent","container"),className:"flex flex-col gap-6 xl:gap-8",id:"tabbed-content",children:[(0,l.jsxs)("div",{className:i()(1===t.length&&"hidden",r&&"sticky top-[64px] xl:top-[69px] z-[10]","bg-content-primary tabbed-nav xl:rounded-corner-8 xl:container"),children:[(0,l.jsx)("div",{...(0,u.HP)("TabbedContent","wrapper"),className:"px-4 xl:px-10 flex items-stretch justify-between w-full mobile-slider overflow-x-auto relative",role:"tablist",ref:f,children:t.map((e,t)=>{let{title:a}=e,n=b===t;return a?(0,l.jsx)("button",{...(0,u.BQ)("TabbedContent","tab",t),ref:e=>{v.current[t]=e},onClick:()=>k(t),className:i()("w-max h-full flex items-center justify-center body-sm p-5 xl:py-[19.5px] outline-0 outline-content-white","active:border-b-background-brand active:border-b-[6px] hover:text-content-white focus:outline-1 whitespace-nowrap",n?"text-content-white border-b-background-brand border-b-[6px]":"text-content-disabled border-b-0"),"aria-selected":n,role:"tab",tabIndex:n?0:-1,"aria-controls":"tabpanel-".concat(t),onKeyDown:e=>_(e),children:a},t):null})}),w&&(0,l.jsxs)("div",{className:"xl:hidden","aria-label":"Scroll controls",children:[N&&(0,l.jsx)(o.A,{direction:"left",onClick:()=>C(f.current,25,100,-10),isDisabled:!N}),A&&(0,l.jsx)(o.A,{direction:"right",onClick:()=>C(f.current,25,100,10),isDisabled:!A})]})]}),t.map((e,t)=>t!==b?null:(0,l.jsx)("div",{className:"container content-area",id:"tabpanel-".concat(t),ref:e=>{y.current[t]=e},role:"tabpanel",...(0,d.d8)("TabContentArea_".concat(t+1),a),...(0,u.HP)("TabbedContent","panel",t),children:(0,l.jsx)(c.A,{content:e.mainContentArea,mode:a})},e.title))]})})},7200:(e,t,a)=>{"use strict";a.d(t,{default:()=>f});var l=a(5155),n=a(2115),r=a(63),i=a(7479),s=a(6578),o=a(1177),c=a(5203),d=a.n(c),m=a(8833),u=a(9327),x=a(8164);let p=(0,n.memo)(e=>{let{content:t,filterValue:a,setFilterValue:r}=e,i=(0,n.useRef)(null),s=(0,n.useRef)(null),{isScrollable:o,canScrollLeft:c,canScrollRight:p,sideScroll:h}=(0,m.A)(t,i,s),b=(0,n.useCallback)((e,t)=>{("Enter"===e.key||" "===e.key)&&(r(t.replaceAll(" ","").toLowerCase()),e.preventDefault())},[r]);return(0,l.jsxs)("nav",{...(0,x.HP)("FilterNavigation","container"),className:"bg-content-primary tabbed-nav xl:rounded-corner-8 xl:container relative","aria-label":"Filter navigation",children:[(0,l.jsx)("ul",{...(0,x.HP)("FilterNavigation","list"),className:"px-4 xl:px-10 flex items-stretch justify-between w-full mobile-slider overflow-x-auto relative",ref:i,children:null==t?void 0:t.map((e,t)=>{let n=e.replaceAll(" ","").toLowerCase();return(0,l.jsx)("li",{...(0,x.Mu)("FilterNavigation","container",t),className:"w-full xl:w-auto text-center",children:(0,l.jsx)("button",{...(0,x.BQ)("FilterNavigation","category",t),className:d()("w-max h-full min-w-[-webkit-fill-available] xl:w-full xl:min-w-full flex items-center justify-center body-sm p-5 xl:py-[19.5px] outline-0 outline-content-white","active:border-b-background-brand active:border-b-[6px] hover:text-content-white focus:outline-1 whitespace-nowrap",n===a?"text-content-white border-b-background-brand border-b-[6px]":"text-content-disabled border-b-0"),ref:n===a?s:null,onClick:()=>r(n),onKeyDown:t=>b(t,e),"aria-pressed":n===a,"data-filter-value":e,children:e})},t)})}),o&&(0,l.jsxs)("div",{className:"xl:hidden","aria-label":"Scroll controls",children:[c&&(0,l.jsx)(u.A,{direction:"left",onClick:()=>h(i.current,25,100,-10),isDisabled:!c}),p&&(0,l.jsx)(u.A,{direction:"right",onClick:()=>h(i.current,25,100,10),isDisabled:!p})]})]})});var h=a(9940),b=a(6206),g=a(4579);let f=n.memo(e=>{var t,a,c,m;let{content:u,mode:f}=e,v=null==u||null==(t=u.backgroundImage)?void 0:t.src,y=(0,r.useSearchParams)(),j=(0,r.useRouter)(),w=null==y?void 0:y.get("category"),N=null==(a=u.jobNavigation[0].name)?void 0:a.replaceAll(" ","").toLowerCase(),[A,C]=(0,n.use
1State)(w||(null==(c=u.jobNavigation[0])?void 0:c.displayName.toLowerCase())),k=u.jobNavigation.map(e=>e.displayName),_=u.jobNavigation.map(e=>e.name),L=(0,n.useMemo)(()=>k.findIndex(e=>e.replaceAll(" ","").toLowerCase()===A),[k,A]),T=(0,n.useMemo)(()=>0===L?_.slice(1):[_[L]],[L,_]);(0,n.useEffect)(()=>{let e=new URLSearchParams(window.location.search);e.has("page")||e.set("page","1"),e.has("category")||e.set("category",N),window.history.replaceState(null,"","".concat(window.location.pathname,"?").concat(e.toString()))},[]);let S=(0,n.useCallback)(e=>{C(e);let t=new URLSearchParams(window.location.search);t.set("category",e),t.set("page","1"),null==j||j.push("".concat(window.location.pathname,"?").concat(t.toString()))},[]),{data:P,loading:I}=(0,h.A)(y,18,"GetJobDetails",u.htmlLanguage,T,"newest");return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,x.HP)("JobListingPage","container"),className:d()(v&&"bg-image"),style:{backgroundImage:v?"url(".concat(v,")"):"none"},children:[v&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{...(0,x.HP)("JobListingPage","top-content-area"),className:"container relative",children:[u.breadcrumbs&&(0,l.jsx)(o.A,{content:u.breadcrumbs}),(0,l.jsx)("h1",{...(0,s.d8)("Title",f),className:"w-full heading-lg xl:text-center mt-1",children:u.title}),u.summary&&(0,l.jsx)("p",{...(0,s.d8)("Summary",f),className:"xl:text-center mt-4 xl:mt-2 text-content-secondary",children:u.summary})]}),(0,l.jsxs)("div",{...(0,x.HP)("JobListingPage","main-content-area"),className:"xl:container relative",children:[(0,l.jsx)("div",{className:"mt-6 xl:mt-8 relative",children:(0,l.jsx)(p,{content:k,filterValue:A,setFilterValue:S})}),(0,l.jsx)("div",{className:"container !mt-6 !mb-16 xl:!mb-20 xl:!mt-8",children:I?(0,l.jsx)("div",{className:"flex justify-center items-center mt-16",children:(0,l.jsx)("div",{className:"animate-spin rounded-[100px] h-12 w-12 border-t-4 border-palette-primary-brand"})}):P&&(null==P||null==(m=P.results)?void 0:m.length)!==0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("ul",{...(0,x.HP)("JobListingPage","list"),className:"w-full grid grid-cols-1 xl:grid-cols-3 gap-6 mb-10",children:P.results.map((e,t)=>(0,l.jsx)("li",{...(0,x.dz)("job-listing",t),children:(0,l.jsx)(b.A,{content:e})},t))}),P.totalMatching>P.results.length&&(0,l.jsx)(g.A,{totalPages:Math.ceil(P.totalMatching/18),labels:{nextAriaLabel:u.nextAriaLabel,nextLabel:u.nextLabel,previousAriaLabel:u.previousAriaLabel,previousLabel:u.previousLabel,goToPageAriaLabel:u.goToPageAriaLabel}})]})}),(0,s.Dd)(u.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area",role:"contentinfo",...(0,s.d8)("BottomContentArea",f),...(0,x.HP)("JobListingPage","bottom-content-area"),children:(0,l.jsx)(i.A,{content:u.bottomContentArea,mode:f})})]})]})})})},7479:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var l=a(5155),n=a(2115),r=a(6578),i=a(6543);let s=n.memo(e=>{let{content:t,mode:a}=e;return(0,l.jsx)(l.Fragment,{children:t&&Object.keys(t).map((e,n)=>{var s;let o=t[e];return(0,l.jsx)("div",{className:o.contentType.slice(-1)[0],...(0,r.C0)(null==(s=o.contentLink)?void 0:s.id,a),children:(0,l.jsx)(i.A,{content:o,mode:a})},n)})})})},7806:(e,t,a)=>{"use strict";a.d(t,{default:()=>w});var l=a(5155),n=a(2115),r=a(3149),i=a(7650),s=a(9342),o=a(1469);let c=e=>{let{platform:t,videoId:a}=e,l={youtube:"https://www.youtube.com/embed/".concat(a,"?enablejsapi=1&autoplay=1"),vimeo:"https://player.vimeo.com/video/".concat(a,"?autoplay=1")};return l[t]||l.youtube},d=e=>{let{video:t,onClose:a,closeAriaLabel:r}=e,d=(0,n.useRef)(null),m=(0,n.useRef)(null),u=(0,n.useRef)(null);return(0,i.createPortal)((0,l.jsx)(s.FocusTrap,{focusTrapOptions:{allowOutsideClick:!0,onActivate:()=>{var e;null==(e=m.current)||e.focus()}},children:(0,l.jsx)("div",{className:"fixed inset-0 bg-[#000]/50 flex items-center justify-center cursor-default",id:"video-".concat(t.key),role:"button",tabIndex:0,"aria-labelledby":"title-".concat(t.key),onClick:e=>{d.current&&!d.current.contains(e.target)&&a()},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),a())},children:(0,l.jsxs)("div",{ref:d,className:"relative w-full max-w-3xl",children:[(0,l.jsx)("button",{ref:m,className:"absolute -top-9 right-0 text-palette-primary-white","aria-label":"".concat(r," ").concat(t.title),onClick:a,children:(0,l.jsx)(o.US,{"aria-hidden":"true",size:32,color:"#FFFFFF"})}),(0,l.jsx)("iframe",{src:c({platform:t.platform,videoId:t.videoId}),title:t.title,className:"w-full aspect-video",allow:"autoplay; fullscreen",ref:u})]})})}),document.body)};var m=a(308),u=a(5239),x=a(5203),p=a.n(x),h=a(2197);let b=e=>{let{video:t,thumbnail:a,isMobile:r,playingVideoId:i,onPlayInline:s,onPlayModal:d,isFeature:m,playAriaLabel:x}=e,b=i===t.key,g=(0,n.useRef)(null),f=(0,n.useRef)(null);(0,h.r)({wrapperRef:g,iframeRef:f});let v=(0,n.useCallback)(()=>{r||m?s(t.key):null==d||d(t)},[t,r,m,s,d]),y=p()("text-m-sm-body mt-4 mb-2",m?"xl:text-d-xsm-title font-semibold":"xl:text-d-sm-body font-bold");return(0,l.jsxs)("div",{className:p()("video-item",{"xl:w-[226px]":!m}),children:[b?(0,l.jsxs)("div",{className:"video relative",children:["vimeo"===t.platform&&(0,l.jsx)("div",{className:"h-[calc(100%_-_40px)] w-full z-[9999999] absolute cursor-pointer",ref:g}),(0,l.jsx)("iframe",{ref:f,src:c({platform:t.platform,videoId:t.videoId}),title:t.title,className:p()("w-full rounded-lg aspect-video",{iframe:"vimeo"===t.platform}),allow:"autoplay; fullscreen; picture-in-picture; clipboard-write",loading:"lazy"})]}):(()=>{var e;return(0,l.jsxs)("div",{className:"relative cursor-pointer",children:[a&&(0,l.jsx)(u.default,{src:a,alt:t.title,width:1280,height:720,"aria-hidden":"true",className:"w-full h-auto rounded-lg object-cover"}),(0,l.jsx)("button",{onClick:v,className:"absolute inset-0 flex items-center justify-center bg-black bg-opacity-50 rounded-lg","aria-label":"".concat(x," ").concat(null!=(e=t.title)?e:""),children:(0,l.jsx)(o.HQ,{size:56,"aria-hidden":"true",className:"transform hover:scale-110 transition-transform"})})]})})(),t.title&&(0,l.jsx)("h3",{id:"title-".concat(t.key),className:y,dangerouslySetInnerHTML:{__html:t.title.replaceAll("\n","<br/>")}}),t.description&&(0,l.jsx)("p",{className:"text-m-sm-body text-content-secondary",dangerouslySetInnerHTML:{__html:t.description.replaceAll("\n","<br/>")}})]})},g=e=>{let{featuredVideo:t,onPlayInline:a,thumbnail:n,playingVideoId:r,playAriaLabel:i}=e;return(0,l.jsx)("div",{className:"featured-video mb-6 xl:mb-10",children:(0,l.jsx)(b,{video:t,thumbnail:(e=>"youtube"===e.platform?"https://img.youtube.com/vi/".concat(e.videoId,"/maxresdefault.jpg"):n||"")(t),playingVideoId:r,onPlayInline:a,isFeature:!0,playAriaLabel:i})})},f=e=>{let{videos:t,thumbnails:a,isMobile:n,playingVideoId:r,playInline:i,openModal:s,playAriaLabel:o}=e;return 0===t.length?null:(0,l.jsx)("div",{className:"grid grid-cols-1 xl:grid-cols-4 xl:gap-x-[30px] xl:gap-y-10 gap-6",children:t.map(e=>(0,l.jsx)(b,{video:e,thumbnail:a[e.videoId],isMobile:n,playingVideoId:r,onPlayInline:i,onPlayModal:s,playAriaLabel:o},e.videoId))})};var v=a(6578),y=a(8189),j=a(8164);let w=e=>{let{content:t,mode:a}=e,{headline:i,galleryItems:s,playAriaLabel:o,closeAriaLabel:c}=t,{width:u}=(0,r.A)(),x=(e=>
1{let[t,a]=(0,n.useState)({});return(0,n.useEffect)(()=>{let t=async e=>{var t;let a=await fetch("https://vimeo.com/api/v2/video/".concat(e,".json")),l=await a.json();return l?null==(t=l[0])?void 0:t.thumbnail_large:"/images/image-placeholder-564x376.png"};(async()=>{let l={};for(let a of e)"vimeo"===a.platform?l[a.videoId]=await t(a.videoId):"youtube"===a.platform&&(l[a.videoId]="https://img.youtube.com/vi/".concat(a.videoId,"/mqdefault.jpg"));a(l)})()},[e]),t})(s),p=u<y.lq.xl,[h,b]=(0,n.useState)({isModalOpen:!1,modalVideo:null,playingVideoId:null});(0,m.A)([()=>b(e=>({...e,isModalOpen:!1}))]);let w=(0,n.useMemo)(()=>s.map((e,t)=>({...e,key:"".concat(e.videoId,"-").concat(t)})),[s]),N=w[0],A=w.slice(1),C=e=>{b(t=>({...t,playingVideoId:t.playingVideoId===e?null:e}))};return(0,l.jsxs)("div",{...(0,j.HP)("VideoPlus","container"),className:"video-gallery bg-background-surface-weak xl:py-14 xl:px-[102px] py-6 px-4",children:[i&&(0,l.jsx)("h2",{...(0,v.d8)("Headline",a),...(0,j.HP)("VideoPlus","headline"),className:"text-initial text-d-sm-title xl:text-d-md-title text-content-secondary mb-4 xl:mb-9",dangerouslySetInnerHTML:{__html:i.replaceAll("\n","<br/>")}}),(0,l.jsx)(g,{featuredVideo:N,thumbnail:x[N.videoId],isMobile:p,onPlayInline:C,playingVideoId:h.playingVideoId,playAriaLabel:o}),(0,l.jsx)(f,{videos:A,thumbnails:x,isMobile:p,playingVideoId:h.playingVideoId,playInline:C,openModal:e=>{b(t=>({...t,modalVideo:e,isModalOpen:!0,playingVideoId:null}))},playAriaLabel:o}),h.isModalOpen&&h.modalVideo&&(0,l.jsx)(d,{video:h.modalVideo,closeAriaLabel:c,onClose:()=>{b({isModalOpen:!1,modalVideo:null,playingVideoId:null})}})]})}},7944:(e,t,a)=>{"use strict";a.d(t,{default:()=>c});var l=a(5155),n=a(2115),r=a(211),i=a(6755),s=a(8207),o=a(4354);let c=n.memo(e=>{let{content:t,mode:a,backgroundImage:n,tabsContent:c,tabsQuantity:d}=e,m=e=>{let a=[],l=[];var n=!1;let c=(0,s.Ri)(o.nH)||"",{market:d,alpha2country:m,alpha3country:u,currency:x}=(0,i.A)(c);var p=Object.entries(e).reduce((e,r)=>{let[i,s]=r;return s.contentType?e[i]=s:(n=!0,e[i]={...s,contentType:["Other","ProductDetailCard"],addToCartErrorLabel:t.addToCartErrorLabel},s.productTitleLists.forEach(e=>{var t,n;a.push(null==(t=e.item.variants[0])?void 0:t.code),l.push({code:null==(n=e.item.variants[0])?void 0:n.code,displayPrice:e.item.price.price,currencyCode:e.item.price.currency})})),e},{});return n&&a.length>0&&Object.keys(p).forEach(e=>{(0,r.Vz)(p[e])&&(p[e].prices=l,p[e].priceMetaData={market:d,alpha2country:m,alpha3country:u,currency:x})}),p};for(let e=0;e<d;e++)c.push({title:t["heading_"+(e+1)],mainContentArea:m(t["tabContentArea_"+(e+1)])});return(0,l.jsx)(r.yQ,{content:t,mode:a,backgroundImage:n,tabsContent:c})})},8255:(e,t,a)=>{"use strict";a.d(t,{default:()=>A});var l=a(5155),n=a(2115),r=a(7479),i=a(6578),s=a(1177),o=a(5203),c=a.n(o),d=a(8833),m=a(9327),u=a(8164);let x=e=>{let{content:t,currentUrl:a}=e,r=(0,n.useRef)(null),i=(0,n.useRef)(null),{isScrollable:s,canScrollLeft:o,canScrollRight:x,sideScroll:p}=(0,d.A)(t,r,i);return(0,l.jsxs)("nav",{...(0,u.HP)("TabbedNav","container"),className:"bg-content-primary tabbed-nav xl:rounded-corner-8 xl:container relative",children:[(0,l.jsx)("ul",{className:"px-4 xl:px-10 flex items-stretch justify-between w-full mobile-slider overflow-x-auto relative",ref:r,children:t.map((e,t)=>{let{displayName:n,url:r,contentLink:s}=e,o=r===a;return(0,l.jsx)("li",{...(0,u.Mu)("TabbedNav","item",n),className:"w-full xl:w-auto text-center",children:(0,l.jsx)("a",{...(0,u.R0)("TabbedNav","link",n),className:c()("w-max h-full min-w-[-webkit-fill-available] xl:w-full xl:min-w-full flex items-center justify-center body-sm p-5 xl:py-[19.5px] outline-0 outline-content-white","active:border-b-background-brand active:border-b-[6px] hover:text-content-white focus:outline-1 whitespace-nowrap",o?"text-content-white border-b-background-brand border-b-[6px]":"text-content-disabled border-b-0"),href:r,"aria-current":o,ref:o?i:null,"aria-controls":null==s?void 0:s.id,children:n})},t)})}),s&&(0,l.jsxs)("div",{className:"xl:hidden","aria-label":"Scroll controls",children:[o&&(0,l.jsx)(m.A,{direction:"left",onClick:()=>p(r.current,25,100,-10),isDisabled:!o}),x&&(0,l.jsx)(m.A,{direction:"right",onClick:()=>p(r.current,25,100,10),isDisabled:!x})]})]})};var p=a(63),h=a(9940),b=a(4579),g=a(2619),f=a.n(g),v=a(1600),y=a(2282),j=a(1469);let w=n.memo(e=>{let{content:{cards:t,eyebrow:a},mode:n}=e;return(0,l.jsxs)("div",{...(0,u.HP)("FeaturedBlog","container"),className:"p-6 xl:p-14 shadow-default bg-background-white",children:[(0,l.jsx)("div",{className:"flex border-b border-content-secondary mb-8 xl:mb-10",children:(0,l.jsx)("p",{className:"eyebrow",children:a})}),(0,l.jsx)("ul",{className:"list-none grid grid-cols-1 xl:grid-cols-2 gap-8 xl:gap-10",children:t.map((e,t)=>{var a,r,i,s;return(0,l.jsxs)("li",{children:[(0,l.jsxs)(f(),{...(0,u.R0)("FeaturedBlog","title",t),className:"title-link",target:"_self","aria-label":e.title,href:e.titleUrl||"#",children:[(0,l.jsx)("span",{className:"mr-2",children:e.title}),(0,l.jsx)(j.vK,{width:12,height:19.19,className:"-mb-[2px] -mt-0.5 inline-block"})]}),e.categories&&(null==(a=e.categories)?void 0:a.length)>0&&(0,l.jsx)("div",{className:"flex gap-2 flex-wrap mb-4 mt-1",children:e.categories.slice(0,6).map((e,t)=>(0,l.jsx)(v.A,{text:e.name,url:e.url},t))}),(0,l.jsxs)("div",{className:"flex flex-col xl:flex-row gap-2 xl:gap-4",children:[(0,l.jsx)(y.A,{...(0,u.HP)("FeaturedBlog","image",t),imageData:(null==(r=e.imageData)?void 0:r.src)?e.imageData:{src:"/images/image-placeholder-564x376.png"},className:"xl:w-[282px] xl:h-[188px] aspect-image rounded-corner-8",propertyName:"Image",height:200,width:310,mode:n}),(0,l.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,l.jsx)("p",{className:"text-m-sm-body xl:text-d-sm-body text-content-secondary",children:e.shortDe
1scription}),"0"!==e.readTime&&(0,l.jsx)("time",{className:"text-d-xxsmall-body text-content-secondary block",dateTime:"PT".concat(null==(s=e.readTime)||null==(i=s.match(/\d+/))?void 0:i[0],"M"),children:e.readTime})]})]})]},t)})})]})});var N=a(1372);let A=n.memo(e=>{var t,a,o,d,m;let{content:g,mode:f}=e,v=null==g||null==(t=g.backgroundImage)?void 0:t.src,y=null==(a=g.pageAlternate)?void 0:a[g.htmlLanguage.toLowerCase()],j=(0,p.useSearchParams)(),A=Object.values(g.mainContentArea||{}),C=g.categoryNavigation[0].url===y,k=(0,n.useMemo)(()=>{var e;return(null==(e=g.categoryNavigation)?void 0:e.filter((e,t)=>C?0===t:e.url===y).map(e=>C?"all":e.name))||[]},[g.categoryNavigation,C,y]),{data:_,loading:L}=(0,h.A)(j,12,"GetBlogArticles",g.htmlLanguage,k,"newest");return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{...(0,u.HP)("BlogListingPage","container"),className:c()("channel-homepage",v&&"bg-image"),style:{backgroundImage:v?"url(".concat(v,")"):"none"},children:[v&&(0,l.jsx)("div",{className:"bg-image--overlay"}),(0,l.jsxs)("div",{className:"container relative",children:[g.breadcrumbs&&(0,l.jsx)(s.A,{content:g.breadcrumbs}),(0,l.jsx)("h1",{...(0,i.d8)("Title",f),className:"w-fit heading-lg mt-1 mb-5 xl:mx-auto xl:text-center xl:mb-9",children:g.title}),g.summary&&(0,l.jsx)("p",{...(0,i.d8)("Summary",f),className:"text-content-secondary mb-5 xl:text-center xl:mt-2",children:g.summary})]}),(0,l.jsx)(x,{content:g.categoryNavigation,currentUrl:y}),(0,l.jsx)("div",{className:"container relative",children:(0,l.jsxs)("div",{className:"content-area mt-6 mb-16 xl:mt-7 xl:mb-20",children:[A.length>0&&(0,l.jsx)(w,{content:{eyebrow:g.eyebrow,cards:A}}),(0,l.jsx)("div",{id:"scroll"}),L?(0,l.jsx)("div",{className:"flex justify-center items-center mt-16",children:(0,l.jsx)("div",{className:"animate-spin rounded-[100px] h-12 w-12 border-t-4 border-palette-primary-brand"})}):(null==_?void 0:_.results)&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"flex flex-col items-center gap-4 mt-16 mb-10 xl:mb-8 xl:flex-row",children:g.subtitle&&(0,l.jsx)("h2",{...(0,i.d8)("Subtitle",f),className:"text-initial text-center heading-md xl:text-left",children:g.subtitle})}),(0,l.jsx)("ul",{...(0,u.HP)("BlogListingPage","list"),className:"list-style-none grid grid-cols-1 mb-10 gap-6 xl:gap-y-16 xl:grid-cols-4",children:null==_||null==(o=_.results)?void 0:o.map((e,t)=>{var a,n;return(0,l.jsx)("li",{...(0,u.Mu)("BlogListingPage","card",(null==(a=e.contentLink)?void 0:a.id)||t),children:(0,l.jsx)(N.A,{content:{title:e.title,titleUrl:e.titleUrl,imageData:(null==(n=e.imageData)?void 0:n.src)?e.imageData:{src:"/images/image-placeholder-564x376.png"},categories:k.length>1?e.categories:e.categories.filter(e=>e.name!==k[0]),readTime:e.readTime}})},t)})}),!!(null==_?void 0:_.totalMatching)&&!!(null==_||null==(d=_.results)?void 0:d.length)&&(null==_?void 0:_.totalMatching)>(null==_||null==(m=_.results)?void 0:m.length)&&(0,l.jsx)(b.A,{totalPages:Math.ceil(_.totalMatching/12),labels:{nextAriaLabel:g.nextAriaLabel,nextLabel:g.nextLabel,previousAriaLabel:g.previousAriaLabel,previousLabel:g.previousLabel,goToPageAriaLabel:g.goToPageAriaLabel}})]})]})}),(0,i.Dd)(g.bottomContentArea)&&(0,l.jsx)("section",{className:"content-area relative",role:"contentinfo",...(0,i.d8)("BottomContentArea",f),children:(0,l.jsx)(r.A,{content:g.bottomContentArea,mode:f})})]})})})},8441:(e,t,a)=>{"use strict";a.d(t,{h:()=>n});var l=a(2115);let n=()=>{let[e,t]=(0,l.useState)(!1);return{isModalOpen:e,openModal:()=>t(!0),closeModal:()=>t(!1)}}},8833:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var l=a(2115);let n=(e,t,a)=>{let[n,r]=(0,l.useState)(!1),[i,s]=(0,l.useState)(!1),[o,c]=(0,l.useState)(!1),d=()=>{if(t.current){let{scrollLeft:e,scrollWidth:a,clientWidth:l}=t.current;s(e>0),c(e<a-l-1)}};return(0,l.useEffect)(()=>{(()=>{if((null==a?void 0:a.current)&&(null==t?void 0:t.current)){var e;let l=null==a||null==(e=a.current)?void 0:e.offsetLeft;t.current.scrollTo(l-48,0)}})();let e=()=>{t.current&&(r(t.current.scrollWidth>t.current.clientWidth),d())};return e(),window.addEventListener("resize",e),t.current&&t.current.addEventListener("scroll",d),()=>{window.removeEventListener("resize",e),t.current&&t.current.removeEventListener("scroll",d)}},[e]),{isScrollable:n,canScrollLeft:i,canScrollRight:o,sideScroll:(e,t,a,l)=>{let n=0,r=setInterval(()=>{e.scrollLeft+=l,(n+=Math.abs(l))>=a&&(clearInterval(r),d())},t)}}}},9050:(e,t,a)=>{"use strict";a.d(t,{default:()=>u});var l=a(5155),n=a(2115),r=a(5464),i=a(5203),s=a.n(i),o=a(1469),c=a(8164);function d(e){let{title:t,description:a,cta:n,idx:i,isOpen:d,toggleAccordion:m}=e;return(0,l.jsxs)("article",{...(0,c.HP)("Accordion","item-".concat(i)),className:"border-t w-full",children:[(0,l.jsx)("h3",{children:(0,l.jsxs)("button",{...(0,c.BQ)("Accordion","toggle",i),id:"accordion-button-".concat(i),"aria-controls":"accordion-content-".concat(i),"aria-expanded":d,className:"w-full flex justify-between items-center py-4 xl:py-6 font-bold",onClick:()=>m(i),onKeyDown:e=>
1{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),m(i))},tabIndex:0,children:[(0,l.jsx)("span",{className:"text-xsm-body xl:text-m-md-body text-content-primary text-left",dangerouslySetInnerHTML:{__html:t.replaceAll("\n","<br/>")}}),(0,l.jsx)("span",{className:"text-d-xl-body text-content-brand ml-2","aria-hidden":"true",children:(0,l.jsx)(o.X9,{isOpen:d})})]})}),(0,l.jsx)("div",{id:"accordion-content-".concat(i),role:"region","aria-labelledby":"accordion-button-".concat(i),className:s()("text-gray-600","transition-all","duration-300","overflow-hidden",d?"max-h-[500px]":"max-h-0"),children:(0,l.jsxs)("div",{className:"pb-4 text-left",children:[(0,l.jsx)("div",{className:"*:text-xsm-body *:xl:text-m-md-body *:text-content-primary rte",dangerouslySetInnerHTML:{__html:a}}),n&&(0,l.jsx)(r.A,{content:{ctaLabel:n.ctaLabel,ctaTarget:n.ctaTarget,ctaType:"btn--tertiary",ctaUrl:n.ctaUrl,ctaAriaLabel:n.ctaAriaLabel,imageData:n.imageData,alignment:n.alignment},propertyName:"Cta"})]})})]})}var m=a(6578);let u=n.memo(e=>{let{content:t,mode:a}=e,[i,s]=(0,n.useState)(null),o=t.cards.filter((e,t)=>t%2==0),u=t.cards.filter((e,t)=>t%2!=0),x=e=>{s(i===e?null:e)};return(0,l.jsxs)("div",{...(0,c.HP)("Accordion","container"),className:"flex flex-col w-full bg-background-surface-weak py-8 px-4 xl:px-14 xl:py-14 mb-6 xl:mb-20 items-center gap-6 xl:gap-4 text-center",children:[(0,l.jsx)("h2",{...(0,m.d8)("Headline",a),className:"text-d-sm-title text-initial",children:t.headline}),t.cta&&(0,l.jsx)(r.A,{...(0,c.BQ)("Accordion","cta"),content:{ctaLabel:t.cta.ctaLabel,ctaTarget:t.cta.ctaTarget,ctaType:"btn--primary",ctaSize:"btn--md",ctaUrl:t.cta.ctaUrl,ctaAriaLabel:t.cta.ctaAriaLabel,imageData:t.cta.imageData,alignment:t.cta.alignment},mode:a,className:"xl:btn--lg",propertyName:"Cta"}),(0,l.jsxs)("div",{...(0,m.d8)("MainContentArea",a),className:"grid grid-cols-1 xl:grid-cols-2 gap-x-20 mt-2 xl:mt-10 w-full",children:[(0,l.jsx)("div",{children:o.map((e,t)=>{let a=2*t;return(0,l.jsx)(d,{idx:a,isOpen:i===a,toggleAccordion:x,...e},a)})}),(0,l.jsx)("div",{children:u.map((e,t)=>{let a=2*t+1;return(0,l.jsx)(d,{idx:a,isOpen:i===a,toggleAccordion:x,...e},a)})})]})]})})},9130:(e,t,a)=>{"use strict";a.d(t,{default:()=>d});var l=a(5155),n=a(2115),r=a(6578),i=a(5203),s=a.n(i),o=a(5842),c=a(5464);let d=n.memo(e=>{var t,a;let{content:n,mode:i}=e,d=n.contentType.includes("CardsProductTitleBlock"),m=d?"".concat(n.theme,"-theme"):"grey-theme",u=d?n.alignment:n.contentAlignment;return(0,l.jsx)("div",{className:s()("py-12 xl:py-16",m),children:(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:s()(d?"2xl:w-[1195px]":"2xl:w-10/12","center"===u&&"m-auto"),children:[n.headline&&(0,l.jsx)("h2",{...(0,r.d8)("Headline",i),className:s()("heading-md text-initial","left"===u?"text-left":"text-center"),children:n.headline}),n.subheadline&&(d?(0,l.jsx)("h3",{className:"body mt-4 text-".concat(u),children:n.subheadline}):(0,l.jsx)("div",{...(0,r.d8)("Subheadline",i),className:"heading-xsm *:text-palette-primary-black mt-4 rte text-".concat(u),dangerouslySetInnerHTML:{__html:n.subheadline}}))]}),(0,l.jsx)("ul",{...(0,r.d8)("MainContentArea",i),className:s()("list-style-none gap-4",d?"flex flex-wrap mt-12 xl:mx-12 2xl:mx-0 justify-center gap-8":"list-style-none gap-4 md:gap-8 grid grid-cols-1 md:grid-cols-2 xl:flex xl:flex-row mt-12 justify-center"),children:null==(t=n.cards)?void 0:t.map((e,t)=>{var a;return(0,l.jsx)("li",{...(0,r.C0)(null==(a=e.contentLink)?void 0:a.id,i),className:s()(d?"md:max-w-[336px]":"xl:max-w-[261px] 2xl:max-w-[336px]","w-full rounded-corner-16",d?"grey"===n.theme?"light-theme":"grey-theme":"".concat(n.theme,"-theme"),"left"===n.cardAlignment?"text-left":"text-center"),children:(0,l.jsx)(o.A,{content:e,mode:i,isCardsProduct:d})},t)})}),(0,l.jsxs)("div",{className:"flex justify-center mt-12",children:[(null==(a=n.cta)?void 0:a.ctaLabel)&&(0,l.jsx)(c.A,{content:{ctaLabel:n.cta.ctaLabel,ctaTarget:n.cta.ctaTarget,ctaType:"btn--secondary",ctaUrl:n.cta.ctaUrl,ctaAriaLabel:n.cta.ctaAriaLabel,imageData:n.cta.imageData,alignment:n.cta.alignment},mode:i,propertyName:"Cta"}),(null==n?void 0:n.ctaButtons)&&(null==n?void 0:n.ctaButtons.length)>0&&(0,l.jsx)("div",{className:"flex flex-col gap-8 md:flex-row md:items-center md:flex-wrap",children:n.ctaButtons.map((e,t)=>(0,l.jsx)(c.A,{content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--secondary":"btn--tertiary",ctaUrl:e.ctaUrl,ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},mode:i,propertyName:"Cta".concat(t+1)},t))})]})]})})})},9219:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var l=a(5155);let n=e=>{let{loading:t}=e;return t&&(0,l.jsx)("div",{className:"flex justify-center items-center py-12",children:(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 24 24",children:(0,l.jsx)("path",{fill:"#B70F2A",d:"M12,4a8,8,0,0,1,7.89,6.7A1.53,1.53,0,0,0,21.38,12h0a1.5,1.5,0,0,0,1.48-1.75,11,11,0,0,0-21.72,0A1.5,1.5,0,0,0,2.62,12h0a1.53,1.53,0,0,0,1.49-1.3A8,8,0,0,1,12,4Z",children:(0,l.jsx)("animateTransform",{attributeName:"transform",dur:"0.75s",repeatCount:"indef
1inite",type:"rotate",values:"0 12 12;360 12 12"})})})})}},9327:(e,t,a)=>{"use strict";a.d(t,{A:()=>s});var l=a(5155),n=a(1469),r=a(5203),i=a.n(r);let s=function(e){let{direction:t,onClick:a,isDisabled:r}=e;return(0,l.jsxs)("button",{className:i()("flex items-center w-[80px] h-[63px] absolute top-0","left"===t?"left-0 justify-start":"right-0 justify-end"),disabled:r,onClick:a,"aria-label":"Scroll ".concat(t),children:[(0,l.jsx)("div",{className:i()("left"===t?"bg-gradient-to-l":"bg-gradient-to-r","w-full h-[58px] absolute bottom-1 from-[#000]/30 to-[#000]")}),(0,l.jsx)(n.vK,{className:i()("left"===t&&"rotate-180","z-[2] px-4 py-5 h-full"),color:"#FFFFFF"})]})}},9335:(e,t,a)=>{"use strict";a.d(t,{A:()=>l.default});var l=a(7122)},9732:(e,t,a)=>{"use strict";a.d(t,{A:()=>i});var l=a(5155),n=a(1469),r=a(8164);let i=a(2115).memo(e=>{let{content:{error:t}}=e;return(0,l.jsxs)("div",{...(0,r.HP)("ErrorBanner","container"),className:"flex flex-row gap-2 justify-center items-center p-6 bg-background-error rounded-corner-8",children:[(0,l.jsx)(n.mo,{}),(0,l.jsx)("div",{...(0,r.HP)("ErrorBanner","message"),className:"mb-0 *:text-content-secondary text-content-secondary *:text-m-sm-body rte",dangerouslySetInnerHTML:{__html:t}})]})})},9853:(e,t,a)=>{"use strict";a.d(t,{default:()=>h});var l=a(5155),n=a(2115),r=a(5464),i=a(2282),s=a(5239);let o=n.memo(e=>{let{text:t,id:a}=e;return(0,l.jsx)("div",{id:a,className:"relative inline-flex ml-2 w-[16px] h-[16px] items-end",children:(0,l.jsxs)("span",{"data-tooltip":t,"aria-describedby":"tooltip",className:"relative z-10 cursor-pointer focus:outline-none outline-none",children:[(0,l.jsx)(s.default,{src:"/icons/circle-info.svg",alt:"",className:"*:w-[16px] *:h-[16px] -mb-[2px]",width:16,height:16}),(0,l.jsx)("div",{id:"tooltip",role:"tooltip",className:"absolute left-[20px] bg-gray-800 text-white text-sm p-2 rounded invisible opacity-0 pointer-events-none",children:t})]})})});var c=a(5203),d=a.n(c),m=a(6578),u=a(8833),x=a(1469),p=a(8164);let h=n.memo(e=>{let{content:t,mode:a}=e,s=(0,n.useRef)(null),{isScrollable:c,canScrollLeft:h,canScrollRight:b,sideScroll:g}=(0,u.A)(t,s);return(0,l.jsxs)("div",{className:"py-12 md:py-16 light-theme",children:[(0,l.jsxs)("div",{className:"container",children:[(0,l.jsxs)("div",{className:"2xl:max-w-[1195px] flex flex-col gap-4 items-start mb-16",children:[(0,l.jsx)("h2",{...(0,m.d8)("Headline",a),className:"heading-md font-bold text-initial",children:t.headline}),t.subheadline&&(0,l.jsx)("p",{...(0,m.d8)("Subheadline",a),className:"body",children:t.subheadline}),t.title&&(0,l.jsx)("h3",{...(0,m.d8)("Title",a),className:"heading-xsm font-bold text-palette-primary-black mt-12",children:t.title})]}),(0,l.jsx)("div",{className:"comparison-table",ref:s,style:{overflowX:"scroll"},children:(0,l.jsxs)("table",{...(0,p.HP)("ComparisonTable","table"),className:"w-full border-collapse text-center table-auto xl:table-fixed",children:[(0,l.jsx)("thead",{...(0,p.HP)("ComparisonTable","table-header"),children:(0,l.jsxs)("tr",{children:[(0,l.jsx)("th",{className:"sticky border-0 left-0 z-[1] p-0",children:(0,l.jsx)("div",{className:"absolute top-0 left-[-1px] bg-palette-primary-white w-full h-full p-6"})}),t.products.map((e,t)=>(0,l.jsx)("th",{scope:"col",className:"min-w-[190px] xl:min-w-full",id:"product-".concat(String(t)),children:(0,l.jsxs)("div",{className:d()("flex flex-col gap-4 items-center px-4 py-6",e.productHighlight&&"-ml-[2px] -mr-[2px] -mb-[1px] border-2 border-palette-primary-brand border-b-0 rounded-corner-4/16/0/0"),children:[e.logo.src&&(0,l.jsx)(i.A,{imageData:e.logo,className:"block object-contain h-[160px] w-[172px] self-center",propertyName:"Image",width:172,height:160,mode:a}),(0,l.jsx)("h3",{className:"body font-medium text-palette-primary-black",children:e.productName})]})},t))]})}),(0,l.jsxs)("tbody",{...(0,p.HP)("ComparisonTable","table-body"),children:[t.features.map((e,n)=>(0,l.jsxs)("tr",{...(0,p.HP)("ComparisonTable","table-row",n),className:"odd:bg-palette-secondary-grey-0 even:bg-palette-primary-white",children:[(0,l.jsx)("td",{className:"bg-[inherit] body-sm font-bold text-palette-primary-black min-w-[190px] xl:min-w-full sticky border-0 left-0 z-[1] p-0",children:(0,l.jsx)("div",{className:"w-full h-full p-6",children:(0,l.jsxs)("span",{children:[e.featureTitle,e.tooltip&&(0,l.jsx)(o,{id:"tooltip-".concat(n),text:e.tooltip})]})})}),t.products.map((e,t)=>(0,l.jsx)("td",{headers:"product-".concat(String(t)),className:d()("p-6 min-w-[190px] xl:min-w-full",e.productHighlight&&"border-2 border-palette-primary-brand border-t-0 border-b-0"),children:(0,l.jsx)("div",{className:"flex flex-col items-center",children:e.features[n].productC
1ontent?(0,l.jsx)("span",{className:"body-xsm text-palette-secondary-grey-850",children:e.features[n].productContent}):(0,l.jsx)(i.A,{imageData:e.features[n].imageData,className:"contents object-contain *:h-[24px] *:w-[24px] self-center",propertyName:"Image",removeSvgFill:!1,width:24,height:24,mode:a})})},t))]},n)),(0,l.jsxs)("tr",{className:"bg-palette-primary-white",children:[(0,l.jsx)("td",{className:"sticky border-0 left-0 z-[1] p-0",children:(0,l.jsx)("div",{className:"absolute top-0 left-[-1px] bg-palette-primary-white w-full h-full p-6"})}),t.products.map((e,t)=>(0,l.jsx)("td",{className:"min-w-[190px] xl:min-w-full",children:(0,l.jsx)("div",{className:d()("flex flex-col items-center p-6",e.productHighlight&&"-ml-[2px] -mr-[2px] -mt-[1px] border-2 border-palette-primary-brand border-t-0 rounded-corner-0/0/16/16"),children:e.cta&&(0,l.jsx)(r.A,{content:{ctaLabel:e.cta.ctaLabel,ctaTarget:e.cta.ctaTarget,ctaType:"btn--tertiary",ctaUrl:e.cta.ctaUrl,ctaAriaLabel:e.cta.ctaAriaLabel,imageData:e.cta.imageData,alignment:e.cta.alignment},mode:a,propertyName:"Cta"})})},t))]})]})]})}),c&&(0,l.jsxs)("div",{className:"mt-16 flex flex-row gap-4","aria-label":"hidden",children:[(0,l.jsx)("button",{...(0,p.BQ)("ComparisonTable","scroll-left"),className:"grey-theme flex flex-row items-center justify-center rounded-corner-100 w-[46px] h-[46px]",disabled:!h,onClick:()=>{g(s.current,25,100,-10)},"aria-label":"Scroll left",children:(0,l.jsx)(x.A6,{})}),(0,l.jsx)("button",{...(0,p.BQ)("ComparisonTable","scroll-right"),className:"grey-theme flex flex-row items-center justify-center rounded-corner-100 w-[46px] h-[46px]",disabled:!b,onClick:()=>{g(s.current,25,100,10)},"aria-label":"Scroll right",children:(0,l.jsx)(x.A6,{className:"rotate-180"})})]})]}),(null==t?void 0:t.ctaButtons.length)>0&&(0,l.jsx)("div",{className:"flex flex-row mt-16 gap-8 items-center flex-wrap justify-center",children:t.ctaButtons.map((e,t)=>(0,l.jsx)(r.A,{...(0,p.BQ)("ComparisonTable","cta",t),content:{ctaLabel:e.ctaLabel,ctaTarget:e.ctaTarget,ctaType:0===t?"btn--primary":"btn--tertiary",ctaUrl:e.ctaUrl,ctaAriaLabel:e.ctaAriaLabel,imageData:e.imageData,alignment:e.alignment},mode:a,propertyName:"Cta".concat(t+1)},t))})]})})},9940:(e,t,a)=>{"use strict";a.d(t,{A:()=>r});var l=a(2115),n=a(8479);let r=function(e,t,a){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"",[o,c]=(0,l.useState)(null),[d,m]=(0,l.useState)(!1),u=(0,l.useCallback)(async()=>{var l;if(d)return;m(!0);let o=i.join(","),u=new URLSearchParams({skip:(t*((Number.parseInt((null==e?void 0:e.get("page"))||"1")||1)-1)).toString(),query:null!=(l=null==e?void 0:e.get("query"))?l:"",Categories:o,Top:t.toString(),Sort:s}).toString();try{let e=await fetch("".concat(n.A,"/api/search?ContentTypeEndpoint=").concat(a,"&").concat(u),{method:"GET",headers:{"Accept-Language":r}});if(!e.ok)throw Error("HTTP error! status: ".concat(e.status));let t=await e.json();c(t)}catch(e){console.error("Error fetching search results:",e),c({results:[],totalMatching:0})}finally{m(!1)}},[]);return(0,l.useEffect)(()=>{u()},[]),{data:o,loading:d}}}}]);
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.