try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="201e595e-a630-4e69-92bb-35d8d398ca2f",e._sentryDebugIdIdentifier="sentry-dbid-201e595e-a630-4e69-92bb-35d8d398ca2f")}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1493],{30898:(e,t,l)=>{function o(){if(!(!n()&&!new URLSearchParams(window.location.search).has("reload")))return;let e=setInterval(t,100);function t(){n()&&(clearInterval(e),window.location.assign(window.location.pathname+"?reload"))}t(),setTimeout(function(){clearInterval(e)},5e3)}function n(){return -1!==document.cookie.indexOf("intercom-id-")}l.d(t,{A:()=>o})},41493:(e,t,l)=>{l.r(t),l.d(t,{__N_SSP:()=>O,default:()=>G});var o=l(37876),n=l(14232),c=l(30898),r=l(8733);function i(){return(0,n.useEffect)(()=>{(0,c.A)()},[]),(0,o.jsxs)("div",{className:"text-center","data-testid":"no-articles",children:[(0,o.jsx)("div",{className:"h-10"}),(0,o.jsx)("h1",{children:(0,o.jsx)(r.A,{id:"no_articles.title"})}),(0,o.jsx)("p",{children:(0,o.jsx)(r.A,{id:"no_articles.no_articles"})})]})}var s=function(e){return e[e.CLASSIC=0]="CLASSIC",e[e.VISUAL=1]="VISUAL",e[e.COMPACT=2]="COMPACT",e}({}),a=l(15039),d=l.n(a);function m(e){let{children:t,className:l,helpCenterBlock:n,withRowGap:c}=e,r=d()("grid auto-rows-auto gap-x-4 sm:gap-x-6",{"gap-y-4 sm:gap-y-6":c,"md:grid-cols-1":1===n.columns,"md:grid-cols-2":2===n.columns,"md:grid-cols-3":3===n.columns},l);return(0,o.jsx)("div",{className:r,role:"list",children:t})}var u=l(94896),x=l(81194),h=l(54266);function p(e){let{children:t,className:l,customisationSelector:n,id:c,testId:r,url:i,...s}=e,a=(0,u.U)();return(0,o.jsxs)("a",{href:i,"data-testid":r,className:d()("collection-link group/collection-summary flex grow overflow-hidden border border-solid border-card-border bg-card-bg no-underline shadow-card transition ease-linear",{"-mx-2 rounded-none hover:border-card-bg hover:bg-primary-alpha-10 sm:mx-0 sm:rounded-card sm:hover:border-primary-alpha-60 sm:hover:bg-card-bg":a,"rounded-card hover:border-primary-alpha-60":!a},l),...s,children:[(0,o.jsx)(h.A,{collectionId:c,iconId:n}),t]})}var b=l(13780),f=l(36587);function j(e){let{colCount:t,collectionId:l,iconContentType:n,iconUrl:c,id:r}=e,i=(0,f.GY)(l),s=(0,f.cl)(l);return(i||c)&&(0,o.jsx)("div",{id:r,className:d()("flex items-center rounded-card-inner bg-cover bg-center",{"h-10 w-10":2===t,"h-10 w-10 sm:h-[86px] sm:w-[86px] sm:justify-center":1===t,"h-9 w-9":3===t,"justify-center bg-collection-card-bg bg-collection-card-image":i,"justify-start":!i}),"data-test-collection-photo":!0,children:(0,o.jsx)("div",{className:d()({"h-6 w-6":i,"h-7 w-7":!i,"sm:h-10 sm:w-10":1===t,"sm:h-8 sm:w-8":2===t&&!i}),children:c&&(0,o.jsx)(b.j,{iconColor:s,iconContentType:n,iconUrl:c})})})||null}function g(e){let{colCount:t=1,collection:l}=e;return(0,o.jsxs)("div",{className:d()("intercom-force-break flex w-full flex-1 flex-col text-body-primary-color",{"justify-between":2===t||3===t,"max-w-oneColWidth justify-center":1===t}),children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"-mt-1 mb-0.5 line-clamp-2 text-md font-semibold leading-normal text-body-primary-color transition ease-linear group-hover/collection-summary:text-primary sm:line-clamp-1","data-testid":"collection-name",children:l.name}),l.description&&(0,o.jsx)("p",{className:d()("mb-0 mt-0 line-clamp-3 text-md",{"sm:line-clamp-1":1===t,"sm:line-clamp-2":2===t,"sm:line-clamp-3":3===t}),children:l.description})]}),(0,o.jsx)("div",{className:d()({"mt-3":1===t,"mt-4":2===t||3===t}),children:(0,o.jsx)(x.A,{articleCount:l.articleCount,authorCount:l.authorCount,authors:l.authors,colCount:t})})]})}function C(e){let{colCount:t=1,collection:l}=e,n=2===t||3===t,c="collection-icon-".concat(l.id);return(0,o.jsx)(p,{customisationSelector:c,id:l.id,testId:"collection-card-classic",className:"flex-col",url:l.url,children:(0,o.jsxs)("div",{className:d()("flex grow flex-col gap-4 p-5",{"sm:flex-col sm:p-6":n,"sm:flex-row sm:gap-5 sm:p-5":!n}),id:l.slug,children:[(0,o.jsx)(j,{iconUrl:l.iconUrl,iconContentType:l.iconContentType,colCount:t,id:c,collectionId:l.id}),(0,o.jsx)(g,{colCount:t,collection:l})]})})}function y(e){let{colCount:t=1,collection:l}=e;return(0,o.jsxs)("div",{className:d()("intercom-force-break flex w-full flex-1 flex-col justify-between px-6 py-4 text-body-primary-color"),children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("div",{className:"-mt-1 mb-0.5 line-clamp-2 flex justify-center text-center text-md font-semibold leading-normal text-body-primary-color transition ease-linear group-hover/collection-summary:text-primary sm:line-clamp-1","data-testid":"collection-name",children:l.name}),l.description&&(0,o.jsx)("p",{className:d()("mb-0 mt-0 line-clamp-3 text-center text-md",{"sm:line-clamp-2":2===t,"sm:line-clamp-3":3===t}),children:l.description})]}),(0,o.jsx)("div",{className:d()("mt-4 flex justify-center"),children:(0,o.jsx)(x.A,{articleCount:l.articleCount,authorCount:l.authorCount,authors:l.authors,colCount:t})})]})}function v(e){let{collection:t,id:l}=e,n=(0,f.cl)(t.id),{iconContentType:c,iconUrl:r}=t;return(0,o.jsx)("div",{id:l,className:d()("flex h-15 w-15 items-center justify-center rounded-card bg-collection-card-bg bg-collection-card-image bg-cover bg-center"),children:r&&(0,o.jsx)(b.j,{className:"h-7 w-7",iconColor:n,iconContentType:c,iconUrl:r})})}let w={["".concat(s.CLASSIC)]:C,["".concat(s.VISUAL)]:function(e){let{colCount:t=2,collection:l}=e,n=(0,f.cl)(l.id),c=(0,f.GY)(l.id),{iconContentType:r,iconUrl:i,id:s}=l,a="collection-icon-".concat(s),m=(0,u.U)(),x=c||i;return(0,o.jsxs)(p,{customisationSelector:a,id:l.id,testId:"collection-card-visual",className:"flex-col",url:l.url,children:[x&&(0,o.jsx)("div",{className:d()("flex items-center justify-center bg-collection-card-bg bg-collection-card-image bg-cover bg-center px-3 py-10 group-hover/collection-summary:rounded-b-none",{"h-37":!i&&3===t,"h-58":!i&&2===t,"pb-2 pt-10":!c,"py-10":c,"sm:rounded-card":m}),id:a,children:i&&(0,o.jsx)(b.j,{iconColor:n,iconContentType:r,iconUrl:i,className:"w-14"})}),(0,o.jsx)(y,{colCount:1==t?2:t,collection:l})]})},["".concat(s.COMPACT)]:function(e){let{colCount:t=2,collection:l}=e,n="collection-icon-".concat(l.id),c=(0,f.GY)(l.id)||l.iconUrl;return(0,o.jsxs)(p,{customisationSelector:n,id:l.id,testId:"collection-card-compact",className:"items-center gap-4 px-6 py-4",url:l.url,children:[c&&(0,o.jsx)(v,{collection:l,id:n}),(0,o.jsxs)("div",{className:d()("intercom-force-break gap-1justify-between flex w-full flex-1 flex-col gap-1 text-body-primary-color"),children:[(0,o.jsx)("div",{className:"-mt-1 mb-0.5 line-clamp-2 text-md font-semibold leading-normal text-body-primary-color transition ease-linear group-hover/collection-summary:text-primary sm:line-clamp-1","data-testid":"collection-name",children:l.name}),(0,o.jsx)("div",{className:"flex",children:(0,o.jsx)(x.A,{showAvatars:!1,articleCount:l.articleCount,authorCount:l.authorCount,authors:l.authors,colCount:t})})]})]})}};function k(e){var t;let{collectionListBlock:l,collections:n}=e,c=(0,u.U)(),r=null!=(t=l.columns)?t:1,i=2===r||3===r,{template:a=s.CLASSIC}=l,x=w[a]||C,h=c&&Number(a)!==s.VISUAL;return(0,o.jsx)(m,{helpCenterBlock:l,withRowGap:!0,className:d()({"-mx-3":c,"sm:-mx-5":h&&!i,"sm:-mx-6":h&&i}),"data-test-id":"collection-list",children:n.map((e,t)=>(0,o.jsx)(x,{collection:e,colCount:l.columns},t))})}var N=l(11800),S=l(31370);function A(e){let{articleListBlock:t}=e;return(0,o.jsxs)(S.A,{children:[t.title&&t.title.length>0&&(0,o.jsx)("header",{"data-testid":"article-list-block-title",className:"mb-1 px-3 pb-4 pt-2 font-primary text-xl font-bold leading-10 text-body-primary-color",children:t.title}),(0,o.jsx)(m,{helpCenterBlock:t,children:t.links.map((e,t)=>(0,o.jsx)(N.F,{summary:"",title:e.title,url:e.url},t))})]})}var I=l(89672);function _(){return(0,o.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"mt-0 fill-inherit",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.375 5.25C2.92525 5.25 1.75 6.42525 1.75 7.875V10.0625C1.75 10.5457 2.14973 10.9249 2.61345 11.0609C3.8844 11.4337 4.8125 12.6085 4.8125 14C4.8125 15.3915 3.8844 16.5663 2.61345 16.9391C2.14973 17.0751 1.75 17.4543 1.75 17.9375V20.125C1.75 21.5747 2.92525 22.75 4.375 22.75H23.625C25.0747 22.75 26.25 21.5747 26.25 20.125V17.9375C26.25 17.4543 25.8503 17.0751 25.3866 16.9391C24.1156 16.5663 23.1875 15.3915 23.1875 14C23.1875 12.6085 24.1156 11.4337 25.3866 11.0609C25.8503 10.9249 26.25 10.5457 26.25 10.0625V7.875C26.25 6.42525 25.0747 5.25 23.625 5.25H4.375ZM8.75 8.75C8.02513 8.75 7.4375 9.33763 7.4375 10.0625C7.4375 10.7874 8.02513 11.375 8.75 11.375H19.25C19.9749 11.375 20.5625 10.7874 20.5625 10.0625C20.5625 9.33763 19.9749 8.75 19.25 8.75H8.75ZM7.4375 16.1875C7.4375 15.4626 8.02513 14.875 8.75 14.875H14.875C15.5999 14.875 16.1875 15.4626 16.1875 16.1875C16.1875 16.9124 15.5999 17.5 14.875 17.5H8.75C8.02513 17.5 7.4375 16.9124 7.4375 16.1875Z"})})}function L(e){let{ticketsPortalLinkBlock:t}=e,l=(0,u.U)(),n=(0,I.Jr)();return(0,o.jsx)(m,{helpCenterBlock:t,withRowGap:!0,className:d()({"-mx-3":l,"sm:-mx-6":l}),children:(0,o.jsx)("a",{href:t.url,onClick:()=>{n({action:"clicked",metadata:{object:"tickets_portal_link"},name:"Clicked Tickets Portal Link"})},"data-testid":"tickets-portal-link",className:d()("collection-link group/collection-summary flex grow justify-center overflow-hidden border border-solid border-card-border bg-card-bg fill-primary p-5 no-underline shadow-card transition ease-linear",{"-mx-2 rounded-none hover:border-card-bg hover:bg-primary-alpha-10 sm:mx-0 sm:rounded-card sm:hover:border-primary-alpha-60 sm:hover:bg-card-bg":l,"rounded-card hover:border-primary-alpha-60":!l}),children:(0,o.jsxs)("div",{className:"flex",children:[(0,o.jsx)(_,{}),(0,o.jsx)("div",{className:d()("intercom-force-break gap-1justify-between ml-2 flex w-full flex-1 flex-col gap-1 text-body-primary-color"),children:(0,o.jsxs)("p",{className:d()("link__tickets-portal mb-0 mt-0 line-clamp-3 text-md sm:line-clamp-3"),children:[(0,o.jsx)("b",{className:"label",children:(0,o.jsx)(r.A,{id:"tickets.link-block.title"})}),(0,o.jsx)(r.A,{id:"tickets.link-block.description"})]})})]})})})}function U(){let{isFullWidth:e,localisedInformation:t}=(0,f.B3)(),l=d()("ml-content-block flex w-content-block flex-col items-center bg-content-block-bg bg-content-block-image bg-cover bg-center bg-no-repeat py-14 text-content-block",{"rounded-card border border-solid border-card-border":!e});return t&&(0,o.jsx)("section",{"data-testid":"content-block-section",className:l,children:(0,o.jsxs)("div",{className:"flex flex-col items-center px-6 sm:w-[482px] sm:px-0",children:[(0,o.jsx)("header",{className:"text-center text-[28px] font-medium","data-testid":"content-block-title",children:t.title}),(0,o.jsx)("div",{className:"mt-2 whitespace-pre-wrap text-center","data-testid":"content-block-description",children:t.description}),t.withButton&&(0,o.jsx)("a",{href:t.buttonUrl,target:"_blank",rel:"noopener noreferrer",className:"mt-6 rounded-content-button bg-content-block-button-bg px-[14px] py-2 font-semibold text-content-block-button",children:t.buttonTitle})]})})}function T(e){let{blocks:t,collections:l}=e,n=t.find(e=>"tickets-portal-link"===e.type);return l.length||n?(0,o.jsx)("div",{className:"flex flex-col gap-12",children:t.map((e,t)=>"collection-list"===e.type?(0,o.jsx)(k,{collections:l,collectionListBlock:e},t):"article-list"===e.type?(0,o.jsx)(A,{articleListBlock:e},t):"tickets-portal-link"===e.type?(0,o.jsx)(L,{ticketsPortalLinkBlock:e},t):"content-block"===e.type?(0,o.jsx)(U,{},t):void 0)}):(0,o.jsx)(i,{})}var P=l(57036),B=l(76837),E=l(56137);function V(){let e=(0,n.useContext)(f.Dx);if(!e)return null;let t=(0,E.lZ)(e.customizationOptions)["--header-height"];return t?(0,o.jsx)(B.A,{themeCSSCustomProperties:{"--header-height":t},globalScope:!1,cssSelector:"#header"}):null}function H(){var e,t,l;let c=(0,n.useContext)(f.Dx);if(!c)return null;let r=null==(l=c.customizationOptions.global)||null==(t=l.namedComponents)||null==(e=t.searchBar)?void 0:e.style.width;return r?(0,o.jsx)(B.A,{themeCSSCustomProperties:{"--search-bar-width":r},globalScope:!1,cssSelector:"#search-bar"}):null}var M=l(8194),R=l(94629),D=l(17619),O=!0;function G(e){var t;let{app:l,collectionCardCustomProperties:c,helpCenterSite:r,home:s,localeLinks:a,requestContext:d,theme:m,user:u}=e,x=(0,I.M_)(d.type),h=(0,I.Jr)();(0,n.useEffect)(()=>{d.type!==D.Y.HELP_CENTER_PREVIEW&&h({action:"viewed",metadata:{object:"educate_home",place:x},name:"Viewed Help Center"})},[h,x,d.type]);let p=null==(t=s.layout)?void 0:t.blocks;return(0,o.jsx)(R.X.Provider,{value:{object:"educate_home",place:x},children:(0,o.jsxs)(M.e.Provider,{value:c,children:[(0,o.jsx)(H,{}),(0,o.jsx)(V,{}),(0,o.jsx)(P.A,{app:l,description:m.siteName,headerLite:!1,showSearchBar:!0,helpCenterSite:r,requestContext:d,localeLinks:a,theme:m,title:m.siteName,user:u,allowIndexing:!0,children:(0,o.jsx)("section",{"data-testid":"landing-section",children:p&&p.length>0?(0,o.jsx)(T,{blocks:p,collections:s.collections}):s.collections.length>0?(0,o.jsx)("div",{children:(0,o.jsx)(k,{collections:s.collections,collectionListBlock:{columns:r.homeCollectionCols||1,type:"collection-list"}})}):(0,o.jsx)(i,{})})})]})})}}}]);