1(()=>{"use strict";var t={};(()=>{var e=t;function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.utils=e.embed=void 0;var o=["loop","replay"],a=function(t,e){return"boolean"==typeof t?null:"".concat(e," must be a boolean")},n=function(t,e){return"string"==typeof t&&t.length?null:"".concat(e," must be a (non-empty) string")},i=[{property:"containerId",validator:function(t,e){return"string"!=typeof t?"".concat(e," must be a string"):document.getElementById(t)?null:"container id '".concat(t,"' does not exist")},required:!0},{property:"mgid",validator:n,required:!0},{property:"appName",validator:n},{property:"channel",validator:n},{property:"ui",validator:a,defaultValue:!0},{property:"autoplay",validator:a,defaultValue:!0},{property:"muted",validator:a,defaultValue:!1},{property:"allowFullscreen",validator:a,defaultValue:!0},{property:"waitForConsent",validator:a},{property:"optanonConsent",validator:function(t,e){return["string","number"].includes(r(t))?null:"".concat(e," must be a string or a number")}},{property:"height",validator:n},{property:"width",validator:n},{property:"endContentStrategy",validator:function(t,e){var r=o.join("/");return"string"!=typeof t?"".concat(e," must be one of ").concat(r):o.includes(t)?null:"".concat(e," '").concat(t,"' is not a valid content strategy, possible values: ").concat(r)},defaultValue:"replay"},{property:"caid",validator:n},{property:"csid",validator:n},{property:"TPZadRuleId",validator:n},{property:"playerProfile",validator:n}],l=function(t){var e=new Map,r=[];return t?(i.forEach((function(o){var a=t[o.property];if(void 0===a)c(e,o,r);else{var n=o.validator(a,o.property);n?r.push(n):e.set(o.property,a.toString())}})),t.waitForConsent&&void 0===t.optanonConsent&&r.push("Missing consent flags while waiting for consent is enforced"),{errors:r,validatedConfig:e}):{errors:["No config was provided"],validatedConfig:e}},c=function(t,e,r){e.required||void 0===e.defaultValue?e.required&&r.push("".concat(e.property," is required")):t.set(e.property,e.defaultValue.toString())},u=document.currentScript,s=new URL(u.src).origin,d={validateConfiguration:l};e.utils=d;e.embed=function(t){var e=function(t){var e=l(t),r=e.validatedConfig,o=e.errors;if(o.length)return o.forEach((function(t){return console.warn(t)})),void console.warn("Embed configuration object is not valid, please check errors above");var a=document.getElementById(r.get("containerId")),n=document.createElement("iframe"),i="".concat(document.location.host).concat(document.location.pathname),c="".concat(s,"/embed/").concat(t.mgid),u=new URL(c);u.searchParams.set("pageURL",i),u.searchParams.set("autoplay",r.get("autoplay")),u.searchParams.set("ui",r.get("ui")),u.searchParams.set("muted",r.get("muted")),u.searchParams.set("endContentStrategy",r.get("endContentStrategy"));["csid","caid","TPZadRuleId","optanonConsent","appName","channel","playerProfile"].forEach((function(t){r.has(t)&&u.searchParams.set(t,r.get(t))})),n.setAttribute("src",u.toString());var d=r.get("allowFullscreen");n.setAttribute("allowfullscreen",d),n.setAttribute("webkitallowfullscreen",d),n.setAttribute("mozallowfullscreen",d),r.has("height")&&r.has("width")&&(n.style.width=r.get("width"),n.style.height=r.get("height")),n.style.border="0px",a.innerHTML="",a.appendChild(n)};Array.isArray(t)?t.forEach(e):e(t)}})(),window.Paramount=t})();
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.