const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/YouTube-DCw1pO6q.js","assets/index-BbiZcFRx.js","assets/index-Cxkxb4aS.css","assets/SoundCloud-CT1hjslp.js","assets/Vimeo-B4U7aDyj.js","assets/Mux-fnNZYNu9.js","assets/Facebook-BHKGJRcW.js","assets/Streamable-BKjASLtZ.js","assets/Wistia-Br2Fo1KT.js","assets/Twitch-DHGqjxET.js","assets/DailyMotion-DzyGLc-Y.js","assets/Mixcloud-kSpWcvvm.js","assets/Vidyard-C1F51IqS.js","assets/Kaltura-B2eQtiIB.js","assets/FilePlayer-jbhN8bi_.js","assets/Preview-BQ1Uy8ea.js"])))=>i.map(i=>d[i]);
import{r as W,dl as w,cZ as _t,d3 as It,aZ as K,c$ as Pt,j as i,q as bt,T as vt,ab as j,y as Ct,t as wt,b5 as At,M as Ot,d as Mt,dm as St,B as Tt,dn as Nt}from"./index-BbiZcFRx.js";import{T as Lt}from"./index-BVq_teg5.js";var Dt=function(t,r,a){var n=document.head||document.getElementsByTagName("head")[0],s=document.createElement("script");typeof r=="function"&&(a=r,r={}),r=r||{},a=a||function(){},s.type=r.type||"text/javascript",s.charset=r.charset||"utf8",s.async="async"in r?!!r.async:!0,s.src=t,r.attrs&&xt(s,r.attrs),r.text&&(s.text=""+r.text);var l="onload"in s?_e:Rt;l(s,a),s.onload||_e(s,a),n.appendChild(s)};function xt(e,t){for(var r in t)e.setAttribute(r,t[r])}function _e(e,t){e.onload=function(){this.onerror=this.onload=null,t(null,e)},e.onerror=function(){this.onerror=this.onload=null,t(new Error("Failed to load "+this.src),e)}}function Rt(e,t){e.onreadystatechange=function(){this.readyState!="complete"&&this.readyState!="loaded"||(this.onreadystatechange=null,t(null,e))}}var jt=function(t){return Et(t)&&!kt(t)};function Et(e){return!!e&&typeof e=="object"}function kt(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||$t(e)}var Ut=typeof Symbol=="function"&&Symbol.for,Zt=Ut?Symbol.for("react.element"):60103;function $t(e){return e.$$typeof===Zt}function Ht(e){return Array.isArray(e)?[]:{}}function Z(e,t){return t.clone!==!1&&t.isMergeableObject(e)?x(Ht(e),e,t):e}function zt(e,t,r){return e.concat(t).map(function(a){return Z(a,r)})}function Gt(e,t){if(!t.customMerge)return x;var r=t.customMerge(e);return typeof r=="function"?r:x}function Wt(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Ie(e){return Object.keys(e).concat(Wt(e))}function Oe(e,t){try{return t in e}catch{return!1}}function Vt(e,t){return Oe(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Bt(e,t,r){var a={};return r.isMergeableObject(e)&&Ie(e).forEach(function(n){a[n]=Z(e[n],r)}),Ie(t).forEach(function(n){Vt(e,n)||(Oe(e,n)&&r.isMergeableObject(t[n])?a[n]=Gt(n,r)(e[n],t[n],r):a[n]=Z(t[n],r))}),a}function x(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||zt,r.isMergeableObject=r.isMergeableObject||jt,r.cloneUnlessOtherwiseSpecified=Z;var a=Array.isArray(t),n=Array.isArray(e),s=a===n;return s?a?r.arrayMerge(e,t,r):Bt(e,t,r):Z(t,r)}x.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(a,n){return x(a,n,r)},{})};var Yt=x,Me=Yt,Ft=Object.create,V=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,Xt=Object.getOwnPropertyNames,Kt=Object.getPrototypeOf,Qt=Object.prototype.hasOwnProperty,qt=(e,t)=>{for(var r in t)V(e,r,{get:t[r],enumerable:!0})},Se=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Xt(t))!Qt.call(e,n)&&n!==r&&V(e,n,{get:()=>t[n],enumerable:!(a=Jt(t,n))||a.enumerable});return e},se=(e,t,r)=>(r=e!=null?Ft(Kt(e)):{},Se(!e||!e.__esModule?V(r,"default",{value:e,enumerable:!0}):r,e)),er=e=>Se(V({},"__esModule",{value:!0}),e),Te={};qt(Te,{callPlayer:()=>hr,getConfig:()=>mr,getSDK:()=>fr,isBlobUrl:()=>_r,isMediaStream:()=>gr,lazy:()=>nr,omit:()=>yr,parseEndTime:()=>ur,parseStartTime:()=>cr,queryString:()=>pr,randomString:()=>dr,supportsWebKitPresentationMode:()=>Ir});var B=er(Te),tr=se(W),rr=se(Dt),ar=se(Me);const nr=e=>tr.default.lazy(async()=>{const t=await e();return typeof t.default=="function"?t:t.default}),sr=/[?&#](?:start|t)=([0-9hms]+)/,ir=/[?&#]end=([0-9hms]+)/,te=/(\d+)(h|m|s)/g,or=/^\d+$/;function Ne(e,t){if(e instanceof Array)return;const r=e.match(t);if(r){const a=r[1];if(a.match(te))return lr(a);if(or.test(a))return parseInt(a)}}function lr(e){let t=0,r=te.exec(e);for(;r!==null;){const[,a,n]=r;n==="h"&&(t+=parseInt(a,10)*60*60),n==="m"&&(t+=parseInt(a,10)*60),n==="s"&&(t+=parseInt(a,10)),r=te.exec(e)}return t}function cr(e){return Ne(e,sr)}function ur(e){return Ne(e,ir)}function dr(){return Math.random().toString(36).substr(2,5)}function pr(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join("&")}function Q(e){return window[e]?window[e]:window.exports&&window.exports[e]?window.exports[e]:window.module&&window.module.exports&&window.module.exports[e]?window.module.exports[e]:null}const N={},fr=function(t,r,a=null,n=()=>!0,s=rr.default){const l=Q(r);return l&&n(l)?Promise.resolve(l):new Promise((c,o)=>{if(N[t]){N[t].push({resolve:c,reject:o});return}N[t]=[{resolve:c,reject:o}];const I=y=>{N[t].forEach(f=>f.resolve(y))};if(a){const y=window[a];window[a]=function(){y&&y(),I(Q(r))}}s(t,y=>{y?(N[t].forEach(f=>f.reject(y)),N[t]=null):a||I(Q(r))})})};function mr(e,t){return(0,ar.default)(t.config,e.config)}function yr(e,...t){const r=[].concat(...t),a={},n=Object.keys(e);for(const s of n)r.indexOf(s)===-1&&(a[s]=e[s]);return a}function hr(e,...t){if(!this.player||!this.player[e]){let r=`ReactPlayer: ${this.constructor.displayName} player could not call %c${e}%c – `;return this.player?this.player[e]||(r+="The method was not available"):r+="The player was not available",console.warn(r,"font-weight: bold",""),null}return this.player[e](...t)}function gr(e){return typeof window<"u"&&typeof window.MediaStream<"u"&&e instanceof window.MediaStream}function _r(e){return/^blob:/.test(e)}function Ir(e=document.createElement("video")){const t=/iPhone|iPod/.test(navigator.userAgent)===!1;return e.webkitSupportsPresentationMode&&typeof e.webkitSetPresentationMode=="function"&&t}var ie=Object.defineProperty,Pr=Object.getOwnPropertyDescriptor,br=Object.getOwnPropertyNames,vr=Object.prototype.hasOwnProperty,Cr=(e,t)=>{for(var r in t)ie(e,r,{get:t[r],enumerable:!0})},wr=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of br(t))!vr.call(e,n)&&n!==r&&ie(e,n,{get:()=>t[n],enumerable:!(a=Pr(t,n))||a.enumerable});return e},Ar=e=>wr(ie({},"__esModule",{value:!0}),e),Le={};Cr(Le,{AUDIO_EXTENSIONS:()=>oe,DASH_EXTENSIONS:()=>Ve,FLV_EXTENSIONS:()=>Be,HLS_EXTENSIONS:()=>ce,MATCH_URL_DAILYMOTION:()=>He,MATCH_URL_FACEBOOK:()=>je,MATCH_URL_FACEBOOK_WATCH:()=>Ee,MATCH_URL_KALTURA:()=>We,MATCH_URL_MIXCLOUD:()=>ze,MATCH_URL_MUX:()=>Re,MATCH_URL_SOUNDCLOUD:()=>De,MATCH_URL_STREAMABLE:()=>ke,MATCH_URL_TWITCH_CHANNEL:()=>$e,MATCH_URL_TWITCH_VIDEO:()=>Ze,MATCH_URL_VIDYARD:()=>Ge,MATCH_URL_VIMEO:()=>xe,MATCH_URL_WISTIA:()=>Ue,MATCH_URL_YOUTUBE:()=>re,VIDEO_EXTENSIONS:()=>le,canPlay:()=>Mr});var Or=Ar(Le),Pe=B;const re=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,De=/(?:soundcloud\.com|snd\.sc)\/[^.]+$/,xe=/vimeo\.com\/(?!progressive_redirect).+/,Re=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,je=/^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/,Ee=/^https?:\/\/fb\.watch\/.+$/,ke=/streamable\.com\/([a-z0-9]+)$/,Ue=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,Ze=/(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/,$e=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,He=/^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?(?:[\w.#_-]+)?/,ze=/mixcloud\.com\/([^/]+\/[^/]+)/,Ge=/vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/,We=/^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/,oe=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,le=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,ce=/\.(m3u8)($|\?)/i,Ve=/\.(mpd)($|\?)/i,Be=/\.(flv)($|\?)/i,ae=e=>{if(e instanceof Array){for(const t of e)if(typeof t=="string"&&ae(t)||ae(t.src))return!0;return!1}return(0,Pe.isMediaStream)(e)||(0,Pe.isBlobUrl)(e)?!0:oe.test(e)||le.test(e)||ce.test(e)||Ve.test(e)||Be.test(e)},Mr={youtube:e=>e instanceof Array?e.every(t=>re.test(t)):re.test(e),soundcloud:e=>De.test(e)&&!oe.test(e),vimeo:e=>xe.test(e)&&!le.test(e)&&!ce.test(e),mux:e=>Re.test(e),facebook:e=>je.test(e)||Ee.test(e),streamable:e=>ke.test(e),wistia:e=>Ue.test(e),twitch:e=>Ze.test(e)||$e.test(e),dailymotion:e=>He.test(e),mixcloud:e=>ze.test(e),vidyard:e=>Ge.test(e),kaltura:e=>We.test(e),file:ae};var ue=Object.defineProperty,Sr=Object.getOwnPropertyDescriptor,Tr=Object.getOwnPropertyNames,Nr=Object.prototype.hasOwnProperty,Lr=(e,t)=>{for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},Dr=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Tr(t))!Nr.call(e,n)&&n!==r&&ue(e,n,{get:()=>t[n],enumerable:!(a=Sr(t,n))||a.enumerable});return e},xr=e=>Dr(ue({},"__esModule",{value:!0}),e),Ye={};Lr(Ye,{default:()=>jr});var Rr=xr(Ye),v=B,P=Or,jr=[{key:"youtube",name:"YouTube",canPlay:P.canPlay.youtube,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./YouTube-DCw1pO6q.js").then(e=>e.Y),__vite__mapDeps([0,1,2])))},{key:"soundcloud",name:"SoundCloud",canPlay:P.canPlay.soundcloud,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./SoundCloud-CT1hjslp.js").then(e=>e.S),__vite__mapDeps([3,1,2])))},{key:"vimeo",name:"Vimeo",canPlay:P.canPlay.vimeo,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Vimeo-B4U7aDyj.js").then(e=>e.V),__vite__mapDeps([4,1,2])))},{key:"mux",name:"Mux",canPlay:P.canPlay.mux,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Mux-fnNZYNu9.js").then(e=>e.M),__vite__mapDeps([5,1,2])))},{key:"facebook",name:"Facebook",canPlay:P.canPlay.facebook,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Facebook-BHKGJRcW.js").then(e=>e.F),__vite__mapDeps([6,1,2])))},{key:"streamable",name:"Streamable",canPlay:P.canPlay.streamable,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Streamable-BKjASLtZ.js").then(e=>e.S),__vite__mapDeps([7,1,2])))},{key:"wistia",name:"Wistia",canPlay:P.canPlay.wistia,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Wistia-Br2Fo1KT.js").then(e=>e.W),__vite__mapDeps([8,1,2])))},{key:"twitch",name:"Twitch",canPlay:P.canPlay.twitch,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Twitch-DHGqjxET.js").then(e=>e.T),__vite__mapDeps([9,1,2])))},{key:"dailymotion",name:"DailyMotion",canPlay:P.canPlay.dailymotion,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./DailyMotion-DzyGLc-Y.js").then(e=>e.D),__vite__mapDeps([10,1,2])))},{key:"mixcloud",name:"Mixcloud",canPlay:P.canPlay.mixcloud,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Mixcloud-kSpWcvvm.js").then(e=>e.M),__vite__mapDeps([11,1,2])))},{key:"vidyard",name:"Vidyard",canPlay:P.canPlay.vidyard,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Vidyard-C1F51IqS.js").then(e=>e.V),__vite__mapDeps([12,1,2])))},{key:"kaltura",name:"Kaltura",canPlay:P.canPlay.kaltura,lazyPlayer:(0,v.lazy)(()=>w(()=>import("./Kaltura-B2eQtiIB.js").then(e=>e.K),__vite__mapDeps([13,1,2])))},{key:"file",name:"FilePlayer",canPlay:P.canPlay.file,canEnablePIP:e=>P.canPlay.file(e)&&(document.pictureInPictureEnabled||(0,v.supportsWebKitPresentationMode)())&&!P.AUDIO_EXTENSIONS.test(e),lazyPlayer:(0,v.lazy)(()=>w(()=>import("./FilePlayer-jbhN8bi_.js").then(e=>e.F),__vite__mapDeps([14,1,2])))}],be=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function Er(e,t){return!!(e===t||be(e)&&be(t))}function kr(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!Er(e[r],t[r]))return!1;return!0}function Ur(e,t){t===void 0&&(t=kr);var r,a=[],n,s=!1;function l(){for(var c=[],o=0;o<arguments.length;o++)c[o]=arguments[o];return s&&r===this&&t(c,a)||(n=e.apply(this,c),s=!0,r=this,a=c),n}return l}const Zr=Object.freeze(Object.defineProperty({__proto__:null,default:Ur},Symbol.toStringTag,{value:"Module"})),$r=_t(Zr);var Hr=typeof Element<"u",zr=typeof Map=="function",Gr=typeof Set=="function",Wr=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function G(e,t){if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;var r,a,n;if(Array.isArray(e)){if(r=e.length,r!=t.length)return!1;for(a=r;a--!==0;)if(!G(e[a],t[a]))return!1;return!0}var s;if(zr&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(s=e.entries();!(a=s.next()).done;)if(!t.has(a.value[0]))return!1;for(s=e.entries();!(a=s.next()).done;)if(!G(a.value[1],t.get(a.value[0])))return!1;return!0}if(Gr&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(s=e.entries();!(a=s.next()).done;)if(!t.has(a.value[0]))return!1;return!0}if(Wr&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(r=e.length,r!=t.length)return!1;for(a=r;a--!==0;)if(e[a]!==t[a])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf=="function"&&typeof t.valueOf=="function")return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString=="function"&&typeof t.toString=="function")return e.toString()===t.toString();if(n=Object.keys(e),r=n.length,r!==Object.keys(t).length)return!1;for(a=r;a--!==0;)if(!Object.prototype.hasOwnProperty.call(t,n[a]))return!1;if(Hr&&e instanceof Element)return!1;for(a=r;a--!==0;)if(!((n[a]==="_owner"||n[a]==="__v"||n[a]==="__o")&&e.$$typeof)&&!G(e[n[a]],t[n[a]]))return!1;return!0}return e!==e&&t!==t}var Fe=function(t,r){try{return G(t,r)}catch(a){if((a.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw a}},Vr=Object.create,Y=Object.defineProperty,Br=Object.getOwnPropertyDescriptor,Yr=Object.getOwnPropertyNames,Fr=Object.getPrototypeOf,Jr=Object.prototype.hasOwnProperty,Xr=(e,t)=>{for(var r in t)Y(e,r,{get:t[r],enumerable:!0})},Je=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Yr(t))!Jr.call(e,n)&&n!==r&&Y(e,n,{get:()=>t[n],enumerable:!(a=Br(t,n))||a.enumerable});return e},Kr=(e,t,r)=>(r=e!=null?Vr(Fr(e)):{},Je(!e||!e.__esModule?Y(r,"default",{value:e,enumerable:!0}):r,e)),Qr=e=>Je(Y({},"__esModule",{value:!0}),e),Xe={};Xr(Xe,{defaultProps:()=>ta,propTypes:()=>ea});var Ke=Qr(Xe),qr=Kr(It);const{string:h,bool:b,number:L,array:q,oneOfType:E,shape:A,object:_,func:m,node:ve}=qr.default,ea={url:E([h,q,_]),playing:b,loop:b,controls:b,volume:L,muted:b,playbackRate:L,width:E([h,L]),height:E([h,L]),style:_,progressInterval:L,playsinline:b,pip:b,stopOnUnmount:b,light:E([b,h,_]),playIcon:ve,previewTabIndex:L,previewAriaLabel:h,fallback:ve,oEmbedUrl:h,wrapper:E([h,m,A({render:m.isRequired})]),config:A({soundcloud:A({options:_}),youtube:A({playerVars:_,embedOptions:_,onUnstarted:m}),facebook:A({appId:h,version:h,playerId:h,attributes:_}),dailymotion:A({params:_}),vimeo:A({playerOptions:_,title:h}),mux:A({attributes:_,version:h}),file:A({attributes:_,tracks:q,forceVideo:b,forceAudio:b,forceHLS:b,forceSafariHLS:b,forceDisableHls:b,forceDASH:b,forceFLV:b,hlsOptions:_,hlsVersion:h,dashVersion:h,flvVersion:h}),wistia:A({options:_,playerId:h,customControls:q}),mixcloud:A({options:_}),twitch:A({options:_,playerId:h}),vidyard:A({options:_})}),onReady:m,onStart:m,onPlay:m,onPause:m,onBuffer:m,onBufferEnd:m,onEnded:m,onError:m,onDuration:m,onSeek:m,onPlaybackRateChange:m,onPlaybackQualityChange:m,onProgress:m,onClickPreview:m,onEnablePIP:m,onDisablePIP:m},g=()=>{},ta={playing:!1,loop:!1,controls:!1,volume:null,muted:!1,playbackRate:1,width:"640px",height:"360px",style:{},progressInterval:1e3,playsinline:!1,pip:!1,stopOnUnmount:!0,light:!1,fallback:null,wrapper:"div",previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}",config:{soundcloud:{options:{visual:!0,buying:!1,liking:!1,download:!1,sharing:!1,show_comments:!1,show_playcount:!1}},youtube:{playerVars:{playsinline:1,showinfo:0,rel:0,iv_load_policy:3,modestbranding:1},embedOptions:{},onUnstarted:g},facebook:{appId:"1309697205772819",version:"v3.3",playerId:null,attributes:{}},dailymotion:{params:{api:1,"endscreen-enable":!1}},vimeo:{playerOptions:{autopause:!1,byline:!1,portrait:!1,title:!1},title:null},mux:{attributes:{},version:"2"},file:{attributes:{},tracks:[],forceVideo:!1,forceAudio:!1,forceHLS:!1,forceDASH:!1,forceFLV:!1,hlsOptions:{},hlsVersion:"1.1.4",dashVersion:"3.1.3",flvVersion:"1.5.0",forceDisableHls:!1},wistia:{options:{},playerId:null,customControls:null},mixcloud:{options:{hide_cover:1}},twitch:{options:{},playerId:null},vidyard:{options:{}}},onReady:g,onStart:g,onPlay:g,onPause:g,onBuffer:g,onBufferEnd:g,onEnded:g,onError:g,onDuration:g,onSeek:g,onPlaybackRateChange:g,onPlaybackQualityChange:g,onProgress:g,onClickPreview:g,onEnablePIP:g,onDisablePIP:g};var ra=Object.create,$=Object.defineProperty,aa=Object.getOwnPropertyDescriptor,na=Object.getOwnPropertyNames,sa=Object.getPrototypeOf,ia=Object.prototype.hasOwnProperty,oa=(e,t,r)=>t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,la=(e,t)=>{for(var r in t)$(e,r,{get:t[r],enumerable:!0})},Qe=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of na(t))!ia.call(e,n)&&n!==r&&$(e,n,{get:()=>t[n],enumerable:!(a=aa(t,n))||a.enumerable});return e},qe=(e,t,r)=>(r=e!=null?ra(sa(e)):{},Qe(!e||!e.__esModule?$(r,"default",{value:e,enumerable:!0}):r,e)),ca=e=>Qe($({},"__esModule",{value:!0}),e),d=(e,t,r)=>(oa(e,typeof t!="symbol"?t+"":t,r),r),et={};la(et,{default:()=>F});var ua=ca(et),Ce=qe(W),da=qe(Fe),tt=Ke,pa=B;const fa=5e3;class F extends Ce.Component{constructor(){super(...arguments),d(this,"mounted",!1),d(this,"isReady",!1),d(this,"isPlaying",!1),d(this,"isLoading",!0),d(this,"loadOnReady",null),d(this,"startOnPlay",!0),d(this,"seekOnPlay",null),d(this,"onDurationCalled",!1),d(this,"handlePlayerMount",t=>{if(this.player){this.progress();return}this.player=t,this.player.load(this.props.url),this.progress()}),d(this,"getInternalPlayer",t=>this.player?this.player[t]:null),d(this,"progress",()=>{if(this.props.url&&this.player&&this.isReady){const t=this.getCurrentTime()||0,r=this.getSecondsLoaded(),a=this.getDuration();if(a){const n={playedSeconds:t,played:t/a};r!==null&&(n.loadedSeconds=r,n.loaded=r/a),(n.playedSeconds!==this.prevPlayed||n.loadedSeconds!==this.prevLoaded)&&this.props.onProgress(n),this.prevPlayed=n.playedSeconds,this.prevLoaded=n.loadedSeconds}}this.progressTimeout=setTimeout(this.progress,this.props.progressFrequency||this.props.progressInterval)}),d(this,"handleReady",()=>{if(!this.mounted)return;this.isReady=!0,this.isLoading=!1;const{onReady:t,playing:r,volume:a,muted:n}=this.props;t(),!n&&a!==null&&this.player.setVolume(a),this.loadOnReady?(this.player.load(this.loadOnReady,!0),this.loadOnReady=null):r&&this.player.play(),this.handleDurationCheck()}),d(this,"handlePlay",()=>{this.isPlaying=!0,this.isLoading=!1;const{onStart:t,onPlay:r,playbackRate:a}=this.props;this.startOnPlay&&(this.player.setPlaybackRate&&a!==1&&this.player.setPlaybackRate(a),t(),this.startOnPlay=!1),r(),this.seekOnPlay&&(this.seekTo(this.seekOnPlay),this.seekOnPlay=null),this.handleDurationCheck()}),d(this,"handlePause",t=>{this.isPlaying=!1,this.isLoading||this.props.onPause(t)}),d(this,"handleEnded",()=>{const{activePlayer:t,loop:r,onEnded:a}=this.props;t.loopOnEnded&&r&&this.seekTo(0),r||(this.isPlaying=!1,a())}),d(this,"handleError",(...t)=>{this.isLoading=!1,this.props.onError(...t)}),d(this,"handleDurationCheck",()=>{clearTimeout(this.durationCheckTimeout);const t=this.getDuration();t?this.onDurationCalled||(this.props.onDuration(t),this.onDurationCalled=!0):this.durationCheckTimeout=setTimeout(this.handleDurationCheck,100)}),d(this,"handleLoaded",()=>{this.isLoading=!1})}componentDidMount(){this.mounted=!0}componentWillUnmount(){clearTimeout(this.progressTimeout),clearTimeout(this.durationCheckTimeout),this.isReady&&this.props.stopOnUnmount&&(this.player.stop(),this.player.disablePIP&&this.player.disablePIP()),this.mounted=!1}componentDidUpdate(t){if(!this.player)return;const{url:r,playing:a,volume:n,muted:s,playbackRate:l,pip:c,loop:o,activePlayer:I,disableDeferredLoading:y}=this.props;if(!(0,da.default)(t.url,r)){if(this.isLoading&&!I.forceLoad&&!y&&!(0,pa.isMediaStream)(r)){console.warn(`ReactPlayer: the attempt to load ${r} is being deferred until the player has loaded`),this.loadOnReady=r;return}this.isLoading=!0,this.startOnPlay=!0,this.onDurationCalled=!1,this.player.load(r,this.isReady)}!t.playing&&a&&!this.isPlaying&&this.player.play(),t.playing&&!a&&this.isPlaying&&this.player.pause(),!t.pip&&c&&this.player.enablePIP&&this.player.enablePIP(),t.pip&&!c&&this.player.disablePIP&&this.player.disablePIP(),t.volume!==n&&n!==null&&this.player.setVolume(n),t.muted!==s&&(s?this.player.mute():(this.player.unmute(),n!==null&&setTimeout(()=>this.player.setVolume(n)))),t.playbackRate!==l&&this.player.setPlaybackRate&&this.player.setPlaybackRate(l),t.loop!==o&&this.player.setLoop&&this.player.setLoop(o)}getDuration(){return this.isReady?this.player.getDuration():null}getCurrentTime(){return this.isReady?this.player.getCurrentTime():null}getSecondsLoaded(){return this.isReady?this.player.getSecondsLoaded():null}seekTo(t,r,a){if(!this.isReady){t!==0&&(this.seekOnPlay=t,setTimeout(()=>{this.seekOnPlay=null},fa));return}if(r?r==="fraction":t>0&&t<1){const s=this.player.getDuration();if(!s){console.warn("ReactPlayer: could not seek using fraction – duration not yet available");return}this.player.seekTo(s*t,a);return}this.player.seekTo(t,a)}render(){const t=this.props.activePlayer;return t?Ce.default.createElement(t,{...this.props,onMount:this.handlePlayerMount,onReady:this.handleReady,onPlay:this.handlePlay,onPause:this.handlePause,onEnded:this.handleEnded,onLoaded:this.handleLoaded,onError:this.handleError}):null}}d(F,"displayName","Player");d(F,"propTypes",tt.propTypes);d(F,"defaultProps",tt.defaultProps);var ma=Object.create,H=Object.defineProperty,ya=Object.getOwnPropertyDescriptor,ha=Object.getOwnPropertyNames,ga=Object.getPrototypeOf,_a=Object.prototype.hasOwnProperty,Ia=(e,t,r)=>t in e?H(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Pa=(e,t)=>{for(var r in t)H(e,r,{get:t[r],enumerable:!0})},rt=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ha(t))!_a.call(e,n)&&n!==r&&H(e,n,{get:()=>t[n],enumerable:!(a=ya(t,n))||a.enumerable});return e},z=(e,t,r)=>(r=e!=null?ma(ga(e)):{},rt(!e||!e.__esModule?H(r,"default",{value:e,enumerable:!0}):r,e)),ba=e=>rt(H({},"__esModule",{value:!0}),e),u=(e,t,r)=>(Ia(e,typeof t!="symbol"?t+"":t,r),r),at={};Pa(at,{createReactPlayer:()=>Na});var va=ba(at),D=z(W),Ca=z(Me),ee=z($r),we=z(Fe),U=Ke,nt=B,wa=z(ua);const Aa=(0,nt.lazy)(()=>w(()=>import("./Preview-BQ1Uy8ea.js").then(e=>e.P),__vite__mapDeps([15,1,2]))),Oa=typeof window<"u"&&window.document&&typeof document<"u",Ma=typeof K<"u"&&K.window&&K.window.document,Sa=Object.keys(U.propTypes),Ta=Oa||Ma?D.Suspense:()=>null,k=[],Na=(e,t)=>{var r;return r=class extends D.Component{constructor(){super(...arguments),u(this,"state",{showPreview:!!this.props.light}),u(this,"references",{wrapper:a=>{this.wrapper=a},player:a=>{this.player=a}}),u(this,"handleClickPreview",a=>{this.setState({showPreview:!1}),this.props.onClickPreview(a)}),u(this,"showPreview",()=>{this.setState({showPreview:!0})}),u(this,"getDuration",()=>this.player?this.player.getDuration():null),u(this,"getCurrentTime",()=>this.player?this.player.getCurrentTime():null),u(this,"getSecondsLoaded",()=>this.player?this.player.getSecondsLoaded():null),u(this,"getInternalPlayer",(a="player")=>this.player?this.player.getInternalPlayer(a):null),u(this,"seekTo",(a,n,s)=>{if(!this.player)return null;this.player.seekTo(a,n,s)}),u(this,"handleReady",()=>{this.props.onReady(this)}),u(this,"getActivePlayer",(0,ee.default)(a=>{for(const n of[...k,...e])if(n.canPlay(a))return n;return t||null})),u(this,"getConfig",(0,ee.default)((a,n)=>{const{config:s}=this.props;return Ca.default.all([U.defaultProps.config,U.defaultProps.config[n]||{},s,s[n]||{}])})),u(this,"getAttributes",(0,ee.default)(a=>(0,nt.omit)(this.props,Sa))),u(this,"renderActivePlayer",a=>{if(!a)return null;const n=this.getActivePlayer(a);if(!n)return null;const s=this.getConfig(a,n.key);return D.default.createElement(wa.default,{...this.props,key:n.key,ref:this.references.player,config:s,activePlayer:n.lazyPlayer||n,onReady:this.handleReady})})}shouldComponentUpdate(a,n){return!(0,we.default)(this.props,a)||!(0,we.default)(this.state,n)}componentDidUpdate(a){const{light:n}=this.props;!a.light&&n&&this.setState({showPreview:!0}),a.light&&!n&&this.setState({showPreview:!1})}renderPreview(a){if(!a)return null;const{light:n,playIcon:s,previewTabIndex:l,oEmbedUrl:c,previewAriaLabel:o}=this.props;return D.default.createElement(Aa,{url:a,light:n,playIcon:s,previewTabIndex:l,previewAriaLabel:o,oEmbedUrl:c,onClick:this.handleClickPreview})}render(){const{url:a,style:n,width:s,height:l,fallback:c,wrapper:o}=this.props,{showPreview:I}=this.state,y=this.getAttributes(a),f=typeof o=="string"?this.references.wrapper:void 0;return D.default.createElement(o,{ref:f,style:{...n,width:s,height:l},...y},D.default.createElement(Ta,{fallback:c},I?this.renderPreview(a):this.renderActivePlayer(a)))}},u(r,"displayName","ReactPlayer"),u(r,"propTypes",U.propTypes),u(r,"defaultProps",U.defaultProps),u(r,"addCustomPlayer",a=>{k.push(a)}),u(r,"removeCustomPlayers",()=>{k.length=0}),u(r,"canPlay",a=>{for(const n of[...k,...e])if(n.canPlay(a))return!0;return!1}),u(r,"canEnablePIP",a=>{for(const n of[...k,...e])if(n.canEnablePIP&&n.canEnablePIP(a))return!0;return!1}),r};var La=Object.create,J=Object.defineProperty,Da=Object.getOwnPropertyDescriptor,xa=Object.getOwnPropertyNames,Ra=Object.getPrototypeOf,ja=Object.prototype.hasOwnProperty,Ea=(e,t)=>{for(var r in t)J(e,r,{get:t[r],enumerable:!0})},st=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of xa(t))!ja.call(e,n)&&n!==r&&J(e,n,{get:()=>t[n],enumerable:!(a=Da(t,n))||a.enumerable});return e},ka=(e,t,r)=>(r=e!=null?La(Ra(e)):{},st(!e||!e.__esModule?J(r,"default",{value:e,enumerable:!0}):r,e)),Ua=e=>st(J({},"__esModule",{value:!0}),e),it={};Ea(it,{default:()=>za});var Za=Ua(it),ne=ka(Rr),$a=va;const Ha=ne.default[ne.default.length-1];var za=(0,$a.createReactPlayer)(ne.default,Ha);const Ga=Pt(Za),Wa="_articleTitle_sbdxi_88",Va={articleTitle:Wa},Ba=({articleTitle:e,css:t=""})=>i.jsx("div",{className:`${Va.articleTitle} ${t}`,children:e}),Ya="data:image/svg+xml,%3csvg%20width='15'%20height='16'%20viewBox='0%200%2015%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.29773%200.5L7.11646%201.82187L11.7913%207.0625H0V8.9375H11.7913L7.11646%2014.1781L8.29773%2015.5L15%208L8.29773%200.5Z'%20fill='%230F64E3'/%3e%3c/svg%3e",Fa="_readMoreText_1v328_88",Ja="_arrow_1v328_106",Ae={readMoreText:Fa,arrow:Ja},Xa=({className:e,image:t,articleType:r})=>i.jsxs("div",{className:`${e} ${Ae.readMoreText}`,children:[(r==null?void 0:r.toLowerCase())==="video"?"Watch Now":"Read More",i.jsx("img",{alt:"",src:t||Ya,className:Ae.arrow})]}),Ka="data:image/svg+xml,%3csvg%20id='PremiumContent'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='136'%20height='136'%20viewBox='0%200%20136%20136'%3e%3cdefs%3e%3cclipPath%20id='clip-path'%3e%3crect%20id='Rectangle_20801'%20data-name='Rectangle%2020801'%20width='136'%20height='136'%20transform='translate(-14112%20-19346)'%20fill='%23fff'/%3e%3c/clipPath%3e%3cfilter%20id='Rectangle_13725'%20x='-36.531'%20y='-33.532'%20width='175.685'%20height='175.685'%20filterUnits='userSpaceOnUse'%3e%3cfeOffset%20dy='3'%20input='SourceAlpha'/%3e%3cfeGaussianBlur%20stdDeviation='3'%20result='blur'/%3e%3cfeFlood%20flood-opacity='0.161'/%3e%3cfeComposite%20operator='in'%20in2='blur'/%3e%3cfeComposite%20in='SourceGraphic'/%3e%3c/filter%3e%3cclipPath%20id='clip-path-2'%3e%3crect%20id='Rectangle_20804'%20data-name='Rectangle%2020804'%20width='22.349'%20height='29.211'%20transform='translate(0%200)'%20fill='none'%20stroke='%23fff'%20stroke-width='1'/%3e%3c/clipPath%3e%3c/defs%3e%3cg%20id='Mask_Group_36'%20data-name='Mask%20Group%2036'%20transform='translate(14112%2019346)'%20clip-path='url(%23clip-path)'%3e%3cg%20id='Group_5351'%20data-name='Group%205351'%20transform='translate(-15461.114%20-19162.107)%20rotate(-45)'%3e%3cg%20transform='matrix(0.71,%200.71,%20-0.71,%200.71,%201084,%20823.94)'%20filter='url(%23Rectangle_13725)'%3e%3crect%20id='Rectangle_13725-2'%20data-name='Rectangle%2013725'%20width='192'%20height='31'%20transform='translate(-27.53%20108.23)%20rotate(-45)'%20fill='%23fff'/%3e%3c/g%3e%3cg%20id='Group_2993'%20data-name='Group%202993'%20transform='translate(1059%20871)'%3e%3cg%20id='Group_2993-2'%20data-name='Group%202993'%3e%3cg%20id='Group_2989'%20data-name='Group%202989'%3e%3cg%20id='Group_2994'%20data-name='Group%202994'%3e%3cg%20id='Group_2987'%20data-name='Group%202987'%3e%3cg%20id='Group_2986'%20data-name='Group%202986'%3e%3cg%20id='Group_5353'%20data-name='Group%205353'%3e%3cpath%20id='Path_2809'%20data-name='Path%202809'%20d='M50,25A25,25,0,1,1,25,0,25,25,0,0,1,50,25'%20fill='%231157ee'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='Group_5354'%20data-name='Group%205354'%20transform='translate(13.827%2010.393)'%3e%3cg%20id='Group_5354-2'%20data-name='Group%205354'%20clip-path='url(%23clip-path-2)'%3e%3cpath%20id='Rectangle_20803'%20data-name='Rectangle%2020803'%20d='M2.46,0H18.889a2.46,2.46,0,0,1,2.46,2.46V13.551a2.461,2.461,0,0,1-2.461,2.461H2.46A2.46,2.46,0,0,1,0,13.552V2.46A2.46,2.46,0,0,1,2.46,0Z'%20transform='translate(0.5%2012.699)'%20fill='none'%20stroke='%23fff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1'/%3e%3cpath%20id='Path_20975'%20data-name='Path%2020975'%20d='M4.312,7.362a6.862,6.862,0,1,1,13.724,0V12.7'%20fill='none'%20stroke='%23fff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1'/%3e%3cpath%20id='Path_20976'%20data-name='Path%2020976'%20d='M13.855,18.676a2.68,2.68,0,1,0-4.23,2.18l-.766,4.519h4.632l-.767-4.518A2.672,2.672,0,0,0,13.855,18.676Z'%20fill='none'%20stroke='%23fff'%20stroke-linecap='round'%20stroke-linejoin='round'%20stroke-width='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Qa="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMzc4IiBoZWlnaHQ9IjUzIiB2aWV3Qm94PSIwIDAgMzc4IDUzIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9IlJlY3RhbmdsZV8xMzcyNSIgeD0iMCIgeT0iNCIgd2lkdGg9IjM3OCIgaGVpZ2h0PSI0OSIgZmlsdGVyVW5pdHM9InVzZXJTcGFjZU9uVXNlIj4KICAgICAgPGZlT2Zmc2V0IGR5PSIzIiBpbnB1dD0iU291cmNlQWxwaGEiLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHN0ZERldmlhdGlvbj0iMyIgcmVzdWx0PSJibHVyIi8+CiAgICAgIDxmZUZsb29kIGZsb29kLW9wYWNpdHk9IjAuMTYxIi8+CiAgICAgIDxmZUNvbXBvc2l0ZSBvcGVyYXRvcj0iaW4iIGluMj0iYmx1ciIvPgogICAgICA8ZmVDb21wb3NpdGUgaW49IlNvdXJjZUdyYXBoaWMiLz4KICAgIDwvZmlsdGVyPgogICAgPGNsaXBQYXRoIGlkPSJjbGlwLXBhdGgiPgogICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlXzEzNzIzIiBkYXRhLW5hbWU9IlJlY3RhbmdsZSAxMzcyMyIgd2lkdGg9IjUwIiBoZWlnaHQ9IjUwIiBmaWxsPSIjMTE1N2VlIi8+CiAgICA8L2NsaXBQYXRoPgogIDwvZGVmcz4KICA8ZyBpZD0iUHJlbWl1bUNvbnRlbnRfTG9ja2VkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg5KSI+CiAgICA8ZyB0cmFuc2Zvcm09Im1hdHJpeCgxLCAwLCAwLCAxLCAtOSwgMCkiIGZpbHRlcj0idXJsKCNSZWN0YW5nbGVfMTM3MjUpIj4KICAgICAgPHJlY3QgaWQ9IlJlY3RhbmdsZV8xMzcyNS0yIiBkYXRhLW5hbWU9IlJlY3RhbmdsZSAxMzcyNSIgd2lkdGg9IjM2MCIgaGVpZ2h0PSIzMSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoOSAxMCkiIGZpbGw9IiNmZmYiLz4KICAgIDwvZz4KICAgIDxnIGlkPSJHcm91cF8yOTkzIiBkYXRhLW5hbWU9Ikdyb3VwIDI5OTMiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE1NSkiPgogICAgICA8ZyBpZD0iR3JvdXBfMjk5My0yIiBkYXRhLW5hbWU9Ikdyb3VwIDI5OTMiPgogICAgICAgIDxnIGlkPSJHcm91cF8yOTg5IiBkYXRhLW5hbWU9Ikdyb3VwIDI5ODkiPgogICAgICAgICAgPGcgaWQ9Ikdyb3VwXzI5OTQiIGRhdGEtbmFtZT0iR3JvdXAgMjk5NCI+CiAgICAgICAgICAgIDxnIGlkPSJHcm91cF8yOTg3IiBkYXRhLW5hbWU9Ikdyb3VwIDI5ODciPgogICAgICAgICAgICAgIDxnIGlkPSJHcm91cF8yOTg2IiBkYXRhLW5hbWU9Ikdyb3VwIDI5ODYiPgogICAgICAgICAgICAgICAgPGcgaWQ9Ikdyb3VwXzI5ODUiIGRhdGEtbmFtZT0iR3JvdXAgMjk4NSIgY2xpcC1wYXRoPSJ1cmwoI2NsaXAtcGF0aCkiPgogICAgICAgICAgICAgICAgICA8cGF0aCBpZD0iUGF0aF8yODA5IiBkYXRhLW5hbWU9IlBhdGggMjgwOSIgZD0iTTUwLDI1QTI1LDI1LDAsMSwxLDI1LDAsMjUsMjUsMCwwLDEsNTAsMjUiIGZpbGw9IiMxMTU3ZWUiLz4KICAgICAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICAgICAgPHBhdGggaWQ9IlJlY3RhbmdsZV8xMzcyNCIgZGF0YS1uYW1lPSJSZWN0YW5nbGUgMTM3MjQiIGQ9Ik0yLjQ2LDBIMTguODg4YTIuNDYxLDIuNDYxLDAsMCwxLDIuNDYxLDIuNDYxdjExLjA5YTIuNDYxLDIuNDYxLDAsMCwxLTIuNDYxLDIuNDYxSDIuNDZBMi40NiwyLjQ2LDAsMCwxLDAsMTMuNTUyVjIuNDZBMi40NiwyLjQ2LDAsMCwxLDIuNDYsMFoiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0LjMyNSAyMy4wOTQpIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICAgICAgICAgIDxwYXRoIGlkPSJQYXRoXzI4MTAiIGRhdGEtbmFtZT0iUGF0aCAyODEwIiBkPSJNMzEuODYyLDIzLjA5NEgxOC4xMzhWMTcuNzU3YTYuODYyLDYuODYyLDAsMSwxLDEzLjcyNCwwWiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMSIvPgogICAgICAgICAgICA8cGF0aCBpZD0iUGF0aF8yODExIiBkYXRhLW5hbWU9IlBhdGggMjgxMSIgZD0iTTI3LjY4LDI5LjA3YTIuNjgsMi42OCwwLDEsMC00LjIzLDIuMThsLS43NjYsNC41MTloNC42MzJsLS43NjctNC41MThBMi42NzIsMi42NzIsMCwwLDAsMjcuNjgsMjkuMDdaIiBmaWxsPSJub25lIiBzdHJva2U9IiNmZmYiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICAgICAgICA8L2c+CiAgICAgICAgPC9nPgogICAgICA8L2c+CiAgICA8L2c+CiAgICA8dGV4dCBpZD0iUHJlbWl1bSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTQ3IDMxKSIgZmlsbD0iIzI0NjNlZSIgZm9udC1zaXplPSIxOCIgZm9udC1mYW1pbHk9IlJvYm90by1NZWRpdW0sIFJvYm90byIgZm9udC13ZWlnaHQ9IjUwMCI+PHRzcGFuIHg9Ii03MyIgeT0iMCI+UHJlbWl1bTwvdHNwYW4+PC90ZXh0PgogICAgPHRleHQgaWQ9IkNvbnRlbnQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDIxMyAzMSkiIGZpbGw9IiMyNDYzZWUiIGZvbnQtc2l6ZT0iMTgiIGZvbnQtZmFtaWx5PSJSb2JvdG8tTWVkaXVtLCBSb2JvdG8iIGZvbnQtd2VpZ2h0PSI1MDAiPjx0c3BhbiB4PSIwIiB5PSIwIj5Db250ZW50PC90c3Bhbj48L3RleHQ+CiAgPC9nPgo8L3N2Zz4K",qa="_articleCard_b3bmv_88",en="_articleImage_b3bmv_103",tn="_articleTitle_b3bmv_110",rn="_articleContent_b3bmv_118",an="_articleCardPremiumOverlay_b3bmv_122",nn="_articleCardPremiumOverlayLocked_b3bmv_130",sn="_content_b3bmv_139",on="_description_b3bmv_147",ln="_premiumBannerImageLocked_b3bmv_155",cn="_premiumBannerImage_b3bmv_155",un="_readMore_b3bmv_165",dn="_tagsContainer_b3bmv_169",C={articleCard:qa,articleImage:en,articleTitle:tn,articleContent:rn,articleCardPremiumOverlay:an,articleCardPremiumOverlayLocked:nn,content:sn,description:on,premiumBannerImageLocked:ln,premiumBannerImage:cn,readMore:un,tagsContainer:dn},pn=e=>{var pe,fe;const{className:t="",description:r,hasPremiumAccess:a=!1,isPremium:n=!1,mainImage:s={},onClick:l=()=>{},onPremiumCardClick:c,slug:o={},style:I={},tags:y,title:f,articleVideo:O,articleThumbnail:p={},articleType:T}=e,lt=bt(),ct=e["data-gtm"]||"",ut=((pe=s==null?void 0:s.asset)==null?void 0:pe.url)||"",de=((fe=p.asset)==null?void 0:fe.url)||"",X=(s==null?void 0:s.alt)||"",dt=o==null?void 0:o.current;if(!f)return null;const pt=()=>{if(n&&!a)return null;lt.push(`/learning-center/${dt}`)},ft=()=>{var S,R;if((S=p==null?void 0:p.asset)!=null&&S.url)return(R=p==null?void 0:p.asset)==null?void 0:R.url},mt=()=>{var S;return i.jsx(j,{className:C.articleImage,image:(S=p==null?void 0:p.asset)==null?void 0:S.url,alt:p.alt})},yt=()=>{var S,R,me,ye,he,ge;return(S=p==null?void 0:p.asset)!=null&&S.url?mt():(he=(ye=(me=(R=O==null?void 0:O.asset)==null?void 0:R.url)==null?void 0:me.toString())==null?void 0:ye.trim())!=null&&he.length?i.jsx("div",{className:C.videoPlayerContainer,children:i.jsx(Ga,{url:((ge=O==null?void 0:O.asset)==null?void 0:ge.url)||"",playing:!1,playsinline:!0,volume:1,light:ft(),width:350,height:198})}):null},ht=()=>i.jsx(j,{className:C.articleImage,image:ut,alt:X}),gt=()=>i.jsx(j,{className:C.articleImage,image:de,alt:p.alt});return i.jsxs("div",{onClick:pt,className:`${C.articleCard} ${t}`,"data-gtm":ct,style:I,children:[de?gt():(T==null?void 0:T.toLowerCase())==="video"?yt():ht(),i.jsxs("div",{className:C.content,children:[i.jsx(Ba,{css:C.articleTitle,articleTitle:f}),i.jsx(vt,{className:C.description,text:r}),y?i.jsx(Lt,{className:C.tagsContainer,items:y,onClick:l}):null,i.jsx(Xa,{className:C.readMore,articleType:T})]}),n&&!a&&i.jsx("div",{className:C.articleCardPremiumOverlayLocked,onClick:c,children:i.jsx(j,{className:C.premiumBannerImageLocked,image:Qa,alt:X})}),n&&a&&i.jsx("div",{className:C.articleCardPremiumOverlay,onClick:c,children:i.jsx(j,{className:C.premiumBannerImage,image:Ka,alt:X})})]})},fn="_articleCards_1t2ky_88",mn="_articleCard_1t2ky_88",ot={articleCards:fn,articleCard:mn},yn=({className:e="",hasPremiumAccess:t,items:r,onClick:a=()=>{},onPremiumCardClick:n})=>r.map(({description:s,tags:l,title:c,mainImage:o,slug:I,premiumContent:y,articleVideo:f,articleType:O,articleThumbnail:p},T)=>i.jsx(pn,{className:`${ot.articleCard} ${e}`,"data-gtm":"ar-article-item",description:s,hasPremiumAccess:t,isPremium:y,mainImage:o,onClick:a,onPremiumCardClick:()=>n(I),slug:I,style:{order:T+1},tags:l,title:c,articleVideo:f,articleType:O,articleThumbnail:p},T)),Mn=e=>{const{cardClassName:t="",children:r,className:a="",hasPremiumAccess:n,items:s=[],onClick:l,onPremiumCardClick:c,ref:o}=e,I=e["data-gtm"]||"";return i.jsxs("div",{className:`${ot.articleCards} ${a}`,"data-gtm":I,ref:o,children:[yn({className:t,hasPremiumAccess:n,items:s,onClick:l,onPremiumCardClick:c}),r]})},hn="/assets/image-D4LkzjFU.svg",gn="_button_1v403_88",_n="_buttonContainer_1v403_101",In="_content_1v403_105",Pn="_contentClassName_1v403_122",bn="_closeIconClassName_1v403_129",vn="_headerClassName_1v403_139",Cn="_headerTextClassName_1v403_145",wn="_footerClassName_1v403_149",M={button:gn,buttonContainer:_n,content:In,contentClassName:Pn,closeIconClassName:bn,headerClassName:vn,headerTextClassName:Cn,footerClassName:wn},Sn=({isOpen:e,onClose:t,onSubmitSuccessfully:r})=>{const a=Ct(f=>f.guidedDetails.isGuidedProcess)||!0,[n,s]=W.useState(!1),{formState:{errors:l},handleSubmit:c,register:o,setError:I}=wt(),y=async f=>{var p;s(!0);const O=await Nt(f==null?void 0:f.emailAddress);((p=O==null?void 0:O.email)==null?void 0:p.status)==="invalid"?I("emailAddress",{type:"pattern"}):r(f==null?void 0:f.emailAddress),s(!1)};return i.jsxs(i.Fragment,{children:[i.jsx(At,{}),i.jsx("div",{className:M.modalWithHeaderFooter,children:i.jsx(Ot,{className:M.modal,isOpen:e,children:i.jsxs(Mt,{contentClassName:M.contentClassName,closeIconClassName:M.closeIconClassName,footerClassName:M.footerClassName,headerIcon:hn,headerTitle:"Premium Content",headerText:"Get access to premium articles, videos, and content that will help you make your Medicare decision.",headerTextClassName:M.headerTextClassName,headerClassName:M.headerClassName,onClose:()=>t(),children:[i.jsx("div",{className:M.content,"data-testid":"premium-content-modal",children:i.jsxs("form",{onSubmit:c(y),children:[i.jsx(St,{error:l==null?void 0:l.emailAddress,id:"emailAddress",labelText:"Email Address",placeholder:"name@company.com",register:o,required:!0}),i.jsx("div",{className:M.buttonContainer,children:i.jsx(Tt,{className:M.button,disabled:n,label:"View Content",type:"submit"})})]})}),a&&!1,i.jsx("br",{})]})})})]})};export{Mn as A,Sn as P,Ga as R,Or as p,B as u};
//# sourceMappingURL=index-CdgVLRmz.js.map