rated: Mon Jun 21 2021 15:27:10 GMT+0000 (Coordinated Universal Time) */ (()=>{var e={844:e=>{"use strict";e.exports=function(e){function t(){try{return void 0!==e.localStorage}catch(e){return!1}}return{name:"localStorageDriver",getValue:function(i){return t()?JSON.parse(e.localStorage.getItem(i)):null},setValue:function(i,n){t()&&e.localStorage.setItem(i,JSON.stringify(n))}}}},966:(e,t,i)=>{"use strict";const n=i(442),{getLocalWindow:a}=i(214),r={method:"POST"},o="fmscw_resp",s={name:"stubDriver - does nothing",getValue:()=>Promise.resolve(null),setValue:()=>Promise.resolve(!1)};e.exports={FMS:function(e,t){const i=t.storageDriver||s,l=t.url,u=["idfv","userid","subscriberid","emailhash","ifa"];function c(t){return n(t,e)}function d(e,t={}){return new Promise(i=>{const n=t;let o,s=!1;const c=n=>{const a=function(e,t){const i=Object.keys(e.identifiers);let n,a=i.sort((e,t)=>u.indexOf(e)>u.indexOf(t)?-1:1)[0];e.app.coppa&&(n="7777777777",e.identifiers&&e.identifiers.userid?a="userid":e.identifiers&&!e.identifiers.userid&&(e[a]=n));const r=e.app&&e.app.googledai?"imafw_fms_":"fms_",o=e.app&&e.app.googledai?"imafw__fw_vcid2":"_fw_vcid2";return{_fmscw:{origin:"error"},fms_id_ttl:t||3600,fms_params:i.reduce((t,i)=>(t[r+i]=void 0===n||"userid"===i?e.identifiers[i]:n,t),{[o]:e.identifiers[a],[r+"vcid2type"]:a})}}(e,t.errorResponseTTL);h(a,e),s=!0,console.error(n),o&&clearTimeout(o),i(a)};if(n.timeout&&"number"==typeof n.timeout){const e=a().AbortController?new AbortController:{signal:void 0,abort:()=>!1,available:!1};!1!==e.available?(o=setTimeout(()=>{e.abort()},n.timeout),n.signal=e.signal):o=setTimeout(()=>{c(new Error("FMS Lookup API request timeout exceeded."))},n.timeout)}const{timeout:d,errorResponseTTL:f,url:p,...v}=n;a().fetch(n.url||l,{...r,body:JSON.stringify(e),...v}).then(e=>e.json()).then(t=>{s||(o&&clearTimeout(o),h(t,e),i({_fmscw:{origin:"api"},...t}))}).catch(e=>{c(e)})})}function h(e,t){if(e.fms_id_ttl){const n=1e3*e.fms_id_ttl,a=Date.now()+n;try{i.setValue(o,{expires:a,params:t,value:e})}catch(e){console.error(e)}}}function f(e,t,i=null){if(!e&&!t)return!1;if(!e&&t)return!0;let n=!1;if(i&&Array.isArray(i))for(let a=0;a=e.expires?null:e:null}();let r;var s,h,p;return r=a?a.params&&(h=a.params,function(e,t){if(!t)return!0;const i=u;return Math.max(...Object.keys(e).map(e=>i.indexOf(e)))>Math.max(...Object.keys(t).map(e=>i.indexOf(e)))}((p=n).identifiers,h.identifiers)||f(h.app,p.app)||f(h.device,p.device,["lat"]))?await d(n,{...t,url:(s=t.url||l,s+(s.indexOf("?")>=0?"&":"?")+"v=".concat(Date.now()))}):{...a.value,_fmscw:{origin:"storage"}}:await d(n,t)},getReqParams:c,storageDriver:i,apiUrl:l,IDENTIFIER_KEYS:u}},storageDriverStub:s}},442:(e,t,i)=>{"use strict";const n=i(864);e.exports=function(e={},t={}){const i={},a=n([...Object.keys(e),...Object.keys(t)]);for(let n=0;n{"use strict";e.exports=function(e,t){if(!e||!e.cookie)return;const i=e.cookie.match(new RegExp("(^| )"+t+"=([^;]+)"));return i?i[2]:void 0}},856:e=>{"use strict";const t="imasdk.googleapis.com/js/sdkloader/ima3_dai.js";let i=0;e.exports={getDAI:function(e,n){if(0===i){if(void 0!==e.google&&e.google&&e.google.ima&&e.google.ima.dai)return i=1;let a=!1;void 0!==e.performance&&void 0!==e.performance.getEntriesByType&&(a=!!e.performance.getEntriesByType("resource").find(e=>e.name.indexOf(t)>=0)),!a&&n&&void 0!==e.performance&&void 0!==e.performance.getEntriesByType&&(a=!!n.performance.getEntriesByType("resource").find(e=>e.name.indexOf(t)>=0)),i=a?1:0}return i},DEFAULT_DAI:0,resetDai:function(){i=0}}},758:e=>{"use strict";e.exports=function(e){return e.split(".").slice(-2).join(".")}},214:(e,t,i)=>{"use strict";let n;e.exports={setLocalWindow:function(e={}){n=e},getLocalWindow:function(e){return e?n=e:n||"undefined"!=typeof window?n||(n=window):n=i.g,n}}},615:e=>{"use strict";e.exports={getNPAFlag:async function(e){return new Promise(t=>{e.cbsoptanon&&e.cbsoptanon.cmd?e.cbsoptanon.cmd.push(i=>{i.constants.VERSION.major>=1&&i.constants.VERSION.minor>=1?i.ot.targetingAllowed(e=>{t(!e)}):e.cbsoptanon.onAdsReady((e,i)=>{t(i.npaFlag)})}):t(1)})},DEFAULT_LAT:1}},921:(e,t,i)=>{"use strict";let n;e.exports={getWindow:function(e){if(e&&(n=e),!n)if("undefined"==typeof window)n=i.g;else try{window.top.location.origin,n=window.top}catch(e){try{window.parent.location.origin,n=window.parent}catch(e){n=window}}return n},setWindow:function(e={}){n=e}}},533:(e,t,i)=>{"use strict";const{FMS:n}=i(966),{getWindow:a}=i(921),{getLocalWindow:r}=i(214),o=i(73)(a(),r());r().FMS=n,a().fmscw=o,e.exports=o},73:(e,t,i)=>{"use strict";const n=i(442),{FMS:a}=i(966),r=i(844),o=i(457),{getNPAFlag:s,DEFAULT_LAT:l}=i(615),u=i(758),{getDAI:c,DEFAULT_DAI:d}=i(856),h="_pubcid";e.exports=function(e,t=null){let i={device:{lat:l},app:{bundle:"",googledai:d},identifiers:{}},f=!1;const p=async function(){const t=await s(e);i.device.lat=t?1:0,!t&&o(h)&&(i.identifiers.userid=o(e.document,h)),f=!0}(),v=a({app:{webhost:u(e.location.hostname),googledai:c(e,t),bundle:""},device:{ua:e.navigator.userAgent}},{storageDriver:r(e),url:"https://fms.viacomcbs.digital/lookup"}),g=v.getReqParams;return v.getReqParams=function(e){return g(n(e,i))},{...v,retrieve:async function(a,r){return f||await p,void 0!==a&&void 0!==a.app&&void 0!==a.app.googledai||(i.app.googledai=c(e,t)),v.retrieve(n(a,i),r)}}}},864:e=>{e.exports=function(e,t,i){if(!Array.isArray(e))throw new Error("expected an array for the first argument");if(null!=t&&"boolean"!=typeof t)throw new Error("expected a boolean, null or undefined for the second argument");if(null!=i&&"boolean"!=typeof i)throw new Error("expected a boolean, null or undefined for the third argument");if(!t&&i&&e[0]!==Object(e[0]))return function(e){for(var t={},i=e.length,n=0;n-1),n?n=!1:(o.push(u),r=u)}return o}}},t={};function i(n){var a=t[n];if(void 0!==a)return a.exports;var r=t[n]={exports:{}};return e[n](r,r.exports,i),r.exports}i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i(533)})(),define("libs/fms-cw-web.min",function(){}),define("common/s-vid",["fly/libs/uuid.v4"],function(){var e=document.cookie.match(/fly_vid=([a-z0-9-]+)/);CBSNEWS.frameElement?window.s_vid=CBSNEWS.tracking.visitorId=window.parent.CBSNEWS.tracking.visitorId||CBSNEWS.tracking.visitorId:CBSNEWS.tracking.visitorId||(e&&e[1]?window.s_vid=CBSNEWS.tracking.visitorId=e[1]:(window.s_vid=CBSNEWS.tracking.visitorId=uuid.v4(),CBSNEWS.features.executeWithConsent(["s_vid"],"performance",function(){document.cookie="fly_vid="+CBSNEWS.tracking.visitorId+";domain=.cbsnews.com;path=/;max-age=31536000"})))}),require(["libs/fms-cw-web.min","common/s-vid"],function(){CBSNEWS.features.executeIfEnabled(["freewheel","fmscw"],function(){CBSNEWS.frameElement&&(window.fmscw=window.parent.fmscw||window.fmscw);var e={};(CBSNEWS.tracking.visitorId||window.s_vid)&&(e.userid=CBSNEWS.tracking.visitorId||window.s_vid,CBSNEWS.features.getFeatureValue("fms-params")||CBSNEWS.features.setFeatureValue("fms-params",{_fw_vcid2:e.userid,fms_vcid2type:"userid",fms_userid:e.userid})),window.fmscw.retrieve({app:{coppa:0,googledai:0},identifiers:e},{timeout:CBSNEWS.features.getFeatureValue("fmscw")||1e3}).then(e=>CBSNEWS.features.setFeatureValue("fms-params",e.fms_params,{type:"session",maxAge:e.fms_id_ttl}))})}),define("video/fms",function(){}),function(){"use strict";var e={"hls.min":function(){return!!window.Hls||document.createElement("video").canPlayType("application/vnd.apple.mpegURL")},"window.CustomEvent":function(){return!(!window.CustomEvent||"object"==typeof window.CustomEvent)}};define("polyfill",{version:"1.0",load:function(t,i,n,a){if(!e)throw new Error("A polyfill config has not been setup");if(!e[t])throw new Error("A polyfill for "+t+" was not specified");a.isBuild||!0===e[t]()?n():i(["polyfills/"+t],function(e){n(e)})}})}(); /*! intercom.js | https://github.com/diy/intercom.js | Apache License (v2) */ var Intercom=function(){var e=function(){};e.createInterface=function(e){var t={on:function(t,i){void 0===this[e]&&(this[e]={}),this[e].hasOwnProperty(t)||(this[e][t]=[]),this[e][t].push(i)},off:function(t,i){void 0!==this[e]&&this[e].hasOwnProperty(t)&&r.removeItem(i,this[e][t])},trigger:function(t){if(void 0!==this[e]&&this[e].hasOwnProperty(t))for(var i=Array.prototype.slice.call(arguments,1),n=0;ne&&(i=n,t.apply(this,arguments))}},r.extend=function(e,t){if(void 0!==e&&e||(e={}),"object"==typeof t)for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e},r.removeItem=function(e,t){for(var i=t.length-1;i>=0;i--)t[i]===e&&t.splice(i,1);return t};var o=function(){var e=this,t=(new Date).getTime();this.origin=r.guid(),this.lastMessage=t,this.bindings=[],this.receivedIDs={},this.previousValues={};var i=function(){e._onStorageEvent.apply(e,arguments)};window.attachEvent?document.attachEvent("onstorage",i):window.addEventListener("storage",i,!1)};o.prototype._transaction=function(e){var t=this,n=!1,a=!1,r=null,o=function(){if(!n){var l=(new Date).getTime(),u=parseInt(i.getItem(c)||0);if(u&&l-u<1e3)return a||(t._on("storage",o),a=!0),void(r=window.setTimeout(o,20));n=!0,i.setItem(c,l),e(),s()}},s=function(){a&&t._off("storage",o),r&&window.clearTimeout(r),i.removeItem(c)};o()},o.prototype._cleanup_emit=r.throttle(100,function(){this._transaction(function(){for(var e=(new Date).getTime()-d,t=0,n=JSON.parse(i.getItem(l)||"[]"),a=n.length-1;a>=0;a--)n[a].timestamp0&&i.setItem(l,JSON.stringify(n))})}),o.prototype._cleanup_once=r.throttle(100,function(){var e=this;this._transaction(function(){var t,n=JSON.parse(i.getItem(u)||"{}"),a=((new Date).getTime(),0);for(t in n)e._once_expired(t,n)&&(delete n[t],a++);a>0&&i.setItem(u,JSON.stringify(n))})}),o.prototype._once_expired=function(e,t){if(!t)return!0;if(!t.hasOwnProperty(e))return!0;if("object"!=typeof t[e])return!0;var i=t[e].ttl||h,n=(new Date).getTime();return t[e].timestamp\/])[^[\/\\]*(?:(?:\\.|\[(?:\\.|[^\]\\]*)*\])[^[\\\/]*)*?\/[gimuy]*/,n=/[$\w]/;function a(e,t){for(;--t>=0&&/\s/.test(e[t]););return t}return function(r,o){var s=/.*/g,l=s.lastIndex=o++,u=s.exec(r)[0].match(i);if(u){var c=l+u[0].length,d=r[l=a(r,l)];if(l<0||~"[{(,;:?=|&!^~>%*/".indexOf(d))return c;if("."===d)"."===r[l-1]&&(o=c);else if("+"===d||"-"===d)(r[--l]!==d||(l=a(r,l))<0||!n.test(r[l]))&&(o=c);else if(~t.indexOf(d)){for(var h=l+1;--l>=0&&n.test(r[l]););~e.indexOf(r.slice(l+1,h))&&(o=c)}}return o}}(),S=function(e){var t,i,n=/"[^"\\]*(?:\\[\S\s][^"\\]*)*"|'[^'\\]*(?:\\[\S\s][^'\\]*)*'|`[^`\\]*(?:\\[\S\s][^`\\]*)*`/g,a=n.source+"|"+/(?:\breturn\s+|(?:[$\w\)\]]|\+\+|--)\s*(\/)(?![*\/]))/.source+"|"+/\/(?=[^*\/])[^[\/\\]*(?:(?:\[(?:\\.|[^\]\\]*)*\]|\\.)[^[\/\\]*)*?([^<]\/)[gim]*/.source,r=RegExp("[\\x00-\\x1F<>a-zA-Z0-9'\",;\\\\]"),o=/(?=[[\]()*+?.^$|])/g,s=n.source+"|"+/(\/)(?![*\/])/.source,l={"(":RegExp("([()])|"+s,"g"),"[":RegExp("([[\\]])|"+s,"g"),"{":RegExp("([{}])|"+s,"g")},u=["{","}","{","}",/{[^}]*}/,/\\([{}])/g,/\\({)|{/g,RegExp("\\\\(})|([[({])|(})|"+s,"g"),"{ }",/^\s*{\^?\s*([$\w]+)(?:\s*,\s*(\S+))?\s+in\s+(\S.*)\s*}/,/(^|[^\\]){=[\S\s]*?}/],c=void 0,d=[];function h(e){return e}function f(e,t){return t||(t=d),new RegExp(e.source.replace(/{/g,t[2]).replace(/}/g,t[3]),e.global?"g":"")}function p(e){if("{ }"===e)return u;var t=e.split(" ");if(2!==t.length||r.test(e))throw new Error('Unsupported brackets "'+e+'"');return(t=t.concat(e.replace(o,"\\").split(" ")))[4]=f(t[1].length>1?/{[\S\s]*?}/:u[4],t),t[5]=f(e.length>3?/\\({|})/g:u[5],t),t[6]=f(u[6],t),t[7]=RegExp("\\\\("+t[3]+")|([[({])|("+t[3]+")|"+s,"g"),t[8]=e,t}function v(e){return e instanceof RegExp?t(e):d[e]}function g(e){(e||(e="{ }"))!==d[8]&&(d=p(e),t="{ }"===e?h:f,d[9]=t(u[9])),c=e}return v.split=function(e,t,i){i||(i=d);var n,a,r,o,s,u,c=[],h=i[6],f=[],p="";for(a=r=h.lastIndex=0;n=h.exec(e);){if(u=h.lastIndex,o=n.index,a){if(n[2]){var v=n[2],g=l[v],y=1;for(g.lastIndex=u;n=g.exec(e);)if(n[1]){if(n[1]===v)++y;else if(!--y)break}else g.lastIndex=k(n.index,g.lastIndex,n[2]);h.lastIndex=y?e.length:g.lastIndex;continue}if(!n[3]){h.lastIndex=k(o,u,n[4]);continue}}n[1]||(m(e.slice(r,o)),r=h.lastIndex,(h=i[6+(a^=1)]).lastIndex=r)}return e&&ri+2&&(s="⁗"+f.length+"~",f.push(e.slice(i,n)),p+=e.slice(r,i)+s,r=n),n}},v.hasExpr=function(e){return d[4].test(e)},v.loopKeys=function(e){var t=e.match(d[9]);return t?{key:t[1],pos:t[2],val:d[0]+t[3].trim()+d[1]}:{val:e.trim()}},v.array=function(e){return e?p(e):d},Object.defineProperty(v,"settings",{set:function(e){var t;t=(e=e||{}).brackets,Object.defineProperty(e,"brackets",{set:g,get:function(){return c},enumerable:!0}),i=e,g(t)},get:function(){return i}}),v.settings="undefined"!=typeof riot&&riot.settings||{},v.set=g,v.skipRegex=E,v.R_STRINGS=n,v.R_MLCOMMS=/\/\*[^*]*\*+(?:[^*\/][^*]*\*+)*\//g,v.S_QBLOCKS=a,v.S_QBLOCK2=s,v}(),T=function(){var e={};function t(t,r){return t?(e[t]||(e[t]=function(e){var t=function(e){var t,i=S.split(e.replace(n,'"'),1),r=i.qblocks;if(i.length>2||i[0]){var o,l,u=[];for(o=l=0;o %s",e.riotData.tagName||"Unknown tag",this.tmpl),console.log(this.data))}t.hasExpr=S.hasExpr,t.loopKeys=S.loopKeys,t.clearCache=function(){e={}},t.errorHandler=null;var n=/\u2057/g,a=/\u2057(\d+)~/g,r=/^(?:(-?[_A-Za-z\xA0-\xFF][-\w\xA0-\xFF]*)|\u2057(\d+)~):/,o={"(":/[()]/g,"[":/[[\]]/g,"{":/[{}]/g};function s(e,t,i){if(e=e.replace(/\s+/g," ").trim().replace(/\ ?([[\({},?\.:])\ ?/g,"$1")){for(var n,a=[],s=0;e&&(n=e.match(r))&&!n.index;){var l,u,c=/,|([[{(])|$/g;for(e=RegExp.rightContext,l=n[2]?i[n[2]].slice(1,-1).trim().replace(/\s+/g," "):n[1];u=(n=c.exec(e))[1];)h(u,c);u=e.slice(0,n.index),e=RegExp.rightContext,a[s++]=d(u,1,l)}e=s?s>1?"["+a.join(",")+'].join(" ").trim()':a[0]:d(e,t)}return e;function h(t,i){var n,a=1,r=o[t];for(r.lastIndex=i.lastIndex;n=r.exec(e);)if(n[0]===t)++a;else if(!--a)break;i.lastIndex=a?e.length:r.lastIndex}}var l='"in this?this:'+("object"!=typeof window?"global":"window")+").",u=/[,{][\$\w]+(?=:)|(^ *|[^$\w\.{])(?!(?:typeof|true|false|null|undefined|in|instanceof|is(?:Finite|NaN)|void|NaN|new|Date|RegExp|Math)(?![$\w]))([$_A-Za-z][$\w]*)/g,c=/^(?=(\.[$\w]+))\1(?:[^.[(]|$)/;function d(e,t,i){var n;return e=e.replace(u,function(e,t,i,a,r){return i&&(a=n?0:a+e.length,"this"!==i&&"global"!==i&&"window"!==i?(e=t+'("'+i+l+i,a&&(n="."===(r=r[a])||"("===r||"["===r)):a&&(n=!c.test(r.slice(a)))),e}),n&&(e="try{return "+e+"}catch(e){E(e,this)}"),i?e=(n?"function(){"+e+"}.call(this)":"("+e+")")+'?"'+i+'":""':t&&(e="function(v){"+(n?e.replace("return ","v="):"v=("+e+")")+';return v||v===0?v:""}.call(this)'),e}return t.version=S.version="v3.0.8",t}(),w=function(e){e=e||{};var t={},i=Array.prototype.slice;return Object.defineProperties(e,{on:{value:function(i,n){return"function"==typeof n&&(t[i]=t[i]||[]).push(n),e},enumerable:!1,writable:!1,configurable:!1},off:{value:function(i,n){if("*"!=i||n)if(n)for(var a,r=t[i],o=0;a=r&&r[o];++o)a==n&&r.splice(o--,1);else delete t[i];else t={};return e},enumerable:!1,writable:!1,configurable:!1},one:{value:function(t,i){return e.on(t,function n(){e.off(t,n),i.apply(e,arguments)})},enumerable:!1,writable:!1,configurable:!1},trigger:{value:function(n){var a,r,o,s=arguments,l=arguments.length-1,u=new Array(l);for(o=0;o'+t+"","application/xml").documentElement,!0);e.appendChild(n)}else e.innerHTML=t}function U(e,t){if(e)for(var i;i=d.exec(e);)t(i[1].toLowerCase(),i[2]||i[3]||i[4])}function V(){return document.createDocumentFragment()}function F(e,t,i){e.insertBefore(t,i.parentNode&&i)}function H(e){return Object.keys(e).reduce(function(t,i){return t+" "+i+": "+e[i]+";"},"")}function W(e,t,i){if(e){var n,a=t(e,i);if(!1===a)return;for(e=e.firstChild;e;)n=e.nextSibling,W(e,t,a),e=n}}var j=Object.freeze({$$:N,$:t,createDOMPlaceholder:M,mkEl:v,setAttr:g,toggleVisibility:D,getAttr:R,remAttr:O,setInnerHTML:B,walkAttrs:U,createFrag:V,safeInsert:F,styleObjectToString:H,walkNodes:W});function $(e){return C(e)||null===e}function K(e){return $(e)||""===e}function q(e){return"function"==typeof e}function G(e){return e&&"object"==typeof e}function z(e){var t=e.ownerSVGElement;return!!t||null===t}function Y(e){return Array.isArray(e)||e instanceof Array}function Q(e){return f.test(e)}function X(e){return"string"==typeof e}var Z=Object.freeze({isBlank:K,isFunction:q,isObject:G,isSvg:z,isWritable:_,isArray:Y,isBoolAttr:Q,isNil:$,isString:X,isUndefined:C});function J(e,t){return-1!==e.indexOf(t)}function ee(e,t){for(var i=e?e.length:0,n=0;n|>([\S\s]*?)<\/yield\s*>|>)/gi,fe=/]*)['"]\s*>([\S\s]*?)<\/yield\s*>/gi,pe=/|>([\S\s]*?)<\/yield\s*>)/gi,ve={tr:"tbody",th:"tr",td:"tr",col:"colgroup"},ge=p&&p<10?/^(?:t(?:body|head|foot|[rhd])|caption|col(?:group)?|opt(?:ion|group))$/:/^(?:t(?:body|head|foot|[rhd])|caption|col(?:group)?)$/;function ye(e,i,n){var a=e&&e.match(/^\s*<([-\w]+)/),r=a&&a[1].toLowerCase(),o=v(n?"svg":"div");return e=function(e,t){if(!de.test(e))return e;var i={};return t=t&&t.replace(fe,function(e,t,n){return i[t]=i[t]||n,""}).trim(),e.replace(pe,function(e,t,n){return i[t]||n||""}).replace(he,function(e,i){return t||i||""})}(e,i),ge.test(r)?o=function(e,i,n){var a="o"===n[0],r=a?"select>":"table>";if(e.innerHTML="<"+r+i.trim()+"=y.length,O=_&&N||!_&&!D||!f[w];O?((D=Je(l,{parent:t,isLoop:!0,isAnonymous:v,tagName:s,root:e.cloneNode(v),item:x,index:w},p)).mount(),R?function(e,t){t?Se.call(this,e):e.appendChild(this.root)}.apply(D,[u||k,g]):function(e,t,i){i?Se.apply(this,[e,t]):F(e,this.root,t.root)}.apply(D,[k,f[w],g]),R||y.splice(w,0,x),f.splice(w,0,D),d&&se(t.tags,s,D,!0)):M!==w&&_&&((a||J(r,y[M]))&&(function(e,t,i){i?He.apply(this,[e,t]):F(e,this.root,t.root)}.apply(D,[k,f[w],g]),f.splice(w,0,f.splice(M,1)[0]),y.splice(w,0,y.splice(M,1)[0])),i.pos&&(D[i.pos]=w),!d&&D.tags&&function(e){var t=this;ee(Object.keys(this.tags),function(i){Fe.apply(t.tags[i],[i,e])})}.call(D,w)),P(D.__,{item:x,index:w,parent:t}),A[w]=C,O||D.update(x)}else E++}),function(e,t,i){for(var n=t.length,a=e.length-i;n>a;)n--,je.apply(t[n],[t,n])}(r,f,E),y=A.slice(),k.insertBefore(u,c)}},i.unmount=function(){ee(f,function(e){e.unmount()})},i}var Ke={init:function(e,t,i,n){return this.dom=e,this.attr=i,this.rawValue=n,this.parent=t,this.hasExp=T.hasExpr(n),this},update:function(){var e=this.value,t=this.parent&&ke(this.parent),i=this.dom.__ref||this.tag||this.dom;this.value=this.hasExp?T(this.rawValue,this.parent):this.rawValue,!K(e)&&t&&Ee(t.refs,e,i),!K(this.value)&&X(this.value)?(t&&se(t.refs,this.value,i,null,this.parent.__.index),this.value!==e&&g(this.dom,this.attr,this.value)):O(this.dom,this.attr),this.dom.__ref||(this.dom.__ref=i)},unmount:function(){var e=this.tag||this.dom,t=this.parent&&ke(this.parent);!K(this.value)&&t&&Ee(t.refs,this.value,e)}};function qe(e,t,i,n){return L(Ke).init(e,t,i,n)}function Ge(e){ee(e,function(e){e.unmount?e.unmount(!0):e.tagName?e.tag.unmount(!0):e.unmount&&e.unmount()})}var ze={init:function(e,t,i){O(e,"if"),P(this,{tag:t,expr:i,stub:M(),pristine:e});var n=e.parentNode;return n.insertBefore(this.stub,e),n.removeChild(e),this},update:function(){this.value=T(this.expr,this.tag),this.stub.parentNode&&(this.value&&!this.current?(this.current=this.pristine.cloneNode(!0),this.stub.parentNode.insertBefore(this.current,this.stub),this.expressions=Qe.apply(this.tag,[this.current,!0])):!this.value&&this.current&&(this.unmount(),this.current=null,this.expressions=[]),this.value&&xe.call(this.tag,this.expressions))},unmount:function(){this.current&&(this.current._tag?this.current._tag.unmount():this.current.parentNode&&this.current.parentNode.removeChild(this.current)),Ge(this.expressions||[])}};function Ye(e,t,i){return L(ze).init(e,t,i)}function Qe(e,t){var i=this,n=[];return W(e,function(a){var r,o,s=a.nodeType;if((t||a!==e)&&(3===s&&"STYLE"!==a.parentNode.tagName&&T.hasExpr(a.nodeValue)&&n.push({dom:a,expr:a.nodeValue}),1===s)){var l="VIRTUAL"===a.tagName;if(r=R(a,"each"))return l&&g(a,"loopVirtual",!0),n.push($e(a,i,r)),!1;if(r=R(a,"if"))return n.push(Ye(a,i,r)),!1;if((r=R(a,"data-is"))&&T.hasExpr(r))return n.push({isRtag:!0,expr:r,dom:a,attrs:[].slice.call(a.attributes)}),!1;if(o=le(a),l&&(R(a,"virtualized")&&a.parentElement.removeChild(a),o||R(a,"virtualized")||R(a,"loopVirtual")||(o={tmpl:a.outerHTML})),o&&(a!==e||t)){var u=R(a,"data-is");if(!l||u)return u&&l&&re('Virtual tags shouldn\'t be used together with the "data-is" attribute - https://github.com/riot/riot/issues/2511'),n.push(be(o,{root:a,parent:i},a.innerHTML,i)),!1;g(a,"virtualized",!0);var c=Je({tmpl:a.outerHTML},{root:a,parent:i},a.innerHTML);n.push(c)}Xe.apply(i,[a,a.attributes,function(e,t){t&&n.push(t)}])}}),n}function Xe(e,t,i){var n=this;ee(t,function(t){if(!t)return!1;var a,r=t.name,s=Q(r);J(o,r)&&"yield"!==e.tagName.toLowerCase()?a=qe(e,n,r,t.value):T.hasExpr(t.value)&&(a={dom:e,expr:t.value,attr:r,bool:s}),i(t,a)})}function Ze(e){var t=this.__,i=t.isAnonymous,n=t.skipAnonymous;ne(this,"isMounted",e),i&&n||(e?this.trigger("mount"):(this.trigger("unmount"),this.off("*"),this.__.wasCreated=!1))}function Je(e,t,i){void 0===e&&(e={}),void 0===t&&(t={});var n,r=t.context||{},o=t.opts||{},s=t.parent,l=t.isLoop,u=!!t.isAnonymous,c=I.skipAnonymousTags&&u,d=t.item,h=t.index,f=e.tmpl,p=[],v=t.root,y=t.tagName||ue(v),m="virtual"===y,k=!m&&!f;return k||l&&u?n=v:(m||(v.innerHTML=""),n=ye(f,i,z(v))),c||w(r),e.name&&v._tag&&v._tag.unmount(!0),ne(r,"__",{impl:e,root:v,skipAnonymous:c,implAttrs:[],isAnonymous:u,instAttrs:[],innerHTML:i,tagName:y,index:h,isLoop:l,isInline:k,item:d,parent:s,listeners:[],virts:[],wasCreated:!1,tail:null,head:null}),[["isMounted",!1],["_riot_id",ie()],["root",v],["opts",o,{writable:!0,enumerable:!0}],["parent",s||null],["tags",{}],["refs",{}],["update",function(e){return function(e,t,i){var n=e.__,a={},r=e.isMounted&&!n.skipAnonymous;return n.isAnonymous&&n.parent&&P(e,n.parent),P(e,t),Ce.apply(e,[n.isLoop,n.parent,n.isAnonymous,a,n.instAttrs]),r&&e.isMounted&&q(e.shouldUpdate)&&!e.shouldUpdate(t,a)||(P(e.opts,a),r&&e.trigger("update",t),xe.call(e,i),r&&e.trigger("updated")),e}(r,e,p)}],["mixin",function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return function(e){for(var t=[],i=arguments.length-1;i-- >0;)t[i]=arguments[i+1];return ee(t,function(t){var i,n,a=[],r=["init","__proto__"];t=X(t)?Oe(t):t,i=q(t)?new t:t;var o=Object.getPrototypeOf(i);do{a=a.concat(Object.getOwnPropertyNames(n||i))}while(n=Object.getPrototypeOf(n||i));ee(a,function(t){if(!J(r,t)){var n=x(i,t)||x(o,t),a=n&&(n.get||n.set);!e.hasOwnProperty(t)&&a?Object.defineProperty(e,t,n):e[t]=q(i[t])?i[t].bind(e):i[t]}}),i.init&&i.init.bind(e)(e.opts)}),e}.apply(void 0,[r].concat(e))}],["mount",function(){return function(e,t,i,n){var a=e.__,r=a.root;r._tag=e,Xe.apply(a.parent,[r,r.attributes,function(t,i){!a.isAnonymous&&Ke.isPrototypeOf(i)&&(i.tag=e),t.expr=i,a.instAttrs.push(t)}]),U(a.impl.attrs,function(e,t){a.implAttrs.push({name:e,value:t})}),Xe.apply(e,[r,a.implAttrs,function(e,t){t?i.push(t):g(r,e.name,e.value)}]),Ce.apply(e,[a.isLoop,a.parent,a.isAnonymous,n,a.instAttrs]);var o=Oe("__global_mixin");if(o&&!a.skipAnonymous)for(var s in o)o.hasOwnProperty(s)&&e.mixin(o[s]);if(a.impl.fn&&a.impl.fn.call(e,n),a.skipAnonymous||e.trigger("before-mount"),ee(Qe.apply(e,[t,a.isAnonymous]),function(e){return i.push(e)}),e.update(a.item),!a.isAnonymous&&!a.isInline)for(;t.firstChild;)r.appendChild(t.firstChild);if(ne(e,"root",r),!a.skipAnonymous&&e.parent){var l=ke(e.parent);l.one(l.isMounted?"updated":"mount",function(){Ze.call(e,!0)})}else Ze.call(e,!0);return e.__.wasCreated=!0,e}(r,n,p,o)}],["unmount",function(e){return function(e,t,i){var n=e.__,r=n.root,o=a.indexOf(e),s=r.parentNode;if(n.skipAnonymous||e.trigger("before-unmount"),U(n.impl.attrs,function(e){te(e,"riot-")&&(e=e.slice("riot-".length)),O(r,e)}),e.__.listeners.forEach(function(e){Object.keys(e["__riot-events__"]).forEach(function(t){e.removeEventListener(t,e["__riot-events__"][t])})}),-1!==o&&a.splice(o,1),n.parent&&!n.isAnonymous){var l=ke(n.parent);n.isVirtual?Object.keys(e.tags).forEach(function(t){return Ee(l.tags,t,e.tags[t])}):Ee(l.tags,n.tagName,e)}return e.__.virts&&ee(e.__.virts,function(e){e.parentNode&&e.parentNode.removeChild(e)}),Ge(i),ee(n.instAttrs,function(e){return e.expr&&e.expr.unmount&&e.expr.unmount()}),t?B(r,""):s&&s.removeChild(r),n.onUnmount&&n.onUnmount(),e.isMounted||Ze.call(e,!0),Ze.call(e,!1),delete r._tag,e}(r,e,p)}]].reduce(function(e,t){var i=t[0],n=t[1],a=t[2];return ne(r,i,n,a),e},P(r,d))}function et(e,t,i,n){var o,s=r[t],l=r[t].class,u=n||(l?L(l.prototype):{}),c=e._innerHTML=e._innerHTML||e.innerHTML,d=P({root:e,opts:i,context:u},{parent:i?i.parent:null});return s&&e&&(o=Je(s,d,c)),o&&o.mount&&(o.mount(!0),J(a,o)||a.push(o)),o}var tt=I,it={tmpl:T,brackets:S,styleManager:b,vdom:a,styleNode:b.styleNode,dom:j,check:Z,misc:oe,tags:Object.freeze({arrayishAdd:se,getTagName:ue,inheritParentProps:ce,mountTo:et,selectTags:_e,arrayishRemove:Ee,getTag:le,initChildTag:be,moveChildTag:Fe,makeReplaceVirtual:Te,getImmediateCustomParentTag:ke,makeVirtual:Se,moveVirtual:He,unmountAll:Ge,createIfDirective:Ye,createRefDirective:qe})},nt=Pe,at=Le,rt=Ie,ot=Ne,st=Oe,lt=Be,ut=Ue,ct=w,dt=P({},Ve,{observable:w,settings:tt,util:it});e.settings=tt,e.util=it,e.Tag=nt,e.tag=at,e.tag2=rt,e.mount=ot,e.mixin=st,e.update=lt,e.unregister=ut,e.version="v3.13.2",e.observable=ct,e.default=dt,Object.defineProperty(e,"__esModule",{value:!0})}(t)},function(e,t,i){var n=i(41),a=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===a}:function(e){return"function"==typeof e}},function(e,t,i){var n,a;n=[t,i(0)],void 0===(a=function(e,t){"use strict";var i;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t=(i=t)&&i.__esModule?i:{default:i},window.location.hash;var n=!!CBSNEWS.features.getFeatureValue("debug")||/development/.test(window.location.hash),a=new class{constructor(){this._broker={},t.default.observable(this._broker)}on(e,t){this._broker.on(e,t)}off(e,t){this._broker.off(e,t)}one(e,t){this._broker.one(e,t)}trigger(){var e=[].slice.call(arguments);n&&window.console&&console.log('triggered: "'+e[0]+'" with payload:\n',e[1]),setTimeout(()=>{try{this._broker.trigger.apply(this._broker,e)}catch(t){window.console&&console.error(e,t)}},0)}};e.default=a}.apply(t,n))||(e.exports=a)},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,i){(function(t){var i=function(e){return e&&e.Math==Math&&e};e.exports=i("object"==typeof globalThis&&globalThis)||i("object"==typeof window&&window)||i("object"==typeof self&&self)||i("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,i(37))},function(e,t,i){var n=i(3);e.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(e,t,i){var n=i(22),a=i(39);e.exports=function(e){if("Function"===n(e))return a(e)}},function(e,t,i){var n=i(4),a=i(48),r=i(8),o=i(50),s=i(45),l=i(44),u=a("wks"),c=n.Symbol,d=c&&c.for,h=l?c:c&&c.withoutSetter||o;e.exports=function(e){if(!r(u,e)||!s&&"string"!=typeof u[e]){var t="Symbol."+e;s&&r(c,e)?u[e]=c[e]:u[e]=l&&d?d(t):h(t)}return u[e]}},function(e,t,i){var n=i(6),a=i(49),r=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return r(a(e),t)}},function(e,t,i){var n=i(5),a=i(51),r=i(53),o=i(11),s=i(24),l=TypeError,u=Object.defineProperty,c=Object.getOwnPropertyDescriptor;t.f=n?r?function(e,t,i){if(o(e),t=s(t),o(i),"function"==typeof e&&"prototype"===t&&"value"in i&&"writable"in i&&!i.writable){var n=c(e,t);n&&n.writable&&(e[t]=i.value,i={configurable:"configurable"in i?i.configurable:n.configurable,enumerable:"enumerable"in i?i.enumerable:n.enumerable,writable:!1})}return u(e,t,i)}:u:function(e,t,i){if(o(e),t=s(t),o(i),a)try{return u(e,t,i)}catch(e){}if("get"in i||"set"in i)throw l("Accessors not supported");return"value"in i&&(e[t]=i.value),e}},function(e,t,i){var n=i(1),a=i(41),r=a.all;e.exports=a.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===r}:function(e){return"object"==typeof e?null!==e:n(e)}},function(e,t,i){var n=i(10),a=String,r=TypeError;e.exports=function(e){if(n(e))return e;throw r(a(e)+" is not an object")}},function(e,t,i){var n=i(21),a=Function.prototype.call;e.exports=n?a.bind(a):function(){return a.apply(a,arguments)}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,i){var n=i(80),a=i(40);e.exports=function(e){return n(a(e))}},function(e,t){e.exports=!1},function(e,t,i){var n=i(1),a=i(9),r=i(85),o=i(27);e.exports=function(e,t,i,s){s||(s={});var l=s.enumerable,u=void 0!==s.name?s.name:t;if(n(i)&&r(i,u,s),s.global)l?e[t]=i:o(t,i);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=i:a.f(e,t,{value:i,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},function(e,t,i){var n=i(4),a=i(1);e.exports=function(e,t){return arguments.length<2?function(e){return a(e)?e:void 0}(n[e]):n[e]&&n[e][t]}},function(e,t,i){var n,a=i(11),r=i(95),o=i(32),s=i(31),l=i(97),u=i(52),c=i(30)("IE_PROTO"),d=function(){},h=function(e){return"