(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[16271],{18335:function(e,t,o){"use strict";o.d(t,{Z:function(){return g}});var a=o(67294),l=o(30653),n=o(93967),r=o.n(n),c=o(50562),i=o.n(c),s=o(57416),m=o(97403),_=o(12853);function d(e){let{title:t,callToAction:o,href:n,border:c}=e;return a.createElement("div",{className:r()(i().contentPromoItem,i()[c])},a.createElement("p",{className:i().contentPromoItem__title},(0,l.ZP)(t)),a.createElement(s.Z,{type:"tertiary",href:n,className:r()(i().contentPromoItem__callToAction,"stretched-link")},o))}function g(e){let{data:t,className:o}=e;const l=t?.content_promos?.length>3?(n=t?.content_promos,n.sort((()=>.5-Math.random()))).slice(0,3):t?.content_promos;var n;const c=t?.title_text?.title_l10n||t?.title_text?.paragraph_l10n,s=["light-teal","light-orange","pink"],g=()=>l.map(((e,t)=>{if(!e.external_link)return null;const{title_l10n:o,cta_title_l10n:l,url:n,border_color:r}=e.external_link;return a.createElement(d,{key:t,title:o,callToAction:l,href:n,border:r||s[t]})}));return a.createElement(a.Fragment,null,c&&a.createElement(a.Fragment,null,a.createElement(_.Z,{titleText:t?.title_text}),a.createElement(m.Z,{size:"layout-05"})),a.createElement("div",{className:r()(i().contentPromos,o)},a.createElement("div",{className:i().contentPromo__container},l&&a.createElement(g,null))))}},80792:function(e,t,o){"use strict";o.d(t,{Z:function(){return D}});var a=o(67294),l=o(11163),n=o(30653),r=o(45697),c=o.n(r),i=o(27361),s=o.n(i),m=o(93967),_=o.n(m),d=o(93926),g=o(2449),u=o(7197),p=o(46588),b=o(68472),h=o.n(b);var y=()=>a.createElement(a.Fragment,null,a.createElement("div",{className:"jsx-2541220287 "+(_()("pill")||"")},a.createElement("p",{className:"jsx-2541220287"},a.createElement("span",{className:"jsx-2541220287"},"Supercharge your skills at ElasticON \u2013 join us at an event near you"),a.createElement("a",{href:"https://www.elastic.co/events/elasticon",className:"jsx-2541220287"},"Register now"))),a.createElement(h(),{id:"2541220287"},[".eswt-044 .pill{display:flex;}",".pill{display:none;justify-content:center;margin:0 auto 20px;text-wrap:pretty;}",".pill a{color:var(--color-white);font-weight:400;}",".pill a:hover{color:var(--color-elastic-blue);}",".pill p{background:rgba(0,0,0,0.5);border-radius:20px;display:flex;flex-direction:column;justify-content:center;padding:10px 25px;margin-bottom:0;max-width:375px;text-align:center;}",".pill span{background-clip:text;background-image:linear-gradient(to right,var(--color-light-orange),var(--color-yellow));color:transparent;font-weight:500;}","@media screen and (min-width:768px){.pill p{border-radius:200px;flex-direction:row;max-width:none;padding:15px 30px;}.pill span{margin-right:15px;}}"])),f=o(57416),E=o(42965),v=o(30736),w=o(97403),x=o(70012),N=o(71181),k=o(18335),C=o(69246),P=o(17198),Z=o(78109),I=o(9887),L=o(51952),j=o(37335),H=o(45003),B=o.n(H);const{getUrl:T,generateKey:z}=d,U=e=>{const{data:t}=e,o=e?.locale||"",[r,c]=(0,a.useState)(""),i=t.blog_author,m=t?.job_title_l10n+(""!==t?.job_title_l10n&&""!==t?.company_l10n?", ":"")+t?.company_l10n;let b=!0;const h=u.default.getThemeType(s()(t,"styles.modules_background")),H="/"===(0,l.useRouter)().asPath;(0,a.useEffect)((()=>{const a={fr:"fr-fr",de:"de-de",jp:"ja-jp",kr:"ko-kr",cn:"zh-cn",es:"es-mx",pt:"pt-br"},l="ko-kr"===e?.entryLocale||"zh-cn"===e?.entryLocale||"ja-jp"===e?.entryLocale?e?.entryLocale?.split("-")[1]:e?.entryLocale?.split("-")[0];if(""!==o&&o?.replace("/","")!==l){b=!1;let e="";Object.keys(a).forEach((t=>{o?.replace("/","")===t&&(e=a[t])})),g.Z.getData("/translate_content_redesign",{query:{locale:e,entryUid:"blt5e35f797b223487b",callee:"getContentByUID"}}).then((e=>{c(e?.translate_content_l10n),""!==e?.translate_content_l10n&&t?.setIsCalloutVisible&&t?.setIsCalloutVisible(!0)})).catch((e=>console.log("err",e)))}}),[]);return a.createElement(a.Fragment,null,a.createElement(v.Z,{containerAriaLabelledBy:t?.title_l10n||"",containerClasses:_()(B().hero,"position-relative",t?.two_column_layout?B().twoColumn:"one-column",s()(t,"styles.container_background","")?`${s()(t,"styles.container_background")}`:"",s()(t,"styles.show_divider","")?B().hasDivider:"","hero"),containerDataComponentTheme:h,containerSection:!0},a.createElement("div",{className:_()(s()(t,"styles.show_divider","")?B().divider:"",s()(t,"styles.modules_background","")?`${s()(t,"styles.modules_background")}`:"")},t?.styles?.pattern_type&&a.createElement(N.Z,{type:t?.styles?.pattern_type,divider:s()(t,"styles.show_divider",""),themeType:h})),a.createElement("div",{className:_()(s()(t,"styles.modules_background","")?`${s()(t,"styles.modules_background")}`:"")},a.createElement("div",{className:_()(B().heroContent,"justify-content-between")},a.createElement("div",{className:"container"},a.createElement(w.Z,{size:t?.spacing_top?t.spacing_top:"layout-06"}),H&&a.createElement(y,null),""!==r&&a.createElement(E.Z,{content:r,closeBtn:!0,isLocalizedDisclaimer:!0,setIsCalloutVisible:t?.setIsCalloutVisible}),a.createElement("div",{className:"row"},a.createElement("div",{className:_()(t?.two_column_layout?"col-12 col-sm-8 offset-sm-2 col-lg-5 offset-lg-0 d-flex":"col-12 col-sm-8 offset-sm-2")},a.createElement("div",{className:_()(B().content,"align-self-center")},s()(t,"logo.url")?i?a.createElement(p.Z,{size:"xlarge",image:s()(t,"logo")}):a.createElement("div",{className:_()(B().headerLogo)},a.createElement("img",{src:d.getImageUrl(s()(t,"logo.url")),className:"img-fluid",alt:"logo"})):"",s()(t,"product_name")||s()(t,"icon.url")?a.createElement("div",{className:_()(B().iconTitle,"d-flex align-items-center")},s()(t,"icon.url")&&a.createElement("img",{src:d.getImageUrl(t.icon.url),className:_()(B().icon,"mr-4"),alt:t?.iconAlt}),a.createElement(P.default,{tag:"H1",className:"h6 p-0"},t.product_name)):"",s()(t,"topic_heading_l10n")&&a.createElement(Z.Z,{children:t.topic_heading_l10n,color:t?.tags?.length>0&&t?.tags.includes("serverless")?"teal":""}),a.createElement(P.default,{tag:t?.blog_author?"H3":t?.product_name?"H2":"H1",className:t?.blog_author?"h4":t?.styles?.enable_display_font_size?"h1":t?.blog_author?"h4":"h2",children:t.title_l10n}),s()(t,"subtitle_l10n")&&a.createElement(P.default,{className:"h3"},t.subtitle_l10n),(s()(t,"job_title_l10n")||s()(t,"company_l10n"))&&a.createElement(Z.Z,{className:t?.blog_author?"authordesignation":"",children:m}),s()(t,"paragraph_l10n")&&a.createElement("div",{className:_()(B().description,"paragraph-large")},(0,n.ZP)(u.default.getParagraphModified(o,t.paragraph_l10n))),i&&a.createElement(C.Z,{facebook:t?.facebook_id,email:t?.email_id,tweet:t?.twitter_id,linkedIn:t?.linkedin_id,blog_author:t?.blog_author,blogPage:!0}),s()(t,"cta")&&s()(t,"cta").length>0&&a.createElement(a.Fragment,null,a.createElement("div",{className:_()(B().ctaList,"mt-5")},t.cta.map(((e,l)=>a.createElement("div",{className:_()(B().cta),key:z("cta",l)},a.createElement(f.Z,{href:T(e.url,o),onClick:t=>{T(e.url,o).includes("#")&&((e,t)=>{e.preventDefault();const o=document.querySelector(t);o&&(window.scrollTo({top:o.offsetTop,behavior:"smooth"}),window.history.pushState(null,null,t))})(t,T(e.url,o))},size:1===t.cta?.length&&""===t?.download_cta?.cta_title_l10n?"large":"",type:e?.type?e.type:0!==l?"secondary"===e.type?"secondary":"tertiary":"primary",icon:s()(e,"cta_icon.type")&&`icon-${s()(e,"cta_icon.type")}`},(0,n.ZP)(e.cta_title_l10n)))))),t.cta.map(((e,t)=>a.createElement(a.Fragment,{key:z("cta",t)},e.cta_footnote_l10n&&a.createElement("div",{className:"paragraph-xsmall mt-5"},(0,n.ZP)(e.cta_footnote_l10n)))))),t?.download_cta&&t?.download_cta?.cta_title_l10n&&a.createElement("div",{className:"download-cta d-flex mt-5"},a.createElement(f.Z,{href:T(t.download_cta.url,o),type:"text-link",icon:"icon-download",iconSide:"left"},s()(t,"download_cta.cta_title_l10n"))),s()(t,"logos_below_cta.logos")&&s()(t,"logos_below_cta.logos").length>0&&a.createElement("div",{className:_()(B().heroLogoParade,"mt-6")},t.logos_below_cta.topic_heading_l10n&&a.createElement(Z.Z,{children:t.logos_below_cta.topic_heading_l10n}),t.logos_below_cta.logos.map(((e,t)=>e.url?a.createElement("a",{href:T(e?.url,o),key:z("logos",t)},a.createElement("img",{src:d.getImageUrl(e?.file?.url||""),className:_()(B().logoParadeItem,"mr-4"),alt:e.alt_text_l10n||""})):a.createElement("img",{src:d.getImageUrl(e?.file?.url||""),className:_()(B().logoParadeItem,"mr-4"),alt:e.alt_text_l10n||"",key:z("logos",t)})))))),a.createElement("div",{className:_()(t?.two_column_layout?"col-12 col-sm-10 offset-sm-1 col-lg-6 offset-lg-1":"col-12 col-sm-10 offset-sm-1")},t?.image&&t?.image?.url?a.createElement("div",{className:_()(B().asset)},a.createElement("img",{src:d.getImageUrl(t.image.url),className:_()(t.shadow?"shadow-light":"",t.asset_border_radius&&`border-radius-${t.asset_border_radius}`,t.overflow?B().overflow:""),alt:t.image_alt_text_l10n||""})):t?.vidyard?.uuid?a.createElement("div",{className:_()(B().asset,t.asset_border_radius&&`border-radius-${t.asset_border_radius}`)},a.createElement(I.Z,{playerUUID:t.vidyard.uuid,playerPlayCount:t.vidyard.video_play_count,playerLoop:t.vidyard.loop_video,playerMuted:t.vidyard.muted,hideControls:t.vidyard.hide_controls,playerShadowInHero:t.shadow,loopingAnimation:t.vidyard.looping_animation})):"")),s()(t,"content_blocks")&&t?.content_blocks[0]?.reference?.map(((e,l)=>a.createElement(a.Fragment,{key:z("blocks",l)},0===l&&a.createElement(w.Z,{size:"layout-05"}),a.createElement("div",{className:_()(B().contentBlock)},(e=>{switch(e._content_type_uid){case"logo_bar":return a.createElement(x.Z,{logo_bar:e,insideContentBlock:!0});case"card":return a.createElement(L.Z,{data:e,locale:o});case"tab_navigation_reference":return a.createElement(j.Z,{tabs:e?.tabs??[]});case"content_promos":return a.createElement(k.Z,{data:e});default:return null}})(e)),l{let{insideContentBlock:t,...o}=e;const l=c()(o,"logo_bar.cta_group"),r=c()(o,"logo_bar.style.cta_group_location"),i=c()(o,"logo_bar.logo_bar"),s=o.logo_bar.style?o.logo_bar.style.type:"";let y=i?.length&&parseInt(12/i.length,10);i?.length>=5&&(y="max-width");const v=()=>a.createElement(g.Z,{cta:l,locale:o.locale}),w=n()("img-fluid","logo bar - 8-column"===s&&"icon-64"),x=n()(void 0===(N=s)||null===N||""===N||"logo bar"===N?`logo col-6 col-md-${y}`:"logo bar - 8-column"===N?"logo":"logo card"===N?f().logoCardItem:void 0);var N;const k=n()("title text-center","logo card"!==s&&"col-md-8 offset-md-2");return a.createElement(d.Z,{containerAriaLabelledBy:o?.logo_bar.topic_heading_l10n||"",containerClasses:n()((e=>void 0===e||null===e||""===e||"logo bar"===e?f().logoBar:"logo card"===e?f().logoCard:void 0)(s),"container","module-gb"),containerType:t?"div":"section"},a.createElement("div",{className:n()(f().logoContainer,(e=>void 0===e||null===e||""===e||"logo bar"===e?"col-sm-12":"logo card"===e?"col-sm-10":void 0)(s))},a.createElement("div",{className:k},o?.logo_bar?.topic_heading_l10n&&a.createElement(h.Z,{className:"p-0",noTitleText:!0},c()(o,"logo_bar.topic_heading_l10n")),o?.logo_bar?.title_l10n&&a.createElement(b.default,{size:"H2",className:"pb-2"},c()(o,"logo_bar.title_l10n")),o?.logo_bar?.paragraph_l10n&&(0,m.ZP)(o?.logo_bar?.paragraph_l10n),"below topic heading"===r&&v(),o?.logo_bar?.title_l10n&&a.createElement(u.Z,{size:"layout-05"})),"logo card"===s&&a.createElement("div",{className:f().dividerVertical}),a.createElement("div",{className:(e=>void 0===e||null===e||""===e||"logo bar"===e?`${f().logoBar12Column} row logos my-6`:"logo bar - 8-column"===e?`${f().logoBar8Column} logos`:"logo card"===e?f().logoCardItems:void 0)(s)},i&&i.map(((e,t)=>a.createElement("div",{className:x,key:E("logo",t)},""!==e.url?a.createElement(p.default,{href:e.url},a.createElement("img",{src:e.logo?_.getImageUrl(e.logo.url):"",className:w,alt:e.title_l10n})):a.createElement("img",{src:e.logo?_.getImageUrl(e.logo.url):"",className:w,alt:e.title_l10n}),c()(e,"display_title_l10n")&&a.createElement("p",{className:"mt-5 xsmall"},c()(e,"display_title_l10n")))))),"below logos"===r&&v()))};t.Z=v,v.propTypes={topic_heading_l10n:s().string,locale:s().string,logo:s().object,logo_bar:s().object}},37335:function(e,t,o){"use strict";var a=o(68472),l=o.n(a),n=o(67294),r=o(45697),c=o.n(r),i=o(93926),s=o(155),m=o(93967),_=o.n(m);const{generateKey:d}=i,g=e=>{const[t,o]=(0,n.useState)("");return(0,n.useEffect)((()=>{o(window.location.pathname)}),[]),n.createElement("div",{className:"jsx-34200098 tab-nav-wrapper"},n.createElement("div",{className:"jsx-34200098 container"},n.createElement("div",{className:"jsx-34200098 tab-nav"},n.createElement("div",{className:"jsx-34200098 row"},n.createElement("div",{className:"jsx-34200098 col-12 col-md-12 col-lg-10 offset-lg-1"},n.createElement("ul",{className:"jsx-34200098 tab-list"},e.tabs.map(((e,o)=>n.createElement("li",{key:d("tab",o),className:"jsx-34200098"},n.createElement(s.default,{href:e.url,className:_()("tab",t===e.url?"tab--active":""),title:`Go to the ${e.title_l10n} page`},e.title_l10n))))))))),n.createElement(l(),{id:"34200098"},[".tab-nav-wrapper{--color-midnight-blue:#101C3F;}",".tab-list{display:flex;flex-flow:row wrap;gap:1rem 0.5rem;justify-content:center;}","@media (min-width:576px){.tab-list{gap:0.5rem;}}",".tab-list li{border-bottom:4px solid transparent;}",".tab{color:var(--color-white);text-decoration:none;padding:1rem 1.5rem;background-color:rgba(255,255,255,0.1);border-radius:2rem;display:inline-block;}","@media screen and (max-width:575px){.tab{font-size:0.688rem;}}",".tab--active,.tab:hover,.tab:active,.tab:focus-visible{background-color:var(--color-dark-blue);text-decoration:none !important;}",".tabs{padding:60px 15px 0;text-align:center;}"]))};g.propTypes={tabs:c().array},t.Z=g},50562:function(e){e.exports={contentPromos:"ContentPromos_contentPromos__jb_Rf",contentPromo__container:"ContentPromos_contentPromo__container__i20EL",contentPromoItem:"ContentPromos_contentPromoItem__xic4U","light-teal":"ContentPromos_light-teal__V6eaE","light-orange":"ContentPromos_light-orange__Dwe0U",pink:"ContentPromos_pink__BB67u",contentPromoItem__title:"ContentPromos_contentPromoItem__title__M8gbb",contentPromoItem__callToAction:"ContentPromos_contentPromoItem__callToAction__Stlki",contentPromo:"ContentPromos_contentPromo__xX0Xn"}},45003:function(e){e.exports={hero:"Hero_hero__iEZMX",hasDivider:"Hero_hasDivider__Tkfn8",divider:"Hero_divider___ZisR",heroContent:"Hero_heroContent__S5fut",content:"Hero_content__VSxmz",headerLogo:"Hero_headerLogo__lK9SK",iconTitle:"Hero_iconTitle__fA47f",icon:"Hero_icon__qqvyq",description:"Hero_description__nrqhU",paragraphLarge:"Hero_paragraphLarge__5dYdM",ctaList:"Hero_ctaList__efelZ",cta:"Hero_cta__zIL_f","btn-primary":"Hero_btn-primary__pzcXO",button:"Hero_button__9wxsV","icon-right":"Hero_icon-right__LdzHX","icon-left":"Hero_icon-left__Nh_6m",heroLogoParade:"Hero_heroLogoParade___LzKP",logoParadeItem:"Hero_logoParadeItem__5ELaA",asset:"Hero_asset__rLCmZ",twoColumn:"Hero_twoColumn___DJDO",overflow:"Hero_overflow__b40UQ",contentBlock:"Hero_contentBlock__dHJLj"}},45915:function(e){e.exports={logoBar:"LogoBar_logoBar__TzgVS",logoBar8Column:"LogoBar_logoBar8Column___QeKg",logoBar12Column:"LogoBar_logoBar12Column__T1N2t",logoCard:"LogoBar_logoCard__HT7AK",logoContainer:"LogoBar_logoContainer___mh56",dividerVertical:"LogoBar_dividerVertical__bqoej",logoCardItems:"LogoBar_logoCardItems__hbCE4",logoCardItem:"LogoBar_logoCardItem__9XDKh"}}}]);