/*! For license information please see hls_video.js.LICENSE.txt */ var __webpack_modules__={3:(t,e,r)=>{r.d(e,{elemAppend:()=>f,elemBind:()=>L,elemCancelFullscreen:()=>R,elemFromObject:()=>d,elemHeight:()=>b,elemInDom:()=>S,elemRemove:()=>g,elemRequestFullscreen:()=>k,elemStyle:()=>m,elemUnbind:()=>A,elemWidth:()=>T,inUserEventContext:()=>I,pageLoaded:()=>s.pageLoaded,safeRequestAnimationFrame:()=>C});var i,n=r(4),s=(r(6),r(8)),a=r(9),o=r(12),l=(r(19),r(20),r(26)),u=r(16),c=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},h=(u.Wistia,(0,a.cachedDetect)()),d=function(t){if((0,n.isArray)(t)){for(var e=[],r=0;r1?e-1:0),i=1;i3&&void 0!==arguments[3]&&arguments[3],n=function(i){(i=i||window.event).pageX||i.pageY||!i.clientX&&!i.clientY||(i.pageX=i.clientX+D(),i.pageY=i.clientY+_()),i.preventDefault||(i.preventDefault=function(){i.returnValue=!1}),i.stopPropagation||(i.stopPropagation=function(){i.cancelBubble=!0}),null==i.which&&(i.which=null!=i.charCode?i.charCode:i.keyCode),null==i.which&&null!=i.button&&(1&i.button?i.which=1:2&i.button?i.which=3:4&i.button?i.which=2:i.which=0),i.target||i.srcElement&&(i.target=i.srcElement),i.target&&3===i.target.nodeType&&(i.target=i.target.parentNode);for(var n=arguments.length,s=new Array(n>1?n-1:0),a=1;a3&&void 0!==arguments[3]&&arguments[3];if(null!=t&&null!=t._wistiaElemId&&null!=r&&r._wistiaBindId){var n=w(t,e,r),s=u.Wistia._elemBind[n];return s&&(t.removeEventListener(e,s,i),s.elem=null,s.event=null),delete u.Wistia._elemBind[n]}},w=function(t,e,r){return t._wistiaElemId=t._wistiaElemId||(0,l.seqId)("wistia_elem_"),r._wistiaBindId=r._wistiaBindId||(0,l.seqId)("wistia_bind_"),"".concat(t._wistiaElemId,".").concat(e,".").concat(r._wistiaBindId)},k=function(t){return t.requestFullscreen?t.requestFullscreen():t.webkitEnterFullscreen?new Promise((function(e){t.webkitEnterFullscreen(),e()})):(o.wlog.notice("no requestFullscreen functionality detected"),Promise.resolve())},R=function(t){return document.exitFullscreen?document.exitFullscreen():t&&t.webkitExitFullscreen?new Promise((function(e){t.webkitExitFullscreen(),e()})):(o.wlog.notice("no cancelFullscreen functionality detected"),Promise.resolve())},_=function(t){var e=document.body,r=document.documentElement;if(null==t)return r&&r.scrollTop||e&&e.scrollTop||0;e&&(e.scrollTop=t),r&&(r.scrollTop=t)},D=function(t){var e=document.body,r=document.documentElement;if(null==t)return r&&r.scrollLeft||e&&e.scrollLeft||0;e&&(e.scrollLeft=t),r&&(r.scrollLeft=t)},C=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)})(t)},I=function(){return!!i};["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((function(t){L(document,t,(function(t){i=t,Date.now(),setTimeout((function(){i===t&&(i=void 0)}),0)}),!h.passiveSupported||{capture:!0,passive:!0})}))},4:(t,e,r)=>{r.d(e,{assign:()=>i.assign,cast:()=>p,clone:()=>c,eachLeaf:()=>O,except:()=>T,filter:()=>A,getDeep:()=>h,isArray:()=>k,isEmpty:()=>P,isObject:()=>_,merge:()=>a,only:()=>E,select:()=>b,setAndPreserveUndefined:()=>f,setDeep:()=>d,sort:()=>L,unsetDeep:()=>m});var i=r(5),n=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},s=Array.prototype.slice,a=function(t){if(0==(arguments.length<=1?0:arguments.length-1))return t;for(var e=0;e<(arguments.length<=1?0:arguments.length-1);e++)o(t,e+1<1||arguments.length<=e+1?void 0:arguments[e+1]);return t},o=function(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u;if(k(e)){k(t)||(t=[]);for(var s=0;s3&&void 0!==arguments[3])||arguments[3],n=(e="string"==typeof e?e.split("."):s.call(e)).pop();null!=(t=h(t,e,!0))&&(_(t)||k(t))&&null!=n&&(i&&null==r?delete t[n]:t[n]=r)},m=function(t,e){return d(t,e)},p=function(t){return null==t?t:_(t)||k(t)?y(t):v("".concat(t),t)},v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return/^-?[1-9]\d*?$/.test(t)?parseInt(t,10):"0"===t||"-0"===t?0:/^-?\d*\.\d+$/.test(t)?parseFloat(t):!!/^true$/i.test(t)||!/^false$/i.test(t)&&e},y=function(t){return o(t,t,(function(t){return"string"==typeof t?v(t):t}),(function(){return!1}))},E=function(t,e){for(var r={},i={},n=0;nu[1]){o=!1;break}}else if(u instanceof RegExp){if(!u.test(a[l])){o=!1;break}}else if(u instanceof S){for(var c=!1,h=0;h0;){var s=i.shift().split(/\s+/),a=s[0],o=s[1];if(o="desc"===o?-1:1,t[a]{r.d(e,{assign:()=>n});var i=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},n=function(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),i=1;i{r(7)},7:(t,e,r)=>{r.d(e,{poll:()=>i});var i=function(t,e,r,i,n){var s=null,a=(new Date).getTime(),o=function(){(new Date).getTime()-a>i?"function"==typeof n&&n():t()?e():(clearTimeout(s),s=setTimeout(o,r))};s=setTimeout(o,1)}},8:(t,e,r)=>{r.d(e,{pageLoaded:()=>i});var i=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4e3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window;if(/loaded|complete/.test(r.readyState))setTimeout(t,0);else{var n=function(){i.removeEventListener("load",s,!1)},s=function(){clearTimeout(a),n(),t()};i.addEventListener("load",s,!1);var a=setTimeout((function(){n(),t()}),e)}}},9:(t,e,r)=>{r.d(e,{cachedDetect:()=>U});var i,n=r(10),s=r(11),a=navigator.userAgent,o=null,l=/(webkit)[ /]([^\s]+)/i,u=/OPR\/([^\s]+)/i,c=/(edge)\/(\d+(?:\.\d+)?)/i,h=/(mozilla)(?:.*? rv:([^\s)]+))?/i,d=/(android) ([^;]+)/i,f=/(iphone)/i,g=/(Windows Phone OS (\d+(?:\.\d+)?))/,m=/OS (\d+)_(\d+)/i,p=/(firefox)/i,v=/Mobile VR/i,y=/Version\/([^\s]+)/i,E=function(){return(b()[1]||"webkit").toLowerCase()},T=function(){return b()[2]},b=function(){var t;return(t=a.match(c))||(t=a.match(l))||(t=a.match(u))?t:t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=a.match(h))||[]},S=function(){var t=a.match(d);return null!=t&&{version:t[2]}},L=function(){return f.test(a)},A=function(){return C()>0||S()||k()},w=function(){try{var t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!A()},k=function(){return/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1},R=function(){return l.test(a)&&!/chrome/i.test(a)&&!k()&&!L()},_=function(){return!(!/Chrome/.test(a)||!/Google Inc/.test(navigator.vendor))&&{version:D()}},D=function(){var t=a.match(/\bChrome\/([^\s]+)/);return t&&t[1]},C=function(){var t=a.match(m),e=a.match(y);return null!=t?parseFloat("".concat(t[1],".").concat(t[2])):null!=e&&e[1]&&k()?parseFloat(e[1]):0},I=function(){return c.test(a)},P=function(){return p.test(a)},x=function(){var t=document.createElement("video"),e=!1;try{if(t.canPlayType){var r='video/mp4; codecs="avc1.42E01E';(e={}).h264=!!t.canPlayType("".concat(r,'"'))||!!t.canPlayType("".concat(r,', mp4a.40.2"')),e.webm=!!t.canPlayType('video/webm; codecs="vp9, vorbis"'),e.nativeHls=!!t.canPlayType("application/vnd.apple.mpegURL")}}catch(t){e={ogg:!1,h264:!1,webm:!1,nativeHls:!1}}return e},O=function(){try{return"localStorage"in n.root&&null!=n.root.localStorage}catch(t){return!1}},M=["WebKit","Moz","O","Ms",""],F=function(){for(var t=0;t=32,s=t&&T()>=75&&S(),o=e&&T()>=65,l=e&&T()>=67&&S(),c=r&&T()>=18,h=i&&T()>=19;return n||s||o||l||c||h},U=function(){return o||(o=$())},$=function(){var t,e={browser:{version:T()},edge:I(),firefox:P(),gearvr:v.test(a),android:S(),oldandroid:S()&&parseFloat(S().version)<4.1,iphone:L(),ipad:k(),safari:R(),chrome:_(),winphone:{version:g.test(a)[2]},ios:{version:C()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=n.root.devicePixelRatio&&n.root.devicePixelRatio>1,hoverIsNatural:w(),touchScreen:A(),video:x(),mediaSource:n.root.MediaSource&&n.root.MediaSource.isTypeSupported("".concat('video/mp4; codecs="avc1.42E01E',', mp4a.40.2"')),nativeHls:(L()||k()||R())&&x().nativeHls,localstorage:O(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:(t=/webkit|mozilla|edge/.test(E()),!!(L()||k()||S())||Boolean(t&&x().h264&&Object.defineProperties)),mutationObserver:F(),callingPlayRequiresEventContext:C()>0||S()||R(),passiveSupported:N(),webp:B(),performanceMeasure:(0,s.hasPerformanceMeasureSupport)()};return e.browser[E()]=!0,e}},10:(t,e,r)=>{var i;r.d(e,{root:()=>n});try{(i=self).self!==i&&void 0!==i.self&&"undefined"!=typeof window&&(i=window)}catch(t){i="undefined"!=typeof globalThis?globalThis:window}var n=i},11:(t,e,r)=>{r.d(e,{hasPerformanceMeasureSupport:()=>i});var i=function(){var t=window.performance;return Boolean(t)&&Boolean(t.measure)}},12:(t,e,r)=>{r.d(e,{wlog:()=>p});var i=r(13),n=r(16);function s(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r200&&(i=i.slice(0,200))}catch(t){i="could not serialize"}return i},c.persistLine=function(t){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(t):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(t))},c.log=function(t,e){var r,n=t<=this.ctx.level,a=t<4,o=(n||a)&&this.matchedGrep(e);if(0===t&&(0,i.globalTrigger)("problem",{type:"error-logged",data:{messages:e}}),o&&(n||a)&&(r=this.now()),a&&o){var l=this.messagesToLogLine(t,r,e);this.persistLine(l)}if(n&&o){var u,c=this.logFunc(t);1===e.length&&(u=e[0])instanceof Error?(c(u.message),u.stack&&c(u.stack)):c.apply(void 0,s(e))}};var h=function(){for(var t=arguments.length,e=new Array(t),r=0;r{r.d(e,{globalTrigger:()=>s});var i=r(14),n=r(16);(0,i.makeWbindable)(n.Wistia);n.Wistia.bind.bind(n.Wistia),n.Wistia.on.bind(n.Wistia),n.Wistia.off.bind(n.Wistia),n.Wistia.rebind.bind(n.Wistia);var s=n.Wistia.trigger.bind(n.Wistia);n.Wistia.unbind.bind(n.Wistia)},14:(t,e,r)=>{r.d(e,{makeWbindable:()=>a});var i=r(15),n=r(16),s=r(17);n.Wistia.bindable||(n.Wistia.EventShepherdManager||(n.Wistia.EventShepherdManager={}),n.Wistia.bindable={bind:function(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),this;if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),this;var r=this.embedElement||this.container;if(Object.keys(s.convertedEventNames).includes(t)&&r){var a=o(r);return void 0===n.Wistia.EventShepherdManager[a]&&(n.Wistia.EventShepherdManager[a]=new s.EventShepherd),n.Wistia.EventShepherdManager[a].addListener(t,r,e),this}if(e)return i.bind.call(this,t,e),this;n.Wistia.warn&&n.Wistia.warn(this.constructor.name,"bind","falsey value passed in as callback:",e)},unbind:function(t,e){if("crosstime"===t&&this.crossTime)return e?this.crossTime.removeBinding(arguments[1],arguments[2]):this.crossTime.removeAllBindings(),this;if("betweentimes"===t&&this.betweenTimes)return e?this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]):this.betweenTimes.removeAllBindings(),this;var r=this.embedElement||this.container;if(Object.keys(s.convertedEventNames).includes(t)&&r){var a=o(r);return void 0===n.Wistia.EventShepherdManager[a]||n.Wistia.EventShepherdManager[a].removeListener(t,r,e),this}return e?i.unbind.call(this,t,e):this._bindings&&(this._bindings[t]=[]),this._bindings&&this._bindings[t]&&!this._bindings[t].length&&(this._bindings[t]=null,delete this._bindings[t]),this},on:function(t,e){var r=arguments,a=this;if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),function(){a.crossTime.removeBinding(r[1],r[2])};if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),function(){a.betweenTimes.removeBinding(r[1],r[2],r[3])};var l=this.embedElement||this.container;if(Object.keys(s.convertedEventNames).includes(t)&&l){var u=o(l);return void 0===n.Wistia.EventShepherdManager[u]&&(n.Wistia.EventShepherdManager[u]=new s.EventShepherd(l)),n.Wistia.EventShepherdManager[u].addListener(t,l,e),function(){n.Wistia.EventShepherdManager[u].removeListener(t,l,e)}}return i.bind.call(this,t,e)},off:function(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.removeBinding(arguments[1],arguments[2]);if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]);var r=this.embedElement||this.container;if(Object.keys(s.convertedEventNames).includes(t)&&r){var a=o(r);return void 0===n.Wistia.EventShepherdManager[a]?function(){}:n.Wistia.EventShepherdManager[a].removeListener(t,r,e)}return i.unbind.call(this,t,e)},rebind:function(t,e){return this.unbind(t,e),this.bind(t,e),this},trigger:function(t){for(var e,r=arguments.length,n=new Array(r>1?r-1:0),s=1;s{r.d(e,{bind:()=>l,bindNamed:()=>g,bindify:()=>y,trigger:()=>h,unbind:()=>u,unbindAllInNamespace:()=>p,unbindNamed:()=>m});var i=r(16),n=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};function s(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return a(t,e);var r={}.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?a(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,i=Array(e);r1?e-1:0),i=1;i{r.d(e,{Wistia:()=>n});var i=r(10);null==i.root.Wistia&&(i.root.Wistia={}),null==i.root.Wistia._destructors&&(i.root.Wistia._destructors={}),null==i.root.Wistia._initializers&&(i.root.Wistia._initializers={}),null==i.root.Wistia._remoteData&&(i.root.Wistia._remoteData=new Map),null==i.root.Wistia.api&&(i.root.Wistia.api=function(){return console.error("Accessed Wistia.api() before it was initialized"),null}),null==i.root.Wistia.defineControl&&(i.root.Wistia.defineControl=function(){return console.error("Accessed Wistia.defineControl() before it was initialized"),null}),null==i.root.Wistia.EventShepherdManager&&(i.root.Wistia.EventShepherdManager={}),null==i.root.Wistia.mixin&&(i.root.Wistia.mixin=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(r){(function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)})(e,r)&&(t[r]=e[r])}))}),null==i.root.Wistia.playlistMethods&&(i.root.Wistia.playlistMethods=new Map),null==i.root.Wistia.PublicApi&&(i.root.Wistia.PublicApi=null),null==i.root.Wistia.uncacheMedia&&(i.root.Wistia.uncacheMedia=function(){return console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null}),null==i.root.Wistia.VisitorKey&&(i.root.Wistia.VisitorKey=null),null==i.root.Wistia.visitorKey&&(i.root.Wistia.visitorKey=null),null==i.root.Wistia.wistia&&(i.root.Wistia.wistia=void 0),null==i.root.Wistia._mediaDataPromises&&(i.root.Wistia._mediaDataPromises={}),null==i.root.Wistia._liveStreamPollingPromises&&(i.root.Wistia._liveStreamPollingPromises={});var n=i.root.Wistia},17:(t,e,r)=>{function i(t,e){for(var r=0;ro,convertedEventNames:()=>s});var s={mutechange:r(18).MUTE_CHANGE_EVENT},a={mutechange:function(t){return t.isMuted}},o=function(){return t=function t(){var e,r,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,i={},(r=n(r="convertedEventsMap"))in e?Object.defineProperty(e,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[r]=i},(e=[{key:"addListener",value:function(t,e,r){var i,n=null!==(i=s[t])&&void 0!==i?i:t;this.convertedEventsMap[n]||(this.convertedEventsMap[n]=[]);var o=function(e){if(a[t]){var i=a[t](e.detail);r(i)}else r()};this.convertedEventsMap[n].push({givenCallback:r,eventListenerCallback:o}),e.addEventListener(n,o)}},{key:"removeAllListeners",value:function(t){var e=this;Object.keys(this.convertedEventsMap).forEach((function(r){var i;null===(i=e.convertedEventsMap[r])||void 0===i||i.forEach((function(e){t.removeEventListener(r,e.eventListenerCallback)})),e.convertedEventsMap[r]=[]}))}},{key:"removeListener",value:function(t,e,r){var i,n=this,a=null!==(i=s[t])&&void 0!==i?i:t,o=[];r?(e.removeEventListener(a,r),this.convertedEventsMap[a]&&(this.convertedEventsMap[a].forEach((function(t,i){t.givenCallback===r&&(o.push(i),e.removeEventListener(a,t.eventListenerCallback))})),o.forEach((function(t){n.convertedEventsMap[a]&&n.convertedEventsMap[a].splice(t,1)})))):this.convertedEventsMap[a]=[]}}])&&i(t.prototype,e),r&&i(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,r}()},18:(t,e,r)=>{r.d(e,{MUTE_CHANGE_EVENT:()=>i});var i="mute-change"},19:(t,e,r)=>{var i;r.d(e,{elemOffset:()=>s});var n=function(){if(null!=i)return i;var t=document.createElement("div");return t.style.paddingLeft=t.style.width="1px",document.body.appendChild(t),i=2===t.offsetWidth,document.body.removeChild(t),i},s=function(t){var e,r,i=document.body,s=document.defaultView,o=document.documentElement,l=t.getBoundingClientRect(),u=o.clientTop||i.clientTop||0,c=o.clientLeft||i.clientLeft||0;e=s&&null!=s.pageYOffset?s.pageYOffset:n()&&o&&null!=o.scrollTop?o.scrollTop:i.scrollTop,r=s&&null!=s.pageXOffset?s.pageXOffset:n()&&o&&null!=o.scrollLeft?o.scrollLeft:i.scrollLeft;var h=a(t);return{height:l.height*h,top:l.top*h+e-u,left:l.left*h+r-c,width:l.width*h,zoom:h}},a=function(t){return t&&t!==document.documentElement?a(t.parentElement)*(getComputedStyle(t).zoom||1):1}},20:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{execScriptTags:()=>execScriptTags,getScriptTags:()=>getScriptTags,removeScriptTags:()=>removeScriptTags});var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(21),getScriptTags=function(t){return t.match(/]*>\s*<\/script>|[\s\S]+?<\/script>/gi)||[]},scriptTagsToRunScriptsInput=function scriptTagsToRunScriptsInput(scriptTags){if(!scriptTags)return[];scriptTags instanceof Array||(scriptTags=getScriptTags(scriptTags));for(var hashes=[],_loop=function _loop(){var scriptTag=scriptTags[i],hash={},matches=scriptTag.match(//i);if(matches&&(matches=matches[0].match(/src="([^"]+)"/i),matches&&(hash.src=matches[1],hash.async=/async/i.test(scriptTag.replace(hash.src,"")))),!matches&&(matches=scriptTag.match(/