1"use strict";(self.webpackChunkcore=self.webpackChunkcore||[]).push([[8787],{1735:function(e,t,a){a.r(t),a.d(t,{Head:function(){return c}});a(3696);var n=a(9863),l=a(9655),o=a(2999),r=a(239),i=a(7642),s=a(2079);const c=e=>{let{pageContext:t}=e;return(0,s.Y)(n.A,{location:{pathname:`/${t.abbreviation}`},pageMetadata:{title:t.title}})};t.default=e=>{let{pageContext:t}=e;return(0,s.Y)(r.A,null,(0,s.Y)("div",null,(0,s.Y)("section",null,(0,s.Y)(o.A,{abbreviation:t.abbreviation,productName:t.title}),(0,s.Y)(i.A,{featured:0,courseFilter:[t.abbreviation],lookahead:1}),(0,s.Y)(l.A,{abbreviation:t.abbreviation}))))}},7642:function(e,t,a){a.d(t,{A:function(){return b}});var n=a(6885),l=a(3696),o=a(7042),r=a.n(o),i=a(4044),s=a(8824),c=a(2079);var u=e=>{let{sku:t}=e;const a=[((null==t?void 0:t.ribbonColor)||(null==t?void 0:t.ribbonText))&&"ribbon",null==t?void 0:t.ribbonColor,"box","rounded","skucard"].filter(Boolean).join(" ");return(0,c.Y)("div",{className:a},(null==t?void 0:t.ribbonText)&&(0,c.Y)("span",{className:"ribbon-label"},t.ribbonText),(0,c.Y)("div",{className:`${t.abbreviation.toLowerCase()} box-header`},(0,c.Y)("h3",{className:`${t.abbreviation.toLowerCase()}-training bulletedheading clickable`,onClick:()=>(0,n.oo)(t.slug),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),(0,n.oo)(t.slug))}},t.title),(0,c.Y)("ul",null,(0,c.Y)("li",null,("Online"===t.venue||"Private"===t.venue)&&t.venue,!("Online"===t.venue||"Private"===t.venue)&&(0,c.Y)(l.Fragment,null,t.hostLocation,", ",t.province,(0,c.Y)("br",null),t.venue)),(0,c.Y)("li",null,(0,s.qV)({fromDate:"MMM dd, yyyy"},t.startDate))),(0,c.Y)(m,{sku:t})))};const m=e=>{let{sku:t}=e;return(0,c.Y)("ul",{className:"actions stacked"},(0,c.Y)("li",{className:"text-center"},(0,c.Y)(n.N_,{"aria-label":`Register for ${t.title} ${(0,s.qV)({fromDate:"MMMM dd",separator:" â ",toDate:"MMMM dd"},t.startDate,t.endDate)}`,className:"button small",to:t.slug},"Private"===t.venue?"Learn More":"Register")))};var d=e=>{let{sku:t}=e;const{0:a}=(0,l.useState)((0,s.qV)({fromDate:"MMM d",separator:" â ",toDate:"MMM d"},t.startDate,t.endDate));return(0,c.Y)("li",{id:t.id},(0,c.Y)("h3",{className:`${t.abbreviation.toLowerCase()}-training bulletedheading clickable`,onClick:()=>(0,n.oo)(t.slug),onKeyDown:e=>{"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),(0,n.oo)(t.slug))}},(0,c.Y)("span",{className:"invisiblecontent"},`${t.title} (${t.abbreviation})`)),(0,c.Y)("span",{className:"small"},a,(0,c.Y)("br",null),t.schedule,(0,c.Y)("br",null),(0,c.Y)("span",{className:"small"},t.timeZone)),(0,c.Y)("span",{className:"small"},("Online"===t.venue||"Private"===t.venue)&&t.venue,!("Online"===t.venue||"Private"===t.venue)&&(0,c.Y)(l.Fragment,null,t.hostLocation,", ",t.province,(0,c.Y)("br",null),t.venue)),(0,c.Y)("span",{className:["onButton",((null==t?void 0:t.ribbonColor)||(null==t?void 0:t.ribbonText))&&"ribbon",null==t?void 0:t.ribbonColor].filter(
1Boolean).join(" ")},(null==t?void 0:t.ribbonText)&&(0,c.Y)("span",{className:"ribbon-label"},t.ribbonText),(0,c.Y)(n.N_,{"aria-label":`Register for ${t.title} ${a}`,className:"button small",to:t.slug},"Learn More")))};var b=e=>{let{featured:t=0,courseFilter:a=[],lookahead:o=2}=e;return(e=>{var i;return 0===e.length?(0,c.Y)("golden-width",null,(0,c.Y)("div",{className:"text-center box"},(0,c.Y)("p",null,"There are no upcoming public classes."),(0,c.Y)("ul",{className:"actions stacked justify-center"},(0,c.Y)("li",null,(0,c.Y)(n.N_,{className:"small button",to:"/1-on-1"},"Book a 1-on-1 Session")),(0,c.Y)("li",null,(0,c.Y)(n.N_,{className:"small button",to:"/private-training"},"Ask About Corporate Rates"))))):"psmpo"===(null===(i=a[0])||void 0===i?void 0:i.toLowerCase())?(0,c.Y)("golden-width",null,(0,c.Y)("div",{className:"text-center text-balance box"},(0,c.Y)("p",null,"The PSMPO course is a 3-day intensive program offered exclusively for in-house private training."),(0,c.Y)("ul",{className:"actions stacked justify-center"},(0,c.Y)("li",null,(0,c.Y)(n.N_,{className:"small primary button",to:"/contact"},"Ask About Corporate Rates"))))):(0,c.Y)(l.Fragment,null,(e=>(0,c.Y)("div",{className:"grid-new cols-2"},e.map((e=>(0,c.Y)(l.Fragment,null,(0,c.Y)(u,{key:e.id,sku:e}))))))((0,s.to)(e,t,o)),(e=>{if(e.length>0)return(0,c.Y)("div",{className:"skus-list"},(0,c.Y)(r(),{contentHiddenWhenClosed:!1,contentInnerClassName:"box accordioncontent space-after",onOpen:()=>{document.querySelector("button.Collapsible__trigger").scrollIntoView({behavior:"smooth"})},open:0===t,trigger:"See All Upcoming Coursesâ¦",triggerClassName:"button small",triggerOpenedClassName:"button small",triggerTagName:"button",triggerWhenOpen:0===t&&"",transitionTime:200},a.length>0&&(0,c.Y)("h2",null,"Upcoming courses"),(0,c.Y)("ul",{className:"alt cell-borders"},e.map((e=>(0,c.Y)(l.Fragment,{key:e.id},(0,c.Y)(d,{sku:e})))))))})((0,s.aZ)(e,(0,s.to)(e,t,o).length)))})((0,i.QT)((0,i.gw)((0,i.WY)((0,i.GH)((0,i.OM)(["prod"]))),a)))}},8077:function(e,t,a){var n=a(6885),l=a(8116),o=(a(3696),a(2079));t.A=e=>{let{alt:t,className:a,css:r,src:i}=e;const s=(0,n.GR)("1851263696").asset.edges.find((e=>e.node.relativePath===i));return s?(0,o.Y)(l.G,{alt:t,className:a,css:r,image:(0,l.c)(s.node),layout:"fullWidth"}):null}},9863:function(e,t,a){var n=a(6885),l=a(3696),o=a(2079);const r=(e,t)=>{const a=t.edges.find((t=>{let{node:a}=t;return null!==a.childImageSharp&&a.base===e}));return a?a.node.childImageSharp.gatsbyImageData.images.fallback.src:""};t.A=e=>{let{children:t,location:a,pageMetadata:i={}}=e;const{allFile:s,site:c}=(0,n.GR)("3435871314"),{creator:u,title:m,description:d,icon:b,image:Y,keywords:g,locale:p,siteUrl:v,titleTemplate:h,twitterCreator:N}=c.siteMetadata,{description:k,image:f,title:y}=i,w={canonicalUrl:`${v}${(null==a?void 0:a.pathname)||""}`,iconPath:r(b,s),imagePath:r(f||Y,s),title:y&&h.replace("%s",y)||m};return(0,o.Y)(l.Fragment,null,(0,o.Y)("link",{rel:"canonical",href:w.canonicalUrl}),(0,o.Y)("link",{rel:"shortcut icon",href:w.iconPath}),(0,o.Y)("meta",{name:"author",content:u}),(0,o.Y)("meta",{name:"description",content:k||d}),(0,o.Y)("meta",{name:"keywords",content:g}),(0,o.Y)("meta",{name:"image",content:`${v}${w.imagePath}`}),(0,o.Y)("meta",{itemProp:"description",content:k||d}),(0,o.Y)("meta",{itemProp:"image",content:`${v}${w.imagePath}`}),(0,o.Y)("meta",{itemProp:"name",content:w.title}),(0,o.Y)("meta",{name:"twitter:card",content:"summary"}),(0,o.Y)("meta",{name:"twitter:creator",content:N}),(0,o.Y)("meta",{name:"twitter:description",content:k||d}),(0,o.Y)("meta",{name:"twitter:image",content:`${v}${w.imagePath}`}),(0,o.Y)("meta",{name:"twitter:image:alt",content:w.title}),(0,o.Y)("meta",{name:"twitter:site",content:N}),(0,o.Y)("meta",{name:"twitter:title",content:w.title}),(0,o.Y)("meta",{property:"og:description",content:k||d}),(0,o.Y)("meta",{property:"og:image",content:`${v}${w.imagePath}`}),(0,o.Y)("meta",{property:"og:image:alt",content:w.title}),(0,o.Y)("meta",{property:"og:locale",content:p}),(0,o.Y)("meta",{property:"og:site_name",content:w.title}),(0,o.Y)("meta",{property:"og:title",content:w.title}),(0,o.Y)("meta",{property:"og:type",content:"website"}),(0,o.Y)("meta",{property:"og:url",content:w.canonicalUrl}),(0,o.Y)("title",null,w.title),t)}}}]); 2//# sourceMappingURL=component---src-templates-course-details-mjs-8b3d53c9f244b8e5f5ca.js.map
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.