1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,466719,e=>{"use strict";var t=e.i(843476),i=e.i(500932),s=e.i(152088),n=e.i(130013),r=e.i(271645);function a(e){let s,n,r,a=(0,i.c)(6);return a[0]!==e?({children:s,...n}=e,a[0]=e,a[1]=s,a[2]=n):(s=a[1],n=a[2]),a[3]!==s||a[4]!==n?(r=(0,t.jsx)("button",{type:"button",...n,children:s}),a[3]=s,a[4]=n,a[5]=r):r=a[5],r}e.s(["CustomItemsCarousel",0,function(e){let l,o,d,c,h=(0,i.c)(12),{children:u,goToSlideLabel:m}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(l={containScroll:"trimSnaps",slidesToScroll:"auto",align:"start"},h[0]=l):l=h[0];let[p,f]=(0,n.default)(l),{selectedIndex:v,scrollSnaps:y,onDotButtonClick:b}=function(e){let t,s,n,a,l,o,d,c=(0,i.c)(12),[h,u]=(0,r.useState)(0);c[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],c[0]=t):t=c[0];let[m,p]=(0,r.useState)(t);c[1]!==e?(s=t=>{e&&e.scrollTo(t)},c[1]=e,c[2]=s):s=c[2];let f=s;c[3]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{p(e.scrollSnapList())},c[3]=n):n=c[3];let v=n;c[4]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{u(e.selectedScrollSnap())},c[4]=a):a=c[4];let y=a;return c[5]!==e?(l=()=>{e&&(v(e),y(e),e.on("reInit",v).on("reInit",y).on("select",y))},o=[e,v,y],c[5]=e,c[6]=l,c[7]=o):(l=c[6],o=c[7]),(0,r.useEffect)(l,o),c[8]!==f||c[9]!==m||c[10]!==h?(d={selectedIndex:h,scrollSnaps:m,onDotButtonClick:f},c[8]=f,c[9]=m,c[10]=h,c[11]=d):d=c[11],d}(f);return h[1]!==u||h[2]!==p?(o=(0,t.jsx)("div",{className:"overflow-hidden",ref:p,children:u}),h[1]=u,h[2]=p,h[3]=o):o=h[3],h[4]!==m||h[5]!==b||h[6]!==y||h[7]!==v?(d=y.length>1&&(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-6 pt-6",children:[(0,t.jsx)("hr",{className:"hidden border-b-0 border-(--block-border) md:block"}),(0,t.jsx)("div",{className:"flex justify-center",children:y.map((e,i)=>(0,t.jsx)(a,{"aria-label":`${m} ${i+1}`,onClick:()=>b(i),className:"h-6 w-6 cursor-pointer md:h-4",children:(0,t.jsx)("div",{className:"flex h-6 w-6 items-center justify-center md:h-4",children:(0,t.jsx)("span",{className:(0,s.cn)("block h-2 w-2 rounded-full",i===v?"w-2 bg-(--block-text)":"bg-(--block-text)/30 hover:bg-(--block-text)/50")})})},i))})]}),h[4]=m,h[5]=b,h[6]=y,h[7]=v,h[8]=d):d=h[8],h[9]!==o||h[10]!==d?(c=(0,t.jsxs)("div",{className:"w-full max-w-full",children:[o,d]}),h[9]=o,h[10]=d,h[11]=c):c=h[11],c}],466719)},84611,e=>{"use strict";var t=e.i(843476),i=e.i(500932),s=e.i(152088),n=e.i(130013),r=e.i(271645);let a=e=>{let s,n,r,a=(0,i.c)(6);return a[0]!==e?({children:s,...n}=e,a[0]=e,a[1]=s,a[2]=n):(s=a[1],n=a[2]),a[3]!==s||a[4]!==n?(r=(0,t.jsx)("button",{type:"button",...n,children:s}),a[3]=s,a[4]=n,a[5]=r):r=a[5],r};e.s(["LogoCarousel",0,function(e){let l,o,d,c,h,u,m,p=(0,i.c)(17),{children:f,goToSlideLabel:v}=e,[y,b]=(0,r.useState)("center"),g="center"!==y&&"trimSnaps";p[0]!==y||p[1]!==g?(l={containScroll:g,slidesToScroll:"auto",align:y},p[0]=y,p[1]=g,p[2]=l):l=p[2];let[S,k]=(0,n.default)(l),{selectedIndex:T,scrollSnaps:w,onDotButtonClick:x}=(e=>{let t,s,n,a,l,o,d,c=(0,i.c)(12),[h,u]=(0,r.useState)(0);c[0]===Symbol.for("react.memo_cache_sentinel")?(t=[],c[0]=t):t=c[0];let[m,p]=(0,r.useState)(t);c[1]!==e?(s=t=>{e&&e.scrollTo(t)},c[1]=e,c[2]=s):s=c[2];let f=s;c[3]===Symbol.for("react.memo_cache_sentinel")?(n=e=>{p(e.scrollSnapList())},c[3]=n):n=c[3];let v=n;c[4]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{u(e.selectedScrollSnap())},c[4]=a):a=c[4];let y=a;return c[5]!==e?(l=()=>{e&&(v(e),y(e),e.on("reInit",v).on("reInit",y).on("select",y))},o=[e,v,y],c[5]=e,c[6]=l,c[7]=o):(l=c[6],o=c[7]),(0,r.useEffect)(l,o),c[8]!==f||c[9]!==m||c[10]!==h?(d={selectedIndex:h,scrollSnaps:m,onDotButtonClick:f},c[8]=f,c[9]=m,c[10]=h,c[11]=d):d=c[11],d})(k);p[3]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=document?.documentElement?.clientWidth;e&&b(e<640?"start":"center")},p[3]=o):o=p[3];let E=o;return p[4]===Symbol.for("react.memo_cache_sentinel")?(d=()=>(E(),window.addEventListener("resize",E),()=>{window.removeEventListener("resize",E)}),c=[],p[4]=d,p[5]=c):(d=p[4],c=p[5]),(0,r.useEffect)(d,c),p[6]!==f||p[7]!==S?(h=(0,t.jsx)("div",{className:"overflow-hidden",ref:S,children:f}),p[6]=f,p[7]=S,p[8]=h):h=p[8],p[9]!==v||p[10]!==x||p[11]!==w||p[12]!==T?(u=w.length>1&&(0,t.jsxs)("div",{className:"flex flex-col justify-center gap-6 pt-6",children:[(0,t.jsx)("hr",{className:"hidden border-b-0 border-(--block-border) md:block"}),(0,t.jsx)("div",{className:"flex justify-center",children:w.map((e,i)=>(0,t.jsx)(a,{"aria-label":`${v} ${i+1}`,onClick:()=>x(i),className:"h-6 w-6 cursor-pointer md:h-4",children:(0,t.jsx)("div",{className:"flex h-6 w-6 items-center justify-center md:h-4",children:(0,t.jsx)("span",{className:(0,s.cn)("block h-2 w-2 rounded-full",i===T?"w-2 bg-(--block-text)":"bg-(--block-text)/30 hover:bg-(--block-text)/50")})})},i))})]}),p[9]=v,p[10]=x,p[11]=w,p[12]=T,p[13]=u):u=p[13],p[14]!==h||p[15]!==u?(m=(0,t.jsxs)("div",{className:"w-full max-w-full",children:[h,u]}),p[14]=h,p[15]=u,p[16]=m):m=p[16],m}],84611)},899860,e=>{"use strict";var t=e.i(843476),i=e.i(500932),s=e.i(271645),n=e.i(130013);function r(e,t,i){return Math.min(Math.max(e,t),i)}function a(e){return"number"==typeof e&&!isNaN(e)}function l(e={}){let t,i,s,n,o=[],d=0,c=0,h=0,u=!1;function m(){y(t.selectedScrollSnap(),1)}function p(){u=!1}function f(){u=!1,d=0,c=0}function v(){let e=t.internalEngine().scrollBody.duration();c=+!e,u=!0,e||m()}
1function y(e,i){t.scrollSnapList().forEach((s,n)=>{let a=Math.abs(i),l=o[n],c=n===e,m=r(c?l+a:l-a,0,1);o[n]=m;let p=c&&u,f=t.previousScrollSnap();p&&(o[f]=1-m),c&&function(e,i){let{index:s,dragHandler:n,scrollSnaps:r}=t.internalEngine(),a=n.pointerDown(),l=1/(r.length-1),o=e,c=a?t.selectedScrollSnap():t.previousScrollSnap();if(a&&o===c){let e=-1*Math.sign(d);o=c,c=s.clone().set(c).add(e).get()}h=c*l+(o-c)*l*i}(e,m),function(e){let i=t.internalEngine().slideRegistry[e],{scrollSnaps:s,containerRect:n}=t.internalEngine(),r=o[e];i.forEach(i=>{let a=t.slideNodes()[i].style,l=parseFloat(r.toFixed(2)),o=l>0,d=function(e){let{axis:i}=t.internalEngine(),s=i.scroll.toUpperCase();return`translate${s}(${i.direction(e)}px)`}(o?s[e]:n.width+2);o&&(a.transform=d),a.opacity=l.toString(),a.pointerEvents=r>.5?"auto":"none",o||(a.transform=d)})}(n)})}function b(){let{dragHandler:e,index:i,scrollBody:s}=t.internalEngine(),n=t.selectedScrollSnap();if(!e.pointerDown())return n;let r=Math.sign(s.velocity()),a=Math.sign(d),l=i.clone().set(n).add(-1*r).get();return r&&a?a===r?l:n:null}function g(){let{target:e,location:s}=t.internalEngine(),n=Math.abs(e.get()-s.get())>=1,r=b(),l=!a(r);return!function(e){let{dragHandler:s,scrollBody:n}=e.internalEngine(),r=s.pointerDown(),l=n.velocity(),h=n.duration(),u=b(),m=!a(u);if(r){if(!l)return;d+=l,c=Math.abs(l/i),function(e){let{scrollSnaps:i,location:s,target:n}=t.internalEngine();a(e)&&!(o[e]<.5)&&(s.set(i[e]),n.set(s))}(u)}if(!r){if(!h||m)return;c+=(1-o[u])/h,c*=.68}m||y(u,c)}(t),!l&&!n&&o[r]>.999}function S(){return h}return{name:"fade",options:e,init:function(e){let a=(t=e).selectedScrollSnap(),{scrollBody:l,containerRect:d,axis:c}=t.internalEngine();i=r(.75*c.measureSize(d),200,500),u=!1,o=t.scrollSnapList().map((e,t)=>+(t===a)),s=l.settled,n=t.scrollProgress,l.settled=g,t.scrollProgress=S,t.on("select",v).on("slideFocus",m).on("pointerDown",f).on("pointerUp",p),function(){let{translate:e,slideLooper:i}=t.internalEngine();e.clear(),e.toggleActive(!1),i.loopPoints.forEach(({translate:e})=>{e.clear(),e.toggleActive(!1)})}(),m()},destroy:function(){let{scrollBody:e}=t.internalEngine();e.settled=s,t.scrollProgress=n,t.off("select",v).off("slideFocus",m).off("pointerDown",f).off("pointerUp",p),t.slideNodes().forEach(e=>{let t=e.style;t.opacity="",t.transform="",t.pointerEvents="",e.getAttribute("style")||e.removeAttribute("style")})}}}l.globalOptions=void 0;let o=function(e){let s,n,r=(0,i.c)(3),{className:a}=e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("path",{d:"M9 17L1 9L9 1",stroke:"#98A2B3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r[0]=s):s=r[0],r[1]!==a?(n=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",stroke:"currentColor",fill:"none",width:"1em",height:"1em",viewBox:"0 0 10 18",className:a,children:s}),r[1]=a,r[2]=n):n=r[2],n},d=function(e){let s,n,r=(0,i.c)(3),{className:a}=e;return r[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("path",{d:"M1 1l8 8-8 8",stroke:"#98A2B3",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),r[0]=s):s=r[0],r[1]!==a?(n=(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 0 10 18",stroke:"currentColor",fill:"none",className:a,children:s}),r[1]=a,r[2]=n):n=r[2],n};var c=e.i(152088);let h=(0,s.createContext)(null);e.s(["TestimonialsCarouselControls",0,function(){let e,n,r,a,l,u,m,p=(0,i.c)(19),f=(0,s.useContext)(h);if(!f)return null;let{prevBtnDisabled:v,nextBtnDisabled:y,onPrevButtonClick:b,onNextButtonClick:g,translations:S}=f,k=v&&"cursor-not-allowed opacity-50";p[0]!==k?(e=(0,c.cn)("cursor-pointer stroke-(--testimonial-text) opacity-90 transition-opacity",k),p[0]=k,p[1]=e):e=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsx)(o,{className:"h-4 w-4"}),p[2]=n):n=p[2],p[3]!==b||p[4]!==v||p[5]!==e||p[6]!==S.previousTestimonial?(r=(0,t.jsx)("button",{type:"button",onClick:b,disabled:v,className:e,"aria-label":S.previousTestimonial,children:n}),p[3]=b,p[4]=v,p[5]=e,p[6]=S.previousTestimonial,p[7]=r):r=p[7];let T=y&&"cursor-not-allowed opacity-50";return p[8]!==T?(a=(0,c.cn)("cursor-pointer stroke-(--testimonial-text) opacity-90 transition-opacity",T),p[8]=T,p[9]=a):a=p[9],p[10]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)(d,{className:"h-4 w-4"}),p[10]=l):l=p[10],p[11]!==y||p[12]!==g||p[13]!==a||p[14]!==S.nextTestimonial?(u=(0,t.jsx)("button",{type:"button",onClick:g,disabled:y,className:a,"aria-label":S.nextTestimonial,children:l}),p[11]=y,p[12]=g,p[13]=a,p[14]=S.nextTestimonial,p[15]=u):u=p[15],p[16]!==r||p[17]!==u?(m=(0,t.jsxs)("div",{className:"flex gap-3",children:[r,u]}),p[16]=r,p[17]=u,p[18]=m):m=p[18],m},"default",0,function(e){let r,a,o,d,c,u,m=(0,i.c)(16),{children:p,translations:f}=e;m[0]===Symbol.for("react.memo_cache_sentinel")?(r={loop:!0,containScroll:!1},a=[l()],m[0]=r,m[1]=a):(r=m[0],a=m[1]);let[v,y]=(0,n.default)(r,a),{prevBtnDisabled:b,nextBtnDisabled:g,onPrevButtonClick:S,onNextButtonClick:k}
1=function(e){let t,n,r,a,l,o,d=(0,i.c)(13),[c,h]=(0,s.useState)(!0),[u,m]=(0,s.useState)(!0);d[0]!==e?(t=()=>{e&&e.scrollPrev()},d[0]=e,d[1]=t):t=d[1];let p=t;d[2]!==e?(n=()=>{e&&e.scrollNext()},d[2]=e,d[3]=n):n=d[3];let f=n;d[4]===Symbol.for("react.memo_cache_sentinel")?(r=e=>{h(!e.canScrollPrev()),m(!e.canScrollNext())},d[4]=r):r=d[4];let v=r;return d[5]!==e?(a=()=>{if(e)return v(e),e.on("reInit",v).on("select",v),()=>{e.off("reInit",v).off("select",v)}},l=[e,v],d[5]=e,d[6]=a,d[7]=l):(a=d[6],l=d[7]),(0,s.useEffect)(a,l),d[8]!==u||d[9]!==f||d[10]!==p||d[11]!==c?(o={prevBtnDisabled:c,nextBtnDisabled:u,onPrevButtonClick:p,onNextButtonClick:f},d[8]=u,d[9]=f,d[10]=p,d[11]=c,d[12]=o):o=d[12],o}(y);return m[2]!==g||m[3]!==k||m[4]!==S||m[5]!==b||m[6]!==f?(o={prevBtnDisabled:b,nextBtnDisabled:g,onPrevButtonClick:S,onNextButtonClick:k,translations:f},m[2]=g,m[3]=k,m[4]=S,m[5]=b,m[6]=f,m[7]=o):o=m[7],m[8]!==p?(d=(0,t.jsx)("div",{className:"flex",children:p}),m[8]=p,m[9]=d):d=m[9],m[10]!==v||m[11]!==d?(c=(0,t.jsx)("div",{className:"relative w-full overflow-hidden",ref:v,children:d}),m[10]=v,m[11]=d,m[12]=c):c=m[12],m[13]!==o||m[14]!==c?(u=(0,t.jsx)(h.Provider,{value:o,children:c}),m[13]=o,m[14]=c,m[15]=u):u=m[15],u}],899860)},883696,e=>{e.v(t=>Promise.all(["static/immutable/chunks/338ov7ftyq6ix.js"].map(t=>e.l(t))).then(()=>t(717104)))},264059,e=>{"use strict";var t=e.i(843476),i=e.i(500932),s=e.i(271645),n=e.i(770703),r=e.i(805983),a=e.i(317694),l=e.i(840147),o=e.i(717270),d=e.i(292424),c=e.i(238755),h=e.i(611140);let u="/api/video-progress",m=new Set(["invalid_request","cross_site","unauthenticated","session_expired","tracking_disabled","no_access","not_found","media_unavailable","reader_mismatch","version_conflict","asset_changed","rate_limited","unavailable"]);function p(e){return"object"==typeof e&&null!==e}function f(e){return"number"==typeof e&&Number.isFinite(e)}function v(e){if(!p(e)||"string"!=typeof e.reader||"string"!=typeof e.videoId||"string"!=typeof e.assetId||!f(e.durationSeconds)||!Number.isInteger(e.version))return null;let t=e.progress;return null===t||p(t)&&f(t.positionSeconds)&&"boolean"==typeof t.completed&&"string"==typeof t.updatedAt?e:null}async function y(e){let t=null;try{t=await e.json()}catch{t=null}if(e.ok){let e=v(t);return e?{kind:"ok",state:e}:{kind:"failed"}}if(!p(t)||"string"!=typeof t.code||!m.has(t.code))return{kind:"failed"};let i=e.headers.get("retry-after"),s=null===i||""===i.trim()?NaN:Number(i);return{kind:"refused",code:t.code,state:v(t.state),retryAfterSeconds:Number.isFinite(s)&&s>=0?s:null}}class b{player;videoId;assetId;chapterStart;onResumeOffer;deps;phase="loading";stopped=!1;reader=null;version=0;serverCompleted=!1;stored=void 0;hasPlayed=!1;hasSought=!1;restoreSettled=!1;restoreTarget=null;offer=null;queue=[];inFlight=!1;lastQueuedPosition=null;completionTaken=!1;lastAckAt=-1/0;lastContactAt=-1/0;lastRecoveryAt=-1/0;reading=!1;pendingRead=null;assetRechecked=!1;heartbeat=null;seekTimer=null;sendTimer=null;readTimer=null;readAbort=null;detachers=[];constructor(e){this.player=e.player,this.videoId=e.videoId,this.assetId=e.assetId,this.chapterStart=e.chapterStart,this.onResumeOffer=e.onResumeOffer,this.deps=e.deps}start(){this.listen(this.player,"loadedmetadata",this.handleMetadata),this.listen(this.player,"durationchange",this.handleMetadata),this.listen(this.player,"play",this.handlePlay),this.listen(this.player,"playing",this.handlePlaying),this.listen(this.player,"pause",this.handlePause),this.listen(this.player,"seeking",this.handleSeeking),this.listen(this.player,"seeked",this.handleSeeked),this.listen(this.player,"timeupdate",this.handleTimeUpdate),this.listen(this.player,"ended",this.handleEnded),this.listen(this.deps.document,"visibilitychange",this.handleVisibility),this.listen(this.deps.window,"pagehide",this.handlePageHide),this.listen(this.deps.window,"pageshow",this.handlePageShow),this.player.paused||(this.hasPlayed=!0,this.startHeartbeat()),this.read("initial")}stop(){if(!this.stopped)for(let e of(this.flushFinal(),this.stopped=!0,this.phase="inactive",this.queue=[],this.pendingRead=null,this.stopHeartbeat(),this.clearTimer("seekTimer"),this.clearTimer("sendTimer"),this.clearTimer("readTimer"),this.readAbort?.abort(),this.detachers.splice(0)))e()}acceptResume(){let e=this.offer;null!==e&&(this.setOffer(null),this.player.currentTime=e,Promise.resolve(this.player.play()).catch(()=>{}))}dismissResume(){this.setOffer(null)}listen(e,t,i){e.addEventListener(t,i),this.detachers.push(()=>e.removeEventListener(t,i))}handleMetadata=()=>{this.maybeRestore()};handlePlay=()=>{this.hasPlayed=!0};handlePlaying=()=>{this.hasPlayed=!0,this.startHeartbeat()};handlePause=()=>{this.stopHeartbeat(),this.player.ended||this.requestSave("pause")};handleSeeking=()=>{this.isOwnSeek()||(this.hasSought=!0,this.clearTimer("seekTimer"))};handleSeeked=()=>
1{if(null!==this.restoreTarget){let e=this.isOwnSeek();if(this.restoreTarget=null,e)return}this.hasPlayed&&(this.clearTimer("seekTimer"),this.seekTimer=setTimeout(()=>{this.seekTimer=null,this.requestSave("seeked")},1e3))};handleTimeUpdate=()=>{if(this.completionTaken||this.serverCompleted||!this.hasPlayed)return;let e=this.player.duration;Number.isFinite(e)&&e>0&&this.player.currentTime>=.9*e&&(this.completionTaken=!0,this.requestSave("completed",{force:!0}))};handleEnded=()=>{this.stopHeartbeat(),this.clearTimer("seekTimer"),this.setOffer(null),this.requestSave("ended")};handleVisibility=()=>{"hidden"===this.deps.document.visibilityState?this.flushFinal():this.deps.now()-this.lastContactAt>=6e4&&this.readOnReturn()};handlePageHide=()=>{this.flushFinal()};handlePageShow=e=>{"persisted"in e&&!0===e.persisted&&this.readOnReturn()};readOnReturn(){"active"!==this.phase&&"reconnecting"!==this.phase||this.inFlight||0!==this.queue.length||this.read("return")}isOwnSeek(){return null!==this.restoreTarget&&.5>Math.abs(this.player.currentTime-this.restoreTarget)}startHeartbeat(){null===this.heartbeat&&(this.heartbeat=setInterval(()=>this.requestSave("heartbeat"),3e4))}stopHeartbeat(){null!==this.heartbeat&&(clearInterval(this.heartbeat),this.heartbeat=null)}clearTimer(e){let t=this[e];null!==t&&(clearTimeout(t),this[e]=null)}setOffer(e){this.offer!==e&&(this.offer=e,this.onResumeOffer(e))}maybeRestore(){if(this.restoreSettled||void 0===this.stored)return;let e=this.stored;if(null===e||e.completed||this.chapterStart){this.restoreSettled=!0;return}let t=this.player.duration;if(this.player.readyState<1||!Number.isFinite(t)||t<=0)return;this.restoreSettled=!0;let i=Math.min(e.positionSeconds,t-5);if(!(i<5)){if(this.hasPlayed||this.hasSought){Math.abs(this.player.currentTime-i)>=10&&this.setOffer(i);return}this.restoreTarget=i,this.lastQueuedPosition=i,this.player.currentTime=i}}positionFor(e){let t=this.player.duration,i="ended"===e&&Number.isFinite(t)?t:this.player.currentTime;return Number.isFinite(i)&&i>=0?i:null}isDirty(e){return null===this.lastQueuedPosition||Math.abs(e-this.lastQueuedPosition)>=1}completes(e){return!this.serverCompleted&&void 0!==e.durationSeconds&&e.positionSeconds>=.9*e.durationSeconds}snapshot(e,t){let i=this.player.duration;return{positionSeconds:e,durationSeconds:Number.isFinite(i)&&i>0?i:void 0,reason:t,updateId:this.deps.newUpdateId(),attempts:0}}requestSave(e,{force:t=!1}={}){if(this.stopped||"inactive"===this.phase||!this.hasPlayed)return;let i=this.positionFor(e);null!==i&&(t||this.isDirty(i))&&(this.enqueue(this.snapshot(i,e)),this.pump())}enqueue(e){this.lastQueuedPosition=e.positionSeconds;let t=this.queue.length-1,i=this.queue[t];if(i&&0===i.attempts&&!(this.completes(i)&&!this.completes(e))){this.queue[t]=e;return}this.queue.push(e)}discardQueue(){this.queue=[],this.clearTimer("sendTimer"),this.lastQueuedPosition=this.positionFor("heartbeat"),this.completionTaken=!1}forgetReader(){this.discardQueue(),this.setOffer(null),this.stored=null,this.restoreSettled=!0}adopt(e){e.version<this.version||(this.version=e.version,this.serverCompleted=e.progress?.completed??!1)}scheduleSend(e){this.clearTimer("sendTimer"),this.sendTimer=setTimeout(()=>{this.sendTimer=null,this.pump()},e)}pump(e={}){if(this.stopped||this.inFlight||"active"!==this.phase||0===this.queue.length||this.reading&&!e.now)return;if(null!==this.sendTimer){if(!e.now)return;this.clearTimer("sendTimer")}let t=this.lastAckAt+2e3-this.deps.now();if(t>0&&!e.now)return void this.scheduleSend(t);let i=this.queue[0],s=this.reader;i.attempts+=1,this.inFlight=!0,this.post(i,this.version,!0===e.keepalive).then(e=>this.settleSave(i,e,s))}async post(e,t,i){let s={videoId:this.videoId,assetId:this.assetId,positionSeconds:Math.round(1e3*e.positionSeconds)/1e3,...void 0!==e.durationSeconds&&{durationSeconds:Math.round(1e3*e.durationSeconds)/1e3},expectedVersion:t,updateId:e.updateId,reason:e.reason,reader:this.reader??""};try{let e=await this.deps.fetch(u,{method:"POST",credentials:"same-origin",cache:"no-store",keepalive:i,headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});return await y(e)}catch{return{kind:"failed"}}}settleSave(e,t,i){if(this.inFlight=!1,!this.stopped){if(this.lastContactAt=this.deps.now(),i!==this.reader){this.queue=this.queue.filter(t=>t!==e),this.pump();return}if("ok"===t.kind){this.adopt(t.state),this.lastAckAt=this.deps.now(),this.queue=this.queue.filter(t=>t!==e),this.pump();return}if("failed"===t.kind||"unavailable"===t.code)return void this.retryOrDrop(e);switch(t.code){case"rate_limited":{let e=Math.min(t.retryAfterSeconds??5,60);this.scheduleSend(1e3*e);return}case"version_conflict":if(t.state&&t.state.assetId!==this.assetId)return void this.deactivate();t.state&&this.adopt(t.state),this.lastAckAt=this.deps.now(),this.discardQueue();return;case"asset_changed":this.discardQueue(),this.recheckAsset();return;case"reader_mismatch":this.forgetReader(),this.phase="reconnecting",this.read("account");return;case"unauthenticated":case"session_expired":this.recover();return;default:this.deactivate()}}}retryOrDrop(e){e.attempts<3?this.scheduleSend(2e3*2**(e.attempts-1)):(this.queue=this.queue.filter(t=>t!==e),this.lastQueuedPosition=null,this.pump())}recover(){let e=this.deps.now();e-this.lastRecoveryAt<6e5?this.deactivate():(this.lastRecoveryAt=e,this.phase="reconnecting",this.read("recover"))}recheckAsset(){this.assetRechecked?this.deactivate():(this.assetRechecked=!0,this.phase="reconnecting",this.clearTimer("readTimer"),this.readTimer=setTimeout(()=>{this.readTimer=null,this.read("recheck")},5e3))}deactivate(){this.phase="inactive",this.queue=[],this.stopHeartbeat(),this.clearTimer("sendTimer"),this.clearTimer("seekTimer"),this.clearTimer("readTimer")}async read(e,{attempt:t=1,forcedRefreshTried:i=!1}={}){let s;if(this.stopped)return;if(this.reading){(null===this.pendingRead||"return"===this.pendingRead)&&(this.pendingRead=e);return}this.reading=!0;let n=new AbortController;this.readAbort=n;try{let e=await this.deps.fetch(`${u}?videoId=${encodeURIComponent(this.videoId)}`,{method:"GET",credentials:"same-origin",cache:"no-store",signal:n.signal});s=await y(e)}catch{s={kind:"failed"}}this.reading=!1,this.readAbort=null,this.stopped||(this.lastContactAt=this.deps.now(),await this.settleRead(e,s,t,i),this.runPendingRead(),this.pump())}runPendingRead(){let e=this.pendingRead;this.pendingRead=null,null===e||this.stopped||"inactive"===this.phase||null!==this.readTimer||this.read(e)}async settleRead(e,t,i,s){if("ok"===t.kind)return void this.applyRead(e,t.state);if("failed"===t.kind||"unavailable"===t.code||"rate_limited"===t.code){if("return"===e)return;if(i>=3)return void this.deactivate();let n="refused"===t.kind&&null!==t.retryAfterSeconds?1e3*Math.min(t.retryAfterSeconds,60):2e3*2**(i-1);return void this.retryRead(e,i,s,n)}if("session_expired"===t.code&&!s){let t=await this.deps.recoverSession();if(this.stopped)return;if("renewed"===t.kind)return void this.read(e,{forcedRefreshTried:!0});if("wait"===t.kind&&i<3)return void this.retryRead(e,i,!1,Math.min(t.ms,5e3))}this.deactivate()}retryRead(e,t,i,s){this.clearTimer("readTimer"),this.readTimer=setTimeout(()=>{this.readTimer=null,this.read(e,{attempt:t+1,forcedRefreshTried:i})},s)}applyRead(e,t){t.assetId!==this.assetId?this.deactivate():(null!==this.reader&&t.reader!==this.reader?(this.forgetReader(),this.version=0):"initial"!==e&&t.version>this.version&&this.discardQueue(),this.reader=t.reader,this.adopt(t),"initial"===e&&(this.stored=t.progress?{positionSeconds:t.progress.positionSeconds,completed:t.progress.completed}:null,this.maybeRestore()),this.phase="active",this.pump())}
1flushFinal(){if(this.stopped||"active"!==this.phase||!this.hasPlayed||null===this.reader)return;this.clearTimer("seekTimer");let e=this.player.ended?"ended":"hidden",t=this.positionFor(e);null!==t&&this.isDirty(t)&&this.enqueue(this.snapshot(t,e)),this.pump({keepalive:!0,now:!0})}}async function g(){let e=await (0,c.attemptRecovery)(()=>{});switch(e.kind){case"refreshed":return{kind:"renewed"};case"early":return{kind:"wait",ms:e.remainingMs};default:return{kind:"failed"}}}function S(){return Date.now()}function k(e,t){return window.fetch(e,t)}var T=e.i(696320);function w(e){let s,n,r,a,l,o=(0,i.c)(13),{seconds:d,label:c,dismissLabel:h,onAccept:u,onDismiss:m}=e;if(o[0]!==d){let e,t,i,n;t=Math.floor((e=Math.max(0,Math.floor(d)))/3600),i=Math.floor(e%3600/60),n=String(e%60).padStart(2,"0"),s=t>0?`${t}:${String(i).padStart(2,"0")}:${n}`:`${i}:${n}`,o[0]=d,o[1]=s}else s=o[1];return o[2]!==c||o[3]!==u||o[4]!==s?(n=(0,t.jsxs)("button",{type:"button",onClick:u,className:"px-3 py-2 font-medium hover:bg-white/15 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-white",children:[c," ",s]}),o[2]=c,o[3]=u,o[4]=s,o[5]=n):n=o[5],o[6]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(T.CloseIcon,{className:"h-4 w-4","aria-hidden":!0}),o[6]=r):r=o[6],o[7]!==h||o[8]!==m?(a=(0,t.jsx)("button",{type:"button",onClick:m,"aria-label":h,className:"flex items-center border-l border-white/20 px-2 hover:bg-white/15 focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-white",children:r}),o[7]=h,o[8]=m,o[9]=a):a=o[9],o[10]!==n||o[11]!==a?(l=(0,t.jsxs)("div",{className:"absolute top-3 left-3 z-10 flex items-stretch overflow-hidden rounded-md bg-black/80 text-sm text-white shadow-lg",children:[n,a]}),o[10]=n,o[11]=a,o[12]=l):l=o[12],l}let x=(0,n.default)(()=>e.A(155540),{loadableGenerated:{modules:[667594]}});function E(){}e.s(["MuxVideoPlayerClient",0,function(e){var n;let c,u,m,p,f,v,y,T,_,R,j,N,I,P,L,C,A,q,F,M,O,D,$,Q,H=(0,i.c)(52),{playbackId:U,tokens:B,envKey:z,poster:V,videoTitle:K,className:W,thumbnailTime:G,engagement:J,chapters:X,chapterNavigation:Y,showCaptions:Z,progress:ee}=e;H[0]!==X?(c=void 0===X?[]:X,H[0]=X,H[1]=c):c=H[1];let et=c,ei=void 0!==Y&&Y,es=void 0===Z||Z,en=void 0===ee?null:ee,er=(0,s.useRef)(null),ea=(0,s.useRef)(null),[el,eo]=(0,s.useState)(null),ed=null!==en,ec=(0,s.useRef)(null),eh=(0,s.useRef)(null),eu=(0,l.useChapterNavigation)(),em=(0,d.useChapterTime)(),ep=ei?em:void 0,ef=eu?.registerPlayer;H[2]!==ei||H[3]!==ef||H[4]!==es||H[5]!==ed?(u=e=>{ec.current?.(),ec.current=e&&!es?function(e){let t;function i(){if(t)for(let e of Array.from(t))("subtitles"===e.kind||"captions"===e.kind)&&"disabled"!==e.mode&&(e.mode="disabled")}function s(){e.textTracks!==t&&(t?.removeEventListener("addtrack",i),t?.removeEventListener("change",i),t=e.textTracks,t?.addEventListener("addtrack",i),t?.addEventListener("change",i)),i()}function n(e){e.preventDefault(),e.stopImmediatePropagation()}return s(),e.addEventListener("loadstart",s),e.addEventListener("loadedmetadata",s),e.addEventListener("mediatogglesubtitlesrequest",n,!0),e.addEventListener("mediashowsubtitlesrequest",n,!0),()=>{t?.removeEventListener("addtrack",i),t?.removeEventListener("change",i),e.removeEventListener("loadstart",s),e.removeEventListener("loadedmetadata",s),e.removeEventListener("mediatogglesubtitlesrequest",n,!0),e.removeEventListener("mediashowsubtitlesrequest",n,!0)}}(e):null,er.current=e,ei&&ef?.(e),ed&&eo(e)},H[2]=ei,H[3]=ef,H[4]=es,H[5]=ed,H[6]=u):u=H[6];let ev=u,ey=(0,s.useRef)(null);H[7]!==ep?(m=()=>{let e=er.current;!e||e.readyState<1||void 0===ep||(ey.current?.player!==e||ey.current.time!==ep)&&(e.currentTime=Number.isFinite(e.duration)?Math.min(ep,e.duration):ep,ey.current={player:e,time:ep})},H[7]=ep,H[8]=m):m=H[8];let eb=m;H[9]!==eb?(p=[eb],H[9]=eb,H[10]=p):p=H[10],(0,s.useEffect)(eb,p),H[11]!==U||H[12]!==K?(f={videoId:U,videoTitle:K,videoType:"video"},H[11]=U,H[12]=K,H[13]=f):f=H[13],(0,r.useVideoTracking)(er,f),n=J??null,M=(0,i.c)(7),O=(0,s.useRef)(!1),D=(0,s.useRef)(!1),$=(0,s.useRef)(0),M[0]===Symbol.for("react.memo_cache_sentinel")?(C=()=>{O.current=!1,D.current=!1,$.current=0},M[0]=C):C=M[0],Q=n?.contentId,M[1]!==Q?(A=[Q],M[1]=Q,M[2]=A):A=M[2],(0,s.useEffect)(C,A),M[3]!==n||M[4]!==er?(q=()=>{let e=er.current;if(!e||!n)return;let t=function(){!O.current&&n&&(O.current=!0,(0,a.sendEngagementEvent)({contentId:n.contentId,contentType:n.contentType,slug:n.slug,eventType:"play",accessLevel:n.accessLevel,locale:n.locale}))},i=function(){if(D.current||!n)return;let e=Date.now();if(e-$.current<1e3)return;$.current=e;let t=er.current;t&&t.duration&&t.currentTime/t.duration>=.9&&(D.current=!0,(0,a.sendEngagementEvent)({contentId:n.contentId,contentType:n.contentType,slug:n.slug,eventType:"complete",accessLevel:n.accessLevel,locale:n.locale}))},s=function(){!D.current&&n&&(D.current=!0,(0,a.sendEngagementEvent)({contentId:n.contentId,contentType:n.contentType,slug:n.slug,eventType:"complete",accessLevel:n.accessLevel,locale:n.locale}))};return e.addEventListener("play",t),e.addEventListener("timeupdate",i),e.addEventListener("ended",s),()=>{e.removeEventListener("play",t),e.removeEventListener("timeupdate",i),e.removeEventListener("ended",s)}},F=[er,n],M[3]=n,M[4]=er,M[5]=q,M[6]=F):(q=M[5],F=M[6]),(0,s.useEffect)(q,F);let eg=en?.videoId,eS=en?.assetId,ek=void 0!==ep;H[14]!==el||H[15]!==eg||H[16]!==eS||H[17]!==ek?(v={player:el,videoId:eg,assetId:eS,chapterStart:ek},H[14]=el,H[15]=eg,H[16]=eS,H[17]=ek,H[18]=v):v=H[18];let{resumeOffer:eT,acceptResume:ew,dismissResume:ex}=function(e){let t,n,r,a,l,o,d,c=(0,i.c)(12),{player:u,videoId:m,assetId:p,chapterStart:f}
1=e,[v,y]=(0,s.useState)(null),T=(0,s.useRef)(null),w=(0,s.useRef)(f);c[0]!==f?(t=()=>{w.current=f},n=[f],c[0]=f,c[1]=t,c[2]=n):(t=c[1],n=c[2]),(0,s.useEffect)(t,n),c[3]!==p||c[4]!==u||c[5]!==m?(r=()=>{if(!u||!m||!p)return;let e=new b({player:u,videoId:m,assetId:p,chapterStart:w.current,onResumeOffer:y,deps:{fetch:k,now:S,newUpdateId:h.createClickEventId,recoverSession:g,document,window}});return T.current=e,e.start(),()=>{e.stop(),T.current=null,y(null)}},a=[u,m,p],c[3]=p,c[4]=u,c[5]=m,c[6]=r,c[7]=a):(r=c[6],a=c[7]),(0,s.useEffect)(r,a),c[8]===Symbol.for("react.memo_cache_sentinel")?(l=()=>T.current?.acceptResume(),c[8]=l):l=c[8];let x=l;c[9]===Symbol.for("react.memo_cache_sentinel")?(o=()=>T.current?.dismissResume(),c[9]=o):o=c[9];let E=o;return c[10]!==v?(d={resumeOffer:v,acceptResume:x,dismissResume:E},c[10]=v,c[11]=d):d=c[11],d}(v);H[19]!==el?(y=()=>{let e=ea.current;if(!el||!e)return;let t=e.querySelector("mux-player")?.mediaController;t&&(t.fullscreenElement=e)},T=[el],H[19]=el,H[20]=y,H[21]=T):(y=H[20],T=H[21]),(0,s.useEffect)(y,T),H[22]!==eb||H[23]!==et||H[24]!==U?(_=()=>{eb();let e=er.current;e&&(0,o.addChaptersOnce)(e,U,et,eh).catch(E)},H[22]=eb,H[23]=et,H[24]=U,H[25]=_):_=H[25],H[26]!==U||H[27]!==K?(R={video_title:K,video_id:U},H[26]=U,H[27]=K,H[28]=R):R=H[28],H[29]!==es?(j=es?void 0:{"--captions-button":"none","--media-captions-menu-display":"none"},H[29]=es,H[30]=j):j=H[30],H[31]===Symbol.for("react.memo_cache_sentinel")?(N=[.5,.75,1,1.25,1.5,1.75,2],H[31]=N):N=H[31];let eE=B||null==G?void 0:G;return H[32]!==W||H[33]!==z||H[34]!==U||H[35]!==V||H[36]!==ev||H[37]!==ep||H[38]!==_||H[39]!==R||H[40]!==j||H[41]!==eE||H[42]!==B?(I=(0,t.jsx)(x,{ref:ev,startTime:ep,onLoadedMetadata:_,playbackId:U,tokens:B,envKey:z,poster:V,metadata:R,streamType:"on-demand",primaryColor:"#FFFFFF",secondaryColor:"#000000",className:W,style:j,playbackRates:N,thumbnailTime:eE},U),H[32]=W,H[33]=z,H[34]=U,H[35]=V,H[36]=ev,H[37]=ep,H[38]=_,H[39]=R,H[40]=j,H[41]=eE,H[42]=B,H[43]=I):I=H[43],H[44]!==ew||H[45]!==ex||H[46]!==en||H[47]!==eT?(P=en&&null!==eT&&(0,t.jsx)(w,{seconds:eT,label:en.labels.continueFrom,dismissLabel:en.labels.dismiss,onAccept:ew,onDismiss:ex}),H[44]=ew,H[45]=ex,H[46]=en,H[47]=eT,H[48]=P):P=H[48],H[49]!==I||H[50]!==P?(L=(0,t.jsxs)("div",{ref:ea,className:"relative h-full w-full",children:[I,P]}),H[49]=I,H[50]=P,H[51]=L):L=H[51],L}],264059)},721938,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0b-dbf3jqj2kd.js","static/immutable/chunks/25jf23rvemg6h.css"].map(t=>e.l(t))).then(()=>t(144665)))},155540,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0hsva972bx_p7.js"].map(t=>e.l(t))).then(()=>t(667594)))}]);
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.