1import{r as v,j as e,R as J,g as Ge,b as Et,e as kt}from"./index-Cd_OgUaj.js";import{ae as Pt,C as ft,c as ee,af as St,r as q,E as ht,ag as At,ah as Ft,ai as Ot,aj as Bt,ak as Mt,al as zt,am as $t,a as Wt,A as me}from"./Statistic-C6NGdZ3_.js";import{V as Ye,t as Ke,i as gt}from"./VideoPlayer-DYNaxX2f.js";import{y as Qe,d as Ht,z as $,c as pt,C as Z,s as qt,u as Ut,g as Dt}from"./utils-VlcFB_3c.js";import{u as Vt}from"./AuthContext-Dx90JbCs.js";import{u as we,c as Je,C as te}from"./Container-C7QFOCM_.js";import{p as Gt,a as Yt}from"./utm.client-jKpNdgOi.js";import{u as Kt}from"./index-kK6H5m83.js";import{r as Le}from"./index-BXCB6JRE.js";const Qt=t=>{const{inspectorProps:n,children:i}=t,r=v.Children.toArray(i)[0];return v.isValidElement(r)?v.cloneElement(r,{...n}):null},Jt=t=>{const{anchorLinkId:n,eyebrow:i,title:r,footnote:s,statistic:d,backgroundColor:a,topPadding:l,bottomPadding:m,entryId:f,id:u,fullWidth:y=!1}=t,p={id:n,paddingTop:l,paddingBottom:m,backgroundColor:a},o=Pt({entryId:f??"",fieldId:u??"statistic"});return e.jsx(ft,{...p,children:e.jsx("div",{className:ee("statistic",{[`common__background-color__${a}`]:a,"full-width-override":y}),children:e.jsx(Qt,{inspectorProps:o,children:e.jsxs("div",{className:"statistic__content",children:[e.jsxs("div",{className:"statistic__content-wrapper",children:[e.jsxs("div",{className:"statistic__content__main",children:[i&&e.jsx("p",{className:"statistic__content__eyebrow",children:i}),e.jsx("div",{className:"statistic__statistic-wrapper statistic__statistic-wrapper--mobile",children:e.jsx("span",{className:"statistic__statistic__number",children:d})}),r&&e.jsx("h2",{className:"statistic__content__title",children:r})]}),e.jsx("div",{className:"statistic__statistic-wrapper statistic__statistic-wrapper--desktop",children:e.jsx("span",{className:"statistic__statistic__number",children:d})})]}),(s||a==="blue"||a==="midnight-900")&&e.jsx("div",{className:"statistic__footnote",children:e.jsx("p",{children:s||"SOURCE: TECHVALIDATE SURVEY OF 12 USERS OF PREQIN"})})]})})})})},Zt=({tags:t,children:n})=>{const{user:i}=Vt(),r=v.useMemo(()=>t?.includes("subpro")?!!i?.isProUser:t?.includes("subpublic")?!i:!0,[t,i]);return e.jsx(e.Fragment,{children:r&&n})},$e={"primary fuchsia":"primary-fuchsia","primary midnightblue":"primary-midnightblue","primary stone":"primary-stone","secondary fuchsia":"secondary-fuchsia","secondary midnightblue":"secondary-midnightblue","secondary stone":"secondary-stone"},Xt={button:"btn",link:"link"},fe=({cta:t,className:n,onClick:i})=>{const{langCode:r}=we();return e.jsx("div",{className:ee("common__content-area__buttons",n),children:t?.map((s,d)=>{const a=s?.type?.toLowerCase()&&Xt[s.type.toLowerCase()];let l=s.target;l||(l=s.openLinkInANewTab?"_blank":"_self");const m=Je(s?.href,r),f=m?.includes("lb-mode=overlay"),u=f?m?.replace(/[?&]lb-mode=overlay/,"").replace(/&$/,""):void 0;return e.jsx(Zt,{tags:s.tags,children:e.jsxs("div",{className:ee("button",{button__wrap:a==="link"}),children:[i?e.jsx("button",{className:`${a} ${a}-${s.style?$e[s.style.toLowerCase()]:""}`,"data-tracking-id":s.id?.trim().toLowerCase().replace(/\W/gi,"-"),onClick:i,children:s.label}):e.jsx("a",{href:f?"#":m,target:f?void 0:l,className:`${a} ${a}-${s.style?$e[s.style.toLowerCase()]:""}`,"data-tracking-id":s.id&&s.id.trim().toLowerCase().replace(/\W/gi,"-"),rel:Qe(s.isSponsoredContent,s.addNoFollow),...f&&{"data-lookbook-overlay-href":u,"data-lookbook-bg-click-close":!0},children:s.label}),a==="link"&&e.jsx("span",{className:`link-arrow-${s.style?$e[s.style.toLowerCase()]:""}`})]})},`${s.name}-${d}`)})})};function en(){const{innerWidth:t,innerHeight:n}=window;return{width:t,height:n}}function tn(){const[t,n]=v.useState();return v.useEffect(()=>{function i(){n(en())}return window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),t&&t.width<=768}const ne=t=>{const{url:n,altText:i,classNames:r,height:s,width:d,contentType:a,videoAutoplay:l=!0,assetUrl:m,openLinkInANewTab:f,isSponsoredContent:u,addNoFollow:y}=t,o=tn()&&n.mobileURL?n.mobileURL:n?.desktopURL,A=a&&/video\/.*/.test(a),_=d==="672",h=()=>
1{if(!_&&d)return{width:`${d}%`,display:"block",margin:"auto"}};let g=a==="image/svg+xml"?o:o+"?fm=webp";s&&_&&a!=="image/svg+xml"&&(g+=`&w=${d}&h=${s}`);const L=()=>{const j=e.jsxs("picture",{children:[e.jsx("source",{srcSet:g,type:"image/webp"}),e.jsx("img",{loading:"lazy",src:o,alt:i??"",className:r,style:h()})]});return m?e.jsx("a",{href:m,target:f?"_blank":void 0,rel:Qe(u,y),children:j}):j};return e.jsx(e.Fragment,{children:A?e.jsx(Ye,{src:Ke(g??""),autoplay:l,muted:l,className:r}):e.jsx(L,{})})},G=t=>St.getProps({entryId:t.entryId??"",fieldId:t.fieldId}),Y=({inspectorProps:t,children:n})=>{const i=v.Children.toArray(n)[0];return v.isValidElement(i)?v.cloneElement(i,{...t??{}}):null},nn=t=>{const{eyebrow:n,title:i,id:r,topPadding:s,bottomPadding:d,backgroundColor:a,imageList:l,icon:m,cta:f,content:u,entryId:y}=t,p={id:r,paddingTop:s,paddingBottom:d,backgroundColor:a},[o,A]=v.useState(0),[_,h]=v.useState(!1),g=v.useRef(0),L=v.useRef(null),j=v.useRef(null),R=v.useRef(null),[E,W]=v.useState(null),[C,ce]=v.useState(null),U=G({entryId:y??"",fieldId:r??""});v.useLayoutEffect(()=>{R.current==="prev"?L.current?.focus():R.current==="next"&&j.current?.focus()},[o,_]),v.useEffect(()=>(W(document.getElementById("slider")),ce(document.getElementById("mainSlider")),window.addEventListener("resize",oe),()=>{window.removeEventListener("resize",oe)}),[]);function oe(){C!==null&&E!==null&&(E.getBoundingClientRect().right>C.getBoundingClientRect().right-32?h(!0):h(!1))}const xe=()=>{R.current="prev",h(!1),g.current>0&&(document.getElementsByClassName("carousel__images--mainSlider")[0].getBoundingClientRect().left+258>0?(A(0),g.current=0):(A(D=>D+258),g.current=g.current-1))},he=()=>{R.current="next";const D=document.getElementsByClassName("carousel__images--image "),ge=document.getElementsByClassName(" carousel__images--slider")[0],je=document.getElementsByClassName("carousel__images--mainSlider")[0];if(D[D.length-1].getBoundingClientRect().right-32>ge.getBoundingClientRect().right){if(g.current=g.current+1,l?.length>g.current&&!_){h(!0);const ye=je.getBoundingClientRect().right-ge.getBoundingClientRect().right;ye>258?A(ve=>ve-258):A(ve=>ve-ye)}setTimeout(()=>oe(),100)}else h(!0)};return e.jsx(te,{...p,children:e.jsx(Y,{inspectorProps:U,children:e.jsxs("div",{className:ee({"carousel d-flex":!0,"flip-carousel-right":t.flipContent==="right"}),children:[e.jsxs("div",{className:"carousel__content common__spacing",children:[m&&e.jsx(ne,{url:m.url,classNames:"column-content--icon common__content-area__icon",altText:m.altText,contentType:m.contentType}),n&&e.jsx("div",{className:"common__content-area__eyebrow",children:n}),i&&e.jsx("h1",{className:"carousel__content--title",children:i}),u&&e.jsx("div",{className:"common__content-area__content",children:q.documentToReactComponents(u,X)}),f&&e.jsx(fe,{cta:f})]}),e.jsxs("div",{className:"carousel__images common__spacing",children:[e.jsxs("div",{className:"row mt-0 carousel__images--arrows",children:[e.jsx("div",{className:"col-6 pl-0",children:e.jsx("button",{ref:L,type:"button","aria-label":"Previous slide",disabled:g.current===0,className:`carousel__arrow-btn float-start ${g.current===0?"svg-disable":""}`,onClick:xe,children:e.jsx("svg",{"aria-hidden":"true",focusable:"false",width:"24",height:"20",viewBox:"0 0 24 20",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M14 0L12.57 1.393L20.15 9H0V11H20.15L12.57 18.573L14 20L24 10L14 0Z",fill:`${a==="blue"?"#F9F8F7":"#1B0757"}`})})})}),e.jsx("div",{className:"col-6 pr-0",children:e.jsx("button",{ref:j,type:"button","aria-label":"Next slide",disabled:_,className:`carousel__arrow-btn float-end ${_?"svg-disable":""}`,onClick:he,children:e.jsx("svg",{"aria-hidden":"true",focusable:"false",width:"24",height:"20",viewBox:"0 0 24 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M10 20L11.41 18.59L3.83 11H24V9H3.83L11.41 1.41L10 0L0 10L10 20Z",fill:`${a==="blue"?"#F9F8F7":"#1B0757"}`})})})})]}),e.jsx("div",{className:" carousel__images--slider",id:"slider",children:e.jsx("div",{className:"carousel__images--mainSlider",id:"mainSlider",style:{marginLeft:`${o}px`,width:l?.length?`${l?.length*258}px`:void 0},children:l.map((D,ge)=>D&&e.jsx("div",{className:"carousel__images--image d-inline-block",children:e.jsx("a",{href:`${D.assetUrl}`,target:D.openLinkInANewTab?"_blank":"_self",rel:Qe(D.isSponsoredContent,D.addNoFollow),children:e.jsx(ne,{url:D.url,altText:D.altText,contentType:D.contentType})})},`${D?.url?.desktopURL}`+ge))})})]})]})})})},rn=({props:t})=>{const{langCode:n}=we(),{title:i,backgroundColor:r,url:s,entryId:d,id:a}=t,[l,m]=v.useState(),f=G({entryId:d??"",fieldId:a??"title"});return v.useEffect(()=>{const u=()=>{const y=document.getElementById("cta-grid-item")?.clientWidth;y&&m(y)};return u(),window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[]),e.jsx(Y,{inspectorProps:f,children:e.jsx("div",{className:"common__spacing col",children:e.jsx("a",{id:"cta-grid-item",href:Je(s,n),className:ee("cta-grid-item",{[`common__background-color__${r?.backgroundColor}`]:r?.backgroundColor}),style:{height:l+"px"},children:e.jsx("div",{className:"cta-grid-item-title",children:i})})})})},on=t=>{const{id:n,title:i,eyebrow:r,description:s,backgroundColor:d,topPadding:a,bottomPadding:l,ctaGridItemList:m}=t,f={id:n,paddingTop:a,paddingBottom:l,backgroundColor:d};return e.jsx(te,{...f,children:e.jsxs("div",{className:"CTA-grid-item-wrapper",children:[e.jsxs("div",{className:"CTA-grid-item-wrapper--content common__spacing",children:[r&&e.jsx("div",{className:"common__content-area__eyebrow",children:r}),i&&e.jsx("h2",{className:"sectionheader__title",children:i}),s&&e.jsx("div",{className:"content-image__content__content",children:s})]}),e.jsx("div",{children:e.jsx("div",{className:"row row-cols-2 row-cols-md-4 row-cols-lg-4",children:m&&m.map((u,y)=>u&&e.jsx(rn,{props:u},(u.id,y)))})})]})})},sn=t=>{const{cta:n,image:i,icon:r,des:s,eyebrow:d,title:a,height:l,date:m,iframe:f,entryId:u,id:y,topIcon:p,contentBlockTitle:o}=t,A=G({entryId:u??"",fieldId:y??""});return e.jsx(Y,{inspectorProps:A,children:e.jsxs("div",{className:"column__content--section",children:[e.jsx("div",{className:"column__content--image",children:i&&e.jsx(ne,{url:i.url,altText:i.altText,classNames:`image-${l}`,contentType:i.contentType})}),f?.iFrameLink&&e.jsx("div",{className:"column__content--iframe responsive-iframe",children:e.jsx(ht,{template:"",iframeLink:f.iFrameLink,title:f.title,aspectRatio:f.aspectRatio,paddingTop:f.paddingTop,paddingBottom:f.paddingBottom,autoplay:f.autoplay,muteOnAutoplay:f.muteOnAutoplay,hideControls:f.hideControls,thumbnailUrl:f.thumbnail?.fields?.file?.url,disableContainer:!0})}),e.jsxs("div",{className:"column__content--content",children:[p&&e.jsx(ne,{url:p.url,classNames:"column-content--icon common__content-area__icon",contentType:p.contentType,altText:p.altText}),r&&e.jsx(ne,{url:r.url,classNames:"column-content--icon common__content-area__icon",contentType:r.contentType,altText:r.altText}),d&&e.jsx("div",{className:"common__content-area__eyebrow",children:d}),a&&e.jsx("h2",{className:"column__content--content-title",children:a}),o&&e.jsx("div",{className:"column__content--content-title",children:o.content?e.jsx(e.Fragment,{children:q.documentToReactComponents(o,X)}):e.jsx(e.Fragment,{children:o})}),s&&e.jsx("div",{className:"common__content-area__content",children:s.content?e.jsx(e.Fragment,{children:q.documentToReactComponents(s,X)}):e.jsx(e.Fragment,{children:s})}),m&&e.jsx("p",{className:"column__content--content-date",children:Ht(m)}),n&&e.jsx(fe,{className:"stacked-items",cta:n})]})]})})},_t=t=>{const{id:n,backgroundColor:i,topPadding:r,bottomPadding:s,columnContentList:d,numberOfColumns:a,eyebrow:l,title:m,description:f,textAlignment:u,cta:y,entryId:p}=t,o={id:n,paddingTop:r,paddingBottom:s,backgroundColor:i,entryId:p},A=G({entryId:p??"",fieldId:"title"}),_=G({entryId:p??"",fieldId:"eyebrow"}),h=G({entryId:p??"",fieldId:"description"});return e.jsx(te,{...o,children:e.jsx("div",{className:`column-content-wrapper ${ee({[`common__background-color__${i}`]:i})}`,children:e.jsxs("div",{className:"row common__spacing common__content-area",children:[l&&e.jsx("div",{className:"common__content-area",children:e.jsx(Y,{inspectorProps:_,children:e.jsx("div",{className:"common__content-area__eyebrow",children:l})})}),e.jsx(Y,{inspectorProps:A,children:m&&e.jsx("h2",{className:"sectionheader__title",children:m})}),f&&e.jsx(Y,{inspectorProps:h,children:e.jsx("div",{className:"common__content-area__content",children:q.documentToReactComponents(f,X)})}),d&&d.map((g,L)=>e.jsx("div",{className:ee("column__content","common__spacing",{"column__content--4":!a,"column__content--2":a===2,"column__content--3":a===3,[`col-lg-${12/Number(a)}
1`]:(a??0)>0,[`column__content--${u}`]:u}),children:e.jsx(sn,{...g,height:t?.height})},`${L}${g?.id}`)),e.jsx("div",{className:"column__content-areaCTA",style:{verticalAlign:"middle"},children:y&&e.jsx(fe,{cta:y})})]})})})},an=t=>{const{id:n,quote:i,author:r,authorTitle:s,backgroundColor:d,image:a,company:l,topPadding:m,bottomPadding:f,entryId:u}=t,y={id:n,paddingTop:m,paddingBottom:f,backgroundColor:d},p=G({entryId:u??"",fieldId:n??"qoute"}),o=d==="blue"?"#ffffff":"#1b0757";return e.jsx(te,{...y,children:e.jsx("div",{className:"testimonial",children:a&&a.url?e.jsxs("div",{className:"row testimonial__headshot__wrapper",children:[e.jsxs("div",{className:"testimonial__headshot-content common__spacing",children:[e.jsx("div",{className:"testimonial__headshot-content__quote",children:e.jsx("div",{children:i})}),e.jsxs("div",{className:"testimonial__headshot-content__author",children:[e.jsx("div",{className:"testimonial__headshot-content__author-name",children:r}),e.jsxs("div",{className:"testimonial__headshot-content__author-title",children:[s,l&&e.jsx("span",{children:","})," ",l]})]})]}),e.jsx("div",{className:"testimonial__headshot-image common__spacing",children:e.jsx(ne,{url:a.url,altText:a.altText||`${l||r||"Company"} logo`,contentType:a.contentType})})]}):e.jsx("div",{className:"row",children:e.jsxs("div",{className:"testimonial__quote__wrapper common__spacing",children:[e.jsx("div",{className:"testimonial__quote-thumbnail",children:e.jsx("div",{className:"testimonial__quote-thumbnail__quoteMark",children:e.jsx("svg",{width:"63",height:"47",viewBox:"0 0 63 47",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("path",{d:"M15.15 46.8C12.05 46.8 9.4 46.05 7.2 44.55C5.1 42.95 3.5 40.85 2.4 38.25C1.3 35.65 0.75 32.85 0.75 29.85C0.75 25.65 1.6 21.7 3.3 18C5 14.2 7.25 10.8 10.05 7.8C12.95 4.8 16.25 2.44999 19.95 0.749992L28.8 7.8C26.1 8.8 23.6 10.15 21.3 11.85C19.1 13.45 17.2 15.25 15.6 17.25C14.1 19.25 12.95 21.3 12.15 23.4L12.9 23.85C13.4 23.45 14 23.15 14.7 22.95C15.4 22.75 16.4 22.65 17.7 22.65C19.3 22.65 20.9 23.1 22.5 24C24.1 24.8 25.45 26.05 26.55 27.75C27.65 29.35 28.2 31.4 28.2 33.9C28.2 36.6 27.6 38.9 26.4 40.8C25.2 42.7 23.6 44.2 21.6 45.3C19.7 46.3 17.55 46.8 15.15 46.8ZM48.75 46.8C45.65 46.8 43 46.05 40.8 44.55C38.7 42.95 37.1 40.85 36 38.25C34.9 35.65 34.35 32.85 34.35 29.85C34.35 25.65 35.2 21.7 36.9 18C38.6 14.2 40.85 10.8 43.65 7.8C46.55 4.8 49.85 2.44999 53.55 0.749992L62.55 7.8C59.85 8.8 57.35 10.15 55.05 11.85C52.75 13.45 50.8 15.25 49.2 17.25C47.7 19.25 46.55 21.3 45.75 23.4L46.5 23.85C47 23.45 47.6 23.15 48.3 22.95C49 22.75 50 22.65 51.3 22.65C52.9 22.65 54.5 23.1 56.1 24C57.7 24.8 59.05 26.05 60.15 27.75C61.25 29.35 61.8 31.4 61.8 33.9C61.8 36.6 61.2 38.9 60 40.8C58.9 42.7 57.35 44.2 55.35 45.3C53.35 46.3 51.15 46.8 48.75 46.8Z",fill:o})})})}),e.jsx(Y,{inspectorProps:p,children:e.jsxs("div",{className:"testimonial__quote-content",children:[e.jsx("div",{className:"testimonial__quote-content__quote",children:i}),e.jsx("hr",{}),e.jsxs("div",{className:"testimonial__quote-content__author",children:[r,s&&e.jsx("span",{children:","})," ",s,l&&e.jsx("span",{children:","})," ",l]})]})})]})})})})},bt=t=>{const{id:n,eyebrow:i,title:r,content:s,backgroundColor:d,topPadding:a,bottomPadding:l,image:m,cta:f,textAlignment:u,icon:y,iFrame:p,className:o,entryId:A}=t,_={id:n,backgroundColor:d,paddingTop:a,paddingBottom:l,className:o},h=G({entryId:A??"",fieldId:n??""});return e.jsx(te,{..._,children:e.jsx(Y,{inspectorProps:h,children:e.jsxs("div",{className:ee("sectionheader__wrapper common__spacing common__content-area",[`sectionheader__position--${u}`]),children:[y&&e.jsx("img",{className:"column-content--icon common__content-area__icon",src:y?.url?.desktopURL,alt:y?.altText??""}),i&&e.jsx("div",{className:"common__content-area__eyebrow",children:i}),r&&e.jsx("h2",{className:"sectionheader__title",children:r}),s&&e.jsx("div",{className:ee("sectionheader__content",{"sectionheader__position--center":u==="center"}),children:q.documentToReactComponents(s,X)}),m&&e.jsx(ne,{url:m.url,altText:m.altText,classNames:"common__spacing",contentType:m.contentType}),f&&e.jsx("div",{className:"common__spacing--y",children:e.jsx(fe,{cta:f})}),p?.iFrameLink&&e.jsx("div",{className:"common__iframe",children:gt(p.iFrameLink)?e.jsx(Ye,{src:Ke(p.iFrameLink),title:p.title,controls:!p.hideControls,autoplay:p.autoplay,muted:p.muteOnAutoplay,loop:p.autoplay&&p.hideControls,poster:p.thumbnail?.fields?.file?.url}):e.jsx("iframe",{src:p.iFrameLink,title:p.title,allow:"autoplay; fullscreen",scrolling:"no",width:"500",height:"281"})})]})})})},cn=t=>{const{id:n,title:i,content:r,cta:s,topPadding:d,bottomPadding:a,backgroundColor:l,entryId:m}=t,f={id:n,paddingTop:d,paddingBottom:a,backgroundColor:l},u=G({entryId:m??"",fieldId:n??""});return e.jsx(te,{...f,children:e.jsx(Y,{inspectorProps:u,children:e.jsx("div",{className:"inline-cta",children:e.jsxs("div",{className:"row",children:[e.jsxs("div",{className:"inline-cta__content common__spacing common__content-area",children:[i&&e.jsx("div",{className:"inline-cta__content__title",children:i}),r&&e.jsx("div",{className:"inline-cta__content__content",children:q.documentToReactComponents(r,X)})]}),s&&e.jsx("div",{className:"inline-cta__buttons common__spacing",children:e.jsx(fe,{cta:s})})]})})})})},Te=t=>e.jsx(e.Fragment,{children:t.prop?e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{id:"Chevron/right",clipPath:"url(#clip0_1536_5)",children:e.jsx("path",{id:"Vector",d:"M22 16L12 26L10.6 24.6L19.2 16L10.6 7.4L12 6L22 16Z",fill:"#1E2230"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1536_5",children:e.jsx("rect",{width:"32",height:"32",fill:"white"})})})]}):e.jsxs("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e.jsx("g",{id:"Chevron/left",clipPath:"url(#clip0_1536_7)",children:e.jsx("path",{id:"Vector",d:"M10 16L20 6L21.4 7.4L12.8 16L21.4 24.6L20 26L10 16Z",fill:"#1E2230"})}),e.jsx("defs",{children:e.jsx("clipPath",{id:"clip0_1536_7",children:e.jsx("rect",{width:"32",height:"32",fill:"white"})})})]})}),xt=v.createContext(""),ln=t=>{const{id:n,topPadding:i,backgroundColor:r,tabsList:s,defaultIndex:d=0,commonClass:a,commonStyleContent:l,style:m="",commonCount:f=!1,commonHeading:u,entryId:y}=t,[p,o]=v.useState(0),{langCode:A}=we(),[_,h]=v.useState("0px"),[g,L]=v.useState([]),j=G({entryId:y??"",fieldId:n??""});return v.useEffect(()=>{let R=0;s?.forEach(E=>{const C=11.4*(E.tabTitle?.length??0);R=R+C}),h(R+s.length*5+"px")},[]),v.useEffect(()=>{setTimeout(()=>{o(document.getElementsByClassName("showTabContentData")[0]?.childNodes.length)})},[_,t,g]),e.jsx(e.Fragment,{children:e.jsxs(xt.Provider,{value:m,children:[e.jsx(Y,{inspectorProps:j,children:e.jsx("div",{className:`padding-top-${i} Tab__Link--component Tab__Link--component${m} Tab__Component common__background-color__${r}`,children:e.jsx(dn,{props:s,scrollWidth:_,backgroundColor:r,onSelectedTab:R=>L(R),defaultIndex:d})})}),e.jsx(te,{id:n,paddingTop:i,children:e.jsx("div",{className:`position-relative ${a||""}`,style:l,children:s?.map((R,E)=>e.jsx(un,{props:R,activeTab:g[E],contentCount:p,commonHeading:u,commonCount:f,scrollWidth:_},`${R.internalName}-${E}`))})})]})})};function dn(t){const n=v.useContext(xt),[i,r]=v.useState(!1),s=t.props,[d,a]=v.useState(Array(s.length).map(()=>!1)),l=J.useRef(null),m=J.useRef(null),f=J.useRef(null),u=J.useRef([]);function y(h){const g=Array(s.length);g[h]=!0,t.onSelectedTab(g),a(g)}v.useEffect(()=>{setTimeout(()=>{p()},200),$(l.current,"none","0")}
1,[t.scrollWidth]),v.useEffect(()=>(window.addEventListener("resize",function(){p()}),()=>{window.removeEventListener("resize",p)}),[]);function p(){const h=document.getElementById("navbar");h!==null&&f.current!==null&&f.current.getBoundingClientRect().width>h.getBoundingClientRect().width?r(!1):r(!0)}function o(){$(l.current,"block","1");let h=0,g=0;const L=(j,R,E)=>{const W=j.getBoundingClientRect().right,C=j.getBoundingClientRect().left;return W>E?(h=R,$(l.current,"block","1"),g=C<E?W-E+33:j.getBoundingClientRect().width+33,!0):!1};for(let j=0;j<u.current.length;j++){const R=u.current?.[j];if(!R)continue;const E=f.current?.getBoundingClientRect().right;if(E&&L(R,j,E))break}f.current&&(f.current.scrollLeft=f.current.scrollLeft===0?g:f.current.scrollLeft+g),(g===0||h===u.current.length-1)&&$(m.current,"none","0")}function A(){let h=0,g=0;const L=(j,R,E)=>{const W=j.getBoundingClientRect().right,C=j.getBoundingClientRect().left;return C<E?(g=R,$(m.current,"block","1"),W>E?(h=-C+E+33,!0):(h=j.getBoundingClientRect().width+33,!0)):!1};for(let j=u.current.length-1;j>=0;j--){const R=u.current?.[j];if(!R)continue;const E=f.current?.getBoundingClientRect().left;if(E&&L(R,j,E))break}f.current&&(f.current.scrollLeft=f.current.scrollLeft===0?-h:f.current.scrollLeft-h),(h===0||g===0)&&$(l.current,"none","0")}function _(){const h=u.current,g=f.current,L=h[h.length-1]?.getBoundingClientRect().right,j=g?.getBoundingClientRect().right;h&&g&&L&&L<j?$(m.current,"none","0"):$(m.current,"block","1");const R=h[0]?.getBoundingClientRect().left,E=g?.getBoundingClientRect().left;R&&R>=E?$(l.current,"none","0"):$(l.current,"block","1")}return v.useEffect(()=>{y(t?.defaultIndex?t.defaultIndex:0)},[t?.defaultIndex]),e.jsx(e.Fragment,{children:n==="pills"?e.jsx("div",{className:`tabslist__tabs--heightMimic common__background-color__${t.backgroundColor} tabslist__tabs--heightMimic-${n}`,children:e.jsx(e.Fragment,{children:e.jsx("div",{className:"pillList",children:s.map((h,g)=>e.jsx("div",{className:ee({"pillList__tabs--tab":!0,"pillList__tabs--tabActive":d[g]}),onClick:L=>{L.currentTarget.classList.contains("Pilllist__tabs--tabActive")||y(g)},children:e.jsx("span",{children:h.tabTitle})},h.internalName))})})}):e.jsx("div",{className:`tabslist__tabs--heightMimic common__background-color__${t.backgroundColor} tabslist__tabs--heightMimic-${n}`,children:e.jsx("div",{className:"position-relative",children:e.jsxs("div",{className:"tabslist__tabs",children:[e.jsx("div",{ref:l,className:"position-absolute carousel-tabbuttons carousel-tabbuttons__previous",style:{opacity:i?1:0},onClick:()=>A(),children:e.jsx(Te,{prop:!1})}),e.jsx("div",{ref:f,className:"tabslist__tabs--scroller",onScrollCapture:()=>_(),children:e.jsx("div",{id:"navbar",style:{width:t.scrollWidth},children:s?.map((h,g)=>e.jsx("button",{className:ee({"tabslist__tabs--tab":!0,"tabslist__tabs--tabActive":d[g],"tabslist__tabs--disabled":!h.tabContent}),onClick:L=>{L.currentTarget.classList.contains("tabslist__tabs--tabActive")||Number(h?.tabContent?.length)>0&&y(g)},children:e.jsx("span",{children:h.tabTitle})},h.internalName))})}),e.jsx("div",{ref:m,className:"position-absolute-r-t-0 carousel-tabbuttons carousel-tabbuttons__next",style:{opacity:i?1:0},onClick:()=>o(),children:e.jsx(Te,{prop:!0})})]})})})})}function un(t){const n=t.props,[i,r]=v.useState([]);return v.useEffect(()=>{const s=document.getElementsByClassName("tabslist__tabs--tabActive")[0],d=document.getElementsByClassName("loadlesspartner")[0],a=document.getElementsByClassName("loadmorepartner")[0],l=document.getElementsByClassName("loadpartner")[0];n?.tabContent?r(pt(n?.tabContent).map(m=>({...m}))):r([{template:Z.MODULES.COMPANY,name:"",image:null}]),n.tabTitle===s?.innerText&&(n.totalCount?n.totalCount===n.tabContent?.length?n.totalCount<=3?(d&&(d.style.display="none"),a&&(a.style.display="none")):d&&(d.style.display="flex"):n.totalCount>Number(n.tabContent?.length)?(a&&(a.style.display="flex"),l&&(l.style.display="flex")):d&&(d.style.display="none"):l&&(l.style.display="none"))},[t]),e.jsx(e.Fragment,{children:e.jsxs("div",{className:ee({hideTabContnetData:!t.activeTab,showTabContentData:t.activeTab,tabs__Container:!0}),children:[t.commonHeading||t.commonCount?e.jsx(e.Fragment,{children:n.tabContent?e.jsxs("div",{className:"tab__detail",children:[t.commonHeading?e.jsx("div",{children:t.commonHeading}):null,t.scrollWidth!=="0px"&&t.commonCount?e.jsx(e.Fragment,{children:n?.tabContent?e.jsx(e.Fragment,{children:e.jsxs("div",{className:"partner__count",children:["Showing ",e.jsxs("strong",{children:["1 -",t.contentCount-1]})," of"," ",e.jsx("strong",{children:n?.totalCount})," partners"]})}):null}):null]}):null}):null,i.length>0&&i.map((s,d)=>e.jsx("div",{children:e.jsx(jt,{data:s},d+s.template)},`${d}-${s.template}`))]})})}const mn=t=>{const{id:n,eyebrow:i,title:r,content:s,cta:d,image:a,icon:l,backgroundColor:m,topPadding:f,bottomPadding:u,contentPosition:y,iframe:p,entryId:o}=t,A={id:n,paddingTop:f,paddingBottom:u,backgroundColor:m},_=G({entryId:o??"",fieldId:n??""}
1),h="672",g="560",L=a?.width??h,{langCode:j}=we(),R=j===Z.LOCALE_KOREA,E=j===Z.LOCALE_CHINA,W=j===Z.LOCALE_JAPAN,C=!!a,ce=!!p?.iFrameLink,U=!!(C&&(R&&a.tags?.includes(Z.TAG.language.korean)||E&&a.tags?.includes(Z.TAG.language.chinese)||W&&a.tags?.includes(Z.TAG.language.japanese))),oe=!!(ce&&(R&&p.tags?.includes(Z.TAG.language.korean)||E&&p.tags?.includes(Z.TAG.language.chinese)||W&&p.tags?.includes(Z.TAG.language.japanese)));let xe=C,he=ce&&!C;return C&&ce&&(xe=U||!U&&!oe,he=oe&&!U),e.jsx(te,{...A,children:e.jsx(Y,{inspectorProps:_,children:e.jsx("div",{className:"content-image",children:e.jsxs("div",{className:ee("row",{"content-image__content__left":y==="left"}),children:[e.jsxs("div",{className:"content-image__image common__spacing",children:[C&&xe&&e.jsx(ne,{url:a.url,classNames:"common__image",altText:a.altText,contentType:a.contentType,width:L,height:g,videoAutoplay:a.videoAutoplay,openLinkInANewTab:a.openLinkInANewTab,isSponsoredContent:a.isSponsoredContent,addNoFollow:a.addNoFollow,assetUrl:a.assetUrl}),ce&&he&&e.jsx("div",{className:"common__iframe",children:gt(p.iFrameLink)?e.jsx(Ye,{src:Ke(p.iFrameLink),title:p.title,controls:!p.hideControls,autoplay:p.autoplay,muted:p.muteOnAutoplay,loop:p.autoplay&&p.hideControls,poster:p.thumbnail?.fields?.file?.url}):e.jsx("iframe",{src:p.iFrameLink,title:p.title,allow:"autoplay; fullscreen",scrolling:"no",width:"500",height:"281"})})]}),e.jsxs("div",{className:"content-image__content common__spacing common__content-area",children:[l&&e.jsx(ne,{url:l.url,classNames:"common__image common__content-area__icon",altText:l.altText,contentType:l.contentType,videoAutoplay:l.videoAutoplay}),i&&e.jsx("div",{className:"common__content-area__eyebrow",children:i}),r&&e.jsx("h2",{className:"content-image__content__title",children:r}),s&&e.jsx("div",{className:"common__content-area__content",children:q.documentToReactComponents(s,X)}),d&&e.jsx(fe,{cta:d})]})]})})})})};var We={exports:{}},ct;function fn(){return ct||(ct=1,(function(t){console.info(` 2IFRAME-RESIZER 3 4Iframe-Resizer 5 is now available via the following two packages: 5 6 * @iframe-resizer/parent 7 * @iframe-resizer/child 8 9Additionally their are also new versions of iframe-resizer for React, Vue, and jQuery. 10 11Version 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events. 12 13Please see https://iframe-resizer.com/upgrade for more details. 14`),(function(n){if(typeof window>"u")return;var i=0,r,s=!1,d=!1,a="message",l=a.length,m="[iFrameSizer]",f=m.length,u=null,y=window.requestAnimationFrame,p=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),o={},A=null,_=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){U("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}});function h(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function g(c,b,P){c.addEventListener(b,P,!1)}function L(c,b,P){c.removeEventListener(b,P,!1)}function j(){var c=["moz","webkit","o","ms"],b;for(b=0;b<c.length&&!y;b+=1)y=window[c[b]+"RequestAnimationFrame"];y?y=y.bind(window):C("setup","RequestAnimationFrame not supported")}function R(c){var b="Host page: "+c;return window.top!==window.self&&(b=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+c:"Nested host page: "+c),b}function E(c){return m+"["+R(c)+"]"}function W(c){return o[c]?o[c].log:s}function C(c,b){oe("log",c,b,W(c))}function ce(c,b){oe("info",c,b,W(c))}function U(c,b){oe("warn",c,b,!0)}function oe(c,b,P,N){N===!0&&typeof window.console=="object"&&console[c](E(b),P)}function xe(c){function b(){function x(){et(O),ye(I),be("onResized",O)}S("Height"),S("Width"),tt(x,O,"init")}function P(){var x=re.slice(f).split(":"),k=x[1]?parseInt(x[1],10):0,B=o[x[0]]&&o[x[0]].iframe,M=getComputedStyle(B);return{iframe:B,id:x[0],height:k+N(M)+F(M),width:x[2],type:x[3]}}function N(x){if(x.boxSizing!=="border-box")return 0;var k=x.paddingTop?parseInt(x.paddingTop,10):0,B=x.paddingBottom?parseInt(x.paddingBottom,10):0;return k+B}function F(x){if(x.boxSizing!=="border-box")return 0;var k=x.borderTopWidth?parseInt(x.borderTopWidth,10):0,B=x.borderBottomWidth?parseInt(x.borderBottomWidth,10):0;return k+B}function S(x){var k=Number(o[I]["max"+x]),B=Number(o[I]["min"+x]),M=x.toLowerCase(),V=Number(O[M]);C(I,"Checking "+M+" is in range "+B+"-"+k),V<B&&(V=B,C(I,"Set "+
14M+" to min value")),V>k&&(V=k,C(I,"Set "+M+" to max value")),O[M]=""+V}function ae(){function x(){function M(){var Q=0,ue=!1;for(C(I,"Checking connection is from allowed list of origins: "+B);Q<B.length;Q++)if(B[Q]===k){ue=!0;break}return ue}function V(){var Q=o[I]&&o[I].remoteHost;return C(I,"Checking connection is from: "+Q),k===Q}return B.constructor===Array?M():V()}var k=c.origin,B=o[I]&&o[I].checkOrigin;if(B&&""+k!="null"&&!x())throw new Error("Unexpected message received from: "+k+" for "+O.iframe.id+". Message was: "+c.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return!0}function _e(){return m===(""+re).slice(0,f)&&re.slice(f).split(":")[0]in o}function le(){var x=O.type in{true:1,false:1,undefined:1};return x&&C(I,"Ignoring init message from meta parent page"),x}function de(x){return re.slice(re.indexOf(":")+l+x)}function pe(x){C(I,"onMessage passed: {iframe: "+O.iframe.id+", message: "+x+"}"),be("onMessage",{iframe:O.iframe,message:JSON.parse(x)}),C(I,"--")}function Se(){var x=document.body.getBoundingClientRect(),k=O.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:k.height,iframeWidth:k.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(k.top-x.top,10),offsetLeft:parseInt(k.left-x.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}function Ce(x,k){function B(){se("Send Page Info","pageInfo:"+Se(),x,k)}Nt(B,32,k)}function Ae(){function x(V,Q){function ue(){o[M]?Ce(o[M].iframe,M):k()}["scroll","resize"].forEach(function(at){C(M,V+at+" listener for sendPageInfo"),Q(window,at,ue)})}function k(){x("Remove ",L)}function B(){x("Add ",g)}var M=I;B(),o[M]&&(o[M].stopPageInfo=k)}function Fe(){o[I]&&o[I].stopPageInfo&&(o[I].stopPageInfo(),delete o[I].stopPageInfo)}function Oe(){var x=!0;return O.iframe===null&&(U(I,"IFrame ("+O.id+") not found"),x=!1),x}function w(x){var k=x.getBoundingClientRect();return je(I),{x:Math.floor(Number(k.left)+Number(u.x)),y:Math.floor(Number(k.top)+Number(u.y))}}function T(x){function k(){u=Q,H(),C(I,"--")}function B(){return{x:Number(O.width)+V.x,y:Number(O.height)+V.y}}function M(){window.parentIFrame?window.parentIFrame["scrollTo"+(x?"Offset":"")](Q.x,Q.y):U(I,"Unable to scroll to requested position, window.parentIFrame not found")}var V=x?w(O.iframe):{x:0,y:0},Q=B();C(I,"Reposition requested from iFrame (offset x:"+V.x+" y:"+V.y+")"),window.top===window.self?k():M()}function H(){be("onScroll",u)===!1?ve():ye(I)}function K(x){function k(){var ue=w(Q);C(I,"Moving to in page link (#"+M+") at x: "+ue.x+" y: "+ue.y),u={x:ue.x,y:ue.y},H(),C(I,"--")}function B(){window.parentIFrame?window.parentIFrame.moveToAnchor(M):C(I,"In page link #"+M+" not found and window.parentIFrame not found")}var M=x.split("#")[1]||"",V=decodeURIComponent(M),Q=document.getElementById(V)||document.getElementsByName(V)[0];Q?k():window.top===window.self?C(I,"In page link #"+M+" not found"):B()}function ie(x){var k={};if(Number(O.width)===0&&Number(O.height)===0){var B=de(9).split(":");k={x:B[1],y:B[0]}}else k={x:O.width,y:O.height};be(x,{iframe:O.iframe,screenX:Number(k.x),screenY:Number(k.y),type:O.type})}function be(x,k){return he(I,x,k)}function Ne(){switch(o[I]&&o[I].firstRun&&ze(),O.type){case"close":{ge(O.iframe);break}case"message":{pe(de(6));break}case"mouseenter":{ie("onMouseEnter");break}case"mouseleave":{ie("onMouseLeave");break}case"autoResize":{o[I].autoResize=JSON.parse(de(9));break}case"scrollTo":{T(!1);break}case"scrollToOffset":{T(!0);break}case"pageInfo":{Ce(o[I]&&o[I].iframe,I),Ae();break}case"pageInfoStop":{Fe();break}case"inPageLink":{K(de(9));break}case"reset":{Xe(O);break}case"init":{b(),be("onInit",O.iframe);break}default:Number(O.width)===0&&Number(O.height)===0?U("Unsupported message received ("+O.type+"), this is likely due to the iframe containing a later version of iframe-resizer than the parent page"):b()}}function Be(x){var k=!0;return o[x]||(k=!1,U(O.type+" No settings for "+x+". Message was: "+re)),k}function Me(){for(var x in o)se("iFrame requested init",nt(x),o[x].iframe,x)}function ze(){o[I]&&(o[I].firstRun=!1)}var re=c.data,O={},I=null;re==="[iFrameResizerChild]Ready"?Me():_e()?(O=P(),I=O.id,o[I]&&(o[I].loaded=!0),!le()&&Be(I)&&
14(C(I,"Received: "+re),Oe()&&ae()&&Ne())):ce(I,"Ignored: "+re)}function he(c,b,P){var N=null,F=null;if(o[c])if(N=o[c][b],typeof N=="function")F=N(P);else throw new TypeError(b+" on iFrame["+c+"] is not a function");return F}function D(c){var b=c.id;delete o[b]}function ge(c){var b=c.id;if(he(b,"onClose",b)===!1){C(b,"Close iframe cancelled by onClose event");return}C(b,"Removing iFrame: "+b);try{c.parentNode&&c.parentNode.removeChild(c)}catch(P){U(P)}he(b,"onClosed",b),C(b,"--"),D(c),r&&(r.disconnect(),r=null)}function je(c){u===null&&(u={x:window.pageXOffset===n?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===n?document.documentElement.scrollTop:window.pageYOffset},C(c,"Get page position: "+u.x+","+u.y))}function ye(c){u!==null&&(window.scrollTo(u.x,u.y),C(c,"Set page position: "+u.x+","+u.y),ve())}function ve(){u=null}function Xe(c){function b(){et(c),se("reset","reset",c.iframe,c.id)}C(c.id,"Size reset requested by "+(c.type==="init"?"host page":"iFrame")),je(c.id),tt(b,c,"reset")}function et(c){function b(S){if(!c.id){C("undefined","messageData id not set");return}c.iframe.style[S]=c[S]+"px",C(c.id,"IFrame ("+F+") "+S+" set to "+c[S]+"px")}function P(S){!d&&c[S]==="0"&&(d=!0,C(F,"Hidden iFrame detected, creating visibility listener"),Tt())}function N(S){b(S),P(S)}var F=c.iframe.id;o[F]&&(o[F].sizeHeight&&N("height"),o[F].sizeWidth&&N("width"))}function tt(c,b,P){P!==b.type&&y&&!window.jasmine?(C(b.id,"Requesting animation frame"),y(c)):c()}function se(c,b,P,N,F){function S(){var pe=o[N]&&o[N].targetOrigin;C(N,"["+c+"] Sending msg to iframe["+N+"] ("+b+") targetOrigin: "+pe),P.contentWindow.postMessage(m+b,pe)}function ae(){U(N,"["+c+"] IFrame("+N+") not found")}function _e(){P&&"contentWindow"in P&&P.contentWindow!==null?S():ae()}function le(){function pe(){o[N]&&!o[N].loaded&&!de&&(de=!0,U(N,"IFrame has not responded within "+o[N].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))}F&&o[N]&&o[N].warningTimeout&&(o[N].msgTimeout=setTimeout(pe,o[N].warningTimeout))}var de=!1;N=N||P.id,o[N]&&(_e(),le())}
14function nt(c){return c+":"+o[c].bodyMarginV1+":"+o[c].sizeWidth+":"+o[c].log+":"+o[c].interval+":"+o[c].enablePublicMethods+":"+o[c].autoResize+":"+o[c].bodyMargin+":"+o[c].heightCalculationMethod+":"+o[c].bodyBackground+":"+o[c].bodyPadding+":"+o[c].tolerance+":"+o[c].inPageLinks+":"+o[c].resizeFrom+":"+o[c].widthCalculationMethod+":"+o[c].mouseEvents}function Ct(c){return typeof c=="number"}function it(c,b){function P(){function T(K){var ie=o[w][K];ie!==1/0&&ie!==0&&(c.style[K]=Ct(ie)?ie+"px":ie,C(w,"Set "+K+" = "+c.style[K]))}function H(K){if(o[w]["min"+K]>o[w]["max"+K])throw new Error("Value for min"+K+" can not be greater than max"+K)}H("Height"),H("Width"),T("maxHeight"),T("minHeight"),T("maxWidth"),T("minWidth")}function N(){var T=b&&b.id||_.id+i++;return document.getElementById(T)!==null&&(T+=i++),T}function F(T){if(typeof T!="string")throw new TypeError("Invaild id for iFrame. Expected String");return T===""&&(c.id=T=N(),s=(b||{}).log,C(T,"Added missing iframe ID: "+T+" ("+c.src+")")),T}function S(){switch(C(w,"IFrame scrolling "+(o[w]&&o[w].scrolling?"enabled":"disabled")+" for "+w),c.style.overflow=(o[w]&&o[w].scrolling)===!1?"hidden":"auto",o[w]&&o[w].scrolling){case"omit":break;case!0:{c.scrolling="yes";break}case!1:{c.scrolling="no";break}default:c.scrolling=o[w]?o[w].scrolling:"no"}}function ae(){(typeof(o[w]&&o[w].bodyMargin)=="number"||(o[w]&&o[w].bodyMargin)==="0")&&(o[w].bodyMarginV1=o[w].bodyMargin,o[w].bodyMargin=""+o[w].bodyMargin+"px")}function _e(){var T=o[w]&&o[w].firstRun,H=o[w]&&o[w].heightCalculationMethod in p;!T&&H&&Xe({iframe:c,height:0,width:0,type:"init"})}function le(){o[w]&&(o[w].iframe.iFrameResizer={close:ge.bind(null,o[w].iframe),removeListeners:D.bind(null,o[w].iframe),resize:se.bind(null,"Window resize","resize",o[w].iframe),moveToAnchor:function(T){se("Move to anchor","moveToAnchor:"+T,o[w].iframe,w)},sendMessage:function(T){T=JSON.stringify(T),se("Send Message","message:"+T,o[w].iframe,w)}})}function de(T){function H(){se("iFrame.onload",T,c,n,!0),_e()}function K(be){if(!c.parentNode)return null;var Ne=new be(function(Be){Be.forEach(function(Me){var ze=Array.prototype.slice.call(Me.removedNodes);ze.forEach(function(re){re===c&&ge(c)})})});return Ne.observe(c.parentNode,{childList:!0}),Ne}var ie=h();ie&&(r=K(ie)),g(c,"load",H),se("init",T,c,n,!0)}function pe(T){if(typeof T!="object")throw new TypeError("Options is not an object")}function Se(T){for(var H in _)Object.prototype.hasOwnProperty.call(_,H)&&(o[w][H]=Object.prototype.hasOwnProperty.call(T,H)?T[H]:_[H])}function Ce(T){return T===""||T.match(/^(about:blank|javascript:|file:\/\/)/)!==null?"*":T}function Ae(T){var H=T.split("Callback");if(H.length===2){var K="on"+H[0].charAt(0).toUpperCase()+H[0].slice(1);this[K]=this[T],delete this[T],U(w,"Deprecated: '"+T+"' has been renamed '"+K+"'. The old method will be removed in the next major version.")}}function Fe(T){T=T||{},o[w]=Object.create(null),o[w].iframe=c,o[w].firstRun=!0,o[w].remoteHost=c.src&&c.src.split("/").slice(0,3).join("/"),pe(T),Object.keys(T).forEach(Ae,T),Se(T),o[w]&&(o[w].targetOrigin=o[w].checkOrigin===!0?Ce(o[w].remoteHost):"*")}function Oe(){return w in o&&"iFrameResizer"in c}var w=F(c.id);Oe()?U(w,"Ignored iFrame, already setup."):(Fe(b),S(),P(),ae(),de(nt(w)),le())}function ke(c,b){A===null&&(A=setTimeout(function(){A=null,c()},b))}var Pe={};function Nt(c,b,P){Pe[P]||(Pe[P]=setTimeout(function(){Pe[P]=null,c()},b))}function Tt(){function c(){function F(S){function ae(le){return(o[S]&&o[S].iframe.style[le])==="0px"}function _e(le){return le.offsetParent!==null}o[S]&&_e(o[S].iframe)&&(ae("height")||ae("width"))&&se("Visibility change","resize",o[S].iframe,S)}Object.keys(o).forEach(function(S){F(S)})}function b(F){C("window","Mutation observed: "+F[0].target+" "+F[0].type),ke(c,16)}function P(){var F=document.querySelector("body"),S={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0},ae=new N(b);ae.observe(F,S)}var N=h();N&&P()}function Rt(c){function b(){ot("Window "+c,"resize")}C("window","Trigger event: "+c),ke(b,16)}function rt(){function c(){ot("Tab Visible","resize")}document.visibilityState!=="hidden"&&(C("document","Trigger event: Visibility change"),ke(c,16))}function ot(c,b){function P(N){return o[N]&&o[N].resizeFrom==="parent"&&o[N].autoResize&&!o[N].firstRun}
14Object.keys(o).forEach(function(N){P(N)&&se(c,b,o[N].iframe,N)})}function It(){g(window,"message",xe),g(window,"resize",function(){Rt("resize")}),g(document,"visibilitychange",rt),g(document,"-webkit-visibilitychange",rt)}function st(){function c(N,F){function S(){if(F.tagName){if(F.tagName.toUpperCase()!=="IFRAME")throw new TypeError("Expected <IFRAME> tag, found <"+F.tagName+">")}else throw new TypeError("Object is not a valid DOM element")}F&&(S(),it(F,N),P.push(F))}function b(N){N&&N.enablePublicMethods&&U("enablePublicMethods option has been removed, public methods are now always available in the iFrame")}var P;return j(),It(),function(F,S){switch(P=[],b(F),typeof S){case"undefined":case"string":{Array.prototype.forEach.call(document.querySelectorAll(S||"iframe"),c.bind(n,F));break}case"object":{c(F,S);break}default:throw new TypeError("Unexpected data type ("+typeof S+")")}return P}}function Lt(c){c.fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(P){function N(F,S){it(S,P)}return this.filter("iframe").each(N).end()}):ce("","Unable to bind to jQuery, it is not fully loaded.")}window.jQuery!==n&&Lt(window.jQuery),t.exports=st(),window.iFrameResize=window.iFrameResize||st()})()})(We)),We.exports}var hn=fn();const gn=Ge(hn);var He={exports:{}},qe,lt;function pn(){if(lt)return qe;lt=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return qe=t,qe}var Ue,dt;function _n(){if(dt)return Ue;dt=1;var t=pn();function n(){}function i(){}return i.resetWarningCache=n,Ue=function(){function r(a,l,m,f,u,y){if(y!==t){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}r.isRequired=r;function s(){return r}var d={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:s,element:r,elementType:r,instanceOf:s,node:r,objectOf:s,oneOf:s,oneOfType:s,shape:s,exact:s,checkPropTypes:i,resetWarningCache:n};return d.PropTypes=d,d},Ue}var ut;function bn(){return ut||(ut=1,He.exports=_n()()),He.exports}var xn=bn();const z=Ge(xn);var De,mt;function vn(){if(mt)return De;mt=1;var t=function(){};return De=t,De}var yn=vn();const wn=Ge(yn);function Re(){return Re=Object.assign?Object.assign.bind():function(t){for(var n=1;n<arguments.length;n++){var i=arguments[n];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},Re.apply(this,arguments)}function vt(t,n){if(t==null)return{};var i={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(n.indexOf(r)>=0)continue;i[r]=t[r]}return i}var jn=["autoResize","bodyBackground","bodyMargin","bodyPadding","checkOrigin","inPageLinks","heightCalculationMethod","interval","log","maxHeight","maxWidth","minHeight","minWidth","resizeFrom","scrolling","sizeHeight","sizeWidth","warningTimeout","tolerance","widthCalculationMethod","onClosed","onInit","onMessage","onResized"],Cn=(function(t){t.autoResize,t.bodyBackground,t.bodyMargin,t.bodyPadding,t.checkOrigin,t.inPageLinks,t.heightCalculationMethod,t.interval,t.log,t.maxHeight,t.maxWidth,t.minHeight,t.minWidth,t.resizeFrom,t.scrolling,t.sizeHeight,t.sizeWidth,t.warningTimeout,t.tolerance,t.widthCalculationMethod,t.onClosed,t.onInit,t.onMessage,t.onResized;var n=vt(t,jn);return n}),Nn=["title","forwardRef"],yt=function(n){var i=n.title,r=i===void 0?"iframe":i,s=n.forwardRef,d=vt(n,Nn),a=Cn(d),l=v.useRef(null),m=function(){var u;return wn(!(l!=null&&l.current),"[iframeSizerReact]["+(l==null||(u=l.current)==null?void 0:u.id)+"] Close event ignored, to remove the iframe update your React component"),!(l!=null&&l.current)};return v.useEffect(function(){var f=l.current;return gn(Re({},d,{onClose:m}),f),function(){var u;return f==null||(u=f.iFrameResizer)==null?void 0:u.removeListeners()}},[]),v.useImperativeHandle(s,function(){return{getIframeElement:function(){return l.current},resize:function(){return l.current.iFrameResizer.resize()},moveToAnchor:function(u){return l.current.iFrameResizer.moveToAnchor(u)},sendMessage:function(u,y){l.current.iFrameResizer.sendMessage(u,y)}}}),J.createElement("iframe",Re({title:r},a,{ref:l}))};yt.propTypes={title:z.string};const Tn=t=>{const{id:n,eyebrow:i,title:r,content:s,image:d,iframeFormUrl:a,backgroundColor:l,topPadding:m,bottomPadding:f,numberOfColumns:u,entryId:y}=t,p=r||s,o=u==="2"||u==="2 - Narrow",A={id:n,topPadding:m,backgroundColor:l,eyebrow:i,title:r,content:s},_=u==="2 - Narrow"?"iframeFormNarrow":"iframeForm",h=G({entryId:y??"",fieldId:n??""}),g=o||!p?{id:n,backgroundColor:l,paddingTop:m,paddingBottom:f}:{backgroundColor:l,paddingBottom:f},[L,j]=J.useState("");v.useEffect(()=>{j(`${a}?${Gt()}`)},[a]);const R=J.useRef(null);v.useEffect(()=>{R.current&&Yt(R.current.getIframeElement())}
14,[R.current]);const E=r?`${r} form`:"Embedded form",W=()=>e.jsx(yt,{id:n,title:E,forwardRef:R,src:L,scrolling:!1,style:{border:"0px",overflow:"hidden",width:"100%",height:1094}});return e.jsx(Y,{inspectorProps:h,children:o?e.jsx(te,{...g,children:e.jsx("div",{className:_,children:e.jsxs("div",{className:"row",children:[e.jsx("div",{className:`${_}__content common__spacing`,children:e.jsxs("div",{className:`${_}__content__wrapper`,children:[e.jsxs("div",{className:`${_}__content__wrapper-left${d?"":"_noimage"} common__content-area`,children:[i&&e.jsx("div",{className:"common__content-area__eyebrow",children:i}),r&&e.jsx("h2",{className:`${_}__content__title`,children:r}),s&&e.jsx("div",{className:"common__content-area__content",children:q.documentToReactComponents(s,X)})]}),d&&e.jsx("div",{className:`${_}__content__wrapper-right`,children:e.jsx(ne,{url:d.url,classNames:"common__image",altText:d.altText})})]})}),e.jsx("div",{className:`${_}__form common__spacing`,children:e.jsx("div",{className:`${_}__form__container`,children:e.jsx(W,{})})})]})})}):e.jsxs("div",{className:"iframeForm",children:[p&&e.jsx(bt,{...A}),e.jsx(te,{paddingTop:"none",backgroundColor:l,id:n,paddingBottom:f,children:e.jsx("div",{className:"common__spacing",children:e.jsx(W,{})})})]})})};function Rn(t,n){for(let i=0;i<t.length;i++)if(document.querySelector(n)&&document.querySelector(n)?.getBoundingClientRect()&&document.querySelector(n)?.getBoundingClientRect().bottom!==void 0){const r=document.getElementById(t[i]),s=document.querySelector(n)?.getBoundingClientRect().bottom,d=document.querySelector(n)?.children[0].getBoundingClientRect().height;if(r&&s&&d&&r.getBoundingClientRect().top-d<s&&r.getBoundingClientRect().bottom-d>s)return i}}const In={focusable:"false",preserveAspectRatio:"xMidYMid meet"};function Ln({width:t,height:n,viewBox:i=`0 0 ${t} ${n}`,...r}={}){const{tabindex:s,...d}=r,a={...In,...d,width:t,height:n,viewBox:i};return a["aria-label"]||a["aria-labelledby"]?(a.role="img",s!=null&&(a.focusable="true",a.tabindex=s)):a["aria-hidden"]=!0,a}const Ie=v.forwardRef(function({className:n,children:i,tabIndex:r,xmlns:s="http://www.w3.org/2000/svg",preserveAspectRatio:d="xMidYMid meet",...a},l){const{tabindex:m,...f}=Ln({...a,tabindex:r}),u=f;return n&&(u.className=n),m!=null&&(typeof m=="number"?u.tabIndex=m:u.tabIndex=Number(r)),l&&(u.ref=l),s&&(u.xmlns=s),d&&(u.preserveAspectRatio=d),J.createElement("svg",u,i)});Ie.displayName="Icon";Ie.propTypes={"aria-hidden":z.oneOfType([z.bool,z.oneOf(["true","false"])]),"aria-label":z.string,"aria-labelledby":z.string,children:z.node,className:z.string,height:z.oneOfType([z.number,z.string]),preserveAspectRatio:z.string,tabIndex:z.oneOfType([z.number,z.string]),viewBox:z.string,width:z.oneOfType([z.number,z.string]),xmlns:z.string};const En=J.forwardRef(function({children:n,size:i=16,...r},s){return i===16||i==="16"||i==="16px"?J.createElement(Ie,{width:i,height:i,ref:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",...r},e.jsx("path",{d:"M13,14H3c-0.6,0-1-0.4-1-1V3c0-0.6,0.4-1,1-1h5v1H3v10h10V8h1v5C14,13.6,13.6,14,13,14z"}),e.jsx("path",{d:"M10 1 10 2 13.3 2 9 6.3 9.7 7 14 2.7 14 6 15 6 15 1z"}),n):J.createElement(Ie,{width:i,height:i,ref:s,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",fill:"currentColor",...r},e.jsx("path",{d:"M26,28H6a2.0027,2.0027,0,0,1-2-2V6A2.0027,2.0027,0,0,1,6,4H16V6H6V26H26V16h2V26A2.0027,2.0027,0,0,1,26,28Z"}),e.jsx("path",{d:"M20 2 20 4 26.586 4 18 12.586 19.414 14 28 5.414 28 12 30 12 30 2 20 2z"}),n)}),wt=v.createContext(""),kn=t=>{const[n,i]=v.useState("0px"),{langCode:r}=we(),[s,d]=v.useState(),{id:a,topPadding:l,bottomPadding:m,backgroundColor:f,tabsList:u,entryId:y}=t,p=G({entryId:y??"",fieldId:a??""});return v.useEffect(()=>{window.addEventListener("scroll",()=>{const A=u.map(_=>_.url?.split("#")[1]??"");d(Rn(A,".tabslist__tabs--heightMimic"))});let o=0;u?.forEach(A=>{const h=11.4*(A.label?.length??0);o=o+h}),i(o+u.length*5+"px")},[]),e.jsx(wt.Provider,{value:a,children:e.jsx(Y,{inspectorProps:p,children:e.jsx("div",{className:`Tab__Link--component Tab__Component common__background-color__${t.backgroundColor} Sticky_tab`,children:e.jsx(Pn,{tabsList:u,scrollWidth:n,backgroundColor:f,scrolledTab:s})})})})};function Pn(t){const n=v.useContext(wt),[i,r]=v.useState(Array(t.tabsList.length)),[s,d]=v.useState(!1),a=J.useRef(null),l=J.useRef(null),m=J.useRef(null),f=J.useRef([]);function u(_){const h=Array(t.tabsList.length);_===void 0?t.tabsList.forEach((g,L)=>{if(window.location.pathname===g.url)return h[L]=!0,r(h),!1}
14):(h[_]=!0,r(h))}v.useEffect(()=>{u(t.scrolledTab),$(a.current,"none","0")},[t.scrolledTab]),v.useEffect(()=>{setTimeout(()=>{y()},200)},[t.scrollWidth]),v.useEffect(()=>(window.addEventListener("resize",function(){y()}),()=>{window.removeEventListener("resize",y)}),[]);function y(){const _=document.getElementById(n),h=m.current;_!==null&&h&&h.getBoundingClientRect().width>_.getBoundingClientRect().width?d(!1):d(!0)}function p(){$(a.current,"block","1");let _=0,h=0;for(let g=0;g<f.current.length;g++){const L=f.current?.[g],j=L.getBoundingClientRect().right,R=L.getBoundingClientRect().left,E=m.current?.getBoundingClientRect().right;if(E&&j>E)if(_=g,$(a.current,"block","1"),R<E){h=L?.getBoundingClientRect().right-E+33;break}else{h=L?.getBoundingClientRect().width+33;break}}m.current&&(m.current.scrollLeft===0?m.current.scrollLeft=h:m.current.scrollLeft+=h),(h===0||_===f.current.length-1)&&$(l.current,"none","0")}function o(){let _=0,h=0;for(let g=f.current.length-1;g>=0;g--){const L=f?.current[g],j=L.getBoundingClientRect().right,R=L.getBoundingClientRect().left,E=m.current?.getBoundingClientRect().left;if(E&&R<E)if(h=g,$(l.current,"block","1"),j>E){_=-L.getBoundingClientRect().left+E+33;break}else{_=L.getBoundingClientRect().width+33;break}}m.current&&(m.current.scrollLeft===0?m.current.scrollLeft=-_:m.current.scrollLeft-=_),(_===0||h===0)&&$(a.current,"none","0")}function A(){m.current&&f.current[f.current.length-1]?.getBoundingClientRect().right<=m.current.getBoundingClientRect().right&&f.current[f.current.length-1]?.getBoundingClientRect().left>=m.current?.getBoundingClientRect().left?$(l.current,"none","0"):$(l.current,"block","1"),m.current&&f.current[0]?.getBoundingClientRect().left>=m.current?.getBoundingClientRect().left?$(a.current,"none","0"):$(a.current,"block","1")}return e.jsx(e.Fragment,{children:e.jsx("div",{className:`tabslist__tabs--heightMimic common__background-color__${t.backgroundColor}`,children:e.jsx("div",{className:"position-relative",children:e.jsxs("div",{className:"tabslist__tabs",children:[e.jsx("div",{ref:a,className:"position-absolute carousel-tabbuttons carousel-tabbuttons__previous",style:{opacity:s?1:0},onClick:()=>o(),children:e.jsx(Te,{prop:!1})}),e.jsx("div",{ref:m,className:"tabslist__tabs--scroller",onScrollCapture:()=>A(),children:e.jsx("div",{id:n,style:{width:"max-content"},children:t?.tabsList?.map((_,h)=>e.jsxs("a",{ref:g=>f.current[h]=g,href:_.url,target:_.openLinkInANewTab?"_blank":"_self",className:ee({"tabslist__tabs--tab":!0,"tabslist__tabs--tabActive":i[h]}),onClick:g=>{if(_.url?.includes("#")){g.preventDefault(),g.currentTarget.classList.contains("tabslist__tabs--tabActive")||u(h);const j=_.url?.split("#")[1];if(j&&document.getElementById(j)!==null){const R=document.getElementById(j)?.getBoundingClientRect().top,E=document.querySelector(".header-menu"),W=document.querySelector(".tabslist__tabs--heightMimic");R&&E&&W&&window.scrollTo({top:R+window.scrollY-(E?.offsetHeight+W?.offsetHeight),behavior:"smooth"})}}},children:[e.jsx("span",{children:_.label}),_.openLinkInANewTab&&e.jsx(En,{className:"launch-icon"})]},_.internalName))})}),e.jsx("div",{ref:l,className:"position-absolute carousel-tabbuttons carousel-tabbuttons__next",style:{opacity:s?1:0},onClick:()=>p(),children:e.jsx(Te,{prop:!0})})]})})})})}const Sn=t=>{const{id:n,eyebrow:i,title:r,description:s,cta:d,images:a,backgroundColor:l,topPadding:m,bottomPadding:f,numberOfColumns:u,hoverEffect:y,entryId:p}=t,[o,A]=v.useState(!0),{ref:_,inView:h}=Kt({triggerOnce:!0}),g={id:n,paddingTop:m,paddingBottom:f,backgroundColor:l},L=G({entryId:p??"",fieldId:n??""});return v.useEffect(()=>{(async()=>await qt||A(!o))()},[]),e.jsx(te,{...g,children:e.jsxs(Y,{inspectorProps:L,children:[e.jsxs("div",{className:"common__spacing common__content-area",ref:_,children:[i&&e.jsx("div",{className:"common__content-area__eyebrow",children:i}),r&&e.jsx("h2",{className:"sectionheader__title",children:r}),s&&e.jsx("div",{className:"sectionheader__content",children:q.documentToReactComponents(s,X)})]}),e.jsxs("div",{className:"image-grid",children:[e.jsx("div",{className:`row columns-${u}`,children:a?.map((j,R)=>j&&e.jsx("div",{className:"col common__spacing",children:e.jsx("a",{href:j.assetUrl,"aria-label":"View image",children:e.jsx("div",{className:"image-grid__image",style:{backgroundImage:h?o?`url(${j?.url?.desktopURL}?fm=webp)`:`url(${j?.url?.desktopURL})`:"url('data:image/jpg;base64,UklGRiQAAABXRUJQVlA4IBgAAAAwAQCdASoBAAEAAwA0JaQAA3AA/vuUAAA=')"},children:y&&e.jsx("hr",{})})})},j?.url?.desktopURL||""+R))}),d&&e.jsx(fe,{cta:d})]})]})})},An=t=>{const[n,i]=v.useState(null),{id:r,paddingTop:s,paddingBottom:d,title:a,c
14ontent:l,backgroundColor:m,pageTemplate:f,entryId:u}=t,p={id:r,paddingTop:s,paddingBottom:d,backgroundColor:m,useContainerFluid:f==="landingPage"},o=G({entryId:u??"",fieldId:r??""});return e.jsx(te,{...p,children:e.jsx(Y,{inspectorProps:o,children:e.jsxs("div",{className:"accordion-wrapper",children:[a&&e.jsx("h2",{className:"accordion-wrapper__content__title",children:q.documentToReactComponents(a)}),l&&e.jsx("div",{className:"common__content-area__content",children:e.jsx(At,{allowZeroExpanded:!0,onChange:A=>i(A[0]),children:l.map((A,_)=>{const{title:h,content:g}=A,L=`${h?.replace(/\s/g,"")}-${_}`;return e.jsxs(Ft,{className:"accordion__item",uuid:L,children:[e.jsx(Ot,{className:"common__background-color__grey common__spacing heading common__padding-left-normal",children:e.jsxs(Bt,{className:"heading-content",children:[e.jsx("div",{className:"accordion__item--title",children:h}),e.jsx("div",{className:`cheveron ${n===L?"cheveron-up":""}`})]})}),n===L&&e.jsx(Mt,{className:"accordion-content common__background-color__light-grey ",children:g&&e.jsx("div",{className:"content-item",children:q.documentToReactComponents(g,X)})})]},`${_}-${h}`)})})})]})})})},Fn=t=>{const{id:n,paddingBottom:i,paddingTop:r,backgroundColor:s,timelineEvents:d,title:a,description:l}=t,m={id:n,paddingTop:r,paddingBottom:i,backgroundColor:s};return e.jsx(te,{...m,children:e.jsxs("div",{className:"timeline-wrapper",children:[e.jsx("div",{children:a&&q.documentToReactComponents(a,X)}),e.jsx("div",{children:l&&q.documentToReactComponents(l,X)}),d?.map((f,u)=>{const{title:y,content:p}=f;return e.jsx("div",{className:"timeline-event ",children:e.jsxs("div",{className:"timeline-event__content common__spacing",children:[e.jsx("div",{className:"timeline-event__content__title",children:y}),e.jsx("div",{children:q.documentToReactComponents(p,X)})]})},`${y}-${u}`)})]})})},On=t=>{const{id:n,term:i,content:r,paddingBottom:s,paddingTop:d}=t,a={id:n,paddingBottom:s,paddingTop:d};return e.jsx(te,{...a,children:e.jsxs("div",{className:"definition-wrapper ",children:[e.jsx("h4",{className:"term-wrapper",children:i}),e.jsx("div",{className:"content-wrapper",style:{backgroundColor:"#f9f8f7"},children:q.documentToReactComponents(r,X)})]})})},Bn=t=>{let n="";const i=r=>{r.nodeType==="text"&&(n+=r.value),"content"in r&&Array.isArray(r.content)&&r.content.forEach(i)};return i(t),n},Mn=(t,n=200)=>t.length>n?t.substring(0,n)+"...":t,zn=(t,n=200)=>{const i=Bn(t);return Mn(i,n)},$n=t=>{const n=Et(),i=kt(),r=d=>{n(`${i.pathname}/${d.slug}`)},s=v.useMemo(()=>t.about?zn(t.about,200):null,[t.about]);return e.jsx(e.Fragment,{children:t.name?e.jsxs("a",{className:"col-md-12 company__partner",onClick:()=>{r(t)},children:[e.jsx("div",{className:"company__partner--image",children:t.image?.url?e.jsx("div",{style:{backgroundImage:`url(${t.image.url.desktopURL})`},className:"company__partner--imageDiv",role:"img","aria-label":t.name?`${t.name} logo`:"Partner logo"}):e.jsx("div",{className:"image-dummy",children:"Dummy Image"})}),e.jsxs("div",{className:"company__partner--about",children:[e.jsx("div",{className:"company__partner--aboutName",children:t.name}),e.jsx("div",{className:"company__partner--Mobimage",children:t.image?.url?e.jsx("div",{style:{backgroundImage:`url(${t.image.url.desktopURL})`},className:"company__partner--imageDiv","aria-hidden":"true"}):e.jsx("div",{className:"image-dummy",children:"Dummy Image"})}),e.jsx("div",{className:"company__partner--aboutDescription",children:s&&e.jsx("div",{className:"common__content-area__content",children:s})})]})]}):e.jsx(e.Fragment,{children:"Oops! No results found."})})},Wn=new Set(["view.ceros.com","www.ceros.com","ceros.com"]),Ve=56.25,Hn=t=>{if(!t)return null;const i=/<iframe[^>]*\ssrc=["']([^"']+)["']/i.exec(t)?.[1]?.trim();if(!i)return null;try{const r=new URL(i,"https://view.ceros.com");return r.protocol!=="https:"||!Wn.has(r.hostname.toLowerCase())?null:r.toString()}catch{return null}},qn=t=>{if(!t)return Ve;const n=/padding(?:-bottom)?\s*:\s*([^;"']*)/i.exec(t);if(!n?.[1])return Ve;const i=/(\d+(?:\.\d+)?)%/.exec(n[1]),r=i?.[1]?Number.parseFloat(i[1]):Number.NaN;return Number.isFinite(r)&&r>0?r:Ve},Un=t=>{const n=Hn(t.embedCode);if(!n)return null;const i=qn(t.embedCode);return e.jsx("div",{className:"ceros-experience",children:e.jsx("div",{className:"ceros-experience__frame",style:{paddingBottom:`${i}%`},children:e.jsx("iframe",{src:n,sandbox:"allow-scripts allow-same-origin allow-popups allow-forms",loading:"lazy",allowFullScreen:!0,title:t.title||"Ceros Experience"})})})},Dn=t=>{const{options:n=[],setSelectedOffice:i,selectedOffice:r}=t,[s,d]=v.useState(!1);return e.jsxs("div",{className:"dropdown",children:[e.jsxs("div",{role:"button",tabIndex:0,"aria-expanded":s,onClick:()=>d(a=>!a),onKeyDown:a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),d(l=>!l))},className:"dropdownSelect",children:[e.jsxs("p",{className:"dropdownSelect__p",children:[" ",r?.city," "]}),s?e.jsx("div",{className:"up-arrow"}):e.jsx("div",{className:"down-arrow"})]}),e.jsx("div",{className:`dropdownContent ${s?"active":""}`,children:n.map((a,l)=>e.jsxs("div",{className:"dropdownContent__option",role:"button",tabIndex:0,onClick:()=>{i?.(a),d(m=>!m)},onKeyDown:m=>{(m.key==="Enter"||m.key===" ")&&(m.preventDefault(),i?.(a),d(f=>!f))},children:[a?.city," "]},a?.city??l))})]})},Vn=t=>{const{id:n,paddingTop:i,paddingBottom:r,title:s,description:d,subTitle:a,backgroundColor:l,officesList:m,entryId:f}=t,[u,y]=v.useState(m[0]),p=G({entryId:f??"",fieldId:n??""});return v.useEffect(()=>{m?.length>0&&y(m[0])},[m]),e.jsx(ft,{id:n,paddingTop:i,paddingBottom:r,backgroundColor:l,children:e.jsx(Y,{inspectorProps:p,children:e.jsxs("div",{className:"preqinOffices",children:[e.jsxs("div",{className:"preqinOffices__data",children:[e.jsx("h2",{className:"preqinOffices__data__title",children:s}),e.jsx("p",{className:"preqinOffices__data__description",children:d}),e.jsxs("div",{className:"preqinOffices__data__officeList",children:[e.jsx("h5",{className:"preqinOffices__data__officeList__title",children:a}),e.jsx(Dn,{options:m,setSelectedOffice:y,selectedOffice:u}),u?e.jsxs("div",{className:"preqinOffices__data__officeList__data",children:[e.jsx("p",{className:"preqinOffices__data__officeList__phoneNo",children:u?.phoneNo}),e.jsx("p",{className:"preqinOffices__data__officeList__email",children:u?.email}),e.jsx("p",{className:"preqinOffices__data__officeList__address",children:q.documentToReactComponents(u?.address)})]}):null]})]}),e.jsx("div",{className:"preqinOffices__map",children:u?.location&&e.jsx("iframe",{width:"100%",height:"600",src:u?.location,id:"map",style:{border:"none"}})})]})})})};$t();v.createContext(null);var Gn={};const Ze={headers:{"Content-type":"application/json"},credentials:"same-origin"},Yn=()=>globalThis.window===void 0?Gn.PREQIN_CMS_API_URL:globalThis.window?.process?.env?.PREQIN_CMS_API_URL,Ee=Yn(),Kn=async(t,n)=>fetch(`${Ee}?apiType=entries&queryString=${t}`,Ze),Qn=async(t,n,i)=>{const r={content_type:Z.MODULES.HELP_CENTER,order:"-fields.date",limit:String(t.limit),...i,skip:String(t.skip),query:n},s=encodeURIComponent(new URLSearchParams(r).toString()),a=await(await fetch(`${Ee}?apiType=entries&queryString=${s}`,Ze)).json();return Le(a).map(l=>l.fields)},Jn=async(t=3)=>{const n=Z.MODULES.PRESS_HUB,i=encodeURIComponent(`content_type=${n}&queryString=&order=-fields.date&limit=${t}`),s=await(await Kn(i)).json(),d=s&&Le(s);if(d)return d?.map(a=>a.fields);throw new Error("Could not resolve entries")};async function ui(t,n){const i=await fetch(Ee+t,Ze);if(i.status<300){const r=await i.json();return Le(r)}}async function mi(t,n=""){try{const i={content_type:Z.MODULES.COMPANY,order:"fields.name",limit:"1000",query:n},s=encodeURIComponent(new URLSearchParams(i).toString())+encodeURIComponent(`&metadata.tags.sys.id[in]=${t.toString()}`),a=await(await fetch(`${Ee}?apiType=entries&queryString=${s}&space=insights`,{headers:{"Content-type":"application/json"},credentials:"same-origin"})).json(),l=a&&Le(a);if(l)return l}catch(i){console.log(i)}return[]}const Zn=t=>{const[n,i]=v.useState({topPadding:"none"});v.useEffect(()=>{(async()=>{const d=await Xn(t);
14i(d)})()},[t]);const r=G({entryId:t.entryId??"",fieldId:t.id??""});return e.jsx(Y,{inspectorProps:r,children:e.jsx(_t,{...n})})};async function Xn(t){if(t.contentType==="Help Center"){const i=(await Qn({skip:0,limit:3},"",{"fields.category":[t.category]}))?.map(r=>({des:r.shortDescription?Dt(Wt.documentToPlainTextString(r.shortDescription)):null,cta:[{label:"Learn more",href:"help-center/articles/view/"+r.url,target:"",type:"Link",style:"Secondary Fuchsia",name:"Learn more",id:"Learn more"}],image:Ut({...r.thumbnailImage,asset:r.thumbnailImage}),...r,date:null}));return{...t,columnContentList:i,height:"auto"}}else{const n=await Jn(t?.numberOfColumns);return{...t,columnContentList:n?.map(i=>({title:i.headline,des:i.summary,date:i.date,id:t.id,cta:[{name:"Read more",label:"Read more",href:`${i.url}${i.slug}`,type:"Link",style:"Secondary Fuchsia"}]}))}}}const ei=(t,n=0)=>{const{MODULES:i}=Z;switch(t.template){case i.CONTENT_IMAGE:return e.jsx(mn,{...t},n+t.template);case i.CAROUSEL:return e.jsx(nn,{...t},n+t.template);case i.CTA_GRID:return e.jsx(on,{...t},n+t.template);case i.DYNAMIC_COLUMN_CONTENT:return e.jsx(Zn,{...t},n+t.template);case i.COLUMN_CONTENT:return e.jsx(_t,{...t},n+t.template);case i.INLINE_CTA:return e.jsx(cn,{...t},n+t.template);case i.TESTIMONIAL:return e.jsx(an,{...t},n+t.template);case i.STATISTIC:return e.jsx(Jt,{...t},n+t.template);case i.TABS:return e.jsx(ln,{...t},n+t.template);case i.FULL_WIDTH_CONTENT:return e.jsx(bt,{...t},n+t.template);case i.IFRAME_FORM:return e.jsx(Tn,{...t},n+t.template);case i.TABLINK:return e.jsx(kn,{...t},n+t.template);case i.IMAGEGRID:return e.jsx(Sn,{...t},n+t.template);case i.IFRAMEWRAPPER:return e.jsx(ht,{...t},n+t.template);case i.CEROS_EXPERIENCE:return e.jsx(Un,{...t},n+t.template);case i.ACCORDIANWRAPPER:return e.jsx(An,{...t},n+t.template);case i.DEFINITION:return e.jsx(On,{...t},n+t.template);case i.TIMELINEWRAPPER:return e.jsx(Fn,{...t},n+t.template);case i.CTA:return e.jsx("div",{className:"button-wrapper",children:e.jsx(fe,{cta:[t]},`${n}-${t.template}`)});case i.COMPANY:return e.jsx($n,{...t},n+t.template);case i.PREQINOFFICES:return e.jsx(Vn,{...t},n+t.template);case i.ASSETWRAPPER:{const r=t;return e.jsx("div",{style:{width:`${r?.width}%`},children:e.jsx(ne,{url:r?.url,classNames:"common__image",altText:r?.altText,contentType:r?.contentType,videoAutoplay:r.videoAutoplay},`${n}-${r.template}`)})}default:return null}},jt=(t,n)=>ei(t.data,n),ti=(t="en")=>({renderNode:{[me.BLOCKS.EMBEDDED_ASSET]:n=>e.jsx(ne,{url:n?.data?.target?.fields?.file?.url,classNames:"common__spacing"}),[me.INLINES.HYPERLINK]:n=>{function i(r){return r.nodeType===me.INLINES.HYPERLINK}if(i(n)){const{uri:r}=n.data,s=JSON.parse(JSON.stringify(n));return s.data.uri=Je(r,t)??r,q.documentToReactComponents(s)}},[me.BLOCKS.EMBEDDED_ENTRY]:n=>{const i=pt([n?.data?.target]);return e.jsx(jt,{data:i[0]??{}})},[me.INLINES.EMBEDDED_ENTRY]:n=>{const i=n?.data?.target?.sys?.contentType?.sys?.id;if(i==="resource"){const d=n?.data?.target?.fields?.key,a=q.documentToReactComponents(n?.data?.target?.fields?.value);return e.jsx("span",{id:d,className:"resourceValue",children:a})}if(i==="cta"){const{internalName:d,ctaText:a,externalUrl:l,isSponsoredContent:m,addNoFollow:f,ctaType:u,style:y,openLinkInANewTab:p}=n?.data?.target?.fields||{},o=[{name:d,label:a,href:l,type:u,style:y,isSponsoredContent:m,addNoFollow:f,openLinkInANewTab:p}];return e.jsx("div",{style:{display:"inline-block"},children:e.jsx(fe,{cta:o})})}const r=n?.data?.target?.fields?.title,s=n?.data?.target?.fields?.asset?.fields?.file?.url;return e.jsx("a",{href:s,target:"_blank",rel:"noopener noreferrer",children:r})},[me.BLOCKS.HEADING_2]:n=>{const{content:i}=n,r=i&&Array.isArray(i)&&me.helpers.isText(i[0])&&i[0].value,s=r?r.trim().toLowerCase().replace(/\s/gi,"-"):"";return e.jsx("h2",{id:s,className:"heading",tabIndex:-1,children:r})},[me.BLOCKS.TABLE]:(n,i)=>e.jsx("div",{className:"genericTable rte-table-wrapper",children:e.jsx("table",{children:i})}),[me.BLOCKS.TABLE_HEADER_CELL]:(n,i)=>e.jsx("th",{scope:"col",children:i})},renderText:n=>n.split(` 15`).reduce((i,r,s)=>[...i,s>0&&e.jsx("br",{},s),r],[])}),X=ti();export{fe as B,Y as C,ui as G,ne as I,X as R,jt as S,kn as T,mi as a,ln as b,ti as c,Ie as d,Un as e,G as g};
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.