PageSourceSearch

https://www.telemundohouston.com/wp-content/themes/nbc-station/cli…/js/home.9e7d89817ed7265b0654.bundle.min.js

js telemundohouston.com collected 2026-10-01 10:29:07 UTC 117,693 bytes, 3 lines download raw bytes

1/*! For license information please see home.9e7d89817ed7265b0654.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},7510:function(e,t,n){var i;!function(t){"use strict";var o=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function a(){var e=this;e.reads=[],e.writes=[],e.raf=o.bind(t)}function r(e){e.scheduled||(e.scheduled=!0,e.raf(s.bind(null,e)))}function s(e){var t,n=e.writes,i=e.reads;try{i.length,e.runTasks(i),n.length,e.runTasks(n)}catch(e){t=e}if(e.scheduled=!1,(i.length||n.length)&&r(e),t){if(t.message,!e.catch)throw t;e.catch(t)}}function l(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}a.prototype={constructor:a,runTasks:function(e){for(var t;t=e.shift();)t()},measure:function(e,t){var n=t?e.bind(t):e;return this.reads.push(n),r(this),n},mutate:function(e,t){var n=t?e.bind(t):e;return this.writes.push(n),r(this),n},clear:function(e){return l(this.reads,e)||l(this.writes,e)},extend:function(e){if("object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var c=t.fastdom=t.fastdom||new a;void 0===(i=function(){return c}.call(c,n,c,e))||(e.exports=i)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},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`")},d=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var u=new window.DOMParser;c=d=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),u.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 m,f=document.createElement("template");f.content&&(m=function(e){return f.innerHTML=e,f.content.childNodes}),e.exports=function(e){var t,n,u,p,h=e.match(r);switch(h&&h[1]&&(t=h[1].toLowerCase()),t){case i:return n=d(e),s.test(e)||(u=n.getElementsByTagName(o)[0])&&u.parentNode.removeChild(u),l.test(e)||(u=n.getElementsByTagName(a)[0])&&u.parentNode.removeChild(u),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 m?m(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,d=a.Text,u={},p=0,h=r.length;p<h;p++)i=r[p],u[i.toLowerCase()]=i;function m(e){for(var t,n={},i=0,o=e.length;i<o;i++)n[(t=e[i]).name]=t.value;return n}function f(e){return function(e){return u[e]}(e=e.toLowerCase())||e}e.exports={formatAttributes:m,formatDOM:function e(t,n,i){n=n||null;for(var o=[],a=0,r=t.length;a<r;a++){var u,p=t[a];switch(p.nodeType){case 1:(u=new l(f(p.nodeName),m(p.attributes))).children=e(p.childNodes,u);break;case 3:u=new d(p.nodeValue);break;case 8:u=new s(p.nodeValue);break;default:continue}var h=o[a-1]||null;h&&(h.next=u),u.parent=n,u.prev=h,u.next=null,o.push(u)}return i&&((u=new c(i.substring(0,i.indexOf(" ")).toLowerCase(),i)).next=o[0]||null,u.parent=n,o.unshift(u),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={},d=(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||d||(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)}
vendor: 1,243 bytes, line 2
2e.exports=function e(t,n){for(var a,c,d,u,p,h=(n=n||{}).library||i,m=h.cloneElement,f=h.createElement,v=h.isValidElement,b=[],g="function"==typeof n.replace,y=n.trim,_=0,w=t.length;_<w;_++)if(a=t[_],g&&v(d=n.replace(a)))w>1&&(d=m(d,{key:d.key||_})),b.push(d);else if("text"!==a.type){switch(u=a.attribs,l(a)?r(u.style,u):u&&(u=o(u)),p=null,a.type){case"script":case"style":a.children[0]&&(u.dangerouslySetInnerHTML={__html:a.children[0].data});break;case"tag":"textarea"===a.name&&a.children[0]?u.defaultValue=a.children[0].data:a.children&&a.children.length&&(p=e(a.children,n));break;default:continue}w>1&&(u.key=_),b.push(f(a.name,u,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 d(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 u=1,p=1;function h(e){var t=e.match(n);t&&(u+=t.length);var i=e.lastIndexOf("\n");p=~i?e.length-i:p+e.length}function m(){var e={line:u,column:p};return function(t){return t.position=new f(e),y(),t}}function f(e){this.start=e,this.end={line:u,column:p},this.source=l.source}f.prototype.content=e;var v=[];function b(t){var n=new Error(l.source+":"+u+":"+p+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=p,n.source=e,!l.silent)throw n;v.push(n)}function g(t){var n=t.exec(e);if(n){var i=n[0];return h(i),e=e.slice(i.length),n}}function y(){g(i)}function _(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=m();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})}}function S(){var e=m(),n=g(o);if(n){if(w(),!g(a))return b("property missing ':'");var i=g(r),l=e({type:"declaration",property:d(n[0].replace(t,c)),value:i?d(i[0].replace(t,c)):c});return g(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{m(t,n),f(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 d(){return void 0===t&&(t=null!=window.JSON),t}function u(e){return e+i}function p(){return Math.floor((new Date).getTime()/o)}function h(e){return localStorage.getItem(n+r+e)}function m(e,t){localStorage.removeItem(n+r+e),localStorage.setItem(n+r+e,t)}function f(e){localStorage.removeItem(n+r+e)}function v(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],u(s[o]))}function b(e){var t=u(e);f(e),f(t)}function g(e){var t=u(e),n=h(t);if(n){var i=parseInt(n,10);if(p()>=i)return f(e),f(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(!d())return!1;try{t=JSON.stringify(t)}catch(e){return!1}try{m(e,t)}catch(n){if(!c(n))return y("Could not add item with key '"+e+"'",n),!1;var i,o=[];v(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{m(e,t)}catch(t){return y("Could not add item with key '"+e+"', perhaps it's too big?",t),!1}}return n?m(u(e),(p()+n).toString(10)):f(u(e)),!0},get:function(e){if(!l())return null;if(g(e))return null;var t=h(e);if(!t||!d())return t;try{return JSON.parse(t)}catch(e){return t}},remove:function(e){l()&&b(e)},supported:function(){return l()},flush:function(){l()&&v(function(e){b(e)})},flushExpired:function(){l()&&v(function(e){g(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)},6999:function(e,t,n){"use strict";var i=n(6848);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,r){if(r!==i){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol
2:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},9067:function(e,t,n){e.exports=n(6999)()},6848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},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,d=s.length;c<d;c++)a=(n=s[c]).property,r=n.value,l?t(a,r,n):r&&(o||(o={}),o[a]=r);return o}},1e3:function(e,t,n){"use strict";class i{constructor(e){this.element=e.element,this.started=!1,this.name=e.name,this.options=e.options||{},this.children=e.children||{},e.querySelector&&Object.keys(e.querySelector).forEach(t=>{this.children[t]=this.element.querySelector(e.querySelector[t])}),e.querySelectorAll&&Object.keys(e.querySelectorAll).forEach(t=>{this.children[t]=this.element.querySelectorAll(e.querySelectorAll[t])})}destroy(){this.element.parentNode.removeChild(this.element)}getOffsetTop(e,t){return t===e?0:e.offsetTop+this.getOffsetTop(e.parentElement,t)}static isChild(e,t){if(e){let n=e.parentNode;for(;n;){if(n===t)return!0;n=n.parentNode}}return!1}}var o=function(e,t){let n=!1;const i=[],o=function(){i.length&&!n&&(n=!0,i.shift().call(),setTimeout(()=>{n=!1,o()},t))};return function(){i.push(e.bind(this,...arguments)),o()}};function a(e){return a="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},a(e)}function r(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}function s(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n(7510);var l=n(8102),c=n(9907);function d(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}var u=function(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},t.dataset),i=c.Ay.createRoot(t);(n=function(e){var t=e;return Object.keys(t).forEach(function(e){var n=t[e];if("true"===n)return t[e]=!0,n;if("false"===n)return t[e]=!1,n;if("string"==typeof n&&("{"===n[0]||"["===n[0]))try{var i=JSON.parse(n);"object"===a(i)&&(t[e]=i)}catch(e){return n}return n}),t}(n)).innerHTML=t.innerHTML,n.elementTarget=t,"local"===nbc.env&&console.log("Render react component",e,n,t),i.render(l.default.createElement(e,n),t)};var p=n(385),h=n(834),m=n.n(h);function f(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 v(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function b(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,r(i.key),i)}}function g(e,t,n){return t&&b(e.prototype,t),n&&b(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function y(e,t){if(t&&("object"==a(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)}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}
2function w(e,t){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},w(e,t)}function S(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&&w(e,t)}var x=n(5799),k=n.n(x),O="all",P="^on(.*)",T=n(1285),j=n.n(T);function C(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 E(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?C(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):C(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var N=Math.floor(1001*Math.random());function M(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 I(e,t){var n=e.match(t)||["",""];return n[1].charAt(0).toLowerCase()+n[1].slice(1)}function L(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 D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L(Object(n),!0).forEach(function(t){s(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function A(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(A=function(){return!!e})()}function F(e){return function(t,n){Object.keys(e).forEach(function(i){var o=I(i,P);o===t&&e[i](n),o===O&&e[i](t,n)})}}var R=function(e){function t(e){var n,i,o,a;return v(this,t),i=this,a=[e],o=_(o=t),(n=y(i,A()?Reflect.construct(o,a||[],_(i).constructor):o.apply(i,a))).ref=e.ref||l.default.createRef(),n.config=function(e){var t={};return Object.keys(e).forEach(function(n){j().has(n)&&(t[n]=e[n])}),E(E(E({},e.config),t),{},{isReactComponent:!0})}(e),n.player=null,n.didMountCallback=e.didMountCallback,n.willUnmountCallback=e.willUnmountCallback,n.id=e.id||"jwplayer-".concat(N),n.onHandler=null,n.library=e.library,n}return S(t,e),g(t,[{key:"componentDidMount",value:(n=k().mark(function e(){var t,n;return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=1,M(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)}),i=function(){var e=this,t=arguments;return new Promise(function(i,o){var a=n.apply(e,t);function r(e){f(a,i,o,r,s,"next",e)}function s(e){f(a,i,o,r,s,"throw",e)}r(void 0)})},function(){return i.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=D(D({},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(P)},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;
2Object.keys(this.props).forEach(function(t){var n=I(t,"^once(.*)");n&&e.player.once(n,e.props[t])}),this.onHandler=F(this.props),this.player.on(O,this.onHandler)}},{key:"updateOnEventListener",value:function(e){this.onHandler&&this.player.off(O,this.onHandler),this.onHandler=F(e),this.player.on(O,this.onHandler)}},{key:"render",value:function(){return l.default.createElement("div",{id:this.id,ref:this.ref})}}]);var n,i}(l.Component),Y=R;const{nbc:{dataLayer:{pageName:B}}}=window,V=["prop1","prop2","prop3","prop4","prop8","prop9","prop10","prop21","prop22","prop23","prop48","prop52","prop53","prop54","prop55","contextData.liveBlogCardId","contextData.liveBlogCardTitle"],$=(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=V.join(","),window.s.linkTrackEvents="";const r={prop52:B,prop53:e,prop54:`${B} | ${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"))||"")},{nbc:{brand:U="",callLetters:z="",env:W="",identity:H={},dataLayer:{domainName:G="",division:q=""},fullDomain:J="",tokenBypass:Z=!1},wp:{apiFetch:X}={}}=window;var K=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:Q="",callLetters:ee="",currentDomain:te,identity:{on:ne={}}={},identityActive:ie=!1,pageType:oe,dataLayer:{division:ae="",uri:re="",sectionName:se=""},video:{fwCSIDIdenity:le="",fwNetworkID:ce="169843",fwWebSFIDNtl:de="",fwWebAFIDNtl:ue=""}},location:{href:pe}}=window,he=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}`},me=window.matchMedia("screen and (max-width: 767px)").matches,fe=navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(android)|(webOS)/i),ve=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),be=(e,t)=>{const n="telemundo"===e?"Español":"English";return"CC1"===t?n:"CC2"===t?"telemundo"===e?"English":"Español":n},ge=()=>{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},ye=(e,t)=>{let n=t;return-1<document.location.search.indexOf(e)&&"string"==typeof ge()[e]&&""!==ge()[e]&&(n=ge()[e]),String(n)},_e=({isLivestream:e,islead:t,isFast:n,playerPlacement:i=""})=>{const{nbc:{video:{playerType:o=""}={},isLiveBlog:a}}=window,r=-1<oe.indexOf("amp ")?"amp":"";let s="1"===e?`${r}liveplayer`:o;return"fast channel"===se&&"1"===n&&(s="fastplayer"),""!==i&&(s="1"===e&&"1"!==n?`livefeed_${i}`:`fastplayer_${i}`),"amp articleplayer"===o?s="true"===ye("embedded","")?"synd"+("1"===e?"live":"vod"):"1"===ye("isLiveBlog","")?"1"===ye("islead","")?"amp liveblogplayer lead":"amp liveblogplayer inline":"1"===ye("islead","")?`${s} lead`:`${s} inline`:"articleplayer"===s&&(s=a?t?"liveblogplayer lead":"liveblogplayer inline":t?`${s} lead`:`${s} inline`),s},we=(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(", ")},Se=(e,t)=>{if("rsn"!==ae)return"";const n=e.replaceAll("%20"," ");return t?n.toLowerCase():n};function xe(){const{location:{search:e=""}}=window;return-1<oe.indexOf("amp ")?fe?"mobile web":"desktop":-1<e.indexOf("disableHeader")&&-1<e.indexOf("disableFooter")?"app":me?"mobile web":"desktop"}const ke=({isLivestream:e="",isFast:t="",islead:n=!1,network:i="",originCallLetters:o="",contentSource:a="",sentiment:r="",topic:s="",videoId:l="",continuousPlay:c="",catNames:d={},tagNames:u={},canonicalUrl:p="",videoSport:h="",videoLeague:m="",videoTeam:f="",show:v="",event:b="",genre:g="",playerPlacement:y=""})=>{var _;const{nbc:{dataLayer:{videoCollections:w=[],contentId:S=""},video:{playerType:x=""},siteKey:k=""}}=window,O=function(){let e=!1;const t=["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","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}}}(),P=new URLSearchParams(window.location.search);return{ovp:"html5",player_type:_e({isLivestream:e,islead:n,isFast:t,playerPlacement:y}),network:i,videomarketorigination:ye("origincallletters",o),videocontentsource:a.toLowerCase(),videoSentiment:r.toLowerCase(),videoTopic:s.toLowerCase(),minute:O.getTime(),hour:O.getHour(),day:O.getDayOfWeek(),date:O.getDate(),videotargetcontentid:-1<x.indexOf("full")?"":S,videompxid:l,platform:xe(),businessunit:ye("sitekey",k).toLowerCase(),videopageurl:ye("url",window.location.toString()),continuousplay:`${c} play`,videotag:we(d,u),videocollection:"1"!==e?w.join(", ").toLowerCase():"",canonical_url:Se(p,!1),videoSport:Se(h,!1),videoLeague:Se(m,!1),videoTeam:Se(f,!0),videoShow:Se(v,!0),videoEvent:Se(b,!0),videoGenre:Se(g,!0),prevpagereferrer:decodeURIComponent(null!==(_=P.get("turl"))&&void 0!==_?_:"")}},Oe=(e=1,t=[])=>{let n=e;if(!ve)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},Pe=()=>{const e=new RegExp("usprivacy=([^;]+)").exec(document.cookie);return null!==e?unescape(e[1]):"1YYN"},Te=()=>{const e=new RegExp("OTGPPConsent=([^;]+)").exec(document.cookie);return null!==e?decodeURIComponent(e[1]):"DBABLA~BVQVAAAAAgA.QA"},je=e=>{let t="telemundo"===ae?"tm":ae;const n=["nbc","telemundo"].includes(ae)&&"LX"!==ee?"ots_":"";"LX"!==ee&&"white-label"!==Q||(t="localstandalone");let i=""!==le?le:ee;-1<oe.indexOf("amp ")&&!new URL(pe).searchParams.has("embedded")&&(i=ye("callletters",ee));const o=ye("csidIdentity",i).toLowerCase();return`${t}_${n}${me?"mobile":"desktop"}_web_${o}_${e?"liveevent":"ondemand"}`},Ce=e=>{let t="full"===oe?e.split(te)[1]:re;if(void 0===t||0===t.length)return"";-1<oe.indexOf("amp ")&&(t=ye("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),{})},Ee=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("")},Ne=(e,t,n)=>""!==e?e:Object.keys(n).includes(String(t))?n[t]:"",Me=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:d="",video_length:u,video_call_letter:p="",mpx_m3upid:h="",mp4_url:m="",syndicated_id:f="",show:v="",event:b="",genre:g="",national_m3u8_url:y="",nbc_syndication_category_name:_="",nbc_primary_category_id:w=0,video_copyright:S}={},team:{sport:x="",league:k="",title:O=""}={},sport_slug:P="",league:T="",category_names:j,tag_names:C,custom_data:{Source:E="",sentiment:N="",topic:M=""}={},disableEmbed:I=!1}={},originating_call_letters:L="",sponsor:{name:D=""}={},image:{ratios:{"16:9":{850:A=""}={},"9:16":{320:F=""}={}}={}}={},object_sensitivity:R="",canonical_url:Y=""}=e;return{title:t,fastTitle:n,summary:i,poster:A,verticalPoster:F,url:o,videoId:c,videoContentId:r,mediaId:d,duration:Math.round((u||1)/1e3),catNames:j,tagNames:C,contentSource:E,origination:p,datePublished:a,sponsorName:D,m3uPid:h,isLivestream:s,isFast:l,mp4Url:m,m3u8Url:y,syndicated_id:f,show:v,event:b,genre:g,videoSport:""!==P?P:x,videoLeague:""!==T?T:k,videoTeam:O,originCallLetters:L,sentiment:N,topic:M,canonicalUrl:Y,sensitivity:R,disableEmbed:I,syndicatedCat:_,primaryCatID:w,videoCopyright:S}};const Ie=e=>K(void 0,void 0,void 0,function*(){const t=(()=>{var e,t,n,i,o;let a=m().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):"",m().set("mParticleId",a)),null!=a?a:""})();if("unauthenticated"===(yield function(e,t){const n="unauthenticated";return new Promise(i=>{if(ie&&"function"==typeof ne){const a=setTimeout(()=>i(n),2500);o=o=>{[n,"authenticated"].includes(o)&&(clearTimeout(a),i(o),n===o&&e(t))},H.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}}),Le=(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"))},De={color:"#f2f2f2",font:'17px "Lucida Console", Monaco, monospace'},Ae={backgroundColor:"rgba(0, 0, 0, 1)"},Fe={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"}},Re={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"}}},Ye={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"}},Be={white:"#FFFFFF",red:"#FF0000",green:"#008000",blue:"#0000FF",yellow:"#FFFF00",magenta:"#ff00ff",cyan:"#00ffff",black:"#000000",arialPreset:"#678ccc"},Ve={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"},$e={"100%":100,"88%":86,"75%":75,"62%":62,"50%":50,"38%":38,"25%":25,"0%":0},Ue={"100%":1,"88%":.875,"75%":.75,"62%":.624,"50%":.5,"38%":.376,"25%":.25,"0%":0},ze=e=>{if(!e)return"captionMedium";const{textSettings:{size:t}}=e,{textSizesMapping:n}=Fe;return n[t]},We=e=>{if(!e)return De;const{textSettings:{color:t,opacity:n,font:i,size:o}}=e,{textPreviewColors:a,textFonts:r,textSizes:s}=Fe;return{color:`rgba(${a[t]}, ${Ue[n]})`,fontFamily:r[i],fontSize:s[o]}},He=e=>{if(!e)return Ae;const{borderSettings:{effect:t},backgroundSettings:{color:n,opacity:i}}=e,{returnStyle:o}=Ye[t];return{textShadow:o,backgroundColor:`rgba(${Ve[n]}, ${Ue[i]})`}};var Ge=({setPresetSetting:e})=>(0,p.Y)("div",Object.assign({className:"preset-settings"},{children:Object.keys(Re).map(t=>{const{borderSettings:{effect:n},backgroundSettings:{color:i},textSettings:{color:o,font:a}}=Re[t],{textColors:r,textFonts:s}=Fe,{returnStyle:l}=Ye[n];return"default"!==t?(0,p.Y)("button",Object.assign({type:"button",className:"preset-settings__button",style:{textShadow:l,backgroundColor:Be[i],color:r[o],fontFamily:s[a],fontSize:"17px"},onClick:()=>{e(Re[t])}},{children:"Aa"})):""})}));const{i18n:{__:qe}}=window.wp;var Je=({setBorderEffect:e,borderSettings:t})=>{const{effect:n}=t;return(0,p.Y)("div",Object.assign({className:"border-settings"},{children:(0,p.FD)("div",Object.assign({className:"border-settings__effect"},{children:[(0,p.Y)("span",Object.assign({className:"border-settings__label"},{children:qe("Effect","nbc")})),(0,p.Y)("select",Object.assign({value:n,defaultValue:n,className:"border-settings__select",onChange:t=>{const{target:{value:n}}=t;e(n)}},{children:Object.entries(Ye).map(([e,t])=>(0,p.Y)("option",Object.assign({value:e},{children:qe(t.display||e,"nbc")})))}))]}))}))};const{i18n:{__:Ze}}=window.wp;
2var Xe=({setBackgroundColor:e,setBackgroundOpacity:t,backgroundSettings:n})=>{const{color:i}=n;return(0,p.FD)("div",Object.assign({className:"background-settings"},{children:[(0,p.FD)("div",Object.assign({className:"background-settings__color"},{children:[(0,p.Y)("span",Object.assign({className:"background-settings__label"},{children:Ze("Color","nbc")})),Object.keys(Be).map(t=>["arialPreset"].includes(t)?"":(0,p.Y)("button",Object.assign({type:"button",className:"background-settings__button"+(t===i?" background-settings__button--active":""),style:{backgroundColor:Be[t]},onClick:()=>{e(t)}},{children:t})))]})),(0,p.FD)("div",Object.assign({className:"background-settings__opacity"},{children:[(0,p.Y)("span",Object.assign({className:"background-settings__label"},{children:Ze("Opacity","nbc")})),Object.keys($e).map(e=>(0,p.Y)("button",Object.assign({type:"button",className:"background-settings__button",style:{backgroundColor:`rgba(255, 255, 255, ${$e[e]/100})`},onClick:()=>{t(e)}},{children:e})))]}))]}))};const{i18n:{__:Ke}}=window.wp,{textColors:Qe,textFonts:et,textSizes:tt}=Fe;var nt=({setTextColor:e,setTextOpacity:t,setTextFont:n,setTextSize:i,textSettings:o})=>{const{color:a,font:r,size:s}=o;return(0,p.FD)("div",Object.assign({className:"text-settings"},{children:[(0,p.FD)("div",Object.assign({className:"text-settings__color"},{children:[(0,p.Y)("span",Object.assign({className:"text-settings__label"},{children:Ke("Color","nbc")})),Object.keys(Qe).map(t=>["timesPreset"].includes(t)?"":(0,p.Y)("button",Object.assign({type:"button",className:"text-settings__button"+(t===a?" text-settings__button--active":""),style:{backgroundColor:Qe[t]},onClick:()=>{e(t)}},{children:t})))]})),(0,p.FD)("div",Object.assign({className:"text-settings__opacity"},{children:[(0,p.Y)("span",Object.assign({className:"text-settings__label"},{children:Ke("Opacity","nbc")})),Object.keys($e).map(e=>(0,p.Y)("button",Object.assign({type:"button",className:"text-settings__button",style:{backgroundColor:`rgba(255, 255, 255, ${$e[e]/100})`},onClick:()=>{t(e)}},{children:e})))]})),(0,p.FD)("div",Object.assign({className:"text-settings__fonts"},{children:[(0,p.Y)("span",Object.assign({className:"text-settings__label"},{children:Ke("Font","nbc")})),(0,p.Y)("select",Object.assign({value:r,defaultValue:r,className:"text-settings__select",onChange:e=>{const{target:{value:t}}=e;n(t)}},{children:Object.keys(et).map(e=>(0,p.Y)("option",Object.assign({value:e},{children:Ke(e,"nbc")})))})),(0,p.Y)("span",Object.assign({className:"text-settings__label"},{children:Ke("Size","nbc")})),(0,p.Y)("select",Object.assign({value:s,defaultValue:s,className:"text-settings__select",onChange:e=>{const{target:{value:t}}=e;i(t)}},{children:Object.keys(tt).map(e=>(0,p.Y)("option",Object.assign({value:e},{children:Ke(e,"nbc")})))}))]}))]}))};const{i18n:{__:it}}=window.wp,ot={presetSettings:"default",borderSettings:{color:"black",effect:"None"},backgroundSettings:{color:"black",opacity:"100%"},textSettings:{color:"white",opacity:"100%",font:"Lucida Sans",size:"Medium"}},at=({containerStyle:e,lineStyle:t,toggleSubtitleSettings:n,setSubtitleSettings:i,setSubtitleSettingsTab:o,subtitleSettingsTab:a,subtitleSettings:r,isPlaying:s})=>{const{current:c}=(0,l.useRef)(s),{borderSettings:d,backgroundSettings:u,textSettings:h}=r,m=e=>{i(e)},f=e=>{i(Object.assign(Object.assign({},r),{borderSettings:Object.assign(Object.assign({},d),{effect:e})}))},v=e=>{i(Object.assign(Object.assign({},r),{backgroundSettings:Object.assign(Object.assign({},u),{color:e})}))},b=e=>{i(Object.assign(Object.assign({},r),{backgroundSettings:Object.assign(Object.assign({},u),{opacity:e})}))},g=e=>{i(Object.assign(Object.assign({},r),{textSettings:Object.assign(Object.assign({},h),{color:e})}))},y=e=>{i(Object.assign(Object.assign({},r),{textSettings:Object.assign(Object.assign({},h),{opacity:e})}))},_=e=>{i(Object.assign(Object.assign({},r),{textSettings:Object.assign(Object.assign({},h),{font:e})}))},w=e=>{i(Object.assign(Object.assign({},r),{textSettings:Object.assign(Object.assign({},h),{size:e})}))},S=[{name:"Presets",component:()=>(0,p.Y)(Ge,{setPresetSetting:m})},{name:"Text",component:()=>(0,p.Y)(nt,{setTextColor:g,setTextOpacity:y,setTextFont:_,setTextSize:w,textSettings:h})},{name:"Border",component:()=>(0,p.Y)(Je,{setBorderEffect:f,borderSettings:d})}
2,{name:"Background",component:()=>(0,p.Y)(Xe,{setBackgroundColor:v,setBackgroundOpacity:b,backgroundSettings:u})}];return(0,p.FD)("div",Object.assign({className:"player__subtitle-settings"},{children:[(0,p.Y)("div",Object.assign({className:"subtitle-settings__panel-top"},{children:S.map(({name:e})=>(0,p.Y)("button",Object.assign({type:"button",className:"subtitle-settings__tab"+(e===a?" subtitle-settings__tab--active":""),onClick:()=>{o(e)}},{children:it(e,"nbc")})))})),(0,p.Y)("div",Object.assign({className:"subtitle-settings__panel-middle"},{children:S.map(({name:e,component:t})=>e===a&&t())})),(0,p.FD)("div",Object.assign({className:"subtitle-settings__panel-bottom"},{children:[(0,p.Y)("div",Object.assign({"data-t-subtitles":!0,style:e,className:"player__subtitles player__subtitles-sample"},{children:(0,p.Y)("div",Object.assign({className:"subtitles__line",style:t},{children:it("This is a sample","nbc")}))})),(0,p.FD)("div",Object.assign({className:"subtitle-settings__interface"},{children:[(0,p.Y)("button",Object.assign({type:"button",className:"subtitle-settings__button",onClick:()=>{i(Object.assign({},ot))}},{children:it("Reset","nbc")})),(0,p.Y)("button",Object.assign({type:"button",className:"subtitle-settings__button",onClick:()=>{n(c)}},{children:it("Done","nbc")}))]}))]}))]}))},{wp:{i18n:{__:rt}},nbc:{callLetters:st}}=window,lt="TELX"===st?"cozi":"nbc",ct=rt("Close",lt),dt=rt("Press Ctrl-C to copy the code:",lt),ut=rt("Press Ctrl-C to copy link:",lt),pt=rt("Select Text",lt),ht=rt("Copy Link",lt),mt=rt("Embed",lt);var ft,vt=({url:e,host:t,title:n,videoContentId:i,videoId:o,toggleShare:a,twitter:r,isPlaying:s,isLiveBlog:c,liveBlogTracking:d,jwPlayerId:u,disableEmbed:h})=>{const{current:m}=(0,l.useRef)(s),f=(0,l.createRef)(),v=(0,l.createRef)(),[b,g]=(0,l.useState)(!1),[y,_]=(0,l.useState)(!1),w=[{className:"embed",callback:()=>S("embed"),label:mt},{className:"link",callback:()=>S("link"),label:ht},{className:"facebook",callback:()=>k("facebook"),label:"Facebook"},{className:"twitter",callback:()=>k("twitter"),label:"X"}];function S(e){"embed"===e?(g(!0),_(!1),c&&d("share embed","video click",u)):(g(!1),_(!0),c&&d("share link copy","video click",u))}function x(){const e=b?f.current:v.current;e&&setTimeout(()=>{e.focus(),e.setSelectionRange(0,e.value.length)},0)}function k(t){const i=encodeURIComponent(n),o=encodeURI(e),a="twitter"===t?`https://twitter.com/share?url=${o}&text=${i}&via=${r}`:`https://www.facebook.com/sharer/sharer.php?u=${o}`;window.open(a,"_blank","width=500,height=500"),c&&d(`share ${t}`,"video click",u)}const O=`<script type="text/javascript" charset="UTF-8" \n    src="${window.location.protocol}//${t}/portableplayer/?CID=${i}&videoID=${o}&origin=${t}&fullWidth=y&autoplay=true"><\/script>`;return(0,p.FD)("div",Object.assign({className:"player__share-card"},{children:[(0,p.Y)("button",Object.assign({type:"button",onClick:()=>{a(m)},onTouchEnd:()=>{a(m)},className:"share-card__button--close"},{children:ct})),(0,p.Y)("div",Object.assign({className:"share-card__button-container"},{children:w.filter(function(t){return"link"!==t.className||e}).map(({callback:e,className:t,label:n})=>"embed"===t&&h?"":(0,p.Y)("button",Object.assign({type:"button",onClick:e,onTouchEnd:e,className:`share-card__button share-card__button--${t}`},{children:n})))})),(b||y)&&(0,p.FD)(p.FK,{children:[(0,p.Y)("div",Object.assign({className:"share-card__text-box"},{children:(0,p.FD)("form",{children:[(0,p.Y)("label",Object.assign({htmlFor:"text"},{children:b?dt:ut})),(0,p.Y)("textarea",{readOnly:!0,name:"text",wrap:"hard",value:b?O:e,ref:b?f:v})]})})),(0,p.Y)("button",Object.assign({type:"button",onClick:()=>x(),onTouchEnd:()=>x(),className:"share-card__button--select"},{children:pt}))]})]}))},bt=n(4371),gt=(bt.domToReact,bt.htmlToDOM,bt.attributesToProps,bt.Element,bt),yt=n(1651),_t=n.n(yt),wt=({expanded:e=!1,children:t})=>{const[n,i]=(0,l.useState)(e);(0,l.useEffect)(()=>{i(e)},[e]);let o=t;return"string"==typeof t&&(o=gt(_t().sanitize(t))),(0,p.Y)("span",Object.assign({className:"truncate__wrap"},{children:(0,p.Y)("span",Object.assign({className:"truncate__text"},{children:o}))}))}
2,St=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:{__:xt}},ns_:{StreamingAnalytics:{JWPlayer:kt={}}={},ComscoreJWPlayerPlugin:Ot={}}={},PARSELY:Pt={},nbc:Tt}=window,jt="function"==typeof kt?kt:Ot,{nbc:{callLetters:Ct,pubdate:Et,author:Nt="",dataLayer:{pageName:Mt="",template:It,isAmpVideo:Lt=!1},video:{jwPlayerKey:Dt="lm6n3gQvnOELdUrKN4c+LMs/kvO7T3PqQrSVpbi54cz0md2f",jwPlayerUpgrade:At=!1,fwAdManagerVersion:Ft="",fwNetworkID:Rt="169843",fwDesktopSFIDVod:Yt="",fwDesktopSFIDLive:Bt="",fwMobileSFIDVod:Vt="",fwMobileSFIDLive:$t="",fwAFID:Ut="",playerType:zt=""},comscore_c4:Wt,market:Ht,env:Gt,isLiveBlog:qt}}=window,Jt=m().get("captionSettings"),Zt=document.querySelector(".video-flyout"),Xt="true"===(null===(ft=null==Zt?void 0:Zt.dataset)||void 0===ft?void 0:ft.stickyEnabled);class Kt extends l.Component{constructor(e){super(e),this.videoRef=(0,l.createRef)(),this.jwPlayerId="",this.lastProgressUpdate=0,this.freewheel={},this.comscoreMeta={publisherId:"",labelMapping:{}},this.onUnAuth=e=>{this.setState({mParticleID:e})},this.videoRef=(0,l.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:Jt||ot,containerStyle:We(Jt),lineStyle:He(Jt),hasSubtitles:!1,subtitleTracks:[],adDuration:0,playlist:[],adClickThrough:"",captionFontSize:ze(Jt),mParticleID:"",playerWidth:0,playerHeight:0}}createSessionItem(e,t){return St(this,void 0,void 0,function*(){const{video:{mediaId:n="",videoId:i="",isLivestream:o="",m3uPid:a="",m3u8Url:r="",poster:s="",verticalPoster:c="",title:d="",duration:u=0,syndicated_id:h="",videoContentId:m="",syndicatedCat:f="",primaryCatID:v=0,catNames:b={}},video:g={},continuousPlay:y="",islead:_,fastSchedule:w=[],playerPlacement:S=""}=this.props;this.jwPlayerId=`jwplayer-${n||i}-${Math.floor(1001*Math.random())}`;const{nbc:{brand:x,dataLayer:{division:k}}}=window,{videoRef:O}=this;
2let P="telemundo"===x?"tlmd":"nbc";P="rsn"===k?"rsn":P;const T=n||i,j=Object.assign(Object.assign({},g),{islead:_,network:P,continuousPlay:y,playerPlacement:S}),C="1"===o?`${a}?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/${T}?formats=MPEG-DASH+widevine,M3U+appleHlsEncryption,M3U+none,MPEG-DASH+none,MPEG4,MP3&format=SMIL`;if(0<r.length){const e=yield(({elem:e,m3u8Url:t,mPid:n})=>K(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,d=null!==(i=new URLSearchParams(window.location.search).get("xumoOverride"))&&void 0!==i?i:"";let u=[];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:ce},{name:"prof",value:`${ce}: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"===Q?"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:de},{name:"afid",value:ue},{name:"csid",value:`${"telemundo"===Q?"tm":"nbc"}_ots_${ve?"safari":"alldevice_allos"}_web_${ee.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"===Q?"P06F4DCAF-86D7-4159-AAE9-D3C50FF96F01":"PE075FB87-C9AE-41D5-8B17-95C0E9301C8E"},{name:"_fw_us_privacy",value:Pe()},{name:"gpp",value:Te()},{name:"gpp_sid",value:"7"},{name:"_fw_site_page",value:encodeURIComponent(ye("url",window.location.toString()))},{name:"xumo_ifaType",value:""},{name:"_fw_is_lat",value:"0"},{name:"_fw_did",value:""}];if(s&&d){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=d.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_${ee.toLowerCase()}_livelinear_virtualchannel`)}catch(e){console.error(e)}if(0<Object.keys(t).length){Object.keys(t).forEach(n=>{n in e&&u.push({name:e[n],value:encodeURIComponent(t[n])})});const n=new Map(h.map(e=>[e.name,e]));u.forEach(e=>{n.set(e.name,e)});const i=Array.from(n.values());u=[...i]}}return s&&0<u.length&&(h=u),["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:O.current,m3u8Url:r,mPid:t});this.setState({playlist:[{file:e,fwassetid:Ee(""!==h?h:m),image:s,tracks:[],duration:86400,isLivestream:o,mediaid:Ee(""!==h?h:m),videoTitle:d,mpxTitle:d,meta:ke(Object.assign({},j)),section:"",freewheel:Object.assign({},this.freewheel),fastSchedule:w}]})}else yield fetch(`https://link.theplatform.com/s/${this.getMPXAccount()}/${C}`).then(e=>e.text()).then(e=>(new window.DOMParser).parseFromString(e,"text/xml")).then(t=>{var n;const a=[];let r=d;const c=t.getElementsByTagName("textstream"),h=t.getElementsByTagName("ref");if(0<h.length&&h[0].getAttribute("title")&&(r=null!==(n=h[0].getAttribute("title"))&&void 0!==n?n:""),0<c.length){const e=[].filter.call(c,e=>"text/vtt"===e.getAttribute("type"));0<e.length&&a.push({id:"vtt",kind:"captions",file:e[0].getAttribute("src"),label:be(x,"")})}this.setState({subtitleTracks:a,playlist:[{file:t.getElementsByTagName("video")[0].getAttribute("src"),tracks:a,image:s,mediaid:T,fwassetid:"local"!==Gt?i.toString():"2009669699810",videoTitle:d,duration:"1"!==o?u:600,isLivestream:o,mpxTitle:r,section:Ne(f,v,b),meta:ke(Object.assign({},j)),freewheel:Object.assign({},this.freewheel),fastSchedule:w}]},()=>{var t;const{playlist:n,muted:i}=this.state,{summary:o="",videoCopyright:a=""}=g;if(e&&(this.lastProgressUpdate=0,this.player.load(n),this.player.setConfig({autostart:!0,mute:i}),"articleplayer"===zt)){let e;const n=null===(t=document.getElementById(this.player.id))||void 0===t?void 0:t.closest(_?".article-featured-media":"[data-react-component]"),i=document.querySelector("figure.article-featured-media.video-lead cite");n&&(e=_?n.querySelector("figcaption .caption"):n.nextSibling),e&&["caption","video_caption"].some(t=>e.classList.contains(t))&&l.render((0,p.Y)(wt,Object.assign({expanded:!1},{children:o.replace(/(<p[^>]+?>|<p>|<\/p>)/gim,"")})),e),_&&i&&(i.innerHTML=a,i.classList.remove("article-featured-media__credit--visible"))}})})})}componentDidMount(){var e,t,n,i;return St(this,void 0,void 0,function*(){const{autoplay:o,startUnmuted:a=!1,video:{isLivestream:r}}=this.props,s=yield Ie(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===Tt.video.autoPlayBlocked&&(Tt.video.autoPlayBlocked=yield function(e){return new Promise(t=>{if(me)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&&ve)).catch(()=>t(!0)):t(!0),ve&&"1"!==e&&t(!0)}}})}(r)),a||this.setState({muted:!0}),Tt.video.autoPlayBlocked=!1)})}componentDidUpdate(e){return St(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=[]}=Tt||{};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:d={}}}=this.props,u=Date.parse(Et),p={title:e,duration:n,video_platform:"jwplayer",image_url:i,tags:Object.values(a),pub_date_tmsp:u,authors:[Nt],section:Ne(l,c,d)},h=Ee(""!==r?r:s);Pt.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=ye("mute","");return Lt&&""!==o?"true"===o:!(!t||i)||!(!n||"article - general"!==It)||"video landing"===It||"weather landing"===It}playerMountedCallback({player:e,islead:t}){const{nbc:{video:{leadVideoID:n}}}=window;this.player=e,t&&(Tt.video.leadVideoID=this.player.id),!t&&"undefined"!==n&&me&&Xt&&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;Le(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;Le(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!==Wt?Wt:Ht;this.comscoreMeta={publisherId:"6035083",labelMapping:{c4:`"${decodeURI(ye("c4",e))}"`,c6:'"*null"',ns_st_pu:'"NBC Owned Television Stations"',ns_st_ge:'"News"',ns_st_st:`"${Ct}"`}},this.comscoreMeta.labelMapping=Object.entries(this.comscoreMeta.labelMapping).map(e=>`${e[0]}=${e[1]}`).join(","),console.log(this.comscoreMeta),"function"==typeof jt&&jt(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)||ve&&["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=Oe(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),qt&&$(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&&me&&Xt&&window.jwplayer(o).pause(),null===(n=this.player)||void 0===n||n.play()),qt&&$(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})}),qt&&$(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,d=Math.round(c/s.clientWidth*r);this.setState({seekPosition:d+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")}
2addTouchClass(){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(qt&&$("full screen","video click",this.jwPlayerId))}document.fullscreenElement?(document.exitFullscreen(),qt&&$("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"}),qt&&$("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(Oe(1,null===(t=this.player)||void 0===t?void 0:t.getCaptionsList())),qt&&$("closed caption","video click",this.jwPlayerId),this.setState({hasSubtitles:!i})}enableSubtitleTrack(e){var t,n;null===(t=this.player)||void 0===t||t.setCurrentCaptions(Oe(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;m().set("captionSettings",e);const{borderSettings:{effect:n},backgroundSettings:{color:i,opacity:o},textSettings:{color:a,opacity:r,font:s,size:l}}=e,{textColors:c,textFonts:d,textSizesMapping:u}=Fe;null===(t=this.player)||void 0===t||t.setCaptions({backgroundColor:Be[i],backgroundOpacity:$e[o],color:c[a],fontFamily:d[s],fontSize:u[l],edgeStyle:n,fontOpacity:$e[r]}),this.setState({subtitleSettings:e,lineStyle:He(e),containerStyle:We(e),captionFontSize:u[l]})}render(){var e,t,n,i,o;const{autoplay:a,brand:r,host:s,twitter:l,islead:c,video:{isLivestream:d,mediaId:u,videoId:h,videoContentId:m,poster:f,verticalPoster:v,duration:b,url:g,title:y,fastTitle:_="",sensitivity:w="",m3u8Url:S="",disableEmbed:x=!1},hideShare:k=!1}=this.props,{isAd:O,vidProgress:P,adCountdown:T,progress:j,isFullScreen:C,isPlaying:E,vidState:N,muted:M,volume:I,seekPosition:L,tooltipPosition:D,tooltipVisible:A,verticalTitleVisible:F,showSubtitleSettings:R,subtitleSettingsTab:B,subtitleSettings:V,showShareCard:U,lineStyle:z,containerStyle:W,subtitleTracks:H,hasSubtitles:G,adDuration:q,playlist:J,adClickThrough:Z,captionFontSize:X,mParticleID:K,playerWidth:Q,playerHeight:ee}=this.state,te=0<b?b:null===(e=this.player)||void 0===e?void 0:e.getDuration(),ne=`${Rt}:nbcu_ots_web_${"1"===d?"live":"vod"}`,ie=me?Vt:Yt,oe=me?$t:Bt;this.freewheel={networkid:Rt,serverid:"https://29773.v.fwmrm.net/ad/g/1",profileid:ne,sectionid:je("1"===d),adManagerURL:`https://mssl.fwmrm.net/libs/adm/${Ft}/AdManager.js`,vcid:K,vdur:"1"!==d?te:600,sfid:"1"===d?oe:ie,afid:Ut,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:K,_fw_player_width:Q.toString(),_fw_player_height:ee.toString(),sensitivecontent:encodeURIComponent(w),mode:"1"===d?"live":"on-demand",metr:"1031"},Ce(g))};const ae={client:"freewheel",autoplayadsmuted:!0,schedule:{offset:"pre",tag:"fw-preroll"},freewheel:Object.assign({},this.freewheel)},{disablePreroll:re=!1,isVerticalVideo:se=!1}=this.props,le="article - featured"===It,ce="video landing"===It;return(0,p.FD)("div",Object.assign({className:`player${O?" advertisement":""}${(me||navigator.userAgent.match(/(iPad)/)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints)&&fe?" player--no-touch":""}${"1"!==d?"":" player--live"}`,ref:this.videoRef,onTouchStart:this.removeTouchClass,onTouchEnd:this.addTouchClass},{children:[U&&(0,p.Y)(vt,{url:g,host:s,title:_||y,videoContentId:m,videoId:h,toggleShare:this.toggleShare,twitter:l,isPlaying:E,isLiveBlog:qt,liveBlogTracking:$,jwPlayerId:this.jwPlayerId,disableEmbed:x&&0===S.length}),R&&(0,p.Y)(at,{toggleSubtitleSettings:this.toggleSubtitleSettings,setSubtitleSettings:this.setSubtitleSettings,setSubtitleSettingsTab:this.setSubtitleSettingsTab,isPlaying:E,lineStyle:z,containerStyle:W,subtitleSettingsTab:B,subtitleSettings:V}),"Loading"===N&&(0,p.Y)("div",{className:"player__loading"}),se&&(0,p.FD)("div",Object.assign({className:"player__onscreen-controls"},{children:[(0,p.Y)("button",Object.assign({type:"button",className:`player__mute-button ${M&&"player__mute-button--muted"}`,onClick:this.toggleMute},{children:M?"Unmute":"Mute"})),0<H.length&&!O&&(0,p.Y)("button",Object.assign({type:"button",className:`player__subtitles-button ${G&&"player__subtitles-button--on"}`,onClick:this.toggleSubtitles},{children:"Subtitles"}))]})),(0,p.FD)("div",Object.assign({className:`player__overlay${E?" player__overlay--playing":" player__overlay--paused"}${O?" player__overlay--ad":""}`,onClick:()=>{"Loading"!==N&&("1"===d||O||this.togglePlayPause({islead:c}),""!==Z&&O&&window.open(Z,"_blank"))},role:"button",tabIndex:0,onKeyUp:e=>{" "===e.key&&"Loading"!==N&&("1"===d||O||this.togglePlayPause({islead:c}))}},{children:[("Paused"===N||"Ready"===N)&&(0,p.Y)("button",Object.assign({type:"button",onClick:e=>{e.stopPropagation(),this.togglePlayPause({islead:c})},className:"player__play-button--large"},{children:"Play"})),"Paused"!==N&&"Loading"!==N&&se&&(0,p.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"===N||"Ready"===N)&&!c&&(0,p.Y)("img",{src:se?v:f,className:"player__poster",alt:y})]})),(0,p.FD)("div",Object.assign({className:"player__controls"},{children:[se&&!O&&(0,p.Y)("div",Object.assign({className:`player__title ${F&&"player__title--visible"}`},{children:y})),O&&(0,p.FD)("div",Object.assign({className:"player__progress"},{children:[(0,p.Y)("progress",{className:"player__progressbar",value:j,max:q}),(0,p.Y)("input",{className:"player__seekbar",id:"seek",value:j,min:"0",max:q,type:"range",step:"0.5"})]})),"1"!==d&&!O&&(0,p.FD)("div",Object.assign({className:"player__progress"},{children:[(0,p.Y)("progress",{className:"player__progressbar",value:P,max:te}),(0,p.Y)("input",{className:"player__seekbar",id:"seek",value:j,min:"0",max:te,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,p.Y)("div",Object.assign({className:`player__tooltip ${A&&"player__tooltip-show"}`,style:{left:D-15+"px"}},{children:0>parseInt(he(L-q),10)?"":he(L-q)}))]})),(0,p.FD)("div",Object.assign({className:"player__controls--left"},{children:[("1"!==d||O)&&(0,p.Y)("button",Object.assign({type:"button",onClick:()=>this.togglePlayPause({islead:c}),className:`player__play-button ${E&&"player__play-button--pause"}`},{children:E?"Pause":"Play"})),"1"===d&&O&&(0,p.Y)("div",Object.assign({className:"player__time"},{children:`Ad: ${he(T)}`})),"1"!==d&&0<te&&(0,p.Y)("div",Object.assign({className:"player__time"},{children:O?`Ad: ${he(T)}`:`${he(P)} / ${he(te)}`})),"1"===d&&!O&&(0,p.Y)("div",Object.assign({className:"player__live"},{children:xt("Live","nbc")}))]})),!se&&(0,p.FD)("div",Object.assign({className:"player__controls--right"},{children:[(0,p.FD)("div",Object.assign({className:"player__volume-control
2s"},{children:[(0,p.Y)("button",Object.assign({type:"button",className:`player__mute-button ${M&&"player__mute-button--muted"}`,onClick:this.toggleMute},{children:M?"Unmute":"Mute"})),(0,p.Y)("div",Object.assign({className:"player__volume-input"},{children:(0,p.Y)("input",{className:"player__volume-slider",type:"range",min:"0",max:"100",value:M?0:I,step:"1",onInput:({target:e})=>{const{value:t}=e;this.setVolume(parseFloat(t))}})}))]})),0<H.length&&!O&&(0,p.FD)("div",Object.assign({className:"player__subtitle-controls"},{children:[(0,p.Y)("button",Object.assign({type:"button",className:`player__subtitles-button ${G&&"player__subtitles-button--on"}`,onClick:this.toggleSubtitles},{children:"Subtitles"})),(0,p.FD)("div",Object.assign({className:"player__subtitles-menu"},{children:[H.map(({id:e})=>(0,p.Y)("button",Object.assign({className:`player__subtitles-option ${G&&"player__subtitles-option--selected"}`,type:"button",onClick:()=>{this.enableSubtitleTrack(1),this.setState({hasSubtitles:!0})}},{children:be(r,e)}))),(0,p.Y)("button",Object.assign({className:`player__subtitles-option ${!G&&"player__subtitles-option--selected"}`,type:"button",onClick:()=>{var e;null===(e=this.player)||void 0===e||e.setCurrentCaptions(0),this.setState({hasSubtitles:!1})}},{children:xt("None","nbc")})),(0,p.Y)("button",Object.assign({className:"player__subtitles-option",type:"button",onClick:()=>{this.toggleSubtitleSettings(E)}},{children:xt("Settings","nbc")}))]}))]})),!k&&(0,p.Y)("button",Object.assign({type:"button",title:"Share",onClick:e=>{e.stopPropagation(),this.toggleShare(E)},className:"player__share-button"},{children:"Share"})),!O&&(0,p.Y)("button",Object.assign({type:"button",title:C?"Collapse":"Expand",onClick:this.toggleFullScreen,className:`player__fullscreen-button ${C&&"player__fullscreen-button--collapse"}`},{children:"Toggle Fullscreen"}))]}))]})),(0,p.Y)("div",Object.assign({className:`player__container ${X}`},{children:0<J.length&&(0,p.Y)(Y,{id:this.jwPlayerId,config:{key:Dt,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,willUnmountCallback: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:ye("callletters",Ct).toUpperCase(),channel:ye("callletters",Ct),pageName:Mt,pid:u||h,debug:!0}},library:`/wp-content/themes/nbc-station/static/video/jwplayer/jwplayer.${At?"8.49.0":"8.30.0"}.js?ver=1.0.5`,playlist:J,autoPause:{viewability:!("1"===d||me||le||ce||Lt)},autostart:a,fwassetid:"local"!==Gt?h.toString():"2009669699810",mute:this.autoplayMute(),advertising:re?void 0:0<S.length?{autoplayadsmuted:!0}:ae})}))]}))}}Kt.defaultProps={continuousPlay:"first"};var Qt=Kt;const en=e=>{const t=Number(e);return!1===Number.isFinite(t)?NaN:1e3*t},tn=(e,t,n)=>{const i=en(t),o=en(n);return!1!==Number.isFinite(i)&&!1!==Number.isFinite(o)&&i<=e&&e<o},{nbc:{brand:nn=""}}=window,on=(0,l.createContext)(null);function an(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}const{i18n:{__:rn}}=window.wp;let sn;const ln=({title:e,poster:t,nextVideoTitle:n,nextVideoPoster:i,onCountdownEnded:o,livestreamEndTime:a=0})=>{var r;const[s,c]=(0,l.useState)(Date.now()>a),d=null!==(r=(0,l.useContext)(on))&&void 0!==r?r:{value:""},{value:u=""}=d,h=-1<u.indexOf("escalated");return(0,l.useEffect)(()=>h?(sn=setInterval(()=>{Date.now()>a&&(c(!0),clearInterval(sn))},1e3),()=>""):(sn=setTimeout(o,5e3),()=>clearTimeout(sn))),(0,p.FD)("div",Object.assign({className:"player__end-card"+(h?`-streaming end-card__${u}`:"")},{children:[!h&&(0,p.FD)("div",Object.assign({className:"end-card__panel"},{children:[rn("Up Next","nbc"),(0,p.FD)("div",Object.assign({className:"end-card__container"},{children:[(0,p.FD)("div",Object.assign({className:"end-card__image-container"},{children:[(0,p.Y)("div",Object.assign({className:"end-card__progress-bar"},{children:(0,p.Y)("span",Object.assign({className:"end-card__progress-container"},{children:(0,p.Y)("span",{className:"end-card__progress end-card__progress--running"})}))})),(0,p.Y)("img",{src:i,alt:n,className:"end-card__image"}),(0,p.Y)("button",Object.assign({type:"button",className:"end-card__pause-button",onClick:()=>{o(),clearTimeout(sn)}},{children:"Play"}))]})),(0,p.Y)("div",Object.assign({className:"end-card__text-container"},{children:n}))]}))]})),t&&!h&&(0,p.Y)("img",{src:t,className:"player__poster",alt:e}),h&&(0,p.FD)("div",Object.assign({className:"end-card__stream-panel"},{children:[(0,p.Y)("h2",{children:rn("Live stream ended","nbc")}),s&&(0,p.FD)(p.FK,{children:[(0,p.Y)("h3",{children:rn("Refresh to see the latest content","nbc")}),(0,p.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;an(["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}
2 button`,eVar123:n,contextData:{actionmodule:`${e} button`,actionname:e}},"Refresh"),ve&&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:rn("Refresh","nbc")}))]})]}))]}))};ln.defaultProps={livestreamEndTime:0};var cn=ln;const dn=({endTime:e=(new Date).toISOString()})=>Date.now()<Date.parse(e);const un=({accountId:e,autoplay:t,brand:n,host:i,index:o=0,twitter:a,callLetters:r,station:s,videos:c,hubCallback:d,continuousPlay:u,placeholder:h=!1,excludeEndCard:f=!1,hideShare:v=!1,islead:b=!1,fastSchedule:g=[],livestreamEndTime:y=0,isVerticalVideo:_=!1,disablePreroll:w=!1,startUnmuted:S=!1,onVideoEnded:x})=>{var k;const[O,P]=(0,l.useState)(t),[T,j]=(0,l.useState)(o),[C,E]=(0,l.useState)(!1),[N,M]=(0,l.useState)(c),[I,L]=(0,l.useState)(t),[D,A]=(0,l.useState)(u),[F,R]=(0,l.useState)(o);(0,l.useEffect)(()=>{_&&(M(c),j(o),E(!1))},[c,o,_]);const{title:Y="",poster:B="",duration:V=0}=N[T]||{},$=N[T],{title:U="",poster:z=""}=N[T+1]||{},{nbc:{pageType:W="",video:{playerType:H=""}}}=window,G="true"===ye("embedded",""),q=["article","amp article"].includes(W)&&"amp fullplayer"!==H,J=()=>{P(!0)},Z=null!==(k=(0,l.useContext)(on))&&void 0!==k?k:{value:""},{value:X=""}=Z;return(0,l.useEffect)(()=>{(q||me)&&L(!0)},[O]),(0,l.useEffect)(()=>{var e,t,n,i;1!==N.length||f||G||(e=void 0,t=void 0,i=function*(){const e="relatedVideos";m().remove(e);let t=m().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)=>{const{video:{meta:{mpx_is_livestream:n="",video_id:i=""}}}=t;return i&&"1"!==n&&i!==c[0].videoId&&e.push(Object.assign(Object.assign({},Me(t)),{autoplay:!0})),e},[]),m().set(e,t,60)}0<t.length&&M([...c,...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===N.length&&"full"===W&&(M([...c]),A(u),E(!1))},[c]),O||!q&&!me?(0,p.FD)("div",Object.assign({className:"video-playlist__container"},{children:[(0,p.Y)(Qt,{accountId:e,autoplay:I,placeholder:h,host:i,twitter:a,brand:n,video:$,isVerticalVideo:_,disablePreroll:w,startUnmuted:S,onSessionEnded:()=>{_?null==x||x():T<N.length&&!f&&!G?E(!0):(L(!1),R(o+1),j(0))},callLetters:r,station:s,continuousPlay:D,islead:b,hideShare:v,fastSchedule:g.filter(dn),livestreamEndTime:Number(y),playerPlacement:X},F),C&&(void 0!==N[T+1]||0<Number(y))&&(0,p.Y)(cn,{title:Y,poster:B,nextVideoTitle:U,nextVideoPoster:z,livestreamEndTime:Number(y),onCountdownEnded:()=>{T<N.length&&(L(!0),E(!1),A("continuous"),d&&"full"===W?d():j(T+1))}})]})):(0,p.FD)("div",Object.assign({className:"video-playlist__placeholder",onClick:J,onKeyDown:J,role:"button",tabIndex:0},{children:[(0,p.Y)("img",{src:B,alt:Y}),q?(0,p.FD)("div",Object.assign({className:"video-playlist__placeholder--title-container"},{children:[(0,p.Y)("span",{className:"player__play-button--large"}),(0,p.Y)("p",Object.assign({className:"video-playlist__placeholder--duration"},{children:he(V)})),(0,p.Y)("h3",Object.assign({className:"video-playlist__placeholder--title"},{children:Y}))]})):(0,p.Y)("span",{className:"player__play-button--large"})]}))};un.defaultProps={hubCallback:()=>{},excludeEndCard:!1,continuousPlay:"first",fastSchedule:[],index:0,hideShare:!1,islead:!1,placeholder:!1,livestreamEndTime:0};var pn=un;const{wp:{i18n:{__:hn}}}=window,mn=({video:e,accountId:t,brand:n,host:i,twitter:o,callLetters:a,station:r,autoplay:s=!0,placeholder:c=!1,title:d="",url:u="",disableFastLink:h=!1,isFast:m=!1,fastData:f=[],fastLogo:v="",livestreamEndTime:b="0",playerPlacement:g=""})=>{var y,_;if(!e)return null;const w=Me(e),{isLivestream:S}=w,x=((e=[])=>{const[t,n]=(0,l.useState)("");return(0,l.useEffect)(()=>{let t=[];function i(){if(!t||0===t.length)return void n("");const e=Date.now(),i=t.find(t=>e<Date.parse(t.endTime));if(i){const{title:e}=i,t=-1<e.indexOf(": ")?e.split(": ")[1]:e;n(t)}else n("")}Array.isArray(e)?t=e:e&&Array.isArray(e.items)&&(t=e.items),i();const o=setInterval(i,1e3);return()=>clearInterval(o)},[e]),t})(m?f:[]),[k,O]=(0,l.useState)(null),P=(0,l.useCallback)(()=>{return e=void 0,t=void 0,i=function*(){const e=yield fetch("/wp-json/wp/v2/live_context_bar");O(e.ok?yield e.json():null)}
2,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},[]);(0,l.useEffect)(()=>{P()},[P]);const T=function(e,t){const[n,i]=(0,l.useState)(""),o=(0,l.useRef)(n),a=(0,l.useRef)(void 0),r=(0,l.useRef)(void 0),s=(0,l.useRef)(null),c=(0,l.useRef)(0);(0,l.useEffect)(()=>{o.current=n},[n]),(0,l.useEffect)(()=>{a.current=(e=>{var t,n,i,o,a,r,s,l,c,d;const u=(e=>{if(e){if(Array.isArray(e))return e[0];if("object"==typeof e){const t=e;if("items"in t&&Array.isArray(t.items))return t.items[0];if(0===Object.keys(t).length)return;return t}}})(e);if(!u)return;const p=Boolean(null===(n=null===(t=u.settings)||void 0===t?void 0:t.title)||void 0===n?void 0:n.trim()),h=Boolean((null===(i=u.schedule)||void 0===i?void 0:i.start_time)||(null===(o=u.schedule)||void 0===o?void 0:o.end_time)),m=Boolean(null===(r=null===(a=u.next_broadcast)||void 0===a?void 0:a.title)||void 0===r?void 0:r.trim())||Boolean(null===(l=null===(s=u.next_broadcast)||void 0===s?void 0:s.schedule)||void 0===l?void 0:l.start_time)||Boolean(null===(d=null===(c=u.next_broadcast)||void 0===c?void 0:c.schedule)||void 0===d?void 0:d.end_time);return!1!==(p||h||m)?u:void 0})(e)},[e]),(0,l.useEffect)(()=>{r.current=t},[t]);const d=(e=1e4)=>{var t;const n=Date.now();n-c.current>=e&&(c.current=n,null===(t=r.current)||void 0===t||t.call(r))};return(0,l.useEffect)(()=>{function e(){var e;const t=a.current;if(!t)return""!==o.current&&i(""),void d();const{currentTitle:n,currentStart:l,currentEnd:c,nextId:u,nextTitle:p,nextStart:h,nextEnd:m}=(e=>{var t,n,i,o,a,r,s,l,c,d,u,p,h,m,f,v;return{currentTitle:(null!==(n=null===(t=e.settings)||void 0===t?void 0:t.title)&&void 0!==n?n:"").trim(),currentStart:null!==(o=null===(i=e.schedule)||void 0===i?void 0:i.start_time)&&void 0!==o?o:"",currentEnd:null!==(r=null===(a=e.schedule)||void 0===a?void 0:a.end_time)&&void 0!==r?r:"",nextId:null!==(l=null===(s=e.next_broadcast)||void 0===s?void 0:s.id)&&void 0!==l?l:0,nextTitle:(null!==(d=null===(c=e.next_broadcast)||void 0===c?void 0:c.title)&&void 0!==d?d:"").trim(),nextStart:null!==(h=null===(p=null===(u=e.next_broadcast)||void 0===u?void 0:u.schedule)||void 0===p?void 0:p.start_time)&&void 0!==h?h:"",nextEnd:null!==(v=null===(f=null===(m=e.next_broadcast)||void 0===m?void 0:m.schedule)||void 0===f?void 0:f.end_time)&&void 0!==v?v:""}})(t),f=Date.now();if(tn(f,l,c))return""===n?""!==o.current&&i(""):o.current!==n&&i(n),void(s.current=null);tn(f,h,m)?""===p?""!==o.current&&i(""):o.current!==p&&(i(p),u!==s.current&&(s.current=u,null===(e=r.current)||void 0===e||e.call(r))):(""!==o.current&&i(""),d())}e();const t=setInterval(e,1e3);return()=>clearInterval(t)},[]),n}(k,P),j="telemundo"===n?"/en-vivo":"/live";let C="1"===S&&m?"telemundo"===n?"/ver":"/watch":u;C="1"===S&&m&&"1"===h?"":C,C="1"===S&&"1"===h&&C.endsWith(j)?"":C;const E=[Object.assign({},w)],[N]=(0,l.useState)(null!=g?g:"escalated"),M=(0,l.useMemo)(()=>({value:N}),[N]);(0,l.useEffect)(()=>{0<Number(b)&&(()=>{const e="telemundo"===nn?"-tlmd":"";(new Image).src=`/wp-content/themes/nbc-station/client/build/media/streaming-endcard-escalated${e}.jpg`})()},[]);const I=m&&"1"===S?T||d||x:d;return(0,p.FD)(on.Provider,Object.assign({value:M},{children:[(0,p.Y)(pn,{autoplay:s,placeholder:c,accountId:t,brand:n,host:i,twitter:o,callLetters:a,station:r,videos:E,fastSchedule:f,livestreamEndTime:Number(b)},(null===(_=null===(y=e.video)||void 0===y?void 0:y.video)||void 0===_?void 0:_.id)||e.id),"1"===S&&(0,p.FD)("div",Object.assign({className:"hp-livestream__title-container"},{children:[""!==C&&(0,p.Y)("a",Object.assign({href:C,className:"hp-livestream__link",onClick:()=>{const e="videoplayer";return an(["prop1","prop2","prop8","prop9","prop10","prop20","prop23","prop48","prop53","prop55","eVar48","contextData.actionmodule","contextData.actionname"],{prop53:e,prop55:M.value,eVar48:m?`fastplayer_${M.value}`:`livefeed_${M.value}`,contextData:{actionmodule:M.value,actionname:e}},"VideoPlayer"),!0}},{children:"Link to Stream"})),(0,p.Y)("div",Object.assign({className:"hp-livestream__live-tag"},{children:hn("Live","nbc")})),(0,p.FD)("div",Object.assign({className:"hp-livestream__meta"},{children:[m&&(0,p.Y)("img",{className:"hp-livestream__fast-logo",src:v,alt:hn("Watch","nbc")}),I&&(0,p.Y)("h3",Object.assign({className:"hp-livestream__title"},{children:I}))]}))]}))]}))};var fn=mn;mn.defaultProps={autoplay:!0,placeholder:!1,isFast:!1,fastData:[],fastLogo:"",url:"",disableFastLink:!1};var vn=n(9067),bn=n.n(vn);function gn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return l.default.createElement("img",{alt:n,className:t,src:e})}function yn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yn=function(){return!!e})()}var _n=function(e){function t(){return v(this,t),e=this,i=arguments,n=_(n=t),y(e,yn()?Reflect.construct(n,i||[],_(e).constructor):n.apply(e,i));var e,n,i}return S(t,e),g(t,[{key:"render",value:function(){var e=this.props,t=e.videoLe
2ngth,n=e.showTime;return l.default.createElement("div",{className:"video-icon"},gn("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48ZWxsaXBzZSBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMi41IiBmaWxsLW9wYWNpdHk9Ii4zIiBmaWxsPSIjMDAwIiBjeD0iMTYuMTgiIGN5PSIxNS45NTgiIHJ4PSIxNS42MjciIHJ5PSIxNS40NjIiLz48cGF0aCBmaWxsPSIjRkZGIiBkPSJNMjAuOTY5IDE1Ljk1OGwtNi44NiAzLjk5NXYtNy45OXoiLz48L2c+PC9zdmc+Cg==","play-icon-transparent","play video"),gn("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMzQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMSAxKSIgZmlsbC1ydWxlPSJub256ZXJvIiBmaWxsPSJub25lIj48ZWxsaXBzZSBzdHJva2U9IiNGRkYiIHN0cm9rZS13aWR0aD0iMi41IiBmaWxsLW9wYWNpdHk9IjEiIGZpbGw9IiNmZmYiIGN4PSIxNi4xOCIgY3k9IjE1Ljk1OCIgcng9IjE1LjYyNyIgcnk9IjE1LjQ2MiIvPjxwYXRoIGZpbGw9IiMwMDAiIGQ9Ik0yMC45NjkgMTUuOTU4bC02Ljg2IDMuOTk1di03Ljk5eiIvPjwvZz48L3N2Zz4K","play-icon-filled","play video"),n&&l.default.createElement("span",{className:"video-length"},0!==t?t:""))}}])}(l.PureComponent);s(_n,"defaultProps",{videoLength:"",showTime:!0}),s(_n,"propTypes",{videoLength:bn().string,showTime:bn().bool});var wn=n(3373),Sn=n.n(wn);function xn(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xn=function(){return!!e})()}var kn=function(e){function t(){return v(this,t),e=this,i=arguments,n=_(n=t),y(e,xn()?Reflect.construct(n,i||[],_(e).constructor):n.apply(e,i));var e,n,i}return S(t,e),g(t,[{key:"render",value:function(){var e=this.props,t=e.eyebrowLink,n=e.eyebrowLabel,i=e.publishedTime,o=e.eyebrowSponsored,a=e.fastEnabled,r=e.fastEyebrow,s=Sn()({"video-meta":!0,"video-meta__sponsored":o});return l.default.createElement("div",{className:s},a&&r?l.default.createElement("span",{className:"video-meta-fast"},r):l.default.createElement(l.default.Fragment,null,o&&l.default.createElement("span",{className:"video-meta__tag"},n),t&&n&&!o&&l.default.createElement("span",{className:"video-meta__tag"},l.default.createElement("a",{href:t},n)),i&&!o&&l.default.createElement("span",{className:"video-meta__time"},gt(_t().sanitize(i)))))}}])}(l.PureComponent);function On(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(On=function(){return!!e})()}s(kn,"defaultProps",{eyebrowLabel:"",eyebrowLink:"",eyebrowSponsored:"",publishedTime:"",fastEnabled:!1,fastEyebrow:""}),s(kn,"propTypes",{eyebrowLink:bn().string,eyebrowLabel:bn().string,eyebrowSponsored:bn().string,publishedTime:bn().string,fastEnabled:bn().bool,fastEyebrow:bn().string});var Pn=wp.i18n.__,Tn=function(e){function t(){var e,n,i,o;v(this,t);for(var a=arguments.length,r=new Array(a),l=0;l<a;l++)r[l]=arguments[l];return n=this,i=t,o=[].concat(r),i=_(i),s(e=y(n,On()?Reflect.construct(i,o||[],_(n).constructor):i.apply(n,o)),"handleClick",function(t){var n=e.props,i=n.setActiveVideo,o=n.video,a=n.setSlideIndex,r=n.currentSlideIndex;n.fromLive||("function"==typeof i&&(t.preventDefault(),i(o)),"function"==typeof a&&(t.preventDefault(),a(r)))}),e}return S(t,e),g(t,[{key:"render",value:function(){var e=this.props,t=e.activeVideo,n=e.video,i=e.showMeta,o=e.horizontal,a=e.showIconTime,r=n.date_string_short,s=n.title,c=n.formatted_length,d=n.link,u=o?"video-thumbnail__video video-thumbnail__video--horizontal":"video-thumbnail__video",p=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"16:9",n=arguments.length>
22&&void 0!==arguments[2]?arguments[2]:400,i=!1;if(void 0===e)return i;if(void 0===e.image)return i;var o=e.image,a=void 0===o?{}:o,r=a.media_details,s=(void 0===r?{}:r).sizes,l=void 0===s?{}:s,c=a.ratios,d=void 0===c?{}:c;return void 0!==d[t]&&void 0!==d[t][n]?i=d[t][n]:void 0!==l.full?i=l.full.source_url:void 0!==e.image.source_url&&(i=e.image.source_url),i}(n,"16:9","400");return l.default.createElement("div",{className:"video-thumbnail"},l.default.createElement("a",{href:d,onClick:this.handleClick},l.default.createElement("div",{className:u},p&&l.default.createElement("div",{className:"video-thumbnail__image-wrapper"},l.default.createElement("img",{loading:"lazy",src:p,alt:gt(_t().sanitize(s))}),l.default.createElement(_n,{videoLength:c,showTime:a}),t.network_object_id===n.network_object_id?l.default.createElement("div",{className:"video-thumbnail__now-playing"},Pn("Now Playing","nbc")):null),l.default.createElement("div",{className:"video-thumbnail__info"},i&&l.default.createElement(kn,{eyebrowLabel:n.eyebrow.label,eyebrowLink:n.eyebrow.link,publishedTime:r}),l.default.createElement("h4",{className:"video-thumbnail__video-title"},gt(_t().sanitize(s)))))))}}])}(l.PureComponent);s(Tn,"defaultProps",{showMeta:!1,horizontal:!1,showIconTime:!0,setActiveVideo:!1,activeVideo:{},setSlideIndex:!1,currentSlideIndex:0,fromLive:!1}),s(Tn,"propTypes",{setActiveVideo:bn().oneOfType([bn().func,bn().bool]),video:bn().shape({}).isRequired,activeVideo:bn().shape({}),showMeta:bn().bool,horizontal:bn().bool,showIconTime:bn().bool,setSlideIndex:bn().oneOfType([bn().func,bn().bool]),currentSlideIndex:bn().number,fromLive:bn().bool});const{wp:{i18n:{__:jn}}}=window;class Cn extends l.PureComponent{render(){const{videos:e,accountId:t,brand:n,host:i,twitter:o,callLetters:a,station:r}=this.props;if(!e.length)return null;const{eyebrow:{link:s,label:l},title:c,summary:d,link:u,date_string:h,video:{meta:{video_id:m}}}=e[0],f=[Object.assign({},Me(e[0]))];return(0,p.FD)("section",Object.assign({className:"video-module"},{children:[(0,p.FD)("div",Object.assign({className:"video-module__column column--1"},{children:[(0,p.Y)("div",Object.assign({className:"video-module__video",ref:e=>this.setState({player:e})},{children:(0,p.Y)(pn,{autoplay:!1,placeholder:!0,accountId:t,brand:n,host:i,twitter:o,callLetters:a,station:r,videos:f},m)})),(0,p.Y)(kn,{eyebrowLink:s,eyebrowLabel:l,publishedTime:h}),(0,p.Y)("h2",Object.assign({className:"video-module__title"},{children:(0,p.Y)("a",Object.assign({href:u},{children:gt(_t().sanitize(c))}))})),(0,p.Y)("div",Object.assign({className:"video-module__text"},{children:gt(_t().sanitize(d))}))]})),(0,p.FD)("div",Object.assign({className:"video-module__column column--2"},{children:[(0,p.Y)("h3",Object.assign({className:"video-module__column-title"},{children:jn("More","nbc")})),e.slice(1,5).map(e=>(0,p.Y)(Tn,{video:e,showMeta:!0,horizontal:!0,showIconTime:!1},e.network_object_id))]}))]}))}}var En=function(e){return l.default.createElement(l.Fragment,{key:"topVideoModule"},e&&l.default.createElement(Cn,e))};En.propTypes={videos:bn().arrayOf(bn().shape({})).isRequired};var Nn=En;class Mn extends l.PureComponent{constructor(){super(...arguments),this.handleClick=e=>{const{setActiveVideo:t,setSlideIndex:n,video:i,currentSlideIndex:o=0}=this.props;(t||n)&&(e.preventDefault(),n?n(o):null==t||t(i))}}render(){const{video:e,isActive:t=!1}=this.props,{title:n="",url:i="#",verticalPoster:o="",duration:a=0}=e,r=_t().sanitize(n,{ALLOWED_TAGS:[],ALLOWED_ATTR:[]});return(0,p.Y)("div",Object.assign({className:"vertical-video__thumbnail "+(t?"is-active":"")},{children:(0,p.Y)("a",Object.assign({href:i,onClick:this.handleClick,"aria-label":`Play Video: ${r}`,"aria-current":t?"true":void 0},{children:(0,p.FD)("div",Object.assign({className:"video-thumbnail__image-wrapper"},{children:[(0,p.Y)("img",{loading:"lazy",src:o,alt:""}),(0,p.Y)("span",{className:"video-thumbnail__gradient","aria-hidden":"true"}),(0,p.FD)("div",Object.assign({className:"video-thumbnail__content"},{children:[(0,p.Y)("h3",Object.assign({className:"video-thumbnail__title"},{children:r})),(0,p.FD)("div",Object.assign({className:"video-thumbnail__meta"},{children:[(0,p.Y)("span",{className:"player__play-button","aria-hidden":"true"}),0<a&&(0,p.Y)("span",Object.assign({className:"video-thumbnail__duration"},{children:he(a)}))]}))]}))]}))}))}))}}const In="vertical-video--scroll-lock";class Ln extends l.PureComponent{constructor(){super(...arguments),this.state={isVerticalModalOpen:!1,activeIndex:0,playbackNonce:0,canScrollCarouselPrevious:!1,canScrollCarouselNext:!1},this.modalRef=l.default.createRef(),this.closeButtonRef=l.default.createRef(),this.triggerElement=null,this.thumbRef
2s=[],this.thumbnailCarouselRef=l.default.createRef(),this.isWheelLocked=!1,this.touchStartY=null,this.wheelLockTimeoutId=null,this.isBodyScrollLocked=!1,this.lockedScrollY=0,this.previousBodyStyles={position:"",top:"",left:"",right:"",width:"",overflow:""},this.updateCarouselNavigation=()=>{const e=this.thumbnailCarouselRef.current;if(!e)return;const{scrollWidth:t,clientWidth:n}=e,i=Math.max(0,t-n),o=Math.min(Math.max(e.scrollLeft,0),i),a=o>2,r=o<i-2;a===this.state.canScrollCarouselPrevious&&r===this.state.canScrollCarouselNext||this.setState({canScrollCarouselPrevious:a,canScrollCarouselNext:r})},this.scrollThumbnailCarousel=e=>{const t=this.thumbnailCarouselRef.current;if(!t)return;const n=Math.max(320,Math.floor(.8*t.clientWidth)),i=Math.max(0,t.scrollWidth-t.clientWidth),o="next"===e?t.scrollLeft+n:t.scrollLeft-n,a=Math.min(Math.max(o,0),i);t.scrollTo({left:a,behavior:"smooth"})},this.scrollCarouselPrevious=()=>{this.scrollThumbnailCarousel("previous")},this.scrollCarouselNext=()=>{this.scrollThumbnailCarousel("next")},this.openVerticalModalAt=e=>{const{verticalVideos:t}=this.props;if(!t.length)return;this.triggerElement=document.activeElement;const n=Math.max(0,Math.min(e,t.length-1));this.lockBodyScroll(),this.setState({isVerticalModalOpen:!0,activeIndex:n},()=>{var e;this.scrollThumbIntoView(n),null===(e=this.closeButtonRef.current)||void 0===e||e.focus()})},this.closeVerticalModal=()=>{const{standalone:e,exitUrl:t}=this.props;if(e&&t)return void(window.location.href=t);const{activeIndex:n}=this.state;this.setState({isVerticalModalOpen:!1},()=>{this.unlockBodyScroll(),window.requestAnimationFrame(()=>{window.requestAnimationFrame(()=>{var e;this.scrollThumbIntoView(n);const t=null===(e=this.thumbRefs[n])||void 0===e?void 0:e.querySelector("a");null==t||t.focus({preventScroll:!0}),this.triggerElement=null})})})},this.onModalKeyDown=e=>{if("Escape"===e.key)return e.preventDefault(),void this.closeVerticalModal();if("ArrowUp"===e.key)return e.preventDefault(),void this.goPrev();if("ArrowDown"===e.key)return e.preventDefault(),void this.goNext();if("Tab"!==e.key)return;const t=this.modalRef.current;if(!t)return;const n=Array.from(t.querySelectorAll(["button:not([disabled])","a[href]","input:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[tabindex]:not([tabindex="-1"])'].join(","))).filter(e=>!e.hasAttribute("hidden"));if(!n.length)return;const i=n[0],o=n[n.length-1];e.shiftKey&&document.activeElement===i?(e.preventDefault(),o.focus()):e.shiftKey||document.activeElement!==o||(e.preventDefault(),i.focus())},this.setActiveVideo=e=>{const{verticalVideos:t}=this.props,{network_object_id:n}=e,i=t.findIndex(e=>{const{network_object_id:t}=e;return null!=n&&null!=t&&String(t)===String(n)});this.openVerticalModalAt(i>=0?i:0)},this.setSlideIndex=e=>{this.openVerticalModalAt(e)},this.goToIndex=e=>{const{verticalVideos:t}=this.props,n=t.length;if(!n)return;const i=this.getLoopedIndex(e,n);this.setState(e=>({activeIndex:i,playbackNonce:e.playbackNonce+1}),()=>{this.scrollThumbIntoView(i),this.updateCurrentUrl(i)})},this.goNext=()=>this.goToIndex(this.state.activeIndex+1),this.goPrev=()=>this.goToIndex(this.state.activeIndex-1),this.onEndedAdvance=()=>this.goNext(),this.onWheel=e=>{const{isVerticalModalOpen:t}=this.state;if(!t)return;if(e.preventDefault(),e.stopPropagation(),this.isWheelLocked)return;const{deltaY:n}=e;Math.abs(n)<30||(this.lockWheelTemporarily(),n>0?this.goNext():this.goPrev())},this.onTouchStart=e=>{var t,n,i;const{isVerticalModalOpen:o}=this.state;o&&(this.touchStartY=null!==(i=null===(n=null===(t=e.touches)||void 0===t?void 0:t[0])||void 0===n?void 0:n.clientY)&&void 0!==i?i:null)},this.onTouchEnd=e=>{var t,n,i;const{isVerticalModalOpen:o}=this.state;if(!o||null===this.touchStartY)return;const a=null!==(i=null===(n=null===(t=e.changedTouches)||void 0===t?void 0:t[0])||void 0===n?void 0:n.clientY)&&void 0!==i?i:this.touchStartY,r=this.touchStartY-a;this.touchStartY=null,r>50&&this.goNext(),r<-50&&this.goPrev()},this.renderVerticalModal=e=>{const{accountId:t,brand:n,host:i,twitter:o,callLetters:a,station:r}=this.props,{activeIndex:s,playbackNonce:l,isVerticalModalOpen:c}=this.state;return c?(0,p.FD)("div",Object.assign({ref:this.modalRef,className:"vertical-video-modal",role:"dialog","aria-modal":"true","artia-label":"Vertical video player",onKeyDown:this.onModalKeyDown,onWheel:this.onWheel,onTouchStart:this.onTouchStart,onTouchEnd:this.onTouchEnd},{children:[(0,p.Y)("button",Object.assign({ref:this.closeButtonRef,className:"vertical-video-modal__close",onClick:this.closeVerticalModal,"aria-label":"Close vertical video player",type:"button"},{children:"Close"})),(0,p.Y)("div",Object.assign({className:"vertical-video-modal__player"},{children:(0,p.Y)(pn,{autoplay:!0,placeholder:!1,accountId:t,brand:n,host:i,twitter:o,callLetters:a,station:r,videos:e,index:s,continuousPlay:"continuous",
2isVerticalVideo:!0,excludeEndCard:!0,disablePreroll:!0,startUnmuted:!0,onVideoEnded:this.onEndedAdvance},l)})),(0,p.FD)("div",Object.assign({className:"vertical-video-modal__navigation"},{children:[(0,p.Y)("button",Object.assign({className:"vertical-video-modal__navigation-button vertical-video-modal__navigation-button--prev",type:"button",onClick:e=>{e.stopPropagation(),this.goPrev()},"aria-label":"Play previous video"},{children:(0,p.Y)("span",Object.assign({"aria-hidden":"true"},{children:"previous video"}))})),(0,p.Y)("button",Object.assign({className:"vertical-video-modal__navigation-button vertical-video-modal__navigation-button--next",type:"button",onClick:e=>{e.stopPropagation(),this.goNext()},"aria-label":"Play next video"},{children:(0,p.Y)("span",Object.assign({"aria-hidden":"true"},{children:"next video"}))}))]}))]})):null}}componentDidMount(){this.updateCarouselNavigation(),window.addEventListener("resize",this.updateCarouselNavigation),this.props.standalone&&this.openVerticalModalAt(0)}componentWillUnmount(){this.isBodyScrollLocked&&this.unlockBodyScroll(),window.removeEventListener("resize",this.updateCarouselNavigation),null!==this.wheelLockTimeoutId&&window.clearTimeout(this.wheelLockTimeoutId)}componentDidUpdate(e){e.verticalVideos!==this.props.verticalVideos&&window.requestAnimationFrame(this.updateCarouselNavigation)}lockBodyScroll(){this.isBodyScrollLocked||(this.isBodyScrollLocked=!0,this.lockedScrollY=window.scrollY||window.pageYOffset||document.documentElement.scrollTop||0,this.previousBodyStyles={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,right:document.body.style.right,width:document.body.style.width,overflow:document.body.style.overflow},document.documentElement.classList.add(In),document.body.classList.add(In),document.body.style.position="fixed",document.body.style.top=`-${this.lockedScrollY}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.width="100%",document.body.style.overflow="hidden")}unlockBodyScroll(){if(!this.isBodyScrollLocked)return;const e=this.lockedScrollY;document.documentElement.classList.remove(In),document.body.classList.remove(In),document.body.style.position=this.previousBodyStyles.position,document.body.style.top=this.previousBodyStyles.top,document.body.style.left=this.previousBodyStyles.left,document.body.style.right=this.previousBodyStyles.right,document.body.style.width=this.previousBodyStyles.width,document.body.style.overflow=this.previousBodyStyles.overflow,this.isBodyScrollLocked=!1,window.requestAnimationFrame(()=>{window.scrollTo({top:e,left:0,behavior:"auto"})})}getLoopedIndex(e,t){return t?(e%t+t)%t:0}scrollThumbIntoView(e){window.requestAnimationFrame(()=>{const t=this.thumbnailCarouselRef.current,n=this.thumbRefs[e];if(!t||!n)return;const i=n.offsetLeft,o=i+n.offsetWidth,a=t.scrollLeft,r=a+t.clientWidth;i<a?t.scrollTo({left:i,behavior:"smooth"}):o>r&&t.scrollTo({left:o-t.clientWidth,behavior:"smooth"})})}updateCurrentUrl(e){var t,n;const{standalone:i,verticalVideos:o}=this.props;if(!i)return;const a=(null===(t=o[e])||void 0===t?void 0:t.canonical_url)||(null===(n=o[e])||void 0===n?void 0:n.link);a&&window.history.replaceState(null,"",a)}lockWheelTemporarily(){this.isWheelLocked=!0,null!==this.wheelLockTimeoutId&&window.clearTimeout(this.wheelLockTimeoutId),this.wheelLockTimeoutId=window.setTimeout(()=>{this.isWheelLocked=!1,this.wheelLockTimeoutId=null},450)}render(){const{verticalVideos:e,standalone:t}=this.props,{activeIndex:n,isVerticalModalOpen:i,canScrollCarouselPrevious:o,canScrollCarouselNext:a}=this.state;if(!e.length)return null;const r=e.map(e=>Me(e)),s=r;return t?(0,p.Y)("section",Object.assign({className:"vertical-video-module vertical-video-page"},{children:this.renderVerticalModal(r)})):(0,p.FD)("section",Object.assign({className:"vertical-video-module"},{children:[(0,p.FD)("div",Object.assign({className:"vertical-video-module__carousel"},{children:[o&&(0,p.Y)("button",Object.assign({type:"button",className:"\n                vertical-video-module__carousel-button\n                vertical-video-module__carousel-button--previous\n              ","aria-label":"Scroll to previous video thumbnails","aria-controls":"vertical-video-thumbnail-carousel",onClick:this.scrollCarouselPrevious},{children:(0,p.Y)("span",Object.assign({"aria-hidden":"true"},{children:"back"}))})),(0,p.Y)("div",Object.assign({id:"vertical-video-thumbnail-carousel",className:"vertical-video-module__thumbnails",ref:this.thumbnailCarouselRef,onScroll:this.updateCarouselNavigation,role:"region","aria-label":"Vertical video thumbnails"},{children:s.map((e,t)=>{var i;return(0,p.Y)("div",Object.assign({className:"vertical-video-module__thumbnail-wrapper",ref:e=>
2{this.thumbRefs[t]=e}},{children:(0,p.Y)(Mn,{video:e,isActive:t===n,setActiveVideo:this.setActiveVideo,setSlideIndex:this.setSlideIndex,currentSlideIndex:t})}),String(null!==(i=e.network_object_id)&&void 0!==i?i:t))})})),a&&(0,p.Y)("button",Object.assign({type:"button",className:"\n                vertical-video-module__carousel-button\n                vertical-video-module__carousel-button--next\n              ","aria-label":"Scroll to next video thumbnails","aria-controls":"vertical-video-thumbnail-carousel",onClick:this.scrollCarouselNext},{children:(0,p.Y)("span",Object.assign({"aria-hidden":"true"},{children:"forward"}))}))]})),this.renderVerticalModal(r)]}))}}var Dn=e=>(0,p.Y)(Ln,Object.assign({},e));function An(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(An=function(){return!!e})()}var Fn,Rn={name:"storyCardVideo",class:function(e){function t(e){var n,i,o,a;return v(this,t),i=this,a=[e],o=_(o=t),(n=y(i,An()?Reflect.construct(o,a||[],_(i).constructor):o.apply(i,a))).didRender=!1,n.bind(),n}return S(t,e),g(t,[{key:"onClick",value:function(e){if(e.preventDefault(),e.stopPropagation(),!this.didRender){var t=this.children.player,n=this.element,i=["article - featured","article - immersive"].some(function(e){return e===nbc.dataLayer.template}),o=i?document.body:n;u(pn,t),o.classList.add("video-playing"),i&&o.classList.add("no-featured-image"),this.didRender=!0}}},{key:"bind",value:function(){var e=this,t=this.children,n=t.player,i=t.trigger;n&&i&&i.addEventListener("click",function(t){return e.onClick(t)})}}])}(i),querySelector:{player:"[data-video-player]",trigger:"[data-video-play-trigger], .story-card__icon"},options:{}},Yn=new class{constructor(e){window[e]=window[e]?window[e]:{components:{}},window.jsComponentFrameworkLimiter=window.jsComponentFrameworkLimiter?window.jsComponentFrameworkLimiter:o,this.manifest=window[e],this.limiter=window.jsComponentFrameworkLimiter}initComponents(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;(Array.isArray(e)?e:[e]).forEach(this.limiter(e=>this.initComponent(e,t),500))}initComponent(e,t){const n=e.name,o=e.class;if(o.prototype instanceof i){const i=Object.keys(this.manifest.components).includes(n),a=t.querySelectorAll("[data-component='".concat(n,"']"));if(!a.length)return void console.info('No elements found for data-component="'.concat(n,'"'));i||(this.manifest.components[n]={config:e,instances:[]}),Array.prototype.forEach.call(a,t=>{const i=this.manifest.components[n].instances.some(e=>t.isSameNode(e.element));if(i)return;const a=e;a.element=t;const r=new o(a);this.manifest.components[n].instances.push({instance:r,element:t})})}}reinitComponent(e,t){const n=this.manifest.components[e].config;n&&this.initComponents([n],t)}static callComponentMethod(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.manifest[e]&&this.manifest[e].instances&&this.manifest[e].instances.forEach(e=>{"function"==typeof e[t]&&e[t].call(e,...n)})}}("nbc-home-components");Fn=function(){var e,t;Yn.initComponents([Rn]),e={HomeFastPlayer:fn,VideoModule:Nn,VerticalVideoModule:Dn},Object.keys(e).forEach(function(n){!function(e,n){var i=void 0===t?"":t,o=Array.from(document.querySelectorAll("".concat(i,'[data-react-component="').concat(e,'"]'))).filter(function(e){var t=e;return!t.dataset.componentInitialized&&(t.dataset.componentInitialized=!0,!0)});Array.from(o).forEach(function(e){return u(n,e)})}(n,e[n])})},"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",Fn):Fn()},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","re
2commendations","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 d?o:d,l=Object.create(s.prototype);return i(l,"_invoke",function(e,i,o){var a,r,s,l=0,d=o||[],u=!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;!u&&l&&!o&&n<d.length;n++){var o,a=d[n],h=p.p,m=a[2];e>3?(o=m===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<m&&(o=e<3||a[0]>i||i>m)&&(a[4]=e,a[5]=i,p.n=m,r=0))}if(o||e>1)return c;throw u=!0,i}return function(o,d,m){if(l>1)throw TypeError("Generator is already running");for(u&&1===d&&h(d,m),r=d,s=m;(n=r<2?t:s)||!u;){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=(u=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:u}}}(e,a,r),!0),l}var c={};function d(){}function u(){}function p(){}n=Object.getPrototypeOf;var h=[][r]?n(n([][r]())):(i(n={},r,function(){return this}),n),m=p.prototype=d.prototype=Object.create(h);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,p):(e.__proto__=p,i(e,s,"GeneratorFunction")),e.prototype=Object.create(m),e}return u.prototype=p,i(m,"constructor",p),i(p,"constructor",u),u.displayName="GeneratorFunction",i(p,s,"GeneratorFunction"),i(m),i(m,s,"Generator"),i(m,r,function(){return this}),i(m,"toString",function(){return"[object Generator]"}),(e.exports=o=function(){return{w:l,m:f}},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 d(){"use strict";var t=o(),n=t.m(d),u=(Object.getPrototypeOf?Object.getPrototypeOf(n):n.__proto__).constructor;function p(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===u||"GeneratorFunction"===(t.displayName||t.name))}var h={throw:1,return:2,break:3,continue:3};function m(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=d=function(){return{wrap:function(e,n,i,o){return t.w(m(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)(m(e),t,n,i,o)},keys:l,values:c}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=d,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)}},3373:function(e,t){var n;!function(){"use strict";var i={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=r(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=r(t,n));return t}function r(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()}},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(d=0;d<e.length;d++){n=e[d][0],o=e[d][1],a=e[d][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(d--,1);var c=o();void 0!==c&&(t=c)}}return t}a=a||0;for(var d=e.length;d>0&&e[d-1][2]>a;d--)e[d]=e[d-1];e[d]=[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={7962: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 d=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(d)},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(1e3)});o=i.O(o)}();
3//# sourceMappingURL=home.9e7d89817ed7265b0654.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.