PageSourceSearch

https://www.nbcconnecticut.com/wp-content/themes/nbc-station/clien…jwPlayer.264d11c3530393535d02.bundle.min.js

js nbcconnecticut.com collected 2026-09-24 08:28:15 UTC 86,936 bytes, 3 lines download raw bytes

1/*! For license information please see jwPlayer.264d11c3530393535d02.bundle.min.js.LICENSE.txt */
2!function(){var e,t={3338:function(e,t){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},629:function(e){e.exports={CASE_SENSITIVE_TAG_NAMES:["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]}},3395:function(e,t,n){var i="html",o="head",a="body",r=/<([a-zA-Z]+[0-9]?)/,s=/<head.*>/i,l=/<body.*>/i,c=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var d=new window.DOMParser;c=u=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),d.parseFromString(e,"text/html")}}if(document.implementation){var p=n(5668).isIE,h=document.implementation.createHTMLDocument(p()?"html-dom-parser":void 0);c=function(e,t){return t?(h.documentElement.getElementsByTagName(t)[0].innerHTML=e,h):(h.documentElement.innerHTML=e,h)}}var f,g=document.createElement("template");g.content&&(f=function(e){return g.innerHTML=e,g.content.childNodes}),e.exports=function(e){var t,n,d,p,h=e.match(r);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case i:return n=u(e),s.test(e)||(d=n.getElementsByTagName(o)[0])&&d.parentNode.removeChild(d),l.test(e)||(d=n.getElementsByTagName(a)[0])&&d.parentNode.removeChild(d),n.getElementsByTagName(i);case o:case a:return p=c(e).getElementsByTagName(t),l.test(e)&&s.test(e)?p[0].parentNode.childNodes:p;default:return f?f(e):c(e,a).getElementsByTagName(a)[0].childNodes}}},9072:function(e,t,n){var i=n(3395),o=n(5668).formatDOM,a=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(a);return n&&n[1]&&(t=n[1]),o(i(e),null,t)}},5668:function(e,t,n){for(var i,o=n(629),a=n(2888),r=o.CASE_SENSITIVE_TAG_NAMES,s=a.Comment,l=a.Element,c=a.ProcessingInstruction,u=a.Text,d={},p=0,h=r.length;p<h;p++)i=r[p],d[i.toLowerCase()]=i;function f(e){for(var t,n={},i=0,o=e.length;i<o;i++)n[(t=e[i]).name]=t.value;return n}function g(e){return function(e){return d[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:f,formatDOM:function e(t,n,i){n=n||null;for(var o=[],a=0,r=t.length;a<r;a++){var d,p=t[a];switch(p.nodeType){case 1:(d=new l(g(p.nodeName),f(p.attributes))).children=e(p.childNodes,d);break;case 3:d=new u(p.nodeValue);break;case 8:d=new s(p.nodeValue);break;default:continue}var h=o[a-1]||null;h&&(h.next=d),d.parent=n,d.prev=h,d.next=null,o.push(d)}return i&&((d=new c(i.substring(0,i.indexOf(" ")).toLowerCase(),i)).next=o[0]||null,d.parent=n,o.unshift(d),o[1]&&(o[1].prev=o[0])),o},isIE:function(){return/(MSIE |Trident\/|Edge\/)/.test(navigator.userAgent)}}},4371:function(e,t,n){var i=n(9471),o=n(4193),a=n(9072);a="function"==typeof a.default?a.default:a;var r={lowerCaseAttributeNames:!1};function s(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:i(a(e,(t=t||{}).htmlparser2||r),t)}s.domToReact=i,s.htmlToDOM=a,s.attributesToProps=o,s.Element=n(1138).Element,e.exports=s,e.exports.default=s},4193:function(e,t,n){var i=n(9461),o=n(9523);function a(e){return i.possibleStandardNames[e]}e.exports=function(e){var t,n,r,s,l,c={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(r=e[t],i.isCustomAttribute(t))c[t]=r;else if(s=a(n=t.toLowerCase()))switch(l=i.getPropertyInfo(s),"checked"!==s&&"value"!==s||u||(s=a("default"+n)),c[s]=r,l&&l.type){case i.BOOLEAN:c[s]=!0;break;case i.OVERLOADED_BOOLEAN:""===r&&(c[s]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(c[t]=r);return o.setStyleProp(e.style,c),c}},9471:function(e,t,n){var i=n(8102),o=n(4193),a=n(9523),r=a.setStyleProp,s=a.canTextBeChildOfNode;function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&a.isCustomComponent(e.name,e.attribs)}
2e.exports=function e(t,n){for(var a,c,u,d,p,h=(n=n||{}).library||i,f=h.cloneElement,g=h.createElement,m=h.isValidElement,b=[],v="function"==typeof n.replace,y=n.trim,_=0,w=t.length;_<w;_++)if(a=t[_],v&&m(u=n.replace(a)))w>1&&(u=f(u,{key:u.key||_})),b.push(u);else if("text"!==a.type){switch(d=a.attribs,l(a)?r(d.style,d):d&&(d=o(d)),p=null,a.type){case"script":case"style":a.children[0]&&(d.dangerouslySetInnerHTML={__html:a.children[0].data});break;case"tag":"textarea"===a.name&&a.children[0]?d.defaultValue=a.children[0].data:a.children&&a.children.length&&(p=e(a.children,n));break;default:continue}w>1&&(d.key=_),b.push(g(a.name,d,p))}else{if((c=!a.data.trim().length)&&a.parent&&!s(a.parent))continue;if(y&&c)continue;b.push(a.data)}return 1===b.length?b[0]:b}},9523:function(e,t,n){var i=n(8102),o=n(1020).default,a={reactCompat:!0},r=i.version.split(".")[0]>=16,s=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:r,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,i,o="function"==typeof t,a={},r={};for(n in e)i=e[n],o&&(a=t(n,i))&&2===a.length?r[a[0]]=a[1]:"string"==typeof i&&(r[i]=n);return r}
2,isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,a)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!s.has(e.name)},elementsWithNoTextChildren:s}},5937:function(e){var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,r=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,p=1;function h(e){var t=e.match(n);t&&(d+=t.length);var i=e.lastIndexOf("\n");p=~i?e.length-i:p+e.length}function f(){var e={line:d,column:p};return function(t){return t.position=new g(e),y(),t}}function g(e){this.start=e,this.end={line:d,column:p},this.source=l.source}g.prototype.content=e;var m=[];function b(t){var n=new Error(l.source+":"+d+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=p,n.source=e,!l.silent)throw n;m.push(n)}function v(t){var n=t.exec(e);if(n){var i=n[0];return h(i),e=e.slice(i.length),n}}function y(){v(i)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=f();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return b("End of comment missing");var i=e.slice(2,n-2);return p+=2,h(i),e=e.slice(n),p+=2,t({type:"comment",comment:i})}}
2function S(){var e=f(),n=v(o);if(n){if(w(),!v(a))return b("property missing ':'");var i=v(r),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:i?u(i[0].replace(t,c)):c});return v(s),l}}return y(),function(){var e,t=[];for(_(t);e=S();)!1!==e&&(t.push(e),_(t));return t}()}},834:function(e,t){var n,i;void 0===(i="function"==typeof(n=function(){var e,t,n="lscache-",i="-cacheexpiration",o=6e4,a=_(o),r="",s=!1;function l(){var t="__lscachetest__",n=t;if(void 0!==e)return e;try{if(!localStorage)return!1}catch(e){return!1}try{f(t,n),g(t),e=!0}catch(t){e=!(!c(t)||!localStorage.length)}return e}function c(e){return e&&("QUOTA_EXCEEDED_ERR"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name||"QuotaExceededError"===e.name)}function u(){return void 0===t&&(t=null!=window.JSON),t}function d(e){return e+i}function p(){return Math.floor((new Date).getTime()/o)}function h(e){return localStorage.getItem(n+r+e)}function f(e,t){localStorage.removeItem(n+r+e),localStorage.setItem(n+r+e,t)}function g(e){localStorage.removeItem(n+r+e)}function m(e){var t,o,a=new RegExp("^"+n+(r.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&")+"(.*)")),s=[];for(o=0;o<localStorage.length;o++)(t=(t=(t=localStorage.key(o))&&t.match(a))&&t[1])&&t.indexOf(i)<0&&s.push(t);for(o=0;o<s.length;o++)e(s[o],d(s[o]))}function b(e){var t=d(e);g(e),g(t)}function v(e){var t=d(e),n=h(t);if(n){var i=parseInt(n,10);if(p()>=i)return g(e),g(t),!0}}function y(e,t){s&&"console"in window&&"function"==typeof window.console.warn&&(window.console.warn("lscache - "+e),t&&window.console.warn("lscache - The error was: "+t.message))}function _(e){return Math.floor(864e13/e)}return{set:function(e,t,n){if(!l())return!1;if(!u())return!1;try{t=JSON.stringify(t)}catch(e){return!1}try{f(e,t)}catch(n){if(!c(n))return y("Could not add item with key '"+e+"'",n),!1;var i,o=[];m(function(e,t){var n=h(t);n=n?parseInt(n,10):a,o.push({key:e,size:(h(e)||"").length,expiration:n})}),o.sort(function(e,t){return t.expiration-e.expiration});for(var r=(t||"").length;o.length&&r>0;)y("Cache is full, removing item with key '"+(i=o.pop()).key+"'"),b(i.key),r-=i.size;try{f(e,t)}catch(t){return y("Could not add item with key '"+e+"', perhaps it's too big?",t),!1}}return n?f(d(e),(p()+n).toString(10)):g(d(e)),!0},get:function(e){if(!l())return null;if(v(e))return null;var t=h(e);if(!t||!u())return t;try{return JSON.parse(t)}catch(e){return t}},remove:function(e){l()&&b(e)},supported:function(){return l()},flush:function(){l()&&m(function(e){b(e)})},flushExpired:function(){l()&&m(function(e){v(e)})},setBucket:function(e){r=e},resetBucket:function(){r=""},getExpiryMilliseconds:function(){return o},setExpiryMilliseconds:function(e){a=_(o=e)},enableWarnings:function(e){s=e}}})?n.apply(t,[]):n)||(e.exports=i)},1020:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=i(n(7093)),a=n(576);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,o.default)(e,function(e,i){e&&i&&(n[(0,a.camelCase)(e,t)]=i)}),n):n}},576:function(e,t){"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,i=/-([a-z])/g,o=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,r=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(r,l):e.replace(a,l)).replace(i,s))}},7093:function(e,t,n){var i=n(5937);e.exports=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var a,r,s=i(e),l="function"==typeof t,c=0,u=s.length;c<u;c++)a=(n=s[c]).property,r=n.value,l?t(a,r,n):r&&(o||(o={}),o[a]=r);return o}},9671:function(e,t,n){"use strict";function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var o=n(8102),a=n(9907),r=n(834),s=n.n(r);const{nbc:{brand:l="",callLetters:c="",env:u="",identity:d={},dataLayer:{domainName:p="",division:h=""},fullDomain:f="",tokenBypass:g=!1},wp:{apiFetch:m}={}}=window;
2var b=function(e,t,n,i){return new(n||(n=Promise))(function(o,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,s)}l((i=i.apply(e,t||[])).next())})};const{nbc:{brand:v="",callLetters:y="",currentDomain:_,identity:{on:w={}}={},identityActive:S=!1,pageType:x,dataLayer:{division:k="",uri:P="",sectionName:O=""},video:{fwCSIDIdenity:C="",fwNetworkID:T="169843",fwWebSFIDNtl:j="",fwWebAFIDNtl:E=""}},location:{href:N}}=window,M=e=>{const t=Math.floor(e/3600),n=Math.floor((e-3600*t)/60),i=("0"+Math.floor(e)%60).substr(-2),o=`0${n}`.substr(-2);return t?`${t}:${o}:${i}`:`${n}:${i}`},D=window.matchMedia("screen and (max-width: 767px)").matches,F=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i),I=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),A=(e,t)=>{const n="telemundo"===e?"Español":"English";return"CC1"===t?n:"CC2"===t?"telemundo"===e?"English":"Español":n},L=()=>{const e=document.location.search,t={},n=e.substring(e.indexOf("?")+1).split("&");for(let e=0;e<n.length;e+=1){const i=n[e].split("=");if(i[0]){const e=decodeURIComponent(i[0]),n=decodeURIComponent(i[1]||"");t[e]=n}}return t},R=(e,t)=>{let n=t;return-1<document.location.search.indexOf(e)&&"string"==typeof L()[e]&&""!==L()[e]&&(n=L()[e]),String(n)},$=({isLivestream:e,islead:t,isFast:n,playerPlacement:i=""})=>{const{nbc:{video:{playerType:o=""}={},isLiveBlog:a}}=window,r=-1<x.indexOf("amp ")?"amp":"";let s="1"===e?`${r}liveplayer`:o;return"fast channel"===O&&"1"===n&&(s="fastplayer"),""!==i&&(s="1"===e&&"1"!==n?`livefeed_${i}`:`fastplayer_${i}`),"amp articleplayer"===o?s="true"===R("embedded","")?"synd"+("1"===e?"live":"vod"):"1"===R("isLiveBlog","")?"1"===R("islead","")?"amp liveblogplayer lead":"amp liveblogplayer inline":"1"===R("islead","")?`${s} lead`:`${s} inline`:"articleplayer"===s&&(s=a?t?"liveblogplayer lead":"liveblogplayer inline":t?`${s} lead`:`${s} inline`),s},B=(e,t)=>{let n=Object.assign(e,t);n=Object.values(n);for(let e=n.length-1;0<=e;e-=1)n[e]=n[e].toLowerCase().replace(" ","-");return n.join(", ")},Y=(e,t)=>{if("rsn"!==k)return"";const n=e.replaceAll("%20"," ");return t?n.toLowerCase():n};function U(){const{location:{search:e=""}}=window;return-1<x.indexOf("amp ")?F?"mobile web":"desktop":-1<e.indexOf("disableHeader")&&-1<e.indexOf("disableFooter")?"app":D?"mobile web":"desktop"}const V=({isLivestream:e="",isFast:t="",islead:n=!1,network:i="",originCallLetters:o="",contentSource:a="",sentiment:r="",topic:s="",videoId:l="",continuousPlay:c="",catNames:u={},tagNames:d={},canonicalUrl:p="",videoSport:h="",videoLeague:f="",videoTeam:g="",show:m="",event:b="",genre:v="",playerPlacement:y=""})=>{var _;const{nbc:{dataLayer:{videoCollections:w=[],contentId:S=""},video:{playerType:x=""},siteKey:k=""}}=window,P=function(){let e=!1;const t=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],n=t=>(e&&!t||(e=new Date),e),i=e=>2>e.length?0+e:e,o=()=>{n(!0);const e=n(!1).getHours().toString();return i(e)};return{getHour:()=>`${o()}:00`,getTime:()=>{n(!0);const e=n(!1).getMinutes().toString();return`${o()}:${i(e)}`},getDayOfWeek:()=>t[n(!1).getDay()],getDate:()=>{n(!0);const e=n(!1);let t=i((e.getMonth()+1).toString());return t+="/",t+=i(e.getDate().toString()),t+="/",t+=i(e.getFullYear().toString()),t}}}(),O=new URLSearchParams(window.location.search);return{ovp:"html5",player_type:$({isLivestream:e,islead:n,isFast:t,playerPlacement:y}),network:i,videomarketorigination:R("origincallletters",o),videocontentsource:a.toLowerCase(),videoSentiment:r.toLowerCase(),videoTopic:s.toLowerCase(),minute:P.getTime(),hour:P.getHour(),day:P.getDayOfWeek(),date:P.getDate(),videotargetcontentid:-1<x.indexOf("full")?"":S,videompxid:l,platform:U(),businessunit:R("sitekey",k).toLowerCase(),videopageurl:R("url",window.location.toString()),continuousplay:`${c} play`,videotag:B(u,d),videocollection:"1"!==e?w.join(", ").toLowerCase():"",canonical_url:Y(p,!1),videoSport:Y(h,!1),videoLeague:Y(f,!1),videoTeam:Y(g,!0),videoShow:Y(m,!0),videoEvent:Y(b,!0),videoGenre:Y(v,!0),prevpagereferrer:decodeURIComponent(null!==(_=O.get("turl"))&&void 0!==_?_:"")}};let z=null,H=null;const G=(e=1,t=[])=>{let n=e;if(!I)return n;const i=t.some(({id:e})=>e.includes("vtt")),o=t.some(({id:e})=>e.includes("native"));return i&&o&&(n=t.findIndex(({id:e})=>e.includes("native"))),n},W=()=>{const e=new RegExp("usprivacy=([^;]+)").exec(document.cookie);return null!==e?unescape(e[1]):"1YYN"},q=()=>{const e=new RegExp("OTGPPConsent=([^;]+)").exec(document.cookie);return null!==e?decodeURIComponent(e[1]):"DBABLA~BVQVAAAAAgA.QA"},X=e=>
2{let t="telemundo"===k?"tm":k;const n=["nbc","telemundo"].includes(k)&&"LX"!==y?"ots_":"";"LX"!==y&&"white-label"!==v||(t="localstandalone");let i=""!==C?C:y;-1<x.indexOf("amp ")&&!new URL(N).searchParams.has("embedded")&&(i=R("callletters",y));const o=R("csidIdentity",i).toLowerCase();return`${t}_${n}${D?"mobile":"desktop"}_web_${o}_${e?"liveevent":"ondemand"}`},J=e=>{let t="full"===x?e.split(_)[1]:P;if(void 0===t||0===t.length)return"";-1<x.indexOf("amp ")&&(t=R("url",t),-1<t.indexOf(".com")&&([,t]=t.split(".com")));let n=t.split("/").filter(e=>e);return 0<n.length&&!Number.isNaN(parseFloat(n[n.length-1]))&&(n=n.slice(0,-1)),n.reduce((e,t,n)=>(e[`content_section${n+1}`]=t,e),{})},K=e=>{if(!e.includes(":"))return e;const t=e.split(":");let n=t[1].toString();for(;3>n.length;)n=`0${n}`;return t[1]=n,t.join("")},Q=(e,t,n)=>""!==e?e:Object.keys(n).includes(String(t))?n[t]:"";const Z=e=>b(void 0,void 0,void 0,function*(){const t=(()=>{var e,t,n,i,o;let a=s().get("mParticleId");return a||(a=void 0!==window.mParticle?null===(o=null===(n=null===(t=null===(e=window.mParticle)||void 0===e?void 0:e.Identity)||void 0===t?void 0:t.getCurrentUser)||void 0===n?void 0:(i=n.call(t)).getMPID)||void 0===o?void 0:o.call(i):"",s().set("mParticleId",a)),null!=a?a:""})();if("unauthenticated"===(yield function(e,t){const n="unauthenticated";return new Promise(i=>{if(S&&"function"==typeof w){const a=setTimeout(()=>i(n),2500);o=o=>{[n,"authenticated"].includes(o)&&(clearTimeout(a),i(o),n===o&&e(t))},d.on("authenticationState",e=>{o(e)})}else i(n);var o})}(e,t)))return t;{const e=yield function(e){return new Promise(t=>{const n=setTimeout(()=>t(e),1e3);window.nbc.identity.analyticsEventLogger.getMPID().then(e=>{clearTimeout(n),t(e)}).catch(i=>{clearTimeout(n),console.warn("Error fetching MPID:",i),t(e)})})}(t);return null!=e?e:t}}),ee=(e,t)=>{var n;const i=document.querySelector("figure.article-featured-media.video-lead cite");!e||e&&null===i||(t&&""!==(null===(n=i.textContent)||void 0===n?void 0:n.trim())?i.classList.add("article-featured-media__credit--visible"):i.classList.remove("article-featured-media__credit--visible"))};var te=n(385);function ne(e){return ne="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ne(e)}function ie(e){var t=function(e){if("object"!=ne(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ne(t)?t:t+""}function oe(e,t,n){return(t=ie(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ae(e,t,n,i,o,a,r){try{var s=e[a](r),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,o)}function re(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,ie(i.key),i)}}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},se(e)}function le(e,t){return le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},le(e,t)}var ce=n(5799),ue=n.n(ce),de="all",pe="^on(.*)",he=n(1285),fe=n.n(he);function ge(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ge(Object(n),!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ge(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var be=Math.floor(1001*Math.random());function ve(e){if(!window.jwplayer&&!e)throw new Error("jwplayer-react requires either a library prop, or a library script");return window.jwplayer?Promise.resolve():function(e){return new Promise(function(t,n){var i=document.createElement("script");i.onload=t,i.onerror=n,i.src=e,document.body.append(i)})}(e)}function ye(e,t){var n=e.match(t)||["",""];return n[1].charAt(0).toLowerCase()+n[1].slice(1)}function _e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function we(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?_e(Object(n),!0).forEach(function(t){oe(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_e(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Se(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Se=function(){return!!e})()}function xe(e){return function(t,n){Object.keys(e).forEach(function(i){var o=ye(i,pe);o===t&&e[i](n),o===de&&e[i](t,n)})}}var ke=function(e){function t(e){var n,i,a,r;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),i=this,r=[e],a=se(a=t),(n=function(e,t){if(t&&("object"==ne(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(i,Se()?Reflect.construct(a,r||[],se(i).constructor):a.apply(i,r))).ref=e.ref||o.default.createRef(),n.config=function(e){var t={};return Object.keys(e).forEach(function(n){fe().has(n)&&(t[n]=e[n])}),me(me(me({},e.config),t),{},{isReactComponent:!0})}(e),n.player=null,n.didMountCallback=e.didMountCallback,n.willUnmountCallback=e.willUnmountCallback,n.id=e.id||"jwplayer-".concat(be),n.onHandler=null,n.library=e.library,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&le(e,t)}(t,e),n=t,i=[{key:"componentDidMount",value:(a=ue().mark(function e(){var t,n;return ue().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,ve(this.library);case 1:this.player=this.createPlayer(),this.createEventListeners(),this.didMountCallback&&(t=this.player,n=this.id,this.didMountCallback({player:t,id:n}));case 2:case"end":return e.stop()}},e,this)}),r=function(){var e=this,t=arguments;return new Promise(function(n,i){var o=a.apply(e,t);function r(e){ae(o,n,i,r,s,"next",e)}function s(e){ae(o,n,i,r,s,"throw",e)}r(void 0)})},function(){return r.apply(this,arguments)})},{key:"shouldComponentUpdate",value:function(e){return!(!this.player||this.didOnEventsChange(e)&&(this.updateOnEventListener(e),1))}},{key:"componentWillUnmount",value:function(){if(this.willUnmountCallback){var e=this.player,t=this.id;this.willUnmountCallback({player:e,id:t})}this.player&&(this.player.off(),this.player.remove(),this.player=null)}},{key:"createPlayer",value:function(){var e=this.config,t=this.ref,n=we(we({},window.jwDefaults),e),i=t.current;return window.jwplayer(i.id).setup(n)}},{key:"didOnEventsChange",value:function(e){var t=this,n=function(e){return e.match(pe)},i=Object.keys(this.props).filter(n).sort(),o=Object.keys(e).filter(n).sort();return o.length!==i.length||o.some(function(n,o){return i[o]!==n||e[n]!==t.props[n]})}},{key:"createEventListeners",value:function(){var e=this;Object.keys(this.props).forEach(function(t){var n=ye(t,"^once(.*)");n&&e.player.once(n,e.props[t])}),this.onHandler=xe(this.props),this.player.on(de,this.onHandler)}},{key:"updateOnEventListener",value:function(e){this.onHandler&&this.player.off(de,this.onHandler),this.onHandler=xe(e),this.player.on(de,this.onHandler)}},{key:"render",value:function(){return o.default.createElement("div",{id:this.id,ref:this.ref})}}],i&&re(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i,a,r}(o.Component),Pe=ke;const{nbc:{dataLayer:{pageName:Oe}}}=window,Ce=["prop1","prop2","prop3","prop4","prop8","prop9","prop10","prop21","prop22","prop23","prop48","prop52","prop53","prop54","prop55","contextData.liveBlogCardId","contextData.liveBlogCardTitle"],Te=(e,t,n)=>{var i,o;const a=document.querySelector(`.${n}`);((e,t,n,i)=>{if(void 0===window.s)return;const{linkTrackVars:o,linkTrackEvents:a}=window.s;window.s.linkTrackVars=Ce.join(","),window.s.linkTrackEvents="";const r={prop52:Oe,prop53:e,prop54:`${Oe} | ${e}`,prop55:t,contextData:{liveBlogCardId:""!==n?n:"",liveBlogCardTitle:""!==i?i:""}};window.s.tl(void 0,"o",t,r),window.s.linkTrackVars=o,window.s.linkTrackEvents=a})(e,t,(null===(i=null==a?void 0:a.closest(".liveblog-card"))||void 0===i?void 0:i.getAttribute("data-card-id"))||"",(null===(o=null==a?void 0:a.closest(".liveblog-card"))||void 0===o?void 0:o.getAttribute("data-card-title"))||"")},je={color:"#f2f2f2",font:'17px "Lucida Console", Monaco, monospace'},Ee={backgroundColor:"rgba(0, 0, 0, 1)"},Ne={textColors:{white:"#FFFFFF",red:"#FF0000",green:"#008000",blue:"#0000FF",yellow:"#FFFF00",magenta:"#ff00ff",cyan:"#00ffff",black:"#000000",timesPreset:"#55c2b7"},textPreviewColors:{white:"255, 255, 255",red:"255, 0, 0",green:"0, 255, 0",blue:"0, 0, 255",yellow:"255, 255, 0",magenta:"255, 0, 255",cyan:"0, 255, 255",black:"0, 0, 0",timesPreset:"85, 194, 183"},textFonts:{"Lucida Sans":'"Lucida Console", Monaco, monospace',Verdana:"Verdana",Helvetica:"Helvetica",Arial:"Arial","Arial Black":"Arial Black",Courier:"Courier New",Georgia:"Georgia",Impact:"Impact",Palatino:"Palatino",Tahoma:"Tah
2oma","Times New Roman":"Times New Roman"},textSizes:{"Extra small":"0.5em",Small:"0.75em",Medium:"1em",Large:"1.5em","Extra large":"2em"},textSizesMapping:{"Extra small":"captionExtraSmall",Small:"captionSmall",Medium:"captionMedium",Large:"captionLarge","Extra large":"captionExtraLarge"}},Me={default:{borderSettings:{color:"black",effect:"None"},backgroundSettings:{color:"black",opacity:"100%"},textSettings:{color:"white",opacity:"100%",font:"Lucida Sans",size:"Medium"}},verdana:{borderSettings:{color:"black",effect:"None"},backgroundSettings:{color:"white",opacity:"100%"},textSettings:{color:"black",opacity:"100%",font:"Verdana",size:"Medium"}},courier:{borderSettings:{color:"black",effect:"None"},backgroundSettings:{color:"black",opacity:"75%"},textSettings:{color:"white",opacity:"100%",font:"Courier",size:"Medium"}},arial:{borderSettings:{color:"black",effect:"dropShadow"},backgroundSettings:{color:"arialPreset",opacity:"100%"},textSettings:{color:"white",opacity:"100%",font:"Arial",size:"Medium"}},times:{borderSettings:{color:"black",effect:"None"},backgroundSettings:{color:"black",opacity:"88%"},textSettings:{color:"timesPreset",opacity:"100%",font:"Times New Roman",size:"Medium"}},verdanaBlack:{borderSettings:{color:"black",effect:"dropShadow"},backgroundSettings:{color:"black",opacity:"50%"},textSettings:{color:"white",opacity:"100%",font:"Verdana",size:"Medium"}},timesBlack:{borderSettings:{color:"black",effect:"uniform"},backgroundSettings:{color:"blue",opacity:"100%"},textSettings:{color:"yellow",opacity:"100%",font:"Times New Roman",size:"Medium"}}},De={None:{returnStyle:"",display:"None"},dropShadow:{returnStyle:"rgb(0, 0, 0) 0px 2px 1px",display:"Drop Shadow"},depressed:{returnStyle:"rgb(0, 0, 0) 0px -2px 1px",display:"Depressed"},raised:{returnStyle:"rgb(0, 0, 0) 0px 0px 5px, rgb(0, 0, 0) 0px 1px 5px, rgb(0, 0, 0) 0px 2px 5px",display:"Raised"},uniform:{returnStyle:"rgb(0, 0, 0) -2px 0px 1px,\n    rgb(0, 0, 0) 2px 0px 1px,\n    rgb(0, 0, 0) 0px -2px 1px, rgb(0, 0, 0) 0px 2px 1px, rgb(0, 0, 0) -1px 1px 1px, rgb(0, 0, 0) 1px 1px 1px, rgb(0, 0, 0) 1px -1px 1px, rgb(0, 0, 0) 1px 1px 1px",display:"Uniform"}},Fe={white:"#FFFFFF",red:"#FF0000",green:"#008000",blue:"#0000FF",yellow:"#FFFF00",magenta:"#ff00ff",cyan:"#00ffff",black:"#000000",arialPreset:"#678ccc"},Ie={white:"255, 255, 255",red:"255, 0, 0",green:"0, 255, 0",blue:"0, 0, 255",yellow:"255, 255, 0",magenta:"255, 0, 255",cyan:"0, 255, 255",black:"0, 0, 0",arialPreset:"103, 140, 204"},Ae={"100%":100,"88%":86,"75%":75,"62%":62,"50%":50,"38%":38,"25%":25,"0%":0},Le={"100%":1,"88%":.875,"75%":.75,"62%":.624,"50%":.5,"38%":.376,"25%":.25,"0%":0},Re=e=>{if(!e)return"captionMedium";const{textSettings:{size:t}}=e,{textSizesMapping:n}=Ne;return n[t]},$e=e=>{if(!e)return je;const{textSettings:{color:t,opacity:n,font:i,size:o}}=e,{textPreviewColors:a,textFonts:r,textSizes:s}=Ne;return{color:`rgba(${a[t]}, ${Le[n]})`,fontFamily:r[i],fontSize:s[o]}},Be=e=>{if(!e)return Ee;const{borderSettings:{effect:t},backgroundSettings:{color:n,opacity:i}}=e,{returnStyle:o}=De[t];return{textShadow:o,backgroundColor:`rgba(${Ie[n]}, ${Le[i]})`}};var Ye=({setPresetSetting:e})=>(0,te.Y)("div",Object.assign({className:"preset-settings"},{children:Object.keys(Me).map(t=>{const{borderSettings:{effect:n},backgroundSettings:{color:i},textSettings:{color:o,font:a}}=Me[t],{textColors:r,textFonts:s}=Ne,{returnStyle:l}=De[n];return"default"!==t?(0,te.Y)("button",Object.assign({type:"button",className:"preset-settings__button",style:{textShadow:l,backgroundColor:Fe[i],color:r[o],fontFamily:s[a],fontSize:"17px"},onClick:()=>{e(Me[t])}},{children:"Aa"})):""})}));const{i18n:{__:Ue}}=window.wp;var Ve=({setBorderEffect:e,borderSettings:t})=>{const{effect:n}=t;return(0,te.Y)("div",Object.assign({className:"border-settings"},{children:(0,te.FD)("div",Object.assign({className:"border-settings__effect"},{children:[(0,te.Y)("span",Object.assign({className:"border-settings__label"},{children:Ue("Effect","nbc")})),(0,te.Y)("select",Object.assign({value:n,defaultValue:n,className:"border-settings__select",onChange:t=>{const{target:{value:n}}=t;e(n)}},{children:Object.entries(De).map(([e,t])=>(0,te.Y)("option",Object.assign({value:e},{children:Ue(t.display||e,"nbc")})))}))]}))}))};const{i18n:{__:ze}}=window.wp;
2var He=({setBackgroundColor:e,setBackgroundOpacity:t,backgroundSettings:n})=>{const{color:i}=n;return(0,te.FD)("div",Object.assign({className:"background-settings"},{children:[(0,te.FD)("div",Object.assign({className:"background-settings__color"},{children:[(0,te.Y)("span",Object.assign({className:"background-settings__label"},{children:ze("Color","nbc")})),Object.keys(Fe).map(t=>["arialPreset"].includes(t)?"":(0,te.Y)("button",Object.assign({type:"button",className:"background-settings__button"+(t===i?" background-settings__button--active":""),style:{backgroundColor:Fe[t]},onClick:()=>{e(t)}},{children:t})))]})),(0,te.FD)("div",Object.assign({className:"background-settings__opacity"},{children:[(0,te.Y)("span",Object.assign({className:"background-settings__label"},{children:ze("Opacity","nbc")})),Object.keys(Ae).map(e=>(0,te.Y)("button",Object.assign({type:"button",className:"background-settings__button",style:{backgroundColor:`rgba(255, 255, 255, ${Ae[e]/100})`},onClick:()=>{t(e)}},{children:e})))]}))]}))};const{i18n:{__:Ge}}=window.wp,{textColors:We,textFonts:qe,textSizes:Xe}=Ne;var Je=({setTextColor:e,setTextOpacity:t,setTextFont:n,setTextSize:i,textSettings:o})=>{const{color:a,font:r,size:s}=o;return(0,te.FD)("div",Object.assign({className:"text-settings"},{children:[(0,te.FD)("div",Object.assign({className:"text-settings__color"},{children:[(0,te.Y)("span",Object.assign({className:"text-settings__label"},{children:Ge("Color","nbc")})),Object.keys(We).map(t=>["timesPreset"].includes(t)?"":(0,te.Y)("button",Object.assign({type:"button",className:"text-settings__button"+(t===a?" text-settings__button--active":""),style:{backgroundColor:We[t]},onClick:()=>{e(t)}},{children:t})))]})),(0,te.FD)("div",Object.assign({className:"text-settings__opacity"},{children:[(0,te.Y)("span",Object.assign({className:"text-settings__label"},{children:Ge("Opacity","nbc")})),Object.keys(Ae).map(e=>(0,te.Y)("button",Object.assign({type:"button",className:"text-settings__button",style:{backgroundColor:`rgba(255, 255, 255, ${Ae[e]/100})`},onClick:()=>{t(e)}},{children:e})))]})),(0,te.FD)("div",Object.assign({className:"text-settings__fonts"},{children:[(0,te.Y)("span",Object.assign({className:"text-settings__label"},{children:Ge("Font","nbc")})),(0,te.Y)("select",Object.assign({value:r,defaultValue:r,className:"text-settings__select",onChange:e=>{const{target:{value:t}}=e;n(t)}},{children:Object.keys(qe).map(e=>(0,te.Y)("option",Object.assign({value:e},{children:Ge(e,"nbc")})))})),(0,te.Y)("span",Object.assign({className:"text-settings__label"},{children:Ge("Size","nbc")})),(0,te.Y)("select",Object.assign({value:s,defaultValue:s,className:"text-settings__select",onChange:e=>{const{target:{value:t}}=e;i(t)}},{children:Object.keys(Xe).map(e=>(0,te.Y)("option",Object.assign({value:e},{children:Ge(e,"nbc")})))}))]}))]}))};const{i18n:{__:Ke}}=window.wp,Qe={presetSettings:"default",borderSettings:{color:"black",effect:"None"},backgroundSettings:{color:"black",opacity:"100%"},textSettings:{color:"white",opacity:"100%",font:"Lucida Sans",size:"Medium"}},Ze=({containerStyle:e,lineStyle:t,toggleSubtitleSettings:n,setSubtitleSettings:i,setSubtitleSettingsTab:a,subtitleSettingsTab:r,subtitleSettings:s,isPlaying:l})=>{const{current:c}=(0,o.useRef)(l),{borderSettings:u,backgroundSettings:d,textSettings:p}=s,h=e=>{i(e)},f=e=>{i(Object.assign(Object.assign({},s),{borderSettings:Object.assign(Object.assign({},u),{effect:e})}))},g=e=>{i(Object.assign(Object.assign({},s),{backgroundSettings:Object.assign(Object.assign({},d),{color:e})}))},m=e=>{i(Object.assign(Object.assign({},s),{backgroundSettings:Object.assign(Object.assign({},d),{opacity:e})}))},b=e=>{i(Object.assign(Object.assign({},s),{textSettings:Object.assign(Object.assign({},p),{color:e})}))},v=e=>{i(Object.assign(Object.assign({},s),{textSettings:Object.assign(Object.assign({},p),{opacity:e})}))},y=e=>{i(Object.assign(Object.assign({},s),{textSettings:Object.assign(Object.assign({},p),{font:e})}))},_=e=>{i(Object.assign(Object.assign({},s),{textSettings:Object.assign(Object.assign({},p),{size:e})}))},w=[{name:"Presets",component:()=>(0,te.Y)(Ye,{setPresetSetting:h})},{name:"Text",component:()=>(0,te.Y)(Je,{setTextColor:b,setTextOpacity:v,setTextFont:y,setTextSize:_,textSettings:p})},{name:"Border",component:()=>(0,te.Y)(Ve,{setBorderEffect:f,borderSettings:u})}
2,{name:"Background",component:()=>(0,te.Y)(He,{setBackgroundColor:g,setBackgroundOpacity:m,backgroundSettings:d})}];return(0,te.FD)("div",Object.assign({className:"player__subtitle-settings"},{children:[(0,te.Y)("div",Object.assign({className:"subtitle-settings__panel-top"},{children:w.map(({name:e})=>(0,te.Y)("button",Object.assign({type:"button",className:"subtitle-settings__tab"+(e===r?" subtitle-settings__tab--active":""),onClick:()=>{a(e)}},{children:Ke(e,"nbc")})))})),(0,te.Y)("div",Object.assign({className:"subtitle-settings__panel-middle"},{children:w.map(({name:e,component:t})=>e===r&&t())})),(0,te.FD)("div",Object.assign({className:"subtitle-settings__panel-bottom"},{children:[(0,te.Y)("div",Object.assign({"data-t-subtitles":!0,style:e,className:"player__subtitles player__subtitles-sample"},{children:(0,te.Y)("div",Object.assign({className:"subtitles__line",style:t},{children:Ke("This is a sample","nbc")}))})),(0,te.FD)("div",Object.assign({className:"subtitle-settings__interface"},{children:[(0,te.Y)("button",Object.assign({type:"button",className:"subtitle-settings__button",onClick:()=>{i(Object.assign({},Qe))}},{children:Ke("Reset","nbc")})),(0,te.Y)("button",Object.assign({type:"button",className:"subtitle-settings__button",onClick:()=>{n(c)}},{children:Ke("Done","nbc")}))]}))]}))]}))},{wp:{i18n:{__:et}},nbc:{callLetters:tt}}=window,nt="TELX"===tt?"cozi":"nbc",it=et("Close",nt),ot=et("Press Ctrl-C to copy the code:",nt),at=et("Press Ctrl-C to copy link:",nt),rt=et("Select Text",nt),st=et("Copy Link",nt),lt=et("Embed",nt);var ct,ut=({url:e,host:t,title:n,videoContentId:i,videoId:a,toggleShare:r,twitter:s,isPlaying:l,isLiveBlog:c,liveBlogTracking:u,jwPlayerId:d,disableEmbed:p})=>{const{current:h}=(0,o.useRef)(l),f=(0,o.createRef)(),g=(0,o.createRef)(),[m,b]=(0,o.useState)(!1),[v,y]=(0,o.useState)(!1),_=[{className:"embed",callback:()=>w("embed"),label:lt},{className:"link",callback:()=>w("link"),label:st},{className:"facebook",callback:()=>x("facebook"),label:"Facebook"},{className:"twitter",callback:()=>x("twitter"),label:"X"}];function w(e){"embed"===e?(b(!0),y(!1),c&&u("share embed","video click",d)):(b(!1),y(!0),c&&u("share link copy","video click",d))}function S(){const e=m?f.current:g.current;e&&setTimeout(()=>{e.focus(),e.setSelectionRange(0,e.value.length)},0)}function x(t){const i=encodeURIComponent(n),o=encodeURI(e),a="twitter"===t?`https://twitter.com/share?url=${o}&text=${i}&via=${s}`:`https://www.facebook.com/sharer/sharer.php?u=${o}`;window.open(a,"_blank","width=500,height=500"),c&&u(`share ${t}`,"video click",d)}const k=`<script type="text/javascript" charset="UTF-8" \n    src="${window.location.protocol}//${t}/portableplayer/?CID=${i}&videoID=${a}&origin=${t}&fullWidth=y&autoplay=true"><\/script>`;return(0,te.FD)("div",Object.assign({className:"player__share-card"},{children:[(0,te.Y)("button",Object.assign({type:"button",onClick:()=>{r(h)},onTouchEnd:()=>{r(h)},className:"share-card__button--close"},{children:it})),(0,te.Y)("div",Object.assign({className:"share-card__button-container"},{children:_.filter(function(t){return"link"!==t.className||e}).map(({callback:e,className:t,label:n})=>"embed"===t&&p?"":(0,te.Y)("button",Object.assign({type:"button",onClick:e,onTouchEnd:e,className:`share-card__button share-card__button--${t}`},{children:n})))})),(m||v)&&(0,te.FD)(te.FK,{children:[(0,te.Y)("div",Object.assign({className:"share-card__text-box"},{children:(0,te.FD)("form",{children:[(0,te.Y)("label",Object.assign({htmlFor:"text"},{children:m?ot:at})),(0,te.Y)("textarea",{readOnly:!0,name:"text",wrap:"hard",value:m?k:e,ref:m?f:g})]})})),(0,te.Y)("button",Object.assign({type:"button",onClick:()=>S(),onTouchEnd:()=>S(),className:"share-card__button--select"},{children:rt}))]})]}))},dt=n(4371),pt=(dt.domToReact,dt.htmlToDOM,dt.attributesToProps,dt.Element,dt),ht=n(1651),ft=n.n(ht),gt=({expanded:e=!1,children:t})=>{const[n,i]=(0,o.useState)(e);(0,o.useEffect)(()=>{i(e)},[e]);let a=t;return"string"==typeof t&&(a=pt(ft().sanitize(t))),(0,te.Y)("span",Object.assign({className:"truncate__wrap"},{children:(0,te.Y)("span",Object.assign({className:"truncate__text"},{children:a}))}))}
2,mt=function(e,t,n,i){return new(n||(n=Promise))(function(o,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,s)}l((i=i.apply(e,t||[])).next())})};const{wp:{i18n:{__:bt}},ns_:{StreamingAnalytics:{JWPlayer:vt={}}={},ComscoreJWPlayerPlugin:yt={}}={},PARSELY:_t={},nbc:wt}=window,St="function"==typeof vt?vt:yt,{nbc:{callLetters:xt,pubdate:kt,author:Pt="",dataLayer:{pageName:Ot="",template:Ct,isAmpVideo:Tt=!1},video:{jwPlayerKey:jt="lm6n3gQvnOELdUrKN4c+LMs/kvO7T3PqQrSVpbi54cz0md2f",jwPlayerUpgrade:Et=!1,fwAdManagerVersion:Nt="",fwNetworkID:Mt="169843",fwDesktopSFIDVod:Dt="",fwDesktopSFIDLive:Ft="",fwMobileSFIDVod:It="",fwMobileSFIDLive:At="",fwAFID:Lt="",playerType:Rt=""},comscore_c4:$t,market:Bt,env:Yt,isLiveBlog:Ut}}=window,Vt=s().get("captionSettings"),zt=document.querySelector(".video-flyout"),Ht="true"===(null===(ct=null==zt?void 0:zt.dataset)||void 0===ct?void 0:ct.stickyEnabled);class Gt extends o.Component{constructor(e){super(e),this.videoRef=(0,o.createRef)(),this.jwPlayerId="",this.lastProgressUpdate=0,this.freewheel={},this.comscoreMeta={publisherId:"",labelMapping:{}},this.onUnAuth=e=>{this.setState({mParticleID:e})},this.videoRef=(0,o.createRef)(),this.onBeforePlay=this.onBeforePlay.bind(this),this.onTime=this.onTime.bind(this),this.setComscoreMeta=this.setComscoreMeta.bind(this),this.onReady=this.onReady.bind(this),this.onMeta=this.onMeta.bind(this),this.onBuffer=this.onBuffer.bind(this),this.onAdPlay=this.onAdPlay.bind(this),this.onAdPause=this.onAdPause.bind(this),this.onPlay=this.onPlay.bind(this),this.onPause=this.onPause.bind(this),this.onComplete=this.onComplete.bind(this),this.onAdsManager=this.onAdsManager.bind(this),this.onAdError=this.onAdError.bind(this),this.onAdBreakStart=this.onAdBreakStart.bind(this),this.onAdBreakEnd=this.onAdBreakEnd.bind(this),this.onAdTime=this.onAdTime.bind(this),this.onFirstFrame=this.onFirstFrame.bind(this),this.onMetaCueParsed=this.onMetaCueParsed.bind(this),this.onCaptionsList=this.onCaptionsList.bind(this),this.onCaptionsChanged=this.onCaptionsChanged.bind(this),this.playerMountedCallback=this.playerMountedCallback.bind(this),this.playerUnmountingCallback=this.playerUnmountingCallback.bind(this),this.togglePlayPause=this.togglePlayPause.bind(this),this.toggleMute=this.toggleMute.bind(this),this.setVolume=this.setVolume.bind(this),this.seek=this.seek.bind(this),this.setProgress=this.setProgress.bind(this),this.setMouseEvent=this.setMouseEvent.bind(this),this.setTouchProgress=this.setTouchProgress.bind(this),this.toggleShare=this.toggleShare.bind(this),this.setTouchEvent=this.setTouchEvent.bind(this),this.toggleFullScreen=this.toggleFullScreen.bind(this),this.toggleSubtitles=this.toggleSubtitles.bind(this),this.enableSubtitleTrack=this.enableSubtitleTrack.bind(this),this.toggleSubtitleSettings=this.toggleSubtitleSettings.bind(this),this.setSubtitleSettingsTab=this.setSubtitleSettingsTab.bind(this),this.setSubtitleSettings=this.setSubtitleSettings.bind(this),this.removeTouchClass=this.removeTouchClass.bind(this),this.addTouchClass=this.addTouchClass.bind(this),this.setParselyMeta=this.setParselyMeta.bind(this),this.onResize=this.onResize.bind(this),this.onError=this.onError.bind(this),this.onBufferFull=this.onBufferFull.bind(this),this.state={adTrackingData:{durationInSeconds:0},isAd:!1,adCountdown:0,progress:0,vidProgress:0,isFullScreen:!1,isPlaying:!1,vidState:"Loading",muted:!1,volume:100,seekPosition:0,tooltipPosition:0,tooltipVisible:!1,verticalTitleVisible:!0,showShareCard:!1,showSubtitleSettings:!1,subtitleSettingsTab:"Presets",subtitleSettings:Vt||Qe,containerStyle:$e(Vt),lineStyle:Be(Vt),hasSubtitles:!1,subtitleTracks:[],adDuration:0,playlist:[],adClickThrough:"",captionFontSize:Re(Vt),mParticleID:"",playerWidth:0,playerHeight:0}}createSessionItem(e,t){return mt(this,void 0,void 0,function*(){const{video:{mediaId:n="",videoId:i="",isLivestream:a="",m3uPid:r="",m3u8Url:s="",poster:l="",verticalPoster:c="",title:u="",duration:d=0,syndicated_id:p="",videoContentId:h="",syndicatedCat:f="",primaryCatID:g=0,catNames:m={}},video:_={},continuousPlay:w="",islead:S,fastSchedule:x=[],playerPlacement:k=""}=this.props;this.jwPlayerId=`jwplayer-${n||i}-${Math.floor(1001*Math.random())}`;const{nbc:{brand:P,dataLayer:{division:O}}}=window,{videoRef:C}=this;
2let N="telemundo"===P?"tlmd":"nbc";N="rsn"===O?"rsn":N;const M=n||i,D=Object.assign(Object.assign({},_),{islead:S,network:N,continuousPlay:w,playerPlacement:k}),F="1"===a?`${r}?mbr=true&assetTypes=LegacyRelease&mode=LIVE&format=SMIL&tracking=true&formats=MPEG-DASH+widevine,M3U+appleHlsEncryption,M3U+none,MPEG-DASH+none,MPEG4,MP3&schema=2.0`:`media/${M}?formats=MPEG-DASH+widevine,M3U+appleHlsEncryption,M3U+none,MPEG-DASH+none,MPEG4,MP3&format=SMIL`;if(0<s.length){const e=yield(({elem:e,m3u8Url:t,mPid:n})=>b(void 0,void 0,void 0,function*(){var i,o,a,r;const{nbc:{dataLayer:{isAmpVideo:s=!1}}}=window,l=new URL(t),c=l.searchParams,u=null!==(i=new URLSearchParams(window.location.search).get("xumoOverride"))&&void 0!==i?i:"";let d=[];const p=yield new Promise((e,t)=>{wp.apiFetch({path:"/nbc/v1/ip"}).then(n=>{"string"==typeof n?e(n):t(new Error("Expected a string response from /wp-json/nbc/v1/ip"))}).catch(e=>{t(e)})});let h=[{name:"nw",value:T},{name:"prof",value:`${T}:nbcu_ots_web_linear`},{name:"_fw_player_width",value:null!==(o=null==e?void 0:e.clientWidth)&&void 0!==o?o:0},{name:"_fw_player_height",value:null!==(a=null==e?void 0:e.clientHeight)&&void 0!==a?a:0},{name:"site_name",value:"telemundo"===v?"TLMD":"NBC"},{name:"_fw_h_user_agent",value:encodeURIComponent(navigator.userAgent)},{name:"playerVersion",value:"8.30.1"},{name:"vcid",value:n},{name:"vip",value:p},{name:"sfid",value:j},{name:"afid",value:E},{name:"csid",value:`${"telemundo"===v?"tm":"nbc"}_ots_${I?"safari":"alldevice_allos"}_web_${y.toLowerCase()}_livelinear_virtualchannel`},{name:"resp",value:"vmap1"},{name:"flag",value:encodeURIComponent("+sltp+emcr+slcb+sbid-fbad+aeti+slif-vicb+amcb+play-uapl+dtrd+exvt")},{name:"_fw_atts",value:""},{name:"xumo_ifa",value:""},{name:"_fw_nielsen_app_id",value:"telemundo"===v?"P06F4DCAF-86D7-4159-AAE9-D3C50FF96F01":"PE075FB87-C9AE-41D5-8B17-95C0E9301C8E"},{name:"_fw_us_privacy",value:W()},{name:"gpp",value:q()},{name:"gpp_sid",value:"7"},{name:"_fw_site_page",value:encodeURIComponent(R("url",window.location.toString()))},{name:"xumo_ifaType",value:""},{name:"_fw_is_lat",value:"0"},{name:"_fw_did",value:""}];if(s&&u){const e={fwlat:"_fw_is_lat",atts:"_fw_atts",did:"_fw_did",ifatype:"xumo_ifaType",ifa:"xumo_ifa",gpp:"gpp",gppsid:"gpp_sid",usprivacy:"_fw_us_privacy",devicetype:"_fw_devicetype",devicemake:"_fw_deviceMake",devicemodel:"_fw_device_model",appname:"appName",appversion:"appVersion",appbundle:"_fw_app_bundle",platform:"csid",afid:"afid",csid:"csid",fwsitepage:"_fw_site_page",playerversion:"playerVersion",fwappbundle:"_fw_app_bundle",fwnielsenappid:"_fw_nielsen_app_id",sfid:"sfid",vcid:"vcid",prof:"prof",nw:"nw",vip:"vip",fwuseragent:"_fw_h_user_agent"};let t={};try{const e=new URLSearchParams(null!==(r=u.replace(/"/g,""))&&void 0!==r?r:"");t=Object.fromEntries(e.entries());const{platform:n=""}=t;["android","ios"].includes(n)&&(t.platform=`nbc_ots_mobile_${n}_app_${y.toLowerCase()}_livelinear_virtualchannel`)}catch(e){console.error(e)}if(0<Object.keys(t).length){Object.keys(t).forEach(n=>{n in e&&d.push({name:e[n],value:encodeURIComponent(t[n])})});const n=new Map(h.map(e=>[e.name,e]));d.forEach(e=>{n.set(e.name,e)});const i=Array.from(n.values());d=[...i]}}return s&&0<d.length&&(h=d),["appName","appVersion","_fw_app_bundle","_fw_app_store_url","_fw_deviceMake","_fw_device_model"].forEach(e=>{c.delete(`ads.${e}`)}),h.forEach(e=>{c.set(`ads.${e.name}`,e.value)}),l.toString()}))({elem:C.current,m3u8Url:s,mPid:t});this.setState({playlist:[{file:e,fwassetid:K(""!==p?p:h),image:l,tracks:[],duration:86400,isLivestream:a,mediaid:K(""!==p?p:h),videoTitle:u,mpxTitle:u,meta:V(Object.assign({},D)),section:"",freewheel:Object.assign({},this.freewheel),fastSchedule:x}]})}else yield fetch(`https://link.theplatform.com/s/${this.getMPXAccount()}/${F}`).then(e=>e.text()).then(e=>(new window.DOMParser).parseFromString(e,"text/xml")).then(t=>{var n;const r=[];let s=u;const c=t.getElementsByTagName("textstream"),p=t.getElementsByTagName("ref");if(0<p.length&&p[0].getAttribute("title")&&(s=null!==(n=p[0].getAttribute("title"))&&void 0!==n?n:""),0<c.length){const e=[].filter.call(c,e=>"text/vtt"===e.getAttribute("type"));0<e.length&&r.push({id:"vtt",kind:"captions",file:e[0].getAttribute("src"),label:A(P,"")})}this.setState({subtitleTracks:r,playlist:[{file:t.getElementsByTagName("video")[0].getAttribute("src"),tracks:r,image:l,mediaid:M,fwassetid:"local"!==Yt?i.toString():"2009669699810",videoTitle:u,duration:"1"!==a?d:600,isLivestream:a,mpxTitle:s,section:Q(f,g,m),meta:V(Object.assign({},D)),freewheel:Object.assign({},this.freewheel),fastSchedule:x}]},()=>{var t;const{playlist:n,muted:i}=this.state,{summary:a="",videoCopyright:r=""}=_;if(e&&(this.lastProgressUpdate=0,this.player.load(n),this.player.setConfig({autostart:!0,mute:i}),"articleplayer"===Rt)){let e;const n=null===(t=document.getElementById(this.player.id))||void 0===t?void 0:t.closest(S?".article-featured-media":"[data-react-component]"),i=document.querySelector("figure.article-featured-media.video-lead cite");n&&(e=S?n.querySelector("figcaption .caption"):n.nextSibling),e&&["caption","video_caption"].some(t=>e.classList.contains(t))&&o.render((0,te.Y)(gt,Object.assign({expanded:!1},{children:a.replace(/(<p[^>]+?>|<p>|<\/p>)/gim,"")})),e),S&&i&&(i.innerHTML=r,i.classList.remove("article-featured-media__credit--visible"))}})})})}componentDidMount(){var e,t,n,i;return mt(this,void 0,void 0,function*(){const{autoplay:o,startUnmuted:a=!1,video:{isLivestream:r}}=this.props,s=yield Z(this.onUnAuth);this.setState({mParticleID:s,playerWidth:null!==(t=null===(e=this.videoRef.current)||void 0===e?void 0:e.clientWidth)&&void 0!==t?t:0,playerHe
2ight:null!==(i=null===(n=this.videoRef.current)||void 0===n?void 0:n.clientHeight)&&void 0!==i?i:0}),yield this.createSessionItem(!1,s),o&&(void 0===wt.video.autoPlayBlocked&&(wt.video.autoPlayBlocked=yield function(e){return new Promise(t=>{if(D)t("1"===e);else{const n=document.createElement("video"),i=document.createElement("source");if(n.autoplay=!0,n.id="autoPlayBlockTest",n.setAttribute("style","display:none;"),i.type="video/mp4",i.src="/wp-content/themes/nbc-station/static/video/black-millisecond.mp4",n.appendChild(i),0<n.canPlayType("video/mp4").length){document.getElementsByTagName("body")[0].appendChild(n);const i=document.getElementById("autoPlayBlockTest"),o=null==i?void 0:i.play();void 0!==o?o.then(()=>t("1"===e&&I)).catch(()=>t(!0)):t(!0),I&&"1"!==e&&t(!0)}}})}(r)),a||this.setState({muted:!0}),wt.video.autoPlayBlocked=!1)})}componentDidUpdate(e){return mt(this,void 0,void 0,function*(){const{video:{videoId:t}}=this.props,{video:{videoId:n}}=e,{mParticleID:i}=this.state;n!==t&&(this.setState({vidState:"Loading"}),yield this.createSessionItem(!0,i))})}getMPXAccount(){const{props:{accountId:e,video:{videoContentId:t="",syndicated_id:n=""}}}=this,{mpxAccounts:i=[]}=wt||{};let o=n;if(""===o&&t&&(o=t),o&&"string"==typeof o&&i){const e=o.split(":")[1],t=Object.keys(i);for(let n=0;n<t.length;n+=1){const o=t[n];if(i&&o&&i[o]&&i[o].includes(e))return o}}return e||""}setParselyMeta(){const{video:{title:e,mediaId:t,duration:n,poster:i,verticalPoster:o,tagNames:a=[],syndicated_id:r="",videoContentId:s="",syndicatedCat:l="",primaryCatID:c=0,catNames:u={}}}=this.props,d=Date.parse(kt),p={title:e,duration:n,video_platform:"jwplayer",image_url:i,tags:Object.values(a),pub_date_tmsp:d,authors:[Pt],section:Q(l,c,u)},h=K(""!==r?r:s);_t.video.trackPlay(""!==t?t:h,p)}autoplayMute(){const{props:{startUnmuted:e=!1}}=this;if(e)return!1;const{props:{autoplay:t,islead:n,placeholder:i=!1}}=this,o=R("mute","");return Tt&&""!==o?"true"===o:!(!t||i)||!(!n||"article - general"!==Ct)||"video landing"===Ct||"weather landing"===Ct}playerMountedCallback({player:e,islead:t}){const{nbc:{video:{leadVideoID:n}}}=window;this.player=e,t&&(wt.video.leadVideoID=this.player.id),!t&&"undefined"!==n&&D&&Ht&&window.jwplayer(n).pause()}onResize(e){this.setState({isFullScreen:0===e.width})}playerUnmountingCallback(){this.player=null}onError(e){console.log(e,"On Player Error");const{livestreamEndTime:t=0,video:{isLivestream:n=""},onSessionEnded:i}=this.props;0<t&&"1"===n&&"function"==typeof i&&(i(),this.setState({playlist:[]}))}onBufferFull(e){console.log(e,"On Player Buffer Full")}onBeforePlay(){console.log(this.player.getCurrentCaptions(),"onBeforePlay test")}onBuffer(){this.setState({vidState:"Loading"})}onPlay(){var e;this.setState({muted:null===(e=this.player)||void 0===e?void 0:e.getMute(),vidState:"Playing",isPlaying:!0})}onPause(){this.setState({vidState:"Paused",isPlaying:!1})}onAdPlay(){var e;console.log("playing ad"),this.setState({muted:null===(e=this.player)||void 0===e?void 0:e.getMute(),vidState:"Playing",isPlaying:!0,isAd:!0})}onAdPause(){this.setState({vidState:"Paused",isPlaying:!1})}onFirstFrame(e){console.log(e,"TEST FIRST FRAME EVENT");const{props:{islead:t}}=this;ee(t,!0),this.setParselyMeta()}onMeta(e){console.log(e,"TEST META EVENT")}onMetaCueParsed(e){console.log(e,"TEST META CUE PARSE EVENT")}onTime(e){var t;const{currentTime:n}=e,{livestreamEndTime:i=0,video:{isLivestream:o=""},onSessionEnded:a}=this.props,r=Date.now();1e3<=r-this.lastProgressUpdate&&(this.lastProgressUpdate=r,this.setState({progress:n,vidProgress:n}),0<i&&r>i&&"1"===o&&"function"==typeof a&&(a(),null===(t=this.player)||void 0===t||t.stop(),this.setState({playlist:[]})))}onComplete(){const{onSessionEnded:e}=this.props;"function"==typeof e&&e()}onAdError(e){console.error(e,"on ad error"),this.setState({isAd:!1,adDuration:0})}onAdBreakStart(e){console.log(e,"on ad break start");const{props:{islead:t}}=this;ee(t,!1),this.setState({isAd:!0,isPlaying:!0})}onAdBreakEnd(e){console.log(e,"on ad break end"),this.setState({isAd:!1,adDuration:0})}onAdsManager(e){console.log(e)}onAdTime(e){const{duration:t,position:n}=e,i=Date.now();1e3<=i-this.lastProgressUpdate&&(this.lastProgressUpdate=i,this.setState({progress:n,adDuration:t,adCountdown:t-n}))}setComscoreMeta(){const e=null!==$t?$t:Bt;this.comscoreMeta={publisherId:"6035083",labelMapping:{c4:`"${decodeURI(R("c4",e))}"`,c6:'"*null"',ns_st_pu:'"NBC Owned Television Stations"',ns_st_ge:'"News"',ns_st_st:`"${xt}"`}},this.comscoreMeta.labelMapping=Object.entries(this.comscoreMeta.labelMapping).map(e=>`${e[0]}=${e[1]}`).join(","),console.log(this.comscoreMeta),"function"==typeof St&&St(this.player,this.comscoreMeta)}onReady(){this.setState({vidState:"Ready"});const{isVerticalVideo:e=!1,video:{duration:t}}=this.props,{adTrackingData:{durationInSeconds:n}}=this.state;0<n&&this.setState({isAd:n<t}),e||this.setComscoreMeta()}onCaptionsList(e){console.log("list of available subtitles: ",e);const{state:{subtitleTracks:t}}=this;if(0<t.length)return void this.setState({hasSubtitles:0<this.player.getCurrentCaptions()});const{tracks:n}=e,i=[];if(1<n.length){const e=n.find(({id:e})=>["default","nativesubtitles0","textTrack1"].includes(e)||I&&["nativecaptions0","nativecaptions1"].includes(e));e&&i.push(e)}this.setState({subtitleTracks:i})}onCaptionsChanged(e){var t,n;const{track:i}=e;if(0<i){const e=G(i,null===(t=this.player)||void 0===t?void 0:t.getCaptionsList());i!==e&&(null===(n=this.player)||void 0===n||n.setCurrentCaptions(e)),this.setState({hasSubtitles:!0})}}toggleMute(){var e;const{muted:t}=this.state;null===(e=this.player)||void 0===e||e.setMute(!t),Ut&&Te(t?"unmute":"mute","video click",this.jwPlayerId),this.setState({muted:!t})}setVolume(e){var t,n;const{muted:i}=this.state;null===(t=this.player)||void 0===t||t.setVolume(e),i&&0<e&&(null===(n=this.player)||void 0===n||n.setMute(!1)),this.setState({volume:e,muted:!(0<e)})}togglePlayPause({islead:e}){var t,n;const{isPlaying:i}=this.state,{nbc:{video:{leadVideoID:o}}}=window;i?null===(t=this.player)||void 0===t||t.pause():(!e&&"undefined"!==o&&D&&Ht&&window.jwplayer(o).pause(),null===(n=this.player)||void 0===n||n.play()),Ut&&Te(i?"pause":"play","video click",this.jwPlayerId),this.setState({isPlaying:!i,vidState:i?"Paused":"Playing"})}seek(){var e;const{seekPosition:t}=this.state;null===(e=this.player)||void 0===e||e.seek(t)}setProgress(e){var t,n,i;const{video:{duration:o}}=this.props,{adTrackingData:{durationInSeconds:a=0}}=this.state,r=0<o?o:null===(t=this.player)||void 0===t?void 0:t.getDuration(),s=e.target,l=Math.round(e.nativeEvent.offsetX/s.clientWidth*r),c=null!==(i=null===(n=this.videoRef.current)||void 0===n?void 0:n.getBoundingClientRect().left)&&void 0!==i?i:0;this.setState({seekPosition:l+a+.1,tooltipPosition:e.pageX-c})}toggleShare(e){const{showShareCard:t}=this.state,{islead:n}=this.props;this.setState({showShareCard:!t},()=>{e&&this.togglePlayPause({islead:n})}),Ut&&Te(t?"share close":"menu","video click",this.jwPlayerId)}setTouchProgress(e){var t,n,i;const{video:{duration:o}}=this.props,{adTrackingData:{durationInSeconds:a=0}}=this.state,r=0<o?o:null===(t=this.player)||void 0===t?void 0:t.getDuration(),s=e.target,l=null!==(i=null===(n=this.videoRef.current)||void 0===n?void 0:n.getBoundingClientRect().left)&&void 0!==i?i:0,c=e.nativeEvent.touches[0].pageX-l,u=Math.round(c/s.clientWidth*r);
2this.setState({seekPosition:u+a+.1,tooltipPosition:e.targetTouches[0].pageX-l},()=>{this.seek()})}setMouseEvent(e){switch(e.type){case"mouseup":case"mouseout":setTimeout(()=>{this.setState({tooltipVisible:!1,verticalTitleVisible:!0})},500);break;default:this.setState({tooltipVisible:!0,verticalTitleVisible:!1})}}setTouchEvent(e){switch(e.type){case"touchend":case"touchcancel":setTimeout(()=>{this.setState({tooltipVisible:!1,verticalTitleVisible:!0})},500);break;default:this.setState({tooltipVisible:!0,verticalTitleVisible:!1})}}removeTouchClass(){var e;const t=null===(e=this.videoRef.current)||void 0===e?void 0:e.closest(".player");t&&t.classList.contains("player--no-touch")&&t.classList.remove("player--no-touch")}addTouchClass(){var e;const t=null===(e=this.videoRef.current)||void 0===e?void 0:e.closest(".player");t&&!t.classList.contains("player--no-touch")&&setTimeout(()=>{t.classList.add("player--no-touch")},2e3)}toggleFullScreen(){var e,t,n;let i=null===(e=this.videoRef.current)||void 0===e?void 0:e.closest(".video-playlist__container");if(["iPhone","iPhone Simulator","iPad","iPad Simulator"].includes(navigator.platform)){const e=null===(t=this.videoRef.current)||void 0===t?void 0:t.querySelector(".jw-video");return null==e||e.webkitEnterFullScreen(),void(Ut&&Te("full screen","video click",this.jwPlayerId))}document.fullscreenElement?(document.exitFullscreen(),Ut&&Te("collapse screen","video click",this.jwPlayerId)):(null===i&&(i=null===(n=this.videoRef.current)||void 0===n?void 0:n.closest("#coziPlayer")),null==i||i.requestFullscreen({navigationUI:"hide"}),Ut&&Te("full screen","video click",this.jwPlayerId))}toggleSubtitleSettings(e){const{showSubtitleSettings:t}=this.state,{islead:n}=this.props;this.setState({showSubtitleSettings:!t},()=>{e&&this.togglePlayPause({islead:n})})}toggleSubtitles(){var e,t,n;const{hasSubtitles:i}=this.state;i?null===(n=this.player)||void 0===n||n.setCurrentCaptions(0):null===(e=this.player)||void 0===e||e.setCurrentCaptions(G(1,null===(t=this.player)||void 0===t?void 0:t.getCaptionsList())),Ut&&Te("closed caption","video click",this.jwPlayerId),this.setState({hasSubtitles:!i})}enableSubtitleTrack(e){var t,n;null===(t=this.player)||void 0===t||t.setCurrentCaptions(G(e,null===(n=this.player)||void 0===n?void 0:n.getCaptionsList())),this.setState({hasSubtitles:!0})}setSubtitleSettingsTab(e){this.setState({subtitleSettingsTab:e})}setSubtitleSettings(e){var t;s().set("captionSettings",e);const{borderSettings:{effect:n},backgroundSettings:{color:i,opacity:o},textSettings:{color:a,opacity:r,font:l,size:c}}=e,{textColors:u,textFonts:d,textSizesMapping:p}=Ne;null===(t=this.player)||void 0===t||t.setCaptions({backgroundColor:Fe[i],backgroundOpacity:Ae[o],color:u[a],fontFamily:d[l],fontSize:p[c],edgeStyle:n,fontOpacity:Ae[r]}),this.setState({subtitleSettings:e,lineStyle:Be(e),containerStyle:$e(e),captionFontSize:p[c]})}render(){var e,t,n,i,o;const{autoplay:a,brand:r,host:s,twitter:l,islead:c,video:{isLivestream:u,mediaId:d,videoId:p,videoContentId:h,poster:f,verticalPoster:g,duration:m,url:b,title:v,fastTitle:y="",sensitivity:_="",m3u8Url:w="",disableEmbed:S=!1},hideShare:x=!1}=this.props,{isAd:k,vidProgress:P,adCountdown:O,progress:C,isFullScreen:T,isPlaying:j,vidState:E,muted:N,volume:I,seekPosition:L,tooltipPosition:$,tooltipVisible:B,verticalTitleVisible:Y,showSubtitleSettings:U,subtitleSettingsTab:V,subtitleSettings:z,showShareCard:H,lineStyle:G,containerStyle:W,subtitleTracks:q,hasSubtitles:K,adDuration:Q,playlist:Z,adClickThrough:ee,captionFontSize:ne,mParticleID:ie,playerWidth:oe,playerHeight:ae}=this.state,re=0<m?m:null===(e=this.player)||void 0===e?void 0:e.getDuration(),se=`${Mt}:nbcu_ots_web_${"1"===u?"live":"vod"}`,le=D?It:Dt,ce=D?At:Ft;this.freewheel={networkid:Mt,serverid:"https://29773.v.fwmrm.net/ad/g/1",profileid:se,sectionid:X("1"===u),adManagerURL:`https://mssl.fwmrm.net/libs/adm/${Nt}/AdManager.js`,vcid:ie,vdur:"1"!==u?re:600,sfid:"1"===u?ce:le,afid:Lt,capabilities:{flag:{play:"on",uapl:"off",sltp:"on",emcr:"on",unka:"on",unks:"on",fbad:"on",slcb:"on",nucr:"on",aeti:"on",rema:"on",vicb:"on"}},custom:Object.assign({_fw_vcid2:ie,_fw_player_width:oe.toString(),_fw_player_height:ae.toString(),sensitivecontent:encodeURIComponent(_),mode:"1"===u?"live":"on-demand",metr:"1031"},J(b))};const ue={client:"freewheel",autoplayadsmuted:!0,schedule:{offset:"pre",tag:"fw-preroll"},freewheel:Object.assign({},this.freewheel)},{disablePreroll:de=!1,isVerticalVideo:pe=!1}=this.props,he="article - featured"===Ct,fe="video landing"===Ct;return(0,te.FD)("div",Object.assign({className:`player${k?" advertisement":""}${(D||navigator.userAgent.match(/(iPad)/)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&F?" player--no-touch":""}${"1"!==u?"":" player--live"}`,ref:this.videoRef,onTouchStart:this.removeTouchClass,onTouchEnd:this.addTouchClass},{children:[H&&(0,te.Y)(ut,{url:b,host:s,title:y||v,videoContentId:h,videoId:p,toggleShare:this.toggleShare,twitter:l,isPlaying:j,isLiveBlog:Ut,liveBlogTracking:Te,jwPlayerId:this.jwPlayerId,disableEmbed:S&&0===w.length}),U&&(0,te.Y)(Ze,{toggleSubtitleSettings:this.toggleSubtitleSettings,setSubtitleSettings:this.setSubtitleSettings,setSubtitleSettingsTab:this.setSubtitleSettingsTab,isPlaying:j,lineStyle:G,containerStyle:W,subtitleSettingsTab:V,subtitleSettings:z}),"Loading"===E&&(0,te.Y)("div",{className:"player__loading"}),pe&&(0,te.FD)("div",Object.assign({className:"player__onscreen-controls"},{children:[(0,te.Y)("button",Object.assign({type:"button",className:`player__mute-button ${N&&"player__mute-button--muted"}`,onClick:this.toggleMute},{children:N?"Unmute":"Mute"})),0<q.length&&!k&&(0,te.Y)("button",Object.assign({type:"button",className:`player__subtitles-button ${K&&"player__subtitles-button--on"}`,onClick:this.toggleSubtitles},{children:"Subtitles"}))]})),(0,te.FD)("div",Object.assign({className:`player__overlay${j?" player__overlay--playing":" player__overlay--paused"}${k?" player__overlay--ad":""}`,onClick:()=>{"Loading"!==E&&("1"===u||k||this.togglePlayPause({islead:c}),""!==ee&&k&&window.open(ee,"_blank"))},role:"button",tabIndex:0,onKeyUp:e=>{" "===e.key&&"Loading"!==E&&("1"===u||k||this.togglePlayPause({islead:c}))}},{children:[("Paused"===E||"Ready"===E)&&(0,te.Y)("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),this.togglePlayPause({islead:c})},className:"player__play-button--large"},{children:"Play"})),"Paused"!==E&&"Loading"!==E&&pe&&(0,te.Y)("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),this.togglePlayPause({islead:c})},className:"player__play-button--large player__pause-button--large"},{children:"Pause"})),f&&("Loading"===E||"Ready"===E)&&!c&&(0,te.Y)("img",{src:pe?g:f,className:"player__poster",alt:v})]})),(0,te.FD)("div",Object.assign({className:"player__controls"},{children:[pe&&!k&&(0,te.Y)("div",Object.assign({className:`player__title ${Y&&"player__title--visible"}`},{children:v}
2)),k&&(0,te.FD)("div",Object.assign({className:"player__progress"},{children:[(0,te.Y)("progress",{className:"player__progressbar",value:C,max:Q}),(0,te.Y)("input",{className:"player__seekbar",id:"seek",value:C,min:"0",max:Q,type:"range",step:"0.5"})]})),"1"!==u&&!k&&(0,te.FD)("div",Object.assign({className:"player__progress"},{children:[(0,te.Y)("progress",{className:"player__progressbar",value:P,max:re}),(0,te.Y)("input",{className:"player__seekbar",id:"seek",value:C,min:"0",max:re,type:"range",step:".5",onInput:this.seek,onMouseMove:e=>{this.setProgress(e),this.setMouseEvent(e)},onMouseOut:e=>{this.setMouseEvent(e)},onMouseUp:e=>{this.setMouseEvent(e)},onBlur:e=>{this.setMouseEvent(e)},onTouchMove:e=>{this.setTouchProgress(e),this.setTouchEvent(e)},onTouchStart:e=>{this.setTouchProgress(e),this.setTouchEvent(e)},onTouchEnd:e=>{this.setTouchEvent(e)},onTouchCancel:e=>{this.setTouchEvent(e)}}),(0,te.Y)("div",Object.assign({className:`player__tooltip ${B&&"player__tooltip-show"}`,style:{left:$-15+"px"}},{children:0>parseInt(M(L-Q),10)?"":M(L-Q)}))]})),(0,te.FD)("div",Object.assign({className:"player__controls--left"},{children:[("1"!==u||k)&&(0,te.Y)("button",Object.assign({type:"button",onClick:()=>this.togglePlayPause({islead:c}),className:`player__play-button ${j&&"player__play-button--pause"}`},{children:j?"Pause":"Play"})),"1"===u&&k&&(0,te.Y)("div",Object.assign({className:"player__time"},{children:`Ad: ${M(O)}`})),"1"!==u&&0<re&&(0,te.Y)("div",Object.assign({className:"player__time"},{children:k?`Ad: ${M(O)}`:`${M(P)} / ${M(re)}`})),"1"===u&&!k&&(0,te.Y)("div",Object.assign({className:"player__live"},{children:bt("Live","nbc")}))]})),!pe&&(0,te.FD)("div",Object.assign({className:"player__controls--right"},{children:[(0,te.FD)("div",Object.assign({className:"player__volume-controls"},{children:[(0,te.Y)("button",Object.assign({type:"button",className:`player__mute-button ${N&&"player__mute-button--muted"}`,onClick:this.toggleMute},{children:N?"Unmute":"Mute"})),(0,te.Y)("div",Object.assign({className:"player__volume-input"},{children:(0,te.Y)("input",{className:"player__volume-slider",type:"range",min:"0",max:"100",value:N?0:I,step:"1",onInput:({target:e})=>{const{value:t}=e;this.setVolume(parseFloat(t))}})}))]})),0<q.length&&!k&&(0,te.FD)("div",Object.assign({className:"player__subtitle-controls"},{children:[(0,te.Y)("button",Object.assign({type:"button",className:`player__subtitles-button ${K&&"player__subtitles-button--on"}`,onClick:this.toggleSubtitles},{children:"Subtitles"})),(0,te.FD)("div",Object.assign({className:"player__subtitles-menu"},{children:[q.map(({id:e})=>(0,te.Y)("button",Object.assign({className:`player__subtitles-option ${K&&"player__subtitles-option--selected"}`,type:"button",onClick:()=>{this.enableSubtitleTrack(1),this.setState({hasSubtitles:!0})}},{children:A(r,e)}))),(0,te.Y)("button",Object.assign({className:`player__subtitles-option ${!K&&"player__subtitles-option--selected"}`,type:"button",onClick:()=>{var e;null===(e=this.player)||void 0===e||e.setCurrentCaptions(0),this.setState({hasSubtitles:!1})}},{children:bt("None","nbc")})),(0,te.Y)("button",Object.assign({className:"player__subtitles-option",type:"button",onClick:()=>{this.toggleSubtitleSettings(j)}},{children:bt("Settings","nbc")}))]}))]})),!x&&(0,te.Y)("button",Object.assign({type:"button",title:"Share",onClick:e=>{e.stopPropagation(),this.toggleShare(j)},className:"player__share-button"},{children:"Share"})),!k&&(0,te.Y)("button",Object.assign({type:"button",title:T?"Collapse":"Expand",onClick:this.toggleFullScreen,className:`player__fullscreen-button ${T&&"player__fullscreen-button--collapse"}`},{children:"Toggle Fullscreen"}))]}))]})),(0,te.Y)("div",Object.assign({className:`player__container ${ne}`},{children:0<Z.length&&(0,te.Y)(Pe,{id:this.jwPlayerId,config:{key:jt,width:null!==(n=null===(t=this.videoRef.current)||void 0===t?void 0:t.clientWidth)&&void 0!==n?n:848,height:null!==(o=null===(i=this.videoRef.current)||void 0===i?void 0:i.clientHeight)&&void 0!==o?o:477,controls:!1},onError:this.onError,onBufferFull:this.onBufferFull,onAdError:this.onAdError,onAdBreakStart:this.onAdBreakStart,onAdBreakEnd:this.onAdBreakEnd,onBeforePlay:this.onBeforePlay,onAdTime:this.onAdTime,onTime:this.onTime,onReady:this.onReady,onAdsManager:this.onAdsManager,onMeta:this.onMeta,onFirstFrame:this.onFirstFrame,onPlay:this.onPlay,onPause:this.onPause,onAdPlay:this.onAdPlay,onAdPause:this.onAdPause,onBuffer:this.onBuffer,onComplete:this.onComplete,onCaptionsList:this.onCaptionsList,onCaptionsChanged:this.onCaptionsChanged,onMetadataCueParsed:this.onMetaCueParsed,didMountCallback:this.playerMountedCallback,willUnmountC
2allback:this.playerUnmountingCallback,onResize:this.onResize,plugins:{"/wp-content/themes/nbc-station/static/video/videoHeartbeat/JWHeartbeat.js?ver=1.2.2.Bo":{adobeTrackingDomain:"https://nbcume.hb.omtrdc.net",channelName:R("callletters",xt).toUpperCase(),channel:R("callletters",xt),pageName:Ot,pid:d||p,debug:!0}},library:`/wp-content/themes/nbc-station/static/video/jwplayer/jwplayer.${Et?"8.49.0":"8.30.0"}.js?ver=1.0.5`,playlist:Z,autoPause:{viewability:!("1"===u||D||he||fe||Tt)},autostart:a,fwassetid:"local"!==Yt?p.toString():"2009669699810",mute:this.autoplayMute(),advertising:de?void 0:0<w.length?{autoplayadsmuted:!0}:ue})}))]}))}}Gt.defaultProps={continuousPlay:"first"};var Wt=Gt;const{nbc:{brand:qt=""}}=window,Xt=(0,o.createContext)(null);const{i18n:{__:Jt}}=window.wp;let Kt;const Qt=({title:e,poster:t,nextVideoTitle:n,nextVideoPoster:i,onCountdownEnded:a,livestreamEndTime:r=0})=>{var s;const[l,c]=(0,o.useState)(Date.now()>r),u=null!==(s=(0,o.useContext)(Xt))&&void 0!==s?s:{value:""},{value:d=""}=u,p=-1<d.indexOf("escalated");return(0,o.useEffect)(()=>p?(Kt=setInterval(()=>{Date.now()>r&&(c(!0),clearInterval(Kt))},1e3),()=>""):(Kt=setTimeout(a,5e3),()=>clearTimeout(Kt))),(0,te.FD)("div",Object.assign({className:"player__end-card"+(p?`-streaming end-card__${d}`:"")},{children:[!p&&(0,te.FD)("div",Object.assign({className:"end-card__panel"},{children:[Jt("Up Next","nbc"),(0,te.FD)("div",Object.assign({className:"end-card__container"},{children:[(0,te.FD)("div",Object.assign({className:"end-card__image-container"},{children:[(0,te.Y)("div",Object.assign({className:"end-card__progress-bar"},{children:(0,te.Y)("span",Object.assign({className:"end-card__progress-container"},{children:(0,te.Y)("span",{className:"end-card__progress end-card__progress--running"})}))})),(0,te.Y)("img",{src:i,alt:n,className:"end-card__image"}),(0,te.Y)("button",Object.assign({type:"button",className:"end-card__pause-button",onClick:()=>{a(),clearTimeout(Kt)}},{children:"Play"}))]})),(0,te.Y)("div",Object.assign({className:"end-card__text-container"},{children:n}))]}))]})),t&&!p&&(0,te.Y)("img",{src:t,className:"player__poster",alt:e}),p&&(0,te.FD)("div",Object.assign({className:"end-card__stream-panel"},{children:[(0,te.Y)("h2",{children:Jt("Live stream ended","nbc")}),l&&(0,te.FD)(te.FK,{children:[(0,te.Y)("h3",{children:Jt("Refresh to see the latest content","nbc")}),(0,te.Y)("button",Object.assign({type:"button",className:"end-card__refresh-button",onClick:()=>{return e=void 0,t=void 0,i=function*(){const e="refresh",{nbc:{dataLayer:{pageName:t},identity:{authenticationState:n}}}=window;!function(e=[],t={},n=""){const{linkTrackVars:i,linkTrackEvents:o,tl:a}=window.s;window.s.linkTrackVars=e.join(","),window.s.linkTrackEvents="",a(this,"o",n,t),window.s.linkTrackVars=i,window.s.linkTrackEvents=o}(["prop1","prop2","prop8","prop9","prop10","prop20","prop23","prop48","prop52","prop53","prop54","prop55","eVar123","server","channel","campaign","events","contextData.actionmodule","contextData.actionname","contextData.identityauth"],{prop52:t,prop53:e,prop54:`${t} | ${e}`,prop55:`${e} button`,eVar123:n,contextData:{actionmodule:`${e} button`,actionname:e}},"Refresh"),I&&document.fullscreenElement?(yield document.exitFullscreen().catch(),setTimeout(()=>window.location.reload(),500)):window.location.reload()},new((n=void 0)||(n=Promise))(function(o,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,s)}l((i=i.apply(e,t||[])).next())});var e,t,n,i}},{children:Jt("Refresh","nbc")}))]})]}))]}))};Qt.defaultProps={livestreamEndTime:0};var Zt=Qt;const en=({endTime:e=(new Date).toISOString()})=>Date.now()<Date.parse(e);const tn=({accountId:e,autoplay:t,brand:n,host:i,index:a=0,twitter:r,callLetters:l,station:c,videos:u,hubCallback:d,continuousPlay:p,placeholder:h=!1,excludeEndCard:f=!1,hideShare:g=!1,islead:m=!1,fastSchedule:b=[],livestreamEndTime:v=0,isVerticalVideo:y=!1,disablePreroll:_=!1,startUnmuted:w=!1,onVideoEnded:S})=>{var x;const[k,P]=(0,o.useState)(t),[O,C]=(0,o.useState)(a),[T,j]=(0,o.useState)(!1),[E,N]=(0,o.useState)(u),[F,I]=(0,o.useState)(t),[A,L]=(0,o.useState)(p),[$,B]=(0,o.useState)(a);(0,o.useEffect)(()=>{y&&(N(u),C(a),j(!1))},[u,a,y]);const{title:Y="",poster:U="",duration:V=0}=E[O]||{},z=E[O],{title:H="",poster:G=""}=E[O+1]||{},{nbc:{pageType:W="",video:{playerType:q=""}}}=window,X="true"===R("embedded",""),J=["article","amp article"].includes(W)&&"amp fullplayer"!==q,K=()=>{P(!0)},Q=null!==(x=(0,o.useContext)(Xt))&&void 0!==x?x:{value:""},{value:Z=""}=Q;return(0,o.useEffect)(()=>{(J||D)&&I(!0)},[k]),(0,o.useEffect)(()=>{var e,t,n,i;1!==E.length||f||X||(e=void 0,t=void 0,i=function*(){const e="relatedVideos";s().remove(e);let t=s().get(e);if(!t){const n=yield fetch("/wp-json/nbc/v1/template/videos"),{template_items:{items:i=[],video_archive:o=[]}}=yield n.json(),a=0<i.length?i:o;if(0===a.length)return;t=a.reduce((e,t)=>
2{const{video:{meta:{mpx_is_livestream:n="",video_id:i=""}}}=t;return i&&"1"!==n&&i!==u[0].videoId&&e.push(Object.assign(Object.assign({},(e=>{const{title:t="",fastTitle:n="",summary:i="",link:o="",date:a,video:{id:r="",meta:{mpx_is_livestream:s="",video_is_fast:l="",video_id:c="",media_pid:u="",video_length:d,video_call_letter:p="",mpx_m3upid:h="",mp4_url:f="",syndicated_id:g="",show:m="",event:b="",genre:v="",national_m3u8_url:y="",nbc_syndication_category_name:_="",nbc_primary_category_id:w=0,video_copyright:S}={},team:{sport:x="",league:k="",title:P=""}={},sport_slug:O="",league:C="",category_names:T,tag_names:j,custom_data:{Source:E="",sentiment:N="",topic:M=""}={},disableEmbed:D=!1}={},originating_call_letters:F="",sponsor:{name:I=""}={},image:{ratios:{"16:9":{850:A=""}={},"9:16":{320:L=""}={}}={}}={},object_sensitivity:R="",canonical_url:$=""}=e;return{title:t,fastTitle:n,summary:i,poster:A,verticalPoster:L,url:o,videoId:c,videoContentId:r,mediaId:u,duration:Math.round((d||1)/1e3),catNames:T,tagNames:j,contentSource:E,origination:p,datePublished:a,sponsorName:I,m3uPid:h,isLivestream:s,isFast:l,mp4Url:f,m3u8Url:y,syndicated_id:g,show:m,event:b,genre:v,videoSport:""!==O?O:x,videoLeague:""!==C?C:k,videoTeam:P,originCallLetters:F,sentiment:N,topic:M,canonicalUrl:$,sensitivity:R,disableEmbed:D,syndicatedCat:_,primaryCatID:w,videoCopyright:S}})(t)),{autoplay:!0})),e},[]),s().set(e,t,60)}0<t.length&&N([...u,...t])},new((n=void 0)||(n=Promise))(function(o,a){function r(e){try{l(i.next(e))}catch(e){a(e)}}function s(e){try{l(i.throw(e))}catch(e){a(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(r,s)}l((i=i.apply(e,t||[])).next())})),2===E.length&&"full"===W&&(N([...u]),L(p),j(!1))},[u]),k||!J&&!D?(0,te.FD)("div",Object.assign({className:"video-playlist__container"},{children:[(0,te.Y)(Wt,{accountId:e,autoplay:F,placeholder:h,host:i,twitter:r,brand:n,video:z,isVerticalVideo:y,disablePreroll:_,startUnmuted:w,onSessionEnded:()=>{y?null==S||S():O<E.length&&!f&&!X?j(!0):(I(!1),B(a+1),C(0))},callLetters:l,station:c,continuousPlay:A,islead:m,hideShare:g,fastSchedule:b.filter(en),livestreamEndTime:Number(v),playerPlacement:Z},$),T&&(void 0!==E[O+1]||0<Number(v))&&(0,te.Y)(Zt,{title:Y,poster:U,nextVideoTitle:H,nextVideoPoster:G,livestreamEndTime:Number(v),onCountdownEnded:()=>{O<E.length&&(I(!0),j(!1),L("continuous"),d&&"full"===W?d():C(O+1))}})]})):(0,te.FD)("div",Object.assign({className:"video-playlist__placeholder",onClick:K,onKeyDown:K,role:"button",tabIndex:0},{children:[(0,te.Y)("img",{src:U,alt:Y}),J?(0,te.FD)("div",Object.assign({className:"video-playlist__placeholder--title-container"},{children:[(0,te.Y)("span",{className:"player__play-button--large"}),(0,te.Y)("p",Object.assign({className:"video-playlist__placeholder--duration"},{children:M(V)})),(0,te.Y)("h3",Object.assign({className:"video-playlist__placeholder--title"},{children:Y}))]})):(0,te.Y)("span",{className:"player__play-button--large"})]}))};tn.defaultProps={hubCallback:()=>{},excludeEndCard:!1,continuousPlay:"first",fastSchedule:[],index:0,hideShare:!1,islead:!1,placeholder:!1,livestreamEndTime:0};var nn,on,an=tn,rn=function(e){if(Array.isArray(e))return i(e)}(nn=document.querySelectorAll('[data-react-component="VideoPlaylist"]'))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(nn)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(nn)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();z=setInterval(()=>{const e=s().get("mParticleId"),{s:t}=window;void 0!==t&&(e||"object"==typeof window.mParticle.Identity&&"function"==typeof window.mParticle.Identity.getCurrentUser&&"function"==typeof window.mParticle.Identity.getCurrentUser().getMPID)&&(e||s().set("mParticleId",window.mParticle.Identity.getCurrentUser().getMPID()),document.dispatchEvent(new Event("sObjectLoaded")),null!==z&&null!==H&&(clearInterval(z),clearTimeout(H)))},100),H=setTimeout(()=>{document.dispatchEvent(new Event("sObjectLoaded")),null!==z&&clearInterval(z)},5e3),on=function(){document.addEventListener("sObjectLoaded",function(){rn.forEac
vendor: 5,752 bytes, line 2
2h(function(e){var t=JSON.parse(e.dataset.props);a.Ay.createRoot(e).render(o.default.createElement(an,t),e)})})},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",on):on()},1285:function(e){e.exports=new Set(["hlsjsProgressive","__abSendDomainToFeeds","_abZoomThumbnail","advertising","aboutlink","abouttext","aestoken","allowFullscreen","analytics","androidhls","aspectratio","autoPause","autostart","base","captions","cast","controls","defaultBandwidthEstimate","description","displaydescription","displayHeading","displayPlaybackLabel","displaytitle","drm","duration","enableDefaultCaptions","events","file","forceLocalizationDefaults","fwassetid","floating","ga","generateSEOMetadata","height","hlsjsConfig","hlsjsdefault","horizontalVolumeSlider","image","intl","key","listbar","liveSyncDuration","liveTimeout","localization","logo","mediaid","mute","nextUpDisplay","nextupoffset","pad","ph","pid","pipIcon","playbackRateControls","playbackRates","playlist","playlistIndex","plugins","preload","qualityLabel","qualityLabels","recommendations","related","renderCaptionsNatively","repeat","safarihlsjs","sdkplatform","selectedBitrate","setTimeEvents","skin","sharing","sources","stagevideo","streamtype","stretching","title","tracks","type","variations","volume","width","withCredentials","doNotTrack","doNotTrackCookies","images"])},6699:function(e){e.exports=function(e,t){this.v=e,this.k=t},e.exports.__esModule=!0,e.exports.default=e.exports},5726:function(e,t,n){var i=n(645);function o(){var t,n,a="function"==typeof Symbol?Symbol:{},r=a.iterator||"@@iterator",s=a.toStringTag||"@@toStringTag";function l(e,o,a,r){var s=o&&o.prototype instanceof u?o:u,l=Object.create(s.prototype);return i(l,"_invoke",function(e,i,o){var a,r,s,l=0,u=o||[],d=!1,p={p:0,n:0,v:t,a:h,f:h.bind(t,4),d:function(e,n){return a=e,r=0,s=t,p.n=n,c}};function h(e,i){for(r=e,s=i,n=0;!d&&l&&!o&&n<u.length;n++){var o,a=u[n],h=p.p,f=a[2];e>3?(o=f===i)&&(s=a[(r=a[4])?5:(r=3,3)],a[4]=a[5]=t):a[0]<=h&&((o=e<2&&h<a[1])?(r=0,p.v=i,p.n=a[1]):h<f&&(o=e<3||a[0]>i||i>f)&&(a[4]=e,a[5]=i,p.n=f,r=0))}if(o||e>1)return c;throw d=!0,i}return function(o,u,f){if(l>1)throw TypeError("Generator is already running");for(d&&1===u&&h(u,f),r=u,s=f;(n=r<2?t:s)||!d;){a||(r?r<3?(r>1&&(p.n=-1),h(r,s)):p.n=s:p.v=s);try{if(l=2,a){if(r||(o="next"),n=a[o]){if(!(n=n.call(a,s)))throw TypeError("iterator result is not an object");if(!n.done)return n;s=n.value,r<2&&(r=0)}else 1===r&&(n=a.return)&&n.call(a),r<2&&(s=TypeError("The iterator does not provide a '"+o+"' method"),r=1);a=t}else if((n=(d=p.n<0)?s:e.call(i,p))!==c)break}catch(e){a=t,r=1,s=e}finally{l=1}}return{value:n,done:d}}}(e,a,r),!0),l}var c={};function u(){}function d(){}function p(){}n=Object.getPrototypeOf;var h=[][r]?n(n([][r]())):(i(n={},r,function(){return this}),n),f=p.prototype=u.prototype=Object.create(h);function g(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,i(e,s,"GeneratorFunction")),e.prototype=Object.create(f),e}return d.prototype=p,i(f,"constructor",p),i(p,"constructor",d),d.displayName="GeneratorFunction",i(p,s,"GeneratorFunction"),i(f),i(f,s,"Generator"),i(f,r,function(){return this}),i(f,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:l,m:g}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},9540:function(e,t,n){var i=n(5800);e.exports=function(e,t,n,o,a){var r=i(e,t,n,o,a);return r.next().then(function(e){return e.done?e.value:r.next()})},e.exports.__esModule=!0,e.exports.default=e.exports},5800:function(e,t,n){var i=n(5726),o=n(4686);e.exports=function(e,t,n,a,r){return new o(i().w(e,t,n,a),r||Promise)},e.exports.__esModule=!0,e.exports.default=e.exports},4686:function(e,t,n){var i=n(6699),o=n(645);e.exports=function e(t,n){function a(e,o,r,s){try{var l=t[e](o),c=l.value;return c instanceof i?n.resolve(c.v).then(function(e){a("next",e,r,s)},function(e){a("throw",e,r,s)}):n.resolve(c).then(function(e){l.value=e,r(l)},function(e){return a("throw",e,r,s)})}catch(e){s(e)}}var r;this.next||(o(e.prototype),o(e.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),o(this,"_invoke",function(e,t,i){function o(){return new n(function(t,n){a(e,i,t,n)})}return r=r?r.then(o,o):o()},!0)},e.exports.__esModule=!0,e.exports.default=e.exports},645:function(e){function t(n,i,o,a){var r=Object.defineProperty;try{r({},"",{})}catch(n){r=0}e.exports=t=function(e,n,i,o){function a(n,i){t(e,n,function(e){return this._invoke(n,i,e)})}n?r?r(e,n,{value:i,enumerable:!o,configurable:!o,writable:!o}):e[n]=i:(a("next",0),a("throw",1),a("return",2))},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,i,o,a)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},1918:function(e){e.exports=function(e){var t=Object(e),n=[];for(var i in t)n.unshift(i);return function e(){for(;n.length;)if((i=n.pop())in t)return e.value=i,e.done=!1,e;return e.done=!0,e}},e.exports.__esModule=!0,e.exports.default=e.exports},7048:function(e,t,n){var i=n(6699),o=n(5726),a=n(9540),r=n(5800),s=n(4686),l=n(1918),c=n(2696);function u(){"use strict";var t=o(),n=t.m(u),d=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function p(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))}var h={throw:1,return:2,break:3,continue:3};function f(e){var t,n;return function(i){t||(t={stop:function(){return n(i.a,2)},catch:function(){return i.v},abrupt:function(e,t){return n(i.a,h[e],t)},delegateYield:function(e,o,a){return t.resultName=o,n(i.d,c(e),a)},finish:function(e){return n(i.f,e)}
2},n=function(e,n,o){i.p=t.prev,i.n=t.next;try{return e(n,o)}finally{t.next=i.n}}),t.resultName&&(t[t.resultName]=i.v,t.resultName=void 0),t.sent=i.v,t.next=i.n;try{return e.call(this,t)}finally{i.p=t.prev,i.n=t.next}}}return(e.exports=u=function(){return{wrap:function(e,n,i,o){return t.w(f(e),n,i,o&&o.reverse())},isGeneratorFunction:p,mark:t.m,awrap:function(e,t){return new i(e,t)},AsyncIterator:s,async:function(e,t,n,i,o){return(p(t)?r:a)(f(e),t,n,i,o)},keys:l,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports},2696:function(e,t,n){var i=n(4319).default;e.exports=function(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],n=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}throw new TypeError(i(e)+" is not iterable")},e.exports.__esModule=!0,e.exports.default=e.exports},4319:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},5799:function(e,t,n){var i=n(7048)();e.exports=i;try{regeneratorRuntime=i}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=i:Function("r","regeneratorRuntime = r")(i)}}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var a=n[e]={exports:{}};return t[e].call(a.exports,a,a.exports,i),a.exports}i.m=t,e=[],i.O=function(t,n,o,a){if(!n){var r=1/0;for(u=0;u<e.length;u++){n=e[u][0],o=e[u][1],a=e[u][2];for(var s=!0,l=0;l<n.length;l++)(!1&a||r>=a)&&Object.keys(i.O).every(function(e){return i.O[e](n[l])})?n.splice(l--,1):(s=!1,a<r&&(r=a));if(s){e.splice(u--,1);var c=o();void 0!==c&&(t=c)}}return t}a=a||0;for(var u=e.length;u>0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[n,o,a]},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e={757:0};i.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,a,r=n[0],s=n[1],l=n[2],c=0;if(r.some(function(t){return 0!==e[t]})){for(o in s)i.o(s,o)&&(i.m[o]=s[o]);if(l)var u=l(i)}for(t&&t(n);c<r.length;c++)a=r[c],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return i.O(u)},n=self.webpackChunknbc_station=self.webpackChunknbc_station||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o=i.O(void 0,[2076],function(){return i(9671)});o=i.O(o)}();
3//# sourceMappingURL=jwPlayer.264d11c3530393535d02.bundle.min.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.