1!function(){try{var 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]="8f4e6650-664b-4807-b237-421633f4d894",e._sentryDebugIdIdentifier="sentry-dbid-8f4e6650-664b-4807-b237-421633f4d894")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5784],{7490:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(14232);function l(e,t){let n=(0,r.useRef)(()=>{}),[l,a]=(0,r.useState)(!0);return(0,r.useEffect)(()=>{n.current=e},[e]),(0,r.useEffect)(()=>{if(!l||null===t)return;let e=setInterval(()=>n.current(),t);return()=>clearInterval(e)},[t,l]),a}},28438:(e,t,n)=>{n.d(t,{Q:()=>r,Y:()=>l});let r=e=>"gi_".concat(e),l=e=>{let{playhead:t=0,videoDuration:n}=e;return n-t>20}},35784:(e,t,n)=>{n.r(t),n.d(t,{default:()=>x});var r=n(37876),l=n(98754),a=n(41444);let o=e=>{let{videoId:t}=e,{dispatchModal:n}=(0,l.mL)();return(0,r.jsx)("a",{role:"button",onClick:()=>{n({type:"SET_CONTENT",value:(0,r.jsx)(x,{videoId:t,playOnIntersect:!1,playImmediately:!0})}),n({type:"SET_OPEN",value:!0}),n({type:"SET_TYPE",value:"video"})},children:(0,r.jsx)(a.A,{name:"videoPlayButton"})})},i=e=>{let{brightCovePlayer:t,videoId:n}=e;return(0,r.jsx)("button",{onClick:()=>{t.currentTime(.2),loop||t.pause()},className:"absolute top-1/2 left-1/2 h-22 w-22 -translate-x-1/2 -translate-y-1/2 rounded-full pl-1",children:(0,r.jsx)("span",{children:(0,r.jsx)(o,{videoId:n})})})};var u=n(37294),s=n(17908),c=n(36977),d=n(58070),p=n(79499),v=n(70373),f=n(14232),y=n(7490),h=n(95044),b=n(14254),m=n(28438),g=n(75657),I=n(16678),S=n(85461),k=n(58103),j=n.n(k);function x(e){let{videoId:t,title:n,playOnIntersect:a=!1,playImmediately:o=!1,contentId:k,date:x,topics:E,isWorkshop:_=!1,allowPiP:A=!0,loop:w=!1,cmsDuration:T,preview:C=!1,showControls:D=!1}=e,[N,P]=(0,f.useState)(!1),[R,O]=(0,f.useState)(!0),[B,F]=(0,f.useState)(null),[V,Y]=(0,f.useState)(!1),[Q,W]=(0,f.useState)(null),[z,J]=(0,f.useState)(!0),[L,$]=(0,f.useState)(!1),[q,G]=(0,f.useState)(!1),M=(0,f.useRef)(null),U=(0,f.useRef)(null),{user:H,bookmarks:K,authVerified:X}=(0,p.J)(),{token:Z}=(0,d.A)(),{playhead:ee,duration:et}=(0,v.o)(t),{audioOnly:en}=(0,l.mL)(),{observer:er,setObserver:el}=function(){let[e,t]=(0,f.useState)(null);return(0,f.useEffect)(()=>()=>{e&&e.disconnect()},[e]),{setObserver:t,observer:e}}(),ea=(0,S.jE)(),eo=!!x&&new Date(x).toISOString()||void 0,ei=null==E?void 0:E.map(e=>null==e?void 0:e.name);(0,y.A)(async()=>{var e,r,l,a,o;let i=await (0,g.A)(null==M?void 0:M.current,null==U||null==(e=U.current)?void 0:e.currentTime(),t,Z,k);i&&(null==i?void 0:i.contentId)&&(ea.setQueryData(["allContentStatus"],e=>{var t;let n={...e};return n[i.contentId]={percent:i.percent,complete:null!=(t=i.complete)&&t},n}),i.milestone&&(0,h.A)({audioOnly:en,bookmarked:null==K?void 0:K.includes(parseInt(k)),contentId:k,fullScreen:null==(r=U.current)?void 0:r.isFullscreen(),lengthActual:parseInt(null==(l=U.current)?void 0:l.duration()),lengthDisplayed:60*T,pictureInPicture:q,playbackRate:null==(a=U.current)?void 0:a.playbackRate(),publicationDate:eo,position:parseInt(null==(o=U.current)?void 0:o.currentTime()),title:n,topics:ei,videoId:t,isWorkshop:_,milestone:i.milestone,preview:C}))},1e4),(0,f.useEffect)(()=>{var e,r,l;L&&V&&(0,h.A)({audioOnly:en,bookmarked:null==K?void 0:K.includes(parseInt(k)),contentId:k,fullScreen:null==(e=U.current)?void 0:e.isFullscreen(),lengthActual:parseInt(null==(r=U.current)?void 0:r.duration()),lengthDisplayed:60*T,playbackRate:null==(l=U.current)?void 0:l.playbackRate(),publicationDate:eo,position:ee||0,title:n,topics:ei,videoId:t,isWorkshop:_,preview:C})},[L,V]),(0,f.useEffect)(()=>{if(!(null==H?void 0:H.id)||!U.current)return;let e=(0,m.Q)(H.id);U.current.bcAnalytics.client.setUser(e)},[null==H?void 0:H.id,B]),(0,f.useEffect)(()=>{V&&U.current&&ee&&!a&&!o&&(0,m.Y)({playhead:ee,videoDuration:et})&&U.current.currentTime(ee)},[ee,V,et]),(0,f.useEffect)(()=>{U.current&&ee&&!a&&!o&&(0,m.Y)({playhead:ee,videoDuration:et})&&W(ee/et*100)},[ee,et]),(0,f.useEffect)(()=>{var e,t;null==(e=U.current)||e.playsinline(en),null==(t=U.current)||t.audioOnlyMode(en)},[en]);let eu=function(e){let n=e.ref;if(U.current=e.ref,n.on("loadedmetadata",()=>{O(!1),F(!0)}),n.on("canplay",()=>{Y(!0),F(e=>!e)}),n.on("error",e=>{O(!1),P(e)}),n.on("play",()=>{M.current=!0,$(!0),J(!1)}),n.on("enterpictureinpicture",function(){G(!0)}),n.on("leavepictureinpicture",function(){G(!1)}),n.on("pause",()=>{M.current=!1}),n.on("ended",()=>{var e;(0,g.A)(!0,null==U||null==(e=U.current)?void 0:e.duration(),t,Z,k)}),a&&!o){let e=document.querySelector("#".concat(n.id_));el(new IntersectionObserver(e=>
1{e.forEach(e=>{e.isIntersecting&&(n.controls(!1),n.muted(!0),n.play(),er.unobserve(e.target))})},{threshold:.25})),er.observe(e),n.on("loadstart",()=>{n.remoteTextTracks().tracks_.forEach(e=>{e.mode="hidden"})})}o&&n.play(),w&&n.on("ended",()=>{n.play()})};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"relative",children:[(R||!X)&&(0,r.jsx)(c.A,{}),!N&&b.BC?(()=>{if(b.gb)return(0,r.jsx)("div",{className:j()({"bg-medium-green":en,"vjs-show-controls":D}),children:(0,r.jsx)(I.A,{accountId:b.BC,videoId:t?t.toString().trim():null,playerId:b.gb,onSuccess:eu,options:b.D3,attrs:{className:j()("vjs-play-button-background",{"vjs-pip-container":!!A,hidden:R})}})})})():(console.error(N),(0,r.jsx)("div",{className:"max-h-72",children:(0,r.jsx)(s.A,{message:"We're having trouble finding that video."})})),z&&!en&&(0,r.jsx)(u.A,{percentComplete:Q}),!!a&&U.current&&(0,r.jsx)(i,{brightCovePlayer:U.current,videoId:t})]})})}},36977:(e,t,n)=>{n.d(t,{A:()=>a});var r=n(37876),l=n(67140);let a=e=>{let{aspectRatio:t="16/9"}=e;return(0,r.jsx)("div",{style:{aspectRatio:t},children:(0,r.jsx)(l.Ay,{speed:1.2,width:"100%",height:"100%",backgroundColor:"#F3F3F3",foregroundColor:"#ECEBEB",children:(0,r.jsx)("rect",{x:"0",y:"0",width:"100%",height:"1000px",rx:"0",ry:"0"})})})}},37294:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(37876);let l=e=>{let{percentComplete:t}=e;return(0,r.jsx)("div",{id:"resumePlaybar",className:"absolute bottom-0 left-0 right-0 h-2 bg-transparent",children:(0,r.jsx)("div",{className:"absolute left-0 h-full bg-dark-green",style:{width:t+"%"}})})}},70373:(e,t,n)=>{n.d(t,{o:()=>o});var r=n(58070),l=n(14232),a=n(14254);function o(e){let[t,n]=(0,l.useState)(null),[o,i]=(0,l.useState)(null),[u,s]=(0,l.useState)(null),{token:c}=(0,r.A)();return(0,l.useEffect)(()=>{c&&(async e=>{try{let t=await fetch("".concat(a.R$,"/api/p/progress/video/").concat(e),{method:"GET",headers:{Authorization:"Bearer ".concat(c)}}),r=await t.json();n((null==r?void 0:r.playheadSeconds)||0),i(null==r?void 0:r.duration),s((null==r?void 0:r.milestone)||0)}catch(e){console.error(e)}})(e)},[e,c]),{playhead:t,duration:o,milestone:u}}},75657:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(14254);let l=async(e,t,n,l,a)=>{if(e&&l&&null!=a)try{let e=await fetch("".concat(r.R$,"/api/p/progress/video?is_mobile=false"),{method:"POST",headers:{Authorization:"Bearer ".concat(l),"Content-Type":"application/json"},body:JSON.stringify({externalVideoId:n.toString(),playheadSeconds:parseInt(t),contentId:a.toString()})});return await e.json()}catch(e){return console.error(e),null}}},95044:(e,t,n)=>{n.d(t,{A:()=>l});var r=n(23091);let l=async e=>{let{audioOnly:t=!1,bookmarked:n=!1,contentId:l,fullScreen:a=!1,lengthActual:o,pictureInPicture:i=!1,playbackRate:u,lengthDisplayed:s,position:c=null,publicationDate:d,title:p,topics:v,videoId:f,isWorkshop:y=!1,milestone:h=null,preview:b=!1}=e;(0,r.u4)(h?h>=95?"Video Playback Completed":"Video Playback ".concat(h," Percent Completed"):"Video Playback Started",{audio_only:t,bookmarked:n,content_id:l,full_screen:a,length_actual:o,length_displayed:s,...h?{picture_in_picture:i}:{},playback_rate:u,position:c,publication_date:d,title:p,topics:v,video_id:f,workshop:y,preview:b})}}}]);
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.