1(function(e){var n={};function t(o){if(n[o]){return n[o].exports}var i=n[o]={i:o,l:!1,exports:{}};e[o].call(i.exports,i,i.exports,t);i.l=!0;return i.exports}t.m=e;t.c=n;t.d=function(e,n,o){if(!t.o(e,n)){Object.defineProperty(e,n,{enumerable:!0,get:o})}};t.r=function(e){if(typeof Symbol!=='undefined'&&Symbol.toStringTag){Object.defineProperty(e,Symbol.toStringTag,{value:'Module'})}Object.defineProperty(e,'__esModule',{value:!0})};t.t=function(e,n){if(n&1)e=t(e);if(n&8)return e;if(n&4&&typeof e==='object'&&e&&e.__esModule)return e;var o=Object.create(null);t.r(o);Object.defineProperty(o,'default',{enumerable:!0,value:e});if(n&2&&typeof e!='string')for(var i in e)t.d(o,i,function(t){return e[t]}.bind(null,i));return o};t.n=function(e){var n=e&&e.__esModule?function(){return e['default']}:function(){return e};t.d(n,'a',n);return n};t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};t.p='';return t(t.s=932)})({0:function(e,t,n){'use strict';n.r(t);var o=n(1),i=n.n(o),a=n(8),r=n(113),l=n.n(r)},1:function(e,t,n){var o,a,i,r,l,s=[].slice;a=n(2)['default'],o='2015-02-17',a.wistia||(a.wistia=o,a.extend=function(){var e,t,n;return e=arguments[0],t=2<=arguments.length?s.call(arguments,1):[],t.length||(t=[e],e=a),(n=a.obj).merge.apply(n,[e].concat(s.call(t))),e},a.proto=function(e){return null==e&&(e=window.location.href),a.url.proto(e)},a.data=function(e,t){return a.obj.isArray(e)||(e=e.split('.')),null!=t&&a.obj.set(a,['_data'].concat(e),t),a.obj.get(a,['_data'].concat(e))},a.removeData=function(e){return a.obj.isArray(e)||(e=e.split('.')),a.obj.unset(a,['_data'].concat(e))},a.asyncChain=function(e,t,n){var o,i,r,l,s,d,u;for(null==n&&(n=1),u=[],i=function(e){var t;return t=function(){var t;try{return e()}catch(e){return t=e,a.error(t)}},u.push(new a.StopGo().run(t))},(r=0,s=t.length);r<s;r++)o=t[r],i(o);return l=u[u.length-1],a._drainStopGosAsync(e,u),d=new a.StopGo,l.then(function(){return a.timeout(e+'.last',function(){return d.go()},0)}),d},a.chain=function(t){var n,e,o,i,r;for(r=new a.StopGo,o=0,i=t.length;o<i;o++){e=t[o];try{e()}catch(e){n=e,a.error(n)}}return r.go(),r},a._drainStopGosAsync=function(e,t,n){var o;if(null==n&&(n=0),!(1>t.length))return o=t.shift(),o.run(function(){return a._drainStopGosAsync(e,t,n+1)}),a.timeout(e+'.'+n,function(){return o.go()},0),o},a.css=function(){var e,t,n;return 2===arguments.length?(n=arguments[0]||document.body||document.head,e=arguments[1]):(n=document.body||document.head,e=arguments[0]),/\{/.test(e)&&/\}/.test(e)?a.util.addInlineCss(n,e):(t=document.createElement('link'),t.setAttribute('rel','stylesheet'),t.setAttribute('href',e),a.elem.append(n,t),t)},a.script=function(){var e,t;return t=1<=arguments.length?s.call(arguments,0):[],(e=a.remote).scripts.apply(e,t)},l=n(4),r=l.doTimeout,i=l.clearTimeouts,a.seqId=n(7)['default'],a.timeout=r,a.clearTimeouts=i)},10:function(e,t,n){'use strict';n.r(t);n.d(t,'registerWLib',function(){return i});n.d(t,'wlib',function(){return a});var o=n(2);null==o['default'].libjs&&(o['default'].libjs={});var i=function(e,t){null==o['default'].libjs[e]&&(o['default'].libjs[e]=t)},a=function(e){var t=o['default'].libjs[e];if(null==t)throw new Error('Internal import for "'.concat(e,'" does not exist. Value is "').concat(t,'".'));return t};o['default'].registerWLib=i,o['default'].lib=a;t['default']=o['default'].lib},100:function(e,t,n){var o,i;i=n(14).cachedDetect,o=function(){function e(t){t instanceof e?(this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a):t?this.parse(t):(this.r=this.g=this.b=0,this.a=1),this}var t,n,o,a,r,l,s;return e.detect=i(),r=/^#?([0-9a-f]{3,4}|[0-9a-f]{6,8})$/i,s=/^rgba?\((\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?)(?:,\s*([01]?\.?\d*))?\)$/,l=/^\d+(\.\d+)*%$/,n=/([0-9a-f])/gi,t=function(e){return .5+e<<0},a=function(e){return l.test(e)?2.55*parseFloat(e):e},o=function(e,t,n){return 0>n&&(n+=1),1<n&&(n-=1),n<1/6?e+6*(t-e)*n:n<1/2?t:n<2/3?e+6*((t-e)*(2/3-n)):e},e.prototype.parse=function(e){var t,o;return e+='',r.test(e)?(o=e.replace(/^\#/,''),(3===o.length||4===o.length)&&(o=o.replace(n,'$1$1')),this.r=parseInt(o.substr(0,2),16),this.g=parseInt(o.substr(2,2),16),this.b=parseInt(o.substr(4,2),16),this.a=8===o.length?parseInt(o.substr(6,2),16)/255:1):s.test(e)&&(t=e.match(s),this.r=parseFloat(a(t[1])),this.g=parseFloat(a(t[2])),this.b=parseFloat(a(t[3])),this.a=t[4]?parseFloat(t[4]):1),this},e.prototype.clone=function(){return new e(this)},e.prototype._hslFromRgb=function(){var e,t,n,o,i,a,l,d,r,s;return(d=this.r/255,n=this.g/255,e=this.b/255,a=Math.max(d,n,e),l=Math.min(d,n,e),i=(a+l)/2,s=a,a===l&&(this._h=this._s=0),t=a-l,0===t)?(this._h=0,this._s=0,this._l=100*d,this):(r=.5<i?t/(2-a-l):t/(a+l),o=a===d?(n-e)/t+(n<e?6:0):a===n?(e-d)/t+2:(d-n)/t+4,o/=6,this._h=360*o,this._s=100*r,this._l=100*i,this)},e.prototype._rgbFromHsl=function(){var e,t,n,i,a;return e=this._h/360,a=this._s/100,t=this._l/100,i=.5>t?t*(1+a):t+a-t*a,n=2*t-i,this.r=255*o(n,i,e+1/3),this.g=255*o(n,i,e),this.b=255*o(n,i,e-1/3),this},e.prototype.blendChannel=function(e,t,n){return this[e]=n*t+(1-n)*this[e],this},e.prototype.blend=function(t,n){return t=new e(t),this.blendChannel('r',t.r,n),this.blendChannel('g',t.g,n),this.blendChannel('b',t.b,n),this},e.prototype.lightenChannel=function(e,t){return this[e]+=t,0>this[e]?this[e]=0:255<this[e]&&(this[e]=255),this},e.prototype.lighten=function(e){return this.looksLikePercent(e)?this.lightness(this.lightness()+parseFloat(e)):(this.lightenChannel('r',e),this.lightenChannel('g',e),this.lightenChannel('b',e)),this},e.prototype.darken=function(e){return'string'==typeof e?this.lighten('-'+e):this.lighten(-e)},e.prototype.looksLikePercent=function(e){return /^\-?\d+(\.\d+)?%$/.test(e)},e.prototype.lightness=function(e){return this._hslFromRgb(),null==e?this._l:(this._l=Math.max(0,Math.min(100,e)),this._rgbFromHsl(),this)},e.prototype.saturation=function(e){return this._hslFromRgb(),null==e?this._s:(this._s=Math.max(0,Math.min(100,e)),this._rgbFromHsl(),this)},e.prototype.grayLevel=function(){return(.299*this.r+.587*this.g+.114*this.b)/255},e.prototype.whiteLevel=function(){return Math.min(Math.min(this.r,this.g),this.b)},e.prototype.isGrayscale=function(){return this.r===this.g&&this.g===this.b},e.prototype.distanceFrom=function(e){return Math.sqrt(Math.pow(this.r-e.r,2)+Math.pow(this.g-e.g,2)+Math.pow(this.b-e.b,2))},e.prototype.channelDominance=function(){return['r','g','b'].sort(function(e){return function(t,n){return e[n]-e[t]}}(this))},e.prototype.alpha=function(e){return null==this.a?this.a:(this.a=e,this)},e.prototype.red=function(e){return null==e?this.r:(this.r=e,this)},e.prototype.green=function(e){return null==this.g?this.g:(this.g=e,this)},e.prototype.blue=function(e){return null==this.b?this.b:(this.b=e,this)},e.prototype.toHex=function(){var e,t,n;return n=Math.round(this.r).toString(16),t=Math.round(this.g).toString(16),e=Math.round(this.b).toString(16),1===n.length&&(n='0'+n),1===t.length&&(t='0'+t),1===e.length&&(e='0'+e),''+n+t+e},e.prototype.toHexWithAlpha=function(){var e;return e=Math.round(255*this.a).toString(16),1===e.length&&(e='0'+e),''+e+this.toHex()},e.prototype.toRgb=function(){return'rgb('+Math.round(this.r)+','+Math.round(this.g)+','+Math.round(this.b)+')'}
1,e.prototype.toRgba=function(){return'rgba('+Math.round(this.r)+','+Math.round(this.g)+','+Math.round(this.b)+','+this.a+')'},e.prototype.toRgbaOrHex=function(){return this.constructor.detect.browser.msie&&9>this.constructor.detect.browser.version?'#'+this.toHex():this.toRgba()},e.prototype.toPercent=function(){return'rgba('+100*(this.r/255)+'%,'+100*(this.g/255)+'%,'+100*(this.b/255)+'%,'+this.a+')'},e.prototype.toIeGradient=function(){return'progid:DXImageTransform.Microsoft.gradient(startColorStr=\'#'+this.toHexWithAlpha()+'\', endColorStr=\'#'+this.toHexWithAlpha()+'\')'},e.prototype.toString=function(){return this.toPercent()},e}(),e.exports=o},101:function(e,t,n){(function(t){var o;if(!t.embeds)return t.embeds={},o=n(13).wlog,t.embeds.setup=function(e){return t.embeds.notEmbedding(function(){var n;if(n=function(){var n,o,i,a,r,l,s,d,u;t.embeds.notEmbedding(!1),a=[];try{for(e=t.embeds.uninitialized(e),e&&e.length&&0<e.length&&t.info('initializing',null==e?void 0:e.length,'embedElems'),(l=0,s=e.length);l<s;l++){i=e[l];try{t.info('initializing elem',i),r=t.embeds.hashedIdForElem(i,{asyncOnly:!0}),i.id?document.getElementById(i.id)!==i&&(d=t.embeds.genIdFor(r),t.error('Duplicate DOM ID found for container "'+i.id+'". Changing it to "'+d+'" to avoid issues.',i),i.id=d):i.id=t.embeds.genIdFor(r),u=t.embeds.optionsFromElemClass(i),t.options('__'+i.id+'_dom_options__',u),function(e,n){return a.push(function(){if(!t.embeds.containerIsInitialized(n))return t.embed(e,{container:n.id})})}(r,i)}catch(e){n=e,t.error(n)}}}catch(e){o=e,t.error(o)}return a.push(function(){return t.watchForInit()}),a.push(function(){return t.embeds.notEmbedding(!0)}),t.asyncChain('embeds_setup',a)},t.util.onDocReady(n),0===t.detect.ios.version&&!t.detect.safari)return n()})},t.embeds._setupThrottled=t.util.throttle(500,t.embeds.setup),t.embeds.optionsFromElemClass=function(e){var n,o,i,a,r,l;for(a=[],l=t.elem.classes(e),(n=0,i=l.length);n<i;n++)o=l[n],0<o.indexOf('=')&&a.push(o);return r=t.url.paramsToJson(a.join('&')),t.obj.cast(r),r},t.embeds.hashedIdForElem=function(e,t){var n,o,i,a,r,l;return null==t&&(t={}),t.asyncOnly?(null==(n=e.className)||null==(o=n.match(/wistia_async_([^\s]+)/))?void 0:o[1])||null:(null==(i=e.className)||null==(a=i.match(/wistia_async_([^\s]+)/))?void 0:a[1])||(null==(r=e.className)||null==(l=r.match(/wistia_([^\s]+)/))?void 0:l[1])||null},t.embeds.genIdFor=function(e){var t,n,o;for(t='wistia-'+e,o=1;n=t+'-'+o,!!document.getElementById(n);)o+=1;return n},t.embeds._options={},t.embeds.options=function(e,n){var o,i,a,r;if(t.obj.isObject(e)&&(n=e,e='__global__'),null!=n)return t.embeds._options[e]=t.obj.cast(t.obj.clone(n));if(e){if(t.embeds._options[e])return t.embeds._options[e];if(o=t.api(e),null===o)return{};for(i in a=t.embeds._options,a)if(r=a[i],t.api(i)===o)return r;return{}}return t.embeds._options},t.options=t.embeds.options,t.embeds.api=function(e){var n,o,i,a,r,l,s;return null==e&&(e='wistia_embed'),document.querySelectorAll?document.querySelectorAll('div.'+e+',span.'+e):(o=(null==(a=document.body)?void 0:a.getElementsByTagName('div'))||[],s=(null==(r=document.body)?void 0:r.getElementsByTagName('span'))||[],n=function(){var n,a,r;for(r=[],n=0,a=o.length;n<a;n++)i=o[n],t.elem.hasClass(i,e)&&r.push(i);return r}(),l=function(){var n,o,a;for(a=[],n=0,o=s.length;n<o;n++)i=s[n],t.elem.hasClass(i,e)&&a.push(i);return a}(),n.concat(l))},t.embeds.uninitialized=function(e){var n,o,i,a,r;for(null==e&&(e=t.embeds.api()),r=[],(i=0,a=e.length);i<a;i++)n=e[i],o=t.embeds.hashedIdForElem(n,{asyncOnly:!0}),o&&!t.embeds.containerIsInitialized(n)&&r.push(n);return r},t.embeds.containerIsInitialized=function(){return function(e){return e&&e.wistiaApi&&!(e.wistiaApi instanceof t.IframeApiProxy)}}(this),t.embeds.initialized=function(){var e,n,o,i;for(i in n=t._data.video,o=[],n)e=n[i],o.push(e);return o},t.embeds.observe=function(){var n,i;if(!t.embeds.initObserver){if(t.embeds.initObserver=t.elem.mutationObserver(function(e){var n,o,i,a,r,l,s,d,u,p;for(o=[],n=!1,(i=0,a=e.length);i<a;i++)for(s=e[i],0<(null==(u=s.addedNodes)?void 0:u.length)&&(n=!0),p=s.addedNodes||[],(l=0,r=p.length);l<r;l++)d=p[l],t.elem.hasClass(d,'wistia_embed')&&o.push(d);if(0<o.length&&setTimeout(function(){return t.embeds.setup(o)},10),n)return t.embeds._setupThrottled()}),n={subtree:!0,childList:!0},0<t.detect.ios.version||t.detect.safari)return t.util.onDocReady(function(){return t.embeds.initObserver.observe(document.body,n)});try{return t.embeds.initObserver.observe(document.body,n)}catch(e){return i=e,o.notice(i),t.util.onDocReady(function(){try{return t.embeds.initObserver.observe(document.body,n)}catch(e){return i=e,o.error(i)}})}}},t.embeds.unobserve=function(){var e;return null!=(e=t.embeds.initObserver)&&e.disconnect(),t.embeds.initObserver=null},t.embeds.poll=function(e){return null==e&&(e=500),t.eventLoop.add('poll_setup_embeds',e,function(){return t.embeds.setup()})},t.embeds.unpoll=function(){var e;return null==(e=t.eventLoop)?void 0:e.remove('poll_setup_embeds')},t.embeds.watch=function(){return t.embeds._dontWatch=!1,t.detect.mutationObserver&&!t.detect.trident?(t.embeds.observe(),t.embeds.poll(2e3)):t.embeds.poll()},t.embeds.dontWatch=function(){return t.embeds._dontWatch=!0,t.embeds.unwatch()},t.embeds.unwatch=function(){return t.embeds.unobserve(),t.embeds.unpoll()},t.flushInit=function(){var n,e,i,a;if(window.wistiaInit){if(wistiaInit instanceof Array)for(i=0,a=wistiaInit.length;i<a;i++){e=wistiaInit[i];try{'function'==typeof e&&e(t)}catch(e){n=e,o.error(n)}}else'function'==typeof wistiaInit&&wistiaInit(t);return window.wistiaInit=null}},t.addQueue=function(e){return t._queueNames.push(e),t.watchForInit()},t._queueNames=['_wq','wistiaInitQueue'],t._wqBoundListeners=[],t.flushInitQueue=function(){var n,e,i,a,r,l,s,d,u,p,c,y,g,m,h,f;for(g=t._queueNames,m=[],(r=0,s=g.length);r<s;r++)if(c=g[r],p=window[c],!!(p&&p instanceof Array&&0<p.length)){for(a=[];0<p.length;)if(h=p.shift(),!t.obj.isObject(h))'function'==typeof h?function(e){var n;return n=function(){return e(t)},a.push(n)}(h):t.notice(c+': Don\'t know what to do with '+h+', ignoring.');else if(h.revoke&&t.revokeQueueListener(h.revoke),h.__unbinds||(h.__unbinds=[]),h.id)y=!1,h.options&&('_all'===h.id?(t.options(h.options),y=!0):(t.options(h.id,h.options),y=!0)),function(e){var n,o;return o='_all'===e.id?[]:[e.id],e.onFind&&(n=o.concat([function(t){return e.onFind(t)}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),y=!0),e.onHasData&&(n=o.concat([function(t){return t.hasData(function(){return e.onHasData(t)})}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),y=!0),e.onEmbedded&&(n=o.concat([function(t){return t.embedded(function(){return e.onEmbedded(t)})}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),y=!0),e.onReady&&(n=o.concat([function(t){return t.ready(function(){return e.onReady(t)})}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),y=!0),y?t._wqBoundListeners.push(e):t.error('No initialization function provided for ID '+e.id,e)}(h);else for(l in i=function(e,n,o){var i,r;if('function'==typeof o)return r=function(e){return e.hasData(function(){return o(e)})},i=function(){return e.__unbinds='_all'===n?e.__unbinds.concat(t.api(r)):e.__unbinds.concat(t.api(n,r)),t._wqBoundListeners.push(e)},a.push(i);if(t.obj.isObject(o))return i='_all'===n?function(){return t.options(o)}:function(){return t.options(n,o)},a.push(i);if('__unbinds'===n||'revoke'===n);else return t.error('Unknown initialization object:',o,'Expected Object or Function.')},h)f=h[l],i(h,l,f);for(u=0,d=a.length;u<d;u++){e=a[u];try{'function'==typeof e&&e(t)}catch(e){n=e,o.error(n)}}m.push(p.length=0)}return m},t.getInitQueueListeners=function(){return t.obj.assign([],t._wqBoundListeners)},t.revokeQueueListener=function(e){var n,o,i,a,r,l,s,d;for(s=e instanceof Array?e:[e],l=[],(n=0,o=s.length);n<o;n++){if(e=s[n],e.__unbinds){for(r=e.__unbinds,a=0,i=r.length;a<i;a++)d=r[a],'function'==typeof d&&d();delete e.__unbinds}l.push(t._wqBoundListeners=t._wqBoundListeners.filter(function(t){return t!==e}))}return l},t.watchForInit=function(){if(null==t._pollInit&&(t._pollInit=function(){return t.flushInitQueue(),t.flushInit(
1)}),t._pollInit(),t.eventLoop)return t.eventLoop.unpause('poll_init'),t.eventLoop.add('poll_init',500,t._pollInit)},t.api=function(e,n){var o,i,a,r,l,s,d,u,p,c,y;if(null!=e){if(n)return t.api.onFind(e,n);if('function'==typeof e)return t.api.onFind(e);if('string'!=typeof e)'number'==typeof e?(l=e,o=t.api.all(),0>l&&(l=o.length+l),a=(null==(y=o[l])?void 0:y.container)||null):window.HtmlElement&&e instanceof HtmlElement?a=e:t.error('W.api: Unrecognized matcher',e);else if(u=e,a=document.getElementById(u),!a)for(i=t.api.all(),s=0,d=i.length;s<d;s++)if(r=i[s],0===(null==(p=r.hashedId())?void 0:p.indexOf(u))||0===(null==(c=r.container.id)?void 0:c.indexOf(u))){a=r.container;break}return(null==a?void 0:a.wistiaApi)&&(a.wistiaApi instanceof t.PublicApi||t.IframeApi&&a.wistiaApi instanceof t.IframeApi)?a.wistiaApi:null}return t.api.all()[0]||null},t.api.all=function(){return t.api._apiHandles().concat(t.api._iframeHandles())},t.api._apiHandles=function(){return t.embeds.initialized()},t.api._apiHandlesByDomOrder=function(){var e,n,o,i,a;for(n=t.embeds.api('wistia_embed_initialized'),a=[],(o=0,i=n.length);o<i;o++)e=n[o],e.wistiaApi&&e.wistiaApi instanceof t.PublicApi&&a.push(e.wistiaApi);return a},t.api._iframeHandles=function(){var e,n,o,i;for(i in n=t._data.iframe_api,o=[],n)e=n[i],o.push(e);return o},t.api.onFind=function(e,n){var o,i;return'function'==typeof e&&(n=e,e=null),o=function(o){return(null===e||t.api(e)===o)&&(n(o),!0)},wistiaEmbeds.each(o),i=[wistiaEmbeds.on('initembed',o),wistiaEmbeds.on('afterreplace',o)],function(){return function(){var e,t,n,o;for(n=[],e=0,t=i.length;e<t;e++)o=i[e],n.push(o());return n}}(this)},t._asyncInitSoonAfterLoad=function(e){return null==e&&(e=10),setTimeout(function(){var n;try{return t.embeds.setup(),t.embeds._dontWatch||t.embeds.watch(),t.watchForInit()}catch(e){return n=e,o.error(n)}},e)},t._initializers.initAsyncEmbeds=function(){var e,n,o;return t.embeds.notEmbedding=new t.StopGo,t.embeds.notEmbedding(!0),null==t._data&&(t._data={}),null==(e=t._data).video&&(e.video={}),null==(n=t._data).iframe_api&&(n.iframe_api={}),window._inWistiaIframe?setTimeout(function(){return t.watchForInit()},10):(t._asyncInitSoonAfterLoad(),t._asyncInitSoonAfterLoad(500),null==(o=t.eventLoop)?void 0:o.pause('poll_init'))},t._destructors.destroyAsyncEmbeds=function(){var e,n;return t.clearTimeouts('embeds_setup'),null!=(e=t.eventLoop)&&e.remove('poll_init'),null==(n=t.embeds)?void 0:n.unwatch()}})(Wistia)},102:function(e,t,n){'use strict';n.r(t);var o=n(2);o['default']._initializers.initEmbedLinks=function(){wistiaEmbeds.bind('initembed',function(){o['default'].timeout('maybe_load_embed_links_1',r,1),o['default'].timeout('maybe_load_embed_links_1000',r,1e3),o['default'].timeout('maybe_load_embed_links_3000',r,3e3)}),o['default'].util.onDocReady(function(){r(),o['default'].timeout('maybe_load_embed_links_5000',r,5e3)})},o['default']._destructors.destroyEmbedLinks=function(){o['default'].EmbedLink.EmbedLinkClass&&o['default'].EmbedLink.EmbedLinkClass._onEv1Destroy()};var i=function(){return o['default'].asyncRequire('embedLinks.js')},a=function(){for(var e=o['default'].api._apiHandlesByDomOrder(),t=0;t<e.length;t++)if(e[t]._opts&&e[t]._opts.playlistLinks)return!0;return!!(0<document.querySelectorAll('a[href^="#wistia_"]').length)},r=function(){a()&&i()};o['default'].EmbedLink={},o['default'].EmbedLink.setup=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i().then(function(){var e;(e=o['default'].EmbedLink.EmbedLinkClass).setup.apply(e,t)})},o['default'].EmbedLink.setupAll=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i().then(function(){var e;(e=o['default'].EmbedLink.EmbedLinkClass).setupAll.apply(e,t)})},o['default'].EmbedLink.destroyAll=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return i().then(function(){var e;(e=o['default'].EmbedLink.EmbedLinkClass).destroyAll.apply(e,t)})}},103:function(){var e=[].slice;(function(t){var n,o,i,a,r;if(o=t.lib('promiscuous'),t.iframeInit||(t.iframeInit=function(e,n){return t.asyncRequire('insideIframe.js').then(function(t){return t(e,n)})}),!t.IframeApiProxy){for(i in n=function(){function n(e){this.iframe=e,this.loadIframeApi()}return n.prototype.loadIframeApi=function(){return new o(function(){return function(e){return setTimeout(function(){return t.asyncRequire('iframeApi.js').then(function(t){return function(){return t._loaded=!0,e()}}(this))},0)}}(this))},n.prototype.proxyFn=function(){var t,n,o;
1return n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[],this._loaded?(o=this.iframe.wistiaApi)[n].apply(o,t):(this.loadIframeApi().then(function(e){return function(){var o;if(e.iframe.wistiaApi!==e)return(o=e.iframe.wistiaApi)[n].apply(o,t)}}(this)),this)},n.prototype._hasImpl=function(){var t;return t=1<=arguments.length?e.call(arguments,0):[],this.proxyFn.apply(this,['_hasImpl'].concat(e.call(t)))},n.prototype.hasData=function(){var t;return t=1<=arguments.length?e.call(arguments,0):[],this.proxyFn.apply(this,['hasData'].concat(e.call(t)))},n.prototype.embedded=function(){var t;return t=1<=arguments.length?e.call(arguments,0):[],this.proxyFn.apply(this,['embedded'].concat(e.call(t)))},n.prototype.ready=function(){var t;return t=1<=arguments.length?e.call(arguments,0):[],this.proxyFn.apply(this,['ready'].concat(e.call(t)))},n.prototype.up=function(){var t;return t=1<=arguments.length?e.call(arguments,0):[],this.proxyFn.apply(this,['up'].concat(e.call(t)))},n.prototype.down=function(){return this.proxyFn.apply(this,['down'].concat(e.call(args)))},n}(),a=t.PublicApi.prototype,a)r=a[i],n.prototype[i]||'function'!=typeof r||function(t){return n.prototype[t]=function(){var n;return n=1<=arguments.length?e.call(arguments,0):[],this.proxyFn.apply(this,[t].concat(e.call(n)))}}(i);t.IframeApiProxy=n}return null==t.maybeRequireIframeApi&&(t.maybeRequireIframeApi=function(){var e,t,o,i,a;if(a=document.querySelectorAll('iframe.wistia_embed,iframe[name=wistia_embed],iframe.wistia_playlist,iframe[name=wistia_playlist]'),0<a.length){for(i=[],e=0,o=a.length;e<o;e++)t=a[e],t.wistiaApi?i.push(void 0):i.push(t.wistiaIframeApiProxy=t.wistiaApi=new n(t));return i}}),null==t.onIframePostMessage&&(t.onIframePostMessage=function(e){if('new-wistia-iframe'===e.data)return t.asyncRequire('iframeApi.js'),t.elem.unbind}),t.elem.rebind(window,'message',t.onIframePostMessage),t.bind('ev1initend',function(){return t.maybeRequireIframeApi(),t.elem.rebind(window,'message',t.onIframePostMessage)}),t.bind('ev1destroystart',function(){return t.elem.unbind(window,'message',t.onIframePostMessage)})})(Wistia)},104:function(){var e=function(e,n){function o(){this.constructor=e}for(var i in n)t.call(n,i)&&(e[i]=n[i]);return o.prototype=n.prototype,e.prototype=new o,e.__super__=n.prototype,e},t={}.hasOwnProperty;(function(t){if(!t.EmbedListener)return t.EmbedListener=function(n){function o(){this.uuid=t.seqId(),this.bindHandles(),this.bind('down',function(e){return function(){return e.info('got down event, prune and rebind handles'),t.timeout('prune_zombies_later',function(){return e.pruneZombies(),e.bindHandles()})}}(this)),this.bind('up',function(e){return function(t){return e.info('got up event, set _bound=false for',t),t._bound=!1,e.bindHandles()}}(this))}return e(o,n),o.prototype.bindHandles=function(){var e,t,n,o,i;for(e=this.allUnboundHandles(),this.info('bindHandles',e),i=[],(n=0,o=e.length);n<o;n++)t=e[n],this.info('bind to all events for',t),t._bound=!0,i.push(this.push(t));return i},o.prototype.pruneZombies=function(){var e,t,n,o,i,a,r,l,s,d,u;for(this.info('pruneZombies'),u=[],l=this.allBoundHandles(),(n=0,a=l.length);n<a;n++)e=l[n],e.looksDown()?this.info('prune zombie',e):u.push(e);for(t=o=0,s=this.length;0<=s?o<=s:o>=s;t=0<=s?++o:--o)delete this[t];for(this.length=0,d=[],(i=0,r=u.length);i<r;i++)e=u[i],d.push(this.push(e));return d},o.prototype.allBoundHandles=function(){var e,t,n,o,i;for(i=[],o=this.allHandles(),(t=0,n=o.length);t<n;t++)e=o[t],e._bound&&i.push(e);return i},o.prototype.allUnboundHandles=function(){var e,t,n,o,i;for(i=[],o=this.allHandles(),(t=0,n=o.length);t<n;t++)e=o[t],e._bound||i.push(e);return i},o.prototype.allHandles=function(){return this.apiHandles().concat(this.iframeApiHandles())},o.prototype.iframeApiHandles=function(){var e,n,o,i,a;for(this.iframes||(this.iframes=document.getElementsByTagName('iframe')),a=[],i=this.iframes,(n=0,o=i.length);n<o;n++)e=i[n],e.wistiaApi&&!(e.wistiaApi instanceof t.IframeApiProxy)&&a.push(e.wistiaApi);return a},o.prototype.apiHandles=function(){var e,t,n,o;if(t=[],window.Wistia)for(n in o=Wistia.data('video'),o)e=o[n],t.push(e);return t},o.prototype.each=function(e){var t,n,o,i,a;for(i=this.allBoundHandles(),a=[],(n=0,o=i.length);n<o;n++)t=i[n],a.push(e(t));return a},o.prototype.onFind=function(e){var t;return t=function(t){return function(n){return n.up(function(){return t.info('onFind',n),e(n),n.unbind})}}(this),this.each(t),this.bind('initembed',t)},o}(Array),t.mixin(t.EmbedListener.prototype,t.bindable),t.mixin(t.EmbedListener.prototype,t.logHelpers),t._initializer
1s.initEmbedShepherd=function(){return window.wistiaEmbeds?(t.info('window.wistiaEmbeds already exists, call bindHandles'),'function'==typeof wistiaEmbeds.bindHandles&&wistiaEmbeds.bindHandles()):(t.info('initialize embed shepherd'),window.wistiaEmbeds=new t.EmbedListener),t.info('call window.wistiaEmbedShepherdReady()'),'function'==typeof window.wistiaEmbedShepherdReady?window.wistiaEmbedShepherdReady():void 0},t._destructors.destroyEmbedShepherd=function(){var e;return null!=(e=window.wistiaEmbeds)&&e.each(function(e){return e._bound=!1}),window.wistiaEmbeds=null}})(Wistia)},105:function(e,t,n){(function(e){var t,o,i,a,r,l,s;if(t=e,!t.VisitorKey)return l=n(29),o=l.eV1Host,i=l.eV1Protocol,a=n(15).globalBind,r=n(45).isVisitorTrackingEnabled,s=n(56).uniqId,t.DISTILLERY_COOKIE='__distillery',a('visitortrackingchange',function(){var e,n,o,i,a,l;for(a=t.api.all(),n=0,i=a.length;n<i;n++)l=a[n],'function'==typeof l._postDownVisitorTrackingEnabled&&l._postDownVisitorTrackingEnabled();if(t.visitorKey){if(o=r(),!o)return t.visitorKey.unpersist(),t.cookie('muxData','',{expires:0,path:'/'}),t.cookie('wistia-http2-push-disabled','',{expires:0,path:'/'}),'function'==typeof(e=t._destructors).destroyMux?e.destroyMux():void 0;if(t.visitorKey.value())return t.visitorKey.persist(t.visitorKey.value())}}),t.VisitorKey=function(){function e(){this.ready=new t.StopGo,this.unbinds=[],setTimeout(function(e){return function(){return e.unbinds.push(t.api.onFind(function(t){return t.hasData(function(){var n;return t.iframe||!0!==(null==(n=t._mediaData)?void 0:n.privacyMode)||e.unpersist(),e.doInit()})}))}}(this),0)}return e.prototype.reinitialize=function(){return this.destroy(),this.unbinds=[],this.ready=new t.StopGo,this._initialized=!1,this.doInit()},e.prototype.doInit=function(){if(!this._initialized)return this._initialized=!0,this.savedValue()||this.persist(t.VisitorKey.generate()),this.ready(!0)},e.prototype.persist=function(e){return t.VisitorKey.isValid(e)?(this.info('@persist',e),this._value=e,r()?!0!==window.wistiaDisableCookies&&this.localStorageValue()!==this._value?t.localStorage(t.DISTILLERY_COOKIE,this._value):void 0:void 0):void this.error(new Error('Attempted to persist invalid visitor key \''+e+'\''))},e.prototype.unpersist=function(){return this.clearFromCurrentDomain()},e.prototype.clear=function(){return this.info('clear'),this.unpersist(),this._value=null},e.prototype.clearFromCurrentDomain=function(){if(t.removeLocalStorage(t.DISTILLERY_COOKIE,null),t.cookie(t.DISTILLERY_COOKIE))return t.cookie(t.DISTILLERY_COOKIE,'',{expires:0,path:'/'})},e.prototype.value=function(){var e;return e=this._value||this.savedValue(),e||(e=t.VisitorKey.generate(),this.persist(e)),e},e.prototype.savedValue=function(){return r()?this.localStorageValue():void 0},e.prototype.localStorageValue=function(){return t.localStorage(t.DISTILLERY_COOKIE)},e.prototype.isValid=function(){return t.VisitorKey.isValid(this.value())},e.prototype.destroy=function(){var e,t,n,o;for(n=this.unbinds,e=0,t=n.length;e<t;e++)o=n[e],o();return this.unbinds=[]},e.isValid=function(e){return 25<(null==e?void 0:e.length)&&/^[a-z0-9_\-\.]+$/i.test(e)},e.generate=function(){return s('6d5aefb300aac34f63a5193c576aa049'.substring(0,7)+'_')},e}(),t.mixin(t.VisitorKey.prototype,t.logHelpers),t._initializers.initVisitorKey=function(){return t.visitorKey=new t.VisitorKey},t._destructors.destroyVisitorKey=function(){var e;return null!=(e=t.visitorKey)&&e.destroy(),t.visitorKey=null}})(Wistia)},106:function(){(function(e){return e.TimeHelper?void 0:e.TimeHelper=function(){function e(){}var t,n;return e.secondsIntoDurationGroups=function(e){var t,o,i;return e=n(e),i=Math.floor(e),t=Math.floor(i/3600),i-=3600*t,o=Math.floor(i/60),i-=60*o,{hours:t,minutes:o,seconds:i}},n=function(e){return 0|Math.abs(parseInt(e))},e.secondsToIso8601=function(e){var t,n,o,i,a;return t=this.secondsIntoDurationGroups(e),n=t.hours.toString(),o=t.minutes.toString(),i=t.seconds.toString(),a=['00'.substring(n.length)+n,'00'.substring(o.length)+o,'00'.substring(i.length)+i],a.join(':')},e.secondsToHumanDuration=function(e){var t,n,o,i,a;for(n in t=this.secondsIntoDurationGroups(e),i={hours:0===t.hours?void 0:t.hours+'h',minutes:0!==t.minutes||60<=e&&0!==t.seconds?t.minutes+'m':void 0,seconds:0!==t.seconds||0===t.minutes&&3600>e?t.seconds+'s':void 0},o='',i)a=i[n],null!=a&&(o+=a);return o},e.TRIM_REGEXP=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,e.isValidHumanDuration=function(e){var t,n,o,i,a,r,l,s,d,u,p,c;if(void 0===e||null===e||''===e)return!1;if(e=(''+e).replace(this.TRIM_REGEXP,''),null===e.match(/[\dhms]+/)||null===e.match(/[hms]+/)
1)return!1;if(e.match(/[\dhms]+/)[0]!==e)return!1;for(d=['h','m','s'],n=0,i=d.length;n<i;n++)if(r=d[n],p=new RegExp(r,'g'),null!==e.match(p)&&1<e.match(p).length)return!1;if(l=e.match(/[hms]/g),3===l.length&&('h'!==l[0]||'m'!==l[1]||'s'!==l[2]))return!1;if(2===l.length){for(t=!1,s=l.join(''),u=['hm','hs','ms'],(o=0,a=u.length);o<a;o++)if(c=u[o],s===c){t=!0;break}if(!t)return!1}return!0},t=function(e,t){var n,o;return n=new RegExp('\\d+'+e),o=t.match(n),o?parseInt(o[0].match(/\d+/)[0]):0},e.humanDurationToSeconds=function(e){var n,o,i,a,r;if(e=e?e.toString():'',r=0,this.isValidHumanDuration(e))for(o=[3600*t('h',e),60*t('m',e),t('s',e)],i=0,a=o.length;i<a;i++)n=o[i],r+=n;return r},e.isValidIso8601=function(e){return void 0!==e&&null!==e&&''!==e&&'string'==typeof e&&(e=e.replace(this.TRIM_REGEXP,''),null!==e.match(/[\d:]+/)&&e.match(/[\d:]+/)[0]===e)},e.iso8601ToSeconds=function(e){var t,o,a,i,r,l,s;for(e=e?e.toString():'',s=0,l=[1,60,3600],o=e.split(':').reverse(),(a=i=0,r=o.length);i<r;a=++i)t=o[a],s+=t*l[a];return n(s)},e}()})(Wistia)},107:function(){(function(t){return t._initializers.initSpecificTime=function(){var n,e,o,i,a;try{return parent===self?(a=location.href.match(/[?&]wtime=([\dhms]*)/),o=null==(i=location.href.match(/[?&]wvideo(id)?=([^&]+)/))?void 0:i[2],!(2<=(null==a?void 0:a.length)))||t._specificTimeInitiated?void 0:(t._specificTimeInitiated=!0,e=!1,wistiaEmbeds.onFind(function(t){return o&&t.hashedId()!==o||e?void 0:(e=!0,t.embedded(function(){var e;return null==(e=t.popover)?void 0:e.show()}),t.time(a[1]).play())})):void 0}catch(e){return n=e,t.error(n),t._specificTimeInitiated=!1}}})(Wistia)},108:function(e,t,n){(function(e){return e.Interpolation?void 0:e.Interpolation=n(59)})(Wistia)},109:function(){(function(e){return null==e.mux&&(e.mux={}),e._initializers.initMux=function(){if(!e.mux._setup)return e.mux._setup=!0,e.mux._disabled=!1,e.api.onFind(function(t){var n;return n=function(){return window.wistiaDisableMux},n()||e.mux._disabled||t.iframe||t._opts&&!1===t._opts.mux?void 0:e.asyncRequire('wistia-mux.js').then(function(e){return t.embedded(function(){return n()?void 0:e(t)})})})},e._destructors.destroyMux=function(){var t,n,o,i,a,r;for(e.mux._disabled=!0,o=e.api.all(),a=[],(t=0,n=o.length);t<n;t++)r=o[t],a.push(null==(i=r.mux)?void 0:'function'==typeof i.destroy?i.destroy():void 0);return a}})(Wistia)},11:function(e,t,n){'use strict';n.r(t);n.d(t,'AJAX_DEFAULTS',function(){return g});n.d(t,'ajaxGet',function(){return m});n.d(t,'ajaxHead',function(){return h});n.d(t,'ajaxPost',function(){return f});n.d(t,'ajax',function(){return A});var i=n(5),a=n(12),r=n(14),l=n(18),s=n(13),d=n(7),u=n(22),p=n(4);function o(e){'@babel/helpers - typeof';return o='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},o(e)}var c=Object(r.cachedDetect)(),y=s.wlog.getPrefixedFunctions('ajax'),g={type:'GET',contentType:'',headers:void 0,data:void 0,dataType:void 0,timeout:0,success:void 0,error:void 0,complete:void 0},m=function(e,t){return t=Object(i.merge)({},t,{type:'GET',data:void 0}),A(e,t)},h=function(e,t){return t=Object(i.merge)({},t,{type:'HEAD',data:void 0}),A(e,t)},f=function(e,t){return t=Object(i.merge)({contentType:'application/x-www-form-urlencoded'},t,{type:'POST'}),A(e,t)},A=function(e,t){y.info('ajax',e,t);var n=Object(i.merge)({},g,t),r=new a.Url(e);r.protocol=r.protocol||Object(a.proto)();var s=!!(c.browser.msie&&11>c.browser.version),m=Object(a.proto)()!==r.protocol;if(y.info('noHttpToHttpsSupport',s,'isHttpToHttps',m),n.fallbackToJsonp&&m&&s)if(y.info('fallbackToJsonp'),!n.type||/get/i.test(n.type)){var h=r.params;n.data&&Object(i.isObject)(n.data)&&(h=Object(i.merge)(h,n.data)),n.jsonpCallback&&(h.callback=n.jsonpCallback),r.params={},Object(l.removeScriptsBySrc)(r.absolute(),{ignoreProtocol:!0,testStartsWith:!0});var f=Object(d['default'])('ajax-jsonp.');Object(u.jsonp)(r.absolute(),h,function(e){if(Object(p.clearTimeouts)(f),'json'===n.dataType&&'string'==typeof e)try{var t=JSON.parse(e);n.success(t,'OK',e),n.complete(null,'OK')}catch(t){n.error(null,'parseerror',e),n.complete(null,e)}else n.success(e,'OK')}
1),Object(p.doTimeout)(f,function(){n.error(null,'timeout'),y.warn('request timed out:',r.absolute(),h)},6e4)}else return void(Object(i.isFunction)(n.error)&&n.error.call(null,null,'error','This browser does not support POST requests from an http to an https domain. To use this feature, please make sure this page is loaded over https.'));var A=r.absolute(),b=_(A);if(!b)return Object(i.isFunction)(n.error)&&n.error.call(null,b,'error','Could not create XMLHttpRequest'),void(Object(i.isFunction)(n.complete)&&n.complete.call(null,b,'error'));var v=null!=window.XDomainRequest&&b instanceof window.XDomainRequest,k=!1,w=!1,C=function(e,t,o){!k&&Object(i.isFunction)(n.error)&&n.error.call(null,e,t,o),k=!0},S=function(e,t,o){Object(i.isFunction)(n.success)&&!k&&n.success.call(null,e,t,o),k=!0},P=function(e,t){Object(i.isFunction)(n.complete)&&!w&&n.complete.call(null,e,t),e.onerror=e.ontimeout=e[v?'onload':'onreadystatechange']=null,w=!0};y.info('xhr.open',n.type,A),b.open(n.type,A,!0);var B=function(){if(!(null!=b.status&&(200<=b.status&&300>b.status||304==b.status)))C(b,'error',b.statusText),y.warn('error',b.statusText);else if('json'==n.dataType&&'object'!==o(b.response))try{var e=JSON.parse(b.responseText);y.info('success',b.statusText,e),S(e,b.statusText,b)}catch(t){C(b,'parseerror',t),y.warn('parseerror'),y.warn(t)}else S(b.response||b.responseText,b.statusText,b),y.info('success',b.statusText,b.response||b.responseText);P(b,b.statusText),y.info('complete',b.statusText)},E=function(e,t){C(b,e,t),P(b,e)};if(n.timeout&&(b.timeout=n.timeout),null!=n.dataType&&(b.responseType=n.dataType),Object(i.isFunction)(b.setRequestHeader)&&(n.contentType&&b.setRequestHeader('Content-Type',n.contentType),n.headers))for(var T in n.headers)b.setRequestHeader(T,n.headers[T]);if(n.withCredentials&&(b.withCredentials=!0),v){if(y.info('isXDomainObject'),null!=n.headers)return E('error','custom headers disallowed for XDomainRequest');b.onload=function(){y.info('XDomainObject onload'),b.status=200,b.statusText='OK',B()},b.onerror=function(){return E('error','error')},b.ontimeout=function(){return E('timeout','timeout')}}else b.onreadystatechange=function(){y.info('xhr onreadystatechange',b.readyState),4==b.readyState&&B()},b.onerror=function(){return E('error','error')},b.ontimeout=function(){return E('timeout','timeout')};return y.info('xhr.send',n.data),b.send(n.data),b},b=[function(){var e,t;return function(n){if(null!=window.XDomainRequest){null==e&&(e=window.location.href),null==t&&(t=new a.Url(e.toLowerCase()));var o=new a.Url(n.toLowerCase()),i=!1;return i||(i=t.protocol!=o.protocol),i||(i=t.host!=o.host),i?new window.XDomainRequest:null}}}(),function(){return new XMLHttpRequest},function(){return new ActiveXObject('Microsoft.XMLHTTP')}],_=function(e){for(var t,n=void 0,o=0;o<b.length;o++){t=b[o];try{n=t(e)}catch(t){continue}if(n)break}return n}},110:function(e,t,n){(function(e){return e.featureEvent?void 0:e.featureEvent=n(111)})(Wistia)},111:function(e,t,n){var o,i,a,r,l;i=n(28),o=n(11).ajaxPost,a=n(12).objectToQueryParams,l=function(e,t){return t||(t={}),t.key=e,o('/feature_events',{data:a(t)})},r=function(e,t,n){return n||(n={}),n.key=e,n.account_id=t,o('//'+'fast.wistia.net'+'/feature_events',{data:a(n)})},e.exports={trackForCurrentAccount:l,track:r}},112:function(e,t,n){'use strict';n.r(t);var o=n(2),i=o['default'].lib('utilities/obj'),a=i.isEmpty,r=o['default'].lib('player/lib/elem'),l=r.pageLoaded,s=function(e){if(e._mediaData&&e._mediaData.integrations)for(var t in e._mediaData.integrations)if(e._mediaData.integrations[t])return!0;return!1};window._wq=window._wq||[],window._wq.push({id:'_all',onHasData:function(e){s(e)&&l(function(){setTimeout(function(){o['default'].asyncRequire('allIntegrations.js')},1e3)})}})},113:function(){(function(e){var t,n;return n=e.initializeOnce=function(){return e._initializers.initDetect(),e._initializers.initWLog(),e._initializers.initVisitorKey(),e._initializers.initEventLoop(),e._initializers.initFullscreenTriggers(),e.define('E-v1.js',e),e.trigger('ev1initonce')},t=e.initializeEveryTime=function(){var t;
1return e.trigger('ev1initstart'),e._initializers.initEmbedShepherd(),e._initializers.initMux(),e._initializers.initAsyncEmbeds(),e._initializers.initEmbedLinks(),e._initializers.initSpecificTime(),e._initializers.initDefaultTranslation(),null!=(t=e.eventLoop)&&t.resync(),e.trigger('ev1initend')},e.destroy=function(){return e.trigger('ev1destroystart'),e._destructors.destroyAsyncEmbeds(),e._destructors.destroyEmbedShepherd(),e._destructors.destroyEmbedLinks(),e._destructors.destroyFullscreenTriggers(),e._destructors.destroyEventLoop(),e._destructors.destroyVisitorKey(),e._destructors.destroyWLog(),e._destructors.destroyMux(),e.trigger('ev1destroyend')},e.destroyGlobals=function(){var e,t,n;for(e in window.Wistia=null,window.wistiaApi=null,window.wistiaDispatch=null,window.wistiaBindIframes=null,window.wistiaEmbeds=null,window._wistiaElemId=null,window.wistiaInitQueue=null,window.wistiaInit=null,window.wistiaEmbedShepherdReady=null,t=[],window)n=window[e],/^wistiajson/.test(e)?t.push(window[e]=null):t.push(void 0);return t},e.reinitialize=function(){return e.destroy(),e.initializeOnce(),e.
1initializeEveryTime()},e._initialized||(e._initialized=!0,e.initializeOnce()),e.initializeEveryTime()})(Wistia)},117:function(e,t,n){'use strict';n.r(t);var r=n(2);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var l=r['default'].lib('preact'),s=l.h,d=l.render,u=function(){function e(t){o(this,e),this.video=t,this.unbinds=[],this.reactMounts={}}return a(e,[{key:'mount',value:function(e){this.rootElem=e}}]),e}();t['default']=u},119:function(e,t,n){'use strict';n.r(t);n.d(t,'standardSvgAttrs',function(){return l});var r=n(2);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?o(Object(t),!0).forEach(function(n){a(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:{};return{x:'0px',y:'0px',viewBox:'0 0 '.concat(e,' ').concat(t),"enable-background":'new 0 0 '.concat(e,' ').concat(t),style:i({fill:'#ffffff',height:'100%',left:0,strokeWidth:0,top:0,width:'100%'},n),focusable:'false'}};r['default'].define('vulcanV2Player/svg_boilerplate.js',{standardSvgAttrs:l})},12:function(e,t,n){'use strict';n.r(t);n.d(t,'proto',function(){return r});n.d(t,'queryParamsToObject',function(){return l});n.d(t,'urlComponentToObject',function(){return s});n.d(t,'objectToQueryParams',function(){return d});n.d(t,'splitPath',function(){return u});n.d(t,'joinPath',function(){return p});n.d(t,'brack',function(){return c});n.d(t,'debrack',function(){return y});n.d(t,'Url',function(){return m});var a=n(5),i=n(13);function o(e){'@babel/helpers - typeof';return o='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},o(e)}var r=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:location.href;return /^http:\/\//.test(e)?'http:':'https:'},l=function(e){var t={};if(!e)return t;for(var n=e.split('&'),o=0;o<n.length;o++){var r=n[o],l=r.split('='),d=l[0],u=l[1];try{d=y(decodeURIComponent(d))||''}catch(t){setTimeout(function(){i.wlog.notice(t)},50),d=''}a.cast(d);var p=a.get(t,d);if(!(null!=p))a.setAndPreserveUndefined(t,d,s(u));else if(a.isArray(p))p.push(s(u));else{var c=[p];c.push(s(u)),a.setAndPreserveUndefined(t,d,c)}}return t},s=function(t){if(null==t)return t;var n;try{n=decodeURIComponent(t)}catch(o){setTimeout(function(){i.wlog.notice(o)},50),n=t}return n},d=function(e){var t=[];
1return a.eachLeaf(e,function(e,n){null==e?t.push(encodeURIComponent(c(n))):t.push(encodeURIComponent(c(n))+'='+encodeURIComponent(e))}),t.join('&')},u=function(e){var t=[];if(null==e)return t;for(var n,o=e.split(/\/+/),a=0;a<o.length;a++)n=o[a],null!=n&&''!==n&&t.push(n);return t},p=function(e){return'string'==typeof e&&(e=e.split('/')),null==e?'':'/'+e.join('/')},c=function(e){for(var t=e[0],n=1;n<e.length;n++)t+='['+e[n]+']';return t},y=function(e){return e.match(/([\w\-_]+)/g)},g=['protocol','host','port','params','path'],m=function(e){var t=this;return function(){t.params={},t.path=[],t.host='','object'===o(e)?t.fromOptions(e):e&&t.fromRaw(e)}(),t},h=m.prototype;h.fromOptions=function(e){for(var t,n=0;n<g.length;n++)t=g[n],null!=e[t]&&(this[t]=e[t]);return this},h.fromRaw=function(e){this.rawUrl=e;var t;return t=e.match(/^((?:https?:)|(?:file:)|(?:ftp:))?\/\//),t&&(this.protocol=t[1]||void 0),t=e.match(/\/\/([^:?#/]*)/),t&&(this.host=t[1]||void 0),t=e.match(/\/\/.*?(\/[^?#$]+)/)||e.match(/(^\/[^/][^?#$]+)/),t&&this.setPath(t[1]),t=e.match(/:(\d+)/),t&&(this.port=parseInt(t[1],10)),t=e.match(/\?([^#]+)/),t&&(this.rawParams=t[1],this.params=l(this.rawParams)),t=e.match(/#(.*)$/),t&&(this.anchor=t[1]),this},h.clone=function(){return new m({protocol:this.protocol,host:this.host,port:this.port,path:a.clone(this.path),params:a.clone(this.params),anchor:this.anchor})},h.ext=function(e){if(null!=e){var t=this.ext(),n=this.path.length-1,o=new RegExp('\\.'.concat(t),'g');return t&&(this.path[n]=''.concat(this.path[n].replace(o,''))),this.path[n]=''.concat(this.path[n],'.').concat(e)}var i=this.path[this.path.length-1].match(/\.(.*)$/);return null!=i&&i[1]||null},h.isRelative=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:window.location,t=this.protocol,n=this.host;return(null==t||''===t||t===e.protocol)&&(!n||n===e.hostname)},h.toString=function(){return this.isRelative()?this.relative():this.absolute()},h.absolute=function(){var e='';null!=this.protocol&&(e=this.protocol);var t='';return null!=this.port&&(t=':'+this.port),''.concat(e,'//').concat(this.host||location.host).concat(t).concat(this.relative())},h.relative=function(){var e='';0<this.path.length&&(e=p(this.path),this._hasTrailingSlash&&(e+='/'));var t='?'+d(this.params);return 1===t.length&&(t=''),''.concat(e).concat(t).concat(this.relativeAnchor())},h.authority=function(){var e=null==this.port?'':':'.concat(this.port);return''.concat(this.host).concat(e)},h.relativeProtocol=function(){var e='';return null!=this.port&&(e=':'+this.port),'//'.concat(this.host).concat(e).concat(this.relative())},h.relativeAnchor=function(){var e='';return null!=this.anchor&&(e='#'.concat(this.anchor)),''+e},h.setPath=function(e){this.rawPath=e,this._hasTrailingSlash=/\/$/.test(this.rawPath),this.path=u(this.rawPath)},m.create=function(e){return new m(e)},m.parse=function(e){return new m(e)}},120:function(e,t,n){'use strict';n.r(t);n.d(t,'callUnbinds',function(){return y});n.d(t,'destroyControl',function(){return g});n.d(t,'maybeDestroyControls',function(){return m});n.d(t,'maybeInitializeControls',function(){return h});n.d(t,'mountControls',function(){return A});n.d(t,'setControlProps',function(){return b});n.d(t,'removeRootElem',function(){return _});n.d(t,'runOnControlPropsUpdated',function(){return k});n.d(t,'getSortedControlsByType',function(){return C});n.d(t,'pickControlDefinitionsWithTypes',function(){return S});n.d(t,'unmountReactMounts',function(){return P});n.d(t,'unsetObjectProperties',function(){return B});var o=n(2),i=n(21),a=n.n(i),r=n(6),l=n(31),s=o['default'].lib('player/lib/elem'),d=s.elemRemove,u=o['default'].lib('preact'),p=u.h,c=u.render,y=function(e){e.unbinds instanceof Array&&(e.unbinds.map(function(e){try{'function'==typeof e&&e()}catch(t){setTimeout(function(){throw t},1)}}),e.unbinds=null)},g=function(e){e._destroyed=!0,y(e),_(e),P(e),B(e)},m=function(e){var t=e.controls,n=e.isControlDisabled,o=e.shouldMount,i=[];for(var a in t){var r=t[a];if(n(a)||!o(r.constructor)){if(r.destroy)try{r.destroy()}catch(t){setTimeout(function(){throw t}
1,1)}r.__destroyed=!0,delete t[r.constructor.handle],i.push(r)}}return i},h=function(e){var t=e.controlDefinitions,n=e.controls,o=e.isControlDisabled,i=e.initControl,r=e.onMount,l=e.shouldMount,s=e.reevaluateShouldMount,d=[],u=[],p=function(e){var p=t[e],c=null!=n[e],y=!o(e)&&l(p);if(s(p),y&&c)return u.push(n[e]),'continue';if(!c&&y)try{var g=n[e]=i(p);g.mounted=new a.a(function(t){g.__didMount=function(){g.mounted.isResolved=!0,r(e),t()}}),d.push(g)}catch(t){setTimeout(function(){throw t},1)}};for(var c in t){var y=p(c)}return[d,u]},f=function(e,t){try{var n=e.constructor.handle,o=t();return o&&o.then&&o.catch?(o.handle=n,o.then(function(){e.__didMount()})):e.__didMount(),a.a.resolve(o)}catch(t){return setTimeout(function(){throw t},0),a.a.resolve()}},A=function(e,t){return a.a.all(e.map(function(e){var n=e.constructor.handle,o=t[n];return f(e,function(){return e.mount(o)})}))},b=function(e,t){for(var n in e){var o=e[n];o.__prevProps=o.props||{},o.props=Object(r['default'])({},t[o.constructor.type])}},_=function(e){e.rootElem&&d(Array.prototype.slice.call(e.rootElem.childNodes))},v=function(e){var t=e[0],n=e[1];t&&n&&c(p('nothing',null),t)},k=function(e){e.forEach(function(e){if('function'==typeof e.onControlPropsUpdated)try{e.onControlPropsUpdated(e.__prevProps||{})}catch(t){setTimeout(function(){throw t},0)}e.__prevProps=null})},w=function(e){return'_'===e[0]&&'_'===e[1]},C=function(e){var t={};for(var n in e){var o=e[n],i=o.constructor.type;null==t[i]&&(t[i]=[]),t[i].push(o)}for(var a in t)t[a].sort(function(e,t){return(e.constructor.sortValue||0)-(t.constructor.sortValue||0)});return t},S=function(e){var t=Object(l.getControlDefinitions)(),n={};for(var o in t){var i=t[o];0<=e.indexOf(i.type)&&(n[o]=i)}return n},P=function(e){var t=e.reactMounts;if(t)if(t instanceof Array)v(t);else for(var n in t)t.hasOwnProperty(n)&&t[n]&&v(t[n])},B=function(e){for(var t in e)e.hasOwnProperty(t)&&!w(t)&&'mounted'!==t&&(e[t]=null);e.__prevProps=null,e._destroyed=!0}},13:function(e,t,n){'use strict';n.r(t);n.d(t,'ERROR',function(){return y});n.d(t,'WARNING',function(){return g});n.d(t,'NOTICE',function(){return m});n.d(t,'INFO',function(){return h});n.d(t,'DEBUG',function(){return f});n.d(t,'LOG_LEVELS',function(){return A});n.d(t,'Logger',function(){return _});n.d(t,'wlog',function(){return B});var d=n(2),u=n(14),p=n(15);function o(e){return l(e)||r(e)||a(e)||i()}function i(){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(e,t){if(e){if('string'==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(e,t):void 0}}function r(e){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return s(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var c=Object(u.cachedDetect)(),y=0,g=1,m=2,h=3,f=4,A={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},b=function(){},_=function(e){var t=this;null==e&&(e={});return t.error=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.log(y,n)},t.warn=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.log(g,n)},t.notice=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.log(g,n)},t.info=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.log(h,n)},t.debug=function(){for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return t.log(f,n)},function(){t.ctx=e,t.ctx.initializedAt||t.reset()}(),t},v=_.prototype;v.reset=function(){this.ctx.level=y,this.ctx.grep=null,this.ctx.grepv=null,this.ctx.first1000LogLines=[],this.ctx.last1000LogLines=[],this.ctx.initializedAt=new Date().getTime()},v.setLevel=function(e){var t=this.logFunc(h);null==A[e]?t('Unknown log level "'.concat(e,'"')):(this.ctx.level=A[e],t('Log level set to "'.concat(e,'" (').concat(A[e],')')))},v.setGrep=function(e){this.ctx.grep=e},v.setGrepv=function(e){this.ctx.grepv=e},v.first1000LogLines=function(){return this.ctx.first1000LogLines},v.last1000LogLines=function(){return this.ctx.last1000LogLines},v.matchedGrep=function(e){var t=!1;if(this.ctx.grep||this.ctx.grepv){for(var n=[],o=0;o<e.length;o++)try{var i=e[o];n.push(i.toString&&i.toString())}catch(t){n.push('')}var a=n.join(' '),r=!this.ctx.grep||a.match(this.ctx.grep),l=!this.ctx.grepv||!a.match(this.ctx.grepv);t=r&&l}else t=!0;return t},v.now=function(){return'undefined'!=typeof performance&&'function'==typeof performance.now?performance.now().toFixed(3):Date.now?Date.now()-this.ctx.initializedAt:new Date().getTime()-this.ctx.initializedAt},v.messagesToLogLine=function(e,t,n){var o=[e,t];o=o.concat(n);var i;try{i=o.join(' ')||'',200<i.length&&(i=i.slice(0,200))}catch(e){i='could not serialize'}return i},v.persistLine=function(e){1e3>this.ctx.first1000LogLines.length?this.ctx.first1000LogLines.push(e):(1e3<=this.ctx.last1000LogLines.length&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(e))},v.log=function(t,n){var i=t<=this.ctx.level,a=t<f,r=(i||a)&&this.matchedGrep(n);t===y&&Object(p.globalTrigger)('problem',{type:'error-logged',data:{messages:n}});var l;if(r&&(i||a)&&(l=this.now()),a&&r){var s=this.messagesToLogLine(t,l,n);this.persistLine(s)}if(i&&r){var d,e=this.logFunc(t);1===n.length&&(d=n[0])instanceof Error?(e(d.message),d.stack&&e(d.stack)):c.browser.msie&&(9>c.browser.version||c.browser.quirks)?e(n.join(' ')):e.apply(void 0,o(n))}};var k=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];console.error.apply(console,t)},w=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];console.warn.apply(console,t)},C=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];console.info.apply(console,t)},S=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];console.debug.apply(console,t)},P=function(e){console.log.apply(console,e)};v.logFunc=function(e){if(null==e&&(e=this.level),!console)return b;var t;return e===y?t=k:e===g?t=w:e===h?t=C:e===f&&(t=S),t||(t=P),'function'!=typeof t&&(this.noConsoleLog=!0,t=b),t},v.maybePrefix=function(t,e){if(t){if('function'==typeof t)try{t=t()}catch(n){t='prefix err "'.concat(n.message,'"')}return t instanceof Array?t.concat(e):[t].concat(e)}return e},v.getPrefixedFunctions=function(e){var t=this;return{log:function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.log(y,t.maybePrefix(e,o))},error:function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.log(y,t.maybePrefix(e,o))},warn:function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.log(g,t.maybePrefix(e,o))},notice:function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.log(g,t.maybePrefix(e,o))},info:function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.log(h,t.maybePrefix(e,o))},debug:function(){for(var n=arguments.length,o=Array(n),i=0;i<n;i++)o[i]=arguments[i];return t.log(f,t.maybePrefix(e,o))}}},d['default']&&null==d['default'].wlogCtx&&(d['default'].wlogCtx={});var B=new _(d['default'].wlogCtx)},14:function(e,t,n){'use strict';n.r(t);n.d(t,'callingPlayRequiresEventContext',function(){return re});n.d(t,'webp',function(){return le});n.d(t,'cachedDetect',function(){return se});n.d(t,'uncachedDetect',function(){return de});n.d(t,'clearDetectCache',function(){return ue});var o=n(2),a=n(3),i,r=navigator.userAgent,l=/(webkit)[ /]([^\s]+)/i,s=/OPR\/([^\s]+)/i,d=/(msie) ([^\s;]+)/i,u=/(trident)\/\s*([^;]+)/i,p=/(edge)\/(\d+(?:\.\d+)?)/i,c=/(mozilla)(?:.*? rv:([^\s)]+))?/i,y=/(android) ([^;]+)/i,g=/(iphone)/i,m=/(ipad)/i,h=/(Windows Phone OS (\d+(?:\.\d+)?))/,f=/OS (\d+)_(\d+)/i,A=/(playstation 3)/i,b=/BlackBerry|BB10/i,_=/(firefox)/i,v=/Mobile VR/i,k=function(){return(C()[1]||'webkit').toLowerCase()},w=function(){return C()[2]},C=function(){var e;return(e=r.match(p),e)?e:(e=r.match(l),e)?e:(e=r.match(s),e)?e:(e=r.match(d),e)?(null!=document.documentMode&&(e[2]=document.documentMode),e):(e=r.match(c),e?e:[])},S=function(){var e=r.match(y);return null!=e&&{version:e[2]}
1},P=function(){return S()&&4.1>parseFloat(S().version)&&!N()},B=function(){return g.test(r)},E=function(){return 0<R()||S()},T=function(){try{var e=matchMedia('(hover:hover)');if('not all'!==e.media)return e.matches}catch(e){}return!E()},x=function(){return b.test(r)},M=function(){return null!=a['default'].devicePixelRatio&&1<a['default'].devicePixelRatio},D=function(){return m.test(r)},I=function(){return l.test(r)&&!/chrome/i.test(r)&&!D()&&!B()},O=function(){return!!(/Chrome/.test(r)&&/Google Inc/.test(navigator.vendor))&&{version:F()}},F=function(){var e=r.match(/\bChrome\/([^\s]+)/);return e&&e[1]},L=function(){return s.test(r)},R=function(){var e=r.match(f);return null==e?0:parseFloat(''.concat(e[1],'.').concat(e[2]))},H=function(){return h.test(r)},W=function(){return A.test(r)},N=function(){return u.test(r)},V=function(){return p.test(r)},U=function(){return _.test(r)},j=function(){return v.test(r)},G=function(){return /win/i.test(navigator.platform)},Q=function(){return /mac/i.test(navigator.platform)},z=function(){return /linux/i.test(navigator.platform)},Y=function(){var e=K();return{version:parseFloat(e[0]+'.'+e[1]),major:parseInt(e[0]),minor:parseInt(e[1]),rev:parseInt(e[2])}},K=function(){try{try{var e=new ActiveXObject('ShockwaveFlash.ShockwaveFlash.6');try{e.AllowScriptAccess='always'}catch(t){return[6,0,0]}}catch(t){}return new ActiveXObject('ShockwaveFlash.ShockwaveFlash').GetVariable('$version').replace(/\D+/g,',').match(/^,?(.+),?$/)[1].split(',')}catch(t){try{if(navigator.mimeTypes['application/x-shockwave-flash'].enabledPlugin)return(navigator.plugins['Shockwave Flash 2.0']||navigator.plugins['Shockwave Flash']).description.replace(/\D+/g,',').match(/^,?(.+),?$/)[1].split(',')}catch(t){}}return[0,0,0]},q=function(){var e=document.createElement('video'),t=!1;try{if(e.canPlayType){t={};t.h264=!!e.canPlayType('video/mp4; codecs="avc1.42E01E"')||!!e.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),t.webm=!!e.canPlayType('video/webm; codecs="vp9, vorbis"'),t.nativeHls=!!e.canPlayType('application/vnd.apple.mpegURL')}}catch(n){t={ogg:!1,h264:!1,webm:!1,nativeHls:!1}}return t},J=function(){return a['default'].MediaSource&&a['default'].MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E, mp4a.40.2"')},X=function(){return(B()||D()||I())&&!N()&&q().nativeHls},Z=function(){try{return'localStorage'in a['default']&&null!=a['default'].localStorage}catch(t){return!1}},$=function(){return!!(a['default'].JSON&&'function'==typeof JSON.parse)},ee=function(){var e=document.createElement('div');return''===e.style.backgroundSize||''===e.style.webkitBackgroundSize||''===e.style.mozBackgroun
1dSize||''===e.style.oBackgroundSize},te=function(){return document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled},ne=['WebKit','Moz','O','Ms',''],oe=function(){for(var e=0;e<ne.length;e++){var t=ne[e],n=t+'MutationObserver';if(a['default'][n])return n}return null},ie=function(){var e=/webkit|mozilla|edge/.test(k()),t='msie'===k()&&11<=w();return!(B()||D()||S()||x()||!e&&!t||!q().h264||!Object.defineProperties)},ae=function(){if(null!=i)return i;try{var e=Object.defineProperty({},'passive',{get:function(){i=!0}});window.addEventListener('test',null,e)}catch(e){i=!1}return i},re=function(){return 0<R()||S()||I()},le=function(){var e=O(),t=U(),n=V(),o=L(),i=e&&32<=w(),a=e&&75<=w()&&S(),r=t&&65<=w(),l=t&&67<=w()&&S(),s=n&&18<=w(),d=o&&19<=w();return i||a||r||l||s||d},se=function(){return o['default']._detectCache?o['default']._detectCache:(o['default']._detectCache=de(),o['default']._detectCache)},de=function(){var e={browser:{version:w(),quirks:'msie'===k()&&'BackCompat'===document.compatMode,old:'msie'===k()&&('BackCompat'===document.compatMode||7>w()),ltie8:'msie'===k()&&('BackCompat'===document.compatMode||8>w())},trident:N(),edge:V(),firefox:U(),gearvr:j(),android:S(),oldandroid:P(),iphone:B(),ipad:D(),blackberry:x(),safari:I(),chrome:O(),opera:L(),winphone:{version:H()[2]},ios:{version:R()},windows:G(),mac:Q(),linux:z(),retina:M(),hoverIsNatural:T(),touchScreen:E(),ps3:W(),flash:Y(),video:q(),mediaSource:J(),nativeHls:X(),localstorage:Z(),json:$(),backgroundSize:ee(),fullscreenEnabled:te(),vulcanSupport:ie(),mutationObserver:oe(),callingPlayRequiresEventContext:re(),passiveSupported:ae(),webp:le()};return e.browser[k()]=!0,e},ue=function(){o['default']._detectCache=null}},15:function(e,t,n){'use strict';n.r(t);n.d(t,'globalBind',function(){return a});n.d(t,'globalOn',function(){return r});n.d(t,'globalOff',function(){return l});n.d(t,'globalRebind',function(){return s});n.d(t,'globalTrigger',function(){return d});n.d(t,'globalUnbind',function(){return u});var o=n(2),i=n(16);Object(i.makeWbindable)(o['default']);var a=o['default'].bind.bind(o['default']),r=o['default'].on.bind(o['default']),l=o['default'].off.bind(o['default']),s=o['default'].rebind.bind(o['default']),d=o['default'].trigger.bind(o['default']),u=o['default'].unbind.bind(o['default'])},16:function(e,t,n){'use strict';n.r(t);n.d(t,'makeWbindable',function(){return a});var o=n(2),i=n(17);o['default'].bindable||(o['default'].bindable={bind:function(e,t){return this.specialBind&&!0===this.specialBind.apply(this,arguments)?this:t?(i.bind.call(this,e,t),this):void(o['default'].warn&&o['default'].warn(this.constructor.name,'bind','falsey value passed in as callback:',t))},unbind:function(e,t){return this.specialUnbind&&!0===this.specialUnbind.apply(this,arguments)?this:(t?i.unbind.call(this,e,t):this._bindings&&(this._bindings[e]=[]),this._bindings&&this._bindings[e]&&!this._bindings[e].length&&(this._bindings[e]=null,delete this._bindings[e]),this)},on:function(e,t){var n=this.specialBind&&this.specialBind.apply(this,arguments);return'function'==typeof n?n:i.bind.call(this,e,t)},off:function(e,t){var n=this.specialUnbind&&this.specialUnbind.apply(this,arguments);return'function'==typeof n?n:i.unbind.call(this,e,t)},rebind:function(e,t){return this.unbind(e,t),this.bind(e,t),this},trigger:function(e){for(var t,n=arguments.length,o=Array(1<n?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return(t=i.trigger).call.apply(t,[this,e].concat(o)),this},bindNamed:function(){return i.bindNamed.apply(this,arguments)},unbindNamed:function(){return i.unbindNamed.apply(this,arguments)},unbindAllInNamespace:function(){return i.unbindAllInNamespace.apply(this,arguments)}});var a=function(e){for(var t in o['default'].bindable){var n=o['default'].bindable[t];e[t]||(e[t]=n)}};t['default']=o['default'].bindable},17:function(e,t,n){'use strict';n.r(t);n.d(t,'bind',function(){return i});n.d(t,'unbind',function(){return r});n.d(t,'rebind',function(){return l});n.d(t,'trigger',function(){return s});n.d(t,'once',function(){return u});n.d(t,'initNamespace',function(){return p});n.d(t,'bindNamed',function(){return g});n.d(t,'unbindNamed',function(){return m});n.d(t,'unbindAllInNamespace',function(){return h});n.d(t,'bindify',function(){return A});n.d(t,'Bindings',function(){return b});var o=n(2),a=Array.prototype.slice,i=function(e,t){var n=this;return n._bindings||(n._bindings={}),n._bindings[e]||(n._bindings[e]=[]),n._bindings[e].push(t),function(){n.unbind(e,t)}},r=function(e,t){if(!this._bindings)return this;if(!this._bindings[e])return this;for(var n,o=[],a=0;a<this._bindings[e].length;a++)n=this._bindings[e][a],n!==t&&o.push(n);this._bindings[e]=o},l=function(e,t){return this.unbind(e,t),this.bind(e,t),{event:e,fn:t}},s=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return this._bindings&&null!=this._bindings.all&&d.apply(this,['all',e].concat(n)),d.apply(this,[e].
1concat(n))},d=function(e){if(!this._bindings)return this;if(!this._bindings[e])return this;for(var t,n,r=a.call(arguments,1),l=this._bindings[e],s=0;s<l.length;s++){n=l[s];try{var i=n.apply(this,r);i===this.unbind&&(null==t&&(t=[]),t.push({event:e,fn:n}))}catch(t){if(this._throwTriggerErrors)throw t;else o['default'].error&&o['default'].error(t)}}if(t)for(var d,u=0;u<t.length;u++)d=t[u],this.unbind(d.event,d.fn);return this},u=function(e,t){return i(e,function(){return t.apply(this,a.call(arguments,0)),r})},p=function(e,t){null==e._namedBindings&&(e._namedBindings={}),null==e._namedBindings[t]&&(e._namedBindings[t]={})},c=function(e,t,n){return p(e,t),e._namedBindings[t][n]},y=function(e,t,n,o,i){p(e,t),e._namedBindings[t][n]={event:o,fn:i}},g=function(e,t,n,o){return this.unbindNamed(e,t),y(this,e,t,n,o),this.bind(n,o),function(){this.unbindNamed(e,t)}},m=function(e,t){p(this,e);var n=c(this,e,t);if(n){var o=n.event,i=n.fn;this.unbind(o,i)}var a=this._namedBindings;return delete a[e][t],f(a[e])&&delete a[e],this},h=function(e){var t=this._namedBindings&&this._namedBindings[e];if(null==t)return this;for(var n in t)t.hasOwnProperty(n)&&this.unbindNamed(e,n)},f=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},A=function(e){return e.bind=i,e.unbind=r,e.on=i,e.off=r,e.rebind=l,e.trigger=s,e.bindNamed=g,e.unbindNamed=m,e.unbindAllInNamespace=h,e},b=function(){};A(b.prototype)},176:function(e,t,n){'use strict';n.r(t);var w=n(2),C=n(177),S=n(178),P=n(40);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){return u(e)||d(e,t)||l(e,t)||r()}function r(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function l(e,t){if(e){if('string'==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function d(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function u(e){if(Array.isArray(e))return e}function p(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function c(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function y(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function g(e){return function(){var t,n=b(e);if(A()){var o=b(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return m(this,t)}}function m(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:f(e)}function f(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function A(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function b(e){return b=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},b(e)}function _(e,t){if('function'!=typeof t&&null!==t)throw new TypeError('Super expression must either be null or a function');e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}
1function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B,E,T,x=w['default'].lib('utilities/color'),M=w['default'].lib('utilities/obj'),D=M.assign,I=M.clone,O=w['default'].lib('utilities/duration'),F=O.flexibleDuration,L=w['default'].lib('player/lib/elem'),R=L.elemBind,H=L.elemOffset,W=L.elemUnbind,N=w['default'].lib('preact'),V=N.h,h=N.render,U=N.Component,j=w['default'].lib('utilities/detect'),G=j.cachedDetect,Q=w['default'].lib('utilities/isMouseDown'),z=Q.isMouseDown,Y=G(),K='vulcanV2Player/ui_components',q='w-playbar',J=function(e){return Math.min(1,Math.max(0,e))},X=function(e){function t(e){var o;return p(this,t),o=n.call(this,e),k(f(o),'onFocusIn',function(){z()||o.setState({isKeyboardFocused:!0})}),k(f(o),'onFocusOut',function(){o.state.isKeyboardFocused&&o.setState({isKeyboardFocused:!1})}),k(f(o),'onMouseEnter',function(t){o.touchEvents||(t.wistiaPlayerHandled=!0,o.setState({hoveredAt:Date.now(),isHovering:!0}),o.cachePositionDetails(),o.props.shouldShowStoryboard&&o.loadStoryboard())}),k(f(o),'onMouseLeave',function(t){o.touchEvents||(t.wistiaPlayerHandled=!0,o.setState({hoveredAt:void 0,isHovering:!1}))}),k(f(o),'onMouseMove',function(t){if(!o.touchEvents){t.wistiaPlayerHandled=!0;var e=o.getPercentFromPossiblyExternalMouseEvent(t);o.setState({hoverPercent:e})}}),k(f(o),'onMouseDown',function(t){if(!o.touchEvents&&!t.ctrlKey){t.preventDefault(),o.wrapperElem.focus(),t.wistiaPlayerHandled=!0,o.cachePositionDetails();var e=o.getPercentFromPossiblyExternalMouseEvent(t);o.handleWithProp('onDragStart',t,e),o.setState({dragPercent:e,dragMode:!0,wasBeforePlayOnDrag:o.props.isBeforePlay}),R(document,'mousemove',o.onMouseMoveDragging),R(document,'mouseup',o.onMouseUpDragging)}}),k(f(o),'onMouseMoveDragging',function(t){t.preventDefault(),t.wistiaPlayerHandled=!0;var e=o.getPercentFromPossiblyExternalMouseEvent(t);o.handleWithProp('onDrag',t,e),o.setState({dragPercent:e,dragMode:!0})}),k(f(o),'onMouseUpDragging',function(t){t.wistiaPlayerHandled=!0;var e=o.getPercentFromPossiblyExternalMouseEvent(t);o.setState({dragPercent:e,dragMode:!1,isOverPlayhead:!1}),o.handleWithProp('onDragEnd',t,e),W(document,'mousemove',o.onMouseMoveDragging),W(document,'mouseup',o.onMouseUpDragging)}),k(f(o),'onTouchStart',function(t){t.preventDefault(),t.wistiaPlayerHandled=!0,o.cachePositionDetails();var e=o.getPercentFromTouchEvent(t);o.handleWithProp('onDragStart',t,e),o.setState({dragPercent:e,dragMode:!0}),o.touchEvents.on('touchmove',o.onTouchMoveDragging),o.touchEvents.on('touchend',o.onTouchEndDragging)}),k(f(o),'onTouchMoveDragging',function(t){t.preventDefault(),t.wistiaPlayerHandled=!0;var e=o.getPercentFromTouchEvent(t);o.handleWithProp('onDrag',t,e),o.setState({dragPercent:e,dragMode:!0})}),k(f(o),'onTouchEndDragging',function(t){t.wistiaPlayerHandled=!0;var e=o.getPercentFromTouchEvent(t);o.setState({dragPercent:e,dragMode:!1,isOverPlayhead:!1}),o.handleWithProp('onDragEnd',t,e),o.touchEvents.off('touchmove',o.onTouchMoveDragging),o.touchEvents.off('touchend',o.onTouchEndDragging)}),k(f(o),'onMouseEnterPlayhead',function(){o.setState({isOverPlayhead:!0})}),k(f(o),'onMouseLeavePlayhead',function(){o.setState({isOverPlayhead:!1})}),k(f(o),'setWrapperRef',function(t){o.wrapperElem=t,o.props.setPlaybarElemRef&&o.props.setPlaybarElemRef(t)}),k(f(o),'startAnimLoopIfPlaying',function(){o.props.isPlaying&&o.props.isVisible&&requestAnimationFrame(o.continuouslyUpdatePlaybar)}),k(f(o),'stopAnimLoop',function(){cancelAnimationFrame(o.animReq)}),k(f(o),'continuouslyUpdatePlaybar',function(){o.drawCanvas(),o.maybeUpdateTimeText(),D(o.playheadEl.style,o.playheadStyle()),o.startAnimLoopIfPlaying()}),k(f(o),'loadStoryboard',function(){return w['default'].asyncRequire(''.concat(K,'/Storyboard.js')).then(function(e){T=e,o.setState({loadedStoryboard:!0})})}),k(f(o),'loadChapters',function(){return w['default'].asyncRequire([''.concat(K,'/ChapterMarkers.js'),''.concat(K,'/ChapterTitles.js')]).then(function(e){var t=a(e,2),n=t[0],i=t[1];B=n,E=i,o.setState({loadedChapters:!0})})}),o.state={currentBufferTime:e.getCurrentBufferTime(),currentTime:e.getCurrentTime(),dragMode:!1,dragPercent:0,hasPlayed:!1,hoverPercent:0,isHovering:!1,isKeyboardFocused:!1,isOverPlayhead:!1,loadedChapters:!1,loadedStoryboard:!1,timeWidth:null,wasBeforePlayOnDrag:!1},o.setColorsFromPlayerColor(e.color),e.chapters&&0<e.chapters.length&&o.loadChapter
1s(),o}_(t,e);var n=g(t);return y(t,[{key:'canvasHeight',value:function(){return this.props.height*(window.devicePixelRatio||1)}},{key:'canvasStyle',value:function(){return{height:''.concat(this.props.height,'px'),left:''.concat(-this.leftBarMargin(),'px'),position:'absolute',top:0,width:''.concat(this.leftBarMargin()+this.unfilledBarWidth()+this.rightBarMargin(),'px')}}},{key:'canvasWidth',value:function(){return(this.leftBarMargin()+this.unfilledBarWidth()+this.rightBarMargin())*(window.devicePixelRatio||1)}},{key:'playheadStyle',value:function(){var e=4*(1.4*this.barHeight()),t=this.props.height/2-e/2,n=this.playedPercent()*this.unfilledBarWidth();return{borderRadius:'50%',height:''.concat(e,'px'),left:''.concat(n-e/2,'px'),opacity:0,position:'absolute',top:''.concat(t,'px'),width:''.concat(e,'px')}}},{key:'componentWillReceiveProps',value:function(e){var t=this.props;t.color!==e.color&&this.setColorsFromPlayerColor(e.color),this.setState({dragMode:!1,currentTime:t.getCurrentTime(),currentBufferTime:t.getCurrentBufferTime()}),e.chapters&&0<e.chapters.length&&this.loadChapters()}},{key:'drawCanvas',value:function(){var e,t=this;if(this.canvasEl){var n=window.devicePixelRatio||1,o=this.state,a=o.dragMode,r=o.hoverPercent,l=o.isHovering,s=o.isKeyboardFocused,d=o.isOverPlayhead,u=this.canvasWidth(),p=this.canvasHeight(),c=this.canvasEl.getContext('2d');c.globalCompositeOperation='source-over',c.clearRect(0,0,u,p);var y=this.unfilledBarWidth(),m=this.props.height*n/2;c.strokeStyle='rgba(255,255,255,.6)',c.lineWidth=this.barHeight()*n,c.beginPath(),c.lineCap='round',c.moveTo(this.leftBarMargin()*n,m),c.lineTo((this.leftBarMargin()+y)*n,m),c.stroke();var h=this.playedPercent()*y;c.strokeStyle='rgba(255,255,255,1)',c.lineWidth=this.barHeight()*n,c.beginPath(),c.lineCap='round',c.moveTo(this.leftBarMargin()*n,m),c.lineTo((this.leftBarMargin()+h)*n,m),c.stroke();var f=this.props.chapters,A=this.props,b=A.chapterWithFocusedMarker,_=A.duration,v=1.4*this.barHeight()*n;if(0<(null===(e=f)||void 0===e?void 0:e.length)){if(b){f=I(f);for(var k=-1,w=0;w<f.length;w++)if(f[w].id===b.id){k=w;break}f.splice(k,1),f.push(b)}f.forEach(function(e){var o=e.time/_,i=(t.leftBarMargin()+o*y)*n,a=v;b===e&&(a*=1.5),c.beginPath(),c.arc(i,m,1.6*a,0,2*Math.PI),c.closePath(),c.globalCompositeOperation='destination-out',c.fill()}),f.forEach(function(e){var o=e.time/_,i=(t.leftBarMargin()+o*y)*n,a=.6,r=v;b===e&&(r*=2,a=1),c.beginPath(),c.arc(i,m,r,0,2*Math.PI),c.closePath(),c.globalCompositeOperation='source-over',c.fillStyle='rgba(255,255,255,'.concat(a,')'),c.fill();var l=.75*t.barHeight()*n,s=r-l;c.beginPath(),c.arc(i,m,s,0,2*Math.PI),c.closePath(),c.globalCompositeOperation='destination-out',c.fillStyle='rgba(0,0,0,1)',c.fill()}),c.globalCompositeOperation='source-over'}var i=a||s||d,C=i?2:1.001,S=!1;C!==this.playheadScale&&(S=!0,this.playheadScale=i?2:1.001,this.lastScaledAt=Date.now());var P=i?0:100;S&&this.animateUntil(Date.now()+P);var B=0==P?1:2-Math.min(1,(Date.now()-this.lastScaledAt)/P),E=this.lastScaledAt?B*C:1,T=1.4*this.barHeight()*n*E,x=(this.leftBarMargin()+h)*n,M=2*T,D=2*M,O=c.createRadialGradient(x,m,0,x,m,M);if(O.addColorStop(0,'rgba(255,255,255,.5)'),O.addColorStop(1,'rgba(255,255,255,0)'),c.beginPath(),c.rect(x-M,m-M,D,D),c.closePath(),c.fillStyle=O,c.fill(),c.beginPath(),c.arc(x,m,T,0,2*Math.PI),c.closePath(),c.fillStyle='rgba(255,255,255,1)',c.fill(),s&&(c.beginPath(),c.arc(x,m,1.5*T,0,2*Math.PI),c.closePath(),c.strokeWidth=n||1,c.stroke()),l&&!a&&!b){c.beginPath();var g=1.4*this.barHeight()*n,F=(this.leftBarMargin()+r*this.unfilledBarWidth())*n-g/2;c.arc(F,m,g,0,2*Math.PI),c.closePath(),c.fillStyle='rgba(255,255,255,1)',c.fill()}}}},{key:'animateUntil',value:function(e){(!this._animEndTime||e>this._animEndTime)&&(this._animEndTime=e),this._animating||(this.animateCanvasUntilEndTime(),this._animating=!0)}},{key:'animateCanvasUntilEndTime',value:function(){var e=this;requestAnimationFrame(function(){return Date.now()>e._animEndTime?void(e._animating=!1):void(e.drawCanvas(),e.animateCanvasUntilEndTime())})}},{key:'render',value:function(){var e=this;return this.oldWrapperElem=this.wrapperElem,V('div',{class:''.concat(q,'-wrapper w-css-reset w-css-reset-tree'),style:this.wrapperStyle()},this.props.shouldShowTime?this.renderTime():void 0,V('div',{"aria-label":'Playbar',"aria-orientation":'horizontal',"aria-valuemax":this.props.duration,"aria-valuemin":0,"aria-valuenow":this.ariaValueNow(),"aria-valuetext":this.ariaValueText(),onBlur:this.props.onBlur,onFocus:this.props.onFocus,onfocusin:this.onFocusIn,onfocusout:this.onFocusOut,onMouseDown:this.onMouseDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseMove:this.onMouseMove,onMouseUp:this.onMouseUp,ref:this.setWrapperRef,role:'slider',style:this.dragAreaStyle(),tabindex:this.props.isVisible?0:-1},V('canvas',{height:this.canvasHeight(),ref:function(t){return e.canvasEl=t},style:this.canvasStyle(),width:this.canvasWidth()}),V('div',{onMouseEnter:this.onMouseEnterPlayhead,onMouseLeave:this.onMouseLeavePlayhead,ref:function(t){return e.playheadEl=t},style:this.playheadStyle()}),'undefined'==typeof B?null:V(B,i({},this.props,{timeLeft:-10,timeRight:-10})),this.props.shouldShowStoryboard&&'undefined'!=typeof T?V(T,i({},this.props,{hasChapters:this.state.loadedChapters,isHovering:this.state.isHovering,hoverPercent:this.state.hoverPercent,left:this.props.left+this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin(),width:this.unfilledBarWidth()})):null,this.props.shouldShowChapterTitles&&'undefined'!=typeof E?V(E,i({},this.props,{left:this.props.left+this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin(),width:this.unfilledBarWidth()})):null))}},{key:'renderTime',value:function(){var t=this;return V('div',{class:''.concat(q,'__time'),style:this.timeStyle(),ref:function(n){return t.timeElem=n}})}},{key:'componentDidMount',value:function(){this.drawCanvas(),this.lastRenderedAt=Date.now(),Y.touchScreen&&this.wrapperElem&&(this.touchEvents=new C['default'](this.wrapperElem),this.touchEvents.on('touchstart',this.onTouchStart)),this.maybeUpdateTimeText();var e=this.props;e.isPlaying&&this.setState({hasPlayed:!0}),e.isPlaying&&this.startAnimLoopIfPlaying()}},{key:'componentDidUpdate',value:function(e,t){this.drawCanvas();var n=this.props;this.lastRenderedAt=Date.now(),Y.touchScreen&&this.wrapperElem&&this.oldWrapperElem!==this.wrapperElem&&(this.touchEvents&&this.touchEvents.destroy(),this.touchEvents=new C['default'](this.wrapperElem),this.touchEvents.on('touchstart',this.onTouchStart)),n.isPlaying&&!this.state.hasPlayed&&this.setState({hasPlayed:!0}),this.maybeUpdateTimeText();var o=n.isPlaying&&!e.isPlaying,i=t.currentBufferTime!=this.state.currentBufferTime,a=n.isVisible&&!e.isVisible;(o||a||i)&&this.startAnimLoopIfPlaying();var r=!n.isVisible&&e.isVisible;r&&this.stopAnimLoop(),this.props.newLookTimeWidth(this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin()),this.props.newLookRightBarMargin(this.rightBarMargin())}},{key:'componentWillUnmount',value:function(){W(document,'mousemove',this.onMouseMoveDragging),W(document,'mouseup',this.onMouseUpDragging),this.touchEvents&&(this.touchEvents.destroy(),this.touchEvents=null)}},{key:'placeholderStyle',value:function(){return{cursor:'default',height:'100%',outline:'none',position:'relative',width:'100%'}}},{key:'wrapperStyle',value:function(){var e=this.props,t=e.newLook,n=e.videoWidth,o=e.width;return{display:'flex',height:'100%',width:t&&o===n?''.concat(o,'px'):'100%'}}},{key:'dragAreaStyle',value:function(){return{cursor:'pointer',flex:'1 1',height:''.concat(this.props.height,'px'),outline:'none',marginLeft:''.concat(this.leftBarMargin(),'px'),marginRight:''.concat(this.rightBarMargin(),'px'),position:'relative'}}},{key:'leftBarMargin',value:function(){var e=this.props.leftControlBarWidth;return 0===e?this.rightBarMargin():1.5*this.rightBarMargin()}},{key:'rightBarMargin',value:function(){var e=this.props,t=e.duration,n=e.scale,o=F(900),i=7*o.length,a=F(t),r=7*a.length,l=i<r?i/r:1;return 10*l*n}},{key:'timeLeftPadding',value:function(){var e=this.props,t=e.leftControlBarWidth,n=e.isPlaceholder;return 0===t?this.leftBarMargin()/1.33:n?this.leftBarMargin():this.leftBarMargin()/3}},{key:'timeStyle',value:function(){var e=this.props,t=e.height,n=e.scale;return{boxSizing:'content-box',color:'white',fontFamily:P.interNumbersSemiBold,fontSize:''.concat(13*n,'px'),letterSpacing:''.concat(.5*n,'px'),lineHeight:''.concat(t,'px'),paddingLeft:''.concat(this.timeLeftPadding(),'px'),pointerEvents:'none',position:'relative',textAlign:'center',width:''.concat(this.timeWidth(),'px')}}},{key:'timeWidth',value:function(){var e=this.props,t=e.duration,n=e.scale,o=e.shouldShowTime;if(!o)return 0;var i=F(t);return 7*i.length*n}},{key:'filledBarStyle',value:function(){var e=this.barHeight();return{background:'#fff',borderRadius:''.concat(e,'px'),height:''.concat(e,'px'),left:0,position:'absolute',top:0,width:''.concat(100*this.playedPercent(),'%')}}},{key:'barHeight',value:function(){var e=this.props.scale;return 2*e}},{key:'unfilledBarStyle',value:function(){var e=this.props.height;return{background:'rgba(255,255,255,.6)',borderRadius:''.concat(this.barHeight(),'px'),height:''.concat(this.barHeight(),'px'),left:0,pointerEvents:'none',position:'absolute',top:''.concat((e-this.barHeight())/2,'px'),width:''.concat(this.unfilledBarWidth(),'px')}}},{key:'unfilledBarWidth',value:function(){var e=this.props.width;return e-this.timeLeftPadding()-this.timeWidth()-this.leftBarMargin()-this.rightBarMargin()}},{key:'playedPercent',value:function(){var e=this.state,t=this.props,n=t.duration,o=t.getCurrentTime,i=t.
1isSeeking,a=t.resumableTime;return e.dragMode||e.wasBeforePlayOnDrag&&(i||!e.hasPlayed)?e.dragPercent:a&&!e.hasPlayed?J(a/n):J(o()/n)}},{key:'bufferedAheadPercent',value:function(){var e=this.state;if(this.props.isBeforePlay)return 0;if(e.dragMode){var t=e.currentBufferTime/this.props.duration;return J(t-e.dragPercent)}return J((this.props.getCurrentBufferTime()-this.props.getCurrentTime())/this.props.duration)}},{key:'emptyPercent',value:function(){var e=J(this.playedPercent()+this.bufferedAheadPercent());return 1-e}},{key:'timeText',value:function(){var e=this.state,t=this.props;return e.dragMode||e.wasBeforePlayOnDrag&&(this.props.isSeeking||!e.hasPlayed)?F(e.dragPercent*t.duration):e.hasPlayed||1<=this.props.getCurrentTime()?F(t.getCurrentTime()):t.resumableTime?F(t.resumableTime):F(t.duration)}},{key:'ariaValueNow',value:function(){return this.state.dragMode?this.state.dragPercent*this.props.duration:this.props.getCurrentTime()}},{key:'ariaValueText',value:function(){return F(this.ariaValueNow())}},{key:'cachePositionDetails',value:function(){this.offset=H(this.wrapperElem)}},{key:'getPercentFromPossiblyExternalMouseEvent',value:function(t){return t.target===this.wrapperElem?this.getPercentFromMouseEvent(t):this.getPercentFromPageX(t.pageX)}},{key:'getPercentFromMouseEvent',value:function(e){var t=e.offsetX,n=this.offset?this.offset.zoom:1;return this.getPercentFromOffsetX(t/n)}},{key:'getPercentFromOffsetX',value:function(e){return Math.max(0,Math.min(1,e/this.unfilledBarWidth()))}},{key:'getPercentFromPageX',value:function(e){if(void 0===this.offset)return 0;var t=this.unfilledBarWidth(),n=this.offset.width,o=(e-this.offset.left)/(n/t);return this.getPercentFromOffsetX(o)}},{key:'getPercentFromTouchEvent',value:function(e){var t=e.changedTouches;return'0'in t?this.getPercentFromPageX(t[0].pageX):0}},{key:'handleWithProp',value:function(t,n){var e=this.props[t];if(e){for(var o=arguments.length,i=Array(2<o?o-2:0),a=2;a<o;a++)i[a-2]=arguments[a];e.apply(void 0,[n].concat(i))}}},{key:'maybeUpdateTimeText',value:function(){var e=this.timeText();this.timeElem&&e!==this._lastTimeText&&(this.timeElem.innerText=e),this._lastTimeText=e}},{key:'playheadLeftPosition',value:function(){return this.unfilledBarWidth()*this.playedPercent()}},{key:'setColorsFromPlayerColor',value:function(e){this.playedColor=new x(e).darken(30).alpha(.7),this.bufferedColor=new x(e).lighten(75).alpha(.6),this.emptyColor=new x(e).lighten(40).alpha(.3)}}]),t}(U);t['default']=X},177:function(e,t,n){'use strict';n.r(t);var l=n(2);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=l['default'].lib('utilities/bindify'),d=s.bindify,u=l['default'].lib('player/lib/elem'),p=u.elemBind,c=u.elemUnbind,y=u.elemWidth,g=u.elemHeight,m=u.elemOffset,h=l['default'].lib('utilities/detect'),f=h.cachedDetect,A=f(),b=function(){function e(t){var n=this;o(this,e),r(this,'onTouchStart',function(e){n.rootWidth=y(n.rootElem),n.rootHeight=g(n.rootElem),n.rootOffset=m(n.rootElem),n.resetTouchContext(),e.touches[0]&&(n.xDown=e.touches[0].clientX,n.yDown=e.touches[0].clientY),n.updatePinch(e),2==e.touches.length&&n.touchesAreInsideRootElem()&&e.preventDefault(),n.startedAt=Date.now(),p(document,'touchmove',n.onTouchMoveDocument,{passive:!1}),p(document,'touchend',n.onTouchEndDocument),p(n.rootElem,'touchmove',n.onTouchMove,{passive:!1}),p(n.rootElem,'touchend',n.onTouchEnd);var t=n.getTouchContext(e);n.trigger('touchstart',e,t),n.maybeTriggerMoreSpecificEvent(e,t)}),r(this,'onTouchMove',function(e){e._handledByTouchMove=!0;var t=e.touches[0].clientX,o=e.touches[0].clientY;if(n.xDiff=n.xDown-t,n.yDiff=n.yDown-o,n.updatePinch(e),!n.isPinch){var i=Math.sqrt(n.xDiff*n.xDiff+n.yDiff*n.yDiff);(25<i||300<Date.now()-n.startedAt)&&(n.isSwipe=!0)}var a=n.getTouchContext(e);n.trigger('touchmove',e,a),n.maybeTriggerMoreSpecificEvent(e,a)}),r(this,'onTouchMoveDocument',function(e){e._handledByTouchMove||n.onTouchMove(e)}),r(this,'onTouchEnd',function(e){e._handledByTouchEnd=!0;var t=n.getTouchContext(e);n.trigger('touchend',e,t),n.maybeTriggerMoreSpecificEvent(e,t),setTimeout(function(){n.resetTouchContext(),n.unbindTouchEndAndTouchMove()},0)}),r(this,'onTouchEndDocument',function(e){e._handledByTouchEnd||n.onTouchEnd(e)}),this.rootElem=t,this.xDown=this.yDown=null,this.xDiff=this.yDiff=0,this.isSwipe=!1,this.isPinch=!1,this.startedAt=null,this.initialPinchDistance=null,this.touch1=this.touch2=null,this.pinchDistance=0,this.pinchScale=0,p(t,'touchstart',this.onTouchStart,!!A.passiveSupported&&{passive:!1})}return a(e,[{key:'updatePinch',value:function(t){var e=this.rootOffset;return 2===t.touches.length?(this.touch1={left:t.touches[0].pageX-e.left,top:t.touches[0].pageY-e.top},this.touch2={left:t.touches[1].pageX-e.left,top:t.touches[1].pageY-e.top},this.pinchDistance=Math.sqrt(Math.pow(this.touch1.left-this.touch2.left,2),Math.pow(this.touch1.top-this.touch2.top,2)),null==this.initialPinchDistance&&(this.initialPinchDistance=this.pinchDistance),this.pinchScale=this.pinchDistance/this.initialPinchDistance,this.pinchDelta=this.pinchDistance-this.initialPinchDistance,this.isPinch=!0,this.pinchScale):0}},{key:'getTouchContext',value:function(t){var e=this.rootOffset,n=Date.now()-this.startedAt,o=Object(t.touches[0]),i=o.pageX-e.left,a=o.pageY-e.top;return{xOffset:i,yOffset:a,xDelta:this.xDiff,yDelta:this.yDiff,absXDelta:Math.abs(this.xDiff),absYDelta:Math.abs(this.yDiff),delta:Math.sqrt(this.xDiff*this.xDiff+this.yDiff*this.yDiff),startedAt:this.startedAt,isSwipe:!this.isPinch&&this.isSwipe,isTap:1e3>n&&!this.isPinch&&!this.isSwipe,isLongPress:1e3<=n&&!this.isPinch&&!this.isSwipe,isPinch:this.isPinch,timeDelta:n,pinchScale:this.pinchScale,pinchDistance:this.pinchDistance}}},{key:'touchIsInsideRootElem',value:function(e){return 0<=e.left&&e.left<this.rootWidth&&
10<=e.top&&e.top<this.rootHeight}},{key:'touchesAreInsideRootElem',value:function(){return this.touchIsInsideRootElem(this.touch1)&&this.touchIsInsideRootElem(this.touch2)}},{key:'resetTouchContext',value:function(){this.xDown=this.yDown=null,this.xDiff=this.yDiff=0,this.isSwipe=!1,this.isPinch=!1,this.startedAt=null,this.pinchDelta=0,this.pinchDistance=0,this.initialPinchDistance=null,this.touch1=this.touch2=null}},{key:'maybeTriggerMoreSpecificEvent',value:function(e,t){t.isLongPress?this.trigger('longpress',e,t):t.isTap?this.trigger('tap',e,t):t.isSwipe?this.trigger('swipe',e,t):t.isPinch&&this.trigger('pinch',e,t)}},{key:'destroy',value:function(){c(this.rootElem,'touchstart',this.onTouchStart),this.unbindTouchEndAndTouchMove(),this.rootElem=null}},{key:'unbindTouchEndAndTouchMove',value:function(){c(document,'touchmove',this.onTouchMoveDocument),c(document,'touchend',this.onTouchEndDocument),c(this.rootElem,'touchmove',this.onTouchMove),c(this.rootElem,'touchend',this.onTouchEnd)}}]),e}();d(b.prototype),l['default'].define('vulcanV2Player/TouchEvents.js',b);t['default']=b},178:function(e,t,n){'use strict';n.r(t);var o=n(2),i=o['default'].lib('player/lib/elem'),a=i.addInlineCss,r=i.elemRemove,l='\n@font-face {\nfont-family: \'WistiaPlayerInterNumbersSemiBold\';\nfont-feature-settings: \'tnum\' 1;\nsrc: url(data:application/x-font-woff;charset=utf-8;base64,'.concat('d09GRgABAAAAAAtoABEAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAALYAAAAAgAAAAIAAAAAUdQT1MAAArEAAAAkAAAANKvzr9OR1NVQgAAC1QAAAAKAAAACgABAABPUy8yAAAHFAAAAEcAAABgefd65GNtYXAAAAdcAAAAWQAAALIApwIpY3Z0IAAACOQAAAAeAAAAHhPjFLxmcGdtAAAHuAAAALIAAAEJQz7wiGdhc3AAAAq0AAAAEAAAABAAGgAjZ2x5ZgAAAYAAAATSAAAF6HLmwydoZWFkAAAGiAAAADYAAAA2Gewz/mhoZWEAAAb0AAAAIAAAACQRFgUWaG10eAAABsAAAAA0AAAANEvcCRxsb2NhAAAGbAAAABwAAAAcCOQK1G1heHAAAAZUAAAAGAAAACAAGQBKbmFtZQAACQQAAAFfAAAC4teE+hlwb3N0AAAKZAAAAE8AAACUZ+L4u3ByZXAAAAhsAAAAdgAAAH91UbWTeNptVHtMU1cYP9/t7b1omLbYC7I1zlKGmCxuensvbuqCiX84k6FRyYhjPmZU5ui8Za2KoDyiC8bFTYGNENCytLOMClTqYxKnCBugqN3EV9ZFmhnDH2bwB0qV9nPntnMxzpt7zznfOSfn+36Pc8lkWBTN0zome4iGTCUCSSVmMptI5B2yiCwlBEx6k1YQBbNgksySKIFe7Xk61Pw7K0q8YBJMehBESaS9WU/H9NOYJBOdo4uSKUuUtI6JPnZ+pO/PECOHQtFLtLUrSigUgtyQDRcwMrbYFfTaGFlds6EXVuOCkRE67xqxRvNeWXHPtkdR9thwKR75YmSkBE/R+G/blZAdcnH9+eVO0GEZVEQ71BZHnNikOG02p0LowxDP03vc/AQjRfg6IWw6o9clpYvz2CS9jmHNsqz2GeY0Tp1PFpmv8cKxZsi+exeym4/hhVDtdUUZrKkZVJTrtcZxuA0fwDK48/gxzsJT2IGZ48GL4IBJkAA7e3qwCsM4jgcuUvKIlxCNK4EQnhDKDEgg6hlvIiYyJMxF0B+B1WGi7hskRDtE66PVwXuMZMlQq+EEsyVepmDgGB5UmiXNzn0H39/csc3Rvu6BG0wn2uHVIysv+tGiOfNkTFN36LQnf+vRDze02X0wre47jDTaBzHahQZd0E/zBCgPC2kei8pCxixxBiPOk+VYPirpsyFNzVNW1NTJNDUvzGAEAyWK6cb+k3yE39G9o/Kq3fZHnctV3FmQ71EKOx3sKOeH2b7TINR0NJb/tNGPPT3GqodHNxzKyXd/VnR8QzDv+61bGnJzqjc2Ptr/7US1d+xtnfBloMKND+tiGrkI4QopV5OpSjHfxc0kAQWuZzPhTZiOww8iCzX+aB5zJoE8KQ9iPrgG2NUTAzp2SYzH20/vacP0jDf+jy+N42dNo2dqRFmOc6oi+gH/+pEfnWRtLSjttW3/reLj7uzhUjYz4lmauPjnTWdhdnMbXr5g/OpR/UeHV20PVO67WfzuHKNmNBh1WbJP4K89XdjfHveYn3KbmTCTavjWM48RlcEUcyw7I4hy+n+JnxPZkEwt14+dgQ5Yfr8ZprakjqX3NRy5X6rLBb6hFTJbPXil1zbgKOot2X1tp/3ybqMffLAFCuApTNr/qKmmvRMbHpd/0479XefwlzPB3bfK91wvqbxVXHyjnMR4qaL+8sR9CPQ+CmAC1jMxpJ0ZUTCiqeHTg8PhYd5A92pIC8VhpB4xkblkcQxJVoYsZ0lz1D7miZQpjOqJFI4CSaJLcxgVSApHgbwQMnXY3Q5QcGrb+sPLAZxg9LXBa00AKw6ttZ78FMCHPZes3k8A1nmVouNrAda3bts/8DmA42p55TU7gPXKAWM1sO6yoVpDYure84X14YMHw/WF5/emJhpqh8rcGKlmPXnOAuqt3IYtBc68iGWN21rk37zZX2R1r3mJNiR274k5TXUILXKenCSZOZbGVBR64aYwMU2eGYc1wJJAB/ruN+Noy/SxtEtxbfBJYxveafWApc9+2WHrLS0JFNsHShNm+jEH67EOAcerxpuqfWdhkyoOZHWdgwUxccp+L6m4WbzrRkWstgBwzHxuV/zfRDIyJItq0GT15nFm5oUYVq2cO/dlrzbp+Whi7PmIHvsPd+ID3wAAeNpjYGRgYOBl8GTgYgABRiQSDAAJwQBkAAAAcgByAK4AwgD2AUQBZgGkAfICCAJyAsAC9AABAAAAAQCD3pJibF8PPPUAAwsAAAAAANnVebIAAAAA2gtpzQCI/VgGbAqoAAAABwACAAAAAAAABqgBPQAAAAAG4ACoBRwArAaoANQHAADQBxAApAawANgG3AC0BkgAiAbIAKsG3AC0AwgA0HjaY2BkYOBa8TeCgYFdgIGBYQFbDgNQBAXwAgBVfQNAeNpjYGZjYZzAwMrAwa7GNpOBgeEyhGa+yXCAGcQHSmEHQcG+wQwODAoMVlwr/kYwMHCtYFoBFGYEybExcIAoBQYmACpACscAeNpjYGBgZoDgLgZGBhCQAfIYwXw2hjwgzclgBJVhgNP4ASFVTEAbWBhYgeazM3AAzedi4GbgAYpoAOXYgDQjUIUCg9X//0C+AoPB////H/6/BDMVALnMCswAAAB42k2PSw7CIBCG7YKh1D6Q4t4D6AVckU5k3XTpqk104RF6q6G9oENRY8KQ738AgXZnVwuQFShbt3uTHzRSdvSk0E+PDm/f5amMDhmcXlHpTdlNkevnAK4LQiaWrlu1EAapxZFLIwGP5DlNXD/gwIL8cJ9XIWQ8FG3eghYphl8M8BerT2xSHIxJfr75jP28gOPHurVqygK5uGSZQm3bK8ZLC9QMFp/8gUiSqWG6vAF2mk2/AAB42tvIwMDgtNGawXkDT0
1Dljv/7HQQYGBkYmFmABBCxMDExOLs6OWc6OW9gcXZxTnAC8TYwOm9gck7MAvI2MINFZTbqAk3gC6jczM7KCtaxITagchMnq4OTzCZWLlbnhEynHf/PbgaZ6byBFaJnhy6DLAAPyCH3AAAKmAqoCAAIQAYABiAAAP/g/eD9oP1o/VgAAADcAAAAAHjanZDNSsNAFIVP+icuWty4KQpZttImTeuqdSmBQNpoA8VtW0IaSJOQmfocrn0On8HHcO3Ch/AkjlilCDpD5n73zLmHIQBO8AwNxdJwWp7FquCI3QdX0cGZ4tqep44mrhU3cI5bxU30kChuoY1HJmi1YyoXeFJc4c2L4ipu8Ka4hrF2pbiOtnavuLGnN3GnPShu4VJ7dRIZ5P3ZbrsKctGfB+EuXuaqWMZgMJzM/ak/OWj7rAtqUZro9I+Gvzo926XL0ju+4+peFiS6nSZSd6N1kIigp38lWd2NlNnYNMU6jzIpDBHFRpqHJiPg8B9JBMjRxww7bLEqO8F+TgqpxVhS+d5ZMDDgHmLCGx9TfpM/pP3s/z+5UL4IKTN09bIRX+bBhqsUi7XDNzql4iHjVOG2yylJcpmwLlXBs0flULKFLjb0SyaMYXILTuX0ZNQEHYU/Zk2phrwvX/EOaduG+QB42mNgYgCDfxMYDjBgA7xAzMzIxMjMyMLIysjGyM7IwcjJyMXIzcjDXpqXaWBgbAClDaG0EZQ2htImUNoUSptBaXMobQGlLaG0IwBy1BnpAAABAAMABwAKABMAB///AA942jWOIRLCUAxE30//lP4WgUJyAhQKgWQYRCUSC4YZBCfiOEgEggNwj7CkJRHZze5mQgJaFixJ211/oCFrgzs/JV1Ot6t2DEyaaZoSe7FzeCtmzFmLF3/Ia/6i9iMT/9AIF2mtv+nEp34ffcYq0ht6XRCSOpYyf/SUu5K30AXK1MKmzmpdCjYoKX6xL0HZHXkAAQAAAAAAAAAAAAAAAAABAAAAAA==',');\n}\n'),s=function(){o['default']._interNumbersFontFaceSemiBold&&r(o['default']._interNumbersFontFaceSemiBold)};o['default']._interNumbersFontFaceSemiBold||(o['default']._interNumbersFontFaceSemiBold=a(document.body||document.head,l)),o['default'].define('player/lib/interNumbersFontFaceSemiBold.js',{interNumbersFontFace:'\n@font-face {\nfont-family: \'WistiaPlayerInterNumbersSemiBold\';\nfont-feature-settings: \'tnum\' 1;\nsrc: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAtoABEAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAALYAAAAAgAAAAIAAAAAUdQT1MAAArEAAAAkAAAANKvzr9OR1NVQgAAC1QAAAAKAAAACgABAABPUy8yAAAHFAAAAEcAAABgefd65GNtYXAAAAdcAAAAWQAAALIApwIpY3Z0IAAACOQAAAAeAAAAHhPjFLxmcGdtAAAHuAAAALIAAAEJQz7wiGdhc3AAAAq0AAAAEAAAABAAGgAjZ2x5ZgAAAYAAAATSAAAF6HLmwydoZWFkAAAGiAAAADYAAAA2Gewz/mhoZWEAAAb0AAAAIAAAACQRFgUWaG10eAAABsAAAAA0AAAANEvcCRxsb2NhAAAGbAAAABwAAAAcCOQK1G1heHAAAAZUAAAAGAAAACAAGQBKbmFtZQAACQQAAAFfAAAC4teE+hlwb3N0AAAKZAAAAE8AAACUZ+L4u3ByZXAAAAhsAAAAdgAAAH91UbWTeNptVHtMU1cYP9/t7b1omLbYC7I1zlKGmCxuensvbuqCiX84k6FRyYhjPmZU5ui8Za2KoDyiC8bFTYGNENCytLOMClTqYxKnCBugqN3EV9ZFmhnDH2bwB0qV9nPntnMxzpt7zznfOSfn+36Pc8lkWBTN0zome4iGTCUCSSVmMptI5B2yiCwlBEx6k1YQBbNgksySKIFe7Xk61Pw7K0q8YBJMehBESaS9WU/H9NOYJBOdo4uSKUuUtI6JPnZ+pO/PECOHQtFLtLUrSigUgtyQDRcwMrbYFfTaGFlds6EXVuOCkRE67xqxRvNeWXHPtkdR9thwKR75YmSkBE/R+G/blZAdcnH9+eVO0GEZVEQ71BZHnNikOG02p0LowxDP03vc/AQjRfg6IWw6o9clpYvz2CS9jmHNsqz2GeY0Tp1PFpmv8cKxZsi+exeym4/hhVDtdUUZrKkZVJTrtcZxuA0fwDK48/gxzsJT2IGZ48GL4IBJkAA7e3qwCsM4jgcuUvKIlxCNK4EQnhDKDEgg6hlvIiYyJMxF0B+B1WGi7hskRDtE66PVwXuMZMlQq+EEsyVepmDgGB5UmiXNzn0H39/csc3Rvu6BG0wn2uHVIysv+tGiOfNkTFN36LQnf+vRDze02X0wre47jDTaBzHahQZd0E/zBCgPC2kei8pCxixxBiPOk+VYPirpsyFNzVNW1NTJNDUvzGAEAyWK6cb+k3yE39G9o/Kq3fZHnctV3FmQ71EKOx3sKOeH2b7TINR0NJb/tNGPPT3GqodHNxzKyXd/VnR8QzDv+61bGnJzqjc2Ptr/7US1d+xtnfBloMKND+tiGrkI4QopV5OpSjHfxc0kAQWuZzPhTZiOww8iCzX+aB5zJoE8KQ9iPrgG2NUTAzp2SYzH20/vacP0jDf+jy+N42dNo2dqRFmOc6oi+gH/+pEfnWRtLSjttW3/reLj7uzhUjYz4lmauPjnTWdhdnMbXr5g/OpR/UeHV20PVO67WfzuHKNmNBh1WbJP4K89XdjfHveYn3KbmTCTavjWM48RlcEUcyw7I4hy+n+JnxPZkEwt14+dgQ5Yfr8ZprakjqX3NRy5X6rLBb6hFTJbPXil1zbgKOot2X1tp/3ybqMffLAFCuApTNr/qKmmvRMbHpd/0479XefwlzPB3bfK91wvqbxVXHyjnMR4qaL+8sR9CPQ+CmAC1jMxpJ0ZUTCiqeHTg8PhYd5A92pIC8VhpB4xkblkcQxJVoYsZ0lz1D7miZQpjOqJFI4CSaJLcxgVSApHgbwQMnXY3Q5QcGrb+sPLAZxg9LXBa00AKw6ttZ78FMCHPZes3k8A1nmVouNrAda3bts/8DmA42p55TU7gPXKAWM1sO6yoVpDYure84X14YMHw/WF5/emJhpqh8rcGKlmPXnOAuqt3IYtBc68iGWN21rk37zZX2R1r3mJNiR274k5TXUILXKenCSZOZbGVBR64aYwMU2eGYc1wJJAB/ruN+Noy/SxtEtxbfBJYxveafWApc9+2WHrLS0JFNsHShNm+jEH67EOAcerxpuqfWdhkyoOZHWdgwUxccp+L6m4WbzrRkWstgBwzHxuV/zfRDIyJItq0GT15nFm5oUYVq2cO/dlrzbp+Whi7PmIHvsPd+ID3wAAeNpjYGRgYOBl8GTgYgABRiQSDAAJwQBkAAAAcgByAK4AwgD2AUQBZgGkAfICCAJyAsAC9AABAAAAAQCD3pJibF8PPPUAAwsAAAAAANnVebIAAAAA2gtpzQCI/VgGbAqoAAAABwACAAAAAAAABqgBPQAAAAAG4ACoBRwArAaoANQHAADQBxAApAawANgG3AC0BkgAiAbIAKsG3AC0AwgA0HjaY2BkYOBa8TeCgYFdgIGBYQFbDgNQBAXwAgBVfQNAeNpjYGZjYZzAwMrAwa7GNpOBgeEyhGa+yXCAGcQHSmEHQcG+wQwODAoMVlwr/kYwMHCtYFoBFGYEybExcIAoBQYmACpACscAeNpjYGBgZoDgLgZGBhCQAfIYwXw2hjwgzclgBJVhgNP4ASFVTEAbWBhYgeazM3AAzedi4GbgAYpoAOXYgDQjUIUCg9X//0C+AoPB////H/6/BDMVALnMCswAAAB42k2PSw7CIBCG7YKh1D6Q4t4D6AVckU5k3XTpqk104RF6q6G9oENRY8KQ738AgXZnVwuQFShbt3uTHzRSdvSk0E+PDm/f5amMDhmcXlHpTdlNkevnAK4LQiaWrlu1EAapxZFLIwGP5DlNXD/gwIL8cJ9XIWQ8FG3eghYphl8M8BerT2xSHIxJfr75jP28gOPHurVqygK5uGSZQm3bK8ZLC9QMFp/8gUiSqWG6vAF2mk2/AAB42tvIwMDgtNGawXkDT0
1Dljv/7HQQYGBkYmFmABBCxMDExOLs6OWc6OW9gcXZxTnAC8TYwOm9gck7MAvI2MINFZTbqAk3gC6jczM7KCtaxITagchMnq4OTzCZWLlbnhEynHf/PbgaZ6byBFaJnhy6DLAAPyCH3AAAKmAqoCAAIQAYABiAAAP/g/eD9oP1o/VgAAADcAAAAAHjanZDNSsNAFIVP+icuWty4KQpZttImTeuqdSmBQNpoA8VtW0IaSJOQmfocrn0On8HHcO3Ch/AkjlilCDpD5n73zLmHIQBO8AwNxdJwWp7FquCI3QdX0cGZ4tqep44mrhU3cI5bxU30kChuoY1HJmi1YyoXeFJc4c2L4ipu8Ka4hrF2pbiOtnavuLGnN3GnPShu4VJ7dRIZ5P3ZbrsKctGfB+EuXuaqWMZgMJzM/ak/OWj7rAtqUZro9I+Gvzo926XL0ju+4+peFiS6nSZSd6N1kIigp38lWd2NlNnYNMU6jzIpDBHFRpqHJiPg8B9JBMjRxww7bLEqO8F+TgqpxVhS+d5ZMDDgHmLCGx9TfpM/pP3s/z+5UL4IKTN09bIRX+bBhqsUi7XDNzql4iHjVOG2yylJcpmwLlXBs0flULKFLjb0SyaMYXILTuX0ZNQEHYU/Zk2phrwvX/EOaduG+QB42mNgYgCDfxMYDjBgA7xAzMzIxMjMyMLIysjGyM7IwcjJyMXIzcjDXpqXaWBgbAClDaG0EZQ2htImUNoUSptBaXMobQGlLaG0IwBy1BnpAAABAAMABwAKABMAB///AA942jWOIRLCUAxE30//lP4WgUJyAhQKgWQYRCUSC4YZBCfiOEgEggNwj7CkJRHZze5mQgJaFixJ211/oCFrgzs/JV1Ot6t2DEyaaZoSe7FzeCtmzFmLF3/Ia/6i9iMT/9AIF2mtv+nEp34ffcYq0ht6XRCSOpYyf/SUu5K30AXK1MKmzmpdCjYoKX6xL0HZHXkAAQAAAAAAAAAAAAAAAAABAAAAAA==);\n}\n',removeInterNumbersFontFace:s});t['default']={interNumbersFontFace:'\n@font-face {\nfont-family: \'WistiaPlayerInterNumbersSemiBold\';\nfont-feature-settings: \'tnum\' 1;\nsrc: url(data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAtoABEAAAAADwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABEU0lHAAALYAAAAAgAAAAIAAAAAUdQT1MAAArEAAAAkAAAANKvzr9OR1NVQgAAC1QAAAAKAAAACgABAABPUy8yAAAHFAAAAEcAAABgefd65GNtYXAAAAdcAAAAWQAAALIApwIpY3Z0IAAACOQAAAAeAAAAHhPjFLxmcGdtAAAHuAAAALIAAAEJQz7wiGdhc3AAAAq0AAAAEAAAABAAGgAjZ2x5ZgAAAYAAAATSAAAF6HLmwydoZWFkAAAGiAAAADYAAAA2Gewz/mhoZWEAAAb0AAAAIAAAACQRFgUWaG10eAAABsAAAAA0AAAANEvcCRxsb2NhAAAGbAAAABwAAAAcCOQK1G1heHAAAAZUAAAAGAAAACAAGQBKbmFtZQAACQQAAAFfAAAC4teE+hlwb3N0AAAKZAAAAE8AAACUZ+L4u3ByZXAAAAhsAAAAdgAAAH91UbWTeNptVHtMU1cYP9/t7b1omLbYC7I1zlKGmCxuensvbuqCiX84k6FRyYhjPmZU5ui8Za2KoDyiC8bFTYGNENCytLOMClTqYxKnCBugqN3EV9ZFmhnDH2bwB0qV9nPntnMxzpt7zznfOSfn+36Pc8lkWBTN0zome4iGTCUCSSVmMptI5B2yiCwlBEx6k1YQBbNgksySKIFe7Xk61Pw7K0q8YBJMehBESaS9WU/H9NOYJBOdo4uSKUuUtI6JPnZ+pO/PECOHQtFLtLUrSigUgtyQDRcwMrbYFfTaGFlds6EXVuOCkRE67xqxRvNeWXHPtkdR9thwKR75YmSkBE/R+G/blZAdcnH9+eVO0GEZVEQ71BZHnNikOG02p0LowxDP03vc/AQjRfg6IWw6o9clpYvz2CS9jmHNsqz2GeY0Tp1PFpmv8cKxZsi+exeym4/hhVDtdUUZrKkZVJTrtcZxuA0fwDK48/gxzsJT2IGZ48GL4IBJkAA7e3qwCsM4jgcuUvKIlxCNK4EQnhDKDEgg6hlvIiYyJMxF0B+B1WGi7hskRDtE66PVwXuMZMlQq+EEsyVepmDgGB5UmiXNzn0H39/csc3Rvu6BG0wn2uHVIysv+tGiOfNkTFN36LQnf+vRDze02X0wre47jDTaBzHahQZd0E/zBCgPC2kei8pCxixxBiPOk+VYPirpsyFNzVNW1NTJNDUvzGAEAyWK6cb+k3yE39G9o/Kq3fZHnctV3FmQ71EKOx3sKOeH2b7TINR0NJb/tNGPPT3GqodHNxzKyXd/VnR8QzDv+61bGnJzqjc2Ptr/7US1d+xtnfBloMKND+tiGrkI4QopV5OpSjHfxc0kAQWuZzPhTZiOww8iCzX+aB5zJoE8KQ9iPrgG2NUTAzp2SYzH20/vacP0jDf+jy+N42dNo2dqRFmOc6oi+gH/+pEfnWRtLSjttW3/reLj7uzhUjYz4lmauPjnTWdhdnMbXr5g/OpR/UeHV20PVO67WfzuHKNmNBh1WbJP4K89XdjfHveYn3KbmTCTavjWM48RlcEUcyw7I4hy+n+JnxPZkEwt14+dgQ5Yfr8ZprakjqX3NRy5X6rLBb6hFTJbPXil1zbgKOot2X1tp/3ybqMffLAFCuApTNr/qKmmvRMbHpd/0479XefwlzPB3bfK91wvqbxVXHyjnMR4qaL+8sR9CPQ+CmAC1jMxpJ0ZUTCiqeHTg8PhYd5A92pIC8VhpB4xkblkcQxJVoYsZ0lz1D7miZQpjOqJFI4CSaJLcxgVSApHgbwQMnXY3Q5QcGrb+sPLAZxg9LXBa00AKw6ttZ78FMCHPZes3k8A1nmVouNrAda3bts/8DmA42p55TU7gPXKAWM1sO6yoVpDYure84X14YMHw/WF5/emJhpqh8rcGKlmPXnOAuqt3IYtBc68iGWN21rk37zZX2R1r3mJNiR274k5TXUILXKenCSZOZbGVBR64aYwMU2eGYc1wJJAB/ruN+Noy/SxtEtxbfBJYxveafWApc9+2WHrLS0JFNsHShNm+jEH67EOAcerxpuqfWdhkyoOZHWdgwUxccp+L6m4WbzrRkWstgBwzHxuV/zfRDIyJItq0GT15nFm5oUYVq2cO/dlrzbp+Whi7PmIHvsPd+ID3wAAeNpjYGRgYOBl8GTgYgABRiQSDAAJwQBkAAAAcgByAK4AwgD2AUQBZgGkAfICCAJyAsAC9AABAAAAAQCD3pJibF8PPPUAAwsAAAAAANnVebIAAAAA2gtpzQCI/VgGbAqoAAAABwACAAAAAAAABqgBPQAAAAAG4ACoBRwArAaoANQHAADQBxAApAawANgG3AC0BkgAiAbIAKsG3AC0AwgA0HjaY2BkYOBa8TeCgYFdgIGBYQFbDgNQBAXwAgBVfQNAeNpjYGZjYZzAwMrAwa7GNpOBgeEyhGa+yXCAGcQHSmEHQcG+wQwODAoMVlwr/kYwMHCtYFoBFGYEybExcIAoBQYmACpACscAeNpjYGBgZoDgLgZGBhCQAfIYwXw2hjwgzclgBJVhgNP4ASFVTEAbWBhYgeazM3AAzedi4GbgAYpoAOXYgDQjUIUCg9X//0C+AoPB////H/6/BDMVALnMCswAAAB42k2PSw7CIBCG7YKh1D6Q4t4D6AVckU5k3XTpqk104RF6q6G9oENRY8KQ738AgXZnVwuQFShbt3uTHzRSdvSk0E+PDm/f5amMDhmcXlHpTdlNkevnAK4LQiaWrlu1EAapxZFLIwGP5DlNXD/gwIL8cJ9XIWQ8FG3eghYphl8M8BerT2xSHIxJfr75jP28gOPHurVqygK5uGSZQm3bK8ZLC9QMFp/8gUiSqWG6vAF2mk2/AAB42tvIwMDgtNGawXkDT0
1Dljv/7HQQYGBkYmFmABBCxMDExOLs6OWc6OW9gcXZxTnAC8TYwOm9gck7MAvI2MINFZTbqAk3gC6jczM7KCtaxITagchMnq4OTzCZWLlbnhEynHf/PbgaZ6byBFaJnhy6DLAAPyCH3AAAKmAqoCAAIQAYABiAAAP/g/eD9oP1o/VgAAADcAAAAAHjanZDNSsNAFIVP+icuWty4KQpZttImTeuqdSmBQNpoA8VtW0IaSJOQmfocrn0On8HHcO3Ch/AkjlilCDpD5n73zLmHIQBO8AwNxdJwWp7FquCI3QdX0cGZ4tqep44mrhU3cI5bxU30kChuoY1HJmi1YyoXeFJc4c2L4ipu8Ka4hrF2pbiOtnavuLGnN3GnPShu4VJ7dRIZ5P3ZbrsKctGfB+EuXuaqWMZgMJzM/ak/OWj7rAtqUZro9I+Gvzo926XL0ju+4+peFiS6nSZSd6N1kIigp38lWd2NlNnYNMU6jzIpDBHFRpqHJiPg8B9JBMjRxww7bLEqO8F+TgqpxVhS+d5ZMDDgHmLCGx9TfpM/pP3s/z+5UL4IKTN09bIRX+bBhqsUi7XDNzql4iHjVOG2yylJcpmwLlXBs0flULKFLjb0SyaMYXILTuX0ZNQEHYU/Zk2phrwvX/EOaduG+QB42mNgYgCDfxMYDjBgA7xAzMzIxMjMyMLIysjGyM7IwcjJyMXIzcjDXpqXaWBgbAClDaG0EZQ2htImUNoUSptBaXMobQGlLaG0IwBy1BnpAAABAAMABwAKABMAB///AA942jWOIRLCUAxE30//lP4WgUJyAhQKgWQYRCUSC4YZBCfiOEgEggNwj7CkJRHZze5mQgJaFixJ211/oCFrgzs/JV1Ot6t2DEyaaZoSe7FzeCtmzFmLF3/Ia/6i9iMT/9AIF2mtv+nEp34ffcYq0ht6XRCSOpYyf/SUu5K30AXK1MKmzmpdCjYoKX6xL0HZHXkAAQAAAAAAAAAAAAAAAAABAAAAAA==);\n}\n',removeInterNumbersFontFace:s}},18:function(e,t,n){'use strict';n.r(t);n.d(t,'findScriptInDomBySrc',function(){return u});n.d(t,'removeScriptsBySrc',function(){return s});n.d(t,'runScript',function(){return p});n.d(t,'runScripts',function(){return c});n.d(t,'scriptInputsToHash',function(){return y});var i=n(19),a=n.n(i),r=n(13),l=n(5),d=n(20);function o(e){'@babel/helpers - typeof';return o='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},o(e)}var u=function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=document.getElementsByTagName('script'),o=0;o<n.length;o++){var i=n[o],a=i.getAttribute('src')||'';if(t.ignoreQueryParams){var r=a.split('?'),l=r[0];a=l}if(!t.scriptRegex&&t.ignoreProtocol&&(a=a.replace(/^https?:/,''),e=e.replace(/^https?:/,'')),t.scriptRegex&&t.scriptRegex.test(a))return i;if(t.testStartsWith&&0===a.indexOf(e))return i;if(a===e)return i}return null},s=function(e){for(var t,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};t=u(e,n);)if(t&&(t.onload=t.onreadystatechange=t.onerror=null,t.parentNode&&o(t.parentNode.removeChild)))try{t.parentNode.removeChild(t)}catch(t){setTimeout(function(){throw t},0)}},p=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:8e3,o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:{};null==n&&(n=8e3),null==o&&(o={});var i,r,l=new a.a,s=new a.a;return!0===o.once&&(i=u(e))&&(r=!0),o.once&&r?(!i.readyState||/loaded|complete/.test(i.readyState))&&setTimeout(function(){l(!0)},1):Object(d['default'])(e,n).then(function(){l(!0)}).catch(function(e){l(!0,e),setTimeout(function(){throw e},1)}),'function'==typeof t&&l.then(t),{loaded:l,error:function(){return s}}},c=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];if(t[0]instanceof Array){var o=t[1];t=t[0],o&&(t=t.concat(o))}t=y(t);for(var l,s=0;s<t.length;s++)l=t[s],l.src&&l.preloadAllowed&&p(l.src,null,null,l);for(var i=[],d=[],u=0;u<t.length;u++){var c=t[u],g=new a.a,m=new a.a;(function(e,t,n){a.a.when.apply(a.a,i).run(function(){if(e.fn){var o=function(){try{e.fn()}catch(t){r.wlog.error(t)}finally{t.go(),n.go()}};e.async?setTimeout(o,1):o()}else if(e.src){var i=function(){p(e.src,null,null,e).loaded(function(){n.go(),t.go()})};e.async?(setTimeout(i,1),t.go()):setTimeout(i,1)}})})(c,g,m),i.push(g),d.push(m)}return{loaded:a.a.when.apply(a.a,d)}},y=function(e){for(var t,n=[],o=0;o<e.length;o++)t=e[o],'string'==typeof t?n.push({src:t,async:!1}):Object(l.isObject)(t)?n.push(t):n.push({fn:t,async:!1});return n}},19:function(e){var t,n=[].slice;t=function(){function e(){return this._queue=[],this._green=!1,this._lock=!1,this.allInOne=function(e){return function(){return e._allInOne.apply(e,arguments)}}(this),this.defineMethodsOn(this.allInOne),this.allInOne}return e.prototype.defineMethodsOn=function(e){var t,n,o,i,a;for(n in t={},o=this,i=[],o)a=o[n],i.push(function(){return function(n,o,i){if('[object Function]'===t.toString.call(o))return e[n]=function(){return i[n].apply(i,arguments)}}}(this)(n,a,this));return i},e.prototype.flush=function(){var e,t;if(e=1<=arguments.length?n.call(arguments,0):[],!this._green)return this;for(this._lock=!0;0<this._queue.length&&(t=this._queue.shift(),e.length||!this.goArgs?this.tryAndReport(function(){return t.apply(null,e)}):this.tryAndReport(function(e){return function(){return t.apply(null,e.goArgs)}}(this)),!this._block&&this._green););return this._lock=!1,this},e.prototype._debug=function(){return'undefined'!=typeof console&&null!==console?console.log.apply(console,arguments):void 0},e.prototype.synchronize=function(){var e,t,o,i;for(t=1<=arguments.length?n.call(arguments,0):[],o=0,i=t.length;o<i;o++)e=t[o],this.synchronizeFn(e);return this},e.prototype.synchronizeFn=function(e){var t,n,o;return n=null,t=function(e){return function(){return clearTimeout(n),e._block=!1,e.go()}}(this),o=function(n){return function(){return n._block=!0,n.stop(),e(t)}}(this),n=setTimeout(function(n){return function(){return n._debug('StopGo#synchronize timed out',e),t()}}(this),5e3),this.runFn(o),this}
1,e.prototype.tryAndReport=function(t){var n;try{return t()}catch(e){return n=e,n.stack?('undefined'!=typeof console&&null!==console&&console.log(n.message),'undefined'!=typeof console&&null!==console?console.log(n.stack):void 0):'undefined'!=typeof console&&null!==console?console.log(n):void 0}},e.prototype.clearSynchronized=function(){return this.setQueue([]),this._block=!1,this._green=!0},e.prototype.filter=function(e){var t;return this._queue=function(){var n,o,i,a;for(i=this._queue,a=[],(n=0,o=i.length);n<o;n++)t=i[n],e(t)&&a.push(t);return a}.call(this),this},e.prototype.push=function(e){return this._queue.push(e),this},e.prototype.go=function(){var e;return e=1<=arguments.length?n.call(arguments,0):[],this._green=!0,this.goArgs=e,this.flush.apply(this,e),this},e.prototype.stop=function(){return this._green=!1,this},e.prototype.run=function(){var e,t,o,i;for(t=1<=arguments.length?n.call(arguments,0):[],o=0,i=t.length;o<i;o++)e=t[o],this.runFn(e);return this},e.prototype.then=function(){return this.run.apply(this,arguments)},e.prototype.runFn=function(e){return this._green&&!this._block?this._lock?this.tryAndReport(e):(this.push(e),this.flush()):this.push(e),this},e.prototype.remove=function(){var e,t,o,i;for(t=1<=arguments.length?n.call(arguments,0):[],o=0,i=t.length;o<i;o++)e=t[o],this.removeFn(e);return this},e.prototype.removeFn=function(e){return this.filter(function(t){return e!==t}),this},e.prototype.setQueue=function(e){return this._queue=e,this},e.prototype.getQueue=function(){return this._queue},e.prototype._allInOne=function(){var e,t;return e=arguments[0],t=2<=arguments.length?n.call(arguments,1):[],!0===e?this.go.apply(this,t):!1===e?this.stop():null==e?this._green:e instanceof Array?this.run.apply(this,e):'string'==typeof e?this[e].apply(this,t):this.run.apply(this,arguments)},e}(),t.when=function(){var e,o,i,a,r,l,s,d;for(d=1<=arguments.length?n.call(arguments,0):[],l=new t,i=function(){return l.go.apply(l,arguments)},r=d.reverse(),e=function(e,t){return i=function(){return t(function(){return e.apply(null,arguments)})}},(o=0,a=r.length);o<a;o++)s=r[o],e(i,s);return i(),l},e.exports=t},2:function(e,t,n){'use strict';n.r(t);var o=n(3);null==o['default'].Wistia&&(o['default'].Wistia={});var i=o['default'].Wistia;null==i._initializers&&(i._initializers={}),null==i._destructors&&(i._destructors={}),null==i.mixin&&(i.mixin=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])});t['default']=o['default'].Wistia},20:function(e,t,n){'use strict';n.r(t);n.d(t,'runScript',function(){return a});var o=n(21),i=n.n(o),a=function(e,t){return new i.a(function(n,o){null==t&&(t=8e3);var i;i=document.createElement('script'),i.src=e,i.async=!0,i.type='text/javascript';var a=null,r=!1,l=function(){i.onerror=i.onreadystatechange=i.onload=null,clearTimeout(a),clearTimeout(d),a=setTimeout(function(){i&&i.parentNode&&i.parentNode.removeChild(i)},500)},s=function(){var e=i.readyState;r||e&&!/loaded|complete/.test(e)||(r=!0,setTimeout(function(){n(),l()},1))},d=setTimeout(function(){r=!0,l(),o('timeout')},t);i.onerror=function(){r=!0,l(),o('error')},i.onreadystatechange=s,i.onload=s,(document.body||document.head).appendChild(i)})};t['default']=a},203:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(177);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=f['default'].lib('preact'),_=b.h,h=b.render,v=b.Component,k=f['default'].lib('utilities/detect'),w=k.cachedDetect,C=w(),S=function(e){function t(){var o;a(this,t);for(var e=arguments.length,i=Array(e),r=0;r<e;r++)i[r]=arguments[r];return o=n.call.apply(n,[this].concat(i)),m(u(o),'onSwipe',function(t,e){var n=o.props.onSwipe;n&&n(t,e)}),m(u(o),'onPinch',function(t,e){var n=o.props.onPinch;n&&n(t,e)}),m(u(o),'onLongPress',function(t,e){var n=o.props.onLongPress;n&&n(t,e)}),m(u(o),'onCustomTouchMove',function(t,e){var n=o.props.onCustomTouchMove;n&&n(t,e)}),o}y(t,e);var n=s(t);return l(t,[{key:'render',value:function(){var e=this.props.tagName||'div';return _(e,i({},this.props,{ref:this.props.elemRef}),this.props.children)}},{key:'componentDidMount',value:function(){this._savedBase=this.base,this.setupBindings()}},{key:'componentDidUpdate',value:function(){this.base!==this._savedBase&&(this._savedBase=this.base,this.destroyBindings(),this.setupBindings())}},{key:'componentWillUnmount',value:function(){this.destroyBindings()}},{key:'setupBindings',value:function(){if(this.unbinds=[],C.touchScreen){var e=this.touchEvents=new A['default'](this.base);e.on('swipe',this.onSwipe),e.on('pinch',this.onPinch),e.on('longpress',this.onLongPress),e.on('touchmove',this.onCustomTouchMove)}}},{key:'destroyBindings',value:function(){this.touchEvents&&(this.touchEvents.destroy(),this.touchEvents=null),this.unbinds&&(this.unbinds.map(function(e){return e()}),this.unbinds=null)}}]),t}(v);t['default']=S},204:function(e,t,n){'use strict';n.r(t);var m=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var f=m['default'].lib('preact'),A=f.h,h=f.render,b=f.Component,_=function(e){function t(){return a(this,t),n.apply(this,arguments)}y(t,e);var n=s(t);return l(t,[{key:'render',value:function(){var e=this.props.tagName||'div';return A(e,i({},this.props,{ref:this.props.elemRef,style:this.visuallyHiddenStyles()}),this.props.children)}},{key:'visuallyHiddenStyles',value:function(){return{clip:'rect(1px, 1px, 1px, 1px)',height:'1px',overflow:'hidden',position:'absolute',whiteSpace:'nowrap',width:'1px'}}}]),t}(b);t['default']=_},21:function(e){function t(e){'@babel/helpers - typeof';return 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},t(e)}(function(n,o){function a(e,n){return t(n)[0]==e}function r(e,t){return t=function s(d,u,p,c,y,g){if(c=s.q,d!=a)return r(function(e,t){c.push({p:this,r:e,j:t,1:d,0:u})});if(p&&a(n,p)|a(o,p))try{y=p.then}catch(e){u=0,p=e}if(a(n,y)){var i=function(e){return function(t){y&&(y=0,s(a,e,t))}};try{y.call(p,i(1),u=i(0))}catch(e){u(e)}}else for(t=function(t,o){return a(n,t=u?t:o)?r(function(e,n){l(this,e,n,p,t)}):e},g=0;g<c.length;)y=c[g++],a(n,d=y[u])?l(y.p,y.r,y.j,p,d):(u?y.r:y.j)(p)},t.q=[],e.call(e={then:function(e,n){return t(e,n)},catch:function(e){return t(0,e)}},function(e){t(a,1,e)},function(e){t(a,0,e)}),e}function l(e,t,i,r,l){var s=function(){try{r=l(r),l=r&&a(o,r)|a(n,r)&&r.then,a(n,l)?r==e?i(TypeError()):l.call(r,t,i):t(r)}catch(e){i(e)}};window.setImmediate?window.setImmediate(s):setTimeout(s,0)}function i(e){return r(function(t){t(e)})}return window.Promise?void(e.exports=window.Promise):void(e.exports=r,r.resolve=i,r.reject=function(e){return r(function(t,n){n(e)})},r.all=function(e){return r(function(t,n,o,a){a=[],o=e.length||t(a),e.map(function(e,r){i(e).then(function(e){a[r]=e,
1--o||t(a)},n)})})},r.race=function(e){return r(function(t,n){e.map(function(e){i(e).then(t,n)})})})})('f','o')},22:function(e,t,n){'use strict';n.r(t);n.d(t,'jsonp',function(){return o});n.d(t,'jsonpPlus',function(){return p});var i=n(3),a=n(2),r=n(12),l=n(18),s=n(23),d=n(13),u=d.wlog.getPrefixedFunctions('jsonp');null==a['default']._jsonpCounter&&(a['default']._jsonpCounter=0);function o(e,t,n,o){var d='?';for(var p in t=t||{},t)'callback'!=p&&t.hasOwnProperty(p)&&null!=t[p]&&(d+=encodeURIComponent(p)+'='+encodeURIComponent(t[p])+'&');u.info(e,d,o);var c,y;if(o&&o.once&&(c=(e+d).replace(/\.json(?!p)/,'.jsonp'),c=c.replace(/&$/,''),y=Object(l.findScriptInDomBySrc)(c,{ignoreProtocol:!0,scriptRegex:o.scriptRegex})),y){var g=new r.Url(c),m='wistiajsonp-'+g.relative();u.info('script already in DOM',c,'polling',m),Object(s.poll)(function(){return u.info('found',m,'on root object'),null!=i['default'][m]},function(){n(i['default'][m])},15,3e4)}else{var h;h=t&&t.callback?t.callback:'wistiajson'+ ++a['default']._jsonpCounter,u.info('defining on root:',h),i['default'][h]=function(e){n(e),delete i['default'][h],i['default'][h]=null};var f=e+d+'callback='+h;u.info('runScript',f),Object(l.runScript)(f)}return h}var p=function(e,t,n){var i=3<arguments.length&&arguments[3]!==void 0?arguments[3]:{};i.timeout||(i.timeout=5e3),i.onerror||(i.onerror=function(){});var a=setTimeout(i.onerror,i.timeout);o(e,t,function(e){clearTimeout(a),n&&n(e)},i)}},23:function(e,t,n){'use strict';n.r(t);n.d(t,'unbreakifyText',function(){return r});n.d(t,'stripHtml',function(){return l});n.d(t,'camelCase',function(){return s});n.d(t,'snakeCase',function(){return d});n.d(t,'shallowCamelizeKeys',function(){return u});n.d(t,'shallowSnakeKeys',function(){return p});n.d(t,'base64Decode',function(){return c});n.d(t,'base64Encode',function(){return y});n.d(t,'notSetOrTrue',function(){return g});n.d(t,'preventOuterMouseWheel',function(){return m});var o=n(24);n.d(t,'poll',function(){return o['default']});var i=n(25);n.d(t,'throttle',function(){return i['default']});var a=n(26);n.d(t,'unescapeHtml',function(){return a.unescapeHtml});var r=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'';return e.replace(' ',' ')},l=function(e){var t=document.createElement('div');return t.innerHTML=e,t.textContent||t.innerText||''},s=function(e){return e.replace(/[_-]([a-z])/g,function(e){return e.charAt(1).toUpperCase()})},d=function(e){return e.replace(/[A-Z]/g,function(e){return'_'+e.toLowerCase()})},u=function(e){return Object.keys(e).reduce(function(t,n){return t[s(n)]=e[n],t},{})},p=function(e){return Object.keys(e).reduce(function(t,n){return t[d(n)]=e[n],t},{})},c=function(e){return decodeURIComponent(atob(e).split('').map(function(e){return'%'+('00'+e.charCodeAt(0).toString(16)).slice(-2)}).join(''))},y=function(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode('0x'+t)}
1))},g=function(e){return null==e||!0===e},m=function(t,e){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:0,o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:0,i=e.scrollTop,a=e.scrollHeight,r=e.offsetHeight,l=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:0;return 0>=i+e-n},s=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:0;return i+e+o>=a-r},d=t.deltaY||-t.wheelDelta,u=0<d?'down':'up',p=!!t.deltaY;if(p)('up'===u&&l()||'down'===u&&s())&&t.preventDefault();else{var c=47.5*d/120;'up'===u&&l(c)?(t.preventDefault(),e.scrollTop=0):'down'===u&&s(c)&&(t.preventDefault(),e.scrollTop=a-r)}}},24:function(e,t,n){'use strict';n.r(t);t['default']=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:50,o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:5e3,i=4<arguments.length?arguments[4]:void 0,a=null,r=new Date().getTime();a=setTimeout(function l(){return new Date().getTime()-r>o?void('function'==typeof i&&i()):void(e()?t():(clearTimeout(a),a=setTimeout(l,n)))},1)}},25:function(e,t,n){'use strict';n.r(t);t['default']=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:{},o=null,i=null,a=null,r=null,l=0,s=function(){l=!1===n.leading?0:new Date().getTime(),r=null,a=t.apply(o,i),r||(o=i=null)};return function(){var d=new Date().getTime();l||!1!==n.leading||(l=d);var u=e-(d-l);return o=this,i=arguments,0>=u||u>e?(clearTimeout(r),r=null,l=d,a=t.apply(o,i),!r&&(o=i=null)):!r&&!1!==n.trailing&&(r=setTimeout(s,u)),a}}},26:function(e,t,n){'use strict';n.r(t);n.d(t,'unescapeHtml',function(){return i});var o={},i=function(t){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!t)return'';if(n.cache){var i=o[t];if(o[t])return i}var a=document.createElement('div');a.innerHTML=t.toString().replace(/</g,'<').replace(/>/g,'>');var e;return e=0<a.childNodes.length?a.childNodes[0].nodeValue:'',n.cache&&(o[t]=e),e}},27:function(e,t,n){'use strict';n.r(t);n.d(t,'FAILED',function(){return f});n.d(t,'QUEUED',function(){return A});n.d(t,'PROCESSING',function(){return b});n.d(t,'READY',function(){return _});n.d(t,'filter',function(){return k});n.d(t,'one',function(){return w});n.d(t,'readyPublicMp3s',function(){return C});n.d(t,'readyPublicMp4s',function(){return S});n.d(t,'readyPublicM3u8s',function(){return P});n.d(t,'readyPublicFlvs',function(){return B});n.d(t,'readyPublicMp4sAndFlvs',function(){return E});n.d(t,'filterOver400',function(){return T});n.d(t,'readyPublicOver400',function(){return x});n.d(t,'nonfailedPublicOver400',function(){return M});n.d(t,'withinQualityRange',function(){return D});n.d(t,'numericSizeSnapped',function(){return I});n.d(t,'findClosestAssetByQuality',function(){return O});n.d(t,'still',function(){return F});n.d(t,'channelArtworkStill',function(){return L});n.d(t,'thumbnailAssets',function(){return R});n.d(t,'stillUrl',function(){return W});n.d(t,'getStillWidth',function(){return N});n.d(t,'BAKERY_HOSTS',function(){return V});n.d(t,'isBakeryUrl',function(){return U});n.d(t,'onePublicReadyWithContainer',function(){return j});n.d(t,'mp4',function(){return G});n.d(t,'webm',function(){return Q});n.d(t,'m3u8',function(){return z});n.d(t,'flv',function(){return Y});n.d(t,'original',function(){return K});n.d(t,'playable',function(){return q});n.d(t,'isScreencast',function(){return J});n.d(t,'videoAspect',function(){return X});n.d(t,'originalAspect',function(){return Z});n.d(t,'iphone',function(){return $});n.d(t,'smallestNormalMp4',function(){return ee});n.d(t,'urlWithCorrectHost',function(){return te});n.d(t,'nearestOutsideRange',function(){return ne});n.d(t,'moveToFront',function(){return oe});var d=n(5),u=n(28),p=n.n(u),c=n(12),y=n(14),g=n(29),m=n(13);function o(e,t){return s(e)||l(e,t)||r(e,t)||a()}function a(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function r(e,t){if(e){if('string'==typeof e)return i(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return'Object'===a&&e.constructor&&(a=e.constructor.name),'Map'===a||'Set'===a?Array.from(a):'Arguments'===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function l(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function s(e){if(Array.isArray(e))return e}var h=Array.prototype.slice,f=-1,A=0,b=1,_=2,v=['select','sortFn','sortBy','unique'],k=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!e)return[];e.assets&&(e=e.assets),(null!=t.qualityMin||null!=t.qualityMax)&&(e=D(e,t.qualityMin,t.qualityMax),t=d.except(t,['qualityMin','qualityMax']));var n=d.only(t,v),o=n.select||d.except(t,v);o&&(n.select=o);var a=n.select?d.select(e,n.select):d.clone(e);if((n.sortFn||n.sortBy)&&(a=d.sort(a,n.sortFn||n.sortBy)),n.unique){for(var r={},l=0;l<a.length;l++){var i=a[l],s=i[''+n.unique]||'__undefined__';r[s]||(r[s]=i)}for(var u in a=[],r)a.push(r[u])}return a},w=function(e,t){return k(e,t)[0]||null},C=function(e){return k(e,{ext:'mp3',status:_,public:!0})},S=function(e){return k(e,{container:'mp4',status:_,public:!0})},P=function(e){return k(e,{container:'m3u8',status:_,public:!0})},B=function(e){return k(e,{container:'flv',status:_,public:!0})},E=function(e){return k(e,{container:/mp4|flv/,status:_,public:!0})},T=function(e){for(var t=[],n=0;n<e.length;n++){var o=e[n],i=null!=o.opt_vbitrate&&500<=o.opt_vbitrate&&1e5>=o.opt_vbitrate,a=null!=o.width&&400<o.width;(i||a)&&t.push(o)}return t},x=function(e){return T(k(e,{container:/mp4|flv/,public:!0,status:_}))},M=function(e){return T(k(e,{container:/mp4|flv/,public:!0,status:function(e){return e!==f}}
1))},D=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:100,n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:1e4;return k(e,{select:function(e){var o=I(e.width,e.height);return t<=o&&o<=n}})},I=function(e,t){if(t>e){var n=e;e=t,t=n}var o=e/t,i=e*t+1;return i>=3840*(3840/o)?2160:i>=2560*(2560/o)?1440:i>=1920*(1920/o)?1080:i>=1280*(1280/o)?720:i>=960*(960/o)?540:i>=640*(640/o)?360:t},O=function(e,t){var n='4k'===t?2160:parseInt(t,10);var i=D(e,n,n)[0];if(i)return i;var a=ne(e,n,n);if(1===a.length)return a[0];var r=X(e),l=Math.round(r*n),s=o(a,2),d=s[0],u=s[1],p=Math.abs(d.width-l),c=Math.abs(u.width-l);return p<c?d:u},F=function(e){var t=w(e,{type:/^still_image$/,sortBy:'created_at desc'});return t||(t=L(e)),t||(t=w(e,{container:/mp4/,sortBy:'width desc'})),t},L=function(e){return w(e,{type:/^channel_still_image$/,sortBy:'created_at desc'})},R=function(e,t){if(t.stillUrl)return[{height:null,url:t.stillUrl,width:null}];var n=F(e),o=n.width/n.height;return[320,640,960,1280,1920,3840].map(function(t){var n=Math.round(t/o),i=W(e,{videoWidth:t,videoHeight:n,playButton:!1});return{height:n,url:i,width:t}})},H=p()('fast'),W=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=F(e);if(n){if(n.status!==_)return'//'.concat(H,'/assets/images/blank.gif');t=d.merge({aspect:n.width/n.height,stillUrl:n.url,playButton:!1,playerColor:t.playerColor||'636155',videoWidth:n.width||640,videoHeight:n.height||360,stillSnap:!0},t);var o=t.videoWidth,i=t.videoHeight,a=new c.Url(t.stillUrl);return(t.retina&&(a.params.image_play_button_size='2x',o*=2,i*=2),t.stillSnap&&(o=N({videoWidth:o,masterStillWidth:n.width}),i=Math.round(o/t.aspect)),!U(t.stillUrl))?t.stillUrl:('https:'===t.protocol&&(a.protocol='https:',a.host='embed-ssl.wistia.com'),a.params.image_crop_resized=''.concat(o,'x').concat(i),(null==t.playButton||t.playButton)&&(a.params.image_play_button=1,a.params.image_play_button_color=''.concat((''+t.playerColor).replace(/^#+/,''),'e0')),t.ext&&a.ext(t.ext),'bin'===a.ext()&&a.ext('jpg'),a.absolute())}},N=function(e){var t=[640,960,1280,1920,3840];3840>e.masterStillWidth&&t.push(e.masterStillWidth);for(var n,o=[],a=0;a<t.length;a++)n=t[a],n<=e.masterStillWidth&&o.push(n);o.sort(function(e,t){return e-t});for(var i,r=0;r<o.length;r++)if(i=o[r],e.videoWidth<=i)return i;return Math.max.apply(Math,o)},V=['undefined','embed-ssl.wistia.com','undefined','undefined',p()('embed'),p()('prime'),p()('mixergy-cdn'),p()('embed-a'),p()('embed-fastly'),'embedwistia-a.akamaihd.net'],U=function(e){if(null==e)return!1;var t=new c.Url(e);return!!t.host&&0<=V.join(',').indexOf(t.host)},j=function(e,t,n){return n=d.merge({container:t,public:!0,status:_},n),w(e,n)},G=function(e,t){return j(e,'mp4',t)},Q=function(e,t){return j(e,'webm',t)},z=function(e,t){return j(e,'m3u8',t)},Y=function(e,t){return j(e,'flv',t)},K=function(e){return w(e,{type:'original'})},q=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:Object(y.cachedDetect)();return n.video.webm?Q(e,t)||G(e,t):G(e,t)},J=function(e){var t=K(e);return t&&640<t.width&&1200>t.bitrate},X=function(e){var t=G(e)||Y(e)||z(e)||Q(e)||K(e);return t&&t.height?t.width/t.height:640/360},Z=function(e){var t=X(e),n=K(e);if(n&&n.width&&n.height){var o=n.width/n.height;return 1<o&&1>t||1>o&&1<t?1/o:o}return t},$=function(e,t){var n=X(e);if(1<n)return t=d.merge({width:640},t),G(e,t)||ee(e,t);var o=d.merge({width:320},t),i=d.merge({width:640},t);return G(e,o)||G(e,i)||ee(e,t)},ee=function(e,t){return t=d.merge({sortBy:'width asc',width:[640,1920]},t),G(e,t)},te=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:g.eV1Protocol(),n=new c.Url(e);return U(e)&&('https:'===t?(n.host=g.deliveryHost(location.protocol),n.protocol='https:'):(n.host=g.deliveryHost(location.protocol),n.protocol='http:')),n.absolute()},ne=function(e,t,n){if(0===e.length)return[];for(var o,a,r=h.call(e).sort(function(e,t){return I(e.width,e.height)-I(t.width,t.height)}),l=0;l<r.length;l++){var i=r[l],s=I(i.width,i.height);if(s<t&&(o=i),s>=n){a=i;break}}var d=[];return o&&d.push(o),a&&d.push(a),0===d.length&&(m.wlog.error('nearestOutsideRange: no nearby assets found, using first in list',r[0]),d.push(r[0])),d},oe=function(e,t){if(!t)return e;for(var n,o=-1,a=0;a<e.length;a++)if(n=e[a],n.url===t.url){o=a;break}return 0<o&&(e.splice(o,1),e.unshift(t)),e}},28:function(e){var t;t=function(e){var t;return null==e&&(e='app'),t=e?e+'.'+'wistia.com':'wistia.com',!1&&!1,t},e.exports=t},29:function(e,t,n){'use strict';n.r(t);n.d(t,'deliveryHost',function(){return c});n.d(t,'akamaiHost',function(){return y});n.d(t,'fastlyHost',function(){return g});n.d(t,'appHost',function(){return m});n.d(t,'cdnFastWistiaComHost',function(){return h});n.d(t,'cdnFastWistiaNetHost',function(){return f});n.d(t,'eV1Url',function(){return A});n.d(t,'eV1Host',function(){return b});n.d(t,'eV1Protocol',function(){return _});
1n.d(t,'mediaDataHost',function(){return v});n.d(t,'metricsHost',function(){return k});n.d(t,'VALID_PRODUCTION_HOSTS',function(){return w});n.d(t,'forceValidFastWistiaHost',function(){return S});var o=n(28),i=n.n(o),a=n(3),r=n(12),l=i()('app'),s=i()('fast'),d=i()('embed-a'),u=function(){return'undefined'!=typeof window&&a['default']===window&&a['default'].location?a['default'].location.protocol:'https:'}(),p=function(e,t,n){return'https:'===e?t:n},c=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:u;return p(e,'embed-ssl.wistia.com','undefined')},y=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:u;return p(e,'embedwistia-a.akamaihd.net',d)},g=function(){return'embed-fastly.wistia.com'},m=function(){return l},h=function(){return s},f=function(){return'fast.wistia.net'},A=function(){for(var e,t=document.getElementsByTagName('script'),n=0;n<t.length;n++)if(e=t[n],e.src){var o=new r.Url(e.src),i=/\/assets\/external\/E-v1(-with-vulcan-v2)?\.js$/.test(o.rawPath),a=o.host===h()||o.host===f(),l='https:'===location.protocol&&'https:'===o.protocol,s=''===o.protocol||null==o.protocol,d=l||s||'http:'===location.protocol,u=!e.readyState||/loaded|complete/.test(e.readyState);if(i&&a&&d&&u)return o}return new r.Url(''.concat(Object(r.proto)(),'//').concat(f(),'/E-v1.js'))}(),b=function(){return A.host},_=function(){return A.protocol},v=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return e.embedHost?S(e.embedHost):b()},k=function(){return'pipedream.wistia.com'},w=['wistia.net','wistia.com','wistia.st'],C=new RegExp('('+w.map(function(e){return'\\.'+e.replace('.','\\.')}).join('|')+')$'),S=function(e){return e&&C.test(e)?e:b()}},3:function(e,t,n){'use strict';n.r(t);function o(e){'@babel/helpers - typeof';return o='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},o(e)}var i;try{i=self,i.self!==i&&o(i.self)!==void 0&&'undefined'!=typeof window&&(i=window)}catch(e){i='undefined'==typeof globalThis?window:globalThis}t['default']=i},30:function(e,t,n){'use strict';n.r(t);n.d(t,'makeCacheable',function(){return o});n.d(t,'uncacheNamespace',function(){return u});n.d(t,'uncache',function(){return d});n.d(t,'makeNamespace',function(){return i});var o=function(e){return function(t,n,o){if(l(e,t),a(e,t,n))return r(e,t,n);var i=o();return s(e,t,n,i),i}},i=function(e){return function(t){return null==t[e]&&(t[e]={}),t[e]}},a=function(e,t,n){return null!=r(e,t,n)},r=function(e,t,n){return l(e,t),t[e][n]},l=function(e,t){null==t[e]&&(t[e]={})},s=function(e,t,n,o){l(e,t),t[e][n]=o},d=function(e,t,n){l(e,t),delete t[e][n]},u=function(e,t){t[e]={}}},31:function(e,t,n){'use strict';n.r(t);n.d(t,'defineControl',function(){return i});n.d(t,'getControlDefinitions',function(){return a});var o=n(2);null==o['default']._controlDefinitions&&(o['default']._controlDefinitions={});var i=function(e){if(null==e.handle)return void console.error('Please specify a handle property for control',e);var t=o['default']._controlDefinitions[e.handle];null!=t||(o['default']._controlDefinitions[e.handle]=e,o['default'].trigger&&o['default'].trigger('controldefined',e))},a=function(){return o['default']._controlDefinitions||{}};o['default'].defineControl=i},32:function(e,t,n){'use strict';n.r(t);n.d(t,'durationWithFormat',function(){return o});n.d(t,'flexibleDuration',function(){return i});n.d(t,'padNumber',function(){return a});n.d(t,'secondsConverter',function(){return r});var o=function(e,t){var n=r(e,t),o=n.hours,i=n.minutes,l=n.seconds,s=t.toLowerCase().split(':'),d=s.map(function(e){return'hh'===e?a(o,2):'h'===e?o:'mm'===e?a(i,2):'m'===e?i:'ss'===e?a(l,2):l});return d.join(':')},i=function(e){var t=r(e,'hms'),n=t.hours,o=t.minutes,i=t.seconds;return 0===n?''.concat(o,':').concat(a(i,2)):''.concat(n,':').concat(a(o,2),':').concat(a(i,2))},a=function(e){for(var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:0,n=''+e;n.length<t;)n='0'+n;return n},r=function(e,t){var n=0,o=0,i=0,a=/h/.test(t),r=/m/.test(t);return a&&0<e&&(n+=Math.floor(e/3600),e%=3600),r&&0<e&&(o+=Math.floor(e/60),e%=60),i=Math.round(e),a&&60===o&&(n+=1,o=0),r&&60===i&&(o+=1,i=0),{hours:n,minutes:o,seconds:i}}},33:function(e,t,n){'use strict';n.r(t);n.d(t,'elemHtml',function(){return g});n.d(t,'getCssTags',function(){return m});n.d(t,'execCssTags',function(){return h});n.d(t,'removeCssTags',function(){return f});n.d(t,'addInlineCss',function(){return A});n.d(t,'elemFromObject',function(){return b});n.d(t,'elemToObject',function(){return _});n.d(t,'elemClone',function(){return v});n.d(t,'elemAppend',function(){return k});n.d(t,'elemPrepend',function(){return w});n.d(t,'elemBefore',function(){return C});n.d(t,'elemAfter',function(){return S});n.d(t,'elemRemove',function(){return P});n.d(t,'elemRemoveClass',function(){return B});n.d(t,'elemAddClass',function(){return E});n.d(t,'elemHasClass',function(){return T});n.d(t,'elemClasses',function(){return D});n.d(t,'elemStyle',function(){return O});n.d(t,'propsWithVendorPrefixes',function(){return R});n.d(t,'getComputedStyle',function(){return H});n.d(t,'elemWidth',function(){return W});n.d(t,'elemHeight',function(){return N});n.d(t,'elemContainsOffset',function(){return V});n.d(t,'elemScrollOffset',function(){return U});n.d(t,'elemIsHidden',function(){return j});n.d(t,'elemInDom',function(){return G});n.d(t,'elemIsDescendantOf',function(){return Q});n.d(t,'elemAncestorWithClass',function(){return z});n.d(t,'elemAncestorHasClass',function(){return Y});n.d(t,'elemAncestors',function(){return K});n.d(t,'elemIsInside',function(){return q});n.d(t,'elemAnimate',function(){return X});n.d(t,'elemBind',function(){return Z});n.d(t,'elemUnbind',function(){return $});n.d(t,'elemUnbindAll',function(){return ee});n.d(t,'elemUnbindAllInside',function(){return te});n.d(t,'elemBindKey',function(){return ne});n.d(t,'elemRebind',function(){return oe});n.d(t,'elemBindOnce',function(){return ie});n.d(t,'elemTrigger',function(){return ae});n.d(t,'fullscreenElement',function(){return re});n.d(t,'elemRequestFullscreen',function(){return le});n.d(t,'elemCancelFullscreen',function(){return se});n.d(t,'elemStripEventAttributes',function(){return de});n.d(t,'elemMutationObserver',function(){return ue});n.d(t,'docScrollTop',function(){return pe});n.d(t,'docScrollLeft',function(){return ce});n.d(t,'safeRequestAnimationFrame',function(){return ye});n.d(t,'formInputIsFocused',function(){return ge});
1n.d(t,'inUserEventContext',function(){return me});n.d(t,'getLastActiveEventAt',function(){return he});var o=n(5),i=n(34);n.d(t,'isDocReady',function(){return i.isDocReady});n.d(t,'onDocReady',function(){return i.onDocReady});var a=n(35);n.d(t,'pageLoaded',function(){return a['default']});var r=n(14),l=n(13),s=n(36);n.d(t,'elemOffset',function(){return s.elemOffset});n.d(t,'elemZoom',function(){return s.elemZoom});n.d(t,'isBoxModel',function(){return s.isBoxModel});var d=n(37);n.d(t,'execScriptTags',function(){return d.execScriptTags});n.d(t,'getScriptTags',function(){return d.getScriptTags});n.d(t,'removeScriptTags',function(){return d.removeScriptTags});var u=n(7),p=n(2),c=p['default'],y=Object(r.cachedDetect)(),g=function(e,t){var n=m(t),o=Object(d.getScriptTags)(t);return t=f(t),t=Object(d.removeScriptTags)(t),e.innerHTML=t,h(n,e),Object(d.execScriptTags)(o)},m=function(e){return e.match(/<link.*?rel=['"]stylesheet['"][^>]*>|<style>[\s\S]+?<\/style>/gi)||[]},h=function(e,t){if(!e)return null;Object(o.isArray)(e)||(e=m(e));for(var n,a=[],r=0;r<e.length;r++)if(n=e[r],/<link.*?rel=['"]stylesheet['"][^>]*>/.test(n)){var i=n.match(/href=['"](.*?)['"]/i);if(i){var l=document.createElement('link');l.setAttribute('rel','stylesheet'),l.setAttribute('href',i[1]),l.className='wistia_injected_style',(t||document.body||document.head).appendChild(l),a.push(l)}}else if(/<style>[\s\S]+?<\/style>/gi.test(n)){var s=n.match(/<style>([\s\S]+?)<\/style>/i);if(s){var d=A(t||document.body||document.head,s[1]);a.push(d)}}return a},f=function(e){return e.replace(/<link.*?rel=['"]stylesheet['"][^>]*>|<style>[\s\S]+?<\/style>/gi,'')},A=function(e,t){var n=document.createElement('style');return n.id=Object(u['default'])('wistia_','_style'),n.setAttribute('type','text/css'),n.className='wistia_injected_style',e.appendChild(n,e.nextSibling),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),n},b=function e(t){if(Object(o.isArray)(t)){for(var n=[],a=0;a<t.length;a++)n.push(e(t[a]));return n}var i=t.tagName||'div',r=t.childNodes||[];Object(o.isArray)(r)||(r=[r]);var l=document.createElement(i);for(var s in t){var d=t[s];if('childNodes'!=s&&'tagName'!==s&&'ref'!==s){var u=s.replace(/([a-z])([A-Z])/g,'$1-$2').toLowerCase();if('style'==s){if(Object(o.isObject)(d))for(var c in d)l.style[c]=d[c];else for(var p=d.split(';'),y=0;y<p.length;y++){var g=p[y].split(/\s*:\s*/),m=g[0],h=g[1];m&&h&&(l.style[m]=h)}}else if('events'===s)for(var f in d){var A=d[f];Z(l,f,A)}else'className'===s||'class'===s?l.className=d:'innerHTML'===s?l.innerHTML=d:'innerText'===s?l.innerText=d:null!=d&&'function'==typeof d.toString&&l.setAttribute(u,d.toString())}}for(var b,_=0;_<r.length;_++)if(b=r[_],Object(o.isObject)(b)){var v=e(b);k(l,v)}else{var w=document.createTextNode(b.toString());k(l,w)}return'function'==typeof t.ref&&t.ref(l),l},_=function e(t){if(Object(o.isArray)(t))for(var n=[],a=0;a<t.length;a++)n.push(e(t[a]));for(var i,r={tagName:t.tagName.toLowerCase()},l=Object.keys(t),s=0;s<l.length;s++)if(i=l[s],'tagName'===i||'childNodes'===i||'nodeType'===i||'nodeValue'===i)continue;else if('style'===i){r.style={};for(var d=Object.keys(t.style),u=0;u<d.length;u++){var p=d[u],c=t.style[p];c&&!/^\d/.test(p)&&'length'!==p&&(r.style[p]=c)}}else{var y=t.getAttribute(i);null!=y&&(r[i]=y)}for(var g,m=[],h=0;h<t.childNodes.length;h++)g=t.childNodes[h],1===g.nodeType?m.push(e(g)):3===g.nodeType&&m.push(g.nodeValue);return 0<m.length&&(r.childNodes=m),r},v=function(e){var t=_(e);return b(t)},k=function e(t,n){if(Object(o.isArray)(n)){for(var a=0;a<n.length;a++)e(t,n[a]);return}t.appendChild(n)},w=function e(t,n){if(Object(o.isArray)(n)){for(var a=0;a<n.length;a++)e(t,n[a]);return}return 0===t.childNodes.length?k(t,n):t.insertBefore(n,t.childNodes[0])},C=function e(t,n){if(Object(o.isArray)(n)){n=n.reverse();for(var a=0;a<n.length;a++)e(t,n[a]);return}return t.parentNode.insertBefore(n,t)},S=function e(t,n){if(Object(o.isArray)(n)){n=n.reverse();for(var a=0;a<n.length;a++)e(t,n[a]);return}return t.parentNode.insertBefore(n,t.nextSibling)},P=function e(t){if(Object(o.isArray)(t)||window.NodeList&&t instanceof NodeList){for(var n=0;n<t.length;n++)e(t[n]);return}var i;null!=t&&(1===t.nodeType||3===t.nodeType)&&(i=t.parentNode)&&(i.removeChild(t),t=null)},B=function e(t,n){if(Object(o.isArray)(t)||window.NodeList&&t instanceof NodeList){for(var a=0;a<t.length;a++)e(t[a],n);return}if(T(t,n)){var i=t.getAttribute('class');if(i){var r=new RegExp('\\b'.concat(n,'\\b'),'g'),l=I(i.replace(r,''));t.setAttribute('class',l)}}},E=function e(t,n){if(Object(o.isArray)(t)||window.NodeList&&t instanceof NodeList){for(var a=0;a<t.length;a++)e(t[a],n);return}if(!T(t,n)){var i,r=t.getAttribute('class');r?(B(t,n),i=I(''.concat(r,' ').concat(n))):i=n,t.setAttribute('class',i)}},T=function(e,t){var n=null!=e&&'function'==typeof e.getAttribute&&e.getAttribute('class');if(!n&&e&&'string'==typeof e.className&&(n=e.className),!n)return!1;var o=!1;return M(n,t,function(e){var i=0===e||' '===n.charAt(e-1),a=e+t.length===n.length,r=' '===n.charAt(e+t.length);if(i&&(a||r))return o=!0,x}),o},x={},M=function(e,t,n){for(var o=-1;-1!=(o=e.indexOf(t,o+1))&&!(n(o)===x););},D=function(e){return e&&'string'!=typeof e.className?['']:(e&&e.className||'').split(/\s+/)},I=function(e){return e.replace(/^\s+/g,'').replace(/\s+$/g,'').replace(/\s+/g,' ')},O=function e(t){for(var n=arguments.length,a=Array(1<n?n-1:0),r=1;r<n;r++)a[r-1]=arguments[r];if(Object(o.isArray)(t)||window.NodeList&&t instanceof NodeList){for(var s,d=[],u=0;u<t.length;u++)s=t[u],1===s.nodeType&&d.push(e.apply(void 0,[s].concat(a)));return d}if(2===a.length){var i=a[0],p=a[1];t.style[i]=p}else if(1!==a.length)l.wlog.apply(void 0,['Unexpected args',t].concat(a));else if('string'==typeof a[0]){var c=a[0];try{return t.currentStyle?t.currentStyle[c]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(c):null}catch(t){l.wlog.notice(t)}}else{var y=R(a[0]);for(var g in y){var m=y[g];t.style[g]=m}}},F={borderImage:!0,mixBlendMode:!0,transform:!0,transition:!0,transitionDuration:!0},L=['webkit','moz','o','ms'],R=function(e){if(y.chrome)return e;var t={};for(var n in e){var o=e[n];if(t[n]=o,F[n])for(var a=L,r=0;r<a.length;r++){var i=a[r],l=i+n.charAt(0).toUpperCase()+n.slice(1);n[l]||(t[l]=o)}}return t},H=function(e,t){if(!window.getComputedStyle)return null;var n=window.getComputedStyle(e,null);return null==n?null:null==t?n:n[t]},W=function(e){if(e===window)return window.innerWidth?window.innerWidth:document.documentElement?document.documentElement.offsetWidth:document.body.offsetWidth;if(e===document){var t=document.body,n=document.documentElement;return Math.max(t.scrollWidth,t.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth)}var o;return y.browser.quirks?parseInt(e.offsetWidth,10):(o=H(e,'width'))&&null!=o?parseFloat(o):e.currentStyle?e.offsetWidth:-1},N=function(e){if(e===window)return window.innerHeight?window.innerHeight:document.documentElement?document.documentElement.offsetHeight:document.body.offsetHeight;if(e===document){var t=document.body,n=document.documentElement;return Math.max(t.scrollHeight,t.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}var o;return y.browser.quirks?parseInt(e.offsetHeight,10):(o=H(e,'height'))&&null!=o?parseFloat(o):e.currentStyle?e.offsetHeight:-1},V=function(e,t,n){var o=Object(s.elemOffset)(e);return o.right=o.left+W(e),o.bottom=o.top+N(e),o.left<=t&&t<o.right&&o.top<=n&&n<o.bottom},U=function(e){var t=0,n=0;if(e.parentNode)for(;e&&e.offsetParent;)n+=e.scrollTop,t+=e.scrollLeft,e=e.parentNode;return{left:t,top:n}},j=function(e){for(;e&&1===e.nodeType;){if('none'===O(e,'display'))return!0;e=e.parentNode}return!1},G=function(e){for(;e=e.parentNode;)if(e===document)return!0;return!1},Q=function(e,t){for(var n=K(e),o=0;o<n.length;o++)if(n[o]===t)return!0;return!1},z=function(e,t){for(var n=K(e),o=0;o<n.length;o++)if(T(n[o],t))return n[o];return null},Y=function(e,t){var n=z(e,t);return!!n},K=function(e){for(var t=e,n=[];t=t.parentNode;)n.push(t);return n},q=function(e,t){return e===t||Q(e,t)},J=function(e,t,n){var o=[];for(var i in e)o.push(''.concat(i,' ').concat(t,'ms ').concat(n));return o.join(',')},X=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:{};n=Object(o.merge)({time:400,easing:'ease'},n);var i=J(t,n.time,n.easing);O(e,{transition:i}),ye(function(){O(e,t),setTimeout(function(){O(e,{transition:''}),'function'==typeof n.callback&&n.callback()},n.time)})},Z=function(t,n,o){var e=!!(3<arguments.length&&void 0!==arguments[3])&&arguments[3],i=function(i){i=i||window.event,!i.pageX&&!i.pageY&&(i.clientX||i.clientY)&&(i.pageX=i.clientX+ce(),i.pageY=i.clientY+pe()),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.keyCode:i.charCode),null==i.which&&null!=i.button&&(1&i.button?i.which=1:2&i.button?i.which=3:4&i.button?i.which=2:y.browser.msie&&0===i.button?i.which=1:i.which=0),i.target||i.srcElement&&(i.target=i.srcElement),i.target&&3===i.target.nodeType&&(i.target=i.target.parentNode);for(var e=arguments.length,a=Array(1<e?e-1:0),r=1;r<e;r++)a[r-1]=arguments[r];var l=o.apply(i.target,[i].concat(a));return l===$&&$(t,n,o),l};c._elemBind=c._elemBind||{};var a=ne(t,n,o);return c._elemBind[a]=i,i.elem=t,i.event=n,y.browser.msie&&9>y.browser.version?t.attachEvent('on'.concat(n),i):t.addEventListener(n,i,e),function(){$(t,n,o,e)}},$=function(e,t,n){var o=!!(3<arguments.length&&void 0!==arguments[3])&&arguments[3];
1if(null!=e&&null!=e._wistiaElemId&&null!=n&&n._wistiaBindId){var i=ne(e,t,n),a=c._elemBind[i];return a&&(y.browser.msie&&9>y.browser.version?e.detachEvent('on'.concat(t),a):e.removeEventListener(t,a,o),a.elem=null,a.event=null),delete c._elemBind[i]}},ee=function(e){for(var t in c._elemBind){var n=c._elemBind[t];if(n&&e===n.elem){var o=n.event;y.browser.msie&&9>y.browser.version?n.elem.detachEvent('on'.concat(o),n):n.elem.removeEventListener(o,n,!1),n.elem=null,n.event=null,delete c._elemBind[t]}}},te=function(e){var t=0;for(var n in c._elemBind){var o=c._elemBind[n];if(o&&c.elem.isInside(o.elem,e)){var i=o.event;y.browser.msie&&9>y.browser.version?o.elem.detachEvent('on'.concat(i),o):o.elem.removeEventListener(i,o,!1),o.elem=null,o.event=null,delete c._elemBind[n],t+=1}}return t},ne=function(e,t,n){return e._wistiaElemId=e._wistiaElemId||Object(u['default'])('wistia_elem_'),n._wistiaBindId=n._wistiaBindId||Object(u['default'])('wistia_bind_'),''.concat(e._wistiaElemId,'.').concat(t,'.').concat(n._wistiaBindId)},oe=function(e,t,n){if(n)return $(e,t,n),Z(e,t,n)},ie=function(e,t,n){return Z(e,t,function(){for(var e=arguments.length,t=Array(e),o=0;o<e;o++)t[o]=arguments[o];return n.apply(this,t),$})},ae=function(e,t){for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];if(e.dispatchEvent){var a=document.createEvent('Events');return a.initEvent(t,!0,!1),'click'===t||'doubleclick'===t?a.which=1:'rightclick'===t&&(a.which=2),a.customArguments=o,e.dispatchEvent(a)}if(e.fireEvent){return e.fireEvent('on'+t,{customArguments:o})}l.wlog.error('neither dispatchEvent nor fireEvent is defined for',e,t)},re=function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement||document.msFullscreenElement},le=function(e){return e.requestFullscreen?e.requestFullscreen():e.mozRequestFullScreen?e.mozRequestFullScreen():e.webkitRequestFullscreen?e.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT):e.msRequestFullscreen?e.msRequestFullscreen():e.webkitEnterFullscreen?e.webkitEnterFullscreen():(l.wlog.notice('no requestFullscreen functionality detected'),null)},se=function(e){return document.cancelFullscreen?document.cancelFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen?document.webkitCancelFullScreen():document.msExitFullscreen?document.msExitFullscreen():e&&e.webkitExitFullscreen?e.webkitExitFullscreen():(l.wlog.notice('no cancelFullscreen functionality detected'),null)},de=function e(t){var n=t&&t.attributes||[];try{for(var o,a=0;a<n.length;a++)o=n[a],/^on.+/i.test(o.name)&&(t[o.name]=null,t.removeAttribute(o.name))}catch(t){l.wlog.error(t)}if(t.childNodes)for(var i,r=0;r<t.childNodes.length;r++)i=t.childNodes[r],1===i.nodeType&&e(i)},ue=function(e){var t=y.mutationObserver;return t?new window[t](e):null},pe=function(e){var t=document.body,n=document.documentElement;return null==e?n&&n.scrollTop||t&&t.scrollTop||0:void(t&&(t.scrollTop=e),n&&(n.scrollTop=e))},ce=function(e){var t=document.body,n=document.documentElement;return null==e?n&&n.scrollLeft||t&&t.scrollLeft||0:void(t&&(t.scrollLeft=e),n&&(n.scrollLeft=e))},ye=function(e){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)};return t(e)},ge=function(){return /^textarea|input|select$/i.test(document.activeElement.tagName)},me=function(){return!!fe},he=function(){return Ae},fe,Ae=-1;['auxclick','click','contextmenu','dblclick','focus','keydown','keypress','keyup','mousedown','mouseup','reset','submit','touchend','touchstart'].forEach(function(e){Z(document,e,function(t){fe=t,Ae=Date.now(),setTimeout(function(){fe===t&&(fe=void 0)},0)},!y.passiveSupported||{capture:!0,passive:!0})})},34:function(e,t,n){'use strict';n.r(t);n.d(t,'isDocReady',function(){return i});n.d(t,'onDocReady',function(){return a});var o=n(24),i=function(){return /loaded|complete/.test(document.readyState)},a=function(){var e,t;if(1<arguments.length?(e=arguments[0],t=arguments[1]):(e=1e4,t=arguments[0]),i())t();else if(top===self&&document.documentElement.doScroll){var n=function(){try{return document.documentElement.doScroll('left'),!0}catch(t){return!1}};Object(o['default'])(n,t,50,e,t)}else{var a=function(){i()&&(clearTimeout(d),l(),t())},r=function(){document.addEventListener('DOMContentLoaded',a,!1),document.addEventListener('readystatechange',a,!1),window.addEventListener('load',a,!1)},l=function(){document.removeEventListener('DOMContentLoaded',a,!1),document.removeEventListener('readystatechange',a,!1),window.removeEventListener('load',a,!1)},s=function(){l(),t()},d=setTimeout(s,e);r()}};t['default']=a},35:function(e,t,n){'use strict';n.r(t);t['default']=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:4e3,n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:document,o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:window;
1if(/loaded|complete/.test(n.readyState))setTimeout(e,0);else{var i=function(){o.removeEventListener('load',a,!1)},a=function(){clearTimeout(r),i(),e()};o.addEventListener('load',a,!1);var r=setTimeout(function(){i(),e()},t)}}},36:function(e,t,n){'use strict';n.r(t);n.d(t,'isBoxModel',function(){return i});n.d(t,'elemOffset',function(){return a});n.d(t,'elemZoom',function(){return r});var o,i=function(){if(null!=o)return o;var e=document.createElement('div');return e.style.paddingLeft=e.style.width='1px',document.body.appendChild(e),o=2===e.offsetWidth,document.body.removeChild(e),o},a=function(e){var t,n=document.body,o=document.defaultView,a=document.documentElement,l=e.getBoundingClientRect(),s=a.clientTop||n.clientTop||0,d=a.clientLeft||n.clientLeft||0;t=o&&null!=o.pageYOffset?o.pageYOffset:i()&&a&&null!=a.scrollTop?a.scrollTop:n.scrollTop;var u=o&&null!=o.pageXOffset?o.pageXOffset:i()&&a&&null!=a.scrollLeft?a.scrollLeft:n.scrollLeft;var p=r(e);return{height:l.height*p,top:l.top*p+t-s,left:l.left*p+u-d,width:l.width*p,zoom:p}},r=function e(t){return t&&t!==document.documentElement?e(t.parentElement)*(getComputedStyle(t).zoom||1):1}},361:function(e,t,n){'use strict';n.r(t);n.d(t,'cssResetForSelector',function(){return u});var o=n(6),i={"background-attachment":'scroll',"background-color":'transparent',"background-image":'none',"background-position":'0 0',"background-repeat":'no-repeat',"background-size":'100% 100%'},a={"box-sizing":'inherit',"box-shadow":'none',color:'inherit',display:'block',float:'none',font:'inherit',"font-family":'inherit',"font-style":'normal',"font-weight":'normal',"font-size":'inherit',"letter-spacing":0,"line-height":'inherit',margin:0,"max-height":'none',"max-width":'none',"min-height":0,"min-width":0,padding:0,position:'static',"text-decoration":'none',"text-transform":'none',"text-shadow":'none',transition:'none',"word-wrap":'normal',"-webkit-tap-highlight-color":'rgba(0,0,0,0)',"-webkit-user-select":'none',"-webkit-font-smoothing":'antialiased'},r={border:0,"border-radius":0,outline:'none',position:'static'},l=function(e){var t=[];for(var n in e){var o=e[n];t.push(''.concat(n,':').concat(o))}return t.join(';')},s='\n&{font-size:14px;}\ndiv,span,ul,li,label,button,img,a,svg,p{'.concat(l(a),'}\na{border:0;}\nh1{').concat(l(Object(o['default'])({},a,{"font-size":'2em'})),'}\nh2{').concat(l(Object(o['default'])({},a,{"font-size":'1.5em'})),'}\nh3{').concat(l(Object(o['default'])({},a,{"font-size":'1.17em'})),'}\np{margin:1.4em 0;}\na,span,svg{display:inline;}\nul,ol,li{').concat(l(Object(o['default'])({},a,{"list-style-type":'none',position:'static'})),'}\nul:before,ol:before,li:before{display:none}\nul:after,ol:after,li:after{display:none}\nlabel{').concat(l(Object(o['default'])({},i,{float:'none',outline:'none'})),'}\nbutton{').concat(l(Object(o['default'])({},i,r)),'}\nimg{').concat(l(Object(o['default'])({},{border:0,display:'inline-block',"vertical-align":'top'},r)),'}\nbutton::-moz-focus-inner{border: 0;}\n'),d=function(e,t,n){var o=n.indexOf('{'),i=n.substring(0,o),a=n.substring(o,n.length),r=i.split(/,\s*/);return r.map(function(n){return 0<=n.indexOf('&')?''.concat(n.replace(/&/g,e)).concat(t).concat(a):0<=n.indexOf('::')?''.concat(e).concat(t,' ').concat(n).concat(a):''.concat(e).concat(n).concat(t).concat(a)}).join('\n')},u=function(e,t){return s.trim().split(/\n+/).map(function(n){return d(e,t,n)}).join('\n')}},362:function(e,t,n){'use strict';n.r(t);var g=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=g['default'].lib('preact'),f=m.h,h=m.render,A=m.Component,b=function(e){function t(){return i(this,t),n.apply(this,arguments)}c(t,e);var n=l(t);return r(t,[{key:'shouldComponentUpdate',value:function(){return!1}},{key:'render',value:function(){var e=this.props;return f('div',{class:e.class||'w-html-stub',style:e.style,ref:e.stubRef,"data-handle":e.handle})}},{key:'componentDidMount',value:function(){var e=this.props.mount;e&&e(this.base)}},{key:'componentWillUnmount',value:function(){var e=this.props.destroy;e&&e()}}]),t}(A);g['default'].define('vulcanV2Player/ui_components/RawHTMLStub.js',b);t['default']=b},37:function(e,t,n){'use strict';n.r(t);n.d(t,'getScriptTags',function(){return a});n.d(t,'scriptTagsToRunScriptsInput',function(){return i});n.d(t,'execScriptTags',function(){return r});n.d(t,'removeScriptTags',function(){return l});var o=n(18),a=function(e){return e.match(/<script.*?src[^>]*>\s*<\/script>|<script.*?>[\s\S]+?<\/script>/gi)||[]},i=function(e){if(!e)return[];e instanceof Array||(e=a(e));for(var t=[],n=0;n<e.length;n++){var o=e[n],i={},r=o.match(/<script.*?>/i);r&&(r=r[0].match(/src="([^"]+)"/i),r&&(i.src=r[1],i.async=/async/i.test(o.replace(i.src,'')))),r||(r=o.match(/<script>([\s\S]+?)<\/script>/i),r&&function(){var e=r[1];i.fn=function(){return eval(e)}}()),t.push(i)}return t},r=function(e,t){if(!e)return null;var n=i(e);return Object(o.runScripts)(n,t)},l=function(e){return e.replace(/<script.*?src[^>]*>\s*<\/script>|<script>[\s\S]+?<\/script>/g,'')}},370:function(e,t,n){'use strict';n.r(t);var g=n(60);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o.state={filledWidth:0,isDisplayNone:!0,isOpaque:!1,widthTransitionShouldDelay:!0},o}c(t,e);var n=l(t);return r(t,[{key:'componentDidMount',value:function(){this.maybeFadeInOrOut()}},{key:'componentDidUpdate',value:function(e,t){var n=e.isVisible;this.maybeFadeInOrOut(n);var o=t.filledWidth;this.maybeChangeFilledWidth(o)}},{key:'fadeIn',value:function(){var e=this,t=this.props.isVisible;clearTimeout(this.fadeTimeout),this.setState({isDisplayNone:!1},function(){t&&(e.fadeTimeout=setTimeout(function(){t&&requestAnimationFrame(function(){e.setState({isOpaque:!0})})},0))})}},{key:'fadeOut',value:function(){var e=this,t=this.props.isVisible;clearTimeout(this.fadeTimeout),this.setState({isOpaque:!1},function(){t||(e.fadeTimeout=setTimeout(function(){t||e.setState({isDisplayNone:!0})},200))})}},{key:'filledBarStyle',value:function(){var e=this.state,t=e.widthTransitionShouldDelay,n=e.filledWidth,o=this.props.color;return{backgroundColor:'#'.concat(o),height:'100%',transition:'width 500ms ease-out '.concat(t?'500ms':''),width:''.concat(n,'%')}}},{key:'maybeFadeInOrOut',value:function(e){var t=this.props.isVisible;t!==e&&(t?this.fadeIn():this.fadeOut())}},{key:'maybeChangeFilledWidth',value:function(e){var t=this,n=this.props.percentWatched;null!=n&&n!==e&&setTimeout(function(){requestAnimationFrame(function(){t.setState({filledWidth:n})})},0)}},{key:'removeTransitionDelay',value:function(){this.setState({widthTransitionShouldDelay:!1})}},{key:'unfilledBarStyle',value:function(){var e=this.state,t=e.isDisplayNone,n=e.isOpaque;return{backgroundColor:'#ffffff',bottom:0,display:t?'none':'',height:n?''.concat(6*this.props.scale,'px'):0,opacity:n?.8:0,transition:'opacity 1s, height .5s',width:'100%'}}},{key:'render',value:function(){var e=this;return Object(g.h)('div',{style:this.unfilledBarStyle()},Object(g.h)('div',{onTransitionEnd:function(){return e.removeTransitionDelay()},style:this.filledBarStyle()}
1))}}]),t}(g.Component);t['default']=m},38:function(e,t,n){'use strict';n.r(t);n.d(t,'EventLoop',function(){return r});n.d(t,'globalEventLoop',function(){return s});var o=n(13),i=n(2),a=o.wlog.getPrefixedFunctions('event_loop'),r=function(){var e=this,t=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};this._timeoutId=null,this._latency=null==t.latency?100:t.latency,this._blurLatency=null==t.blurLatency?2e3:t.blurLatency,this._functions={},this._paused={},window.addEventListener('blur',function(){return e.blur()},!1),window.addEventListener('focus',function(){return e.focus()},!1),this.start()},l=r.prototype;l.start=function(){var e=this;clearTimeout(this._timeoutId),this._loopFn=this._loopFn||function(){e.runFunctions(),e._timeoutId=setTimeout(e._loopFn,e._latency)},this._loopFn()},l.resync=function(){this.start()},l.resyncNextTick=function(){var e=this;setTimeout(function(){e.resync()},0)},l.stop=function(){clearTimeout(this._timeoutId)},l.clear=function(){this._functions={}},l.runFunctions=function(){this._pausedDirty&&this.updatePaused();var e=[];for(var t in this._functions){var n=this._functions[t],o=new Date().getTime(),r=o-n.lastRanAt;if(!n.paused&&r>=n.interval){n.lastRanAt=o;try{var l=n.fn();l===this.remove&&e.push(t)}catch(t){a.error(t)}}}for(var s=0;s<e.length;s++)this.remove(e[s])},l.add=function(e,t,n){var o=new Date().getTime();this._functions[e]={addedAt:o,lastRanAt:-1,interval:t,fn:n};var i=n();this._functions[e]&&(this._functions[e].lastRanAt=new Date().getTime()),this._functions[e]&&i===this.remove?delete this._functions[e]:this._pausedDirty=!0},l.remove=function(e){var t=this;this.forEachMatchingKey(e,function(e){delete t._functions[e]})},l.forEachMatchingKey=function(e,t){for(var n in this._functions){var o=this._functions[n];this.key1IncludesKey2(e,n)&&t(n,o)}},l.latency=function(e){return null==e?this._latency:void(this._latency=e)},l.interval=function(e,t){return null==t?this._functions[e].interval:void(null==this._functions[e]?a.notice('setting interval of ',e,'to',t,'failed because',e,'is not defined'):this._functions[e].interval=t)},l.pause=function(e){this._paused[e]=!0,this._pausedDirty=!0},l.unpause=function(e){this._paused[e]=!1,this._pausedDirty=!0},l.isPaused=function(e){for(var t in this.paused){var n=this._paused[t];if(n&&this.key1IncludesKey2(t,e))return!0}return!1},l.updatePaused=function(){for(var e in this._functions){var t=this._functions[e];t.paused=this.isPaused(e)}this._pausedDirty=!1},l.key1IncludesKey2=function(e,t){return'function'==typeof t.indexOf&&0===t.indexOf(e)&&(t.length===e.length||'.'===t.charAt(e.length))},l.blur=function(){this._blurred||(this._blurred=!0,this._savedLatency=this._latency,this._latency=this._blurLatency)},l.focus=function(){this._blurred&&(this._blurred=!1,this._latency=this._savedLatency,this.resync())},null==i['default'].eventLoop&&(i['default'].eventLoop=new r({latency:100,blurLatency:100}));var s=i['default'].eventLoop},39:function(e,t,n){'use strict';n.r(t);n.d(t,'controlDimensionsForVideo',function(){return g});n.d(t,'scalingOptionsFromVideo',function(){return m});n.d(t,'controlDimensions',function(){return h});n.d(t,'bigPlayButtonDimensions',function(){return f});n.d(t,'fontSizeMultiplier',function(){return A});n.d(t,'allowBigControls',function(){return b});n.d(t,'maxMultiplierForVideo',function(){return _});n.d(t,'minMultiplierForVideo',function(){return v});n.d(t,'getZoomMultiplier',function(){return k});n.d(t,'getDeviceMultiplier',function(){return w});n.d(t,'controlMultiplierForVideo',function(){return C});n.d(t,'controlMultiplier',function(){return S});n.d(t,'menuMultiplier',function(){return P});n.d(t,'fitControl',function(){return B});n.d(t,'tapIcon',function(){return E});n.d(t,'parseMetaViewport',function(){return T});n.d(t,'controlMultiplierBasedOnVideo',function(){return M});var d=n(33),u=n(4),p=n(14),c=n(5);function o(e,t){return s(e)||l(e,t)||r(e,t)||a()}function a(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function r(e,t){if(e){if('string'==typeof e)return i(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return'Object'===a&&e.constructor&&(a=e.constructor.name),'Map'===a||'Set'===a?Array.from(a):'Arguments'===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function l(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function s(e){if(Array.isArray(e))return e}var y=Object(p.cachedDetect)(),g=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=2<arguments.length?arguments[2]:void 0,o=3<arguments.length?arguments[3]:void 0;return h(m(e,t),n,o)},m=function(e,t){return c.merge({videoWidth:e.videoWidth(),videoHeight:e.videoHeight(),isInFullscreen:e.inFullscreen(),controlScaling:e.controlScaling()},t)},h=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:40,n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:34;
1e=c.merge({videoWidth:640,videoHeight:360,isInFullscreen:!1,baseWidth:null==t?40:t,baseHeight:null==n?34:n},e);var o=S(e);return{width:o*e.baseWidth,height:o*e.baseHeight}},f=function(e,t,n){return h(e,t,n)},A=function(e){return S(e)},b=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},t=e.screenHeight||window.screen.height,n=e.screenWidth||window.screen.width;return'auto'!=e.controlScaling||y.iphone||y.android||n<t},_=function(e){return'auto'==e.controlScaling?b(e)?3.5:1.4:e.controlScaling},v=function(e){return'auto'==e.controlScaling?b(e)?1:.75:e.controlScaling},k=function(e){if(!e.isInFullscreen)return 1;var t=Math.max(1,window.innerWidth/Math.max(screen.width,screen.height));return t},w=function(e){return b(e)?1.4:1},C=function(e,t){return S(m(e,t))},S=function(e){if('auto'!=e.controlScaling)return e.controlScaling;var t=e.videoWidth,n=e.videoHeight,o=k(e),i=Math.max(t,n);if(960<i){var a=i/960*w(e);return Math.min(_(e)*o,a*o)}if(640>i){var r=i/640*w(e);return Math.max(v(e)*o,r*o)}return 1*w(e)},P=function(e){return Math.max(.75,S(e))},B=function(e){var t=e,n=t.controlId,o=t.video,i=t.controlElem;e=c.merge({videoWidth:o.videoWidth(),videoHeight:o.videoHeight(),controlScaling:o.controlScaling(),isInFullscreen:o.inFullscreen()},e);var a=h(e),r=a.width,l=a.height;return Object(d.elemStyle)(i,{height:''.concat(l,'px'),width:''.concat(r,'px')}),E(''.concat(o.uuid,'.').concat(n),i),{width:r,height:l}},E=function(e,t){for(var n=t.getElementsByTagName('svg'),o=0;o<n.length;o++)(function(t){Object(u.doTimeout)(''.concat(e,'.tap_icon'),function(){Object(d.elemStyle)(t,{position:'relative'}),Object(u.doTimeout)('#{timeoutPrefix}.tap_icon',function(){Object(d.elemStyle)(t,{position:''})},30)},30)})(n[o])},T=function(){var e=document.querySelector('meta[name=viewport]'),t=e&&e.getAttribute('content'),n={};if(t){var o=t.split(/[\s,]+/);o.forEach(function(e){var t=e.split('=');2===t.length&&(n[t[0]]=c.cast(t[1]))})}return n},x=function(e){var t=y.iphone||y.ipad||y.android;if(!t)return[640,960];if(null===e||void 0===e?void 0:e.isAudio())return[500,960];var n,o=T();if(o.width){n='number'==typeof o.width?0+o.width:screen.width||window.innerWidth;var i=Math.max(o['minimum-scale']||0,Math.min(o['maximum-scale']||10,o['initial-scale']||1));1>i&&(n/=i)}else n=window.innerWidth;return[n,2*n/3]},M=function(e,t){var n=e.videoWidth(),i=t||x(e),a=o(i,2),r=a[0],l=a[1];return n<r?n/r:n>l?n/l:1}},4:function(e,t,n){'use strict';n.r(t);n.d(t,'doTimeout',function(){return r});n.d(t,'clearTimeouts',function(){return l});var o=n(2),i=n(5),a=o['default'];null==a._timeouts&&(a._timeouts={});var r=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:1;Object(i.isArray)(e)&&(e=e.join('.'));var o=d(e);if(l(e,o),t){var r=a._timeouts[o];null==r&&(r=a._timeouts[o]={});var s=setTimeout(function(){delete r[e],t()},n);return r[e]=s,s}return a._timeouts[o][e]},l=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null;Object(i.isArray)(e)&&(e=e.join('.')),t=t||d(e);var n;if('__global__'===t&&(n=a._timeouts[e],n))for(var o in n){var r=n[o];clearTimeout(r),delete n[o]}if(n=a._timeouts[t],n)for(var l in n){var u=n[l];l.indexOf&&0===l.indexOf(e)&&(l.length===e.length||'.'===l.charAt(e.length))&&(clearTimeout(u),delete n[l])}a.blockSweepTimeouts||(a.blockSweepTimeouts=!0,setTimeout(s,0),setTimeout(function(){a.blockSweepTimeouts=!1},5e3))},s=function(){for(var e in a._timeouts){var t=a._timeouts[e];Object(i.isEmpty)(t)&&delete a._timeouts[e]}},d=function(e){var t=e.indexOf('.');return 0<t?e.substring(0,t):'__global__'}},40:function(e,t,n){'use strict';n.r(t);n.d(t,'interFontFamily',function(){return o});n.d(t,'interNumbersSemiBold',function(){return i});var o='WistiaPlayerInter, Helvetica, Sans-Serif',i='WistiaPlayerInterNumbersSemiBold, Helvetica, Sans-Serif'},409:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(410);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=f['default'].lib('utilities/obj'),_=b.assign,v=f['default'].lib('preact'),k=v.h,h=v.render,w=v.Component,C=f['default'].lib('player/lib/hosts'),S=C.eV1Protocol,P=C.eV1Host,B=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'afterTwoSeconds',function(){o._displayed||1!==o.state.normalThumbOpacity||o.setState({normalThumbOpacity:0})}),m(u(o),'onDisplayNormalThumb',function(){o.setState({normalThumbOpacity:1}),o._displayed=!0,o.onDisplay&&o.onDisplay()}),o.state={normalThumbOpacity:e.isVisible?1:0},o.onDisplay=e.onDisplay,o}y(t,e);var n=s(t);return l(t,[{key:'componentWillReceiveProps',value:function(e){!this.onDisplay&&e.onDisplay&&(this.onDisplay=e.onDisplay)}},{key:'render',value:function(){this.props.isVisible&&(this._hasRenderedVisible=!0);var e={backgroundColor:this.props.backgroundColor,fitStrategy:this.props.fitStrategy,isVisible:this.props.isVisible,stillSnap:this.props.stillSnap,stretchLimit:this.props.stretchLimit,videoHeight:this.props.videoHeight,videoWidth:this.props.videoWidth,thumbnailAltText:this.props.thumbnailAltText},t=_({},e,{ariaHidden:!0,images:[{url:''.concat(S(),'//').concat(P(),'/embed/medias/').concat(this.props.hashedId,'/swatch')}]}),n=_({},e,{onDisplay:this.onDisplayNormalThumb,images:this.props.images});return k('div',{ref:this.props.elemRef},this.props.swatchEnabled&&this._hasRenderedVisible?k(A['default'],i({},t,{wrapperStyle:this.swatchWrapperStyle()})):null,this._hasRenderedVisible?k(A['default'],i({},n,{wrapperStyle:this.normalThumbWrapperStyle()})):null)}},{key:'componentDidMount',value:function(){setTimeout(this.afterTwoSeconds,2e3)}},{key:'normalThumbWrapperStyle',value:function(){var e=this.props.swatchEnabled&&this.props.uiHasRendered&&1===this.state.normalThumbOpacity?'opacity 3s':'';return{height:'100%',left:0,opacity:this.state.normalThumbOpacity,position:'naturalHeight'===this.props.fitStrategy?'relative':'absolute',top:0,transition:e,width:'100%'}}},{key:'swatchWrapperStyle',value:function(){return{filter:'blur(5px)',height:'100%',left:0,position:'naturalHeight'===this.props.fitStrategy?'relative':'absolute',top:0,width:'100%'}}}]),t}(w);t['default']=B},41:function(e,t,n){'use strict';n.r(t);n.d(t,'isMouseDown',function(){return p});n.d(t,'isMouseDownRecently',function(){return y});var o=n(2),i=n(33),a=n(14),r=Object(a.cachedDetect)();if(null==o['default']._isMouseDown){o['default']._isMouseDown=!1;var l=function(e){o['default']._isMouseDown=!0,o['default']._lastMouseDownAt=Date.now(),setTimeout(function(){e.defaultPrevented&&(o['default']._isMouseDown=!1)},0)},s=function(){o['default']._lastMouseUpAt=Date.now(),setTimeout(function(){o['default']._isMouseDown=!1},0)},d=function(){o['default']._lastMouseUpAt=Date.now(),setTimeout(function(){o['default']._isMouseDown=!1},0)};r.touchScreen?(Object(i.elemBind)(document,'touchstart',l,!0),Object(i.elemBind)(document,'touchend',d,!0)):(Object(i.elemBind)(document,'mousedown',l,!0),Object(i.elemBind)(document,'mouseup',s,!0));var u=r.windows?s:l;Object(i.elemBind)(document,'contextmenu',u,!0)}var p=function(){return null==o['default']._mouseDownForceReturnVal?o['default']._isMouseDown:o['default']._mouseDownForceReturnVal},c=function(e){var t=Math.max(o['default']._lastMouseDownAt||0,(o['default']._lastMouseUpAt||0)-1);return t>Date.now()-e},y=function(){return null==o['default']._mouseDownForceReturnVal?c(500):o['default']._mouseDownForceReturnVal}},410:function(e,t,n){'use strict';n.r(t);var g=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=g['default'].lib('promiscuous'),f=g['default'].lib('preact'),A=f.h,h=f.render,b=f.Component,_=g['default'].lib('utilities/obj'),v=g['default'].lib('player/lib/elem'),k=v.elemInDom,w=g['default'].lib('player/translations'),C=w.getTranslation,S=w.defineTranslations,P=g['default'].lib('player/lib/hosts'),B=P.eV1Host,E=g['default'].lib('utilities/detect'),T=E.cachedDetect,x=T();S('en-US',{THUMBNAIL_VIDEO_THUMBNAIL:'Video Thumbnail'});var M=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o.initialState=o.state={isLoaded:!1,isDisplaying:!1},o.onDisplay=o.props.onDisplay,o}c(t,e);var n=l(t);return r(t,[{key:'componentWillReceiveProps',value:function(e){e.images!==this.props.images&&(clearTimeout(this.loadTimeout),this._sortedImages=null,this.loadTimeout=null,this.setState({isLoaded:!1,isDisplaying:!1})),!this.onDisplay&&e.onDisplay&&(this.onDisplay=e.onDisplay)}},{key:'render',value:function(){var t=this,e=void 0===this.props.thumbnailAltText?this.translate('VIDEO_THUMBNAIL'):this.props.thumbnailAltText;return A('div',{style:this.wrapperStyle(),class:'w-css-reset'},A('img',{class:'w-css-reset',srcset:1<this.props.images.length?this.srcSet():null,src:this.bestSrc(),style:this.imgStyle(),alt:e,ref:function(n){return t.imgElem=n},"aria-hidden":this.props.ariaHidden?'true':null}))}},{key:'translate',value:function(e){return C(this.props.playerLanguage,'THUMBNAIL_'.concat(e))}},{key:'componentDidMount',value:function(){this.setStateBasedOnImgStatus(),this.maybeCallOnDisplay(this.initialState)}},{key:'componentDidUpdate',value:function(e,t){this.setStateBasedOnImgStatus(),this.maybeCallOnDisplay(t)}},{key:'maybeCallOnDisplay',value:function(){this.onDisplay&&this.state.isDisplaying&&!this.calledOnDisplay&&(this.calledOnDisplay=!0,this.onDisplay())}},{key:'setStateBasedOnImgStatus',value:function(){var e=this,t=this.state,n=this.imgElem;t.isLoaded||(!n.onload&&(n.onload=function(){k(n)&&e.setState({isLoaded:!0})}),n.complete&&this.setState({isLoaded:!0})),!t.isDisplaying&&t.isLoaded&&this.setState({isDisplaying:!0})}},{key:'wrapperStyle',value:function(){var e=this.state.isDisplaying&&this.props.isVisible;return _.assign({},this.props.wrapperStyle,{display:this.state.isLoaded&&!e?'none':'block'})}},{key:'baseStyle',value:function(){var e=this.props.fitStrategy;return'cover'!==e||x.browser.trident?'contain'===e?this.containStyle():'fill'===e?this.fillStyle():'naturalHeight'===e?this.naturalHeightStyle():this.containStyle():this.coverStyle()}},{key:'imgStyle',value:function(){var e=this.state.isDisplaying&&this.props.isVisible;return _.assign(this.baseStyle(),{clip:e?'auto':'rect(0,0,0,0)',display:this.state.isLoaded&&!e?'none':'block'})}},{key:'containStyle',value:function(){if(!this.imgElem)return{height:'100%',left:0,position:'absolute',top:0,width:'100%'};var e,t,n=this.props,o=n.videoWidth,i=n.videoHeight,a=o/i,r=this.imgElem.naturalWidth/this.imgElem.naturalHeight;!1===n.stillSnap?(e=o,t=i):a>r?(t=i,e=Math.round(t*r)):a<=r&&(e=o,t=Math.round(e/r));var l=Math.max(0,i-t),s=Math.max(0,o-e),d=Math.round(l/2),u=Math.round(s/2),p=d,c=u,y=d,g=u;2*y<=this.stretchLimit()&&(y=0,p=0,t=i),2*g<=this.stretchLimit()&&(g=0,c=0,e=o);var m=this.props.backgroundColor||'#000';return{borderTop:''.concat(p,'px solid ').concat(m),borderBottom:''.concat(y,'px solid ').concat(m),borderLeft:''.concat(g,'px solid ').concat(m),borderRight:''.concat(c,'px solid ').concat(m),boxSizing:'content-box',height:''.concat(t,'px'),left:0,position:'absolute',top:0,webkitTouchCallout:'none',width:''.concat(e,'px')}}},{key:'coverStyle',value:function(){return{height:'100%',objectFit:'cover',position:'absolute',width:'100%'}}},{key:'fillStyle',value:function(){return{height:'100%',objectFit:'fill',position:'absolute',width:'100%'}}},{key:'naturalHeightStyle',value:function(){return{width:'100%',position:'relative'}}},{key:'bestSrc',value:function(){return this.bestImage().url}},{key:'srcSet',value:function(){var e=this.sortedImages();return 0===e.length&&(e=[this.blankImage()]),e.map(function(e){return''.concat(e.url,' ').concat(e.width,'w')}).join(', ')}},{key:'blankImage',value:function(){return{height:this.props.videoHeight,url:'https://'.concat(B(),'/assets/images/blank.gif'),width:this.props.videoWidth}}},{key:'bestImage',value:function(){var e=this.sortedImages();if(0===e.length)return this.blankImage();var t=this.props.videoWidth,n=(window.devicePixelRatio||1)*t;if(n<=e[0].width)return e[0];for(var o,a=0;a<e.length;a++)if(o=e[a],o.width>=n)return o;return e[e.length-1]}},{key:'sortedImages',value:function(){return this._sortedImages?this._sortedImages:(this._sortedImages=_.clone(this.props.images),this._sortedImages.map(function(e){e.aspect=e.width/e.height}),this._sortedImages)}},{key:'stretchLimit',value:function(){var e=this.props.stretchLimit;return null==e?10:e}}]),t}(b);t['default']=M},418:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(119);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var A=m['default'].lib('preact'),b=A.h,h=A.render,_=A.Component,v=m['default'].lib('utilities/obj'),k=v.merge,w=function(e){function t(){return a(this,t),n.apply(this,arguments)}y(t,e);var n=s(t);return l(t,[{key:'shouldComponentUpdate',value:function(e){return this.props.isPlaying!==e.isPlaying}},{key:'render',value:function(){return b('div',{style:this.rootStyle()},b('div',{style:{display:this.props.isPlaying?'block':'none',height:'100%',width:'100%'}},this.renderPauseIcon()),b('div',{style:{display:this.props.isPlaying?'none':'block',height:'100%',width:'100%'}},this.renderPlayIcon()))}},{key:'renderPlayIcon',value:function(){var e=this.props.noPadding,t=e?0:20,n=e?0:9,o=11.556,a=''.concat(t+o,',').concat(n+15/2,' ').concat(t,',').concat(n+15,' ').concat(t,',').concat(n);return b('svg',i({},this.svgAttrs(o+2*t,15+2*n),{class:'w-css-reset w-css-reset-tree'}),b('polygon',{points:a}))}},{key:'renderPauseIcon',value:function(){var e=this.props.noPadding,t=e?0:20,n=e?0:11.3;return b('svg',i({},this.svgAttrs(10+2*t,12+2*n),{class:'w-css-reset w-css-reset-tree'}),b('g',null,b('rect',{x:t,y:n,width:'3.5',height:12}),b('rect',{x:t+6.5,y:n,width:'3.5',height:12})))}},{key:'rootStyle',value:function(){return{height:'100%',width:'100%'}}},{key:'svgAttrs',value:function(){var e=this.props.noPadding,t=this.props.isPlaying,n=e?0:20,o=e?0:t?11.3:9,i=t?12:16,a=t?10:11.556,r=Object(f.standardSvgAttrs)(a+2*n,i+2*o);return k(r.style,this.props.svgStyle),r}}]),t}(_);t['default']=w},42:function(e,t,n){'use strict';n.r(t);n.d(t,'PLUGIN_CONFIGS',function(){return E});n.d(t,'bestPlayer',function(){return T});n.d(t,'bestUsableEngine',function(){return x});n.d(t,'bestUsableEngineClass',function(){return M});n.d(t,'buildContext',function(){return D});n.d(t,'canCopyMetaDataFromHls',function(){return I});n.d(t,'canPlayInline',function(){return O});n.d(t,'canUsePlayer',function(){return F});n.d(t,'choosePlayer',function(){return L});n.d(t,'determinePlayerPreferenceFromInput',function(){return H});n.d(t,'doesBrowserSupportHlsTools',function(){return W});n.d(t,'enginesToLoad',function(){return N});n.d(t,'getDefaultContext',function(){return U});n.d(t,'hasAssetsForPlayer',function(){return Q});n.d(t,'hasDesktopHlsAssets',function(){return K});n.d(t,'hasEnoughReadyMp4Assets',function(){return q});n.d(t,'hasSupportedHlsAssets',function(){return J});n.d(t,'isBrowserInNativeAndroid',function(){return $});n.d(t,'isBrowserOldChrome',function(){return ee});n.d(t,'isHlsEnabledOrOverridden',function(){return te});n.d(t,'isMobile',function(){return oe});n.d(t,'isNotPlayable',function(){return ie});n.d(t,'isPasswordProtected',function(){return ae});n.d(t,'isSupportedPlayer',function(){return re});n.d(t,'isValidPlayer',function(){return se});n.d(t,'logWarnings',function(){return de});n.d(t,'noFallbackFromFlash',function(){return ue});n.d(t,'playerPlugins',function(){return pe});n.d(t,'report',function(){return ce});n.d(t,'shouldServeHls',function(){return ye});n.d(t,'supportedPlayers',function(){return ge});n.d(t,'usablePlayers',function(){return me});n.d(t,'urlHasBeenTamperedWith',function(){return he});n.d(t,'xhrHasBeenTamperedWith',function(){return be});var r=n(2),l=n(27),s=n(5),d=n(14),u=n(43),p=n(48),c=n(3),y=n(13);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?o(Object(t),!0).forEach(function(n){a(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEac
1h(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=y.wlog.getPrefixedFunctions('judy'),m='auto',h='external',f='flash',A='hlsVideo',b='html5',_='manualQualityVideo',v='nativeHlsVideo',w='notplayable',C='passwordprotected',k='twoStrokeVideo',S='vulcan',P='vulcan-v2',B=['vulcan','vulcan-v2','html5','simplehtml5','flash','external','notplayable','passwordprotected'],E={sphericalVideo:{on:!0,initBeforeHasData:!1,async:!1},notPlayableVideo:{on:!0,initBeforeHasData:!0,async:!1,loadWeight:-1},vulcanVideo:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},vulcanV2Player:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},hlsVideo:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:0},nativeHlsVideo:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:0},passwordProtectedVideo:{on:!0,initBeforeHasData:!0,async:!1,loadWeight:-1},encodingProgress:{on:!0,initBeforeHasData:!1,async:!0,loadWeight:100},externalPlayer:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},flashPlayer:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},html5Player:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1}},T=function(e,t,n){var o=e.location,i=e.detect,a=e.logger,r=t.assets,l=(t.spherical||n.spherical)&&!n.overrideSpherical;return i.oldandroid?(a.info('oldandroid'),F(e,f,r)&&'https:'===o.protocol?(a.info('flash on old android'),f):(a.info('external on old android'),h)):F(e,S,r)&&l?(a.info('default, ret',S),S):F(e,P,r)?(a.info('default, ret',P),P):F(e,f,r)?(a.info('default, ret',f),f):F(e,b,r)?(a.info('default, ret',b),b):ue(e)?(a.info('no fallback from flash, return',f),f):'Audio'===t.mediaType?P:(a.info('nothing left, use',h),h)},x=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=e.detect,i=e.logger;i.info('bestUsableEngineClass');var a=ye(e,t,n);return'Audio'===t.mediaType?'engines/simple_audio.js':le(t)?(i.info(k),'engines/two_stroke_video.js'):n.secondaryVideoUrl?(i.info(k),'engines/two_stroke_video.js'):a&&o.nativeHls?(i.info(v),'engines/native_hls_video.js'):a?(i.info(A),'engines/hls_video.js'):(i.info(_),'engines/manual_quality_video.js')},M=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=e.detect,i=e.logger;i.info('bestUsableEngineClass');var a=ye(e,t,n),l=r['default'].engines||{};return le(t)&&l.TwoStrokeVideo?(i.info(k),l.TwoStrokeVideo):n.secondaryVideoUrl&&l.TwoStrokeVideo?(i.info(k),l.TwoStrokeVideo):a&&o.nativeHls&&l.NativeHlsVideo?(i.info(v),l.NativeHlsVideo):a&&l.HlsVideo?(i.info(A),l.HlsVideo):(i.info(_),l.ManualQualityVideo)},D=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},t=R(e);return i({},U(),{},e,{pageUrl:t})},I=function(e){var t=l.filter(e,{container:'mp4',public:!0,sortBy:'width desc',status:l.READY,type:/\b(?!captioned_video)\S+/}),n={};j(e).forEach(function(e){n[e.display_name]=e});var o=t.filter(function(e){return n[e.display_name]&&n[e.display_name].metadata});return!!(o[0]&&400<=o[0].width)},O=function(e){var t=e.detect;return t.android||10<=t.ios.version},F=function(e,t,n){return re(e,t)&&Q(e,t,n)},L=function(e,t,n){var o=e.logger,i=t.assets,a=n.force,r=n.playerForce;!r&&a&&(r=a),o.info('choosePlayer input',t.hashedId);var l=H(e,t,n);if(r&&!se(e,r)&&(o.error('Invalid playerForce option: "'.concat(r,'", ignoring')),r=a=null),l&&l!==m&&!se(e,l)&&(o.error('Invalid playerPreference option: "'.concat(l,'", ignoring')),l=m),o.info('playerPreference is',l),r)return o.info('"playerForce" used, return',r),r;if(ae(e,n))return o.info('return',C),C;if(ie(e,t))return o.info('return',w),w;if(l!==m&&F(e,l,i)){var s=(t.spherical||n.spherical)&&!n.overrideSpherical;return l===P&&s?(o.info('vulcan-v2 doesn\'t support spherical, return',S),S):(o.info('"playerPreference" used, return',l),l)}return o.info('choosing player with no preference'),T(e,t,n)},R=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return e.pageUrl?e.pageUrl:Object(window.FreshUrl).originalUrl?window.FreshUrl.originalUrl:window.top===window.self?location.href||''
1:document.referrer||''},H=function(e,t,n){var o=n.playerPreference||n.platformPreference;return o&&o!==m?o===b?oe(e)?b:P:o==='simplehtml5'?b:o:m},W=function(e){return e.mediaSource||e.nativeHls},N=function e(t,n){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},i=t.detect,a=t.logger,r=[];a.info('enginesToLoad');var l=ye(t,n,o);if(l&&i.nativeHls?(a.info(v),r.push(v)):l?(a.info(A),r.push(A)):(a.info(_),r.push(_)),le(n)){a.info(k),r.push(k);var d=s.except(o,['twoStroke']),u=n.secondaryMediaData,p=e(t,u,d);r=r.concat(p)}else o.secondaryVideoUrl&&(a.info('secondaryVideoUrl',k),r.push(k));var c={};r.map(function(e){c[e]=!0});var y=[];for(var g in c)y.push(g);return y},V,U=function(){return V?V:(V={detect:s.clone(Object(d.cachedDetect)()),inIframe:top!==self,location:window.location,logger:g,pageUrl:location.href,silenceGlobalWarnings:c['default'].wistiaSilenceGlobalWarnings,userAgent:navigator.userAgent},V)},j=function(e){return l.filter(e,{container:'m3u8',display_name:function(e){return'Audio'!=e},metadata:function(e){return e&&e.max_bitrate},sortBy:'width desc',status:l.READY,type:'hls_video'})},G=function(e,t){var n={};return n[t]=E[t],n},Q=function(e,t,n){if(!se(e,t))return!1;if(t===w||t===C)return!0;if(t===P)return z(n)||Y(n);if(t===S)return z(n);if(t===b)return 0<l.readyPublicMp4s(n).length;if(t===f)return 0<l.readyPublicFlvs(n).length||0<l.readyPublicMp4s(n).length;if(t===h)return 0<l.readyPublicMp4s(n).length;throw new Error('Unhandled player type \''.concat(t,'\''))},z=function(e){return 0<l.readyPublicMp4s(e).length||0<l.readyPublicM3u8s(e).length},Y=function(e){return 0<l.readyPublicMp3s(e).length},K=function(e){var t=j(e),n=l.filter(e,{container:'mp4',public:!0,status:l.READY,sortBy:'width desc'});return 0<t.length&&(0===n.length||t[0].width>=n[0].width)},q=function(e){var t=l.filter(e,{container:'mp4',metadata:function(e){return e&&e.max_bitrate},public:!0,sortBy:'width desc',status:l.READY,type:/\b(?!captioned_video)\S+/}),n=!!(t[0]&&400<=t[0].width);return n||I(e)},J=function(e){return q(e.assets)||Object(u.count)('player/originV2/media-has-no-metadata',1,{hashedId:e.hashedId}),q(e.assets)},X=function(e,t){var n=e.pageUrl,o=Z(n);if(null!=o)return o;var i=Object(p.setOrGet)('forceHls');return null==i?t.hls:i},Z=function(e){var t=e&&e.match&&e.match(/[&?]whls=([^&]+)/),n=t&&t[1];return null==n?null:s.cast(n)},$=function(e,t){return e.android&&(!1===t.playsinline||!0===t.nativeMode)},ee=function(e){return e.chrome&&50>parseInt(e.chrome.version)},te=function(e,t,n){return t.hls_enabled||!!X(e,n)},ne=function(e){return e.trident},oe=function(e){var t=e.detect;return t.iphone||t.ipad||t.android},ie=function e(t,n){var o=n.assets,i='Audio'===n.type?0==l.readyPublicMp3s(o).length:0==l.readyPublicMp4sAndFlvs(o).length;return 0===o.length||1===o.length&&'original'===o[0].type||i||0<l.nonfailedPublicOver400(o).length&&0===l.readyPublicOver400(o).length||le(n)&&e(t,n.secondaryMediaData)},ae=function(e,t){var n=s.get(t,'plugin.passwordProtectedVideo');return null!=n&&!1!==n.on},re=function(e,t){return!!se(e,t)&&0<=s.indexOf(ge(e),t)},le=function(e){return!!e.secondaryMediaData},se=function(e,t){return 0<=s.indexOf(B,t)},de=function(e){var t=e.detect,n=e.userAgent,o=e.logger,i=e.silenceGlobalWarnings;if(!i){var a=t.browser.msie&&11>t.browser.version,r=/phantomjs/i.test(n);!be()||r||a||o.error('The XMLHttpRequest constructor has been tampered with. Because this affects CORS/Range XHR requests, HLS playback has been disabled. To enable HLS playback and other important features, please remove code that changes the definition of window.XMLHttpRequest.'),he()&&t.mediaSource&&!r&&!a&&o.error('window.URL.createObjectURL has been tampered with. Because this affects use of Media Source Extensions, HLS playback has been disabled. window.URL is a browser API that should not be clobbered. Its current value is:',window.URL)}},ue=function(e){var t=e.detect;return t.browser.msie&&(9>t.browser.version||t.browser.quirks)||t.browser.mozilla},pe=function(e,t,n,o){var a=e.logger,r={};if(a.info('playerPlugins input',t,n.hashedId,n,o),t===w)s.merge(r,G(e,'notPlayableVideo'));else if(t===C)s.merge(r,G(e,'passwordProtectedVideo'));
1else if(t===b)s.merge(r,G(e,'html5Player'));else if(t===f)s.merge(r,G(e,'flashPlayer'));else if(t===h)s.merge(r,G(e,'externalPlayer'));else if(t===P)s.merge(r,G(e,'vulcanV2Player'));else if(t===S){s.merge(r,G(e,'vulcanVideo')),(n.spherical||o.spherical)&&!o.overrideSpherical&&s.merge(r,G(e,'sphericalVideo'));for(var l=N(e,n,o),d=0;d<l.length;d++)s.merge(r,G(e,l[d]))}var i=[];for(var u in r)i.push(u);return a.info.apply(a,['playerPlugins output'].concat(i,[r])),r},ce=function(e,t,n){return{bestPlayer:T(e,t,n),playerPreferenceFromInput:H(e,t,n),supportedPlayers:ge(e),usablePlayers:me(e,t.assets)}},ye=function(e,t,n){var o=e.detect;return W(o)&&!ee(o)&&!ne(o)&&!$(o,n)&&te(e,t,n)&&!1!==X(e,n)&&J(t)&&(!be(e)&&!he(e)||X(e,n))},ge=function(e){var t=e.detect,n=[w,C,h];return t.vulcanSupport?(n.push(S),n.push(P)):(t.iphone||t.ipad||t.android)&&(n.push(S),n.push(P)),t.video.h264&&n.push(b),9<=t.flash.version&&n.push(f),n},me=function(e,t){for(var n,o=[],a=ge(e),r=0;r<a.length;r++)n=a[r],F(e,n,t)&&o.push(n);return o},he=function(){return'function'!=typeof(window.URL&&window.URL.createObjectURL)},fe=/\s*function\s+XMLHttpRequest\(\)\s*{\s*\[native code\]\s*}\s*/m,Ae=/\[object XMLHttpRequestConstructor\]/m,be=function(){if(XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.constructor){var e=XMLHttpRequest.prototype.constructor.toString();return!(fe.test(e)||Ae.test(e))}return!0}},43:function(e,t,n){'use strict';n.r(t);n.d(t,'send',function(){return g});n.d(t,'msend',function(){return m});n.d(t,'count',function(){return h});n.d(t,'sample',function(){return f});var o=n(2),i=n(4),a=n(13),r=n(5),l=n(33),s=n(12),d=n(29),u=n(44),p=n(45),c=o['default'];null==c._metricsCache&&(c._metricsCache={});var y=c._metricsCache,g=function(e,t,n){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:{};try{null==y.toMput&&(y.toMput=[]),null==y.requestId&&(y.requestId=0);var s=r.merge({type:e,key:t,value:null==n?null:n,request_id:y.requestId},o),d=JSON.stringify(s);a.wlog.debug('send metrics',d),y.toMput.push(d),Object(i.doTimeout)('metrics.debounce',function(){Object(l.pageLoaded)(function(){m.apply(void 0,y.toMput),y.toMput=[],y.requestId+=1})},500)}catch(t){a.wlog.error(t)}},m=function(){if(Object(p.isVisitorTrackingEnabled)()){for(var e=''.concat(Object(s.proto)(),'//').concat(Object(d.metricsHost)(),'/mput?topic=metrics'),t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return Object(u.xhrPost)(e,n.join('\n'))}},h=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:1,n=2<arguments.length?arguments[2]:void 0;return g('count',e,t,n)},f=function(e,t,n){return g('sample',e,t,n)}},44:function(e,t,n){'use strict';n.r(t);n.d(t,'xhr',function(){return r});n.d(t,'xhrGet',function(){return l});n.d(t,'xhrPost',function(){return s});n.d(t,'xhrJsonPost',function(){return d});var o=n(6),i=n(21),a=n.n(i),r=function(e,t,n){var o=3<arguments.length&&arguments[3]!==void 0?arguments[3]:{},i=4<arguments.length&&arguments[4]!==void 0?arguments[4]:{};return new a.a(function(a,r){var l=i.XMLHttpRequest||XMLHttpRequest,s=new l;i.afterConstructor&&i.afterConstructor(s);var d=function(){if(!(s.readyState<4))if(!(null!=s.status&&(200<=s.status&&300>s.status||304==s.status))){var n=new Error(''.concat(e,' ').concat(t,' - Got an unsuccessful status code: ').concat(s.status,'. ').concat(s.statusText));n.status=s.status,console.error(n.message),r(n)}else if(s.response&&'string'!=typeof s.response)a({data:s.response,status:s.status,statusText:s.statusText,xhr:s});else if('json'===i.dataType)try{var o=JSON.parse(s.responseText);a({data:o,status:s.status,statusText:s.statusText,xhr:s})}catch(n){var l=new Error(''.concat(e,' ').concat(t,' - Error parsing response text: ').concat(s.responseText,'.'));console.error(l.message),r(l)}else a({data:s.responseText,status:s.status,statusText:s.statusText,xhr:s})};try{s.addEventListener('readystatechange',d,!1)}catch(t){console.error(t.message),console.error(t.stack)}s.addEventListener('error',function(){var e=new Error('XHR error');e.status=s.status,e.xhr=s,r(e)},!1);if(s.addEventListener('timeout',function(t){var e=new Error('XHR timeout');e.status=s.status,e.message=t&&t.message,e.xhr=s,r(t)},!1),s.open(e,t,!0),i.withCredentials&&(s.withCredentials=!0),i.timeout&&(s.timeout=i.timeout),null!=i.dataType&&(s.responseType=i.dataType),'POST'!==e||o['content-type']||s.setRequestHeader('content-type','application/x-www-form-urlencoded'),o)for(var u in o)o.hasOwnProperty(u)&&s.setRequestHeader(u.toLowerCase(),o[u]);s.send(n),i.afterSend&&i.afterSend(s)})},l=function(e,t,n){return r('GET',e,null,t,n)},s=function(e,t,n,o){return r('POST',e,t,n,o)},d=function(e,t,n,i){return n=Object(o['default'])({},n,{"content-type":'application/json'}),r('POST',e,JSON.stringify(t),n,i)}},45:function(e,t,n){'use strict';n.r(t);n.d(t,'migrateLegacyVisitorTracking',function(){return c});n.d(t,'consent',function(){return y});n.d(t,'setVisitorTrackingEnabled',function(){return g});n.d(t,'isVisitorTrackingEnabled',function(){return h});var d=n(2),u=n(15),p=n(46);function o(e){return l(e)||r(e)||a(e)||i()}function i(){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(e,t){if(e){if('string'==typeof e)return s(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?s(e,t):void 0}}function r(e){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function l(e){if(Array.isArray(e))return s(e)}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}var c=function(){var e=Object(p.getWistiaLocalStorage)().visitorTrackingEnabled;null!=e&&(Object(p.updateWistiaLocalStorage)(function(e){return delete e.visitorTrackingEnabled}),d['default']._visitorTracking={},d['default']._visitorTracking[d['default']._visitorTrackingDomain]={isEnabled:e,updatedAt:Date.now()},Object(p.updateWistiaLocalStorage)(function(e){return e.visitorTracking=d['default']._visitorTracking}))};d['default']._visitorTrackingDomain||(d['default']._visitorTrackingDomain=location.hostname||''),d['default']._visitorTracking||(c(),d['default']._visitorTracking=Object(p.getWistiaLocalStorage)().visitorTracking||{});var y=function(e){return null==e?h():g(e)};d['default'].consent=y;var g=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:d['default']._visitorTrackingDomain;'default'===e?delete d['default']._visitorTracking[t]:d['default']._visitorTracking[t]={isEnabled:'true'===''.concat(e),updatedAt:Date.now()},Object(p.updateWistiaLocalStorage)(function(e){return e.visitorTracking=d['default']._visitorTracking}),Object(u.globalTrigger)('visitortrackingchange',e)},m=function(){if(d['default']._visitorTrackingDomain)for(var e=d['default']._visitorTrackingDomain.split('.');0<e.length;){var t=d['default']._visitorTracking[e.join('.')],n=t&&t.isEnabled;if(null!=n)return n;e.shift()}},h=function(){if('boolean'==typeof d['default']._visitorTracking)return d['default']._visitorTracking;if(d['default']._visitorTracking){var e=m();if(null!=e)return!!e}var t=[];if(d['default'].api&&d['default'].api.all)try{t.push.apply(t,o(d['default'].api.all()))}catch(t){}if(d['default'].channel&&d['default'].channel.all)try{t.push.apply(t,o(d['default'].channel.all()))}catch(t){}var n=t.some(function(e){var t=e._mediaData||e._galleryData||{};return!0===t.privacyMode});return!n}},46:function(e,t,n){'use strict';n.r(t);n.d(t,'getWistiaLocalStorage',function(){return r});n.d(t,'removeWistiaLocalStorage',function(){return l});n.d(t,'setWistiaLocalStorage',function(){return s});n.d(t,'updateWistiaLocalStorage',function(){return d});
1var o=n(2),i=n(47),a='wistia',r=function(){return Object(i.getLocalStorage)(a)},l=function(){return o['default']._localStorage=Object(i.removeLocalStorage)(a),o['default']._localStorage},s=function(e){return o['default']._localStorage=Object(i.setLocalStorage)(a,e),o['default']._localStorage},d=function(e){return o['default']._localStorage=Object(i.updateLocalStorage)(a,e),o['default']._localStorage}},47:function(e,t,n){'use strict';n.r(t);n.d(t,'getLocalStorage',function(){return d});n.d(t,'removeLocalStorage',function(){return u});n.d(t,'setLocalStorage',function(){return p});n.d(t,'updateLocalStorage',function(){return c});var i=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}var a=function(t){setTimeout(function(){throw t},0)},r='_namespacedLocalStorage',l=function(e){if(null!=i['default']._localStorageWorks)return i['default']._localStorageWorks;try{var t=localStorage.getItem(e);localStorage.removeItem(e),localStorage.setItem(e,t),i['default']._localStorageWorks=!0}catch(t){i['default']._localStorageWorks=!1}return i['default']._localStorageWorks},s=function(){return null==i['default'][r]&&(i['default'][r]={}),i['default'][r]},d=function(e){if(!l())return s()[e]||{};if(localStorage[e])try{return'null'===localStorage[e]?{}:JSON.parse(localStorage[e])}catch(t){a(t)}return{}},u=function(e){if(!l())return void(s()[e]={});try{localStorage.removeItem(e)}catch(t){a(t)}},p=function(e,t){if(!l())return null!=t&&'object'===o(t)&&(s()[e]=t),t;try{s()[e]=t,localStorage[e]=JSON.stringify(t)}catch(t){a(t)}return t},c=function(e,t){var n=d(e);try{t(n)}catch(t){a(t)}return p(e,n)}},48:function(e,t,n){'use strict';n.r(t);n.d(t,'uncache',function(){return r});n.d(t,'setOrGet',function(){return l});n.d(t,'removeLocalStorage',function(){return s});n.d(t,'dumpLocalStorage',function(){return d});var o=n(2),i=n(46),a=n(5);o['default']._localStorage||(o['default']._localStorage=Object(i.getWistiaLocalStorage)());var r=function(){o['default']._localStorage={}},l=function(e,t){var n=!!(2<arguments.length&&arguments[2]!==void 0)&&arguments[2];if(null!=t){var r=n?a.unset:a.set;return o['default']._localStorage=Object(i.updateWistiaLocalStorage)(function(n){return r(n,e,t)}),t}return null==e?o['default']._localStorage:Object(a.get)(o['default']._localStorage,e)},s=function(e){return l(e,'nada',!0)},d=i.removeWistiaLocalStorage},49:function(e,t,n){'use strict';n.r(t);n.d(t,'hashCodeForString',function(){return o});var o=function(e){var t,n,o=0;if(0===e.length)return o;for(t=0;t<e.length;t++)n=e.charCodeAt(t),o=(o<<5)-o+n,o|=0;return o}},5:function(e,t,n){'use strict';n.r(t);n.d(t,'merge',function(){return l});n.d(t,'mergeOne',function(){return s});n.d(t,'identityFunc',function(){return d});n.d(t,'legacyShouldDeleteFromMerge',function(){return u});n.d(t,'clone',function(){return p});n.d(t,'get',function(){return c});n.d(t,'set',function(){return y});n.d(t,'setAndPreserveUndefined',function(){return g});n.d(t,'unset',function(){return h});n.d(t,'exists',function(){return f});n.d(t,'cast',function(){return A});n.d(t,'castDeep',function(){return _});n.d(t,'only',function(){return v});n.d(t,'except',function(){return k});n.d(t,'select',function(){return w});n.d(t,'filter',function(){return B});n.d(t,'values',function(){return S});n.d(t,'sort',function(){return P});n.d(t,'isArray',function(){return T});n.d(t,'isObject',function(){return M});n.d(t,'isFunction',function(){return D});n.d(t,'isRegExp',function(){return O});n.d(t,'isBasicType',function(){return L});n.d(t,'isEmpty',function(){return R});n.d(t,'isSubsetDeep',function(){return H});n.d(t,'equalsDeep',function(){return W});n.d(t,'eachDeep',function(){return N});n.d(t,'eachLeaf',function(){return V});n.d(t,'pick',function(){return U});n.d(t,'indexOf',function(){return j});n.d(t,'keys',function(){return G});var i=n(6);n.d(t,'assign',function(){return i['default']});var a;function o(e){'@babel/helpers - typeof';return o='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},o(e)}var r=Array.prototype.slice,l=function(e){if(0==(1>=arguments.length?0:arguments.length-1))return e;for(var t=0;t<(1>=arguments.length?0:arguments.length-1);t++)s(e,1>t+1||arguments.length<=t+1?void 0:arguments[t+1]);return e},s=function e(t,n){var o=2<arguments.length&&arguments[2]!==void 0?arguments[2]:d,a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:u;if(T(n)){T(t)||(t=[]);for(var r,l=0;l<n.length;l++){r=n[l],null==t[l]&&null!=r&&(T(r)?t[l]=[]:M(r)&&(t[l]={}));var i=e(t[l],r,o);a(n,l,i)?delete t[l]:t[l]=i}return o(t)}if(M(n)){for(var s in n)if(n.hasOwnProperty(s)&&(t.hasOwnProperty(s)||null==t[s])){var p=n[s];T(p)?(!T(t[s])&&(t[s]=[]),e(t[s],p,o),t[s]=o(t[s])):M(p)?(!M(t[s])&&(t[s]={}),e(t[s],p,o),t[s]=o(t[s])):null==t?(t={},!a(n,s,p)&&(t[s]=o(p))):a(n,s,p)?delete t[s]:t[s]=o(p)}return o(t)}return o(n)},d=function(e){return e},u=function(e,t,n){return null==n},p=function(e,t){return T(e)?s([],e,t):s({},e,t)},c=function(e,t,n){t='string'==typeof t?t.split('.'):r.call(t);for(var o,i=e,a;null!=e&&t.length;){a=t.shift();
1e[a]!==void 0&&(M(e[a])||T(e[a]))||!n||(0===a?(e=i[o]=[],e[a]={}):e[a]={}),i=e,o=a,e=e.hasOwnProperty(a)?e[a]:void 0}return e},y=function(e,t,n){return m(e,t,n,!0)},g=function(e,t,n){return m(e,t,n,!1)},m=function(e,t,n){var o=!(3<arguments.length&&arguments[3]!==void 0)||arguments[3];t='string'==typeof t?t.split('.'):r.call(t);var i=t.pop();e=c(e,t,!0);null!=e&&(M(e)||T(e))&&null!=i&&(o&&null==n?delete e[i]:e[i]=n)},h=function(e,t){return y(e,t)},f=function(e,t){return c(e,t)!==void 0},A=function(e){return null==e?e:M(e)||T(e)?_(e):b(''+e,e)},b=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:e;return /^-?[1-9]\d*?$/.test(e)?parseInt(e,10):'0'===e||'-0'===e?0:/^-?\d*\.\d+$/.test(e)?parseFloat(e):!!/^true$/i.test(e)||!/^false$/i.test(e)&&t},_=function(e){return s(e,e,function(e){return'string'==typeof e?b(e):e},function(){return!1})},v=function(e,t){for(var n={},o={},a=0;a<t.length;a++)o[t[a]]=!0;for(var i in e)o[i]&&(n[i]=e[i]);return n},k=function(e,t){for(var n={},o={},a=0;a<t.length;a++)o[t[a]]=!0;for(var i in e)o[i]||(n[i]=e[i]);return n},w=function(e,t){for(var n,o=[],a='function'==typeof t,r=a?t:null,l=0;l<e.length;l++)if(n=e[l],a)r(n)&&o.push(n);else{var i=!0;for(var s in t){var d=t[s];if(d instanceof Array){if(!n[s]||n[s]<d[0]||n[s]>d[1]){i=!1;break}}else if(d instanceof RegExp){if(!d.test(n[s])){i=!1;break}}else if(d instanceof C){for(var u,p=!1,c=0;c<d.values.length;c++)if(u=d.values[c],n[s]===u){p=!0;break}if(!p){i=!1;break}}else if('function'==typeof d){if(null==n[s]||!d(n[s])){i=!1;break}}else if(n[s]!==d){i=!1;break}}i&&o.push(n)}return o},C=function(e){var t=this;return function(){t.values=e}(),t},S=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return new C(t)},P=function(e,t){var n='function'==typeof t,o=n?t:null,i=r.call(e);return n?i.sort(o):i.sort(function(e,n){var o=t instanceof Array?p(t):t.split(/\s*,\s*/);for(var i=0;0===i&&0<o.length;){var a=o.shift().split(/\s+/),r=a[0],l=a[1];if(l='desc'===l?-1:1,e[r]<n[r]){i=-1*l;break}else if(e[r]===n[r])i=0;else{i=1*l;break}}return i}),i},B=function(e,t,n){for(var o=n===void 0?a:n,r=[],l=0;l<e.length;l++)t.call(o,e[l],l,e)&&r.push(e[l]);return r},E=/^\s*function Array()/,T=function(e){return null!=e&&e.push&&E.test(e.constructor)},x=/^\s*function Object()/,M=function(e){return null!=e&&'object'===o(e)&&x.test(e.constructor)},D=function(e){return null!=e&&'function'==typeof e},I=/^\s*function RegExp()/,O=function(e){return null!=e&&I.test(e.constructor)},F=/^string|number|boolean|function$/i,L=function(e){return null!=e&&(F.test(o(e))||O(e))},R=function(e){if(null==e)return!0;if(T(e)&&!e.length)return!0;if(M(e)){for(var t in e)return!1;return!0}return!1},H=function(e,t){if(e===t)return!0;if(null!=e&&null==t||null==e&&null!=t)return!1;var n=!0;return V(e,function(e,o){var i=c(t,o);e!==i&&(n=!1)}),n},W=function(e,t){return H(e,t)&&H(t,e)},N=function e(t,n,o,i,a){if(null==o&&(o=[]),L(t))n(t,o,i,a);else if(M(t)||T(t)){for(var l in n(t,o,i,a),t)if(t.hasOwnProperty(l)){var s=r.call(o);s.push(l),e(t[l],n,s,t,l)}}else n(t,o,i,a)},V=function(e,t){N(e,function(e,n,o,i){T(e)||M(e)||t(e,n,o,i)})},U=function(e,t){for(var n,o={},a=0;a<t.length;a++)n=t[a],e[n]&&(o[n]=e[n]);return o},j=function(e,t){for(var n=0;n<e.length;n++)if(e[n]===t)return n;return-1},G=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(n);return t}},50:function(e,t,n){'use strict';n.r(t);n.d(t,'canEditMedia',function(){return b});n.d(t,'fetchMedia',function(){return _});n.d(t,'mediaDataUrl',function(){return v});n.d(t,'mediaDataScriptRegExp',function(){return k});n.d(t,'cacheMedia',function(){return w});n.d(t,'cacheAbTest',function(){return C});n.d(t,'uncacheMedia',function(){return S});n.d(t,'mediaFromCache',function(){return B});n.d(t,'abTestFromCache',function(){return E});var o=n(3),i=n(2),a=n(19),r=n.n(a),l=n(5),s=n(13),d=n(22),u=n(18),p=n(51),c=n(7),y=n(4),g=n(29),m=n(12),h=n(48),f=n(43),A=n(52);null==i['default']._canEditMedia&&(i['default']._canEditMedia={}),null==i['default']._remoteData&&(i['default']._remoteData={});var b=function(e,t){var n=i['default']._canEditMedia[e];if(n)return n;n=i['default']._canEditMedia[e],null==n&&(n=i['default']._canEditMedia[e]=new r.a);
1var o='https://'.concat(Object(g.mediaDataHost)(t),'/media_url'),a={hashed_id:encodeURIComponent(e)};return Object(d.jsonpPlus)(o,a,function(e){e&&e.logged_in&&n.go(e)},{once:!0}),n},_=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:{},o=T(e,n);if(o){s.wlog.info('W.remote.media',e,'from local cache');var i='remote-media.'.concat(e,'.').concat(Object(c['default'])()),a=o;return o.type&&'ab-test'===o.type&&(s.wlog.info('W.remote.media',e,'responded',o),a=x(o,n)),Object(y.doTimeout)(i,function(){t(a)}),i}s.wlog.info('W.remote.media',e,'fetching');var r=v(e,n),u={};null!=n.password&&(u.password=n.password),n.idType&&(u.idType=n.idType);var p={onerror:function(){s.wlog.error('Timed out fetching '.concat(r))},timeout:1e4,once:null==n.once||n.once,scriptRegex:k(e)};return Object(d.jsonpPlus)(r,u,function(o){if(o.error)s.wlog.info('W.remote.media',e,'error',o),w(e,o),t(o);else if(o.type&&'ab-test'===o.type){s.wlog.info('W.remote.media',e,'responded',o);var i=x(o,n);t(i)}else{var a,r=Object(l.merge)({},null===(a=o.media)||void 0===a?void 0:a.embed_options,n);delete o.media.unnamed_assets,Object(A.mediaDataTransforms)(o.media,r),w(e,o.media),s.wlog.info('W.remote.media',e,'responded',o.media),t(o.media)}},p)},v=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};if(t.useMediaDataHostLogic){var n=Object(g.mediaDataHost)(t);return''.concat(Object(g.eV1Protocol)(),'//').concat(n,'/embed/medias/').concat(e,'.json')}var o=Object(g.forceValidFastWistiaHost)(t.embedHost);return''.concat(Object(m.proto)(),'//').concat(o,'/embed/medias/').concat(e,'.json')},k=function(e){var t='https:'===location.protocol?'https':'https?';return new RegExp('^('.concat(t,':)?//((').concat(Object(g.cdnFastWistiaComHost)().replace('.','\\.'),')|(').concat(Object(g.cdnFastWistiaNetHost)().replace('.','\\.'),'))/embed/medias/').concat(e,'\\.jsonp\\??'))},w=function(e,t){return Object(p.cacheMediaData)(e,t)},C=function(e,t){return i['default']._remoteData['ab_test_'.concat(e)]=t},S=function(e){Object(p.uncacheMediaData)(e),P(e)},P=function(e){window['wistiajsonp-/embed/medias/'.concat(e,'.json')]=null,Object(u.removeScriptsBySrc)(v(e),{scriptRegex:k(e)})},B=function(e){return T(e,{idType:'media'})},E=function(e){return T(e,{idType:'ab-test'})},T=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=t.idType||'media',a=i['default']._remoteData[''.concat(n,'_').concat(e)];if(a)return a;var r=o['default']['wistiajsonp-/embed/medias/'.concat(e,'.json')];return null!=r&&r.media?r.media:null},x=function(e,t){if(e.error)return e;e.missingVideos&&console.warn('The following videos were not present in the AbTest: ',e.missingVideos),C(e.hashedId,e);var n=[e.control,e.variant].filter(Boolean);n.forEach(function(e){var n,o=Object(l.merge)({},null===(n=e.media)||void 0===n?void 0:n.embed_options,t);Object(A.mediaDataTransforms)(e.media,o),w(e.media.hashedId,e.media)});var o,i='ab_test.'.concat(e.hashedId,'.selected_media_hashed_id');o=e.winnerHashedId?e.winnerHashedId:Object(h.setOrGet)(i);var a,r,s,d;'undefined'==typeof crypto?(d=Math.random(),r=+(.5<d)):(s=crypto.getRandomValues(new Uint8Array(1)),r=1&s[0]);var u=2===n.length?r:0;a=n[u].media;var p=!1;n.some(function(e){if(e.media.hashedId===o)return a=e.media,p=!0,!0});var c={numberOfMedias:n.length,coinFlip:r,savedMedia:p,agent:navigator.userAgent||null,selectedHashedId:a.hashedId,stringCryptoRandom:s+''};return null==s?c.mathRandom=d:c.cryptoRandom=s[0],Object(f.send)('count','player/ab-test-selection',1,c),Object(h.setOrGet)(i,a.hashedId),a}},51:function(e,t,n){'use strict';n.r(t);n.d(t,'cacheMediaData',function(){return i});n.d(t,'uncacheMediaData',function(){return a});var o=n(2);null==o['default']._remoteData&&(o['default']._remoteData={});var i=function(e,t){return o['default']._remoteData['media_'.concat(e)]=t},a=function(e){o['default']._remoteData['media_'.concat(e)]=null,delete o['default']._remoteData['media_'.concat(e)]}},52:function(e,t,n){'use strict';n.r(t);n.d(t,'determineDeliveryCdn',function(){return _});n.d(t,'convertMp4sToM3u8s',function(){return k});n.d(t,'hasAlternateAudio',function(){return w});n.d(t,'EMBED_SSL_ACCOUNT_IDS',function(){return B});n.d(t,'isEmbedSslMedia',function(){return E});n.d(t,'mediaDataTransforms',function(){return T});var d=n(2),u=n(5),p=n(12),c=n(14),y=n(43),g=n(29),m=n(49);function o(e,t){return s(e)||l(e,t)||r(e,t)||a()}
1function a(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function r(e,t){if(e){if('string'==typeof e)return i(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return'Object'===a&&e.constructor&&(a=e.constructor.name),'Map'===a||'Set'===a?Array.from(a):'Arguments'===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function l(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function s(e){if(Array.isArray(e))return e}var h=Object(c.cachedDetect)(),f='fastly',A='akamai',b=function(e){return e.assets&&(e.assets=e.assets.map(function(e){if(h.trident&&'mp4'===e.container&&e.url){var t=new p.Url(e.url);t.params.ua_hint='trident',e.url=t.absolute()}return e})),e};null==d['default'].RANDOM_PERCENT_FOR_VIEW&&(d['default'].RANDOM_PERCENT_FOR_VIEW=100*Math.random());var _=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=t.deliveryCdn,i=t.randomPercentForView,a=''.concat(n||'').split(';'),r=o(a,2),l=r[0],s=r[1];if(l===f||l===A)return n;var u=50,p=''.concat(s).split(',');p.forEach(function(e){var t=e.split(':'),n=o(t,2),i=n[0],a=n[1];a&&i===f&&(u=parseFloat(a))});var c='random-by-view'===l?null==i?d['default'].RANDOM_PERCENT_FOR_VIEW:i:Math.abs(Object(m.hashCodeForString)(e.hashedId))%1e3/10;return c<u?f:A},v=function e(t,n){if(t.assets&&!E(t))for(var o,a=_(t,n),r=0;r<t.assets.length;r++)if(o=t.assets[r],o.url){var i=a===f?g.fastlyHost:g.akamaiHost;o.url=o.url.replace(/^https:\/\/embed-ssl\.wistia\.com/,'https://'+i('https:'))}return t.secondaryMediaData&&e(t.secondaryMediaData,n),t},k=function(e){var t=Object(u.assign)(e,{});return t=S(e),t=C(t),t},w=function(e){if(!e.assets)return!1;var t=e.assets.filter(function(e){return'mp4_alternate_audio'===e.type});return 0<t.length},C=function(e){if(e.assets){var t={};e.assets.forEach(function(e){'m3u8'===e.container&&(t[e.display_name]=e)}),e.assets=e.assets.map(function(n){var o=n.metadata&&n.metadata.max_bitrate;return!o&&'mp4'===n.container&&t[n.display_name]&&(Object(y.count)('player/originV2/copying-metadata-for-asset',1,{hashedId:e.hashedId,asset:n}),n.metadata=t[n.display_name].metadata),n})}return e},S=function(e){return e.assets&&(e.assets=e.assets.map(function(e){if(('mp4'===e.container||'mp4_alternate_audio'===e.type)&&e.url){var t=new p.Url(e.url);t.params.origin_v2=1,t.ext('m3u8'),e.url=t.absolute()}return e})),e},P=function(e){return e.assets&&h.webp&&(e.assets=e.assets.map(function(e){if('still_image'===e.type&&Object(e).url){var t=new p.Url(e.url);t.ext('webp'),e.url=t.absolute()}return e})),e},B=[],E=function(e){if(e.accountKey)return!1;for(var t,n=0;n<B.length;n++)if(t=B[n],e.accountKey==='wistia-production_'.concat(t))return!0;return!1},T=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=Object(u.assign)({},e);return n=v(n,t),n=P(n),n=b(n),n}},53:function(e,t,n){'use strict';n.r(t);n.d(t,'overpassFontFamily',function(){return o});n.d(t,'overpassHeavyItalicFontFamily',function(){return i});n.d(t,'overpassNumbers',function(){return a});n.d(t,'overpassNumbersSemiBold',function(){return r});n.d(t,'overpassExtraBoldFontFamily',function(){return l});n.d(t,'overpassSemiBoldFontFamily',function(){return s});var o='WistiaPlayerOverpass, Helvetica, Sans-Serif',i='WistiaPlayerOverpassHeavyItalic, Helvetica, Sans-Serif',a='WistiaPlayerOverpassNumbers, Helvetica, Sans-Serif',r='WistiaPlayerOverpassNumbersSemiBold, Helvetica, Sans-Serif',l='WistiaPlayerOverpassExtraBold, Helvetica, Sans-Serif',s='WistiaPlayerOverpassSemiBold, Helvetica, Sans-Serif'},54:function(e,t,n){'use strict';n.r(t);n.d(t,'getLocalStorageKey',function(){return i});n.d(t,'getLastTime',function(){return a});n.d(t,'setLastTime',function(){return r});n.d(t,'getResumableKeyForVideo',function(){return l});n.d(t,'setResumableKeyForVideo',function(){return s});n.d(t,'atOrNearEnd',function(){return d});n.d(t,'atOrNearBeginning',function(){return u});n.d(t,'shorterThanResumableThreshold',function(){return p});n.d(t,'withinResumableTime',function(){return c});var o=n(47),i=function(e){return'wistia-video-progress-'.concat(e)},a=function(e){return Object(o.getLocalStorage)(i(e)).lastTime},r=function(e,t){Object(o.updateLocalStorage)(i(e),function(e){e.lastTime=t})},l=function(e){return Object(o.getLocalStorage)(i(e)).resumableKey},s=function(e,t){Object(o.updateLocalStorage)(i(e),function(e){e.resumableKey=t})},d=function(e,t){return(a(e)||0)+5>t},u=function(e){var t=a(e)||0;return t<10},p=function(e){return e<300},c=function(e,t){return!u(e)&&!d(e,t)}},55:function(e,t,n){'use strict';n.r(t);n.d(t,'supportedLanguages',function(){return d});n.d(t,'defineLanguage',function(){return u});n.d(t,'getLanguage',function(){return p});n.d(t,'defineTranslations',function(){return c});n.d(t,'getTranslation',function(){return f});n.d(t,'getLanguagePreference',function(){return A});n.d(t,'loadAndDefineTranslation',function(){return b});n.d(t,'matchingLanguages',function(){return _});n.d(t,'getDefaultTranslation',function(){return v});var o=n(2),i=n(5),a=n(21),r=n.n(a),l=o['default'].languages=o['default'].languages||{},s=o['default'].translations=o['default'].translations||{};o['default']._translationPromises||(o['default']._translationPromises={});var d=['ar','de','es','en-US','fr','it','ja','ko','pt','ru','zh-CN'],u=function(e,t,n){l[e]={code:e,text:h(t)},n&&c(e,n)},p=function(e){return l[e]},c=function(e,t){if(null==l[e])throw new Error('Must define a language with code '.concat(e,' before defining its translations.'));var n=s[e];n?Object(i.merge)(n,t):s[e]=Object(i.clone)(t)},y,g=function(e){return null==e?'?':e},m=o['default'].cachedDecodings=o['default'].cachedDecodings||{},h=function(e){return(y||(y=document.createElement('textarea')),null!=m[e])?m[e]:(y.innerHTML=e,m[e]=y.value,y.value)},f=function(e,t){var n;return n=s[e]&&s[e][t]?s[e][t]:s['en-US'][t],h(g(n))},A=function(){return o['default'].languagePreference=navigator.languages||[navigator.language],o['default'].languagePreference},b=function(e){if(o['default']._translationPromises[e])return o['default']._translationPromises[e];var t=new r.a(function(t,n){o['default'].asyncRequire(['translations/'.concat(e,'.js')]
1).then(function(){t({code:e,translations:s[e]})}).catch(n)});return o['default']._translationPromises[e]=t,t},_=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:A;return e().reduce(function(e,t){var n=-1!==d.indexOf(t),o=t.split('-')[0],i=-1!==d.indexOf(o);return n?e.push(t):i&&e.push(o),e},[])},v=function(){var e=_()[0];return e&&'en'!==e||(e='en-US'),s[e]?r.a.resolve({code:e,translations:s[e]}):b(e)};u('en-US','English'),c('en-US',{PLAY_BUTTON_TITLE_WHEN_NOT_PLAYING:'Play Video',PLAY_BUTTON_TITLE_WHEN_PLAYING:'Pause',REWATCH:'Rewatch',SKIP:'Skip'}),o['default']._initializers.initDefaultTranslation=v,o['default'].getDefaultTranslation=v,o['default'].suppportedLanguages=d,o['default'].defineLanguage=u,o['default'].getLanguage=p,o['default'].getLanguagePreference=A,o['default'].defineTranslations=c,o['default'].getTranslation=f,o['default'].loadAndDefineTranslation=b},554:function(e,t,n){'use strict';n.r(t);var o=n(2),i=o['default'].lib('utilities/detect'),a=i.cachedDetect,r=a();t['default']=function(e){var t=e.lastPlayInfo(),n=Date.now()-t.issuedAt,o=!t.source||t.rejectedAt,i=t.isPending&&'user-event'===t.source&&2e3>n,a=e._opts&&'reset'===e._opts.endVideoBehavior&&'ended'===e.state(),l=t.isPending&&'non-user-event'===t.source&&!e.isMuted()&&(!1===e._opts.silentAutoPlay||null==e._opts.silentAutoPlay)&&(r.iphone||r.ipad||r.safari);return e.up()&&('beforeplay'===e.state()||a)&&(o||l||i||a)}},56:function(e,t,n){'use strict';n.r(t);n.d(t,'uniqId',function(){return o});var o=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:'',t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:'',n=new Date().getTime();window.performance&&'function'==typeof window.performance.now&&(n+=window.performance.now());var o='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx-xxxxxxxxx-xxxxxxxxxxxx-xxxx'.replace(/[xy]/g,function(e){var t=0|(n+16*Math.random())%16;n=Math.floor(n/16);var o='x'===e?t:8|3&t;return o.toString(16)});return e+o+t}},560:function(e,t,n){'use strict';n.r(t);var w=n(2),C=n(31),S=n(561),P=n(564),B=n(567),E=n(568),T=n(569),x=n(570),M=n(572),D=n(574),I=n(576),O=n(577),F=n(579),L=n(581),R=n(584),H=n(586),W=n(587),N=n(588),V=n(590),U=n(591),j=n(593),G=n(594),Q=n(595),z=n(597),Y=n(599),K=n(600),q=n(601),J=n(602),X=n(603),Z=n(604),$=n(605),ee=n(606),te=n(54),ne=n(34),oe=n(612);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){return d(e)||s(e,t)||r(e,t)||a()}function a(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function r(e,t){if(e){if('string'==typeof e)return l(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function s(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function d(e){if(Array.isArray(e))return e}function u(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function p(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function c(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function y(e,t,n){return y='undefined'!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=g(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},y(e,t,n||e)}function g(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=_(e),null!==e););return e}function m(e){return function(){var t,n=_(e);if(b()){var o=_(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return f(this,t)}}function f(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:A(e)}function A(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function b(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function _(e){return _=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},_(e)}function v(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}}
1),t&&k(e,t)}function k(e,t){return k=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},k(e,t)}var ie=w['default'].lib('player/lib/judy'),ae=w['default'].lib('player/lib/assets'),re=w['default'].lib('preact'),le=re.h,h=re.render,se=w['default'].lib('promiscuous'),de=w['default'].lib('player/lib/elem'),ue=de.inUserEventContext,pe=w['default'].lib('utilities/obj'),ce=w['default'].lib('utilities/detect'),ye=ce.cachedDetect,ge=ye();if(!w['default'].VulcanV2Player){var me=w['default'].Video,he=function(e){function t(e){var o;u(this,t),o=n.call(this,e),o.playerType='vulcan-v2',o._enabledControls={},o._visibilityRequests={},o._playerContext=[],o._overlays={},o._initialized=o.setupBehaviors(),o._isKeyboardFocused=void 0,o._tracker=new w['default'].VideoTracker2(e),o._tracker.visitorKey(),o._tracker.monitor(),e._playlist&&1<e._playlist.length&&o.loadLastFrameCanvasControl(),o.on('playlistchange',function(e){1<e.length&&o.loadLastFrameCanvasControl()});var i=o.on('beforereplace',function(){i(),o.loadLastFrameCanvasControl()});if(o._opts.newLook){var a=['playPauseLoadingControl.js'];ge.touchScreen&&a.push('skipControls.js'),Object(ne.onDocReady)(function(){w['default'].asyncRequire(a)})}return o._opts.techInfo&&w['default'].asyncRequire('vulcanV2Player/controls/TechInfoControl.js'),o}v(t,e);var n=m(t);return c(t,[{key:'loadLastFrameCanvasControl',value:function(){this.ready(function(){w['default'].asyncRequire('vulcanV2Player/controls/LastFrameCanvasControl.js')})}},{key:'setupBehaviors',value:function(){var e=this;return new se(function(t){e.addBehaviors([z['default'],Y['default'],K['default'],q['default'],oe.PlaySuspendedOffScreenBehavior,J['default'],X['default'],Z['default'],$['default']]),'Audio'===e._mediaData.type?w['default'].asyncRequire('vulcanV2Player/audio/AudioUIBehavior.js').then(function(n){e.addBehavior(n),t()}):(e.addBehavior(ee['default']),t())})}},{key:'removeBehaviors',value:function(){for(var e in this.behaviors)this.behaviors.hasOwnProperty(e)&&this.removeBehavior(e)}},{key:'elem',value:function(){return this.engine?this.engine.getMediaElement():(this._dummyVideo||(this._dummyVideo=document.createElement('video')),this._dummyVideo)}},{key:'embed',value:function(e){var n=this;return this._initialized.then(function(){return e instanceof t?n.behaviors.embed.embed(e):n.behaviors.embed.embed()})}},{key:'eventKey',value:function(){return this._tracker.eventKey()}},{key:'renderUI',value:function(){var e=this;this.ui||(this.ui=this.behaviors.ui);var t=this.ui.lastRenderPromise||se.resolve();return t.then(function(){return e.ui.render()})}},{key:'rebuild',value:function(){return this.behaviors.embed.rebuild(this)}},{key:'onDimensionChangeSafe',value:function(){if(this.grid)try{this.onWidthChange(this.videoWidth()),this.onHeightChange(this.videoHeight())}catch(t){this.error(t)}}},{key:'transferStateFrom',value:function(e){this.behaviors.fullscreen&&this.behaviors.fullscreen.transferStateFrom(e),this.isKeyboardFocused(e.isKeyboardFocused()),this.focus()}},{key:'bestEngine',value:function(){return ie.bestUsableEngine(this.publicApi.judyCtx(),this._mediaData,this._opts)}},{key:'initEngineAfterEmbedded',value:function(){var e=this;this.embedded(function(){return e.behaviors.embed.initializeEngine()})}},{key:'setupBindings',value:function(){this.setupVideoBindings()}},{key:'setupVideoBindings',value:function(){var e=this;this.publicApi.bind('click',function(){e.initEngineAfterEmbedded()}),this.publicApi.bind('mouseenter',function(){e.initEngineAfterEmbedded()}),this.publicApi.bind('focusin',function(){e.initEngineAfterEmbedded()}),this.bind('widthchange',function(t){e.onWidthChange(t)}),this.bind('heightchange',function(t){e.onHeightChange(t)})}},{key:'addBehavior',value:function(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1];null==this.behaviors&&(this.behaviors={});var n=e.handle;if(!n)return void this.error('No handle defined for',e);this.behaviors[n]&&(this.behaviors[n].destroy(),this.behaviors[n]=null);try{var o=this.behaviors[n]=new e(this);return t&&o.init(),o}catch(t){setTimeout(function(){throw t},0),delete this.behaviors[n]}}},{key:'addBehaviors',value:function(e){var t=this,n=e.map(function(e){return t.addBehavior(e,!1)});return n.map(function(n){try{n.init()}catch(o){t.error('error in init for',n.constructor.handle,'behavior'),setTimeout(function(){throw o},0)}}),n}},{key:'removeBehavior',value:function(e){this.behaviors[e]&&(this.behaviors[e].destroy(),delete this.behaviors[e])}},{key:'isMediaDataUsingEmbedSsl',value:function(){for(var e,t=0;t<this._mediaData.assets.length;t++)if(e=this._mediaData.assets[t],e.url&&/embed-ssl\.wistia\.com/.test(e.url))return!0;return!1}},{key:'onWidthChange',value:function(e){this.engine&&this.engine.onWidthChange(e)}},{key:'onHeightChange',value:function(e){this.engine&&this.engine.onHeightChange(e)}},{key:'controlScaling',value:function(e){if(null!=e){var t=this._controlScaling;this._controlScaling=e,t!==e&&this.trigger('controlscalingchange',e,t)}else return this._controlScaling||'auto'}},{key:'audioDescriptionControlEnabled',value:function(e){this.setControlEnabled('audioDescriptionButton',e)}},{key:'bigPlayButtonEnabled',value:function(e){this.setControlEnabled('bigPlayButton',e)}},{key:'bigPlayButtonTimeEnabled',value:function(e){this.isControlEnabled('bigPlayButton')&&this.ui.controls.bigPlayButton.setTimeEnabled(e)}},{key:'smallPlayButtonEnabled',value:function(e){this.setControlEnabled('smallPlayButton',e)}},{key:'playbarControlEnabled',value:function(e){this.setControlEnabled('lowerPlaybar',e),this.setControlEnabled('upperPlaybar',e)}},{key:'settingsControlEnabled',value:function(e){this.setControlEnabled('settingsButton',e)}},{key:'playbackRateControlEnabled',value:function(e){this.isControlEnabled('settingsButton')&&this.ui.controls.settingsButton.setPlaybackRateEnabled(e)}},{key:'qualityControlEnabled',value:function(e){this.isControlEnabled('settingsButton')&&this.ui.controls.settingsButton.setQualityEnabled(e)}},{key:'volumeControlEnabled',value:function(e){this.setControlEnabled('volumeButton',e)}},{key:'fullscreenButtonEnabled',value:function(e){this.setControlEnabled('fullscreenButton',e)}},{key:'hideControls',value:function(){return this.ui.releaseControls('showControls')}},{key:'showControls',value:function(){return this.requestControls('showControls',4e3)}},{key:'requestChromeless',value:function(e,t){return this.requestControls(e,t,!1)}},{key:'releaseChromeless',value:function(e){return this.releaseControls(e)}}
1,{key:'requestControls',value:function(e,t){var n=this,o=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];return this._visibilityRequests[e]=o,null!=t&&w['default'].timeout(''.concat(this.uuid,'.').concat(e,'.release_controls'),function(){n.releaseControls(e)},t),this.ui.maybeToggleControls()}},{key:'releaseControls',value:function(e){return this._visibilityRequests[e]=null,this.ui.maybeToggleControls()}},{key:'fit',value:function(){y(_(t.prototype),'fit',this).call(this),this.embedded(function(){})}},{key:'getBuffered',value:function(){if(!this.engine)return[];var e=this.engine.activeBufferRange();if(e){var t=this.engine.activeBufferRange(),n=i(t,2),o=n[0],a=n[1];return[{start:o,end:a}]}return[]}},{key:'rangeBuffered',value:function(){this.engine.activeBufferRange()}},{key:'timeBuffered',value:function(){var e=this.rangeBuffered();return e?e[1]-e[0]:0}},{key:'totalBuffered',value:function(){return this.engine?this.engine.totalBuffered():0}},{key:'totalPlayed',value:function(){return this.engine?this.engine.totalPlayed():0}},{key:'sequentialBufferedRange',value:function(){return this.engine?this.engine.sequentialBufferedRange():[0,0]}},{key:'requestFullscreen',value:function(){return this.behaviors.fullscreen.requestFullscreen()}},{key:'cancelFullscreen',value:function(){return this.behaviors.fullscreen.cancelFullscreen()}},{key:'inFullscreen',value:function(){var e;return null===(e=this.behaviors.fullscreen)||void 0===e?void 0:e.inFullscreen()}},{key:'stopStreaming',value:function(){this.info('stopStreaming'),this.engine&&this.engine.stopStreaming()}},{key:'cleanup',value:function(){this.info('cleanup'),this.removeBehaviors()}},{key:'assetOptions',value:function(){return this.engine.selectableAssets()}},{key:'videoQuality',value:function(e){var t=this;return null==e?this.engine?this.engine.getCurrentQuality():'auto':void(this.info('videoQuality',e),this.initEngineAfterEmbedded(),this.commandQueueOpen.synchronize(function(n){t.ready(function(){t.engine.changeQuality(e,'playing'===t.state()).then(n)})}))}},{key:'changeAudioTrack',value:function(e){var t=this;null!=e&&(this.initEngineAfterEmbedded(),this.info('changeAudioTrack',e),this.commandQueueOpen.synchronize(function(n){t.ready(function(){t.engine.changeAudioTrack(e).then(n)})}))}},{key:'getAudioTracks',value:function(){var e=this.bestEngine();if(!this.engine){var t=[];if('engines/hls_video.js'===e){var n=ae.filter(this._mediaData.assets,{type:'mp4_alternate_audio',status:ae.READY});t.push({audioCodec:void 0,autoselect:!0,default:!0,forced:!1,groupId:'audio',id:0,lang:void 0,name:'[Original]',type:'AUDIO'}),n.forEach(function(e){t.push({audioCodec:void 0,autoselect:!1,default:!1,forced:!1,groupId:'audio',id:0,lang:void 0,name:e.display_name,type:'AUDIO'})})}return t}return this.engine.getAudioTracks()}},{key:'getCurrentAudioTrack',value:function(){return this.engine?this.engine.getCurrentAudioTrack():0}},{key:'selectedQuality',value:function(){return this.engine?this.engine.selectedQuality():'auto'}},{key:'selectableQualities',value:function(){return this.engine?this.engine.selectableQualities():['auto']}},{key:'stillUrl',value:function(e){return e=w['default'].obj.merge({playButton:!1},e),y(_(t.prototype),'stillUrl',this).call(this,e)}},{key:'play',value:function(){var t=this;this.suppressPlay()||this.trigger('playcalled'),this.initEngineAfterEmbedded();var e=ue()&&!this.ready();return this.info('play'),this.commandQueueOpen.synchronize(function(n){return t.suppressPlay()?void n():void(t._isPlayPending=!0,t._lastPlayType=void 0,t._lastPlaySource=fe(),t._lastPlayIssuedAt=Date.now(),t._lastPlayResolvedAt=null,t._lastPlayRejectedAt=null,t.trigger('playpending',t.lastPlayInfo()),t.ready(function(){t._calledPlay=!0,t._mozillaAtEnd()&&t.engine.setCurrentTime(0);var o={};e&&!1===t._opts.silentAutoPlay&&(o.silentAutoPlay='allow',t.trigger('clicked-play-before-ready'));var i=function(){t._isPlayPending=!1,t._lastPlayType=void 0,t._lastPlayRejectedAt=Date.now(),t.trigger('playrejected',t.lastPlayInfo()),n()};return w['default'].detect.ios.version&&10.1>w['default'].detect.ios.version&&!ue()&&!t.engine.isInitializingFromUnmuted()?(t.notice('Play rejected because not in user context.'),void i()):void(t._playProm
1ise=t.engine.play(o).then(function(e){t._isPlayPending=!1,t._lastPlayType=e,t._lastPlayResolvedAt=Date.now(),'play-silently'!==e||t._inSilentPlaybackMode||(t._inSilentPlaybackMode=!0,t.trigger('silentplaybackmodechange',!0)),n()}).catch(function(n){t.notice(n),i()}))}))}),this}},{key:'pause',value:function(){var e=this;return this.info('pause'),this.trigger('receivepause'),this.initEngineAfterEmbedded(),this.commandQueueOpen.synchronize(function(t){e._isPausePending=!1,e._lastPauseSource=fe(),e._lastPauseIssuedAt=Date.now(),e.ready()?e.engine.pause().then(function(){e._isPausePending=!1,t()}):t()}),this}},{key:'time',value:function(n,e){var t=this;return null==n?this.engine&&this.engine.getCurrentTime()||0:(this.info('time',n),'beforeplay'===this.state()&&(this._startPosition=n),this.initEngineAfterEmbedded(),this.commandQueueOpen.synchronize(function(o){'beforeplay'===t.state()&&(t._lastPlaySource=fe(),t._lastPlayIssuedAt=Date.now(),t._isPlayPending=!0,t._lastPlayType=void 0,t._isPausePending=!0,t._lastPauseIssuedAt=t._lastPlayIssuedAt,t._lastPauseSource=t._lastPlaySource),n=Math.max(0,Math.min(t.duration(),n)),t.ready(function(){var i=e&&e.lazy&&'playing'!==t.state();return i?(t.engine.seekOnPlay(n).then(t.behaviors.relayEvents.fireTimeChangedEventsIfChanged),t._isPlayPending=!1,void o()):void('beforeplay'===t.state()?t._seekPromise=t.engine.seek(n,e).catch(function(i){t.notice(i),t.engine.seekOnPlay(n),t._isPlayPending=!1,t._lastPlayRejectedAt=Date.now(),t._lastPlayType=void 0,t.trigger('playrejected',t.lastPlayInfo()),o()}).then(function(e){t.behaviors.relayEvents.fireTimeChangedEventsIfChanged(),t._isPlayPending=!1,t._isPausePending=!1,t._lastPlayType=e,'play-silently'===e&&(t._inSilentPlaybackMode=!0,t.trigger('silentplaybackmodechange',!0)),o()}):(t.info('time '.concat(n,': set immediately')),t.engine.setCurrentTime(n),t.behaviors.relayEvents.fireTimeChangedEventsIfChanged(),o()))})}),this)}},{key:'duration',value:function(){if(this.engine)return this.engine.getDuration();var e=this._opts.trimStart,t=this._opts.trimEnd,n=null!=e&&-1!==e?e:0,o=this._mediaData.secondaryMediaData?this._mediaData.secondaryMediaData.duration:this._mediaData.duration,i=null!=t&&-1!==t?Math.min(o,t):this._mediaData.duration;return i-n}},{key:'volume',value:function(e){return null==e?this.engine?this.engine.getVolume():null==this._volume?1:this._volume:(this.info('volume',e),e=Math.max(0,Math.min(1,e)),this.initEngineAfterEmbedded(),this._volume=e,this.ready()&&this.engine.setVolume(e),this)}},{key:'mute',value:function(){var e=this;this._muted=!0,this.ready()?this.engine.mute():this.ready(function(){e.engine.mute()})}},{key:'unmute',value:function(){this._muted=!1,this.ready()&&(w['default'].detect.callingPlayRequiresEventContext?'playing'!==this.state()||ue()?(this.engine.unmute(),this._inSilentPlaybackMode&&(this._inSilentPlaybackMode=!1,this.trigger('silentplaybackmodechange',!1))):this.notice('could not unmute'):(this.engine.unmute(),this._inSilentPlaybackMode&&(this._inSilentPlaybackMode=!1,this.trigger('silentplaybackmodechange',!1))))}},{key:'isMuted',value:function(){return this.engine?this.engine.isMuted():null==this._muted?!!this._opts.muted:this._muted}},{key:'isResumableEnabled',value:function(){return!0===this._opts.resumable||!1!==this._opts.resumable&&this.meetsAutoCriteraForResumable()}},{key:'meetsAutoCriteraForResumable',value:function(){var e=this.isControlEnabled('lowerPlaybar')||this.isControlEnabled('upperPlaybar')||this._opts.playbar;return!Object(te.shorterThanResumableThreshold)(this.duration())&&!this._opts.autoPlay&&'loop'!==this._opts.endVideoBehavior&&e}},{key:'shouldResume',value:function(){return this.isResumableEnabled()&&Object(te.withinResumableTime)(this.publicApi.hashedId(),this.duration())}},{key:'state',value:function(){if(this.engine){var e,t=this.engine.getPlaybackMode();return'beforeplay'===t&&(null===(e=this.behaviors.relayEvents)||void 0===e?void 0:e._hasPlayed)?'paused':t}return'beforeplay'}},{key:'lastPauseInfo',value:function(){return{source:this._lastPauseSource,issuedAt:this._lastPauseIssuedAt,isPending:!!this._isPausePending}}},{key:'lastPlayInfo',value:function(){return{source:this._lastPlaySource,issuedAt:this._lastPlayIssuedAt,isPending:!!this._isPlayPending,playType:this._lastPlayType,resolvedAt:this._lastPlayResolvedAt,rejectedAt:this._lastPlayRejectedAt}}},{key:'playerColor',value:function(e){var t=this;return null==e?this._attrs.playerColor:(this.info('playerColor',e),this.embedded(function(){var n=t._attrs.playerColor;e=w['default'].Player._sanePlayerColor(e),t._attrs.playerColor=new w['default'].Color(e).toHex(),n!==t._attrs.playerColor&&t.trigger('playercolorchange',t._attrs.playerColor,n)}),this)}}
1,{key:'playerBackgroundColor',value:function(e){if(null!=e){this.info('playerBackgroundColor',e);var t=this._attrs.playerBackgroundColor;return this._attrs.playerBackgroundColor=new w['default'].Color(e).toHex(),t!==this._attrs.playerBackgroundColor&&this.trigger('playerbackgroundcolorchange',this._attrs.playerBackgroundColor,t),this}return this._attrs.playerBackgroundColor}},{key:'width',value:function(e){var n=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==e?y(_(t.prototype),'width',this).call(this,e,o):o.fullscreen||!this.inFullscreen()?y(_(t.prototype),'width',this).call(this,e,o):(this.info('notFullscreen => width('.concat(e,')')),this.notFullscreen(function(){y(_(t.prototype),'width',n).call(n,e,o)}),this)}},{key:'height',value:function(e){var n=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==e?y(_(t.prototype),'height',this).call(this,e,o):o.fullscreen||!this.inFullscreen()?y(_(t.prototype),'height',this).call(this,e,o):(this.info('notFullscreen => height('.concat(e,')')),this.notFullscreen(function(){y(_(t.prototype),'height',n).call(n,e,o)}),this)}},{key:'videoWidth',value:function(e){var n=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==e?y(_(t.prototype),'videoWidth',this).call(this,e,o):o.fullscreen||!this.inFullscreen()?y(_(t.prototype),'videoWidth',this).call(this,e,o):(this.info('notFullscreen => videoWidth('.concat(e,')')),this.notFullscreen(function(){y(_(t.prototype),'videoWidth',n).call(n,e,o)}),this)}},{key:'videoHeight',value:function(e){var n=this,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==e?y(_(t.prototype),'videoHeight',this).call(this,e,o):o.fullscreen||!this.inFullscreen()?y(_(t.prototype),'videoHeight',this).call(this,e,o):(this.info('notFullscreen => videoHeight('.concat(e,')')),this.notFullscreen(function(){y(_(t.prototype),'videoHeight',n).call(n,e,o)}),this)}},{key:'playbackRate',value:function(e){var t=this;return null==e?this.engine?this.engine.getPlaybackRate():1:(this.initEngineAfterEmbedded(),this.ready(function(){t.info('playbackRate',e);var n=parseFloat(e);if(isNaN(n))return t.error('playbackRate: Invalid argument "#{rate}" given. Expected a float.'),t;e=n;var o=t.engine.getPlaybackRate();t.engine.setPlaybackRate(e),t._eventLoopDuration=Math.max(50,Math.min(500,t._baseEventLoopDuration/e)),t._playbackRate=e,o!==t._playbackRate&&t.trigger('playbackratechange',t._playbackRate)}),this)}},{key:'trim',value:function(e){var t=this;return null==e?this.engine.getTrim():void this.embedded(function(){w['default'].obj.equalsDeep(e,t.engine.getTrim())||(t.engine.setTrim(e),t.trigger('trimchange',e))})}},{key:'captureCurrentFrame',value:function(){var e;return(e=this.engine).captureCurrentFrame.apply(e,arguments)}},{key:'getReportAProblemData',value:function(){var e=this,t=function(e){try{return e()}catch(t){return'threw exception: '.concat(t.message)}},n=Ae(this.publicApi._opts),o=this.publicApi._optionSources();Object.keys(o).forEach(function(e){o[e]=Ae(o[e])});var i={media_key:this._mediaData.mediaKey,account_key:this._mediaData.accountKey,visitor_key:this.visitorKey(),event_key:this.eventKey(),referrer:document.referrer,page_url:location.href,extra_data:{first_1000_logs:w['default'].wlog.first1000LogLines(),last_1000_logs:w['default'].wlog.last1000LogLines(),browser_time:new Date,option_sources:t(function(){return o}),embed_options:n,active_plugins:t(function(){return Object.keys(e.publicApi.plugin)}),assets:this._mediaData.assets,selectedAsset:this.engine.selectedAsset(),attrs:this._attrs,assetOptions:t(function(){return e.assetOptions()}),isScreencast:t(function(){return e.isScreencast()}),judy:t(function(){return ie.report(e.publicApi.judyCtx(),e._mediaData,e._opts)}),detect:w['default'].detect,engineDiagnostics:t(function(){return e.engine.diagnosticData()})}};for(var a in this.publicApi.plugin)if('vulcanVideo'!=a){var r=this.publicApi.plugin[a];'function'==typeof r.getReportAProblemData&&(i.extra_data[a]=r.getReportAProblemData())}return i}},{key:'isKeyboardFocused',value:function(e){return null!=e&&(this._isKeyboardFocused=e),this._isKeyboardFocused}},{key:'setControlEnabled',value:function(e,t){var n=this,o=this.isControlEnabled(e)!==t;this._enabledControls[e]=t;var i=function(){t?n.trigger('controlenabled',e):n.trigger('controldisabled',e)};return o?this.embedded()?this.renderUI().then(i):new se(function(e){n.embedded(e),i()}):this.ui&&this.ui.lastRenderPromise||se.resolve()}},{key:'isControlDisabled',value:function(e){var t=w['default']._controlDefinitions[e];return!!(t&&t.isVideoChrome&&this._opts.chromeless)||!1===this._enabledControls[e]}},{key:'isControlEnabled',value:function(e){return!1!==this._enabledControls[e]&&null!=this.publicApi.controls[e]}},{key:'whenControlMounted',value:function(e){var t=this;return new se(function(n){t.embedded(function(){t.behaviors.ui.whenControlMounted(e).then(n)})})}},{key:'getControl',value:function(e){return this.ui&&this.ui.controls&&this.ui.controls[e]}},{key:'enterInputContext',value:function(e){var t=this._playerContext.
1indexOf(e);0<t&&this._playerContext.splice(t,1),(-1===t||0<t)&&(this._playerContext.unshift(e),this.trigger('inputcontextchange',e))}},{key:'exitInputContext',value:function(e){var t=this.getInputContext(),n=this._playerContext.indexOf(e);this._playerContext.splice(n,1);var o=this.getInputContext();t!==o&&this.trigger('inputcontextchange',o)}},{key:'getInputContext',value:function(){return this._playerContext[0]}},{key:'getMediaElement',value:function(){return this.engine&&this.engine.getMediaElement()}},{key:'getMediaType',value:function(){return this.engine&&this.engine.getMediaType()}},{key:'whenVideoElementInDom',value:function(){var e=this;return this._whenVideoElementInDom?this._whenVideoElementInDom:this.engine?se.resolve(this.getMediaElement()):this._whenVideoElementInDom=new se(function(t){e.bind('engine-initialized',function(){return t(e.getMediaElement()),e.unbind})})}},{key:'inSilentPlaybackMode',value:function(){return!!this._inSilentPlaybackMode}},{key:'checkForReady',value:function(){this.behaviors.embed.checkForReady()}},{key:'loadOverlayCode',value:function(){var e=this,t=new w['default'].StopGo;return this.behaviors.overlays?t.go():w['default'].asyncRequire('vulcanV2Player/behaviors/OverlaysBehavior.js').then(function(n){e.behaviors.overlays||e.addBehavior(n),t.go()}),t}},{key:'defineOverlay',value:function(e,t){this.loadOverlayCode(),this._overlays[e]=t}},{key:'requestOverlay',value:function(e){var t=this;return this.loadOverlayCode().then(function(){return t.behaviors.overlays.requestOverlay(e)})}},{key:'cancelOverlay',value:function(e){var t=this;return this.loadOverlayCode().then(function(){return t.behaviors.overlays.cancelOverlay(e)})}},{key:'undefineOverlay',value:function(e){var t=this;return this.loadOverlayCode().then(function(){return t.behaviors.overlays.undefineOverlay(e)})}},{key:'getOverlays',value:function(){return this._overlays}},{key:'layout',value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return null==e?this._layout:void(this.whenVideoElementInDom().then(function(){t.engine.setLayout(e,n)}),this._layout=e)}},{key:'focus',value:function(){this.isAudio()||this.whenControlMounted('backgroundFocus').then(function(e){e.focus()})}},{key:'_inNativeMode',value:function(){var e;return(null===(e=this.behaviors.ui)||void 0===e?void 0:e.inNativeMode())||!1}},{key:'_bandwidthTest',value:function(){return this.behaviors.bandwidthTest.bandwidthTest()}},{key:'_mozillaAtEnd',value:function(){return this.behaviors.relayEvents.mozillaAtEnd()}},{key:'_focusNextVisibleElem',value:function(){return this.behaviors.ui.focusNextVisibleElem()}},{key:'isNewLook',value:function(){return!1!==this._opts.newLook}},{key:'openTabMenu',value:function(){this.isAudio()&&this.ui.openTabMenu()}},{key:'closeTabMenu',value:function(){this.isAudio()&&this.ui.closeTabMenu()}},{key:'openShareTab',value:function(){var e=this;this.isAudio()&&this.whenControlMounted('shareTab').then(function(t){e.ui.setSelectedTab(t.constructor.handle),e.openTabMenu()})}}]),t}(me);w['default'].VulcanV2Player=he,w['default'].plugin('vulcanV2Player',function(){w['default'].info('vulcanV2Player no-op plugin executed')});var fe=function(){return ue()?'user-event':'non-user-event'},Ae=function(e){var t=pe.clone(e);return t.container&&(t.container='removed to avoid circular'),t}}t['default']=w['default'].VulcanV2Player},561:function(e,t,n){'use strict';n.r(t);var o=n(119),i=n(562),a=n(409),r=n(203),l=n(554),s=n(10);Object(s.registerWLib)('vulcanV2Player/CustomEventsWrapper',r['default']),Object(s.registerWLib)('vulcanV2Player/shouldShowAsBeforePlay',l['default']),Object(s.registerWLib)('vulcanV2Player/ui_components/BigPlayButton',i['default']),Object(s.registerWLib)('vulcanV2Player/ui_components/ProgressiveThumbnail',a['default']),Object(s.registerWLib)('vulcanV2Player/ui_components/svg_boilerplate',o)},562:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(119),b=n(563),_=n(40);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=f['default'].lib('player/translations'),k=v.getTranslation,w=f['default'].lib('player/lib/overpassFontFamily'),C=w.overpassNumbers,S=f['default'].lib('preact'),P=S.h,h=S.render,B=S.Component,E=f['default'].lib('utilities/color'),T=f['default'].lib('utilities/core'),x=T.unescapeHtml,M=f['default'].lib('utilities/duration'),D=M.flexibleDuration,I=f['default'].lib('utilities/detect'),O=I.cachedDetect,F=O(),L=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'onMouseEnter',function(){o.setState({isHovering:!0})}),m(u(o),'onMouseLeave',function(){o.setState({isHovering:!1})}),m(u(o),'onFocusIn',function(){o.setState({isHovering:!0})}),m(u(o),'onFocusOut',function(){o.setState({isHovering:!1})}),o.state={isHovering:!1},o}y(t,e);var n=s(t);return l(t,[{key:'render',value:function(){var e=this.props,t=e.baseHeight,n=e.baseWidth,o=e.elemRef,a=e.scale,r=Object(A.standardSvgAttrs)(n,t);return r.style.position='absolute',r.style.height=''.concat(t*a,'px'),P('div',{class:'w-bpb-wrapper w-css-reset w-css-reset-tree',ref:o,style:this.wrapperStyle()},P('button',{class:'w-big-play-button w-css-reset-button-important w-vulcan-v2-button',style:this.buttonStyle(),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onfocusin:this.onFocusIn,onfocusout:this.onFocusOut,"aria-label":''.concat(this.translate('TITLE_WHEN_NOT_PLAYING'),': ').concat(x(this.props.videoName)),tabIndex:this.props.buttonTabIndex},P('div',{style:this.blendStyle()}),P('div',{style:this.overlayStyle()}),P('svg',i({},r,{alt:''}),P('rect',{"fill-rule":'evenodd',"clip-rule":'evenodd',fill:'none',width:n,height:t}),P('polygon',{"fill-rule":'evenodd',"clip-rule":'evenodd',fill:'#FFFFFF',points:'53,22 53,58 79,40'}))),this.props.showBpbTime?P('div',{class:'w-bpb-time',style:this.timeStyle()},D(this.props.duration)):null)}},{key:'translate',value:function(e){return k(this.props.playerLanguage.code,'PLAY_BUTTON_'.concat(e))}},{key:'wrapperStyle',value:function(){var e=this.props,t=e.baseHeight,n=e.baseWidth,o=e.isVisible,i=e.leftNudgeFraction,a=e.topNudgeFraction,r=e.scale;return{display:o?'block':'none',left:'calc(50% + '.concat(100*(i||0),'%)'),marginLeft:'-'.concat(n*r/2,'px'),marginTop:'-'.concat(t*r/2,'px'),position:'absolute',top:'calc(50% + '.concat(100*(a||0),'%)')}}},{key:'shouldMixBlendMode',value:function(){var e=this.props.noMixBlendMode;return!F.trident&&!F.edge&&!e}},{key:'blendStyle',value:function(){var e=this.props,t=e.baseHeight,n=e.baseWidth,o=e.color,i=e.newLook,a=e.scale,r=new E(o||'#000').alpha(1);return{background:r.toRgba(),display:i&&this.shouldMixBlendMode()?'block':'none',left:0,height:''.concat(t*a,'px'),mixBlendMode:'darken',position:'absolute',top:0,width:''.concat(n*a,'px')}}},{key:'overlayStyle',value:function(){var e=this.props,t=e.baseHeight,n=e.baseWidth,o=e.color,i=e.newLook,a=e.scale,r=this.state.isHovering,l=new E(o||'#000');return i?(l.alpha(.7),!this.shouldMixBlendMode()&&l.alpha(.85),r&&l.lighten(30)):(l.alpha(.8),r&&l.lighten(30)),{backgroundColor:l.toRgba(),height:''.concat(t*a,'px'),left:0,position:'absolute',top:0,transition:'background-color '.concat(i?150:0,'ms'),width:''.concat(n*a,'px')}}},{key:'buttonStyle',value:function(){var e=this.props,t=e.scale,n=e.baseHeight,o=e.baseWidth;return{cursor:'pointer',height:''.concat(n*t,'px'),boxShadow:this.state.isKeyboardFocused?'0 0 0 2px #fff inset':'none',width:''.concat(o*t,'px')}}},{key:'timeStyle',value:function(){var e=this.props,t=e.scale,n=e.newLook;return{background:'rgba(0,0,0,.4)',color:'#fff',fontFamily:n?_.interNumbersSemiBold:C,fontSize:''.concat(18*t,'px'),lineHeight:''.concat(30*t,'px'),pointerEvents:'none',textAlign:'center'}}}]),t}(B);t['default']=Object(b['default'])(L)},563:function(e,t,n){'use strict';n.r(t);var m=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=m['default'].lib('preact'),A=f.h,h=f.render,b=f.Component,_=m['default'].lib('player/lib/elem'),v=_.elemBind;t['default']=function(e){var t;return t=function(t){function n(){var t;i(this,n);for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return t=o.call.apply(o,[this].concat(a)),g(d(t),'onClick',function(n){var e=t.props.onClick;e&&e(n)}),t}c(n,t);var o=l(n);return r(n,[{key:'render',value:function(){return A(e,this.props)}},{key:'componentDidMount',value:function(){this.setupBindings()}},{key:'componentDidUpdate',value:function(){this.destroyBindings(),this.setupBindings()}},{key:'componentWillUnmount',value:function(){this.destroyBindings()}},{key:'setupBindings',value:function(){this.unbinds=[],this.unbinds.push(v(this.base,'click',this.onClick))}},{key:'destroyBindings',value:function(){this.unbinds&&(this.unbinds.map(function(e){return e()}),this.unbinds=null)}}]),n}(b),t}},564:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(565),b=n(566),_=n(117),v=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=f['default'].lib('preact'),w=k.h,h=k.render,C=f['default'].lib('player/translations'),S=C.getTranslation,P=C.defineTranslations,B=f['default'].lib('promiscuous');P('en-US',{AUDIO_DESCRIPTION_HIDE_MENU:'Hide audio description menu',AUDIO_DESCRIPTION_SHOW_MENU:'Show audio description menu'});var E=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'onClickTrack',function(e){var t=o.video.engine.getCurrentAudioTrack().id;+t!==+e&&o.video.changeAudioTrack(e)}),o.video=e,o.unbinds.push(e.on('playerlanguagechange',function(){o.menuElem&&o.renderMenu()}),e.on('audiostreamchange',function(){o.menuElem&&o.renderMenu()})),o}y(t,e);var n=s(t);return l(t,[{key:'controlDialogOpened',value:function(){this.updateButtonLabel()}},{key:'controlDialogClosed',value:function(){this.updateButtonLabel()}},{key:'destroy',value:function(){Object(v.destroyControl)(this)}},{key:'mountButton',value:function(e){this.buttonRoot=e,this.renderButton()}},{key:'mountDialog',value:function(e){var t=this;this.dialogRoot=e;var n=f['default'].asyncRequire(['overpassFontFace.js']).then(function(){t.renderMenu()});return this.loading(new B(function(e){n.then(e)})),n}},{key:'onControlPropsUpdated',value:function(e){this.dialog&&this.dialog.isOpen()&&this.renderMenu(),e.playerLanguage&&this.props.playerLanguage.code!==e.playerLanguage.code&&(this.renderButton(),this.renderMenu())}},{key:'renderButton',value:function(){this.updateButtonLabel(),h(w(A['default'],null),this.buttonRoot),this.reactMounts.button=[this.buttonRoot]}},{key:'renderMenu',value:function(){var e=this;if(this.dialog.isOpen()&&this.dialogRoot){var t=this.video.engine.getAudioTracks();h(w(b['default'],i({},this.props,{elemRef:function(t){return e.menuElem=t},onClick:this.onClickTrack,scale:this.props.scale,tracks:t})),this.dialogRoot),this.reactMounts.menu=[this.dialogRoot]}}},{key:'updateButtonLabel',value:function(){this.dialog&&(this.dialog.isOpen()?this.setButtonLabel(this.translate('HIDE_MENU')):this.setButtonLabel(this.translate('SHOW_MENU')))}},{key:'translate',value:function(e){return S(this.props.playerLanguage.code,'AUDIO_DESCRIPTION_'.concat(e))}}]),t}(_['default']);E.shouldMount=function(e){return!!(!1!==e._opts.audioDescriptionIsRequired&&e._impl&&1<e._impl.getAudioTracks().length)},E.handle='audioDescriptionButton',E.type='control-bar-right',E.sortValue=51,E.isVideoChrome=!0,f['default'].defineControl(E),f['default'].AudioDescriptionControl
1=E;t['default']=E},565:function(e,t,n){'use strict';n.r(t);var b=n(2),_=n(119);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function r(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?a(Object(t),!0).forEach(function(n){l(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function d(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function u(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),e}function p(e){return function(){var t,n=m(e);if(g()){var o=m(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return c(this,t)}}function c(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:y(e)}function y(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function g(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function f(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}}),t&&A(e,t)}function A(e,t){return A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},A(e,t)}var v=b['default'].lib('preact'),k=v.h,h=v.render,w=v.Component,C=function(e){function t(){return s(this,t),n.apply(this,arguments)}f(t,e);var n=p(t);return u(t,[{key:'shouldComponentUpdate',value:function(){return!1}},{key:'render',value:function(){var e={fill:'none',stroke:'#ffffff',"stroke-width":'1.8',"stroke-linecap":'round'},t=r({},e,{"stroke-linejoin":'round'});return k('svg',i({},Object(_.standardSvgAttrs)(40,34),{onMouseEnter:this.props.onMouseEnter}),k('g',t,k('path',{d:'M19.6,14.5c2.2,0,3,1.4,3,2.8c0,1.3-0.7,2.8-3,2.8h-1.5v-5.6H19.6z'}),k('polyline',{points:'9.9,20.1 12.5,14.5 14.9,20.1 \t\t\t'}),k('path',{d:'M10.4,18.9h4'})),k('g',e,k('path',{d:'M27.4,24.7c2.2-2.1,3.2-4.9,3.2-7.4c0-2.7-1-5.3-3.2-7.4'}),k('path',{d:'M24.5,12.8c1.4,1.2,2,2.8,2,4.5c0,1.6-0.5,3.3-2,4.5'})))}}]),t}(w);t['default']=C},566:function(e,t,n){'use strict';n.r(t);var f=n(119),A=n(2),b=n(203),_=n(204);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){'@babel/helpers - typeof';return i='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},i(e)}function a(){return a=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},a.apply(this,arguments)}function r(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function l(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function d(e){return function(){var t,n=y(e);if(c()){var o=y(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return u(this,t)}}function u(e,t){return t&&('object'===i(t)||'function'==typeof t)?t:p(e)}function p(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function c(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function g(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}}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}var v=A['default'].lib('preact'),k=v.h,h=v.render,w=v.Component,C=A['default'].lib('player/translations'),S=C.getTranslation,P=C.defineTranslations,B=A['default'].lib('player/lib/overpassFontFamily'),E=B.overpassFontFamily,T=A['default'].lib('utilities/isMouseDown'),x=T.isMouseDown;P('en-US',{AUDIO_DESCRIPTION_OFF:'Off'});var M=function(e){function t(){return r(this,t),n.apply(this,arguments)}g(t,e);var n=d(t);return s(t,[{key:'render',value:function(){var e=this;return k('div',null,k('fieldset',{style:{border:0,padding:0,margin:0}},k(_['default'],{tagName:'legend'},'Audio Description Menu'),this.props.tracks.map(function(t){return k(D,a({},e.props,{track:t}))})))}}]),t}(w),D=function(e){function t(){var e;r(this,t);for(var i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];return e=n.call.apply(n,[this].concat(a)),o(p(e),'onBlur',function(){e.state.isKeyboardFocused&&e.setState({isKeyboardFocused:!1})}),o(p(e),'onClick',function(){e.props.onClick(e.props.track.id)}),o(p(e),'onFocus',function(){x()||e.setState({isKeyboardFocused:!0})}),o(p(e),'onMouseEnter',function(){e.setState({isHovering:!0})}),o(p(e),'onMouseLeave',function(){e.setState({isHovering:!1})}),e}g(t,e);var n=d(t);return s(t,[{key:'checkStyle',value:function(){return{height:L(this),verticalAlign:'middle',visibility:this.props.track.isSelected?'visible':'hidden',width:O(this)}}},{key:'menuItemStyle',value:function(){return{background:this.state.isHovering?'rgba(0,0,0,.3)':'',boxShadow:this.state.isKeyboardFocused?'0 0 0 2px #fff inset':'none',display:'block',fontFamily:E,fontSize:R(this),lineHeight:L(this),marginRight:''.concat(10*this.props.scale,'px'),textAlign:'left',width:'100%'}}},{key:'translate',value:function(e){return S(this.props.playerLanguage.code,'AUDIO_DESCRIPTION_'.concat(e))}},{key:'render',value:function(){var e=this.props,t=e.track,n=e.elemRef,o=t.label;'Original'===o&&(o=this.translate('OFF'));var i='AD-'.concat(o,'+').concat(t.id);return k('div',{onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,ref:n,style:this.menuItemStyle()},k(_['default'],{checked:!!t.isSelected,id:i,name:'Audio Description Menu',onBlur:this.onBlur,onClick:this.onClick,onFocus:this.onFocus,tagName:'input',type:'radio',value:o}),k('label',{class:'w-css-reset',for:i},k('svg',a({},Object(f.standardSvgAttrs)(40,34),{class:'w-checkmark',style:this.checkStyle()}),k('polyline',{fill:'none',stroke:'#ffffff',"stroke-width":'2',"stroke-linecap":'round',"stroke-linejoin":'round',"stroke-miterlimit":'10',points:'17,17 20,20 25,14 '})),o))}}]),t}(w),I=function(e){return 40*e.props.scale},O=function(e){return''.concat(I(e),'px')},F=function(e){return 34*e.props.scale},L=function(e){return''.concat(F(e),'px')},R=function(e){return 14*e.props.scale};t['default']=M},567:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(117),A=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=m['default'].lib('preact'),_=b.h,h=b.render,v=m['default'].lib('player/translations'),k=v.getTranslation,w=v.defineTranslations,C=m['default'].lib('utilities/detect'),S=C.cachedDetect,P=S();w('en-US',{BACKGROUND_FOCUS_SHOW_CONTROLS:'Show controls'});var B=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'onControlPropsUpdated',function(e){var t=o.props.isFocusable;e.isFocusable!=t&&t&&o._focusImmediately&&(o.el.focus(),o._focusImmediately=!1)}),g(d(o),'focus',function(){o.props.isFocusable?o.el.focus():o._focusImmediately=!0}),g(d(o),'onBlur',function(){o.video.controls.focusOutline.hide()}),g(d(o),'onFocus',function(){!0===o.video.isKeyboardFocused()&&o.video.controls.focusOutline.show()}),g(d(o),'render',function(){h(_('button',{ref:function(e){return o.el=e},"aria-label":o.getTranslation(),class:'w-css-reset w-vulcan-v2-button',onBlur:o.onBlur,onFocus:o.onFocus,style:o.style(),tabIndex:0}),o.rootElem),o.reactMounts=[o.rootElem]}),o.video=e,o._focusImmediately=!1,o.unbinds.push(o.video.on('play',o.render),o.video.on('pause',o.render),o.video.on('end',o.render)),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(A.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e,this.render()}},{key:'style',value:function(){return{width:0,height:0,pointerEvents:'none'}}},{key:'getTranslation',value:function(){return P.touchScreen&&!this.props.chromeless?this.translate('BACKGROUND_FOCUS_SHOW_CONTROLS'):'playing'===this.video.state()?this.translate('PLAY_BUTTON_TITLE_WHEN_PLAYING'):this.translate('PLAY_BUTTON_TITLE_WHEN_NOT_PLAYING')}},{key:'translate',value:function(e){return k(this.props.playerLanguage.code,e)}}]),t}(f['default']);B.shouldMount=function(){return!0},B.handle='backgroundFocus',B.type='background',B.sortValue=100,m['default'].defineControl(B);t['default']=B},568:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(117),A=n(562),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=m['default'].lib('player/lib/fit-control'),v=_.controlMultiplierBasedOnVideo,k=m['default'].lib('preact'),w=k.h,h=k.render,C=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'renderButton',function(){o.__destroyed||(h(w(A['default'],{baseHeight:80,baseWidth:125,color:o.video.playerColor(),duration:o.video.duration(),elemRef:function(e){return o.buttonElem=e},isVisible:o.shouldShow(),leftNudgeFraction:o.getLeftNudgeFraction(),newLook:o.props.newLook,noMixBlendMode:o.video.embedOptions().noMixBlendMode,onClick:o.onClick,playerLanguage:o.props.playerLanguage,scale:o.scale(),showBpbTime:o._timeEnabled,topNudgeFraction:o.getTopNudgeFraction(),videoHeight:o.props.videoHeight-.75*o.props.controlBarHeight,videoName:o.video.name()||'',videoWidth:o.props.videoWidth}),o.rootElem),o.reactMounts=[o.rootElem])}),g(d(o),'onClick',function(){o.video.play(),o.video.focus()}),o.unbinds.push(e.on('playercolorchange',o.renderButton),e.on('play',o.renderButton),e.on('playrejected',o.renderButton),e.on('playpending',o.renderButton),e.on('playerlanguagechange',o.renderButton),e.on('end',o.renderButton),e.on('up',o.renderButton),e.on('trimchange',o.renderButton)),o._timeEnabled=o.video._opts.bpbTime,o}c(t,e);var n=l(t);return r(t,[{key:'mount',value:function(e){this.rootElem=e,this.renderButton()}},{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'onControlPropsUpdated',value:function(e){(this.props.videoWidth!==e.videoWidth||this.props.videoHeight!==e.videoHeight)&&this.renderButton()}},{key:'shouldShow',value:function(){var e=this.video;return!1===e.lastPlayInfo().isPending&&('beforeplay'===e.state()||'ended'===e.state()&&'reset'===e._opts.endVideoBehavior)}},{key:'scale',value:function(){return Math.min(1.3,Math.max(.3,v(this.video,[640,960])))}},{key:'setTimeEnabled',value:function(e){this._timeEnabled=e,this.renderButton()}},{key:'setLeftNudgeFraction',value:function(e){this._leftNudgeFraction=e,this.renderButton()}},{key:'setTopNudgeFraction',value:function(e){this._topNudgeFraction=e,this.renderButton()}},{key:'getLeftNudgeFraction',value:function(){return null==this._leftNudgeFraction?this.video._opts.bpbLeftNudge:this._leftNudgeFraction}},{key:'getTopNudgeFraction',value:function(){return null==this._topNudgeFraction?this.video._opts.bpbTopNudge:this._topNudgeFraction}},{key:'getButtonOffsets',value:function(){var e=this.buttonElem,t=e.offsetHeight,n=e.offsetTop;return{offsetHeight:t,offsetTop:n}}}]),t}(f['default']);C.shouldMount=function(e){var t=e._opts.playButton;return null==t||!0===t},C.handle='bigPlayButton',C.type='above-control-bar',m['default'].defineControl(C);t['default']=C}
1,569:function(e,t,n){'use strict';n.r(t);var m=n(203),f=n(2),A=n(117),b=n(418),_=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=f['default'].lib('preact'),k=v.h,h=v.render,w=f['default'].lib('player/lib/fit-control'),C=w.controlMultiplierBasedOnVideo,S=f['default'].lib('player/translations'),P=S.getTranslation,B=f['default'].lib('utilities/detect'),E=B.cachedDetect,T=E(),x=function(e){var t=e.anyDialogOpen,n=e.controlsAreVisible,o=e.newLook;return n&&(!o||!t)},M=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'renderWithFade',function(){return'beforeplay'===o.video.state()?void 0:o.ignoreNextRender?void(o.ignoreNextRender=!1):void(o.renderButton(),clearTimeout(o.displayTimeout),o.displayTimeout=x(o.props)?setTimeout(function(){o.isDisplayNone=!1,o.renderButton()},1):setTimeout(function(){o.isDisplayNone=!0,o.renderButton()},200))}),g(d(o),'onClick',function(){o.togglePlay()}),o.unbinds.push(e.on('play',o.renderWithFade),e.on('pause',o.renderWithFade)),o.isDisplayNone='beforeplay'===e.state(),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(_.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e,this.renderButton()}},{key:'renderButton',value:function(){return this.props.newLook?this.renderButtonNewLook():this.renderButtonOldLook()}},{key:'renderButtonOldLook',value:function(){var e='playing'===this.video.state();h(k(m['default'],{"aria-label":e?this.translate('TITLE_WHEN_PLAYING'):this.translate('TITLE_WHEN_NOT_PLAYING'),tagName:'button',class:'w-centered-play-pause-toggler w-vulcan-v2-button',onClick:this.onClick,style:this.oldRootStyle()},k(b['default'],{isPlaying:'playing'===this.video.state(),svgStyle:this.svgStyle(),noPadding:!0})),this.rootElem),this.reactMounts=[this.rootElem]}},{key:'renderButtonNewLook',value:function(){var e='playing'===this.video.state();this.iconElem=h(k(m['default'],{"aria-label":e?this.translate('TITLE_WHEN_PLAYING'):this.translate('TITLE_WHEN_NOT_PLAYING'),tagName:'button',class:'w-centered-play-pause-toggler w-vulcan-v2-button',onClick:this.onClick,style:this.rootStyle()},k('div',{style:this.graphicStyle()},k(b['default'],{isPlaying:'playing'===this.video.state(),svgStyle:this.svgStyle(),noPadding:!0}))),this.rootElem,this.iconElem),this.reactMounts=[this.rootElem,this.iconElem]}},{key:'onControlPropsUpdated',value:function(e){x(e)!==x(this.props)&&this.renderWithFade(),e.videoWidth!==this.props.videoWidth&&this.renderButton()}},{key:'graphicStyle',value:function(){var e=this.scale(),t='playing'===this.video.state(),n=t?72:80,o=t?60:50;return{height:''.concat(n*e,'px'),left:'50%',pointerEvents:'none',position:'absolute',top:'50%',transform:'translate(-'.concat(t?50:38,'%, -').concat(t?50:47,'%) scale(').concat(t?.75:.9,')'),width:''.concat(o*e,'px')}}},{key:'oldRootStyle',value:function(){var e=this.scale(),t='playing'===this.video.state(),n=t?72:80,o=t?60:63.5;return{background:'transparent',border:0,display:this.isDisplayNone?'none':'block',height:''.concat(n*e,'px'),left:'50%',margin:0,padding:'5px 20px',position:'absolute',opacity:x(this.props)?.7:0,outline:'none',top:'50%',transform:'translate(-'.concat(t?44.45:42,'%, -50%)'),transition:'opacity 200ms',webkitTapHighlightColor:'rgba(0,0,0,0)',width:''.concat(o*e,'px')}}},{key:'rootStyle',value:function(){var e=this.scale();return{background:'rgba(0,0,0,.6)',border:0,borderRadius:'50%',cursor:'pointer',display:this.isDisplayNone?'none':'block',height:''.concat(140*e,'px'),left:'50%',margin:0,padding:0,position:'absolute',opacity:x(this.props)?1:0,outline:'none',top:'50%',transform:'translate(-50%, -50%) scale(.8)',transition:'opacity 200ms',webkitTapHighlightColor:'rgba(0,0,0,0)',width:''.concat(140*e,'px')}}},{key:'togglePlay',value:function(){var e=this.video;'playing'===e.state()?e.pause():e.play()}},{key:'translate',value:function(e){return P(this.props.playerLanguage.code,'PLAY_BUTTON_'.concat(e))}},{key:'svgStyle',value:function(){return{filter:'drop-shadow(0px 0px 3px rgba(0,0,0,0.5))'}}},{key:'scale',value:function(){return Math.min(1.3,Math.max(.3,C(this.video,[640,960])))}}]),t}(A['default']);M.shouldMount=function(e){return T.touchScreen&&!e.embedOptions().newLook},M.handle='centeredPlayPauseToggler',M.type='above-control-bar',f['default'].defineControl(M);t['default']=M},57:function(e,t,n){'use strict';n.r(t);n.d(t,'deleteViewerPreferences',function(){return i});n.d(t,'getViewerPreferences',function(){return r});n.d(t,'setViewerPreference',function(){return l});var o=n(47),i=function(){Object(o.removeLocalStorage)(a())},a=function(){return'wistia-viewer-preferences'},r=function(){return Object(o.getLocalStorage)(a())},l=function(e,t){Object(o.updateLocalStorage)(a(),function(n){n[e]=t})}},570:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(117),b=n(571),_=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=f['default'].lib('preact'),k=v.h,h=v.render,w=f['default'].lib('utilities/bindify'),C=w.bindify,S=f['default'].lib('utilities/isMouseDown'),P=S.isMouseDown,B=f['default'].lib('player/translations'),E=B.getTranslation,T=B.defineTranslations,x=f['default'].lib('utilities/detect'),M=x.cachedDetect,D=f['default'].lib('promiscuous'),I=M();T('en-US',{CLICK_FOR_SOUND_DESKTOP_TEXT:'Click for sound',CLICK_FOR_SOUND_MOBILE_TEXT:'Tap for sound'});var O=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'renderButton',function(){var e=!!o.video._opts.silentAutoPlayIsChromeless,t=o.isVisible();e&&(t?o.video.requestChromeless('clickForSound'):o.video.releaseChromeless('clickForSound')),o.video.trigger('clickforsoundvisibilitychange',t);var n;if(t){var a=new D(function(e){return setTimeout(e,1e3)});n=D.race([a,f['default'].asyncRequire('overpassFontFace.js')])}else n=D.resolve();o.lastRenderPromise||(o.lastRenderPromise=D.resolve()),o.lastRenderPromise.then(function(){o.lastRenderPromise=new D(function(e){n.then(function(){h(k(b['default'],i({},o.props,{backdropEnabled:o.getSilentAutoplayBackdropState(),buttonText:o.buttonText(),elemRef:function(e){return o.buttonRoot=e},isVisible:t,onClick:o.onClick,scale:o.scale()})),o.rootElem),o.reactMounts=[o.rootElem],o.trigger('buttonrootrendered'),e()})})})}),m(u(o),'onClick',function(t){P()||o.video.focus(),o.video.unmute(),o.trigger('click',t)}),o.silentAutoPlayBackdropEnabled=o.video._opts.silentAutoPlayBackdropEnabled,o.unbinds.push(e.on('play',o.renderButton),e.on('silentplaybackmodechange',o.renderButton),e.on('volumechange',o.renderButton)),o}y(t,e);var n=s(t);return l(t,[{key:'destroy',value:function(){Object(_.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e,this.renderButton()}},{key:'onControlPropsUpdated',value:function(e){var t=this.props;(e.scale!==t.scale||e.controlsAreVisible!==t.controlsAreVisible||e.controlBarHeight!==t.controlBarHeight)&&this.renderButton(),e.playerLanguage&&this.props.playerLanguage.code!==e.playerLanguage.code&&this.renderButton()}},{key:'getSilentAutoplayBackdropState',value:function(){return null==this.silentAutoPlayBackdropEnabled||this.silentAutoPlayBackdropEnabled}},{key:'setSilentAutoPlayBackdropEnabled',value:function(e){this.silentAutoPlayBackdropEnabled=e,this.renderButton()}},{key:'isVisible',value:function(){return null==this._isVisible?this.video.inSilentPlaybackMode():this._isVisible}},{key:'setIsVisible',value:function(e){this._isVisible=e,this.renderButton(),this.video.trigger('clickforsoundvisibilitychange',this.isVisible())}},{key:'buttonText',value:function(){return this._buttonText?this._buttonText:I.touchScreen?this.translate('MOBILE_TEXT'):this.translate('DESKTOP_TEXT')}},{key:'setButtonText',value:function(e){this._buttonText=e,this.renderButton()}},{key:'afterButtonRenders',value:function(){var e=this;return new D(function(t){e.bind('buttonrootrendered',function(){return t(e.buttonRoot),e.unbind})})}},{key:'translate',value:function(e){return E(this.props.playerLanguage.code,'CLICK_FOR_SOUND_'.concat(e))}},{key:'scale',value:function(){return 1.5*this.props.scale}}]),t}(A['default']);C(O.prototype),O.handle='clickForSoundButton',O.type='above-control-bar',f['default'].defineControl(O);t['default']=O},571:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(203);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=m['default'].lib('preact'),b=A.h,h=A.render,_=A.Component,v=m['default'].lib('player/lib/overpassFontFamily'),k=v.overpassFontFamily,w=m['default'].lib('utilities/isMouseDown'),C=w.isMouseDown,S=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onFocus',function(){C()||e.setState({isKeyboardFocused:!0})}),g(d(e),'onBlur',function(){e.setState({isKeyboardFocused:!1})}),e}c(t,e);var n=l(t);return r(t,[{key:'render',value:function(){var e=this.props.elemRef;return b(f['default'],{class:'w-css-reset w-css-reset-tree',"data-handle":'click-for-sound-backdrop',elemRef:e,onClick:this.props.onClick,style:this.rootStyle()},b('button',{"aria-label":this.props.buttonText,style:this.buttonStyle(),onFocus:this.onFocus,onBlur:this.onBlur,class:'w-vulcan-v2-button'},b('svg',{viewBox:'0 0 237 237'},b('style',null,this.styleText()),b('polygon',{fill:'white',points:'88 107 65 107 65 131 89 131 112 154 112 84'}),b('g',{fill:'none',stroke:'white',"stroke-width":'10',"stroke-linecap":'round'},b('path',{class:'volume__small-wave',d:'M 142 86 C 151 107 151 130 142 151'}),b('path',{class:'volume__large-wave',d:'M 165 74 C 178 97 178 140 165 163'})))))}},{key:'styleText',value:function(){return'\n @keyframes VOLUME_SMALL_WAVE_FLASH {\n 0% { opacity: 0; }\n 33% { opacity: 1; }\n 66% { opacity: 1; }\n 100% { opacity: 0; }\n }\n\n @keyframes VOLUME_LARGE_WAVE_FLASH {\n 0% { opacity: 0; }\n 33% { opacity: 1; }\n 66% { opacity: 1; }\n 100% { opacity: 0; }\n }\n\n .volume__small-wave {\n animation: VOLUME_SMALL_WAVE_FLASH 2s infinite;\n opacity: 0;\n }\n\n .volume__large-wave {\n animation: VOLUME_LARGE_WAVE_FLASH 2s infinite .3s;\n opacity: 0;\n }\n '}},{key:'rootStyle',value:function(){return{display:this.props.isVisible?'block':'none',height:'100%',left:0,pointerEvents:this.props.backdropEnabled?'auto':'none',position:'absolute',top:0,width:'100%'}}},{key:'buttonStyle',value:function(){var e=this.props.scale;return{background:'rgba(0,0,0,0.8)',border:'2px solid '.concat(this.state.isKeyboardFocused?'#fff':'transparent'),borderRadius:'50%',cursor:'pointer',height:''.concat(35*e,'px'),width:''.concat(35*e,'px'),lineHeight:''.concat(35*e,'px'),outline:'none',pointerEvents:'auto',position:'absolute',right:''.concat(15*e-2,'px'),textAlign:'left',top:''.concat(15*e-2,'px')}}},{key:'textStyle',value:function(){var e=this.props.scale;return{color:'white',display:'inline-block',fontFamily:k,fontSize:''.concat(13*e,'px'),marginLeft:''.concat(-4*e,'px'),marginTop:''.concat(-.75*e,'px'),verticalAlign:'top',whiteSpace:'nowrap',width:'36%'}}}]),t}(_);t['default']=S},572:function(e,t,n){'use strict';n.r(t);var k=n(573),w=n(117),C=n(2),S=n(177),P=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){return d(e)||s(e,t)||r(e,t)||a()}function a(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function r(e,t){if(e){if('string'==typeof e)return l(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function s(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function d(e){if(Array.isArray(e))return e}function u(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function p(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}
1function c(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function y(e){return function(){var t,n=A(e);if(f()){var o=A(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return g(this,t)}}function g(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:m(e)}function m(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function f(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function b(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}}),t&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=C['default'].lib('promiscuous'),E=C['default'].lib('preact'),T=E.h,h=E.render,x=C['default'].lib('player/lib/elem'),M=x.elemBind,D=x.elemIsInside,I=x.elemUnbind,O=C['default'].lib('utilities/detect'),F=O.cachedDetect,L=C['default'].lib('utilities/isMouseDown'),R=L.isMouseDown,H=F(),W=function(e){function t(e){var o;return u(this,t),o=n.call(this,e),v(m(o),'onContextMenu',function(t,e){if(!t.altKey){'contextmenu'===t.type&&t.preventDefault(),o.pageX=t.pageX,o.pageY=t.pageY,o._hasLoaded||o.loading(new B(function(e){o.resolveLoadingPromise=e}),{x:o.pageX,y:o.pageY});var n=new B(function(t){var n=e&&e.isLongPress;!n&&R()?M(document,'mouseup',function(e){return o.pageX=e.pageX,o.pageY=e.pageY,t(),I}):t()});n.then(function(){Object(k.logPromiseErrors)(o.loadContextMenu().then(function(){o.renderMenu&&(o.resolveLoadingPromise(),o.renderMenu(),o.menuElemRef.focus())}))})}}),v(m(o),'onClick',function(e){D(e.target,o.rootElem)||H.safari&&e.ctrlKey||(o.hideMenu?o.hideMenu():!o._hasLoaded&&o.loading(new B(function(e){return e()})))}),v(m(o),'onDocumentMouseUp',function(t){t.ctrlKey||D(t.target,o.rootElem)||(I(document,'mouseup',o.onDocumentMouseUp),o.loadContextMenu().then(function(){o.hideMenu()}))}),H.touchScreen?(o.touchEvents=new S['default'](e.chrome),o.touchEvents.bind('longpress',o.onContextMenu)):o.unbinds.push(M(e.chrome,'contextmenu',o.onContextMenu)),o.unbinds.push(M(e.chrome,'click',o.onClick)),o}b(t,e);var n=y(t);return c(t,[{key:'mount',value:function(e){this.rootElem=e}},{key:'destroy',value:function(){this.touchEvents&&(this.touchEvents.destroy(),this.touchEvents=null),Object(P.destroyControl)(this)}},{key:'onControlPropsUpdated',value:function(e){this.props.playerLanguage!==e.playerLanguage&&this._visible&&this.renderMenu()}},{key:'loadContextMenu',value:function(){var e=this;return C['default'].asyncRequire(['overpassFontFace.js','vulcanV2Player/controls/ContextMenuControl/menu.js']).then(function(t){var n=i(t,2),o=n[0],a=n[1];for(var r in a)e[r]=a[r].bind(e);e._hasLoaded=!0})}}]),t}(w['default']);W.handle='contextMenu',W.type='foreground',C['default'].defineControl(W);t['default']=W},573:function(e,t,n){'use strict';n.r(t);n.d(t,'throwAsync',function(){return o});n.d(t,'logPromiseErrors',function(){return i});var o=function(t){setTimeout(function(){throw t},0)},i=function(e){return e.catch(o)}},574:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(117),A=n(575),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=m['default'].lib('preact'),v=_.h,h=_.render,k=m['default'].lib('player/translations'),w=k.getTranslation,C=k.defineTranslations;C('en-US',{ELLIPSIS_LESS:'Show fewer buttons',ELLIPSIS_MORE:'Show more buttons'});var S=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onClickButton',function(){e.video.ui.isShowingMore()?(e.video.ui.showLess(),e.renderButton()):(e.video.ui.showMore(),e.renderButton())}),e}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'mountButton',value:function(e){this.buttonElem=e,this.renderButton()}},{key:'renderButton',value:function(){h(v(A['default'],null),this.buttonElem),this.setButtonLabel(this.translate(this.video.ui.isShowingMore()?'LESS':'MORE'))}},{key:'translate',value:function(e){return w(this.props.playerLanguage.code,'ELLIPSIS_'.concat(e))}}]),t}(f['default']);S.handle='ellipsisButton',S.isVideoChrome=!0,S.type='ellipsis',S.sortValue=1e5,S.shouldMount=function(e){var t,n,o=e.embedOptions(),i=o.newLook,a=(null===(t=e._impl.ui)||void 0===t?void 0:t.getControlsByType('control-bar-right'))||[],r=(null===(n=e._impl.ui)||void 0===n?void 0:n.getControlsByType('lower-playbar'))||[];return i&&0<a.length&&0<r.length&&e._impl.ui&&!e._impl.ui.shouldShowMoreDefaultValue()},m['default'].defineControl(S)},575:function(e,t,n){'use strict';n.r(t);var r=n(119),l=n(2);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var s=l['default'].lib('preact'),d=s.h,u=s.render,p=function(){function e(){o(this,e)}return a(e,[{key:'shouldComponentUpdate',value:function(){return!1}},{key:'render',value:function(){return d('svg',Object(r.standardSvgAttrs)(40,34),d('circle',{cx:'20',cy:'17',r:'2'}),d('circle',{cx:'13',cy:'17',r:'2'}),d('circle',{cx:'27',cy:'17',r:'2'}))}}]),e}();t['default']=p},576:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(117),f=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}
1function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var A=g['default'].lib('preact'),b=A.h,h=A.render,_=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o.video=e,o._isVisible=!1,o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(f.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e,this.render()}},{key:'hide',value:function(){this._isVisible=!1,this.render()}},{key:'show',value:function(){this._isVisible=!0,this.render()}},{key:'style',value:function(){return{boxShadow:'0 0 0 2px #fff inset',display:this._isVisible?'block':'none',height:'100%',left:0,pointerEvents:'none',position:'absolute',right:0,width:'100%'}}},{key:'render',value:function(){h(b('div',{style:this.style(),class:'w-focus-outline'}),this.rootElem)}}]),t}(m['default']);_.shouldMount=function(){return!0},_.handle='focusOutline',_.type='foreground',_.sortValue=100,g['default'].defineControl(_);t['default']=_},577:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(117),A=n(578),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=m['default'].lib('preact'),v=_.h,h=_.render,k=m['default'].lib('player/translations'),w=k.getTranslation,C=k.defineTranslations,S=m['default'].lib('player/lib/elem'),P=S.elemBind,B=S.formInputIsFocused,E=m['default'].lib('utilities/detect'),T=E.cachedDetect,x=T();C('en-US',{FULLSCREEN_DOUBLE_TAP:'Double-tap to zoom in or out',FULLSCREEN_TITLE_WHEN_IN_FULLSCREEN:'Unfullscreen',FULLSCREEN_TITLE_WHEN_NOT_IN_FULLSCREEN:'Fullscreen'});var M=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'onClickButton',function(){o.toggleFullscreen()}),g(d(o),'onKeyUp',function(t){if(!B()){var e=o.video.getInputContext();('player-mouseover'===e||'player-focus'===e||'playbar-focus'===e)&&t.keyCode===70&&o.toggleFullscreen()}}),o.unbinds.push(e.on('enter-fullscreen',function(){o.renderButton()}),e.on('cancel-fullscreen',function(){o.renderButton()}),P(document,'keyup',o.onKeyUp)),D()||I(o.video)||!O()||(o.mountDialog=o.maybeMountDialog),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'onControlPropsUpdated',value:function(e){e.playerLanguage&&this.props.playerLanguage.code!==e.playerLanguage.code&&(this.renderButton(),this.dialog&&this.dialog.isOpen()&&this.renderDialog())}},{key:'maybeMountDialog',value:function(e){this.dialogElem=e,this.renderDialog()}}
1,{key:'renderDialog',value:function(){this.dialogElem.innerHTML=this.translate('DOUBLE_TAP')}},{key:'mountButton',value:function(e){this.buttonElem=e,this.renderButton()}},{key:'renderButton',value:function(){if(this.buttonElem){var e=this.video.inFullscreen()?this.translate('TITLE_WHEN_IN_FULLSCREEN'):this.translate('TITLE_WHEN_NOT_IN_FULLSCREEN');this.setButtonLabel(e),h(v(A['default'],null),this.buttonElem),this.reactMounts=[this.buttonElem]}}},{key:'translate',value:function(e){return w(this.props.playerLanguage.code,'FULLSCREEN_'.concat(e))}},{key:'toggleFullscreen',value:function(){if(D()||I(this.video)){var e=this.video;e.inFullscreen()?e.cancelFullscreen():e.requestFullscreen()}}}]),t}(f['default']);M.handle='fullscreenButton',M.type='control-bar-right',M.sortValue=1e3,m['default'].defineControl(M);var D=function(){return x.fullscreenEnabled},I=function(e){var t=e._mediaData,n=e._opts,o=(t.spherical||n.spherical)&&!n.overrideSpherical,i=!!t.secondaryMediaData,a=top!==self;return 0<x.ios.version&&(!a||!o&&!i)},O=function(){return 0<x.ios.version||x.android};M.shouldMount=function(e){var t=e._opts.fullscreenButton;return(!0===t||null==t)&&(D()||I(e)||O())};t['default']=M},578:function(e,t,n){'use strict';n.r(t);var m=n(119),f=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var A=f['default'].lib('preact'),b=A.h,h=A.render,_=A.Component,v=function(e){function t(){return a(this,t),n.apply(this,arguments)}y(t,e);var n=s(t);return l(t,[{key:'shouldComponentUpdate',value:function(){return!1}},{key:'render',value:function(){var e={fill:'none',stroke:'#ffffff',"stroke-width":2,"stroke-linecap":'round',"stroke-linejoin":'round',"stroke-miterlimit":10};return b('svg',Object(m.standardSvgAttrs)(40,34),b('g',null,b('g',null,b('polyline',i({},e,{points:'31.4,12.6 31.4,8.7 25.8,8.7'})),b('polyline',i({},e,{points:'14.7,8.7 9.1,8.7 9.1,12.6'})),b('polyline',i({},e,{points:'25.8,24.8 31.4,24.8 31.4,20.9'})),b('polyline',i({},e,{points:'9.1,20.9 9.1,24.8 14.7,24.8'}))),b('rect',i({x:'13.7',y:'12.3'},e,{"enable-background":'new',width:'13.3',height:'8.9'}))))}}]),t}(_);t['default']=v},579:function(e,t,n){'use strict';n.r(t);var m=n(117),f=n(580),A=n(2),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=A['default'].lib('player/lib/elem'),v=_.elemBind,k=_.elemIsInside,w=_.elemUnbind,C=_.formInputIsFocused,S=_.elemOffset,P=A['default'].lib('preact'),B=P.h,h=P.render,E=A['default'].lib('player/translations'),T=E.getTranslation,x=A['default'].lib('utilities/detect'),M=x.cachedDetect,D=M(),I=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'show',function(e){o._isVisible=!0,o.renderMenu(e)}),g(d(o),'hide',function(){o._isVisible=!1,h(B('nothing',null),o.rootElem),o.reactMounts=[o.rootElem]}),o._isVisible=!1,o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e}},{key:'renderMenu',value:function(e){var t=e.x||0,n=e.y||0,o=S(this.video._embedContainer);this._isVisible&&(h(B(f['default'],{videoOffset:o,x:t,y:n}),this.rootElem),this.reactMounts=[this.rootElem])}}]),t}(m['default']);I.handle='loadingHourglass',I.type='foreground',A['default'].defineControl(I);t['default']=I},58:function(e,t,n){'use strict';n.r(t);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var r=/^#?([0-9a-f]{3,4}|[0-9a-f]{6,8})$/i,l=/^rgba?\((\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?)(?:,\s*([01]?\.?\d*))?\)$/,s=/^\d+(\.\d+)*%$/,d=/([0-9a-f])/gi,u=function(e){return s.test(e)?2.55*parseFloat(e):e},c=function(e,t,n){return 0>n&&(n+=1),1<n&&(n-=1),n<1/6?e+6*(t-e)*n:n<1/2?t:n<2/3?e+6*((t-e)*(2/3-n)):e},p=function(){function e(t){o(this,e),t instanceof e?(this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a):t?this.parse(t):(this.r=this.g=this.b=0,this.a=1)}return a(e,[{key:'parse',value:function(e){if(e+='',r.test(e)){var t=e.replace(/^#/,'');(3===t.length||4===t.length)&&(t=t.replace(d,'$1$1')),this.r=parseInt(t.substr(0,2),16),this.g=parseInt(t.substr(2,2),16),this.b=parseInt(t.substr(4,2),16),this.a=8===t.length?parseInt(t.substr(6,2),16)/255:1}else if(l.test(e)){var n=e.match(l);this.r=parseFloat(u(n[1])),this.g=parseFloat(u(n[2])),this.b=parseFloat(u(n[3])),this.a=n[4]?parseFloat(n[4]):1}return this}},{key:'clone',value:function(){return new e(this)}},{key:'_hslFromRgb',value:function(){var e=this.r/255,t=this.g/255,n=this.b/255,o=Math.max(e,t,n),i=Math.min(e,t,n),a=(o+i)/2;o===i&&(this._h=this._s=0);var r,l=o-i;if(0==l)return this._h=0,this._s=0,this._l=100*e,this;r=.5<a?l/(2-o-i):l/(o+i);var s;return s=o===e?(t-n)/l+(t<n?6:0):o===t?(n-e)/l+2:(e-t)/l+4,s/=6,this._h=360*s,this._s=100*r,this._l=100*a,this}},{key:'_rgbFromHsl',value:function(){var e=this._h/360,t=this._s/100,n=this._l/100,o=.5>n?n*(1+t):n+t-n*t,i=2*n-o;return this.r=255*c(i,o,e+1/3),this.g=255*c(i,o,e),this.b=255*c(i,o,e-1/3),this}},{key:'blendChannel',value:function(e,t,n){return this[e]=n*t+(1-n)*this[e],this}},{key:'blend',value:function(t,n){return t=new e(t),this.blendChannel('r',t.r,n),this.blendChannel('g',t.g,n),this.blendChannel('b',t.b,n),this}},{key:'lightenChannel',value:function(e,t){return this[e]+=t,0>this[e]?this[e]=0:255<this[e]&&(this[e]=255),this}},{key:'lighten',value:function(e){return this.looksLikePercent(e)?this.lightness(this.lightness()+parseFloat(e)):(this.lightenChannel('r',e),this.lightenChannel('g',e),this.lightenChannel('b',e)),this}},{key:'darken',value:function(e){return'string'==typeof e?this.lighten('-'.concat(e)):this.lighten(-e)}},{key:'looksLikePercent',value:function(e){return /^-?\d+(\.\d+)?%$/.test(e)}},{key:'lightness',value:function(e){return this._hslFromRgb(),null==e?this._l:(this._l=Math.max(0,Math.min(100,e)),this._rgbFromHsl(),this)}},{key:'saturation',value:function(e){return this._hslFromRgb(),null==e?this._s:(this._s=Math.max(0,Math.min(100,e)),this._rgbFromHsl(),this)}},{key:'grayLevel',value:function(){return(.299*this.r+.587*this.g+.114*this.b)/255}},{key:'whiteLevel',value:function(){return Math.min(Math.min(this.r,this.g),this.b)}},{key:'isGrayscale',value:function(){return this.r===this.g&&this.g===this.b}},{key:'distanceFrom',value:function(e){return Math.sqrt(Math.pow(this.r-e.r,2)+Math.pow(this.g-e.g,2)+Math.pow(this.b-e.b,2))}},{key:'channelDominance',value:function(){var e=this;return['r','g','b'].sort(function(t,n){return e[n]-e[t]})}},{key:'alpha',value:function(e){return null==e?this.a:(this.a=e,this)}},{key:'red',value:function(e){return null==e?this.r:(this.r=e,this)}},{key:'green',value:function(e){return null==e?this.g:(this.g=e,this)}},{key:'blue',value:function(e){return null==e?this.b:(this.b=e,this)}},{key:'toHex',value:function(){var e=Math.round(this.r).toString(16),t=Math.round(this.g).toString(16),n=Math.round(this.b).toString(16);return 1===e.length&&(e='0'+e),1===t.length&&(t='0'+t),1===n.length&&(n='0'+n),''+e+t+n}},{key:'toHexWithAlpha',value:function(){var e=Math.round(255*this.a).toString(16);return 1===e.length&&(e='0'+e),''+e+this.toHex()}},{key:'toRgb',value:function(){return'rgb('.concat(Math.round(this.r),',').concat(Math.round(this.g),',').concat(Math.round(this.b),')')}},{key:'toRgba',value:function(){return'rgba('.concat(Math.round(this.r),',').concat(Math.round(this.g),',').concat(Math.round(this.b),',').concat(this.a,')')}},{key:'toRgbaOrHex',value:function(){return this.toRgba()}},{key:'toPercent',value:function(){return'rgba('.concat(100*(this.r/255),'%,').concat(100*(this.g/255),'%,').concat(100*(this.b/255),'%,').concat(this.a,')')}},{key:'toIeGradient',value:function(){return'progid:DXImageTransform.Microsoft.gradient(startColorStr=\'#'.concat(this.toHexWithAlpha(),'\', endColorStr=\'#').concat(this.toHexWithAlpha(),'\')')}},{key:'toString',value:function(){return this.toPercent()}}]),e}();t['default']=p},580:function(e,t,n){'use strict';n.r(t);var f=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=f['default'].lib('preact'),b=A.h,h=A.render,_=A.Component,v=f['default'].lib('player/lib/elem'),k=v.elemBind,w=v.elemHeight,C=v.elemOffset,S=v.elemUnbind,P=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'onMouseMove',function(t){var e=t.pageX-o.props.videoOffset.left+10,n=t.pageY-o.props.videoOffset.top;o.setState({x:e,y:n})}),o.animationInterval=void 0,o.state={x:o.props.x+10,y:o.props.y,floatingPixel:8},o}y(t,e);var n=s(t);return l(t,[{key:'componentWillMount',value:function(){var e=this;this.animationInterval=setInterval(function(){var t=e.state.floatingPixel+1;10<t&&(t=8),e.setState({floatingPixel:t})},500),k(document,'mousemove',this.onMouseMove)}},{key:'componentWillUnmount',value:function(){clearInterval(this.animationInterval),S(document,'mousemove',this.onMouseMove)}},{key:'sandStyle',value:function(){return{fill:'#000000',width:'1',height:'1'}}},{key:'anchorStyle',value:function(){this.props;return{height:0,left:''.concat(this.state.x,'px'),position:'absolute',top:''.concat(this.state.y,'px'),width:0}}},{key:'sandProps',value:function(e,t){return{className:'sand',x:e,y:t,style:this.sandStyle()}}},{key:'useRules',value:function(){return{fill:'#FFFFFF',"fill-rule":'evenodd'}}},{key:'hourGlassProps',value:function(e){return{stroke:'#000000',x:'1.5',y:e,width:'12',height:'2'}}},{key:'defsProps',value:function(e){return{x:1,y:e,width:13,height:3}}},{key:'render',value:function(){var e=this;return b('div',{style:this.anchorStyle(),onMouseMove:this.onMouseMove},b('svg',{width:'15px',height:'20px',viewBox:'0 0 15 20',version:'1.1'},b('defs',null,b('rect',i({id:'path-1'},this.defsProps(1))),b('rect',i({id:'path-2'},this.defsProps(16))),b('polygon',{id:'path-3',points:'2 3 13 3 13 7 10.25 10 13 13 13 17 2 17 2 13 4.75 10 2 7'})),b('g',{id:'Page-1',stroke:'none',"stroke-width":'1',fill:'none',"fill-rule":'evenodd'},b('g',{id:'hourglass'},b('g',{id:'top'},b('use',i({},this.useRules(),{xlinkKref:'#path-1'})),b('rect',this.hourGlassProps(1.5))),b('g',{id:'bottom'},b('use',i({},this.useRules(),{xlinkHref:'#path-2'})),b('rect',this.hourGlassProps(16.5))),b('g',{id:'glass'},b('use',i({},this.useRules(),{xlinkHref:'#path-3'})),b('path',{stroke:'#000000',d:'M2.5,3.5 L2.5,6.80550815 L5.42828419,10 L2.5,13.1944918 L2.5,16.5 L12.5,16.5 L12.5,13.1944918 L9.57171581,10 L12.5,6.80550815 L12.5,3.5 L2.5,3.5 Z'})),b('rect',{id:'floater',fill:'#000000',x:'7',y:this.state.floatingPixel,width:'1',height:'1'}),[[5,6],[7,6],[6,7],[8,7],[7,11],[6,12],[8,12],[7,13],[6,14],[8,14],[5,13],[9,13],[4,14],[10,14],[5,6],[9,6]].map(function(t){return b('rect',e.sandProps(t[0],t[1]))})))))}}]),t}(_);t['default']=P},581:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(117),f=n(582),A=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var b=g['default'].lib('preact'),_=b.h,h=b.render,v=function(e){function t(e){var o;i(this,t),o=n.call(this,e),o.isVisible=!1;var a=-1;return o.unbinds.push(e.on('waiting',function(e){!o.isVisible&&2>a&&2<=e&&(o.isVisible=!0,o.renderIndicator()),a=e}),e.on('done-waiting',function(){o.isVisible=!1,o.renderIndicator(),a=-1}),e.on('timechange',function(){o.isVisible=!1,o.renderIndicator(),a=-1})),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(A.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e,this.renderIndicator()}},{key:'renderIndicator',value:function(){h(_(f['default'],{isVisible:this.isVisible}),this.rootElem),this.reactMounts=[this.rootElem]}}]),t}(m['default']);v.shouldMount=function(e){return!e.embedOptions().newLook},v.handle='loadingIndicator',v.type='above-control-bar',g['default'].defineControl(v);t['default']=v},582:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(583);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var f=g['default'].lib('preact'),A=f.h,h=f.render,b=f.Component,_=function(e){function t(e){return i(this,t),n.call(this,e)}c(t,e);var n=l(t);return r(t,[{key:'accessibilityTextStyle',value:function(){return{position:'absolute',left:-99999}}},{key:'render',value:function(){return A('div',{"aria-live":'polite'},this.props.isVisible&&A('div',null,A('p',{style:this.accessibilityTextStyle()},'The video is loading'),A(m['default'],null)))}}]),t}(b);t['default']=_},583:function(e,t,n){'use strict';n.r(t);var g=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=g['default'].lib('preact'),f=m.h,h=m.render,A=m.Component,b=g['default'].lib('player/lib/elem'),_=b.addInlineCss,v=g['default'].lib('utilities/seqid'),k=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o.activeSvgId=v('wistia_loading_svg_'),o}c(t,e);var n=l(t);return r(t,[{key:'componentDidMount',value:function(){var e,t=this.iconContainer.getElementsByTagName('path')[0];e=t.getTotalLength?t.getTotalLength():100,_(this.iconContainer,'\n #'.concat(this.activeSvgId,' path {\n stroke-width: 2px;\n stroke-dasharray: ').concat(e/3,', ').concat(2*e/3,';\n -webkit-animation: wistia_dash 1s infinite linear forwards;\n }\n @-webkit-keyframes wistia_dash {\n from { stroke-dashoffset: ').concat(e,'; }\n to { stroke-dashoffset: 0; }\n }\n '))}},{key:'shouldComponentUpdate',value:function(){return!1}},{key:'iconContainerStyle',value:function(){return{height:'80px',left:'50%',position:'absolute',top:'50%',transform:'translate(-50%, -50%)',width:'125px'}}},{key:'render',value:function(){var e=this;return f('div',{ref:function(t){return e.iconContainer=t},style:this.iconContainerStyle()},f('svg',{version:'1.2',id:this.activeSvgId,height:'80',width:'125',xmlns:'http://www.w3.org/2000/svg',viewport:'0 0 125 80'},f('path',{fill:'none',stroke:'#ffffff',"stroke-miterlimit":'20',d:'M52,21 L81,40 L52,60 Z'})))}}]),t}(A);t['default']=k},584:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(585);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var h=function(e){function t(){return i(this,t),n.apply(this,arguments)}c(t,e);var n=l(t);return r(t,[{key:'width',value:function(){return this.props.width}},{key:'left',value:function(){return this.props.left}},{key:'isPlaceholder',value:function(){return'upper'===this.props.playbarMode}},{key:'isVisible',value:function(){return'lower'===this.props.playbarMode}}]),t}(m['default']);h.shouldMount=function(e){var t=e._opts.playbar;return!0===t||null==t},h.handle='lowerPlaybar',h.type='lower-playbar',g['default'].defineControl(h);t['default']=h},585:function(e,t,n){'use strict';n.r(t);var b=n(2),_=n(117),v=n(176),k=n(54),w=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e,t,n){return s='undefined'!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=d(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},s(e,t,n||e)}function d(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=g(e),null!==e););return e}function u(e){return function(){var t,n=g(e);if(y()){var o=g(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return p(this,t)}}function p(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:c(e)}function c(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function y(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(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}}),t&&f(e,t)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}function A(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var C=b['default'].lib('player/lib/assets'),S=b['default'].lib('player/lib/timeout-utils'),P=S.doTimeout,B=b['default'].lib('utilities/isMouseDown'),E=B.isMouseDown,T=b['default'].lib('player/lib/elem'),x=T.elemBind,M=T.formInputIsFocused,D=b['default'].lib('preact'),I=D.h,h=D.render,O=33,F=34,L=32,R=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),A(c(o),'renderPlaybar',function(){var e=o.video,t=e.plugin.chapters,n=t?t.getAllChapters():[],a=t?t.getChapterWithVisibleTitle():null,r=t?t.getChapterWithFocusedMarker():null,l=o.PlaybarComponent;h(I(l,i({getCurrentTime:o.getCurrentTime,getCurrentBufferTime:o.getCurrentBufferTime,duration:e.duration(),isBeforePlay:'beforeplay'===e.state(),isVisible:o.props.controlsAreVisible,isPlaying:'playing'===e.state(),isSeeking:e._impl.engine&&e._impl.engine.isSeeking()},o.props,{onDragStart:o.onDragStart,onDrag:o.onDrag,onDragEnd:o.onDragEnd,onBlur:o.onBlurPlaybar,onFocus:o.onFocusPlaybar,isPlaceholder:o.isPlaceholder(),chapters:n,chapterWithFocusedMarker:r,chapterWithVisibleTitle:a,onMouseEnterChapter:o.onMouseEnterChapter,onMouseLeaveChapter:o.onMouseLeaveChapter,mediaData:o.video._mediaData,embedOptions:o.video._opts,color:o.video.playerColor(),showTime:o.showTime,lastSeekedAt:o._lastSeekedAt||0,shouldShowStoryboard:o.shouldShowStoryboard(),shouldShowChapterTitles:!0,shouldShowTime:o.shouldShowTime(),storyboardAsset:o.storyboardAsset(),leftControlBarWidth:o.props.leftControlBarWidth,newLookTimeWidth:o.setNewLookTimeWidth,newLookRightBarMargin:o.setNewLookRightBarMargin,resumableTime:o.resumableTime()})),o.rootElem),o.reactMounts=[o.rootElem]}),A(c(o),'setNewLookTimeWidth',function(e){o._newLookTimeWidth=e}),A(c(o),'setNewLookRightBarMargin',function(e){o._newLookRightBarMargin=e}),A(c(o),'renderNothing',function(){h(I('nothing',null),o.rootElem),o.reactMounts=[o.rootElem]}),A(c(o),'renderIfNotPlaying',function(){'playing'!==o.video.state()&&o.renderPlaybar()}),A(c(o),'getCurrentTime',function(){return o.video?o.video.time():0}),A(c(o),'getCurrentBufferTime',function(){var e=o.video?o.video.getBuffered():[];return 0===e.length?0:e[e.length-1].end}),A(c(o),'onMouseEnterChapter',function(t,e){e&&(o.chaptersPlugin().setChapterWithVisibleTitle(e.id),o.chaptersPlugin().setChapterWithFocusedMarker(e.id))}),A(c(o),'onMouseLeaveChapter',function(){o.chaptersPlugin().setChapterWithVisibleTitle(null),o.chaptersPlugin().setChapterWithFocusedMarker(null)}),A(c(o),'onDragStart',function(t,e){o.video.requestControls('playbar-drag'),o.stateBeforeDrag=o.video.state(),o.onDrag(t,e),P(''.concat(o.video.uuid,'.maybe-pause-on-scrub'),function(){E()&&o.video.pause()},300)}),A(c(o),'onDrag',function(t,e){o.video.time(e*o.video.duration())}),A(c(o),'onDragEnd',function(t,e){o.video.releaseControls('playbar-drag'),o.onDrag(t,e),('beforeplay'===o.stateBeforeDrag||'playing'===o.stateBeforeDrag)&&o.video.play()}),A(c(o),'onFocusPlaybar',function(){o.video.enterInputContext('playbar-focus')}),A(c(o),'onBlurPlaybar',function(){o.video.exitInputContext('playbar-focus')}),A(c(o),'onKeyDown',function(t){if(o.isVisible()&&!M()){var e=o.video,n=e.getInputContext();if('playbar-focus'===n||'player-mouseover'===n){var i=e.duration(),a=t.keyCode;if(a===L)return void t.preventDefault();null==o.keyDownStartedAt&&(o.keyDownStartedAt=Date.now());var r=Date.now()-o.keyDownStartedAt,l=0;l='playing'===e.state()?t.shiftKey||200<r?a===O||a===F?30>i?5:60>i?10:10+i/60:30>i?2:60>i?5:5+i/60/2:a===O||a===F?60>i?5:20:2:t.shiftKey||200<r?1:1/24;var s=0;a===39||a===O?s=1:(a===37||a===F)&&(s=-1),-1==s?(t.preventDefault(),e.time(e.time()-l)):1===s&&(t.preventDefault(),e.time(e.time()+l))}}}),A(c(o),'onKeyUp',function(t){if(o.isVisible()&&!M()){o.keyDownStartedAt=null;var e=o.video,n=e.getInputContext();'playbar-focus'===n&&t.keyCode===L&&('playing'===e.state()?e.pause():e.play())}}),o.PlaybarComponent=v['default'],o.showTime=!0,o}m(t,e);var n=u(t);return l(t,[{key:'destroy',value:function(){Object(w.destroyControl)(this)}},{key:'mount',value:function(e){var n=this;s(g(t.prototype),'mount',this).call(this,e);var o=this.video;this.unbinds.push(o.on('play',this.renderPlaybar),o.on('pause',this.renderPlaybar),o.on('progress',this.renderIfNotPlaying),o.on('timechange',this.renderIfNotPlaying),o.on('end',this.renderPlaybar),o.on('widthchange',this.renderPlaybar),o.on('playercolorchange',this.renderPlaybar),o.on('seekcomplete',function(){n._lastSeekedAt=Date.now(),n.renderPlaybar()}),o.on('seeking',this.renderPlaybar),o.on('trimchange',function(){n.renderNothing(),n.renderPlaybar()}),x(document,'keydown',this.onKeyDown),x(document,'keyup',this.onKeyUp));var i=function(){var e=o.plugin.chapters;n.unbinds.push(e.on('focuschange',n.renderPlaybar),e.on('changechapters',n.renderPlaybar))};return o.plugin('chapters').then(i),o.on('plugininitialized',function(e){'chapters'===e&&i()}),!1===this.props.newLook?b['default'].asyncRequire('vulcanV2Player/ui_components/LegacyPlaybar.js').then(function(e){n.PlaybarComponent=e,n.renderPlaybar()}):void this.renderPlaybar()}},{key:'onControlPropsUpdated',value:function(e){e.width!==this.props.width&&this.renderPlaybar(),e.controlsAreVisible&&!this.props.controlsAreVisible&&this.renderPlaybar(),!e.controlsAreVisible&&this.props.controlsAreVisible&&this.renderPlaybar()}},{key:'resumableTime',value:function(){return this.video.shouldResume()?Object(k.getLastTime)(this.video.hashedId()):void 0}},{key:'newLookTimeWidth',value:function(){return this._newLookTimeWidth}},{key:'newLookRightBarMargin',value:function(){return this._newLookRightBarMargin}},{key:'chaptersPlugin',value:function(){return this.video.plugin.chapters}},{key:'isPlaceholder',value:function(){return!1}},{key:'isVisible',value:function(){return!0}},{key:'shouldShowTime',value:function(){return!0}},{key:'shouldShowStoryboard',value:function(){if(null!=this._shouldShowStoryboard)return this._shouldShowStoryboard;var e=!!this.storyboardAsset(),t=!!this.video._mediaData.secondaryMediaData;return this._shouldShowStoryboard=e&&!t}},{key:'storyboardAsset',value:function(){return C.one(this.video._mediaData.assets,{type:'storyboard',status:C.READY,metadata:function(e){return e&&e.frame_count&&e.frame_width&&e.frame_height}})}}]),t}(_['default']);t['default']=R},586:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(117),A=n(418),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=m['default'].lib('player/lib/elem'),v=_.getLastActiveEventAt,k=m['default'].lib('preact'),w=k.h,h=k.render,C=m['default'].lib('player/lib/fit-control'),S=C.controlMultiplierBasedOnVideo,P=m['default'].lib('utilities/detect'),B=P.cachedDetect,E=B(),T=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'showIconAndFade',function(){return o.playedOnce?o.video.isControlEnabled('centeredPlayPauseToggler')&&!o.props.chromeless||o.video._inNativeMode()?void 0:o.ignoreNextPlayOrPause?void(o.ignoreNextPlayOrPause=!1):void(o.isPlaying='playing'===o.video.state(),o.renderAndFade()):void(o.playedOnce=!0)}),o.isOpaque=!1,o.unbinds.push(e.on('play',o.showIconAndFade),e.on('pause',o.showIconAndFade)),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'mount',value:function(e){this.rootElem=e}},{key:'onControlPropsUpdated',value:function(e){e.videoWidth!==this.props.videoWidth&&this.renderButton()}},{key:'renderAndFade',value:function(){var e=this,t=this.video.lastPlayInfo();if(!(this.isPlaying&&'user-event'!==t.source)){var n=this.video.lastPauseInfo();(this.isPlaying||'user-event'===n.source)&&(this.isOpaque=!0,this.renderButton(),clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout(function(){e.isOpaque=!1,e.renderButton()},20))}}},{key:'renderButton',value:function(){return this.props.newLook?this.renderButtonNewLook():this.renderButtonOldLook()}},{key:'renderButtonOldLook',value:function(){this.iconElem=h(w('div',{class:'w-play-pause-notifier',style:this.oldRootStyle()},w(A['default'],{isPlaying:!this.isPlaying,noPadding:!0,svgStyle:this.svgStyle()})),this.rootElem,this.iconElem),this.reactMounts=[this.rootElem,this.iconElem]}},{key:'renderButtonNewLook',value:function(){h(w('div',{class:'w-play-pause-notifier',style:this.rootStyle()},w('div',{style:this.graphicStyle()},w(A['default'],{isPlaying:!this.isPlaying,noPadding:!0}))),this.rootElem),this.reactMounts=[this.rootElem]}},{key:'oldRootStyle',value:function(){var e=this.scale(),t=this.isPlaying,n=t?72:80,o=t?60:50;return{height:''.concat(n*e,'px'),left:'50%',pointerEvents:'none',position:'absolute',opacity:this.isOpaque?.5:0,top:'50%',transform:'translate(-'.concat(t?33:50,'%, -50%) scale(').concat(this.isOpaque?.9:1.1,')'),transition:this.isOpaque?'':'opacity .8s, transform .8s',width:''.concat(o*e,'px')}}},{key:'rootStyle',value:function(){var e=this.scale(),t=this.isPlaying;return{background:'rgba(0,0,0,.6)',borderRadius:'50%',height:''.concat(140*e,'px'),left:'50%',pointerEvents:'none',position:'absolute',opacity:this.isOpaque?.6:0,top:'50%',transform:'translate(-50%, -50%) scale('.concat(this.isOpaque?.7:.8,')'),transition:this.isOpaque?'':'opacity .8s, transform .8s',width:''.concat(140*e,'px')}}},{key:'graphicStyle',value:function(){var e=this.scale(),t=this.isPlaying,n=t?72:80,o=t?60:50;return{height:''.concat(n*e,'px'),left:'50%',pointerEvents:'none',position:'absolute',top:'50%',transform:'translate(-'.concat(t?38:50,'%, -').concat(t?47:50,'%)'),width:''.concat(o*e,'px')}}},{key:'scale',value:function(){return Math.min(1.3,Math.max(.3,S(this.video,[640,960])))}},{key:'svgStyle',value:function(){return{filter:'drop-shadow(0px 0px 3px rgba(0,0,0,0.5))'}}}]),t}(f['default']);T.shouldMount=function(e){var t=e.embedOptions();return!1!==t.playPauseNotifier&&!(t.newLook&&E.touchScreen)},T.handle='playPauseNotifier',T.type='above-control-bar',m['default'].defineControl(T);t['default']=T},587:function(e,t,n){'use strict';n.r(t);
1var g=n(2),m=n(60),h=n(117),f=n(370),A=n(554),b=n(54),_=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var v=function(e,t){return null!=e&&t?100*e/t:void 0},k=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o.video=e,o.unbinds.push(e.on('play',function(){return o.renderProgressIndicator()}),e.on('playrejected',function(){return o.renderProgressIndicator()}),e.on('playpending',function(){return o.renderProgressIndicator()}),e.on('up',function(){return o.renderProgressIndicator()}),e.on('end',function(){return o.renderProgressIndicator()})),o}c(t,e);var n=l(t);return r(t,[{key:'boundedScale',value:function(){var e=this.props.scale;return Math.min(Math.max(e,.8),2)}},{key:'destroy',value:function(){Object(_.destroyControl)(this)}},{key:'isVisible',value:function(){return this._isVisible}},{key:'mount',value:function(e){this.rootElem=e,this.renderProgressIndicator()}},{key:'onControlPropsUpdated',value:function(e){e.containerWidth!==this.props.containerWidth&&this.renderProgressIndicator()}},{key:'rootStyle',value:function(){return{bottom:0,left:0,position:'absolute',width:'100%'}}},{key:'renderProgressIndicator',value:function(){var e=Object(b.getLastTime)(this.video.hashedId()),t=this.video.duration(),n=v(e,t);this._isVisible=0<n&&this.video.shouldResume()&&Object(A['default'])(this.video),Object(m.render)(Object(m.h)('div',{style:this.rootStyle()},Object(m.h)(f['default'],{color:this.video.playerColor(),isVisible:this._isVisible,percentWatched:n,scale:this.boundedScale()})),this.rootElem)}}]),t}(h['default']);k.handle='playbarlessProgressIndicator',k.type='foreground',k.sortValue=1800,k.shouldMount=function(e){return!1!==e._opts.resumable&&'v1'!==e._opts.version&&!e._opts.controlsVisibleOnLoad},g['default'].defineControl(k);t['default']=k},588:function(e,t,n){'use strict';n.r(t);var k=n(2),w=n(589),C=n(117),S=n(120),P=n(14);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){return d(e)||s(e,t)||r(e,t)||a()}function a(){throw new TypeError('Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.')}function r(e,t){if(e){if('string'==typeof e)return l(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function s(e,t){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],o=!0,i=!1,a;try{for(var r,l=e[Symbol.iterator]();!(o=(r=l.next()).done)&&(n.push(r.value),!(t&&n.length===t));o=!0);}catch(e){i=!0,a=e}finally{try{o||null==l['return']||l['return']()}finally{if(i)throw a}}return n}}function d(e){if(Array.isArray(e))return e}function u(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function p(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}
1function c(e,t,n){return t&&p(e.prototype,t),n&&p(e,n),e}function y(e){return function(){var t,n=A(e);if(f()){var o=A(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return g(this,t)}}function g(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:m(e)}function m(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function f(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function A(e){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},A(e)}function b(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}}),t&&_(e,t)}function _(e,t){return _=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},_(e,t)}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var B=k['default'].lib('preact'),E=B.h,h=B.render,T=k['default'].lib('player/lib/viewerPreferences'),x=T.getViewerPreferences,M=k['default'].lib('player/translations'),D=M.getTranslation,I=M.defineTranslations,O=k['default'].lib('promiscuous'),F=Object(P.cachedDetect)();I('en-US',{SETTINGS_PLAYBACK_RATE_TITLE:'Speed',SETTINGS_QUALITY_AUTO:'Auto',SETTINGS_QUALITY_TITLE:'Quality',SETTINGS_TITLE:'Settings',SETTINGS_HIDE_MENU:'Hide settings menu',SETTINGS_SHOW_MENU:'Show settings menu'});var L=function(e){function t(e){var o;return u(this,t),o=n.call(this,e),v(m(o),'loadMenuCode',function(){var e=o.props.newLook;return k['default'].asyncRequire([e?'interFontFace.js':'overpassFontFace.js','vulcanV2Player/controls/SettingsControl/dialog.js']).then(function(e){var t=i(e,2),n=t[0],a=t[1];o.renderMenuImpl||(o.renderMenuImpl=a.renderMenu.bind(m(o)),o.onSelect=a.onSelect.bind(m(o)))})}),v(m(o),'onMouseEnterButton',function(){o.loadMenuCode()}),o.unbinds.push(e.on('playbackratechange',function(){o.menuElem&&o.renderMenu()}),e.on('qualitychange',function(){o.menuElem&&o.renderMenu()}),e.on('playerlanguagechange',function(){o.menuElem&&o.renderMenu()})),e.hasData(function(){if(null==o._isQualityEnabled){var t=e._opts.qualityControl;o._isQualityEnabled=!0===t||null==t}var n=F.browser.msie||F.trident;if(null==o._isPlaybackRateEnabled&&!n){var i=e._opts.playbackRateControl;o._isPlaybackRateEnabled=!0===i||null==i}}),o}b(t,e);var n=y(t);return c(t,[{key:'destroy',value:function(){Object(S.destroyControl)(this)}},{key:'translate',value:function(e){return D(this.props.playerLanguage.code,'SETTINGS_'.concat(e))}},{key:'accountForViewerPreferences',value:function(){var e=x().defaultPlaybackRate;null!=e&&this.video.playbackRate(e)}},{key:'controlDialogOpened',value:function(){this.updateButtonLabel()}},{key:'controlDialogClosed',value:function(){this.updateButtonLabel()}},{key:'mountButton',value:function(e){this.accountForViewerPreferences(),this.buttonRoot=e,this.renderButton()}},{key:'mountDialog',value:function(e){return this.dialogRoot=e,this.renderMenu()}},{key:'renderButton',value:function(){this.setButtonLabel(this.translate('TITLE')),this.updateButtonLabel(),h(E(w['default'],{onMouseEnter:this.onMouseEnterButton}),this.buttonRoot),this.reactMounts.button=[this.buttonRoot]}},{key:'renderMenu',value:function(){var e=this;if(this.dialog.isOpen()){var t=this.loadMenuCode().then(function(){e.renderMenuImpl()});return this.loading(new O(function(e){t.then(e)})),t}}},{key:'onControlPropsUpdated',value:function(e){this.dialog&&this.dialog.isOpen()&&this.renderMenu(),e.playerLanguage&&this.props.playerLanguage.code!==e.playerLanguage.code&&(this.renderButton(),this.renderMenu())}},{key:'updateButtonLabel',value:function(){this.dialog&&(this.dialog.isOpen()?this.setButtonLabel(this.translate('HIDE_MENU')):this.setButtonLabel(this.translate('SHOW_MENU')))}},{key:'setQualityEnabled',value:function(e){var t=this;return this._isQualityEnabled=e,this.loadMenuCode().then(function(){t.dialog.isOpen()&&t.renderMenuImpl()})}},{key:'setPlaybackRateEnabled',value:function(e){var t=this;return this._isPlaybackRateEnabled=e,(F.browser.msie||F.trident)&&(this._isPlaybackRateEnabled=!1),this.loadMenuCode().then(function(){t.dialog.isOpen()&&t.renderMenuImpl()})}}]),t}(C['default']);L.shouldMount=function(e){var t=e._opts,n=t.settingsControl,o=t.qualityControl,i=t.playbackRateControl;return!1!==n&&(!0===o||null==o||!0===i||null==i)},L.handle='settingsButton',L.type='control-bar-right',L.sortValue=200,L.isVideoChrome=!0,k['default'].defineControl(L),k['default'].SettingsControl=L;t['default']=L},589:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(119);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var A=m['default'].lib('preact'),b=A.h,h=A.render,_=A.Component,v=function(e){function t(){return a(this,t),n.apply(this,arguments)}y(t,e);var n=s(t);return l(t,[{key:'shouldComponentUpdate',value:function(){return!1}},{key:'render',value:function(){return b('svg',i({},Object(f.standardSvgAttrs)(40,34),{onMouseEnter:this.props.onMouseEnter}),b('g',null,b('g',null,b('path',{d:'M28.3,16.4h-1.9c-0.4,0-0.8-0.3-0.9-0.7l-0.4-1.1c-0.2-0.3-0.1-0.8,0.2-1.1l1.3-1.3c0.3-0.3,0.3-0.7,0-1l-0.4-0.4c-0.3-0.3-0.7-0.3-1,0l-1.3,1.3c-0.3,0.3-0.8,0.3-1.1,0.1l-1.1-0.5c-0.4-0.1-0.7-0.5-0.7-0.9V9.1c0-0.4-0.3-0.7-0.7-0.7h-0.6c-0.4,0-0.7,0.3-0.7,0.7v1.7c0,0.4-0.3,0.8-0.7,0.9l-1.2,0.5c-0.3,0.2-0.8,0.1-1.1-0.2l-1.2-1.2c-0.3-0.3-0.7-0.3-1,0l-0.4,0.4c-0.3,0.3-0.3,0.7,0,1l1.2,1.2c0.3,0.3,0.3,0.8,0.1,1.1l-0.5,1.2c-0.1,0.4-0.5,0.7-0.9,0.7h-1.6c-0.4,0-0.7,0.3-0.7,0.7v0.6c0,0.4,0.3,0.7,0.7,0.7h1.6c0.4,0,0.8,0.3,0.9,0.7l0.5,1.2c0.2,0.3,0.1,0.8-0.1,1.1l-1.2,1.2c-0.3,0.3-0.3,0.7,0,1l0.4,0.4c0.3,0.3,0.7,0.3,1,0l1.2-1.2c0.3-0.3,0.8-0.3,1.1-0.2l1.2,0.5c0.4,0.1,0.7,0.5,0.7,0.9v1.7c0,0.4,0.3,0.7,0.7,0.7h0.6c0.4,0,0.7-0.3,0.7-0.7V24c0-0.4,0.3-0.8,0.7-0.9l1.1-0.5c0.3-0.2,0.8-0.1,1.1,0.1l1.3,1.3c0.3,0.3,0.7,0.3,1,0l0.4-0.4c0.3-0.3,0.3-0.7,0-1l-1.3-1.3C25,21,25,20.5,25.1,20.2l0.4-1.1c0.1-0.4,0.5-0.7,0.9-0.7h1.9c0.4,0,0.7-0.3,0.7-0.7v-0.6C29,16.7,28.7,16.4,28.3,16.4z M23.8,17.5c0,2.2-1.8,3.9-3.9,3.9c-2.2,0-3.9-1.8-3.9-3.9s1.7-3.9,3.9-3.9C22.1,13.6,23.8,15.3,23.8,17.5z'}))))}}]),t}(_);t['default']=v},59:function(e){var t;t=function(){function e(t){var n,o,i,a,r,l,s,d,u;if(d=t.seedRange,s=t.seedFunction,u=t.seedStart,i=null==(a=t.outputStart)?0:a,o=null==(r=t.outputEnd)?1:r,n=null==(l=t.easing)?e.linear:l,null==d)throw new Error('Must provide seedRange argument');if(null!=s&&'function'!=typeof s)throw new Error('Given seed is not a function');if('function'!=typeof n)throw new Error('Invalid easing function given: '+this.easing);this._seedRange=d,this._seedFunction=s||function(){return new Date().getTime()},this._outputStart=i,this._outputEnd=o,this._easing=n,this._seedStart=('function'==typeof u?u():void 0)||this.seed()}return e.prototype.seed=function(){return this.seedFunction()()},e.prototype.seedStart=function(){return this._seedStart},e.prototype.seedRange=function(){return this._valOrFn(this._seedRange)},e.prototype.seedFunction=function(){return this._seedFunction},e.prototype.outputStart=function(){return this._valOrFn(this._outputStart)},e.prototype.outputEnd=function(){return this._valOrFn(this._outputEnd)},e.prototype.easing=function(){return this._valOrFn(this._easing)},e.prototype.value=function(){return this._easing.apply(this,this.easingArgs())},e.prototype.atEnd=function(){return 1===this.ratio()},e.prototype.atStart=function(){return 0===this.ratio()},e.prototype.easingArgs=function(){return[this.c(),this.t(),this.d(),this.b()]},e.prototype.seedDelta=function(){return 0<this.seedRange()?Math.min(this.seedRange(),this.seed()-this.seedStart()):0>this.seedRange()?Math.max(this.seedRange(),this.seed()-this.seedStart()):0},e.prototype.ratio=function(){var e,t;return t=this.seedRange(),0===t?1:e=Math.max(0,Math.min(1,this.seedDelta()/t))},e.prototype.c=function(){return this.outputEnd()-this.outputStart()},e.prototype.t=function(){return this.seedDelta()},e.prototype.d=function(){return this.seedRange()},e.prototype.b=function(){return this.outputStart()},e.prototype._valOrFn=function(e){return'function'==typeof e?e():e},e.linear=function(e,n,t,o){return e*n/(t||1)+o},e.easeInOut=function(e,n,t,o){return n/=(t||1)/2,1>n?e/2*n*n+o:(n-=1,-e/2*(n*(n-2)-1)+o)},e}(),e.exports=t},590:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(117),A=n(418),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=m['default'].lib('preact'),v=_.h,h=_.render,k=m['default'].lib('player/translations'),w=k.getTranslation,C=m['default'].lib('utilities/detect'),S=C.cachedDetect,P=S(),B=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'renderButton',function(){if(o.buttonRoot&&('playing'===o.video.state()?o.setButtonLabel(o.translate('TITLE_WHEN_PLAYING')):o.setButtonLabel(o.translate('TITLE_WHEN_NOT_PLAYING')),h(v('div',{style:o.wrapperStyle()},v(A['default'],{isPlaying:'playing'===o.video.state(),noPadding:o.props.newLook,svgStyle:{verticalAlign:'top'}})),o.buttonRoot),o.reactMounts=[o.rootElem],P.trident)){var e=o.buttonRoot.parentNode;e.style.display='none',setTimeout(function(){e.style.display=''},1)}}),g(d(o),'onClickButton',function(){var e=o.video;'playing'===e.state()?e.pause():e.play()}),g(d(o),'onKeyDownButton',function(t){(32===t.keyCode||13===t.keyCode)&&(t.__handledAlready=!0)}),o.unbinds.push(e.on('play',o.renderButton),e.on('pause',o.renderButton),e.on('end',o.renderButton)),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'onControlPropsUpdated',value:function(e){(e.playerLanguage&&this.props.playerLanguage.code!==e.playerLanguage.code||this.props.scale!==e.scale)&&this.renderButton()}},{key:'mountButton',value:function(e){this.buttonRoot=e,this.renderButton()}},{key:'wrapperStyle',value:function(){var e=this.props,t=e.newLook,n=e.scale,o='playing'===this.video.state(),i=o?''.concat(10*n,'px 0 ').concat(11*n,'px 0'):''.concat(10*n,'px 0 ').concat(9*n,'px 0');return t||(i=0),{boxSizing:'border-box',height:'100%',marginLeft:t&&!o?''.concat(1*n,'px'):0,padding:i,position:'relative',width:'100%'}}},{key:'translate',value:function(e){return w(this.props.playerLanguage.code,'PLAY_BUTTON_'.concat(e))}},{key:'pcfButtonWidth',value:function(){return this.video._impl.isNewLook()?40:50}}]),t}(f['default']);B.shouldMount=function(e){var t=e.embedOptions(),n=t.smallPlayButton,o=t.newLook,i=e._impl.ui&&e._impl.ui.shouldShowMoreDefaultValue();return(!0===n||null==n)&&(!o||i)},B.handle='smallPlayButton',B.type='control-bar-left',B.sortValue=100;m['default'].defineControl(B);t['default']=B},591:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(117),f=n(592),A=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}
1function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var b=g['default'].lib('preact'),_=b.h,h=b.render,v=g['default'].lib('player/translations'),k=v.getTranslation,w=v.defineTranslations;w('en-US',{STATUS_BAR_EMBED_CODE_COPIED:'Embed Code is now copied to your clipboard!'});var C=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o._isVisible=!1,o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(A.destroyControl)(this)}},{key:'flash',value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:2e3;this._isVisible=!0,this.renderMenu(this.translate(e)),setTimeout(function(){t.hide()},n)}},{key:'translate',value:function(e){return k(this.props.playerLanguage.code,'STATUS_BAR_'.concat(e))}},{key:'hide',value:function(){this._isVisible=!1,h(_('nothing',null),this.rootElem)}},{key:'renderMenu',value:function(e){this._isVisible&&(h(_(f['default'],{message:e}),this.rootElem),this.reactMounts=[this.rootElem])}}]),t}(m['default']);C.handle='statusBar',C.type='background',g['default'].defineControl(C);t['default']=C},592:function(e,t,n){'use strict';n.r(t);var g=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=g['default'].lib('preact'),f=m.h,h=m.render,A=m.Component,b=g['default'].lib('utilities/detect'),_=b.cachedDetect,v=_(),k=function(e){function t(){return i(this,t),n.apply(this,arguments)}c(t,e);var n=l(t);return r(t,[{key:'styles',value:function(){return{background:'rgba(0,0,0,.3)',boxShadow:'none',cursor:'pointer',display:'flex',alignItems:'center',fontSize:S(this),lineHeight:C(this),padding:'0 '.concat(10*this.props.scale,'px'),width:'100%',height:'30px',color:'#fff',position:'absolute',justifyContent:'center'}}},{key:'render',value:function(){return f('div',{style:this.styles()},this.props.message)}}]),t}(A),w=function(e){return 34*e.props.scale},C=function(e){return''.concat(w(e),'px')},S=function(e){return''.concat(14*e.props.scale,'px')};t['default']=k},593:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(117),b=n(409),_=n(554),v=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k=f['default'].lib('preact'),w=k.h,h=k.render,C=f['default'].lib('promiscuous'),S=f['default'].lib('utilities/detect'),P=S.cachedDetect,B=P(),E=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'renderThumbnail',function(e){var t=o.video,n=t.lastPlayInfo(),a=Date.now()-n.issuedAt,r=t.embedOptions().thumbnailAltText;o._isVisible=o.shouldShow(),h(w(b['default'],i({},o.props,{backgroundColor:'transparent'===t.embedOptions().wmode?'transparent':void 0,elemRef:function(e){return o.thumbnailElem=e},images:o.thumbnailAssets,isVisible:o.shouldShow(),onDisplay:e,hashedId:o.video.hashedId(),swatchEnabled:!t._opts.stillUrl&&o._swatchEnabled,uiHasRendered:o.video._impl.ui.hasRendered(),fitStrategy:o.video._opts.fitStrategy,thumbnailAltText:r})),o.rootElem),o._isVisible&&(o._hasRenderedVisible=!0),o._isVisible&&2e3>a&&setTimeout(function(){o._destroyed||o.renderThumbnail()},2e3-a+1),o.reactMounts=[o.rootElem]}),o.unbinds.push(e.on('play',function(){o._hasPlayed=!0,o.renderThumbnail()}),e.on('playrejected',function(){o.renderThumbnail()}),e.on('playpending',function(){o.renderThumbnail()}),e.on('up',o.renderThumbnail),e.on('end',o.renderThumbnail)),o._swatchEnabled=e._opts.swatchEnabled?e._opts.swatchEnabled:e._embedContainer.querySelector('.wistia_swatch'),o}y(t,e);var n=s(t);return l(t,[{key:'destroy',value:function(){Object(v.destroyControl)(this)}},{key:'mount',value:function(e){var t=this;if(this.rootElem=e,this.thumbnailAssets=this.thumbnailAssets||this.video.thumbnailAssets(),!this.shouldShow())return C.resolve();var n=new C(function(e){return setTimeout(e,1e3)}),o=new C(function(e){t.renderThumbnail(e),t.video.embedded(function(){t.__destroyed||t.renderThumbnail()})});return C.race([o,n])}},{key:'shouldShow',value:function(){return Object(_['default'])(this.video)}},{key:'onControlPropsUpdated',value:function(e){var t=this;if(this._hasRenderedVisible){var n=['videoWidth','videoHeight','playerLanguage'].some(function(n){return t.props[n]!==e[n]});n&&this.renderThumbnail()}}}]),t}(A['default']);E.shouldShow=function(){return Object(_['default'])(this.video)},E.handle='thumbnail',E.type='background',E.sortValue=1e3,f['default'].defineControl(E);t['default']=E},594:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(585),h=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}
1function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var f=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),o.showTime=!1,o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(h.destroyControl)(this)}},{key:'isPlaceholder',value:function(){return!1}},{key:'isVisible',value:function(){return'upper'===this.props.playbarMode}},{key:'shouldShowTime',value:function(){return!1}}]),t}(m['default']);f.shouldMount=function(e){var t=e._opts.playbar;return!0===t||null==t},f.handle='upperPlaybar',f.type='upper-playbar',g['default'].defineControl(f);t['default']=f},595:function(e,t,n){'use strict';n.r(t);var m=n(117),f=n(596),A=n(2),b=n(120);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=A['default'].lib('player/lib/viewerPreferences'),v=_.getViewerPreferences,k=_.setViewerPreference,w=A['default'].lib('player/lib/elem'),C=w.elemBind,S=w.formInputIsFocused,P=A['default'].lib('preact'),B=P.h,h=P.render,E=A['default'].lib('player/translations'),T=E.getTranslation,x=E.defineTranslations,M=A['default'].lib('utilities/detect'),D=M.cachedDetect,I=D();x('en-US',{VOLUME_TITLE_WHEN_MUTED:'Unmute',VOLUME_TITLE_WHEN_UNMUTED:'Mute'});var O=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'loadSliderCode',function(){return A['default'].asyncRequire(['vulcanV2Player/controls/VolumeSliderControl.js'])}),g(d(o),'onClickButton',function(){I.touchScreen||o.toggleMute()}),g(d(o),'onFocusInButton',function(){o._isFocused=!0,o.video.enterInputContext('volume-button-focus'),o.loadSliderCode()}),g(d(o),'onFocusOutButton',function(){o._isFocused=!1,o.video.exitInputContext('volume-button-focus')}),g(d(o),'onMouseEnter',function(){o._isFocused=!0,o.loadSliderCode().then(function(){o._isFocused&&o.video.controls.volumeSlider.mounted.then(function(){o.video.controls.volumeSlider.show()})})}),g(d(o),'onMouseLeave',function(){o._isFocused=!1,o.video.controls.volumeSlider&&o.video.controls.volumeSlider.hide()}),g(d(o),'onKeyUp',function(t){if(!(S()||t.eventHandled)){var e=o.video,n=e.getInputContext();('player-mouseover'===n||'player-focus'===n||'volume-button-focus'===n||'volume-slider-focus'===n)&&t.keyCode===77&&(e.isMuted()?(e.unmute(),k('muted',void 0)):(e.mute(),k('muted',!0)))}}),g(d(o),'onKeyDown',function(t){if(!(S()||t.eventHandled)){var e=o.video,n=e.getInputContext();if('player-mouseover'===n||'player-focus'===n||'volume-slider-focus'===n){var i=t.keyCode,a=0;if(i===38?a=1:i===40&&(a=-1),1===a){t.preventDefault();var r=t.shiftKey?.01:.1;e.volume(e.volume()+r),k('volume',e.volume())}else if(-1===a){t.preventDefault();var l=t.shiftKey?.01:.1;e.volume(e.volume()-l),k('volume',e.volume())}}}}),o.video=e,o.unbinds.push(e.on('volumechange',function(){o.buttonRoot&&o.renderButton()}),C(document,'keyup',o.onKeyUp),C(document,'keydown',o.onKeyDown)),o}c(t,e);var n=l(t);return r(t,[{key:'destroy',value:function(){Object(b.destroyControl)(this)}},{key:'onControlPropsUpdated',value:function(e){e.playerLanguage&&this.props.playerLanguage.code!==e.playerLanguage.code&&this.renderButton()}},{key:'mountButton',value:function(e){var t=v(),n=t.volume,o=t.muted;!0===o?(this.video.mute(),this.video.volume(0)):n&&this.video.volume(n),this.buttonRoot=e,this.renderButton()}},{key:'renderButton',value:function(){this.buttonRoot&&(this.setButtonLabel(this.video.isMuted()?this.translate('TITLE_WHEN_MUTED'):this.translate('TITLE_WHEN_UNMUTED')),h(B(f['default'],{volume:this.video.isMuted()?0:this.video.volume(),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave}),this.buttonRoot),this.reactMounts.button=[this.buttonRoot])}},{key:'translate',value:function(e){return T(this.props.playerLanguage.code,'VOLUME_'.concat(e))}},{key:'getButtonTitle',value:function(){return 0===this.video.volume()?'Unmute':'Mute'}},{key:'toggleMute',value:function(){var e=this.video;
1if(e.isMuted()){var t=v(),n=t.volume;n?e.volume(n):0===e.volume()&&e.volume(1),e.unmute(),k('muted',void 0)}else e.mute(),k('muted',!0)}}]),t}(m['default']);O.shouldMount=function(e){var t=e._opts.volumeControl;return(!0===t||null==t)&&!I.iphone&&!I.ipad&&!I.android},O.handle='volumeButton',O.type='control-bar-right',O.sortValue=100,A['default'].defineControl(O);t['default']=O},596:function(e,t,n){'use strict';n.r(t);var m=n(119),f=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}var A=f['default'].lib('preact'),b=A.h,h=A.render,_=A.Component,v='opacity 100ms',k=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),o.state={volume:e.volume},o}y(t,e);var n=s(t);return l(t,[{key:'waveCount',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:this.props.volume;return .66<e?2:.33<e?1:0<e?0:-1}},{key:'shouldComponentUpdate',value:function(e){var t=this.waveCount(),n=this.waveCount(e.volume);return t!==n}},{key:'render',value:function(){var e={fill:'none',stroke:'#ffffff',"stroke-line-cap":'round',"stroke-miterlimit":'10'};return b('svg',i({},Object(m.standardSvgAttrs)(40,34),{onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.onMouseLeave}),b('g',{style:this.speakerGroupStyle()},b('g',null,b('path',{d:'M13.8,14.2c-0.5,0.5-1.4,0.8-2,0.8h-1.6C9.5,15,9,15.5,9,16.2v1.6c0,0.7,0.5,1.2,1.2,1.2h1.6c0.7,0,1.6,0.4,2,0.8l2.3,2.3c0.5,0.5,0.8,0.3,0.8-0.4v-9.6c0-0.7-0.4-0.8-0.8-0.4L13.8,14.2z'})),b('g',null,b('path',i({},e,{"stroke-width":'2',d:'M22,11.7c0,0,1.1,2.5,1.1,5s-1.1,5-1.1,5',style:this.wave1Style()})),b('path',i({},e,{"stroke-width":'2',d:'M25.8,9.2c0,0,1.7,3.8,1.7,7.5c0,3.7-1.7,7.5-1.7,7.5',style:this.wave2Style()}))),b('g',{style:this.waveXStyle()},b('line',i({},e,{"stroke-width":'1.8102',x1:'19.2',y1:'15',x2:'23.2',y2:'19'})),b('line',i({},e,{"stroke-width":'1.8102',x1:'19.2',y1:'19',x2:'23.2',y2:'15'})))))}},{key:'speakerGroupStyle',value:function(){return{transform:'translateX('.concat(this.positioningOffset(),'px)'),transition:'transform 100ms'}}},{key:'positioningOffset',value:function(){var e=this.waveCount();return 0==e?7:2>e?3:1.25}},{key:'waveXStyle',value:function(){return{opacity:0>this.waveCount()?1:0,transition:v}}},{key:'wave1Style',value:function(){return{opacity:1<=this.waveCount()?1:0,transition:v}}},{key:'wave2Style',value:function(){return{opacity:2<=this.waveCount()?1:0,transition:v}}}]),t}(_);t['default']=k},597:function(e,t,n){'use strict';n.r(t);var g=n(2),m=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var h=function(e){function t(){return i(this,t),n.apply(this,arguments)}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){var e=this,t=this.impl;t.embedded(function(){'engines/manual_quality_video.js'===t.bestEngine()&&(e.bandwidthTest().isFresh()?(e._supportsHd=e.bandwidthTest().savedResult().supportsHd,e.impl.whenVideoElementInDom().then(function(){e.impl.engine.setAttributes({supportsHd:e._supportsHd})})):e.hdAsset()&&null!=!e._supportsHd&&e.unbinds.push(t.on('play',function(){return e.doBandwidthTest(),t.unbind})))})}},{key:'bandwidthTest',value:function(){return this._bandwidthTest?this._bandwidthTest:(this._bandwidthTest=new g['default'].BandwidthTest({timeoutLength:4e3,uuid:this.impl.uuid,saveKey:'vulcan.bandwidth'}),this._bandwidthTest)}},{key:'doBandwidthTest',value:function(){var e=this,t=this.impl;t.info('doBandwidthTest'),this._endBandwidthTestEarly||(this._endBandwidthTestEarly=function(){t.info('_endBandwidthTestEarly'),e.bandwidthTest().endEarly(),g['default'].Metrics.videoCount(t,'player/bandwidth_test/ended_early')});var n=['seek','pause','end','switched-to-asset-without-load'];n.map(function(n){e.unbinds.push(t.on(n,e._endBandwidthTestEarly))}),this._failBandwidthTestOnWaiting||(this._failBandwidthTestOnWaiting=function(){return t.info('_failBandwidthTestOnWaiting'),e.bandwidthTest().fail(),g['default'].Metrics.videoCount(t,'player/bandwidth_test/failed'),t.unbind}),this.unbinds.push(t.on('waiting',this._failBandwidthTestOnWaiting)),this._endBandwidthTestOnTime=function(){t.info('_endBandwidthTestOnTime'),e._supportsHd=e.bandwidthTest().supportsHd(),t.engine.setAttributes({supportsHd:!0}),e._failBandwidthTestOnWaiting&&t.unbind('waiting',e._failBandwidthTestOnWaiting),e._endBandwidthTestEarly&&n.map(function(n){t.unbind(n,e._endBandwidthTestEarly)}),g['default'].Metrics.videoCount(t,'player/bandwidth_test/ended_on_time')},this.bandwidthTest().bind('ended',this._endBandwidthTestOnTime),this.bandwidthTest().start()}},{key:'supportsHd',value:function(){return!!this.hdAsset()&&(null==this._supportsHd||this._supportsHd)}},{key:'hdAsset',value:function(){if(this._hdAsset)return this._hdAsset;var e=this.impl;return this._hdAsset=e.playableAssetInRange({width:[980,e._opts.maxHdWidth||2e3],sortBy:'width desc, bitrate desc'}),this._hdAsset}}]),t}(m.PlayerBehavior);h.handle='bandwidthTest';t['default']=h},598:function(e,t,n){'use strict';n.r(t);n.d(t,'PlayerBehavior',function(){return r});function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var r=function(){function e(t){o(this,e),this.impl=t,this.unbinds=[],this.namedUnbinds={}}return a(e,[{key:'addNamedUnbind',value:function(e,t){this.namedUnbinds[e]&&this.namedUnbinds[e](),this.namedUnbinds[e]=t}},{key:'removeNamedUnbind',value:function(e){this.namedUnbinds[e]&&(this.namedUnbinds[e](),delete this.namedUnbinds[e])}},{key:'destroy',value:function(){for(var e in this.unbinds instanceof Array&&this.unbinds.map(function(e){return e()}),this.namedUnbinds)this.namedUnbinds.hasOwnProperty(e)&&this.namedUnbinds[e].map(function(e){return e()});this.unbinds=[],this.namedUnbinds={},this.impl=null,this._destroyed=!0}}]),e}()},599:function(e,t,n){'use strict';n.r(t);var m=n(2),h=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=m['default'].lib('player/lib/media-data-transforms'),A=f.mediaDataTransforms,b=m['default'].lib('player/lib/elem'),_=b.elemAppend,v=b.elemFromObject,k=b.elemPrepend,w=b.pageLoaded,C=m['default'].lib('player/lib/resumableVideoData'),S=C.getLastTime,P=C.atOrNearBeginning,B=C.atOrNearEnd,E=m['default'].lib('utilities/isMouseDown'),T=E.isMouseDownRecently,x=m['default'].lib('player/lib/assets'),M=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onFocusIn',function(){var t=!T();e.impl.isKeyboardFocused(t)}
1),g(d(e),'updateBackgroundColor',function(){var t=e.impl;if(t.videoWrapper&&!t._replacing&&t.embedded()){var n=t.ui&&t.ui.isChromeless()&&('non-user-event'===t.lastPlayInfo().source||t._opts.autoPlay)&&t.isMuted();if(('transparent'===t._opts.wmode||n)&&!t.inFullscreen())t.videoWrapper.style.backgroundColor='transparent';else{var o=t._attrs.playerBackgroundColor||t._opts.backgroundColor||'#000';t.videoWrapper.style.backgroundColor=o||'#000'}}}),g(d(e),'updateStartPosition',function(){var t,n=e.impl,o='beforeplay'===n.state(),i='user-event'===(null===(t=n.lastPlayInfo())||void 0===t?void 0:t.source),a=n.shouldResume()&&o&&i;n.engine&&!a&&n.engine.updateStartPosition(-1)}),e}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){this.unbinds.push(this.impl.on('playerbackgroundcolorchange',this.updateBackgroundColor),this.impl.publicApi.on('transitiondone',this.updateBackgroundColor),this.impl.on('playpending',this.updateStartPosition))}},{key:'embed',value:function(e){var t=this,n=this.impl,o=n&&n._opts.oldImpl;n.oldImpl=o||e,o&&o!==e?(this.impl.on('engine-initialized',function(){o.rebuild(),o.fullRebuild()}),n.oldImpl=o):n.oldImpl=e,n.resetStateVariables(),n.videoWrapper=v({class:'w-video-wrapper w-css-reset',style:{clip:'rect(0,0,0,0)',height:'100%',position:'absolute',top:0,width:'100%'}}
1),this.updateBackgroundColor(),k(n.implContainer(),n.videoWrapper),n.uiContainer||(n.uiContainer=v({class:'w-ui-container',style:{height:'100%',pointerEvents:n._inNativeMode()?'none':'',left:0,position:'absolute',top:0,width:'100%'}}),_(n.implContainer(),n.uiContainer)),n.uiContainer.addEventListener('focusin',this.onFocusIn),n.up(function(){t._preloadPreference=t.preloadValue(),n._replacing&&(t.initializeEngine(),n.info('embedded'),n.embedded(!0)),n.renderUI().then(function(){try{n.setupBindings()}catch(t){setTimeout(function(){throw t},0)}m['default'].timeout(''.concat(n.uuid,'.finish_embedding'),function(){n.info('embedded'),n.embedded(!0),w(function(){t.initializeEngine()})},0)})}),n.down()&&n.embedded(!0)}},{key:'preloadValue',value:function(){var e,t=this.impl;e=t._opts.autoPlay&&!t.publicApi.popover&&t.looksUp()?'auto':null==t._opts.preload?t._mediaData.preloadPreference:t._opts.preload;var n;if(t._mediaData.spherical){if(t._opts._inIframe)n='none';else{var o=[],i=m['default'].data('video');for(var a in i)o.push(i[a]);n=1<o.length?'none':'auto'}}else if('metadata'===e)n='metadata';else if(!0===e||'auto'===e)n='auto';else if(!1===e||'none'===e)n='none';else{var r=[],l=m['default'].data('video');for(var s in l)r.push(l[s]);n=t._opts._inIframe&&top!==parent?'none':t._opts._inIframe&&25<m['default'].util.parentFramesLength()?'none':t._opts._inIframe&&(!window._allIframes||2<_allIframes.length)?'none':!t._opts._inIframe&&2<r.length?'none':t._mediaData.stats&&5e3<t._mediaData.stats.loadCount&&.1>t._mediaData.stats.uniquePlayCount/t._mediaData.stats.uniqueLoadCount?'none':'metadata'}return n}},{key:'rebuild',value:function(){var e=this.impl;return e.info('rebuild'),e.trigger('beforerebuild'),e.embedded(function(){e.embedded(!1),e.ready(!1),e.removeBehaviors(),e.enginePromise=null,e.engine=null,e._oldVideoElem=e.elem(),e._whenVideoElementInDom=null,e.stopStreaming(),m['default'].elem.remove(e.videoWrapper),e.videoWrapper=null,e.ui=null,e._lastPlayType=null,e._lastPlaySource=null,e._lastPlayIssuedAt=null,e._lastPlayResolvedAt=null,e._lastPlayRejectedAt=null,e.wipeOutstandingAsyncFunctions(),e.setupBehaviors(),e.embed(),e.trigger('afterrebuild')}),e}},{key:'checkForReady',value:function(){var e=this.impl;e._checkDownState(),e.up(function(){e.embedded(function(){e.onDimensionChangeSafe(),e.engine&&e.engine.onReady().then(function(){e.onDimensionChangeSafe(),e.ready(!0)})})})}},{key:'initializeEngine',value:function(){var e=this,t=this.impl;if(t){if(t.enginePromise)return t.enginePromise;var n=t.bestEngine();return t.enginePromise=m['default'].asyncRequire(n).then(function(n){if(t.grid)try{t._mediaData=A(t._mediaData,t._opts),t.engine=new n(t.videoWrapper,t._mediaData,e.engineAttributes(),t.oldImpl&&t.oldImpl.engine),t.oldImpl=null,t.trigger('engine-initialized'),t.setupBindings(),e.checkForReady()}catch(n){t.error(n)}})}}},{key:'engineAttributes',value:function(){var e,t=this.impl;t._opts.videoQuality?e=t._opts.videoQuality:(t._opts.videoFoam||720<=t.videoWidth())&&(e='md');var n;t._bandwidthTest().isFresh()&&(n=t._bandwidthTest().savedResult().clientKbps);var o;if(t._mediaData.secondaryMediaData)o=m['default'].obj.clone(t._mediaData.secondaryMediaData);else if(t._opts.secondaryVideoUrl){var i=m['default'].obj.clone(t._mediaData),a=t.originalAsset();i.assets=[{container:'mp4',ext:'mp4',codec:'x264',public:!0,url:t._opts.secondaryVideoUrl,height:a.height,width:a.width,type:'mp4_video',display_name:''.concat(x.numericSizeSnapped(a.width,a.height),'p'),status:x.READY,created_at:new Date().getTime()}],o=i}var r=t._opts.layoutTiming;t._opts.twoStroke&&t._opts.twoStroke.layoutTiming&&(r=t._opts.twoStroke.layoutTiming);var l;return(t._startPosition||t.shouldResume())&&(l=t._startPosition||S(t.hashedId())),t.isResumableEnabled()&&(P(t.hashedId())?m['default'].Metrics.videoCount(t,'player/resumable-close-to-beginning'):B(t.hashedId(),t.duration())&&m['default'].Metrics.videoCount(t,'player/resumable-close-to-end')),{backgroundColor:'transparent'===t._opts.wmode?'transparent':t.playerBackgroundColor(),controls:t._inNativeMode(),duration:t._mediaData.duration,fitStrategy:t._opts.fitStrategy,hashedId:t.hashedId(),height:t.videoHeight(),layoutTiming:r,loop:'loop'===t._opts.endVideoBehavior,muted:t._muted,playsinline:!0,preload:this._preloadPreference,qualityMax:t._attrs.qualityMax,qualityMin:t._attrs.qualityMin,savedBandwidth:n,secondaryMediaData:o,silentAutoPlay:t._opts.silentAutoPlay,startPosition:l,trimEnd:t._opts.trimEnd,trimStart:t._opts.trimStart,videoQuality:e,volume:t._volume,width:t.videoWidth()}}}]),t}(h.PlayerBehavior);M.handle='embed';t['default']=M},6:function(e,t,n){'use strict';n.r(t);var o=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e};t['default']=function(e){for(var t=arguments.length,n=Array(1<t?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];if(Object.assign)return Object.assign.apply(Object,[e].concat(n));for(var r=0;r<n.length;r++)o(e,n[r]);return e}},60:function(S,B,E){'use strict';E.r(B);E.d(B,'render',function(){return H});E.d(B,'hydrate',function(){return I});E.d(B,'createElement',function(){return a});E.d(B,'h',function(){return a});E.d(B,'Fragment',function(){return R});E.d(B,'createRef',function(){return v});E.d(B,'isValidElement',function(){return n});E.d(B,'Component',function(){return W});E.d(B,'cloneElement',function(){return L});E.d(B,'createContext',function(){return M});E.d(B,'toChildArray',function(){return b});E.d(B,'_unmount',function(){return A});E.d(B,'options',function(){return O});var O,n,U,u,t,j,i,G={},f=[],e=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|^--/i;function F(e,t){for(var n in t)e[n]=t[n];return e}function s(e){var t=e.parentNode;t&&t.removeChild(e)}function a(e,n,a){var l,t,i,r,o=arguments;if(n=F({},n),3<arguments.length)for(a=[a],l=3;l<arguments.length;l++)a.push(o[l]);if(null!=a&&(n.children=a),null!=e&&null!=e.defaultProps)for(t in e.defaultProps)void 0===n[t]&&(n[t]=e.defaultProps[t]);return r=n.key,null!=(i=n.ref)&&delete n.ref,null!=r&&delete n.key,h(e,n,r,i)}function h(e,n,o,a){var s={type:e,props:n,key:o,ref:a,__k:null,__p:null,__b:0,__e:null,l:null,__c:null,constructor:void 0};return O.vnode&&O.vnode(s),s}function v(){return{}}function R(e){return e.children}function d(e){if(null==e||'boolean'==typeof e)return null;if('string'==typeof e||'number'==typeof e)return h(null,e,null,null);if(null!=e.__e||null!=e.__c){var t=h(e.type,e.props,e.key,null);return t.__e=e.__e,t}return e}function W(e,t){this.props=e,this.context=t}function V(e,t){if(null==t)return e.__p?V(e.__p,e.__p.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return'function'==typeof e.type?V(e):null}function p(e){var t,n;if(null!=(e=e.__p)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return p(e)}}function y(e){(!e.__d&&(e.__d=!0)&&1===U.push(e)||t!==O.debounceRendering)&&(t=O.debounceRendering,(O.debounceRendering||u)(g))}function g(){var e,n,a,t,i,r,o;for(U.sort(function(e,t){return t.__v.__b-e.__v.__b});e=U.pop();)e.__d&&(a=void 0,t=void 0,r=(i=(n=e).__v).__e,(o=n.__P)&&(a=[],t=P(o,i,F({},i),n.__n,void 0!==o.ownerSVGElement,null,a,null==r?V(i):r),T(a,i),t!=r&&p(i)))}function m(e,n,a,l,t,i,r,o,c){var w,h,v,p,d,y,m,g=a&&a.__k||f,k=g.length;if(o==G&&(o=null==i?k?V(a,0):null:i[0]),w=0,n.__k=b(n.__k,function(a){if
1(null!=a){if(a.__p=n,a.__b=n.__b+1,null===(v=g[w])||v&&a.key==v.key&&a.type===v.type)g[w]=void 0;else for(h=0;h<k;h++){if((v=g[h])&&a.key==v.key&&a.type===v.type){g[h]=void 0;break}v=null}if(p=P(e,a,v=v||G,l,t,i,r,o,c),(h=a.ref)&&v.ref!=h&&(m||(m=[])).push(h,a.__c||p,a),null!=p){if(null==y&&(y=p),null!=a.l)p=a.l,a.l=null;else if(i==v||p!=o||null==p.parentNode){n:if(null==o||o.parentNode!==e)e.appendChild(p);else{for(d=o,h=0;(d=d.nextSibling)&&h<k;h+=2)if(d==p)break n;e.insertBefore(p,o)}'option'==n.type&&(e.value='')}o=p.nextSibling,'function'==typeof n.type&&(n.l=p)}}return w++,a}),n.__e=y,null!=i&&'function'!=typeof n.type)for(w=i.length;w--;)null!=i[w]&&s(i[w]);for(w=k;w--;)null!=g[w]&&A(g[w],g[w]);if(m)for(w=0;w<m.length;w++)N(m[w],m[++w],m[++w])}function b(e,o,i){if(null==i&&(i=[]),null==e||'boolean'==typeof e)o&&i.push(o(null));else if(Array.isArray(e))for(var a=0;a<e.length;a++)b(e[a],o,i);else i.push(o?o(d(e)):e);return i}function _(e,n,o,a,t){for(var i in o)i in n||w(e,i,null,o[i],a);for(i in n)t&&'function'!=typeof n[i]||'value'===i||'checked'===i||o[i]===n[i]||w(e,i,n[i],o[i],a)}function k(t,n,o){'-'===n[0]?t.setProperty(n,o):t[n]='number'==typeof o&&!1===e.test(n)?o+'px':null==o?'':o}function w(a,n,l,s,d){var p,r,o,y,e;if('key'==(n=d?'className'===n?'class':n:'class'===n?'className':n)||'children'===n);else if(!('style'===n))'o'===n[0]&&'n'===n[1]?(y=n!==(n=n.replace(/Capture$/,'')),e=n.toLowerCase(),n=(e in a?e:n).slice(2),l?(s||a.addEventListener(n,C,y),(a.u||(a.u={}))[n]=l):a.removeEventListener(n,C,y)):'list'!==n&&'tagName'!==n&&'form'!==n&&!d&&n in a?a[n]=null==l?'':l:'function'!=typeof l&&'dangerouslySetInnerHTML'!==n&&(n===(n=n.replace(/^xlink:?/,''))?null==l||!1===l?a.removeAttribute(n):a.setAttribute(n,l):null==l||!1===l?a.removeAttributeNS('http://www.w3.org/1999/xlink',n.toLowerCase()):a.setAttributeNS('http://www.w3.org/1999/xlink',n.toLowerCase(),l));else if(p=a.style,'string'==typeof l)p.cssText=l;else{if('string'==typeof s&&(p.cssText='',s=null),s)for(r in s)l&&r in l||k(p,r,'');if(l)for(o in l)s&&l[o]===s[o]||k(p,o,l[o])}}function C(e){return this.u[e.type](O.event?O.event(e):e)}function P(n,s,d,t,i,r,o,l,e){var u,a,c,h,p,y,f,g,A,_,v=s.type;if(void 0!==s.constructor)return null;(u=O.__b)&&u(s);try{n:if('function'==typeof v){if(g=s.props,A=(u=v.contextType)&&t[u.__c],_=u?A?A.props.value:u.__p:t,d.__c?f=(a=s.__c=d.__c).__p=a.__E:('prototype'in v&&v.prototype.render?s.__c=a=new v(g,_):(s.__c=a=new W(g,_),a.constructor=v,a.render=D),A&&A.sub(a),a.props=g,a.state||(a.state={}),a.context=_,a.__n=t,c=a.__d=!0,a.__h=[]),null==a.__s&&(a.__s=a.state),null!=v.getDerivedStateFromProps&&F(a.__s==a.state?a.__s=F({},a.__s):a.__s,v.getDerivedStateFromProps(g,a.__s)),c)null==v.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&o.push(a);else{if(null==v.getDerivedStateFromProps&&null==a.t&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(g,_),!a.t&&null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(g,a.__s,_)){for(a.props=g,a.state=a.__s,a.__d=!1,a.__v=s,s.__e=d.__e,s.__k=d.__k,u=0;u<s.__k.length;u++)s.__k[u]&&(s.__k[u].__p=s);break n}null!=a.componentWillUpdate&&a.componentWillUpdate(g,a.__s,_)}h=a.props,p=a.state,a.context=_,a.props=g,a.state=a.__s,(u=O.__r)&&u(s),a.__d=!1,a.__v=s,a.__P=n,u=a.render(a.props,a.state,a.context),s.__k=b(null!=u&&u.type==R&&null==u.key?u.props.children:u),null!=a.getChildContext&&(t=F(F({},t),a.getChildContext())),c||null==a.getSnapshotBeforeUpdate||(y=a.getSnapshotBeforeUpdate(h,p)),m(n,s,d,t,i,r,o,l,e),a.base=s.__e,u=a.__h,a.__h=[],u.some(function(e){e.call(a)}),c||null==h||null==a.componentDidUpdate||a.componentDidUpdate(h,p,y),f&&(a.__E=a.__p=null),a.t=null}else s.__e=x(d.__e,s,d,t,i,r,o,e);(u=O.diffed)&&u(s)}catch(e){O.__e(e,s,d)}return s.__e}function T(e,n){for(var o;o=e.pop();)try{o.componentDidMount()}catch(e){O.__e(e,o.__v)}O.__c&&O.__c(n)}function x(e,n,l,u,t,i,r,o){var g,s,a,h,A,p=l.props,d=n.props;if(t='svg'===n.type||t,null==e&&null!=i)for(g=0;g<i.length;g++)if(null!=(s=i[g])&&(null===n.type?3===s.nodeType:s.localName===n.type)){e=s,i[g]=null;break}
1if(null==e){if(null===n.type)return document.createTextNode(d);e=t?document.createElementNS('http://www.w3.org/2000/svg',n.type):document.createElement(n.type),i=null}if(null===n.type)null!=i&&(i[i.indexOf(e)]=null),p!==d&&(e.data=d);else if(n!==l){if(null!=i&&(i=f.slice.call(e.childNodes)),a=(p=l.props||G).dangerouslySetInnerHTML,h=d.dangerouslySetInnerHTML,!o){if(p===G)for(p={},A=0;A<e.attributes.length;A++)p[e.attributes[A].name]=e.attributes[A].value;(h||a)&&(h&&a&&h.__html==a.__html||(e.innerHTML=h&&h.__html||''))}_(e,d,p,t,o),n.__k=n.props.children,h||m(e,n,l,u,'foreignObject'!==n.type&&t,i,r,G,o),o||('value'in d&&void 0!==d.value&&d.value!==e.value&&(e.value=null==d.value?'':d.value),'checked'in d&&void 0!==d.checked&&d.checked!==e.checked&&(e.checked=d.checked))}return e}function N(e,n,o){try{'function'==typeof e?e(n):e.current=n}catch(e){O.__e(e,o)}}function A(e,n,a){var t,i,r;if(O.unmount&&O.unmount(e),(t=e.ref)&&N(t,null,n),a||'function'==typeof e.type||(a=null!=(i=e.__e)),e.__e=e.l=null,null!=(t=e.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(e){O.__e(e,n)}t.base=t.__P=null}if(t=e.__k)for(r=0;r<t.length;r++)t[r]&&A(t[r],n,a);null!=i&&s(i)}function D(e,t,n){return this.constructor(e,n)}function H(e,n,r){var t,l,o;O.__p&&O.__p(e,n),l=(t=r===j)?null:r&&r.__k||n.__k,e=a(R,null,[e]),o=[],P(n,t?n.__k=e:(r||n).__k=e,l||G,G,void 0!==n.ownerSVGElement,r&&!t?[r]:l?null:f.slice.call(n.childNodes),o,r||G,t),T(o,e)}function I(e,t){H(e,t,j)}function L(e,t){return t=F(F({},e.props),t),2<arguments.length&&(t.children=f.slice.call(arguments,2)),h(e.type,t,t.key||e.key,t.ref||e.ref)}function M(e){var t={},o={__c:'__cC'+i++,__p:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var a,n=this;return this.getChildContext||(a=[],this.getChildContext=function(){return t[o.__c]=n,t},this.shouldComponentUpdate=function(t){e.value!==t.value&&a.some(function(e){e.__P&&(e.context=t.value,y(e))})},this.sub=function(e){a.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){a.splice(a.indexOf(e),1),t&&t.call(e)}}),e.children}};return o.Consumer.contextType=o,o}O={},n=function(e){return null!=e&&void 0===e.constructor},W.prototype.setState=function(e,t){var o=this.__s!==this.state&&this.__s||(this.__s=F({},this.state));('function'!=typeof e||(e=e(o,this.props)))&&F(o,e),null!=e&&this.__v&&(this.t=!1,t&&this.__h.push(t),y(this))},W.prototype.forceUpdate=function(e){this.__v&&(this.t=!0,e&&this.__h.push(e),y(this))},W.prototype.render=R,U=[],u='function'==typeof Promise?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,t=O.debounceRendering,O.__e=function(e,n){for(var o;n=n.__p;)if((o=n.__c)&&!o.__p)try{if(o.constructor&&null!=o.constructor.getDerivedStateFromError)o.setState(o.constructor.getDerivedStateFromError(e));else{if(null==o.componentDidCatch)continue;o.componentDidCatch(e)}return y(o.__E=o)}catch(t){e=t}throw e},j=G,i=0},600:function(e,t,n){'use strict';n.r(t);var m=n(2),h=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=m['default'].lib('utilities/detect'),A=f.cachedDetect,b=m['default'].lib('utilities/globalBindAndTrigger'),_=b.globalOn,v=b.globalTrigger,k=m['default'].lib('player/lib/elem'),w=k.elemBind,C=k.elemCancelFullscreen,S=k.elemHeight,P=k.elemRebind,B=k.elemRemove,E=k.elemRequestFullscreen,T=k.elemStyle,x=k.elemUnbind,M=k.elemWidth,D=k.fullscreenElement,I=k.inUserEventContext,O=A(),F=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onEnterFullscreen',function(t){var n=e.impl;t===n.chrome?(n.info('_onEnterFullscreen'),n.trigger('before-enter-fullscreen'),e._hasBeenInFullscreen=!0,e._inFullscreen=!0,n.notFullscreen(!1),e.injectFullscreenStyles(),n.behaviors.embed.updateBackgroun
1dColor(),n.width(M(window),{fullscreen:!0,dontChangeContainer:!0}),n.height(S(window),{fullscreen:!0,dontChangeContainer:!0}),n.engine&&n.engine.onEnterFullscreen(),n.trigger('enter-fullscreen')):n.elem().webkitDisplayingFullscreen&&(e._hasBeenInFullscreen=!0,e._inFullscreen=!0,e._nativeFullscreen=!0,n.notFullscreen(!1),n.trigger('enter-fullscreen'))}),g(d(e),'onCancelFullscreen',function(){var t=e.impl;e._nativeFullscreen?(e._nativeFullscreen=!1,e._inFullscreen=!1,t.notFullscreen(!0),t.trigger('cancel-fullscreen')):e._inFullscreen&&(t.info('onCancelFullscreen'),e._inFullscreen=!1,t.notFullscreen(!0),e.removeFullscreenStyles(),t.behaviors.embed.updateBackgroundColor(),t.width(e._widthBeforeFullscreen),t.height(e._heightBeforeFullscreen),t.fit(),t.engine&&t.engine.onLeaveFullscreen(),t.trigger('cancel-fullscreen'))}),g(d(e),'onOrientationChange',function(){var t=e.impl;if(e.fullscreenResizeToWindowFlurry(),-90===window.orientation||90===window.orientation){if('playing'!==t.state()||t.engine.isMuted())return;t.requestFullscreen()}else t.cancelFullscreen()}),g(d(e),'fullscreenResizeToWindowFlurry',function(){var t=e.impl;e.fullscreenResizeToWindow(),[0,50,100,200,300,500,1e3].forEach(function(n){m['default'].timeout(''.concat(t.uuid,'.fs-resize-flurry-').concat(n),e.fullscreenResizeToWindow,n)})}),g(d(e),'fullscreenResizeToWindow',function(){var t=e.impl;if(t.inFullscreen()&&!e._nativeFullscreen){t.debug('fullscreenResizeToWindow');var n=t.width(),o=t.height(),i=M(window),a=S(window);n!==i&&t.width(i,{fullscreen:!0,dontChangeContainer:!0}),o!==a&&t.height(a,{fullscreen:!0,dontChangeContainer:!0})}}),g(d(e),'maybeAutoFullscreen',function(){if(!e.impl.isAudio()){var t=e.impl._inNativeMode()&&!1===e.impl._opts.playsinline&&I()&&!e._hasAutoFullscreened;t&&(e._hasAutoFullscreened=!0,e.requestFullscreen())}}),e}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){var e=this,t=this.impl;this.unbinds.push(_('enter-fullscreen',this.onEnterFullscreen),_('cancel-fullscreen',this.onCancelFullscreen),w(window,'resize',function(){e.fullscreenResizeToWindowFlurry()}),t.on('playpending',this.maybeAutoFullscreen)),t.whenVideoElementInDom().then(function(){t.engine.bind('webkitbeginfullscreen',e.onEnterFullscreen),t.engine.bind('webkitendfullscreen',e.onCancelFullscreen)}),this.getIsFullscreenOnRotateToLandscape()&&(window.screen.orientation?this.unbinds.push(w(window.screen.orientation,'change',this.onOrientationChange)):this.unbinds.push(w(window,'orientationchange',this.onOrientationChange)))}},{key:'injectFullscreenStyles',value:function(){if(!this._fullscreenStyle){document.body.id||(this._docBodyId=m['default'].seqId('wistia_','_tmp_body_id'),document.body.setAttribute('id',this._docBodyId));var e='\n #'.concat(document.body.id,', #').concat(document.body.id,' :full-screen-ancestor {\n animation-name: none;\n -webkit-animation-name: none;\n transform: none;\n -webkit-transform: none;\n }\n ');['webkit','moz','ms','o'].map(function(t){e+='\n #'.concat(document.body.id,' :-').concat(t,'-full-screen-ancestor {\n animation-name: none;\n -webkit-animation-name: none;\n transform: none;\n -webkit-transform: none;\n }\n ')+'\n'}),this._fullscreenStyle=m['default'].css(this.impl.wrapperElem,e)}}},{key:'removeFullscreenStyles',value:function(){this._fullscreenStyle&&(this._docBodyId&&document.body.id===this._docBodyId&&(document.body.removeAttribute('id'),this._docBodyId=null),B(this._fullscreenStyle),this._fullscreenStyle=null)}},{key:'requestFullscreen',value:function(){if(!(this.impl._opts._inIframe&&/two_stroke/i.test(this.impl.bestEngine())&&(O.iphone||O.ipad))){var e=this.impl;e.inFullscreen()||(e.info('requestFullscreen'),this._widthBeforeFullscreen=e.width(),this._heightBeforeFullscreen=e.height(),e.width(e.width()),e._inNativeMode()?e.engine&&e.engine.requestFullscreen():O.fullscreenEnabled?E(e.chrome):this.getAllowFakeFullscreen()?this.enterFakeFullscreen():e.engine&&('beforeplay'===e.state()&&(O.iphone||O.ipad)&&e.engine.play().then(function(){return e.engine.pause()}),e.engine&&e.engine.requestFullscreen()))}}},{key:'cancelFullscreen',value:function(){var e=this.impl;
1e.inFullscreen()&&(e.info('cancelFullscreen'),e._inNativeMode()?e.engine.cancelFullscreen():O.fullscreenEnabled?C():this.getAllowFakeFullscreen()?this.cancelFakeFullscreen():e.engine.cancelFullscreen())}},{key:'getAllowFakeFullscreen',value:function(){return!this.impl._opts._inIframe&&10<=O.ios.version&&(this.impl._opts.fakeFullscreen||/two_stroke/i.test(this.impl.bestEngine()))}},{key:'getIsFullscreenOnRotateToLandscape',value:function(){if(!O.touchScreen)return!1;if(0<O.ios.version&&10>O.ios.version)return!1;var e=this.impl._opts.fullscreenOnRotateToLandscape;return null==e||e}},{key:'enterFakeFullscreen',value:function(){var e=this.impl;this._widthBeforeFullscreen=e.width(),this._heightBeforeFullscreen=e.height(),this._inFakeFullscreen=!0,this._chromeParent=e.chrome.parentNode,document.body.appendChild(e.chrome),this._leftOffsetBeforeFullscreen=m['default'].util.scrollLeft(),this.onEnterFullscreen(e.chrome),this.setupFakeFullscreenBindings(),T(e.chrome,{position:'fixed',top:0,left:0,zIndex:2147483647}),m['default'].util.scrollLeft(0),e.engine&&e.engine.onEnterFullscreen()}},{key:'setupFakeFullscreenBindings',value:function(){var e=this,t=this.impl;m['default'].eventLoop.add(''.concat(t.uuid,'.fakefullscreen'),100,function(){e.fullscreenResizeToWindow()}),this._preventDefaultForTouchMove||(this._preventDefaultForTouchMove=function(e){e.preventDefault()}),P(t.uiContainer,'touchmove',this._preventDefaultForTouchMove)}},{key:'cancelFakeFullscreen',value:function(){var e=this.impl;this._inFakeFullscreen=!1,this.onCancelFullscreen(e.chrome),this._chromeParent&&this._chromeParent.appendChild(e.chrome),e.chrome.style.position='',m['default'].util.scrollLeft(this._leftOffsetBeforeFullscreen),m['default'].eventLoop.remove(''.concat(e.uuid,'.fakefullscreen')),e.engine&&e.engine.onLeaveFullscreen(),null!=this._preventDefaultForTouchMove&&x(e.uiContainer,'touchmove',this._preventDefaultForTouchMove)}},{key:'transferStateFrom',value:function(e){var t=this,n=e.behaviors&&e.behaviors.fullscreen;if(n)for(var o in n){if(n.hasOwnProperty(o)){var i=n[o];'_'===o[0]&&'function'!=typeof i&&(this[o]=i)}n._inFullscreen&&function(){var e=t.impl;e.notFullscreen(function(){e.width(t._widthBeforeFullscreen),e.height(t._heightBeforeFullscreen)})}()}}},{key:'inFullscreen',value:function(){return!!this._inFullscreen}},{key:'inNativeFullscreen',value:function(){return!!this._nativeFullscreen}}]),t}(h.PlayerBehavior);F.handle='fullscreen',m['default']._onFullscreenChange||(m['default']._onFullscreenChange=function(){D()?v('enter-fullscreen',D()):v('cancel-fullscreen')},m['default']._initializers.initFullscreenTriggers=function(){P(document,'mozfullscreenchange',m['default']._onFullscreenChange),P(document,'webkitfullscreenchange',m['default']._onFullscreenChange),P(document,'MSFullscreenChange',m['default']._onFullscreenChange),P(document,'fullscreenchange',m['default']._onFullscreenChange)},m['default']._destructors.destroyFullscreenTriggers=function(){x(document,'mozfullscreenchange',m['default']._onFullscreenChange),x(document,'webkitfullscreenchange',m['default']._onFullscreenChange),x(document,'MSFullscreenChange',m['default']._onFullscreenChange),x(document,'fullscreenchange',m['default']._onFullscreenChange)});t['default']=F},601:function(e,t,n){'use strict';n.r(t);var m=n(2),h=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onPlay',function(){if(null==e._startedLoadingAt)return e._startedLoadingAt=Date.now(),e.impl.unbind}),g(d(e),'onProgress',function(){var t=e.impl;if(t.engine.anyBuffered())return e._firstByteReceivedAt=Date.now(),null!=e._startedLoadingAt&&(e._timeToFirstByte=e._firstByteReceivedAt-e._startedLoadingAt),t.unbind}),g(d(e),'onWaiting',function(t){var n=e.impl,o=n.engine.anyBuffered();e._noDataFor5Seconds||!(5<=t)||o||(e._noDataFor5Seconds=!0,m['default'].Metrics.videoCount(n,'player/no-data/5-seconds')),e._noDataFor10Seconds||!(10<=t)||o||(e._noDataFor10Seconds=!0,m['default'].Metrics.videoCount(n,'player/no-data/10-seconds')),e._noDataFor15Seconds||!(15<=t)||o||(e._noDataFor15Seconds=!0,m['default'].Metrics.videoCount(n,'player/no-data/15-seconds'))}),g(d(e),'onClickedPlayBeforeReady',function(){m['default'].Metrics.videoCount(e.impl,'player/clicked-play-before-ready')}),e}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){var e=this;this.impl.whenVideoElementInDom().then(function(){return e.doInit()})}},{key:'doInit',value:function(){var e=this.impl;e.engine&&e.engine.getPreload()&&(this._startedLoadingAt=Date.now()),this.unbinds.push(e.on('play',this.onPlay),e.on('progress',this.onProgress),e.on('waiting',this.onWaiting),e.on('clicked-play-before-ready',this.onClickedPlayBeforeReady))}}]),t}(h.PlayerBehavior);f.handle='metrics';t['default']=f},602:function(e,t,n){'use strict';n.r(t);var m=n(2),h=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=m['default'].lib('utilities/detect'),A=f.cachedDetect,b=A(),_=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onError',function(){var t=e.impl,n=t.getMediaElement();if(n&&n.error&&n.error.code===3&&/native_hls_video/.test(e.impl.bestEngine())){var o=t.lastPlayInfo().isPending;t.commandQueueOpen.clearSynchronized();var i=o?'playing':'not-playing';m['default'].Metrics.videoCount(t,'player/rebuild-non-hls-on-error/'.concat(i)),e.unbinds.push(t.on('play',function(){return m['default'].Metrics.videoCount(t,'player/rebuild-non-hls-on-error/'.concat(i)),t.unbind})),t.publicApi.fullRebuild({hls:!1,autoPlay:o&&!(b.ios.version&&10.1>b.ios.version)})}}),e}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){this.unbinds.push(this.impl.on('error',this.onError))}}]),t}(h.PlayerBehavior);_.handle='playbackErrorHandling';t['default']=_},603:function(e,t,n){'use strict';n.r(t);n.d(t,'ProblemMonitoringBehavior',function(){return m});var g=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=function(e){function t(){return i(this,t),n.apply(this,arguments)}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){var e=this;this.unbinds=[this.impl.on('waiting',function(t){5<=t&&e.impl.trigger('problem',{type:'long-buffer',data:{secondsWaiting:t}})}),this.impl.on('error',function(){var t=e.impl.getMediaElement(),n=t.error;e.impl.trigger('problem',{type:'video-error',errorCode:n&&n.code||n,errorMessage:n&&n.message})})]}}]),t}(g.PlayerBehavior);m.handle='problemMonitoring';t['default']=m},604:function(e,t,n){'use strict';n.r(t);var f=n(2),A=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e,t,n){return l='undefined'!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=s(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},l(e,t,n||e)}function s(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=y(e),null!==e););return e}function d(e){return function(){var t,n=y(e);if(c()){var o=y(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return u(this,t)}}function u(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:p(e)}function p(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function c(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function g(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}}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function h(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=f['default'].lib('utilities/event_loop'),_=b.globalEventLoop,v=f['default'].lib('promiscuous'),k=function(e){function t(){var o;i(this,t);for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return o=n.call.apply(n,[this].concat(a)),h(p(o),'maybeFireStateAndTimeEvents',function(){o.fireStateChangedEventsIfChanged(),o.fireTimeChangedEventsIfChanged()}),h(p(o),'onPause',function(){o.maybeFireStateAndTimeEvents()}),h(p(o),'onPlaying',function(){o._beforePlay=!1,o._ended=!1,o.maybeFireStateAndTimeEvents()}),h(p(o),'onEnded',function(){o.maybeFireStateAndTimeEvents()}),h(p(o),'onAudioStreamChanged',function(){o.impl.trigger('audiostreamchange')}),h(p(o),'onVolumeChange',function(){var e=o.impl.isMuted();o.impl.trigger('volumechange',o.impl.volume(),e),e!==o._isMuted&&(o._isMuted=e,o.impl.trigger('mutechange',e))}),h(p(o),'onRateChange',function(){o.impl.trigger('ratechange',o.impl.playbackRate()),_.interval(''.concat(o.impl.uuid,'.events'),o.impl._eventLoopDuration)}),h(p(o),'onProgress',function(t){o.impl.trigger('progress',t)}),h(p(o),'onError',function(t){o.impl.trigger('error',t)}),h(p(o),'onSeeking',function(t){o.impl.trigger('seeking',t),o.engine.b
1ind('seeked',function(t){return o.impl.trigger('seekcomplete',t),o.engine.unbind})}),h(p(o),'onCustomWaiting',function(e){o._waiting=e,o.impl.trigger('waiting',e)}),h(p(o),'onCustomDoneWaiting',function(e){o._waiting=-1,o.impl.trigger('done-waiting',e)}),h(p(o),'fireTimeChangedEventsIfChanged',function(){if(!o._destroyed){var e=o.impl,t=e.time(),n=t!==o._lastTimePosition,i='beforeplay'===e.state()&&.3>t;return n&&0<=t&&!i&&(o._ended=!1,e.trigger('timechange',t),Math.floor(t)!==Math.floor(o._lastTimePosition)&&e.trigger('secondchange',Math.floor(t)),!o._beforePlay&&!o._ended&&Math.abs(t-o._lastTimePosition)>e._attrs.seekThreshold&&e.trigger('seek',t,o._lastTimePosition),o._lastTimePosition=t),v.resolve()}}),o}g(t,e);var n=d(t);return r(t,[{key:'init',value:function(){var e=this;this.resetState(),this.impl.whenVideoElementInDom().then(function(){return e.doInit()})}},{key:'doInit',value:function(){var e=this,t=this.impl,n=t.engine;this.unbinds.push(n.bind('pause',this.onPause),n.bind('playing',this.onPlaying),n.bind('ended',this.onEnded),n.bind('volumechange',this.onVolumeChange),n.bind('audiostreamchange',this.onAudioStreamChanged),n.bind('ratechange',this.onRateChange),n.bind('progress',this.onProgress),n.bind('custom-waiting',this.onCustomWaiting),n.bind('custom-done-waiting',this.onCustomDoneWaiting),n.bind('error',this.onError)),_.add(''.concat(t.uuid,'.events'),t._eventLoopDuration,function(){if(!t.looksDown()){e.fireStateChangedEventsIfChanged(),e.fireTimeChangedEventsIfChanged();var n=t.videoQuality();n!==e._lastQuality&&(t.trigger('qualitychange',n),e._lastQuality=n)}})}},{key:'destroy',value:function(){_.remove(''.concat(this.impl.uuid,'.events')),l(y(t.prototype),'destroy',this).call(this)}},{key:'resetState',value:function(){this._waiting=-1,this._lastTimePosition=-1,this._beforePlay=!0,this._ended=!1,this._isMuted=this.impl.isMuted(),this._hasPlayed=!1}},{key:'fireStateChangedEventsIfChanged',value:function(){if(!this._destroyed){var e=this.impl,t=e.state();t!==this._lastState&&(e.trigger('statechange',t,this._lastState),'playing'===t&&(this._hasPlayed=!0,this._ended=!1,e.trigger('play',e.lastPlayInfo())),'paused'===t&&e.trigger('pause',e.lastPauseInfo()),'ended'===t&&(this._ended=!0,e.trigger('end'),e.trigger('afterend')),'ended'!==t&&this.mozillaAtEnd()&&(e.engine.pause(),this._ended=!0,e.trigger('end'),e.trigger('afterend')),this._lastState=t)}}},{key:'mozillaAtEnd',value:function(){return!this._ended&&f['default'].detect.browser.mozilla&&45>f['default'].detect.browser.version&&!f['default'].detect.edge&&f['default'].detect.windows&&.6<=this._waiting&&2>Math.abs(this.impl.time()-this.impl.duration())}}]),t}(A.PlayerBehavior);k.handle='relayEvents';t['default']=k},605:function(e,t,n){'use strict';n.r(t);var m=n(598),h=n(54);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}
1function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=function(e){function t(){var e;i(this,t);for(var o=arguments.length,a=Array(o),r=0;r<o;r++)a[r]=arguments[r];return e=n.call.apply(n,[this].concat(a)),g(d(e),'onEnd',function(){Object(h.setLastTime)(e._hashedId,e.impl.time()),e.destroyResumableKey()}),g(d(e),'onSecondChange',function(){e._hasPlayed&&(Object(h.setLastTime)(e._hashedId,e.impl.time()),!e.impl.shouldResume()&&e.destroyResumableKey(),null===e._resumableKey&&e.setResumableKeyToEventKey())}),e}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){this._hasPlayed=!1,this._hashedId=this.impl.hashedId(),this._unbinds=[],this._resumableKey=Object(h.getResumableKeyForVideo)(this._hashedId)||null,this.setupBindings(),!this.impl.shouldResume()&&this._resumableKey&&this.destroyResumableKey()}},{key:'destroy',value:function(){this._unbinds.map(function(t){'function'==typeof t&&t()}),this._unbinds=[]}},{key:'destroyResumableKey',value:function(){Object(h.setResumableKeyForVideo)(this._hashedId,null),this._resumableKey=null}},{key:'lastTime',value:function(){return Object(h.getLastTime)(this._hashedId)}},{key:'resumableKey',value:function(){return this._resumableKey}},{key:'setupBindings',value:function(){var e=this;this._unbinds.push(this.impl.on('play',function(){return e._hasPlayed=!0}),this.impl.on('end',this.onEnd),this.impl.on('secondchange',this.onSecondChange));var t=this.impl.on('eventkeychange',function(){e.initResumableKey(),t()})}},{key:'setResumableKeyToEventKey',value:function(){var e=this.impl.eventKey();e&&(this._resumableKey=e,Object(h.setResumableKeyForVideo)(this._hashedId,this._resumableKey))}},{key:'initResumableKey',value:function(){this._resumableKey||this.setResumableKeyToEventKey()}}]),t}(m.PlayerBehavior);f.handle='resumable';t['default']=f},606:function(e,t,n){'use strict';n.r(t);var S=n(2),P=n(607),B=n(608),E=n(609),T=n(361),x=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e){return s(e)||l(e)||r(e)||a()}function a(){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 r(e,t){if(e){if('string'==typeof e)return d(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);return'Object'===i&&e.constructor&&(i=e.constructor.name),'Map'===i||'Set'===i?Array.from(i):'Arguments'===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?d(e,t):void 0}}function l(e){if('undefined'!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e){if(Array.isArray(e))return d(e)}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function u(){return u=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},u.apply(this,arguments)}function p(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function c(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function y(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),e}function g(e,t,n){return g='undefined'!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var o=m(e,t);if(o){var i=Object.getOwnPropertyDescriptor(o,t);return i.get?i.get.call(n):i.value}},g(e,t,n||e)}function m(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=v(e),null!==e););return e}function f(e){return function(){var t,n=v(e);if(_()){var o=v(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return A(this,t)}}function A(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:b(e)}function b(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function _(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function k(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}}),t&&w(e,t)}
1function w(e,t){return w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},w(e,t)}function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=S['default'].lib('promiscuous'),D=S['default'].lib('utilities/seqid'),I=S['default'].lib('preact'),O=I.h,h=I.render,F=I.Component,L=S['default'].lib('utilities/isMouseDown'),R=L.isMouseDown,H=L.isMouseDownRecently,W=S['default'].lib('player/lib/fit-control'),N=W.controlMultiplierBasedOnVideo,V=S['default'].lib('utilities/detect'),U=V.cachedDetect,j=S['default'].lib('player/lib/timeout-utils'),G=j.doTimeout,Q=j.clearTimeouts,z=S['default'].lib('utilities/obj'),Y=z.assign,K=z.clone,q=S['default'].lib('player/translations'),J=q.getDefaultTranslation,X=S['default'].lib('player/lib/elem'),Z=X.addInlineCss,$=X.elemBind,ee=X.elemUnbind,te=X.elemIsInside,ne=X.elemOffset,oe=X.elemRemove,ie=X.elemStyle,ae=X.formInputIsFocused,re=X.elemIsHidden,le=U(),se=function(e){return'control-bar-left'===e||'control-bar-right'===e||'ellipsis'===e||'lower-playbar'==e||'upper-playbar'===e},de=['above-control-bar','background','control-bar-left','control-bar-right','ellipsis','foreground','left-flyout','lower-playbar','right-flyout','upper-playbar'].reduce(function(e,t){return e[t]=!0,e},{}),ue=34,pe=16,ce=function(e){return e.pcfButtonWidth?e.pcfButtonWidth():null==e.constructor.width?40:e.constructor.width},ye=function(e){return e.pcfButtonHeight?e.pcfButtonHeight():null==e.constructor.height?ue:e.constructor.height},ge=function(e){function t(){var o;p(this,t);for(var e=arguments.length,i=Array(e),a=0;a<e;a++)i[a]=arguments[a];return o=n.call.apply(n,[this].concat(i)),C(b(o),'onBlurButton',function(e,t){var n=t.constructor.type;se(n)&&(t.__isFocused=!1,o.render())}),C(b(o),'onFocusButton',function(e,t){var n=t.constructor.type;se(n)&&(t.__isFocused=!0,o.render())}),C(b(o),'onFocusComplete',function(){o.impl.trigger('focuscomplete')}),C(b(o),'onFocusIn',function(t){if(o.isMostRecentFocusViaMouse=H(),(H()||o._isMouseDownFromTouch)&&t.srcElement===o.layoutRef)return void t.srcElement.blur();o.updateFocusedControl(t.target);var e=o.isKeyboardFocused;o.isKeyboardFocused=!(H()||o._isMouseDownFromTouch),!e&&o.isKeyboardFocused&&(o.impl.trigger('focusin',t),o.maybeToggleControls(),o.impl.enterInputContext('player-focus'))}),C(b(o),'onFocusOut',function(t){o.updateFocusedControl(null),o.isKeyboardFocused?G(''.concat(o.impl.uuid,'.maybe_toggle_on_blur'),function(){document.activeElement&&te(document.activeElement,o.layoutRef)||(o.isKeyboardFocused=!1,o.impl.trigger('focusout',t),o.impl.exitInputContext('player-focus'),o.maybeToggleControls())},1e3):G(''.concat(o.impl.uuid,'.maybe_toggle_on_blur'),o.maybeToggleControls,50)}),C(b(o),'onKeyDown',function(t){if(t.target===o.layoutRef){var e=t.keyCode,n=t.__handledAlready;n||32!==e&&13!==e||o.togglePlay()}}),C(b(o),'onMouseEnter',function(t){o.impl.trigger('mouseenter',t),o.isHovering=!0,o.maybeToggleControls(),o.impl.enterInputContext('player-mouseover')}),C(b(o),'onMouseLeave',function(t){o.impl.trigger('mouseleave',t),o.isHovering=!1,o.maybeToggleControls(),o.impl.exitInputContext('player-mouseover')}),C(b(o),'onMouseMove',function(t){if(!le.touchScreen&&'beforeplay'!==o.impl.state()){var e=o.lastPageX!==t.pageX||o.lastPageY!==t.pageY;e&&(o.lastMovedMouseAt=Date.now(),o.lastPageX=t.pageX,o.lastPageY=t.pageY),e&&(o.maybeToggleControls(),o.shouldShowControls()&&(clearTimeout(o.maybeToggleControlsTimeout),te(t.target,o.backgroundElem)?(o.lastMouseMoveWasFromBackground=!0,o.maybeToggleControlsTimeout=setTimeout(o.maybeToggleControls,o.showControlsTimeout())):(o.lastMouseMoveWasFromBackground=!1,o.maybeToggleControls())))}}),C(b(o),'onClick',function(t){var e;o.lastMovedMouseAt=Date.now();var n=null===(e=S['default'].PopoverV3)||void 0===e?void 0:e._activePopover,i=!H();n&&n.setShouldShowFocusOutline(i),o.lastPageX=t.pageX,o.lastPageY=t.pageY,te(t.target,o.backgroundElem)?le.touchScreen?(o.isBeforePlayOrReset()?o.impl.play():o.isChromeless()?o.togglePlay():le.ios.version&&10.1>le.ios.version?(o.tappedToHide=!1,o.impl.play()):o._areControlsVisible?o.tappedToHide=!o.tappedToHide:o.tappedToHide=!1,o.maybeToggleControls(),setTimeout(o.maybeToggleControls,o.showControlsTimeout())):o.togglePlay():'beforeplay'!==o.impl.state()&&(o.tappedToHide=!1,o.maybeToggleControls(),setTimeout(o.maybeToggleControls,o.showControlsTimeout()))}),C(b(o),'onDblClick',function(t){if(!le.touchScreen&&te(t.target,o.backgroundElem)){var e=o.impl;o.impl.isControlEnabled('fullscreenButton')&&(e.inFullscreen()?e.cancelFullscreen():e.requestFullscreen())}}),C(b(o),'onTouchStart',function(){o._cancelSwipe=!o.impl.inFullscreen()}),C(b(o),'onSwipe',function(t,e){if(!o._cancelSwipe){o._swipeCtx=e;var n=o.impl,i=n.height(),a=n.width(),r=e.absYDelta/i,l=e.absXDelta/a;if(175<e.timeDelta&&(.02>r||l>r))return o._cancelSwipe=!0,void S['default'].elem.animate(n.chrome,{transform:'translate(0, 0)'},{time:200,callback:function(){S['default'].elem.animate(n.chrome,{transform:''})}});if(.02<=r&&r>l){var s=e.yDelta/i;S['default'].elem.style(n.chrome,{transform:'translate(0, '.concat(-1*s*i,'px)')})}}}),C(b(o),'onPinch',function(t,e){if(o.impl.isControlEnabled('fullscreenButton')){o._pinchCtx=e;var n,i,a=o.impl;o.impl.inFullscreen()?(n=.3,i=2.5):(n=.8,i=2.5),e.pinchScale*=1>e.pinchScale?1+.5*(1-e.pinchScale):1+.25*(e.pinchScale-1);var r=Math.max(n,Math.min(i,e.pinchScale));S['default'].elem.style(a.chrome,{transform:'scale('.concat(r,')')})}}),C(b(o),'onTouchEnd',function(){if(o.impl.isControlEnabled('fullscreenButton')){var e=o._pinchCtx,t=o._swipeCtx;o._pinchCtx=null,o._swipeCtx=null;var n=o.impl;if(e)!n.inFullscreen()&&1.5<e.pinchScale?(S['default'].elem.style(n.chrome,{transform:''}),n.requestFullscreen()):n.inFullscreen()&&.7>e.pinchScale?(S['default'].elem.style(n.chrome,{transform:''}),n.cancelFullscreen()):S['default'].elem.animate(n.chrome,{transform:'scale(1)'},{time:400,callback:function(){S['default'].elem.style(n.chrome,{transform:''})}});else if(t){var i=n.height(),a=n.width(),r=t.absYDelta/i,l=t.absXDelta/a,s=function(){S['default'].elem.style(n.chrome,{transform:''})};if(.16<r&&r>l&&500>Date.now()-t.startedAt){o._cancelSwipe=!0;var d=0<t.yDelta?-1:1;S['default'].elem.animate(n.chrome,{transform:'translate(0, '.concat(d*i,'px)')},{time:200,callback:function(){n.cancelFullscreen(),s()}})}else o._cancelSwipe=!0,S['default'].elem.animate(n.chrome,{transform:'translate(0, 0)'},{time:200,callback:s})}}}),C(b(o),'maybeToggleControls',function(){if(!o._destroyed){var e=o._shouldShowControls;return o._shouldShowControls=o.shouldShowControls(),e===o._shouldShowControls?M.resolve():o.lastRenderPromise.then(function(){return o.render()})}}),C(b(o),'mountRefsFn',function(e){Y(o.mountRefs,e)}),C(b(o),'backgroundRefFn',function(t){o.backgroundElem=t}),o}k(t,e);var n=f(t);
1return y(t,[{key:'init',value:function(){var e=this;this.mountPromises=[],this.controls={},this.controlsByType={},this.dialogs=[],this.mountRefs={},this.buttonMountRefs={},this.lastRenderPromise=M.resolve(),this.lastMouseMoveWasFromBackground=!0,J().then(function(t){var n=e.impl.publicApi;n&&!n._wasPlayerLanguageSetViaApi&&e.impl.playerLanguage(t.code)}),this.domId||(this.domId=D('w-vulcan-v2-'))}},{key:'setupBindings',value:function(){var e=this;this._hasSetupBindings=!0;var t=this.impl;this.unbinds.push(t.on('play',function(){e.doneWaitingForPlay=!0,null!=e.tappedToHide&&(e.tappedToHide=!1),e.render(),e.maybeToggleControls(),setTimeout(e.maybeToggleControls,e.showControlsTimeout())}),t.on('pause',function(){le.touchScreen&&(null!=e.tappedToHide&&(e.tappedToHide=!1),e.maybeToggleControls())}),t.on('playrejected',function(){e.doneWaitingForPlay=!0,e.showVideoWrapper(),e.render()}),t.on('enter-fullscreen',function(){e._scale=null,e.cachedVideoHeight=null,e.cachedVideoWidth=null,e.render(),e.lastMouseMoveWasFromBackground=!0,e.maybeToggleControls(),G(''.concat(e.impl.uuid,'.maybe_toggle_on_fullscreen'),e.maybeToggleControls,e.showControlsTimeout())}),t.on('cancel-fullscreen',function(){e._scale=null,e.cachedVideoHeight=null,e.cachedVideoWidth=null,e.render(),e.lastMouseMoveWasFromBackground=!0,e.maybeToggleControls(),G(''.concat(e.impl.uuid,'.maybe_toggle_on_fullscreen'),e.maybeToggleControls,e.showControlsTimeout())}),t.on('up',function(){e._scale=null,e.cachedVideoHeight=null,e.cachedVideoWidth=null,e.render()}),t.on('playerlanguagechange',function(){e.render()}),t.on('playercolorchange',function(){e.render()}),t.on('popoverhide',function(){e.render()}),t.on('popovershow',function(){e.render()}),t.on('widthchange',function(){e._scale=null,e._isShowingMore=null,e.cachedVideoWidth=null,e.render()}),t.on('heightchange',function(){e._scale=null,e.cachedVideoHeight=null,e.render()}),S['default'].on('controldefined',function(){e.render()}),$(document,'keyup',function(n){ae()||'player-mouseover'===t.getInputContext()&&!1!==t._opts.hoverHotkeysEnabled&&n.keyCode===32&&e.togglePlay()}),$(window,'mouseout',function(t){var n=t.relatedTarget||t.toElement;n&&'HTML'!==n.nodeName||(e.isHovering=!1,e.impl.exitInputContext('player-mouseover'))}),$(document,'touchend',function(){R()&&(e._isMouseDownFromTouch=!0),setTimeout(function(){e._isMouseDownFromTouch=!1,e.render()},50)}),$(window,'languagechange',function(){J().then(function(t){var n=e.impl.publicApi,o=e.impl.playerLanguage().code!==t.code;n&&!n._wasPlayerLanguageSetViaApi&&o&&e.impl.playerLanguage(t.code)})})),t.whenVideoElementInDom().then(function(){e.unbinds.push(e.impl.engine.bind('webkitplaybacktargetavailabilitychanged',function(){setTimeout(function(){e.render()},0)}))}),t.whenVideoElementInDom().then(function(){e.unbinds.push(e.impl.engine.bind('audiotracksupdated',function(){setTimeout(function(){e.render()},0)}))})}},{key:'render',value:function(){var e=this;if(this.isRendering&&this.lastRenderPromise)return this.queuedRenderPromise?this.queuedRenderPromise:(this.queuedRenderPromise=this.lastRenderPromise.then(function(){return e.render().then(function(){e.queuedRenderPromise=void 0})}),this.queuedRenderPromise);var t=this.impl;if(this._destroyed||!t.grid)return new M(function(){});if(this._hasSetupBindings||this.setupBindings(),this.cssResetStyle||(this.cssResetStyle=Z(t.uiContainer,this.cssResetContent())),null==this.doneWaitingForPlay){var n=t._isPlayPending&&'beforeplay'===t.state();this.doneWaitingForPlay=!n}return this.lastRenderPromise=new M(function(n){e.isRendering=!0;var o=e.setupControls(),i=o.newControls,a=o.existingControls;e.setControlProps();var r=null==e._shouldShowControls?e.shouldShowControls():e._shouldShowControls;e._areControlsVisible=e._shouldShowControls;h(O(P['default'],{afterRender:0<i.length?function(){e.afterRender(a,i,n)}:null,allMounted:e.allMounted,backgroundRef:e.backgroundRefFn,bottomBarRightInnerRef:function(t){e.bottomBarRightInnerRef=t},color:t.playerColor(),controlsByType:e.controlsByType,domId:e.domId,doneWaitingForPlay:e.doneWaitingForPlay,fullControlBarHeight:e.fullControlBarHeight(),inFullscreen:t.inFullscreen(),inNativeMode:e.inNativeMode(),isMouseDownFromTouch:e._isMouseDownFromTouch,isShowingMore:e.isShowingMore(),hasClickedToShowMore:null!=e._isShowingMore,layoutRef:function(t){return e.layoutRef=t},leftControlWidth:e.leftControlWidth,lowerControlBarHeight:e.lowerControlBarHeight(),mountRefs:e.mountRefsFn,newLook:e.impl.isNewLook(),noMixBlendMode:t._opts.noMixBlendMode,onClick:e.onClick,onDblClick:e.onDblClick,onFocusComplete:e.onFocusComplete,onfocusin:e.onFocusIn,onfocusout:e.onFocusOut,onKeyDown:e.onKeyDown,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onMouseMove:e.onMouseMove,onPinch:e.onPinch,onSwipe:e.onSwipe,onTouchEnd:e.onTouchEnd,onTouchStart:e.onTouchStart,playbarMode:e.playbarMode(),playerLanguage:t.playerLanguage(),rightControlWidth:e.rightControlWidth,shouldShowControls:r,upperControlBarHeight:e.upperControlBarHeight(),videoHeight:e.videoHeight(),videoState:t.state(),videoWidth:e.videoWidth()}
1),t.uiContainer),0===i.length&&e.afterRender(a,i,n)}),this.lastRenderPromise}},{key:'afterRender',value:function(e,t,n){var o=this;if(this._destroyed||!this.impl.grid)return void(this.isRendering=!1);try{if(this.runOnControlPropsUpdated(e),this.renderButtons(e),this.mountControls(t),this.didFirstRender)n();else{this.didFirstRender=!0;var i=new M(function(e){return G(''.concat(o.impl.uuid,'.two_seconds_elapsed'),e,2e3)});this.allMountedPromise=M.race([i,M.all(this.mountPromises)]).catch(function(t){setTimeout(function(){throw t},0)}).then(function(){o.allMounted=!0,o.render().then(n)}),0===this.mountPromises.length&&n(),this.doneWaitingForPlay?this.allMountedPromise.then(function(){o.showVideoWrapper()}):(G(''.concat(this.impl.uuid,'.bail_on_autoplay'),function(){o.doneWaitingForPlay||(o.doneWaitingForPlay=!0,o.showVideoWrapper(),o.render())},2e3),this.showVideoWrapperAfterInitialPlay())}}catch(t){setTimeout(function(){throw t},0)}finally{this.isRendering=!1}}},{key:'setControlProps',value:function(){var e=this,t=this.impl,n=this.anyDialogOpen(),o=this.isChromeless(),i=this.shouldShowControls(),a=this.isHovering,r=this.isMostRecentFocusViaMouse,l=t.playerLanguage(),s=this.scale(),d=this.videoHeight(),u=this.videoWidth(),p=this.vulcOffset=ne(t.grid.center),c=this.bottomBarOffset={left:p.left,top:p.top+this.videoHeight()-this.lowerControlBarHeight()},y=this.getControlsByType('upper-playbar')[0];y&&(y.__prevProps=y.props,y.props={anyDialogOpen:n,chromeless:o,controlsAreVisible:i,focusNextVisibleControl:this.createFocusNextControlFunction(y),height:pe*s,isMostRecentFocusViaMouse:r,left:0,newLook:this.impl.isNewLook(),playerLanguage:l,scale:s,top:c.top,videoHeight:d,videoWidth:u,width:u});var g=0,m=0;this.getControlsByType('control-bar-left').map(function(t){t.__prevProps=t.props,t.props={anyDialogOpen:n,chromeless:o,controlsAreVisible:i,focusNextVisibleControl:e.createFocusNextControlFunction(t),height:Math.round(ye(t)*s),isMostRecentFocusViaMouse:r,left:m,newLook:e.impl.isNewLook(),playerLanguage:l,scale:s,videoHeight:d,videoWidth:u,width:Math.round(ce(t))*s},m+=t.props.width,g+=t.props.width}),this.leftControlWidth=m,this.getControlsByType('control-bar-right','ellipsis').map(function(t){t.__prevProps=t.props,t.props={anyDialogOpen:n,chromeless:o,controlsAreVisible:i,focusNextVisibleControl:e.createFocusNextControlFunction(t),height:Math.round(ye(t)*s),isMostRecentFocusViaMouse:r,newLook:e.impl.isNewLook(),playerLanguage:l,scale:s,videoHeight:d,videoWidth:u,width:Math.round(ce(t))*s},g+=t.props.width});var h=0;this.getControlsByType('ellipsis').slice().reverse().map(function(e){h+=e.props.width,e.props.left=u-h}),this.ellipsisWidth=h,this.getControlsByType('control-bar-right').slice().reverse().map(function(e){h+=e.props.width,e.props.left=u-h}),this.rightControlWidth=h;var f=this.leftControlWidth+(0<this.ellipsisWidth?this.ellipsisWidth:this.rightControlWidth),A=u-f,b=this.getControlsByType('lower-playbar')[0];b&&(b.__prevProps=b.props,b.props={anyDialogOpen:n,chromeless:o,controlsAreVisible:i,focusNextVisibleControl:this.createFocusNextControlFunction(b),height:this.lowerControlBarHeight(),isMostRecentFocusViaMouse:r,left:m,newLook:this.impl.isNewLook(),playerLanguage:l,scale:s,videoHeight:d,videoWidth:u,width:A}),this.lowerPlaybarControlWidth=A;var _=this.fullControlBarHeight();['background','foreground','left-flyout','above-control-bar','right-flyout'].map(function(t){(e.controlsByType[t]||[]).map(function(t){t.__prevProps=t.props,t.props={anyDialogOpen:n,chromeless:o,controlBarHeight:_,isFocusable:e.allMounted&&e.doneWaitingForPlay,controlsAreVisible:i,focusNextVisibleControl:e.createFocusNextControlFunction(t),isHoveringOnPlayer:a,isMostRecentFocusViaMouse:r,newLook:e.impl.isNewLook(),playerLanguage:l,scale:s,videoHeight:d,videoWidth:u}})});var v=this.playbarMode();y?(this.upperPlaybarControlHeight='upper'===this.playbarMode()?y.props.height||0:0,y.props.playbarMode=v):this.upperPlaybarControlHeight=0;var k=c.top+this.upperPlaybarControlHeight;this.eachButtonControl(function(e){e.props.top=k}),b&&Y(b.props,{playbarMode:v,top:k}),this.eachControl(function(t){t.props.leftControlBarWidth=e.leftControlWidth,t.props.right
1ControlBarWidth=e.rightControlWidth})}},{key:'runOnControlPropsUpdated',value:function(e){e.forEach(function(e){e.constructor.type;if('function'==typeof e.onControlPropsUpdated)try{e.onControlPropsUpdated(e.__prevProps||{})}catch(t){setTimeout(function(){throw t},0)}e.__prevProps=null})}},{key:'setupControls',value:function(){var e=this,t=this.impl,n=!1,o=[];for(var i in this.controls){var a=this.controls[i];if(de[a.constructor.type]){var r=a.constructor.shouldMount;if(t.isControlDisabled(i)||r&&!r(t.publicApi)){if(a.destroy)try{a.destroy()}catch(t){setTimeout(function(){throw t},1)}a.__destroyed=!0,delete this.mountRefs[i],delete this.buttonMountRefs[i],delete this.controls[he(a)],n=!0,o.push(a),t.trigger('controldestroyed',i)}}}var l=!1,s=[],d=[],u=function(n){var o=S['default']._controlDefinitions[n];if(!de[o.type])return'continue';var i=null!=e.controls[n],a=!t.isControlDisabled(n)&&(null==o.shouldMount||o.shouldMount(t.publicApi));if(a&&i&&d.push(e.controls[n]),!i&&a){try{var r=e.controls[n]=new o(t);r.mounted=new M(function(e){r.__didMount=function(){r.mounted.isResolved=!0,t.trigger('controlmounted',n),e()}}),s.push(r)}catch(t){setTimeout(function(){throw t},1)}l=!0}};for(var p in S['default']._controlDefinitions){var c=u(p)}if(l||n){var y={};for(var g in this.eachControl(function(e){var t=e.constructor.type;null==y[t]&&(y[t]=[]),y[t].push(e)}),y)y[g].sort(function(e,t){return(e.constructor.sortValue||0)-(t.constructor.sortValue||0)});this.controlsByType=y,t.publicApi.controls=t.controls=this.controls}return{newControls:s,existingControls:d,destroyedControls:o}}},{key:'whenControlMounted',value:function(e){var t=this;return new M(function(o){var n=t.controls[e];n&&n.mounted?n.mounted.then(function(){o(n)}):t.impl.bind('controlmounted',function(i){if(i===e)return o(t.controls[e]),t.impl.unbind})})}},{key:'mountControls',value:function(e){var t=this;e.forEach(function(e){var n=e.constructor.type,o=he(e),i=t.mountRefs[o];if(e.nextControlOfSameType||(e.nextControlOfSameType=function(){var n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:e;return t.nextControlOfSameType(n)}),e.loading||(e.loading=function(o){var i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return'control-bar-right'===n?t.renderButtonWithDialogLoader(e,o):t.renderHourglassLoader(o,i)}),'control-bar-left'!==n&&'control-bar-right'!==n&&'ellipsis'!==n)t.mountControl(e,function(){return e.mount(i)});else if(e.mountButton){var a=t.renderButtonWithDialog(e);t.mountControl(e,function(){return e.mountButton(a)})}else e.mount&&t.mountControl(e,function(){return e.mount(i)})})}},{key:'mountControl',value:function(e,t){try{var n=he(e),o=t();o&&o.then&&o.catch?(o.handle=n,this.mountPromises.push(o),o.then(function(){e.__didMount()})):e.__didMount()}catch(t){setTimeout(function(){throw t},0)}}},{key:'renderButtons',value:function(e){var t=this;e.forEach(function(e){e.mountButton&&t.renderButtonWithDialog(e)})}},{key:'renderButtonWithDialog',value:function(t){var e=this,n=he(t);try{t.mountDialog&&!t.dialog&&(t.dialog=new B['default'](this,{dialogWillOpen:me(t.controlDialogWillOpen,t),dialogOpened:me(t.controlDialogOpened,t),dialogWillClose:me(t.controlDialogWillClose,t),dialogClosed:me(t.controlDialogClosed,t),control:t}),this.dialogs.push(t.dialog))}catch(t){setTimeout(function(){throw t},0)}if(t.setButtonLabel||(t.setButtonLabel=function(n){t.__buttonLabel=n,e.renderButtonWithDialog(t)}),!!this.mountRefs[n]){var o;return h(O(E['default'],u({},t.props,{buttonLabel:t.__buttonLabel,buttonRef:function(n){t.buttonElement=n},closeDialogOnFocusOut:this.impl._opts.closeDialogsOnFocusOut,color:this.impl.playerColor(),control:t,key:''.concat(n,'_button_and_dialog'),newLook:this.impl.isNewLook(),onBlurButton:this.onBlurButton,onFocusButton:this.onFocusButton,rootRef:function(t){return e.buttonMountRefs[n]=t},stubRef:function(t){return o=t},videoState:this.impl.state()})),this.mountRefs[n]),o}}},{key:'renderButtonWithDialogLoader',value:function(e,t){var n=this;return new M(function(o){var i=''.concat(n.impl.uuid,'.loading_dialog_indicator.').concat(D());
1G(i,function(){n.setLoadingDialogAndRender(e,!0),le.touchScreen?$(document,'touchstart',function(){try{n.setLoadingDialogAndRender(e,!1)}catch(t){setTimeout(function(){throw t},0)}return o(),ee}):$(document,'mousedown',function(){try{n.setLoadingDialogAndRender(e,!1)}catch(t){setTimeout(function(){throw t},0)}return o(),ee})},300),t.then(function(){Q(i),n.setLoadingDialogAndRender(e,!1),o()})})}},{key:'setLoadingDialogAndRender',value:function(e,t){e.__isDialogLoading=t,this.renderButtonWithDialog(e)}},{key:'renderHourglassLoader',value:function(e,t){var n=this;return new M(function(o){var i=''.concat(n.impl.uuid,'.loading_indicator.').concat(D());G(i,function(){n.controls.loadingHourglass.show(t),le.touchScreen?$(document,'touchstart',function(){try{n.controls.loadingHourglass.hide()}catch(t){setTimeout(function(){throw t},0)}return o(),ee}):$(document,'mousedown',function(){try{n.controls.loadingHourglass.hide()}catch(t){setTimeout(function(){throw t},0)}return o(),ee})},300),e.then(function(){Q(i),n.controls.loadingHourglass.hide(),o()})})}},{key:'eachControl',value:function(e){for(var t in this.controls)de[this.controls[t].constructor.type]&&e(this.controls[t])}},{key:'eachButtonControl',value:function(e){var t=this.getControlsByType('control-bar-left','control-bar-right','ellipsis');t.forEach(e)}},{key:'playbarMode',value:function(){return this.impl.isNewLook()?'lower':400>this.spaceForLowerPlaybar()?'upper':'lower'}},{key:'spaceForLowerPlaybar',value:function(){var e=0;return this.eachButtonControl(function(t){e+=ce(t)}),this.videoWidth()-e*this.scale()}},{key:'lowerControlBarHeight',value:function(){return Math.round(ue*this.scale())}},{key:'upperControlBarHeight',value:function(){return this.impl.isControlEnabled('upperPlaybar')?'upper'===this.playbarMode()?Math.round(pe*this.scale()):0:0}},{key:'fullControlBarHeight',value:function(){var e=this.impl;return this.isBeforePlayOrReset()&&!e._opts.controlsVisibleOnLoad||this.isChromeless()?0:this.lowerControlBarHeight()+this.upperControlBarHeight()}},{key:'isBeforePlayOrReset',value:function(){var e=this.impl;return'beforeplay'===e.state()||e._opts&&'reset'===e._opts.endVideoBehavior&&'ended'===e.state()}},{key:'shouldShowControls',value:function(){var e,t=this.impl;return e=!this.isChromeless()&&(this.isBeforePlayOrReset()&&this.doneWaitingForPlay?null==t._opts.controlsVisibleOnLoad||!0===t._opts.controlsVisibleOnLoad:!!this.hasRequestedControlsVisible()||(le.touchScreen?!(null==this.tappedToHide||this.tappedToHide)&&(!!('playing'!==t.state()||this.anyDialogOpen())||!!(this.lastMovedMouseAt&&3e3>Date.now()-this.lastMovedMouseAt&&this.lastMovedMouseAt>t.lastPlayInfo().issuedAt)):!!this.anyDialogOpen()||!!this.isKeyboardFocused||!!(t.inFullscreen()||this.isHovering)&&(!!(this.lastMovedMouseAt&&3e3>Date.now()-this.lastMovedMouseAt)||!this.lastMouseMoveWasFromBackground))),e}},{key:'hasRequestedControlsVisible',value:function(){var e=this.impl._visibilityRequests;for(var t in e)if(e[t])return!0;return!1}},{key:'createFocusNextControlFunction',value:function(e){var t=this,n=this.nextVisibleFocusableControl(e);return function(e){var o=n;e&&(o=t.nextVisibleFocusableControl(e));var i=he(o),a=t.mountRefs[i];return t.focusNextVisibleElem(a)}}},{key:'focusNextVisibleElem',value:function(e){for(var t=e?e:this.impl.uiContainer,n=this.getVisibleFocusableElems(t),o=0,a=0;a<n.length;a++)if(document.activeElement===n[a]){o=a;break}return 0!==n.length&&(o===n.length-1?n[0].focus():n[o+1].focus(),!0)}},{key:'getVisibleFocusableElems',value:function(e){var t=e.querySelectorAll('button, [href], input, select, textarea, [tabindex="0"]');return Array.prototype.slice.call(t).filter(function(e){return!re(e)})}},{key:'updateFocusedControl',value:function(e){var t=this;this.eachControl(function(n){var o=n.constructor.handle,i=t.mountRefs[o];n.__isFocused=e&&te(e,i)}),this.render()}},{key:'showControlsTimeout',value:function(){return this.impl.inFullscreen()||le.touchScreen?3e3:5e3}},{key:'togglePlay',value:function(){var e=this.impl;'playing'===e.state()?e.pause():e.play()}},{key:'showVideoWrapperAfterInitialPlay',value:function(){var e=this;
1this.impl.ready(function(){var t=[e.impl._playPromise,e.impl._seekPromise].filter(function(e){return null!=e});return M.all(t).then(function(){e.showVideoWrapper()})})}},{key:'showVideoWrapper',value:function(){ie(this.impl.videoWrapper,{clip:''})}},{key:'anyDialogOpen',value:function(){for(var e in this.controls){var t=this.controls[e];if(t.dialog&&t.dialog.isOpen())return!0}return!1}},{key:'openDialog',value:function(e){this.dialogs.map(function(t){t!==e&&t.close()}),this.render()}},{key:'closeDialog',value:function(){this.render()}},{key:'resizeDialog',value:function(){this.render()}},{key:'videoWidth',value:function(){return null==this.cachedVideoWidth?this.cachedVideoWidth=this.impl.videoWidth():this.cachedVideoWidth}},{key:'videoHeight',value:function(){return null==this.cachedVideoHeight?this.cachedVideoHeight=this.impl.videoHeight():this.cachedVideoHeight}},{key:'scale',value:function(){return null==this._scale?'auto'===this.impl.controlScaling()?this._scale=Math.min(1.3,Math.max(.6,N(this.impl))):this.impl.controlScaling():this._scale}},{key:'destroy',value:function(){for(var e in this.buttonMountRefs)this.buttonMountRefs.hasOwnProperty(e)&&h(O('nothing',null),this.mountRefs[e]);h(O('nothing',null),this.impl.uiContainer),this.eachControl(function(e){if(e.destroy)try{e.destroy()}catch(t){setTimeout(function(){throw t},0)}e.__destroyed=!0}),this.unbinds.forEach(function(e){return e()}),oe(this.cssResetStyle),this.cssResetStyle=null,g(v(t.prototype),'destroy',this).call(this)}},{key:'nextVisibleFocusableControl',value:function(e){var t=this.nextControlOfSameType(e);if(t)return t;for(var n,o,a=e.constructor.handle,r=Object.keys(this.mountRefs),l=r.indexOf(a)+1,s=r.slice(l),d=0;d<s.length;d++)if(o=this.mountRefs[s[d]],0<this.getVisibleFocusableElems(o).length){n=s[d];break}if(n)return n}},{key:'nextControlOfSameType',value:function(e){var t=e.constructor.type,n=this.controlsByType[t],o=n.indexOf(e),i=n[o+1];return'control-bar-left'===t&&(!i&&this.controlsByType['lower-playbar']&&(i=this.controlsByType['lower-playbar'][0]),!i&&this.controlsByType['control-bar-right']&&(i=this.controlsByType['control-bar-right'][0]),!i&&this.controlsByType.ellipsis&&(i=this.controlsByType.ellipsis[0])),i}},{key:'hasAnyVideoChromeControls',value:function(){for(var e in this.controls){var t=this.controls[e];if(t.constructor.isVideoChrome||se(t.constructor.type))return!0}return!1}},{key:'hasRequestedChromeless',value:function(){var e=this.impl._visibilityRequests;for(var t in e)if(!1===e[t])return!0;return!1}},{key:'isChromeless',value:function(){return this.inNativeMode()||this.impl._opts.chromeless||this.hasRequestedChromeless()||!this.hasAnyVideoChromeControls()}},{key:'inNativeMode',value:function(){var e=this.impl._opts;return!0===e.nativeMode||le.ipad&&le.ios.version&&10.1>le.ios.version||!1===e.playsinline&&(le.ipad||le.iphone||le.android)&&!/two_stroke/.test(this.impl.bestEngine())}},{key:'cssResetContent',value:function(){var e='#'.concat(this.impl.chrome.id,' #').concat(this.impl.grid.wrapper.id),t=Object(T.cssResetForSelector)(''.concat(e,' '),'.w-css-reset'),n=Object(T.cssResetForSelector)(''.concat(e,' .w-css-reset-tree '),'');return'\n '.concat(t,'\n ').concat(n,'\n ').concat(e,' .w-css-reset-max-width-none-important{max-width:none!important}\n ').concat(e,' .w-css-reset-button-important{border-radius:0!important;color:#fff!important;}\n ')}},{key:'hasRendered',value:function(){return!!this.allMounted}},{key:'shouldShowMoreDefaultValue',value:function(){var e=this.rightControlWidth-this.ellipsisWidth,t=e/this.videoWidth();return .35>t}},{key:'isShowingMore',value:function(){var e=this.controlsByType.ellipsis;if(e){var t=this.getControlsByType('lower-playbar');if(0===t.length)return!0;var n=0<t.filter(function(e){return e.__isFocused}).length;if(n)return!1;var o=0<this.getControlsByType('control-bar-right').filter(function(e){return e.__isFocused}).length;return!!o||(null==this._isShowingMore?this.shouldShowMoreDefaultValue():this._isShowingMore)}}},{key:'showMore',value:function(){return this._isShowingMore=!0,this.render()}}
1,{key:'showLess',value:function(){return this.dialogs.forEach(function(e){return e.close()}),this._isShowingMore=!1,this.render()}},{key:'getControlsByType',value:function(){for(var e=this,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];if(1===n.length&&this.controlsByType[n[0]])return this.controlsByType[n[0]];var a=[];return n.forEach(function(t){a.push.apply(a,i(e.controlsByType[t]||[]))}),a}}]),t}(x.PlayerBehavior);ge.handle='ui';var me=function(e,t){return e?e.bind(t):null},he=function(e){return e.constructor.handle};t['default']=ge},607:function(e,t,n){'use strict';n.r(t);var A=n(2),b=n(362),_=n(203);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function i(e){for(var t,n=1;n<arguments.length;n++)t=null==arguments[n]?{}:arguments[n],n%2?a(Object(t),!0).forEach(function(n){f(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):a(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))});return e}function r(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function l(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function s(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}function d(e){return function(){var t,n=y(e);if(c()){var o=y(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return u(this,t)}}function u(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:p(e)}function p(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function c(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function y(e){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},y(e)}function g(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}}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},m(e,t)}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=A['default'].lib('utilities/color'),k=A['default'].lib('preact'),w=k.h,h=k.render,C=k.Component,S=A['default'].lib('utilities/detect'),P=S.cachedDetect,B=A['default'].lib('utilities/obj'),E=B.assign,T=A['default'].lib('player/lib/elem'),x=T.elemHasClass,M=T.elemAncestorHasClass,D=A['default'].lib('utilities/isMouseDown'),I=D.isMouseDownRecently,O=P(),F=function(e){function t(e){var o;return r(this,t),o=n.call(this,e),f(p(o),'onFocus',function(){o.props.isMouseDownFromTouch||I()||o.setState({isKeyboardFocused:!0}),o.props.onFocusComplete()}),f(p(o),'onBlur',function(){o.state.isKeyboardFocused&&o.setState({isKeyboardFocused:!1})}),f(p(o),'onFocusIn',function(t){o.props.onfocusin&&o.props.onfocusin(t)}),f(p(o),'onFocusOut',function(t){o.props.onfocusout&&o.props.onfocusout(t)}),f(p(o),'onClick',function(t){if(I()&&o.setState({isKeyboardFocused:!1}),L(t)&&t.preventDefault(),o.props.onClick)return o.props.onClick(t)}),f(p(o),'onTouchEnd',function(t){if(o.props.onTouchEnd)return o.props.onTouchEnd(t)}),o.state={areControlsOpaque:e.shouldShowControls,isKeyboardFocused:!1},o}g(t,e);var n=d(t);return s(t,[{key:'componentWillReceiveProps',value:function(e){this.handleControlBarAnimation(e)}},{key:'render',value:function(){var t=this;return this.mountRefs={},w(_['default'],{class:'w-vulcan-v2 w-css-reset',elemRef:this.props.layoutRef,id:this.props.domId,onBlur:this.onBlur,onClick:this.onClick,onDblClick:this.props.onDblClick,onFocus:this.onFocus,onfocusin:this.props.onfocusin,onfocusout:this.props.onfocusout,onKeyDown:this.props.onKeyDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onMouseMove:this.props.onMouseMove,onPinch:this.props.onPinch,onSwipe:this.props.onSwipe,onTouchEnd:this.onTouchEnd,onTouchMove:this.props.onTouchMove,onTouchStart:this.props.onTouchStart,style:this.wrapperStyle()},w('div',{class:'w-vulcan--background w-css-reset',style:this.backgroundStyle(),ref:this.props.backgroundRef},this.renderControlCells('background')),w('div',{class:'w-vulcan-overlays-table w-css-reset',style:this.layoutTableStyle()},w('div',{class:'w-vulcan-overlays--left w-css-reset',style:this.tdLeftStyle()},w('div',{style:this.tdLayoutInnerStyle(),class:'w-css-reset'},this.renderControlCells('left-flyout',{height:'100%',pointerEvents:'auto'}))),w('div',{class:'w-vulcan-overlays--center w-css-reset',style:this.tdCenterStyle()},w('div',{style:this.tdLayoutInnerStyle(),class:'w-css-reset'},this.renderControlCells('above-control-bar',{pointerEvents:'auto'}))),w('div',{class:'w-vulcan-overlays--right w-css-reset',style:this.tdRightStyle()},w('div',{style:this.tdLayoutInnerStyle(),class:'w-css-reset'},this.renderControlCells('right-flyout',{height:'100%',pointerEvents:'auto'})))),w('div',{class:'w-bottom-bar w-css-reset',style:this.bottomBarStyle(),ref:function(n){return t.bottomBar=n}},w('div',{class:'w-bottom-bar-upper w-css-reset',style:this.upperPlaybarStyle()},w('div',{style:this.upperBgStyle()},w('div',{style:this.blendStyle()}),w('div',{style:this.bgOverlayStyle()}
1)),w('div',{style:this.upperPlaybarOpacityStyle()},this.renderControlCells('upper-playbar',this.upperPlaybarInnerStyle()))),w('div',{class:'w-bottom-bar-lower w-css-reset',style:this.bottomBarLowerStyle()},w('div',{style:this.leftBgStyle()},w('div',{style:this.blendStyle()}),w('div',{style:this.bgOverlayStyle()})),w('div',{style:this.rightBgStyle()},w('div',{style:this.blendStyle()}),w('div',{style:this.bgOverlayStyle()})),w('div',{class:'w-bottom-bar-left w-css-reset',style:this.bottomBarLeftStyle()},w('div',{class:'w-bottom-bar-left-inner w-css-reset',style:this.bottomBarLeftInnerStyle()},this.renderControlCells('control-bar-left',{display:'inline-block',verticalAlign:'top'}))),w('div',{class:'w-bottom-bar-middle w-css-reset',style:this.bottomBarMiddleStyle()},w('div',{class:'w-bottom-bar-middle-inner w-css-reset',style:this.bottomBarMiddleInnerStyle()},this.renderControlCells('lower-playbar',this.lowerPlaybarStyle()))),w('div',{class:'w-bottom-bar-right w-css-reset',style:this.bottomBarRightStyle()},w('div',{class:'w-bottom-bar-right-inner-anchor w-css-reset',style:this.bottomBarRightInnerAnchorStyle()},w('div',{class:'w-bottom-bar-right-inner w-css-reset',style:this.bottomBarRightInnerStyle()},this.renderControlCells('control-bar-right',{display:'inline-block',verticalAlign:'top'}))),w('div',{class:'w-ellipsis w-css-reset',style:this.ellipsisStyle()},this.renderControlCells('ellipsis',{display:'inline-block',verticalAlign:'top'}))))),w('div',{class:'w-foreground w-css-reset',style:this.foregroundStyle()},this.renderControlCells('foreground',{pointerEvents:'auto'})))}},{key:'componentDidMount',value:function(){this.props.mountRefs&&this.props.mountRefs(this.mountRefs),this.props.afterRender&&this.props.afterRender()}},{key:'componentDidUpdate',value:function(){var e=this.props.mountRefs,t=this.mountRefs,n=this.props.afterRender;setTimeout(function(){e&&e(t),n&&n()},1)}},{key:'wrapperStyle',value:function(){var e=this.props.inFullscreen&&!this.props.shouldShowControls;return{boxSizing:'border-box',cursor:e?'none':'default',height:'100%',left:0,pointerEvents:this.props.inNativeMode?'none':'',position:'absolute',visibility:this.props.allMounted&&this.props.doneWaitingForPlay?'visible':'hidden',top:0,width:'100%'}}},{key:'foregroundStyle',value:function(){return{height:'100%',left:0,pointerEvents:'none',position:'absolute',top:0,width:'100%'}}},{key:'backgroundStyle',value:function(){return{height:'100%',left:0,pointerEvents:this.props.inNativeMode?'none':'',position:'absolute',top:0,width:'100%'}}},{key:'layoutTableStyle',value:function(){return{display:'table',pointerEvents:'none',position:'absolute',width:'100%'}}},{key:'tdLeftStyle',value:function(){return this.standardCellStyle(0)}},{key:'tdCenterStyle',value:function(){return this.standardCellStyle('100%')}},{key:'tdRightStyle',value:function(){return this.standardCellStyle(0)}},{key:'tdLayoutInnerStyle',value:function(){return{height:''.concat(this.props.videoHeight-this.props.fullControlBarHeight,'px')}}},{key:'upperPlaybarStyle',value:function(){var e='upper'===this.props.playbarMode;return{display:e?'block':'none',height:e?this.props.upperControlBarHeight:'auto',pointerEvents:this.state.areControlsOpaque?'auto':'none',position:'relative'}}},{key:'bottomBarStyle',value:function(){var e=this.state.areControlsOpaque,t=this.props.videoState,n=e||'beforeplay'!==t?'table':'none';return{bottom:0,borderCollapse:'collapse',display:n,height:''.concat(this.props.fullControlBarHeight,'px'),left:O.trident?0:'',pointerEvents:'none',position:'absolute',right:O.trident?'':0,tableLayout:'auto',width:'100%'}}},{key:'bottomBarLeftStyle',value:function(){return E(this.standardCellStyle(0),{opacity:this.getOpacity(),transition:this.getTransition()})}},{key:'bottomBarLeftInnerStyle',value:function(){return this.standardInnerStyle()}},{key:'bottomBarMiddleStyle',value:function(){return E(this.standardCellStyle('100%'),{opacity:this.getOpacity(),transition:this.getTransition()})}},{key:'bottomBarMiddleInnerStyle',value:function(){var e=this.props,t=e.hasClickedToShowMore,n=e.isShowingMore,o=n&&this.isEllipsisShowing(),a=t?150:0;return i({},this.standardInnerStyle(),{opacity:o?0:1,pointerEvents:o?'none':'auto',transform:'translateY('.concat(o?'-25%':0,')'),transition:'opacity '.concat(a,'ms, transform ').concat(a,'ms')})}},{key:'shouldMixBlendMode',value:function(){return!(O.trident||O.edge)&&!1===this.props.noMixBlendMode}},{key:'blendStyle',value:function(){var e=this.props,t=e.color,n=e.newLook,o=new v(t||'#000').alpha(1);return{background:o.toRgba(),display:n&&this.shouldMixBlendMode()?'block':'none',height:'100%',mixBlendMode:'darken',left:0,opacity:this.getOpacity(),position:'absolute',top:0,transition:this.getTransition(),width:'100%'}}},{key:'bgOverlayStyle',value:function(){var e=this.props,t=e.color,n=e.newLook,o=new v(t||'#000').alpha(n?.7:0);return n&&!this.shouldMixBlendMode()&&o.alpha(.85),{background:o.toRgba(),height:'100%',opacity:this.getOpacity(),left:0,position:'absolute',top:0,transition:this.getTransition(),width:'100%'}}},{key:'bottomBarRightStyle',value:function(){return E(this.standardCellStyle(0),{opacity:this.getOpacity(),transition:this.getTransition(),whiteSpace:'nowrap'})}},{key:'bottomBarRightInnerAnchorStyle',value:function(){var e=i({},this.standardInnerStyle(),{display:'inline-block',position:'relative',right:0,top:0,verticalAlign:'top'});return this.isEllipsisShowing()&&(e.height=0),e}},{key:'bottomBarRightInnerStyle',value:function(){var e=this.props,t=e.hasClickedToShowMore,n=e.isShowingMore,o=!this.isEllipsisShowing()||n,a=t?150:0;return i({},this.standardInnerStyle(),{display:'inline-block',opacity:o?1:0,pointerEvents:o?'auto':'none',position:this.isEllipsisShowing()?'absolute':'relative',right:0,top:0,transform:'translateY('.concat(o?0:'25%',')'),transition:'opacity '.concat(a,'ms, transform ').concat(a,'ms')})}},{key:'ellipsisStyle',value:function(){return i({},this.standardInnerStyle(),{display:this.props.controlsByType.ellipsis?'inline-block':'none'})}},{key:'standardCellStyle',value:function(e){return{display:'table-cell',verticalAlign:'top',position:'relative',width:e}}},{key:'standardInnerStyle',value:function(){return{height:this.props.lowerControlBarHeight,position:'relative',pointerEvents:this.state.areControlsOpaque?'auto':'none',whiteSpace:'nowrap'}}},{key:'renderControlCells',value:function(e){var t=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},o=this.props.controlsByType;return(o[e]||[]).map(function(e){var o=e.constructor.handle;return w(b['default'],{class:'w-css-reset',handle:o,key:o,mount:function(n){return t.mountRefs[o]=n},style:n})})}},{key:'handleControlBarAnimation',value:function(e){var t=this;e.shouldShowControls&&!this.props.shouldShowControls&&setTimeout(function(){t.setState({areControlsOpaque:!0})},1),!e.shouldShowControls&&this.props.shouldShowControls&&this.setState({areControlsOpaque:!1})}},{key:'getOpacity',value:function(){return this.state.areControlsOpaque?1:0}},{key:'getTransition',value:function(){return O.trident?'none':'opacity '.concat('beforeplay'===this.props.videoState?0:.2,'s')}},{key:'lowerPlaybarStyle',value:function(){return{height:'100%',position:'relative'}}},{key:'upperPlaybarOpacityStyle',value:function(){return{height:'100%',opacity:this.getOpacity(),position:'relative',transition:this.getTransition()}}},{key:'upperPlaybarInnerStyle',value:function(){return{height:'100%',position:'relative'}}},{key:'leftBgStyle',value:function(){var e=this.props,t=e.controlsByType,n=e.leftControlWidth,o=t['lower-playbar']||[],i=0<o.length?'100%':''.concat(n,'px');return{height:'100%',left:0,position:'absolute',top:0,width:i}}},{key:'rightBgStyle',value:function(){return 0<(this.props.controlsByType['lower-playbar']||[]).length?{display:'none'}:{height:'100%',position:'absolute',right:0,top:0,width:''.concat(this.props.right
1ControlWidth,'px')}}},{key:'upperBgStyle',value:function(){var e=this.props,t=e.controlsByType,n=e.videoWidth,o=t['upper-playbar']||[],i=0<o.length?'100%':''.concat(n,'px');return{height:'100%',left:0,position:'absolute',top:0,width:i}}},{key:'bottomBarLowerStyle',value:function(){return{position:'relative'}}},{key:'isEllipsisShowing',value:function(){return!!this.props.controlsByType.ellipsis}}]),t}(C),L=function(t){return t.target&&(x(t.target,'w-vulcan-v2-button')||M(t.target,'w-vulcan-v2-button'))};t['default']=F},608:function(e,t,n){'use strict';n.r(t);var l=n(2);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=l['default'].lib('promiscuous'),d=l['default'].lib('utilities/bindify'),u=d.bindify,p=function(){function e(t){var n=this,i=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};o(this,e),r(this,'dialogWillOpen',function(){return new s(function(e){if(n.config.dialogWillOpen){var t=n.config.dialogWillOpen();if(t&&t.then)return void t.then(e)}e()})}),r(this,'doOpen',function(){return new s(function(e){n._isOpen?e():(n._isOpen=!0,n._hasOpened=!0,n.ui.openDialog(n),setTimeout(e,170))})}),r(this,'dialogOpened',function(){return new s(function(e){n.config.dialogOpened&&n.config.dialogOpened(),e()})}),r(this,'close',function(){return n.control.mounted.then(function(){return n.isOpen()?n.dialogWillClose().then(n.doClose).then(n.dialogClosed):s.resolve()})}),r(this,'dialogWillClose',function(){return new s(function(e){if(n.config.dialogWillClose){var t=n.config.dialogWillClose();if(t&&t.then)return void t.then(e)}e()})}),r(this,'doClose',function(){return new s(function(e){n._isOpen?(n._isOpen=!1,n.ui.closeDialog(n),setTimeout(e,200)):e()})}),r(this,'dialogClosed',function(){return new s(function(e){n.config.dialogClosed&&n.config.dialogClosed(),e()})}),this.ui=t,this.config=i,this._isOpen=!1,this._hasOpened=!1,this.control=i.control}return a(e,[{key:'open',value:function(){var e=this;return this.control.mounted.then(function(){return e.isOpen()?s.resolve():e.dialogWillOpen().then(e.doOpen).then(e.dialogOpened)})}},{key:'isOpen',value:function(){return this._isOpen}},{key:'hasOpened',value:function(){return this._hasOpened}},{key:'resize',value:function(){this._resizeRequestedAt=Date.now(),this.ui.resizeDialog(this)}}]),e}();u(p.prototype);t['default']=p},609:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(610),A=n(611);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}
1function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=m['default'].lib('player/lib/elem'),_=b.elemBind,v=b.elemIsInside,k=b.elemUnbind,w=m['default'].lib('preact'),C=w.h,h=w.render,S=w.Component,P=function(e){function t(){var o;i(this,t);for(var e=arguments.length,a=Array(e),r=0;r<e;r++)a[r]=arguments[r];return o=n.call.apply(n,[this].concat(a)),g(d(o),'onClickButton',function(){var e=o.props.control;if(!1!==e.toggleDialogOnClick){var t=e.dialog;t&&(t.isOpen()?t.close():t.open())}e.onClickButton&&e.onClickButton()}),g(d(o),'onKeyboardFocusButton',function(t){if(t.relatedTarget!==o.dummyElem){var e=o.props,n=e.control,i=e.onFocusButton;i&&i(t,n),n.onFocusInButton&&n.onFocusInButton(t)}}),g(d(o),'onBlurButton',function(t){var e=o.props,n=e.closeDialogOnFocusOut,i=e.control,a=e.onBlurButton,r=i.dialog;setTimeout(function(){var e=document.activeElement;!1===n||e&&v(e,o.base)||!r||r.close(),a&&a(t,i),i.onFocusOutButton&&i.onFocusOutButton(t)},150)}),g(d(o),'onKeyDownButton',function(t){var e=o.props.control;e.onKeyDownButton&&e.onKeyDownButton(t)}),g(d(o),'onMouseEnter',function(t){o._isHovering=!0;var e=o.props.control;e.onMouseEnter&&e.onMouseEnter(t)}),g(d(o),'onMouseLeave',function(t){o._isHovering=!1;var e=o.props.control;e.onMouseLeave&&e.onMouseLeave(t)}),g(d(o),'onMouseDown',function(){o._isMouseDown=!0,_(document,'mouseup',o.onMouseUp)}),g(d(o),'onMouseUp',function(){o._isMouseDown=!1,k(document,'mouseup',o.onMouseUp)}),g(d(o),'onFocusOut',function(){setTimeout(function(){var e=o.props.control;!1!==o.props.closeDialogOnFocusOut&&e.dialog&&e.dialog.isOpen()&&(!document.activeElement||!v(document.activeElement,o.base))&&e.dialog.close()},500)}),g(d(o),'onFocusDummy',function(){var e=o.props.control;e.dialog.close();var t=e.nextControlOfSameType();t&&t.buttonElement&&t.buttonElement.focus&&t.buttonElement.focus()}),g(d(o),'onBeforeDisplayNone',function(){var e=o.props.control;if(o.dialogElem&&document.activeElement&&v(document.activeElement,o.dialogElem)){var t=e.nextControlOfSameType();t&&t.buttonElement?t.buttonElement.focus():e.buttonElement.focus()}}),g(d(o),'dialogRefFn',function(t){o.dialogElem=t,o.props.dialogRef&&o.props.dialogRef(t)}),o}c(t,e);var n=l(t);return r(t,[{key:'render',value:function(){var e=this.props.control,t=e.mountDialog&&e.dialog&&e.dialog.hasOpened();return C('div',{class:'w-vulcan-button-wrapper w-css-reset',style:this.wrapperStyle(),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseDown:this.onMouseDown,onfocusout:this.onFocusOut,ref:this.props.rootRef},this.renderControlBarButton(),t?this.renderControlBarDialog():null)}},{key:'componentDidMount',value:function(){var e=this.props.buttonRef;e&&e(this.buttonElem)}},{key:'componentDidUpdate',value:function(){var e=this.props.buttonRef;e&&e(this.buttonElem)}},{key:'renderControlBarButton',value:function(){var t=this,e=this.props,n=this.props.control,o=n.mountDialog&&n.dialog&&n.dialog.isOpen();return C(f['default'],{buttonLabel:this.props.buttonLabel,buttonRef:function(n){return t.buttonElem=n},color:e.color,controlsAreVisible:this.props.controlsAreVisible,handle:e.control.constructor.handle,isDialogOpen:o,isLoading:e.control.__isDialogLoading||!1,onBlur:this.onBlurButton,onClick:this.onClickButton,onKeyDownButton:this.onKeyDownButton,onKeyboardFocus:this.onKeyboardFocusButton,newLook:this.props.newLook,stubRef:e.stubRef,videoState:this.props.videoState})}},{key:'renderControlBarDialog',value:function(){var e=this.props,t=e.control,n=e.videoHeight-34*e.scale;return C(A['default'],{mount:function(n){return t.mountDialog(n)},left:t.props.left,top:t.props.top,canvasWidth:e.videoWidth,canvasHeight:n,scale:e.scale,isOpen:t.dialog.isOpen(),resizeRequestedAt:t.dialog._resizeRequestedAt,onFocusDummy:this.onFocusDummy,shouldRenderDummy:!!t.nextControlOfSameType(),dialogRef:this.dialogRefFn,onBeforeDisplayNone:this.onBeforeDisplayNone,handle:''.concat(t.constructor.handle,'__dialog'),newLook:this.props.newLook})}},{key:'wrapperStyle',value:function(){var e=this.props.control;return{display:'inline-block',height:''.concat(e.props.height,'px'),position:'relative',verticalAlign:'top',width:''.concat(e.props.width,'px')}}}]),t}(S);t['default']=P},61:function(e,t,n){'use strict';n.r(t);var o=n(2),i=n(21),a=n.n(i),r=n(20),l=n(29);if(!o['default'].define){var s=o['default'].modulePromises={},d=o['default'].moduleDeps={},u=o['default'].moduleResolveQueues={},p=function(e,t){null==u[e]&&(u[e]=[]),u[e].push(t)},c=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:12e4;if(null!=s[e])return s[e];var n=''.concat(Object(l.eV1Protocol)(),'//').concat(Object(l.eV1Host)(),'/assets/external/').concat(e);return s[e]=new a.a(function(o,i){p(e,o),Object(r['default'])(n,t).catch(function(t){setTimeout(function(){throw t}
1,1),i(t)})}),s[e]},y=function(e){if(null!=d[e])return d[e];throw new Error('Cannot synchronously require dep "'.concat(e,'" because it is not defined.'))};o['default'].define=function(e,t){d[e]=t,null==s[e]&&(s[e]=a.a.resolve(t)),u[e]&&(u[e].map(function(e){return e(t)}),delete u[e])},o['default'].asyncDefine=function(e,t){return s[e]=t.then(function(t){return o['default'].define(e,t),t}),s[e]},o['default'].asyncRequire=function(e,t){return e instanceof Array?a.a.all(e.map(function(e){return c(e,t)})):c(e,t)},o['default'].syncRequire=function(e){return e instanceof Array?e.map(function(e){return y(e)}):y(e)}}},610:function(e,t,n){'use strict';n.r(t);var f=n(203),A=n(362),b=n(2);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)}function a(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function r(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function l(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e){return function(){var t,n=c(e);if(p()){var o=c(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return d(this,t)}}function d(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:u(e)}function u(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function p(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function c(e){return c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},c(e)}function y(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}}),t&&g(e,t)}function g(e,t){return g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},g(e,t)}function m(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _=b['default'].lib('utilities/color'),v=b['default'].lib('preact'),k=v.h,h=v.render,w=v.Component,C=b['default'].lib('utilities/detect'),S=C.cachedDetect,P=b['default'].lib('utilities/isMouseDown'),B=P.isMouseDown,E=b['default'].lib('utilities/obj'),T=E.assign,x=S(),M=function(e){function t(e){var o;return a(this,t),o=n.call(this,e),m(u(o),'onFocus',function(t){setTimeout(function(){o.setState({isKeyboardFocused:!B()}),o.props.onFocus&&o.props.onFocus(t),!B()&&o.props.onKeyboardFocus&&o.props.onKeyboardFocus(t)},10)}),m(u(o),'onBlur',function(t){o.setState({isKeyboardFocused:!1}),o.props.onBlur&&o.props.onBlur(t)}),m(u(o),'onMouseDown',function(){o.setState({justClicked:!0})}),m(u(o),'onMouseUp',function(){o.setState({justClicked:!1})}),m(u(o),'onMouseEnter',function(){o.setState({isHovering:!0})}),m(u(o),'onMouseLeave',function(){o.setState({isHovering:!1})}),o.interval=void 0,o.state={isKeyboardFocused:!1,isHovering:!1,justClicked:!1,opacity:1},o}y(t,e);var n=s(t);return l(t,[{key:'render',value:function(){var t=this,n=this.props,e=n.buttonLabel,o={class:'w-vulcan-v2-button w-css-reset w-css-reset-tree w-css-reset-button-important',style:this.buttonStyle(),"aria-label":e,title:e,onClick:n.onClick,onKeyDown:function(t){n.onKeyDownButton(t)},onMouseDown:!x.touchScreen&&this.onMouseDown,onMouseUp:!x.touchScreen&&this.onMouseUp,onTouchStart:x.touchScreen&&this.onMouseDown,onTouchEnd:x.touchScreen&&this.onMouseUp,elemRef:function(o){t.buttonElem=o,n.buttonRef&&n.buttonRef(o
1)}};return void 0!==n.isDialogOpen&&(o['aria-expanded']=''.concat(n.isDialogOpen)),x.touchScreen||(o.onFocus=this.onFocus,o.onBlur=this.onBlur,o.onMouseEnter=this.onMouseEnter,o.onMouseLeave=this.onMouseLeave),k(f['default'],i({tagName:'button'},o),k(A['default'],{class:'w-vulcan-icon-wrapper',style:this.stubStyle(),stubRef:function(n){return t.stubRoot=n},handle:this.props.handle}))}},{key:'componentDidMount',value:function(){this.props.mount&&this.props.mount(this.stubRoot,this.anchorRoot,this.buttonElem),this.props.stubRef&&this.props.stubRef(this.stubRoot)}},{key:'createLoadingInterval',value:function(){var e=this;this.interval=setInterval(function(){var t=.2===e.state.opacity?.8:.2;e.setState({opacity:t})},400)}},{key:'clearLoadingInterval',value:function(){clearInterval(this.interval),this.setState({opacity:1})}},{key:'componentWillReceiveProps',value:function(e){!1===this.props.isLoading&&!0===e.isLoading?this.createLoadingInterval():!0===this.props.isLoading&&!1===e.isLoading&&this.clearLoadingInterval()}},{key:'componentDidUpdate',value:function(){var e=this;T(this.stubRoot.style,this.stubStyle()),this.props.stubRef&&this.props.stubRef(this.stubRoot),x.trident&&setTimeout(function(){e.base.style.display='inline-block',setTimeout(function(){e.base.style.display='block'},1)},1)}},{key:'rootStyle',value:function(){return{height:'100%',position:'relative',width:'100%'}}},{key:'buttonStyle',value:function(){var e,t=this.props,n=t.color,o=t.newLook,i=this.state,a=i.isHovering,r=i.isKeyboardFocused;return o?(e=new _('#000'),e.alpha(a?.2:0)):(e=new _(n),e.alpha(a?.7:.95)),{backgroundColor:e.toRgba(),boxShadow:r?'0 0 0 2px #fff inset':'none',cursor:'pointer',height:'100%',position:'relative',transition:x.trident?'none':'background-color '.concat(o?150:0,'ms'),width:'100%'}}},{key:'stubStyle',value:function(){var e=this.state.justClicked,t=this.props.newLook;return{boxSizing:'border-box',height:'100%',position:'relative',transform:t?'scale('.concat(e?1.2:1.001,')'):'',transition:x.trident?'none':'transform 200ms'}}},{key:'getOpacity',value:function(){return this.props.controlsAreVisible?null==this.state.opacity?1:this.state.opacity:0}}]),t}(w);t['default']=M},611:function(e,t,n){'use strict';n.r(t);var m=n(2),f=n(362);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}function g(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=m['default'].lib('player/lib/elem'),b=A.elemHeight,_=A.elemWidth,v=m['default'].lib('preact'),k=v.h,h=v.render,w=v.Component,C=m['default'].lib('promiscuous'),S=m['default'].lib('utilities/detect'),P=S.cachedDetect,B=m['default'].lib('utilities/event_loop'),E=B.globalEventLoop,T=m['default'].lib('utilities/seqid'),x=P(),M=40,D=120,I=function(e){function t(e){var o;return i(this,t),o=n.call(this,e),g(d(o),'dialogRefFn',function(t){o.dialogElem=t,o.props.dialogRef&&o.props.dialogRef(t)}),g(d(o),'handleTransitionsAfterRender',function(){var e=o.props,t=o.state;
1e.isOpen?(t.isDisplayNone||t.isOpaque&&null==t.widthInButtons)&&o.setState({isDisplayNone:!1},function(){o.measureUserElem(),o.setState({isOpaque:!0})}):!t.isDisplayNone&&t.isOpaque&&o.setState({isOpaque:!1},function(){clearTimeout(o.displayNoneTimeout),o.displayNoneTimeout=setTimeout(function(){o.setState({isDisplayNone:!0})},x.trident?0:200)})}),g(d(o),'measureUserElem',function(){o.stubElem.style.width='';var e=_(o.stubElem);o.stubElem.style.width='100%';var t=Math.ceil(e/(M*o.props.scale));t!==o.state.widthInButtons&&o.setState({widthInButtons:t})}),o.uuid=T(),o.state={isDisplayNone:!0,isOpaque:!1,widthInButtons:null},o}c(t,e);var n=l(t);return r(t,[{key:'componentWillReceiveProps',value:function(e){this.props.resizeRequestedAt!==e.resizeRequestedAt&&this.setState({widthInButtons:null})}},{key:'componentWillUpdate',value:function(e,t){!0===t.isDisplayNone&&!1===this.state.isDisplayNone&&(this.cancelMeasurementLoop(),e.onBeforeDisplayNone&&e.onBeforeDisplayNone()),!1===t.isDisplayNone&&!0===this.state.isDisplayNone&&this.setupMeasurementLoop()}},{key:'render',value:function(){var e,t=this;return k('div',{class:'w-anchor w-css-reset',style:this.anchorStyle()},k('div',{class:'w-dialog w-css-reset',style:this.dialogStyle(),ref:this.dialogRefFn},k('div',{class:'w-css-reset',style:this.dialogContentWrapperStyle()},k(f['default'],{style:this.stubStyle(),stubRef:function(n){return t.stubElem=n},handle:this.props.handle,class:'w-css-reset'}),this.props.shouldRenderDummy?k('div',(e={class:'w-dummy-button',style:this.dummyStyle(),onFocus:this.props.onFocusDummy},g(e,'class','w-css-reset'),g(e,'tabindex','0'),e)):null)))}},{key:'componentDidMount',value:function(){var e=this.props.mount(this.stubElem);this.mountPromise=e&&e.then&&e.catch?e:C.resolve(),this.mountPromise.then(this.handleTransitionsAfterRender)}},{key:'componentDidUpdate',value:function(){this.mountPromise&&this.mountPromise.then(this.handleTransitionsAfterRender)}},{key:'componentWillUnmount',value:function(){this.cancelMeasurementLoop()}},{key:'anchorStyle',value:function(){return{height:0,left:0,position:'absolute',top:0,width:'100%'}}},{key:'dialogContentWrapperStyle',value:function(){var e=this.props.newLook,t=this.state,n=t.isOpaque,o=t.isOpen,i=e?n?48:0:0;return{opacity:n?1:0,transition:x.trident?'none':'opacity '.concat(e?100:0,'ms ease ').concat(i,'ms')}}},{key:'dialogStyle',value:function(){var e=this.props,t=e.canvasHeight,n=e.canvasWidth,o=e.newLook,i=e.scale,a=this.state,r=a.isDisplayNone,l=a.isOpaque,s=a.widthInButtons,d=0,u=null;if(null!=s){u=s*M*i;var p=this.props.left+u-n;0<p&&(d=-1*p)}var c=o?l?0:40:0;return{background:'rgba(0,0,0,'.concat(o?.7:.5,')'),bottom:0,color:'#fff',display:r?'none':'block',left:d,lineHeight:'34px',maxHeight:''.concat(t,'px'),opacity:l?1:0,overflowX:'hidden',overflowY:'auto',position:'absolute',transition:x.trident?'none':'opacity '.concat(D,'ms ease ').concat(c,'ms, transform ').concat(D,'ms ease ').concat(c,'ms'),transform:o?'scaleY('.concat(l?1:.6,')'):'',transformOrigin:'center bottom',width:null==u?null:''.concat(u,'px')}}},{key:'stubStyle',value:function(){return{boxSizing:'border-box',display:'inline-block',height:'100%',verticalAlign:'bottom',width:'100%'}}},{key:'dummyStyle',value:function(){return{clip:'rect(0,0,0,0)',height:'1px',position:'absolute',top:0,width:'1px'}}},{key:'setupMeasurementLoop',value:function(){E.add(this.uuid,500,this.measureUserElem)}},{key:'cancelMeasurementLoop',value:function(){E.remove(this.uuid)}}]),t}(w);t['default']=I},612:function(e,t,n){'use strict';n.r(t);n.d(t,'PlaySuspendedOffScreenBehavior',function(){return m});var g=n(598);function o(e){'@babel/helpers - typeof';return o='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},o(e)}function i(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function a(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function r(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}function l(e){return function(){var t,n=p(e);if(u()){var o=p(this).constructor;t=Reflect.construct(n,arguments,o)}else t=n.apply(this,arguments);return s(this,t)}}function s(e,t){return t&&('object'===o(t)||'function'==typeof t)?t:d(e)}function d(e){if(void 0===e)throw new ReferenceError('this hasn\'t been initialised - super() hasn\'t been called');return e}function u(){if('undefined'==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if('function'==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}
1function p(e){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},p(e)}function c(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}}),t&&y(e,t)}function y(e,t){return y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},y(e,t)}var m=function(e){function t(){return i(this,t),n.apply(this,arguments)}c(t,e);var n=l(t);return r(t,[{key:'init',value:function(){var e=this,t=this.impl,n=t.publicApi;this.unbinds.push(n.on('enterviewport',function(){t.inFullscreen()||e._isSuspended&&(e._isSuspended=!1,n._playSuspendedOffScreenEnabled()&&'paused'===t.state()&&t.play())}),n.on('leaveviewport',function(){t.inFullscreen()||!e._isSuspended&&n._playSuspendedOffScreenEnabled()&&'playing'===t.state()&&(t.pause(),e._isSuspended=!0)}),t.on('receivepause',function(){e._isSuspended&&(e._isSuspended=!1)}))}}]),t}(g.PlayerBehavior);m.handle='playSuspendedOffScreen'},62:function(e,t,n){n(63),n(64),n(66),n(16),n(15),n(67),n(68)},63:function(e,t,n){var o;o=n(2)['default'],o.obj||(o.obj=n(5))},64:function(e,t,n){var o,a,i,r,l,s,d,u,p,c,y,g;a=n(2)['default'],a.util||(u=n(23),g=u.unescapeHtml,c=u.snakeCase,i=u.camelCase,r=u.notSetOrTrue,d=u.poll,y=u.throttle,o=n(33),p=n(65),l=p.overpassNumbersBase64,s=p.overpassNumbersFontFace,a.util={bindEvent:function(){var e;return(e=a.elem).bind.apply(e,arguments)},unbindEvent:function(){var e;return(e=a.elem).unbind.apply(e,arguments)},elemHeight:function(e){return a.elem.height(e)},elemWidth:function(e){return a.elem.width(e)},elemInDom:function(e){return a.elem.inDom(e)},winHeight:function(){return a.elem.height(window)},winWidth:function(){return a.elem.width(window)},docHeight:function(){return a.elem.height(document)},docWidth:function(){return a.elem.width(document)},unescapeHtml:g,addInlineCss:o.addInlineCss,cssTags:o.getCssTags,execCssTags:o.execCssTags,removeCssTags:o.removeCssTags,scriptTags:o.getScriptTags,execScriptTags:o.execScriptTags,removeScriptTags:o.removeScriptTags,scrollTop:function(e){var t,n,o,i;return null==e?('undefined'!=typeof document&&null!==document?null==(o=document.documentElement)?void 0:o.scrollTop:void 0)||('undefined'!=typeof document&&null!==document?null==(i=document.body)?void 0:i.scrollTop:void 0)||0:(null!=(t=document.body)&&(t.scrollTop=e),null==(n=document.documentElement)?void 0:n.scrollTop=e)},scrollLeft:function(e){var t,n,o,i;return null==e?('undefined'!=typeof document&&null!==document?null==(o=document.documentElement)?void 0:o.scrollLeft:void 0)||('undefined'!=typeof document&&null!==document?null==(i=document.body)?void 0:i.scrollLeft:void 0)||0:(null!=(t=document.body)&&(t.scrollLeft=e),null==(n=document.documentElement)?void 0:n.scrollLeft=e)},applyTransform:function(e,t){var n,o,i,a,r;for(o=['msTransform','mozTransform','webkitTransform','transform'],r=[],(i=0,a=o.length);i<a;i++)n=o[i],r.push(e.style[n]=t);return r},applyTransformOrigin:function(e,t){var n,o,i,a,r;for(o=['msTransformOrigin','mozTransformOrigin','webkitTransformOrigin','transformOrigin'],r=[],(i=0,a=o.length);i<a;i++)n=o[i],r.push(e.style[n]=t);return r},vendoredCss:function(e){return function(t){var n,o;return o=['-webkit-','-moz-','-o-','-ms-',''],function(){var i,a,r;for(r=[],i=0,a=o.length;i<a;i++)n=o[i],r.push(''+n+e+': '+t+';');return r}().join('\n')}},transitionCss:function(){var e,t,n;return arguments[0]instanceof Array?(t=arguments,n=function(){var n,o,i;for(i=[],n=0,o=t.length;n<o;n++)e=t[n],i.push(e[0]+' '+e[1]+' linear '+(e[2]||'0s'));return i}().join(',')):(e=arguments,n=e[0]+' '+e[1]+' linear '+(e[2]||'0s')),a.util.vendoredCss('transition')(n)},transformCss:function(e){return a.util.vendoredCss('transform')(e)},flexibleDuration:function(e){var t,n,o;return t=o=0,0<e&&(t+=Math.floor(e/60),e%=60),o=Math.round(e),60===o&&(t+=1,o=0),n=t+':'+this.padNumber(o,2),n},padNumber:function(e,t){var n;for(null==t&&(t=0),n=''+e;n.length<t;)n='0'+n;return n},localDate:function(e){var t,n;return null==e&&(e=new Date),n=-e.getTimezoneOffset(),t=0<=n?'+':'-',''+e.getFullYear()+'-'+this.padNumber(e.getMonth()+1,2)+'-'+this.padNumber(e.getDate(),2)+'T'+this.padNumber(e.getHours(),2)+':'+this.padNumber(e.getMinutes(),2)+':'+this.padNumber(e.getSeconds(),2)+t+this.padNumber(Math.abs(Math.floor(n/60)),2)+':'+this.padNumber(Math.abs(Math.floor(n%60)),2)},requestAnimationFrame:function(e){var t;return t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},t(e)},notSetOrTrue:r,indexOf:function(e,t){var n,o,i;for(n=o=0,i=e.length;0<=i?o<=i:o>=i;n=0<=i?++o:--o)if('function'==typeof t){if(t(e[n]))return n}else if(e[n]===t&&e[n]===t)return n;return-1},insertIntoArray:function(e,t,n){var o;return null==n&&(n={}),n.after?(o=a.util.indexOf(e,n.detect||n.after),0<=o?e.splice(o+1,0,t):'undefined'!=typeof console&&null!==console?console.log(n.after+' not found when trying to add '+t+' to array'):void 0):n.before?(o=a.util.indexOf(e,n.detect||n.before),0<=o?e.splice(o,0,t):'undefined'!=typeof console&&null!==console?console.log(n.before+' not found when trying to add '+t+' to array'):void 0):null==n.index?e.push(t):e.splice(n.index,0,t)},throttle:y,toArray:function(e,t){if(null==t&&(t=/\s+/),e instanceof Array)return e;if('string'==typeof e)return e.split(t);throw new Error('Don\'t know how to convert '+e+' into an array.')},poll:d,aps:function(e){var t,n,o,i;for(i=[],n=0,o=e.length;n<o;n++)t=e[n],i.push(t);return i},pageLoaded:o.pageLoaded,isDocReady:o.isDocReady,onDocReady:function(){var e,t,n,o,i,r,l,s;return 1<arguments.length?(l=arguments[0],t=arguments[1]):(l=1e4,t=arguments[0]),a.util.isDocReady()?t():top===self&&document.documentElement.doScroll?(r=function(){var t;try{return document.documentElement.doScroll('left'),!0}catch(e){return t=e,!1}},a.util.poll(r,t,50,l,t)):(i=function(){if(a.util.isDocReady())return clearTimeout(o),s(),t()},e=function(){return a.elem.bind(document,'DOMContentLoaded',i),a.elem.bind(document,'readystatechange',i),a.elem.bind(window,'load',i)},s=function(){return a.elem.unbind(document,'DOMContentLoaded',i),a.elem.unbind(document,'readystatechange',i),a.elem.unbind(window,'load',i)},n=function(){return s(),t()},o=setTimeout(n,l),e())},camelCase:i,snakeCase:c,breakIdentifier:{},eachIndexOf:function(e,t,n){var o,i;for(o=-1,i=[];-1!==(o=e.indexOf(t,o+1))&&!(n(o)===a.util.breakIdentifier);)i.push(void 0);return i},removeFromArray:function(e,t){var n;return n=e.indexOf(t),e.splice(n,1)},assetSizeShorthandToNumeric:function(e){return'4k'===e?2160:parseInt(e,10)},numericAssetSizeSnapped:function(e,t){var n,o;return n=e/t,o=e*t+1,o>=3840*(3840/n)?2160:o>=2560*(2560/n)?1440:o>=1920*(1920/n)?1080:o>=1280*(1280/n)?720:o>=960*(960/n)?540:o>=640*(640/n)?360:t},parentFramesLength:function(){var t;try{return parent.frames.length}catch(e){return t=e,a.warn(t),1}},injectWistiaOverpassFontFace:function(){return a._overpassFontFacePromise?a._overpassFontFacePromise:a._overpassFontFacePromise=a.asyncRequire('overpassFontFace.js')},removeWistiaOverpassFontFace:function(){if(a._overpassFontFacePromise)return a._overpassFontFacePromise.then(function(){return function(e){var t;return t=e.removeWistiaOverpassFontFace,t()}}(this))}})},65:function(e,t,n){'use strict';n.r(t);var o=n(2),i=n(33),a='\n@font-face {\nfont-family: \'WistiaPlayerOverpassNumbers\';\nsrc: url(data:application/x-font-ttf;charset=utf-8;base64,'.concat('AAEAAAARAQAABAAQRFNJRwAAAAEAAA7oAAAACEdQT1Ow+b/jAAAONAAAAKhHU1VCAAEAAAAADtwAAAAKT1MvMl1sVb8AAAe0AAAAYGNtYXAApwIpAAAIFAAAALJjdnQgAAAAAAAAClQAAAAEZnBnbUM+8IgAAAjIAAABCWdhc3AAGgAjAAAOJAAAABBnbHlmWNZE7QAAARwAAAXMaGVhZIS0XikAAAckAAAANmhoZWEF5gGwAAAHkAAAACRobXR4GNICwAAAB1wAAAA0bG9jYQi0CoYAAAcIAAAAHG1heHAAGQBKAAAG6AAAACBuYW1lGpIbcAAAClgAAAOPcG9zdAAPAKQAAA3oAAAAPHByZXBoUamTAAAJ1AAAAH8ACgBd/wYBmgLuAAMADwAVABkAIwApADUAOQA9AEgAAAUhESEHFTMVIxUzNSM1MzUHFTM1IzUHIzUzBxUzFSMVMzUzNQcVIxUzNQcVMzUzFSM1IxUzNQcVMzUHIzUzBxUzBxUzNSM3MzUBmv7DAT3yQUKmQkKmpkIiISFCQkJkQiGFpmQiIWQhpqamIWRkhUZGpmZGIPoD6EMhJSEhJSGBaCJGRiRhISUhRiE8QiJkejgXL1Bxca1xcVAvZyEvISEvIQAAAAIARv/0AiYCyAAVACUAAAQ3Njc2NTQmJyYjIgcGBwYVFBYXFjMmJyY1NDc2MzIXFhUUBwYjAY87MRgTGRo/flo7LxkTGRs9f1wqIR8pX1oqIR4pXgw9M1tJVkOAMnU9MV1IV0Z/MXQ/X0qCeUxmX0uBfEplAAAAAAEAKAAAAOUCvAAIAAATIwYGIxUzETPlLRBHOXdGArwwJyj9wwAAAAABAEcAAAISAsgAJAAAJSE2Nz4CNzY2NzY1NCYjIgcGBxc2MzIWFRQHBgcHBgYHBhUhAhL+fwszEjIhCDBDG0J0Z1c+OhE+HX9HUTMjUhMrOhhEActDPTARJRYFHjAcRFRbaisoQRxxSzs8NSM2DR0uHFJzAAEAMv/0AggCyAA0AAAENjc2NjU0Jic2NjU0JicmJiMiBwYHFzY3NjMyFhcWFRQGIyMVMzIWFRQHBiMiJicHFhcWMwFJViIiJT83Ki8fHBxMKlM7MRpBFR8rPBkvEidLPyUvS1EwLEg+TxpBGzM6YAwfGxxLK0RiFhdSMCdDGBcaLiZAGS4aJBEQIjk6RUBMQkIlIjxCG0spMAAAAAIAHgAAAiICvAAKAA0AACUzNSMRIwEVIRUzAxEjAbhqair+kAFURkb5vTwBw/4mJb0CQ/62AAAAAQBG//QCLgK8AC0AADYWFxYzMjY3NjY1NCYnJiYjIgYHNyE1IQMXNjc2MzIXFhYVFAYHBgYjIicmJwdTLh1ETjpfIyAiIx8fUy4tVCAoASz+nDk7FykzN0QuFBccGBlEJkIuKiQpPB8MHSkjIVUtMVMfHSEeHfQ//pUSGxIWMRc+IiE+GBgbFxUkMwACADz/9AIEAsgAIQA2AAAENjc2NjU0JicmJiMiBgc2Njc2Njc1BgYHBgYVFBYXFhYzEhcWFRQGBwYjIiYnJiY1NDY3NjYzAVFSHx8jIBwdTCo2UxoIMiUlWzFKhDExNh4dHlc4RS0rFxUsSCE7FRYZGBUVOyMMJB8gVTAnTh4fJCEfLFkoKDsPNxJaPz+RSjpjIyYpAYAtLUgiOhUuGBYVOyEjPBYVGAABACgAAAHLArwADAAANjc2NzUhFSEGBwYHM+ooN4L+XQFTdzMrAkamjsSWLjyXqIq3AAAAAwBG//QCEALIAC
1MALwBCAAAABgcGBhUUFhcGBwYVFBYXFjMyNjc2NjU0Jic2NjU0JicmJiMCJjU0NjMyFhUUBiMCJyY1NDY3NjYzMhcWFhUUBwYjAQJJGxoeMCw1JCMiH0JiMFUfHyJEOS4vHhobSSk5RUc3N0dFOUQrLRYVFToiRC4UFi0rRALIHRkZQiQuThQTNTRCLE0cPCAcHE0sQmcVE04vJEIZGR3+0D8zOkVFOjM//pspK0gfOBYWGC4WOB9IKykAAAACADz/9AIEAsgAIAA0AAASBgcGBhUUFhcWFjMyNjcGBgcGBgcVNjY3NjY1NCYnJiMCJyY1NDc2MzIWFxYWFRQGBwYGI/RUICAkIBwbTCo3VRoGLCMkWDJKfy8uMhwbPG1NLSssLUchOxYWGBgVFTsjAsgjIB9WMClNHh4iIyEtXCgpPA83Elo/PpJKOWMlTv58Ly1IRC4vGRYWOyEjPBYWGQAAAAIAMv/yALAB4wALABcAABI2NTQmIyIGFRQWMxI2NTQmIyIGFRQWM4slJRoaJSUaGiUlGholJRoBZSYZGSYmGRkm/o0mGRkmJhkZJgABAAAADQBJAAoAAAAAAAEAAAAAAAEAAAAAAAAAAAAAAAAAYgBiAJ4AsgDsAToBVgGcAfACCgJuAsAC5gABAAAAARmZfAtXkV8PPPUAAwPoAAAAAE2yzjUAAAAA1Z4zgwAe/wYCLgLuAAAABwACAAAAAAAAAfQAXQAAAAACbABGAU4AKAJYAEcCTgAyAksAHgJ0AEYCSgA8AfMAKAJWAEYCSgA8AOIAMgABAAADtv8GAAACdAAAACgCLgABAAAAAAAAAAAAAAAAAAAADQADAhYBkAAFAAgCigJYAAAASwKKAlgAAAFeABQBMgAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABERUxWAEAAIAA6Au7/BgEKA7YA+gAAAAEAAAAAAf8CvAAAACAAAgAAAAMAAAADAAAAigABAAAAAAAcAAMAAQAAAIoABgBuAAAACQAyAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAwAEAAUABgAHAAgACQAKAAsADAAEACgAAAAGAAQAAQACACAAOv//AAAAIAAw////4f/SAAEAAAAAAAAAALAALEAOBQYHDQYJFA4TCxIIERBDsAEVRrAJQ0ZhZEJDRUJDRUJDRUJDRrAMQ0ZhZLASQ2FpQkNGsBBDRmFksBRDYWlCQ7BAUHmxBkBCsQUHQ7BAUHmxB0BCsxAFBRJDsBNDYLAUQ2CwBkNgsAdDYLAgYUJDsBFDUrAHQ7BGUlp5swUFBwdDsEBhQkOwQGFCsRAFQ7ARQ1KwBkOwRlJaebMFBQYGQ7BAYUJDsEBhQrEJBUOwEUNSsBJDsEZSWnmxEhJDsEBhQrEIBUOwEUOwQGFQebIGQAZDYEKzDQ8MCkOwEkOyAQEJQxAUEzpDsAZDsApDEDpDsBRDZbAQQxA6Q7AHQ2WwD0MQOi0AAACxAAAAQrE7AEOwAFB5uP+/QBAAAQAAAwQBAAABAAAEAgIAQ0VCQ2lCQ7AEQ0RDYEJDRUJDsAFDsAJDYWpgQkOwA0NEQ2BCHLEtAEOwAVB5swcFBQBDRUJDsF1QebIJBUBCHLIFCgVDYGlCuP/NswABAABDsAVDRENgQhy4LQAdAAAAAAAAAAASAN4AAQAAAAAAAQAWAAAAAQAAAAAAAgAFABYAAQAAAAAAAwAnABsAAQAAAAAABAAcAEIAAQAAAAAABQAPAF4AAQAAAAAABgAcAG0AAQAAAAAACQAgAIkAAQAAAAAACgA4AKkAAwABBAkAAQA4AOEAAwABBAkAAgAOARkAAwABBAkAAwBOAScAAwABBAkABAA4AXUAAwABBAkABQAeAa0AAwABBAkABgA4AXUAAwABBAkACQBAAcsAAwABBAkACgBwAgsAAwABBAkAEAAsAnsAAwABBAkAEQAKAqdXaXN0aWEtUGxheWVyLU92ZXJwYXNzTGlnaHQxLjEwMDtERUxWO1dpc3RpYS1QbGF5ZXItT3ZlcnBhc3MtTGlnaHRXaXN0aWEtUGxheWVyLU92ZXJwYXNzIExpZ2h0VmVyc2lvbiAxLjAzMTAwV2lzdGlhLVBsYXllci1PdmVycGFzcy1MaWdodERlbHZlIFdpdGhyaW5ndG9uLCBUaG9tYXMgSm9ja2luQ29weXJpZ2h0IChjKSAyMDE0IGJ5IFJlZCBIYXQsIEluYy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4AVwBpAHMAdABpAGEALQBQAGwAYQB5AGUAcgAtAE8AdgBlAHIAcABhAHMAcwAgAEwAaQBnAGgAdABSAGUAZwB1AGwAYQByADEALgAxADAAMAA7AEQARQBMAFYAOwBXAGkAcwB0AGkAYQAtAFAAbABhAHkAZQByAC0ATwB2AGUAcgBwAGEAcwBzAC0ATABpAGcAaAB0AFcAaQBzAHQAaQBhAC0AUABsAGEAeQBlAHIALQBPAHYAZQByAHAAYQBzAHMALQBMAGkAZwBoAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwADMAMQAwADAARABlAGwAdgBlACAAVwBpAHQAaAByAGkAbgBnAHQAbwBuACwAIABUAGgAbwBtAGEAcwAgAEoAbwBjAGsAaQBuAEMAbwBwAHkAcgBpAGcAaAB0ACAAKABjACkAIAAyADAAMQA0ACAAYgB5ACAAUgBlAGQAIABIAGEAdAAsACAASQBuAGMALgAgAEEAbABsACAAcgBpAGcAaAB0AHMAIAByAGUAcwBlAHIAdgBlAGQALgBXAGkAcwB0AGkAYQAtAFAAbABhAHkAZQByAC0ATwB2AGUAcgBwAGEAcwBzAEwAaQBnAGgAdAAAAgAAAAAAAP+FABQAAAAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAwATABQAFQAWABcAGAAZABoAGwAcAB0AAQADAAcACgATAAf//wAPAAEAAAAKAB4ALAABREZMVAAIAAQAAAAA//8AAQAAAAFrZXJuAAgAAAABAAAAAQAEAAIAAAABAAgAAQBmAAQAAAAIABoAIAAmADAAOgBIAFIAYAABAAb/7AABAAb/9gACAAn/9gAL//EAAgAJ//YAC//xAAMABP/7AAn/9gAL//YAAgAJ/+wAC//dAAMABv+6AAj/4gAJACMAAQAJ//YAAgABAAMACgAAAAEAAAAAAAAAAAAAAAAAAQAAAAA=',');\n}\n');o['default']._overpassNumbersFontFace||(o['default']._overpassNumbersFontFace=Object(i.addInlineCss)(document.body||document.head,a));t['default']={overpassNumbersFontFace:'\n@font-face {\nfont-family: \'WistiaPlayerOverpassNumbers\';\nsrc: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAARAQAABAAQRFNJRwAAAAEAAA7oAAAACEdQT1Ow+b/jAAAONAAAAKhHU1VCAAEAAAAADtwAAAAKT1MvMl1sVb8AAAe0AAAAYGNtYXAApwIpAAAIFAAAALJjdnQgAAAAAAAAClQAAAAEZnBnbUM+8IgAAAjIAAABCWdhc3AAGgAjAAAOJAAAABBnbHlmWNZE7QAAARwAAAXMaGVhZIS0XikAAAckAAAANmhoZWEF5gGwAAAHkAAAACRobXR4GNICwAAAB1wAAAA0bG9jYQi0CoYAAAcIAAAAHG1heHAAGQBKAAAG6AAAACBuYW1lGpIbcAAAClgAAAOPcG9zdAAPAKQAAA3oAAAAPHByZXBoUamTAAAJ1AAAAH8ACgBd/wYBmgLuAAMADwAVABkAIwApADUAOQA9AEgAAAUhESEHFTMVIxUzNSM1MzUHFTM1IzUHIzUzBxUzFSMVMzUzNQcVIxUzNQcVMzUzFSM1IxUzNQcVMzUHIzUzBxUzBxUzNSM3MzUBmv7DAT3yQUKmQkKmpkIiISFCQkJkQiGFpmQiIWQhpqamIWRkhUZGpmZGIPoD6EMhJSEhJSGBaCJGRiRhISUhRiE8QiJkejgXL1Bxca1xcVAvZyEvISEvIQAAAAIARv/0AiYCyAAVACUAAAQ3Njc2NTQmJyYjIgcGBwYVFBYXFjMmJyY1NDc2MzIXFhUUBwYjAY87MRgTGRo/flo7LxkTGRs9f1wqIR8pX1oqIR4pXgw9M1tJVkOAMnU9MV1IV0Z/MXQ/X0qCeUxmX0uBfEplAAAAAAEAKAAAAOUCvAAIAAATIwYGIxUzETPlLRBHOXdGArwwJyj9wwAAAAABAEcAAAISAsgAJAAAJSE2Nz4CNzY2NzY1NCYjIgcGBxc2MzIWFRQHBgcHBgYHBhUhAhL+fwszEjIhCDBDG0J0Z1c+OhE+HX9HUTMjUhMrOhhEActDPTARJRYFHjAcRFRbaisoQRxxSzs8NSM2DR0uHFJzAAEAMv/0AggCyAA0AAAENjc2NjU0Jic2NjU0JicmJiMiBwYHFzY3NjMyFhcWFRQGIyMVMzIWFRQHBiMiJicHFhcWMwFJViIiJT83Ki8fHBxMKlM7MRpBFR8rPBkvEidLPyUvS1EwLEg+TxpBGzM6YAwfGxxLK0RiFhdSMCdDGBcaLiZAGS4aJBEQIjk6RUBMQkIlIjxCG0spMAAAAAIAHgAAAiICvAAKAA0AACUzNSMRIwEVIRUzAxEjAbhqair+kAFURkb5vTwBw/4mJb0CQ/62AAAAAQBG//QCLgK8AC0AADYWFxYzMjY3NjY1NCYnJiYjIgYHNyE1IQMXNjc2MzIXFhYVFAYHBgYjIicmJwdTLh1ETjpfIyAiIx8fUy4tVCAoASz+nDk7FykzN0QuFBccGBlEJkIuKiQpPB8MHSkjIVUtMVMfHSEeHfQ//pUSGxIWMRc+IiE+GBgbFxUkMwACADz/9AIEAsgAIQA2AAAENjc2NjU0JicmJiMiBgc2Njc2Njc1BgYHBgYVFBYXFhYzEhcWFRQGBwYjIiYnJiY1NDY3NjYzAVFSHx8jIBwdTCo2UxoIMiUlWzFKhDExNh4dHlc4RS0rFxUsSCE7FRYZGBUVOyMMJB8gVTAnTh4fJCEfLFkoKDsPNxJaPz+RSjpjIyYpAYAtLUgiOhUuGBYVOyEjPBYVGAABACgAAAHLArwADAAANjc2NzUhFSEGBwYHM+ooN4L+XQFTdzMrAkamjsSWLjyXqIq3AAAAAwBG//QCEALIAC
1MALwBCAAAABgcGBhUUFhcGBwYVFBYXFjMyNjc2NjU0Jic2NjU0JicmJiMCJjU0NjMyFhUUBiMCJyY1NDY3NjYzMhcWFhUUBwYjAQJJGxoeMCw1JCMiH0JiMFUfHyJEOS4vHhobSSk5RUc3N0dFOUQrLRYVFToiRC4UFi0rRALIHRkZQiQuThQTNTRCLE0cPCAcHE0sQmcVE04vJEIZGR3+0D8zOkVFOjM//pspK0gfOBYWGC4WOB9IKykAAAACADz/9AIEAsgAIAA0AAASBgcGBhUUFhcWFjMyNjcGBgcGBgcVNjY3NjY1NCYnJiMCJyY1NDc2MzIWFxYWFRQGBwYGI/RUICAkIBwbTCo3VRoGLCMkWDJKfy8uMhwbPG1NLSssLUchOxYWGBgVFTsjAsgjIB9WMClNHh4iIyEtXCgpPA83Elo/PpJKOWMlTv58Ly1IRC4vGRYWOyEjPBYWGQAAAAIAMv/yALAB4wALABcAABI2NTQmIyIGFRQWMxI2NTQmIyIGFRQWM4slJRoaJSUaGiUlGholJRoBZSYZGSYmGRkm/o0mGRkmJhkZJgABAAAADQBJAAoAAAAAAAEAAAAAAAEAAAAAAAAAAAAAAAAAYgBiAJ4AsgDsAToBVgGcAfACCgJuAsAC5gABAAAAARmZfAtXkV8PPPUAAwPoAAAAAE2yzjUAAAAA1Z4zgwAe/wYCLgLuAAAABwACAAAAAAAAAfQAXQAAAAACbABGAU4AKAJYAEcCTgAyAksAHgJ0AEYCSgA8AfMAKAJWAEYCSgA8AOIAMgABAAADtv8GAAACdAAAACgCLgABAAAAAAAAAAAAAAAAAAAADQADAhYBkAAFAAgCigJYAAAASwKKAlgAAAFeABQBMgAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABERUxWAEAAIAA6Au7/BgEKA7YA+gAAAAEAAAAAAf8CvAAAACAAAgAAAAMAAAADAAAAigABAAAAAAAcAAMAAQAAAIoABgBuAAAACQAyAAEAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAwAEAAUABgAHAAgACQAKAAsADAAEACgAAAAGAAQAAQACACAAOv//AAAAIAAw////4f/SAAEAAAAAAAAAALAALEAOBQYHDQYJFA4TCxIIERBDsAEVRrAJQ0ZhZEJDRUJDRUJDRUJDRrAMQ0ZhZLASQ2FpQkNGsBBDRmFksBRDYWlCQ7BAUHmxBkBCsQUHQ7BAUHmxB0BCsxAFBRJDsBNDYLAUQ2CwBkNgsAdDYLAgYUJDsBFDUrAHQ7BGUlp5swUFBwdDsEBhQkOwQGFCsRAFQ7ARQ1KwBkOwRlJaebMFBQYGQ7BAYUJDsEBhQrEJBUOwEUNSsBJDsEZSWnmxEhJDsEBhQrEIBUOwEUOwQGFQebIGQAZDYEKzDQ8MCkOwEkOyAQEJQxAUEzpDsAZDsApDEDpDsBRDZbAQQxA6Q7AHQ2WwD0MQOi0AAACxAAAAQrE7AEOwAFB5uP+/QBAAAQAAAwQBAAABAAAEAgIAQ0VCQ2lCQ7AEQ0RDYEJDRUJDsAFDsAJDYWpgQkOwA0NEQ2BCHLEtAEOwAVB5swcFBQBDRUJDsF1QebIJBUBCHLIFCgVDYGlCuP/NswABAABDsAVDRENgQhy4LQAdAAAAAAAAAAASAN4AAQAAAAAAAQAWAAAAAQAAAAAAAgAFABYAAQAAAAAAAwAnABsAAQAAAAAABAAcAEIAAQAAAAAABQAPAF4AAQAAAAAABgAcAG0AAQAAAAAACQAgAIkAAQAAAAAACgA4AKkAAwABBAkAAQA4AOEAAwABBAkAAgAOARkAAwABBAkAAwBOAScAAwABBAkABAA4AXUAAwABBAkABQAeAa0AAwABBAkABgA4AXUAAwABBAkACQBAAcsAAwABBAkACgBwAgsAAwABBAkAEAAsAnsAAwABBAkAEQAKAqdXaXN0aWEtUGxheWVyLU92ZXJwYXNzTGlnaHQxLjEwMDtERUxWO1dpc3RpYS1QbGF5ZXItT3ZlcnBhc3MtTGlnaHRXaXN0aWEtUGxheWVyLU92ZXJwYXNzIExpZ2h0VmVyc2lvbiAxLjAzMTAwV2lzdGlhLVBsYXllci1PdmVycGFzcy1MaWdodERlbHZlIFdpdGhyaW5ndG9uLCBUaG9tYXMgSm9ja2luQ29weXJpZ2h0IChjKSAyMDE0IGJ5IFJlZCBIYXQsIEluYy4gQWxsIHJpZ2h0cyByZXNlcnZlZC4AVwBpAHMAdABpAGEALQBQAGwAYQB5AGUAcgAtAE8AdgBlAHIAcABhAHMAcwAgAEwAaQBnAGgAdABSAGUAZwB1AGwAYQByADEALgAxADAAMAA7AEQARQBMAFYAOwBXAGkAcwB0AGkAYQAtAFAAbABhAHkAZQByAC0ATwB2AGUAcgBwAGEAcwBzAC0ATABpAGcAaAB0AFcAaQBzAHQAaQBhAC0AUABsAGEAeQBlAHIALQBPAHYAZQByAHAAYQBzAHMALQBMAGkAZwBoAHQAVgBlAHIAcwBpAG8AbgAgADEALgAwADMAMQAwADAARABlAGwAdgBlACAAVwBpAHQAaAByAGkAbgBnAHQAbwBuACwAIABUAGgAbwBtAGEAcwAgAEoAbwBjAGsAaQBuAEMAbwBwAHkAcgBpAGcAaAB0ACAAKABjACkAIAAyADAAMQA0ACAAYgB5ACAAUgBlAGQAIABIAGEAdAAsACAASQBuAGMALgAgAEEAbABsACAAcgBpAGcAaAB0AHMAIAByAGUAcwBlAHIAdgBlAGQALgBXAGkAcwB0AGkAYQAtAFAAbABhAHkAZQByAC0ATwB2AGUAcgBwAGEAcwBzAEwAaQBnAGgAdAAAAgAAAAAAAP+FABQAAAAAAAAAAAAAAAAAAAAAAAAAAAANAAAAAwATABQAFQAWABcAGAAZABoAGwAcAB0AAQADAAcACgATAAf//wAPAAEAAAAKAB4ALAABREZMVAAIAAQAAAAA//8AAQAAAAFrZXJuAAgAAAABAAAAAQAEAAIAAAABAAgAAQBmAAQAAAAIABoAIAAmADAAOgBIAFIAYAABAAb/7AABAAb/9gACAAn/9gAL//EAAgAJ//YAC//xAAMABP/7AAn/9gAL//YAAgAJ/+wAC//dAAMABv+6AAj/4gAJACMAAQAJ//YAAgABAAMACgAAAAEAAAAAAAAAAAAAAAAAAQAAAAA=);\n}\n',removeOverpassNumbersFontFace:function(){o['default']._overpassNumbersFontFace&&Object(i.elemRemove)(o['default']._overpassNumbersFontFace)}}},66:function(e,t,n){var o,i,a;i=n(2)['default'],i.elem||(i.Elem=o=n(33),i.elem=a={},a.html=o.elemHtml,a.fromObject=o.elemFromObject,a.toObject=o.elemToObject,a.clone=o.elemClone,a.append=o.elemAppend,a.prepend=o.elemPrepend,a.before=o.elemBefore,a.after=o.elemAfter,a.remove=o.elemRemove,a.removeClass=o.elemRemoveClass,a.addClass=o.elemAddClass,a.hasClass=o.elemHasClass,a.classes=o.elemClasses,a.style=o.elemStyle,a.vendoredProperties=o.vendoredProperties,a.vendoredProperty=o.vendoredProperty,a.vendorPrefixes=o.vendorPrefixes,a.propsWithVendorPrefixes=o.propsWithVendorPrefixes,a.width=o.elemWidth,a.height=o.elemHeight,a.isBoxModel=o.isBoxModel,a.offset=o.elemOffset,a.containsOffset=o.elemContainsOffset,a.scrollOffset=o.elemScrollOffset,a.isHidden=o.elemIsHidden,a.inDom=o.elemInDom,a.isDescendantOf=o.elemIsDescendantOf,a.ancestorHasClass=o.elemAncestorHasClass,a.ancestors=o.elemAncestors,a.isInside=o.elemIsInside,a.animate=o.elemAnimate,a.bind=o.elemBind,a.unbind=o.elemUnbind,a.unbindAll=o.elemUnbindAll,a.unbindAllInside=o.elemUnbindAllInside,a._bindKey=o.elemBindKey,a.rebind=o.elemRebind,a.bindOnce=o.elemBindOnce,a.trigger=o.elemTrigger,a.fullscreenElement=o.fullscreenElement,a.requestFullscreen=o.elemRequestFullscreen,a.cancelFullscreen=o.elem
1CancelFullscreen,a.stripEventAttributes=o.elemStripEventAttributes,a.mutationObserver=o.elemMutationObserver,a.domDistance=o.elemDomDistance,a.allBetween=o.elemAllBetween)},67:function(e,t,n){var o,i,a,r,l,s,d;if(i=n(2)['default'],o=n(5),!i.hasState)for(r in i.hasState={updateState:function(e){var t,n,i,r,l;for(this.state||(this.state={}),t=a(this.state,e),l=o.clone(this.state),o.merge(l,e),this.state=l,(n=0,i=t.length);n<i;n++)r=t[n],this.trigger('property:updated:'+r);if(0!==t.length)return this.trigger('property:updated:all')},getState:function(e){var t;return t=o.clone(this.state),e?t[e]:stateCone}},a=function(e,t){var n,o,i;for(o in n=[],t)i=t[o],l(i,e[o])&&n.push(o);return n},l=function(e,t){return i.obj.isObject(e)?!i.obj.equalsDeep(e,t):e!==t},s=i.bindable,s)d=s[r],i.bindable.hasOwnProperty(r)&&(i.hasState[r]=d)},68:function(e,t,n){(function(e){var t;if(!e.StopGo)return t=n(13).wlog,t=t.getPrefixedFunctions('StopGo'),e.StopGo=n(19),e.StopGo.prototype._debug=function(){return t.notice.apply(t,arguments)}})(Wistia)},69:function(e,t,n){(function(e){var t;if(!e.url)return t=n(12),e.url={},e.url.proto=t.proto,e.url.paramsToJson=t.queryParamsToObject,e.url.urlComponentToJson=t.urlComponentToObject,e.url.jsonToParams=t.objectToQueryParams,e.url.splitPath=t.splitPath,e.url.joinPath=t.joinPath,e.url._brack=t.brack,e.url._debrack=t.debrack,e.url.create=t.Url.create,e.url.parse=t.Url.parse})(Wistia)},7:function(e,t,n){'use strict';n.r(t);var o=n(2);t['default']=function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:'wistia_',t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'',n=o['default']._sequenceVal||1;return o['default']._sequenceVal=n+1,''+e+n+t}},70:function(e,t,n){var o=[].slice;(function(e){var t,i,a,r;if(i=e,!i.wlog)return a=n(13),r=a.wlog,t=a.LOG_LEVELS,i.wlog=r,i.log=r.error,i.error=r.error,i.warn=r.warn,i.notice=r.notice,i.info=r.info,i.debug=r.debug,i.logLevels=t,i.stacktrace=function(){var t;try{throw new Error('stacktrace')}catch(e){return t=e,t.stack}},i.logHelpers={_log:function(){var e,t,n;return n=arguments[0],t=2<=arguments.length?o.call(arguments,1):[],e=i[n],t=[].concat(this._logPrefix()).concat(t),e.apply(null,t)},_logPrefix:function(){return[this.constructor.name]},error:function(){var e;return e=1<=arguments.length?o.call(arguments,0):[],this._log.apply(this,['error'].concat(o.call(e)))},warn:function(){var e;return e=1<=arguments.length?o.call(arguments,0):[],this._log.apply(this,['notice'].concat(o.call(e)))},notice:function(){var e;return e=1<=arguments.length?o.call(arguments,0):[],this._log.apply(this,['notice'].concat(o.call(e)))},info:function(){var e;return e=1<=arguments.length?o.call(arguments,0):[],this._log.apply(this,['info'].concat(o.call(e)))},debug:function(){var e;return e=1<=arguments.length?o.call(arguments,0):[],this._log.apply(this,['debug'].concat(o.call(e)))},log:function(){var e;return e=1<=arguments.length?o.call(arguments,0):[],this._log.apply(this,['error'].concat(o.call(e)))}},i._initializers.initWLog=function(){var e,t,n,o,a,l,s,d,u,p,c;if(t=i.url.parse(location.href),document.referrer&&(u=i.url.parse(document.referrer)),((e=null==t||null==(n=t.params)?void 0:n.wlog)||top!==self&&(e=null==u||null==(o=u.params)?void 0:o.wlog))&&r.setLevel(e),((p=null==t||null==(a=t.params)?void 0:a.wgrep)||(p=null==u||null==(l=u.params)?void 0:l.wgrep))&&r.setGrep(new RegExp(p,'i')),(c=null==t||null==(s=t.params)?void 0:s.wgrepv)||(c=null==u||null==(d=u.params)?void 0:d.wgrepv))return r.setGrepv(new RegExp(c,'i'))},i._destructors.destroyWLog=function(){return null==r?void 0:r.reset()}})(Wistia)},71:function(e,t,n){var o;o=n(14).cachedDetect,function(e){return e._initializers.initDetect=function(){if(!e.detect)return e.detect=o()}}(Wistia)},72:function(e,t,n){(function(e){var t,o,i;if(t=e,o=n(38).globalEventLoop,null==(i=t._initializers)||!i.initEventLoop)return t._initializers.initEventLoop=function(){return t.eventLoop=o},t._destructors.destroyEventLoop=function(){var e;return null!=(e=t.eventLoop)&&e.stop(),t.eventLoop=null}})(Wistia)},73:function(){(function(e){var t,n,o,i,a,r;if(o=e,!o.embed)return t=o.lib('player/lib/judy'),n=o.lib('promiscuous'),i=o.lib('player/lib/media_data').fetchMedia,r=o.lib('player/lib/media-data-transforms').mediaDataTransforms,o._embed={},o.embed=function(e,t){var n,i,l;return null==t&&(t={}),o.info('Wistia.embed',e,t),'string'==typeof e?i=e:e.type&&'ab-test'===e.type?(i=e.hashedId,[e.control,e.variant].filter(
1Boolean).forEach(function(e){return a(e,t)}),o.cacheAbTest(e.hashedId,e)):(i=e.hashedId,l=o.obj.merge({},e.embed_options,t),r(e,l),o.cacheMedia(i,e)),n=new o.PublicApi(i,t),n},o.embedEngine=function(e,a,l,s){var d;return null==l&&(l={}),null==s&&(s={}),d='string'==typeof a?a:a.hashedId,new n(function(n){var u;return u=function(i){var a,r;return a=t.buildContext(s),r=t.bestUsableEngine(a,i,l),o.asyncRequire(r).then(function(t){var a;return a=new t(e,i,o.obj.merge({duration:i.duration},l)),n(a)})},'string'==typeof a?i(d,function(e){return r(e,l),o.cacheMedia(d,e),u(e)},l):u(a)})},a=function(e,t){return r(e.media,t),o.cacheMedia(e.media.hashedId,e.media)}})(Wistia)},74:function(e,t,n){var o=function(e,t){return function(){return e.apply(t,arguments)}},i=[].slice;(function(e){var t,a,r,l,s,d,u,p,c,y,g,m,h,f,A,b,_;if(r=e,!r.PublicApi)return t=n(42),a=n(21),m=n(75).pluginScriptsToLoad,h=n(76).prefetchEngineAndPlugins,r.Judy=t,r.Assets=n(27),c=n(33).inUserEventContext,f=n(29),d=f.eV1Protocol,s=f.eV1Host,p=n(15).globalTrigger,_=n(56).uniqId,y=n(52).mediaDataTransforms,A=n(77),l=A.clipsFromChapters,b=A.shouldAddKeyMoments,u=n(78)['default'],r.PublicApi=function(){function n(e,t){this._definePluginMethod=o(this._definePluginMethod,this),this._doResize=o(this._doResize,this),this._doMonitor=o(this._doMonitor,this),this._initWithMediaData=o(this._initWithMediaData,this),this._allocEmbedSlot=o(this._allocEmbedSlot,this);var n,i;this.on('problem',function(e){return function(t){return t.video=e,p('problem',t)}}(this)),this.info('initialize'),this._hasImpl=new r.StopGo,this._notReplacing=new r.StopGo,this._notReplacing(!0),this.hasPlugins=new r.StopGo,this.up=new r.StopGo,this.up(!0),this.down=new r.StopGo,this.down(!1),this.inViewport=new r.StopGo,this.inViewport(!1),this._implVersion=0,this._playlistIndex=0,this._attrs={},this.params={},this.options={},this.controls={},this._pluginStopGos={},this.plugins={},this.data={},this._definePluginMethod(),this.hashedId(e),this._givenOptions=t,this._playlist=[],this._setupContainer(),this._validate(),this._inferPropertiesBeforeMediaData(),this._dedupContainer(),this._addToGlobalCache(),this._setupBindings(),this.supportedPlayers=[],this.addToPlaylist(this.hashedId(),t),this.down(this.looksDown()),this.up(this.looksUp()),this._hasImpl(function(e){return function(){var t;if(e._wvideoInUrl())return e._scrollToContainer(),null!=(t=e.popover)&&t.show(),e.play()}}(this)),null!=(i=window.wistiaEmbeds)&&i.bindHandles(),this.monitor(),this.embedded(function(e){return function(){return e.monitor()}}(this)),this.ready(function(e){return function(){return e.monitor()}}(this)),n=function(e){return function(){return e._onInitializable(function(){return e._withFreeEmbedSlots(function(){var t;return e._initTime=new Date().getTime(),e.hasData(function(){return e._hasDataTime=new Date().getTime()}),e.embedded(function(){return e._embeddedTime=new Date().getTime()}),e.ready(function(){return e._readyTime=new Date().getTime()}),t=e._gatherOptions(),t.mediaData?e._initWithMediaData(t.mediaData):r.remote.media(e.hashedId(),e._initWithMediaData,e._gatherOptions())})})}}(this),this._shouldBePopover()?(this.popover={show:function(e){return function(){return e._hasImpl(function(){return e.popover.show()})}}(this),hide:function(e){return function(){return e._hasImpl(function(){return e.popover.hide()})}}(this),height:function(e){return function(t,n){return null==t?0:e._hasImpl(function(){return e.popover.height(t,n)})}}(this),width:function(e){return function(t,n){return null==t?0:e._hasImpl(function(){return e.popover.width(t,n)})}}(this)},r.asyncRequire('popover.js').then(function(e){return function(){return e.popover=new r.Popover(e),n()}}(this))):n(),this.trigger('initembed')}return n.prototype._withFreeEmbedSlots=function(e){var t;return this._setupEmbedSlots(),t=null,this.embedded(function(e){return function(){return clearTimeout(t),t=setTimeout(function(){return e._freeEmbedSlot()},e._embedSlotThrottleInterval())}}(this)),null==this._freeEmbedSlotOnError&&(this._freeEmbedSlotOnError=function(e){return function(){return e._freeEmbedSlot(),e.unbind}}(this)),this.rebind('servererror',this._freeEmbedSlotOnError),r._embedSlotFree(function(n){return function(){return n._allocEmbedSlot(),t=setTimeout(function(){return n._freeEmbedSlot()},1e3),e()}}(this))},n.prototype._onInitializable=function(e){return this.popover?r.elem.isHidden(this.container)?(this.info('popover, delaying init until container is visible'),r.eventLoop.add(this.uuid+'.wait_for_c
1ontainer_visible',500,function(t){return function(){var n;if(!r.elem.isHidden(t.container)){t.info('container became visible, initializing');try{e()}catch(e){n=e,r.error(n)}return r.eventLoop.remove}}}(this))):e():e()},n.prototype._setupEmbedSlots=function(){if(null==r._embedSlots&&(r._embedSlots=[]),!r._embedSlotFree)return r._embedSlotFree=new r.StopGo,r._embedSlotFree(!0)},n.prototype._maxEmbedSlots=function(){var e,t,n;return n=function(){var n,o;for(e in n=r.data('video'),o=[],n)t=n[e],o.push(e);return o}().length,20<n?5:10<n?8:13},n.prototype._embedSlotThrottleInterval=function(){return 500},n.prototype._freeEmbedSlot=function(){var e;if(this._setupEmbedSlots(),r._embedSlots=function(){var t,n,o,i;for(o=r._embedSlots,i=[],(t=0,n=o.length);t<n;t++)e=o[t],e!==this&&i.push(e);return i}.call(this),r._embedSlots.length<this._maxEmbedSlots())return r._embedSlotFree(!0)},n.prototype._allocEmbedSlot=function(){if(this._setupEmbedSlots(),r._embedSlots.push(this),r._embedSlots.length>=this._maxEmbedSlots())return r._embedSlotFree(!1)},n.prototype._shouldLazyLoad=function(){var e;return e=this._gatherOptions(),!window._inWistiaIframe&&parent===self&&(e.lazyLoad||this.popover&&!1!==e.lazyLoad)},n.prototype._initWithMediaData=function(e){var n,o,i;this.info('_initWithMediaData',e);try{0===r.Player.assets(e,{public:!0}).length&&r.Metrics.videoCount(this,'player/no-public-assets')}catch(e){n=e,this.debug(n)}return this.isRemoved()?void this.notice('abort, video already removed'):e.error?(this.notice('display error message from server'),this._displayServerError(e),void this.trigger('servererror')):(this.hashedId(e.hashedId),this._originalMediaData=r.obj.clone(e),this._mediaData=e,this._mediaData=y(e,this._gatherOptions()),this.data.media=e,this.info('_optionSources',this._optionSources()),this._opts=this._gatherOptions(),this.info('_opts',r.obj.clone(this._opts)),r.obj.merge(this._mediaData,this._opts.mergeMediaData),this._inferPropertiesAfterMediaData(),i=t.choosePlayer(this.judyCtx(),this._mediaData,this._opts),this._playerPlugins=t.playerPlugins(this.judyCtx(),i,this._mediaData,this._opts),t.logWarnings(this.judyCtx(),i,this._mediaData,this._opts),this._implVersion+=1,o=this._implVersion,this._execPlugins(function(n){return function(){var a,e,l;if(n._implVersion!==o)return void n.notice('_initWithMediaData(): impl changed from',o,'to',n._implVersion,'not completing init');n.hasPlugins(!0),e=r.PublicApi.classFor(i),n.supportedPlayers=t.supportedPlayers(n.judyCtx(),n._mediaData.assets);try{n._impl=new e(n).init()}catch(t){throw a=t,n.error('Failed to initialize impl of class',e,'preferred',i,'supported',n.supportedPlayers),a}return n.grid=n._impl.setupGrid({initDimensions:!1}),n._hasImpl(!0),n.hasData(!0),(null==(l=n._embedContainer)?void 0:l.parentNode)?(n._runMethodsFromOptions(),n._impl.embed(),0<n._getFadeInTime()&&r.elem.style(n._impl.gridChildren(),{opacity:0}),n._impl.embedded(function(){return 0<n._getFadeInTime()?r.elem.animate(n._impl.gridChildren(),{opacity:1},{time:n._getFadeInTime(),callback:function(){return n.trigger('transitiondone')}}):n.trigger('transitiondone')}),r.timeout(n.uuid+'.prefetch_next_media',function(){return n.prefetchNextMedia()},2e3),n._injectJsonLd()):n.notice('embed(): container removed, giving up')}}(this)))},n.prototype._getFadeInTime=function(){return null==this._opts.fadeInTime?200:this._opts.fadeInTime},n.prototype.judyCtx=function(){return this._judyCtx||(this._judyCtx=t.buildContext({pageUrl:this._attrs.pageUrl}))},n.prototype._iframeUrl=function(e){return null==e&&(e=''),e+'//'+r.remote.externalEmbedHost(e)+'/embed/iframe/'+this.hashedId()},n.prototype._removeJsonLd=function(){if(this._jsonLd)return r.elem.remove(this._jsonLd),this._jsonLd=null},n.prototype._wvideoInUrl=function(){var e;return!this._opts._inIframe&&(e=r.url.parse(this._attrs.pageUrl),e.params.wvideo===this.hashedId())},n.prototype._scrollToContainer=function(){var e;return e=r.elem.offset(this.container),r.util.scrollTop(e.top-100)},n.prototype._injectJsonLd=function(){var e,t,n,o,i,a,s,d;if('notplayable'!==this.playerType)return(this._removeJsonLd(),!this._opts._inIframe)?!1===this._opts.seo?void 0:(o={"@context":'http://schema.org/',"@id":this._iframeUrl('https:'),"@type":'VideoObject',duration:'PT'+this.humanDuration().toUpperCase(),name:this.name(),thumbnailUrl:this.stillUrl({protocol:'https:',ext:'jpg'}),embedUrl:this._iframeUrl('https:'),uploadDate:this._createdAtIso8601()},this._mediaData.captions&&(o.transcript=null==(i=this._mediaData.captions[0])?void 0:i.text),b(this.embedOptions(),this.duration())&&(e=(null==(a=this.embedOptions().plugin)||null==(s=a.chapters)?void 0:s.chapter
1List)||this.embedOptions().chaptersOn&&this.embedOptions().chapterList,e&&(o.hasPart=l(e,location.href))),this._mediaData.seoDescription&&(o.description=this._mediaData.seoDescription),d=JSON.stringify(o),this._jsonLd=r.elem.fromObject({className:'w-json-ld',tagName:'script',type:'application/ld+json',childNodes:d}),this._jsonLd._wistia=!0,n=document.querySelectorAll('script.w-json-ld'),t=n[n.length-1],t?r.elem.after(t,this._jsonLd):r.elem.prepend(document.head,this._jsonLd)):void 0},n.prototype._createdAtIso8601=function(){var e,t,n,o;return e=new Date(1e3*this._mediaData.createdAt),o=e.getFullYear(),n=e.getMonth()+1,t=e.getDate(),10>n&&(n='0'+n),10>t&&(t='0'+t),o+'-'+n+'-'+t},n.prototype._setDeprecatedProperties=function(){return this.options=r.obj.clone(this._opts),this.params=r.obj.clone(this._opts),r.obj.merge(this.params,this._attrs),this._attrs.email&&(this.params.trackEmail=this._attrs.email),this._hasImpl(function(e){return function(){var t;return e.playerType=e.embedType=null==(t=e._impl)?void 0:t.playerType}}(this))},n.prototype.elem=function(){var e;return null==(e=this._impl)?void 0:'function'==typeof e.elem?e.elem():void 0},n.prototype._execPlugins=function(e){return this._pluginScripts=m(this._mediaData,this._opts,this._playerPlugins),r.plugin._setFnForDefinedPlugins(this,this._pluginScripts),this.info('_execPlugins',this._pluginScripts),r.plugin._execQueue(this,this._pluginScripts,e)},n.prototype._optionSources=function(e){var t,n,o,i,a,l,s,d,p;if(null==e&&(e={}),e=r.obj.merge({givenOptions:r.obj.clone(this._givenOptions),mediaData:r.obj.clone(this._mediaData),hashedId:this._hashedId,container:this.container},e),o=e.givenOptions,'v1'===o.version?t={}:e.mediaData?(t=r.obj.clone(e.mediaData.embed_options),delete t.stillUrl):t={},l=['autoPlay','deliveryCdn','hls','newLook','techInfo'],a=u(l,this._inferPageUrl()),n={},d={customize:t,global:r.options('__global__'),hashedId:r.options(e.hashedId),dom:r.options('__'+e.container.id+'_dom_options__'),container:r.options(e.container.id),inline:o,inferredOptions:n,queryParamOptions:a,override:e.override||{}},o.optionSourceOverrides)for(i in s=o.optionSourceOverrides,s)p=s[i],d.hasOwnProperty(i)&&(d[i]=p);for(i in d)p=d[i],r.obj.isEmpty(p)&&delete d[i];return d},n.prototype._gatherOptions=function(e){var t,n,o,i,a,l,s;for(t in null==e&&(e={}),o={},l=this._optionSources(e),l)s=l[t],0<=(null==(i=e.only)?void 0:i.indexOf(t))?r.obj.merge(o,s):0>(null==(a=e.except)?void 0:a.indexOf(t))?r.obj.merge(o,s):!e.only&&!e.except&&r.obj.merge(o,s);return r.obj.cast(o),this._normalizeOptions(o),n=e.mediaData||this._mediaData,'html5'===o.playerPreference&&(o.playerPreference='vulcan-v2'),(null==n?void 0:n.useMediaDataHostLogic)&&(o.useMediaDataHostLogic=!0),!1!==o.newLook&&(o.newLook=!0),o},n.prototype.hashedId=function(e){return null==e?this._hashedId:(this._hashedId=e,this)},n.prototype.isAudio=function(){return'Audio'===this._mediaData.mediaType},n.prototype._normalizeOptions=function(e){return e.twitter&&(this.info('twitter detected'),r.obj.get(e,'plugin.socialbar-v1')&&(this.info('disabled socialbar'),r.obj.set(e,'plugin.socialbar-v1.on',!1)),r.obj.get(e,'plugin.transcript-v2')&&(this.info('disabled transcript'),r.obj.set(e,'plugin.transcript-v2.on',!1))),null!=e.playButtonVisible&&(e.playButton=r.obj.cast(e.playButtonVisible),delete e.playButtonVisible),e},n.prototype._setupContainer=function(){var e,t,n,o;if(this._containerId=this._givenOptions.container?this._givenOptions.container:'wistia_'+this.hashedId(),this.container='string'==typeof this._containerId?document.getElementById(this._containerId):this._containerId,this.container){for(this.container.wistiaApi=this,this._startingHtml=this.container.innerHTML,o=Array.prototype.slice.call(this.container.childNodes),(t=0,n=o.length);t<n;t++)e=o[t],r.elem.hasClass(e,'wistia_swatch')||r.elem.remove(e);r.elem.addClass(this.container,'wistia_embed_initialized')}return this.info('container',this.container)},n.prototype._inferPropertiesBeforeMediaData=function(){var e;if(this.chrome=r.elem.fromObject({id:r.seqId('wistia_chrome_'),class:'w-chrome',style:r.generate.relativeBlockCss(),tabindex:-1}),r.elem.style(this.chrome,{outline:'none',overflow:'hidden',boxSizing:'content-box',mozBoxSizing:'content-box',webkitBoxSizing:'content-box'}),e=this._gatherOptions(),this._shouldBePopover()?(this._popoverContainer=r.elem.fromObject({role:'dialog',id:this.container.id+'_popover_container'}),!(r.detect.iphone||r.detect.ipad)&&this._popoverContainer.setAttribute('aria-modal',!0),this._embedContainer=r.elem.fromObject({i
1d:this.container.id+'_popover',style:{height:this._popoverSize(e).height+'px',width:this._popoverSize(e).width+'px'}}),r.elem.append(this._popoverContainer,this._embedContainer),r.elem.append(document.body,this._popoverContainer)):this._embedContainer=this.container,r.elem.append(this._embedContainer,this.chrome),this.uuid=e.uuid?e.uuid:r.seqId(),this.info('uuid',this.uuid),null!=e.playlistLoop&&(this._attrs.playlistLoop=e.playlistLoop),this._embedContainer)return this._attrs.startingWidth=r.elem.width(this._embedContainer),this._attrs.startingHeight=r.elem.height(this._embedContainer)},n.prototype._shouldBePopover=function(){var e;return e=this._gatherOptions(),!e._inIframe&&(!0===e.popover||'v2'===e.popover)},n.prototype._popoverSize=function(e){var t,n,o,i,a;return null==e&&(e=this._opts),null==e&&(e={}),e.popoverSize?(i=(null==(o=e.popoverSize)?void 0:o.split('x'))||[640,360],a=i[0],t=i[1],a=parseInt(a),t=parseInt(t)):this._mediaData?(n=this.asset({container:'mp4',width:[0,960],sortBy:'width desc'}))?(a=n.width,t=n.height):(a=640,t=360):(a=640,t=360),{width:a,height:t}},n.prototype._inferPropertiesAfterMediaData=function(){var e,t,n,o,i,a;return this._attrs.shouldTrack=!this._opts.doNotTrack,this._attrs.seekThreshold=this._opts.seekThreshold||1.5,i=this._inferQualityRangeFromOpts(),o=i[0],n=i[1],this._attrs.qualityMin=o,this._attrs.qualityMax=n,this._attrs.qualityMax<this._attrs.qualityMin&&(this.error('qualityMax '+this._attrs.qualityMax+' is less than qualityMin '+this._attrs.qualityMin+'. Setting qualityMax to '+this._attrs.qualityMin+'.'),this._attrs.qualityMax=this._attrs.qualityMin),this._attrs.rawEmbed=null==this._opts.rawEmbed?null==this._opts._inIframe||!r.obj.cast(this._opts._inIframe||!1):r.obj.cast(this._opts.rawEmbed),this._attrs.pageUrl||(this._attrs.pageUrl=this._inferPageUrl()),null!=this._opts.trackEmail&&(this._attrs.email=this._opts.trackEmail),!this._attrs.email&&this._attrs.shouldTrack&&(a=this._extractEmailFromParams(),a&&(this._attrs.email=a)),!this._attrs.email&&r.localStorage([this._attrs.pageUrl,'trackEmail'])&&(this._attrs.email=r.localStorage([this._attrs.pageUrl,'trackEmail'])),e=this._attrs.playerColor,t=e&&e!==this._opts.playerColor,this._attrs.playerColor=r.Player._sanePlayerColor(this._opts.playerColor||'636155'),t&&this.trigger('playercolorchange',this._attrs.playerColor,e),this._attrs.playerBackgroundColor=this._opts.playerBackgroundColor||'#000000',this._attrs.trackWithJs=!0,this._attrs.newStillLogic=!0,this._opts.noDeprecatedProperties||this._setDeprecatedProperties(),this},n.prototype._inferPageUrl=function(){var e,t,n;return(null==(e=this._opts)?void 0:e.pageUrl)?this._opts.pageUrl:(null==(t=window.FreshUrl)?void 0:t.originalUrl)?null==(n=window.FreshUrl)?void 0:n.originalUrl:top===self?location.href||'':document.referrer||''},n.prototype._inferQualityRangeFromOpts=function(){var e,t,n,o,i,a,l,s,d,u,p;return t=360,e=2160,this._opts.videoQuality&&'auto'!==this._opts.videoQuality?'sd-only'===this._opts.videoQuality?[200,360]:'md'===this._opts.videoQuality?[540,e]:'hd-only'===this._opts.videoQuality?[720,e]:/width:/.test(this._opts.videoQuality)?(d=this._opts.videoQuality.match(/width:(\d+)/i),n=d[0],u=d[1],p=parseInt(u,10),(i=r.Player.asset(this._mediaData,{container:/mp4|flv/,status:r.Player.READY,public:!0}))?(o=i.width/i.height,a=Math.round(p/o),[a,a]):(this.warn('No assets available to determine aspect for videoQuality \''+this._opts.videoQuality+'\', using default qualityMin/qualityMax'),[t,e])):(this.warn('Unknown videoQuality setting \''+this._opts.videoQuality+'\', using default qualityMin/qualityMax'),[t,e]):(s=null==this._opts.qualityMin?t:r.util.assetSizeShorthandToNumeric(this._opts.qualityMin),l=null==this._opts.qualityMax?e:r.util.assetSizeShorthandToNumeric(this._opts.qualityMax),[s,l])},n.prototype._extractEmailFromParams=function(){var e,t,n,o,i,a;return(i=(null==(n=this._attrs.pageUrl)?void 0:n.match(/wemail\=([^\&\#]+)/))||null,i)?i[1]:(a=(null==(o=this._attrs.pageUrl)?void 0:o.match(/wkey\=([^\&\#]+)/))||null,a?(e=a[1],t=r.base64.decode(e),t):null)},n.prototype._runMethodsFromOptions=function(){var e,t,n,o;if(null!=this._opts.foreignData&&this.foreignData(this._opts.foreignData),null==this._opts.email?null!=this._opts.trackEmail&&this.email(this._opts.trackEmail):this.email(this._opts.email),null!=this._opts.playerLanguage&&this.playerLanguage(this._opts.playerLanguage),null!=this._opts.videoFoam&&this.videoFoam(this._opts.videoFoam),this._opts.controlScaling&&this.controlScaling(this._opts.controlScaling),this._hasImpl(function(e){return function(){if(null!=e._opts.playerColor&&'flash'!==e.playerType)return e.playerColor(e._opts.playerColor)}}(this)),null!=this._opts.volume&&this.volume(this._opts.volume),(!0===this._opts.muted||0===this._opts.volume)&&this.mute(),!1===this._opts.muted&&this.unmute(),this._opts.suppressPlay&&this.suppressPlay(this._opts.suppressPlay),(!this.popover||('function'==typeof(e=this.popover).isVisible?e.isVisible():void 0))&&this._opts.autoPlay&&this._hasImpl(function(e){return function(){return e._playSuspendedOffScreenEnabled()?e.inViewport()?e.play():e.b
1ind('enterviewport',function(){return e.play(),e.unbind}):e.play()}}(this)),this._opts.pause&&this.pause(),null!=this._opts.time)return n=r.detect.iphone||r.detect.ipad||r.detect.android,t=this.popover&&!this.popover._visible,o='playing'!==this.state()&&(n||t),this.time(this._opts.time,{lazy:o})},n.prototype._playSuspendedOffScreenEnabled=function(){return null!=this._opts.playSuspendedOffScreen&&'auto'!==this._opts.playSuspendedOffScreen?this._opts.playSuspendedOffScreen:this.isMuted()},n.prototype._validate=function(){var e;if(e=this._errors(),0<e.length){throw new Error(e.join(', '))}return!0},n.prototype._errors=function(){var e;return e=[],this.container||e.push('Could not find element with ID "'+this._containerId+'" in DOM. Failed to initialize video "'+this._hashedId+'".'),e},n.prototype._dedupContainer=function(){var e,t,n,o,i,a,l;if(r.data('video')){for(l in a=[],o=r.data('video'),o)e=o[l],this.container.id&&(null==(i=e.container)?void 0:i.id)===this.container.id&&a.push(e);for(t=0,n=a.length;t<n;t++)e=a[t],this.notice('_dedupContainer',e.container.id),e.remove();if(0<a.length)return this.container.wistiaApi=this}},n.prototype._addToGlobalCache=function(){return this.info('_addToGlobalCache',this.uuid),r.data(['video',this.uuid],this)},n.prototype._displayServerError=function(e){var t;return e.iframe?(t=this._gatherOptions().useMediaDataHostLogic?d()+'//'+s():r.proto()+'//'+r.remote.embedHost(),this.container.innerHTML='<iframe src=\''+t+'/embed/iframe/'+this.hashedId()+'\' height=\''+this.height()+'\' width=\''+this.width()+'\' frameborder=\'0\' scrolling=\'no\'></iframe>'):this.container.innerHTML='<div style=\'background:#fff;border:2px dashed #ddd;color:#aaa;font-family:Century Gothic,Arial;font-size:14px;text-align:center;width:'+this.width()+';height:'+this.height()+';\'><div style=\'padding:20px;\'>'+(e.message||e.error)+'</div></div>'},n.prototype._implExec=function(){var e,t;return t=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],this._hasImpl(function(n){return function(){var o;return n._impl[t]?n._impl[t]._originalMethod===n[t]?void n.warn('calling '+t+' would result in an infinite loop'):(o=n._impl)[t].apply(o,e):n.warn(t+' is not defined',r.stacktrace())}}(this)),this},n.prototype._implGet=function(){var e,t,n,o;return n=arguments[0],t=arguments[1],e=3<=arguments.length?i.call(arguments,2):[],null==t&&(t=null),this._hasImpl()?this._impl[n]?this._impl[n]._originalMethod===this[n]?void this.warn('calling '+n+' would result in an infinite loop'):(o=this._impl)[n].apply(o,e):this.warn(n+' is not defined',r.stacktrace()):t},n.prototype._implSetOrGet=function(){var e,t,n;return n=arguments[0],t=arguments[1],e=3<=arguments.length?i.call(arguments,2):[],0<e.length?this._implExec.apply(this,[n].concat(i.call(e))):this._implGet(n,t)},n.prototype._implPromise=function(){var e,t;return t=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],new a(function(n){return function(o,i){return n._hasImpl(function(){var r,l;return n._impl[t]?n._impl[t]._originalMethod===n[t]?void n.warn('calling '+t+' would result in an infinite loop'):(l=(r=n._impl)[t].apply(r,e),l instanceof a?l.then(o)['catch'](i):o(l)):i(new Error(t+' is not defined on _impl'))})}}(this))},n.prototype.rebuild=function(){return this._hasImpl(function(e){return function(){return e._impl.rebuild(),e._runMethodsFromOptions()}}(this))},n.prototype.fullRebuild=function(e){return null==e&&(e={}),this.replaceWith(this._impl._mediaData,r.obj.merge({force:this._impl.playerType,inPlace:!1,transition:'none'},e))},n.prototype.rebuildAs=function(e,t){return null==t&&(t={}),this.fullRebuild(r.obj.merge(this._givenOptions,t,{force:e,transition:'none'}))},n.prototype.replace=function(e,t){return null==t&&(t={}),this.replaceWith(e,r.obj.merge({inlineOptionsOnly:!0},t))},n.prototype.replaceWith=function(e,t){var n;return null==t&&(t={}),this.info('replaceWith',e,t),n=function(n){return function(){var o,i,a,l;return l=n._impl?n._replaceWithMediaData:n._initWithMediaData,n._impl.trigger('beforereplace',e),n._notReplacing(!1),n.hasData(!1),n._hasImpl(!1),n._initTime=new Date().getTime(),n.hasData(function(){return n._hasDataTime=new Date().getTime(),n.embedded(function(){return n._embeddedTime=new Date().getTime()})}),r.obj.isObject(e)?l.call(n,e,t):(i=r.mediaFromCache(e))?l.call(n,i,t):(o=r.obj.clone(n._gatherOptions()),delete o.idT
1ype,a=r.obj.merge({},o,t),r.remote.media(e,function(e){return l.call(n,e,t)},a))}}(this),this._hasImpl(function(e){return function(){return e._notReplacing(n)}}(this)),this},n.prototype._replaceWithMediaData=function(){var e;return e=1<=arguments.length?i.call(arguments,0):[],this._impl.commandQueueOpen.synchronize(function(t){return function(n){return t._replaceWithMediaDataQueuable.apply(t,e),t._notReplacing(n)}}(this))},n.prototype._replaceWithMediaDataQueuable=function(e,n){var o,i,a,l,s,d,u,p,g,m,h,f,A,b,_;return(null==n&&(n={}),n=r.obj.clone(n),this.info('_replaceWithMediaData',e,n),e.error)?(this._displayServerError(e),void this.trigger('servererror')):(null==n.playlistIndex?this._inPlaylist(e.hashedId)&&(this._playlistIndex=this._playlistIndexOf(e.hashedId)):(this._playlistIndex=n.playlistIndex,delete n.playlistIndex),null!=n.playlistShouldAutoAdvance&&(this._playlistShouldAutoAdvance=n.playlistShouldAutoAdvance),n.inlineOptionsOnly&&(s=n.inlineOptionsOnly,delete n.inlineOptionsOnly),null!=n.inPlace&&(l=n.inPlace,delete n.inPlace),null!=n.transition&&(b=n.transition,delete n.transition),null!=n.transitionTime&&(_=n.transitionTime,delete n.transitionTime),this.hasData(!1),this._hasImpl(!1),null!=(g=this._impl._tracker)&&g.stopMonitoring(),this._clobberVideoBindings(),this._savedState={},this._suspended=!1,u=this._impl,'function'==typeof u.wipeOutstandingAsyncFunctions&&u.wipeOutstandingAsyncFunctions(),this._hashedId=e.hashedId,this._originalMediaData=e,this.data.media=e,this._givenOptions=n,this._mediaData=e,this._opts=s?this._gatherOptions({only:'inline'}):this._gatherOptions(),this._embedOptions=null,this._mediaData=y(e,this._opts),u.trigger('beforereplaceengine'),u.freezeLastFrame(),p=new r.StopGo,A=function(){return p.go()},c()&&!0===this._opts.autoPlay&&!u.isMuted()?(o=u.engine,o?(o.stopStreaming(),o.play().then(A)['catch'](A),setTimeout(A,2e3)):A()):A(),!1===r.obj.cast(null==(m=this._mediaData.embed_options.plugin)||null==(h=m.passwordProtectedVideo)?void 0:h.on)&&null!=(null==(f=this._opts.plugin)?void 0:f.passwordProtectedVideo)&&(this._opts.plugin.passwordProtectedVideo.on=!1),this.info('_opts',r.obj.clone(this._opts)),r.obj.merge(this._mediaData,this._opts.mediaData),this._inferPropertiesAfterMediaData(),a='notplayable'!==u.playerType&&'passwordprotected'!==u.playerType&&(!!('html5'===u.playerType&&(r.detect.iphone||r.detect.android||r.detect.ipad||r.detect.safari))||null!=l&&l),this.info('inPlace',a),d=t.choosePlayer(this.judyCtx(),this._mediaData,this._opts),this._playerPlugins=t.playerPlugins(this.judyCtx(),d,this._mediaData,this._opts),t.logWarnings(this.judyCtx(),d,this._mediaData,this._opts),a&&(this.removePlugins(),u.stopStreaming()),this.plugin=null,this._pluginStopGos={},this._definePluginMethod(),this.hasPlugins(!1),u.commandQueueOpen.setQueue([]),this.removeSwatch(),this._implVersion+=1,i=this._implVersion,p(function(e){return function(){var n;return null!=(n=u.engine)&&n.destroy(),e._execPlugins(function(){var n,o;return e._implVersion===i?(e.hasPlugins(!0),e.supportedPlayers=t.supportedPlayers(e.judyCtx(),e._mediaData.assets),o=r.PublicApi.classFor(d),e._impl=new o(e).init(),e._setupBindings(),e.grid=a?e._impl.grid=u.grid:e._impl.setupGrid({initDimensions:!1}),'function'==typeof(n=e._impl).transferStateFrom&&n.transferStateFrom(u),e._hasImpl(!0),e.hasData(!0),a||e._runMethodsFromOptions(),a?e._replaceMode(function(){return e._impl.initFrom(u)}):e._replaceMode(function(){return e._embedWithTransitionFrom(u,b,{time:_})}),e.embedded(function(){return e._notReplacing(!0)}),a&&e._runMethodsFromOptions(),e._allowContainerMatch()&&e.width(e.containerWidth(),{constrain:!0}),r.timeout(e._impl.uuid+'.inject_json_ld',function(){return e._injectJsonLd()}),e.trigger('afterreplace'),r.timeout(e.uuid+'.prefetch_next_media',function(){return e.prefetchNextMedia()},2e3)):void e.notice('replaceWith(): impl changed from',i,'to',e._implVersion,'not completing replacement')})}}(this)))},n.prototype._embedWithTransitionFrom=function(e,t,n){var o;return null==t&&(t='none'),this.info('_embedWithTransitionFrom',e,t),o=new a(function(e){return function(t){var n,o;return(null==(n=e._impl.lastPlayInfo())?void 0:n.isPending)?(o=e._impl.on('play',function(){return o(),t()}),r.timeout(e._impl.uuid+'.slow_play_fallback',function(){return e._impl.embedded(function(){return o(),t()})},2e3)):e._impl.embedded(t)}}(this)),'slide'===t||'slideleft'===t?(this.info('slideleft'),this._impl.embed(e),o.then(function(t){return function(){return e.slideOutLeft(n,function(){return e.remove()}),t._impl.slideInLeft(n,function(){return t._impl.trigger('transitiondone')})}}(this))):'slideright'===t?(this.info('slideright'),this._impl.embed(e),o.then(function(t){return function(){return e.slideOutRight(n,function(){return e.remove()}),t._impl.slideInRight(n,function(){return t._impl.trigger('transitiondone')})}}(this))):'fade'===t?(this.info('fade'),'transparent'!==e._opts.wmode&&(e.grid.center.style.backgroundColor='#000'),null!=n.time&&(n.time=Math.round(n.time/2)),e.fadeOut(n,function(t){return function(){var i;return e.remove(),'transparent'!==t._impl._opts.wmode&&null!=(i=t._impl.grid)&&(i.center.style.backgroundColor='#000'),t._impl.embed(e),o.then(function(){return t._impl.fadeIn(n,function(){var e;return null!=(e=t._impl)&&(e.grid.center.style.backgroundColor=''),t._impl.trigger('transitiondone')})})}}(this))):'crossfade'===t?(this.info('crossfade'),e.grid&&r.elem.style(e.grid.root,{position:'absolute',zIndex:0}),r.elem.style(this._impl.grid.root,{zIndex:1}),this._impl.embed(e),o.then(function(t){return function(){return t._impl.fadeIn(n,function(){return e.remove(),r.elem.style(t._impl.grid.root,{zIndex:''}),t._impl.trigger('transitiondone')})}}(this))):(this.info('no transition'),this._impl.embed(e),e.remove(),o.then(function(e){return function(){return setTimeout(function(){return e._impl.trigger('transitiondone')},0)}}(this)))},n.prototype._clobberVideoBindings=function(){var e,t,n,o;for(e in t=this._bindings,n=[],t)o=t[e],'afterreplace'===e||'beforereplace'===e||'all'===e?n.push(void 0):n.push(this.unbind(e));return n},n.prototype._replaceMode=function(e){return this.info('_replaceMode',!0),this._impl._replacing=!0,e(),this._impl.embedded(function(e){return function(){return e._impl._replacing=!1,e.info('_replaceMode',!1)}}(this))},n.prototype.remove=function(e){var t,n,o,i,a,l,s,d;return null==e&&(e={}),this.info('remove'),this.trigger('down'),this.trigger('beforeremove'),this._freeEmbedSlot(),null!=(t=this.elem())&&null!=(n=t.mux)&&'function'==typeof n.destroy&&n.destroy(),this.removeSwatch(),this._implExec('remove',{trigger:!1}),this._hasImpl(!1),this._removeJsonLd(),null!=(o=this.popover)&&'function'==typeof o.remove&&o.remove(),null!=(i=this._impl)&&i.stopStreaming(),null!=(a=this._intersectionObserver)&&a.disconnect(),r.elem.unbindAll(this._foamDummyElem),r.elem.remove(this._foamDummyElem),null!=(l=r.eventLoop)&&l.remove(this.uuid),r.clearTimeouts(this.uuid),this._unbindListeners(),r.elem.remove(this.chrome),r.removeData(['video',this.uuid]),this.trigger('afterremove'),this._bindings={},this.container.wistiaApi=e.unsetWistiaApiOnContainer?void 0:'removed',this._impl=null,null!=(s=window.__wistiaStores)&&(s[this.uuid]=null),null==(d=window.__wistiaStores)?void 0:delete d[this.uuid]},n.prototype.removeSwatch=function(){var e;if(e=this.container.querySelector('.wistia_swatch'),e)return r.elem.remove(e)},n.prototype.fullRemove=function(){var e,t,n;return t=this._embedContainer,n=this._popoverContainer,e=this.container,this.remove(),r.elem.remove(t),r.elem.remove(n),r.elem.remove(e),this.container=this._embedContainer=null,this},n.prototype.isRemoved=function(){return!r.data(['video',this.uuid])},n.prototype._unbindListeners=function(){if(r.elem.unbindAllInside(this.chrome),this._throttleTriggerViewport&&r.elem.unbind(window,'scroll',this._throttleTriggerViewport),this._doResize)return r.elem.unbind(window,'resize',this._doResize)},n.prototype._saveState=function(){var e;return this._savedState={state:this.state(),time:this.time(),volume:this.volume(),inFullscreen:this.inFullscreen(),uuid:null==(e=this._impl)?void 0:e.uuid}},n.prototype.suspend=function(){var e;if(!this._suspended)return this._saveState(),this.info('suspend',r.obj.clone(this._savedState)),this.pause(),this.suppressPlay(!0),((null==(e=this._impl)?void 0:'function'==typeof e._inNativeMode?e._inNativeMode():void 0)||!r.detect.fullscreenEnabled)&&this.cancelFullscreen(),this._suspended=!0,this._suspendPlayBinding=function(e){return function(){return e.pause()}}(this),this._suspendSeekBinding=function(e){return function(){return e.pause(),e.time(e._savedState.time)}
1}(this),this.bind('play',this._suspendPlayBinding),this.bind('seek',this._suspendSeekBinding),this.trigger('suspendstatechange',!0),this},n.prototype.unsuspend=function(e){var t,n,o;if(null==e&&(e={}),!!this._suspended)return(n=r.obj.merge({},this._savedState,e),this.info('unsuspend',r.obj.clone(n)),this._suspended=!1,this.unbind('play',this._suspendPlayBinding),this.unbind('seek',this._suspendSeekBinding),n.uuid!==(null==(t=this._impl)?void 0:t.uuid))?this:(this.suppressPlay(!1),this.volume(n.volume),o={pause:'playing'!==n.state},null!=n.time&&.5<Math.abs(n.time-this.time())&&('ended'===n.state?'flash'===this.playerType&&1800<this.duration()?this.time(n.time-10,o):this.time(n.time-1,o):this.time(n.time,o)),'playing'===n.state&&this.play(),this.trigger('suspendstatechange',!1),this)},n.prototype._setupBindings=function(){return this.bind('afterend',function(e){return function(){return e.playlistShouldAutoAdvance()?e._suspended?e.bind('suspendstatechange',function(t){if(!1===t)return'ended'===e.state()&&e._nextEmbedOrPlaylistLoop(),e.unbind}):e._nextEmbedOrPlaylistLoop():void 0}}(this)),this.bind('widthchange',function(e){return function(){var t,n;return null!=(t=e._impl)&&(t._width=e._width=e.width()),null==(n=e._impl)?void 0:n._videoWidth=e._videoWidth=e.videoWidth()}}(this)),this.bind('heightchange',function(e){return function(){return e._impl._height=e._height=e.height(),e._impl._videoHeight=e._videoHeight=e.videoHeight()}}(this)),window.IntersectionObserver?(this.looksUp()&&(this.inViewport(this._isInViewportNow()),this.inViewport()?this.trigger('enterviewport'):this.trigger('leaveviewport')),this._intersectionObserver=new IntersectionObserver(function(e){return function(t){return t[0].isIntersecting?(e.trigger('enterviewport'),e.inViewport(!0)):(e.trigger('leaveviewport'),e.inViewport(!1))}}(this)),this._intersectionObserver.observe(this.container)):top===self?(null==this._throttleTriggerViewport&&(this._throttleTriggerViewport=r.util.throttle(300,function(e){return function(){var t;return(t=e._isInViewportNow(),t&&!e._inViewport)?(e._inViewport=!0,e.inViewport(!0),e.trigger('enterviewport')):!t&&e._inViewport?(e._inViewport=!1,e.inViewport(!1),e.trigger('leaveviewport')):void 0}}(this))),r.elem.rebind(window,'scroll',this._throttleTriggerViewport),this.bind('initembed',this._throttleTriggerViewport),this.bind('up',this._throttleTriggerViewport),this.looksUp()&&this._throttleTriggerViewport()):(this._inViewport=!0,this.inViewport(!0)),r.elem.rebind(window,'resize',this._doResize),this.bind('sphericaltap',function(e){return window.location=e})},n.prototype._nextEmbedOrPlaylistLoop=function(){return this.nextVideo()?this.embedNext():this._attrs.playlistLoop?(this.info('playlistLoop'),this.embedIndex(0,{autoPlay:!0})):void 0},n.prototype._isInViewportNow=function(){var e,t,n,o,i;return!(this.down()||this.looksDown())&&(!(window.IntersectionObserver||top===self)||(e=r.elem.offset(this.container),n=e.top,t=n+r.elem.height(this.container),i=r.util.scrollTop(),o=r.util.scrollTop()+r.elem.height(window),n>=i&&n<o||t>=i&&t<o||n<=i&&t>=o))},n.prototype._pauseEventLoop=function(){var e;if(r.eventLoop.pause(this.uuid),null==(e=this._impl)?void 0:e.uuid)return r.eventLoop.pause(this._impl.uuid)},n.prototype._unpauseEventLoop=function(){var e;if(r.eventLoop.unpause(this.uuid),null==(e=this._impl)?void 0:e.uuid)return r.eventLoop.unpause(this._impl.uuid)},n.prototype.playlistIndex=function(){return this._playlistIndexOf(this.hashedId())},n.prototype.nextVideo=function(){return 0<=this.playlistIndex()?this._playlist[this.playlistIndex()+1]||null:null},n.prototype.previousVideo=function(){return 0<this.playlistIndex()?this._playlist[this.playlistIndex()-1]||null:null},n.prototype._playlistIndexOf=function(e){var t,n,o,i;for(t=n=0,o=this._playlist.length;0<=o?n<=o:n>=o;t=0<=o?++n:--n)if((null==(i=this._playlist[t])?void 0:i.hashedId)===e)return t;return-1},n.prototype._inPlaylist=function(e){return 0<=this._playlistIndexOf(e)},n.prototype._setTransitionOptions=function(e){if(e.transition||(e.transition=this._opts.playlistTransition||'fade'),e.transitionTime||(e.transitionTime=this._opts.playlistTransitionTime),e.playlistIndex&&'slide'===e.transition)return e.playlistIndex>=this._playlistIndex?e.transition='slideleft':e.transition='slideright'},n.prototype.embedNext=function(e){var t,n;return n=this.nextVideo(),this.info('embedNext',n),t=r.obj.merge({autoPlay:!0,resumable:!1},n.options,e),t.playlistIndex=this._playlistIndex+1,t.playlistShouldAutoAdvance=this._playlistShouldAutoAdvance,this._setTransitionOptions(t),this.replaceWith(n.hashedId,t)},n.prototype.embedPrevious=function(e){var t,n;return n=this.previousVideo(),this.info('embedPrevious',n),t=r.obj.merge({autoPlay:!0,resumable:!1},n.options,e),t.playlistIndex=this._playlistIndex-1,t.playlistShouldAutoAdvance=this._playlistShouldAutoAdvance,this.replaceWith(n.hashedId,t)},n.prototype.embedIndex=function(e,t){var n,o;return o=this._playlist[e],this.info('embedIndex',e,o),n=r.obj.merge({autoPlay:!0},o.options,t),n.playlistIndex=e,n.playlistShouldAutoAdvance=this._playlistShouldAutoAdvance,this.replaceWith(o.hashedId,n)},n.prototype.addToPlaylist=function(e,t,n){var o,i,a,l,s,d,u;for(null==t&&(t={}),null==n&&(n={}),null==this._playlist&&(this._playlist=[]),s=r.util.toArray(e),(a=0,l=s.length);a<l;a++)i=s[a],o={hashedId:i,options:t},n=r.obj.clone(n),n.after?n.detect=function(e){return e.hashedId===n.after}:n.before&&(n.detect=function(e){return e.hashedId===n.before}),this.info('addToPlaylist',o,n),r.util.insertIntoArray(this._playlist,o,n),i===(null==(d=this.nextVideo())?void 0:d.hashedId)?this.prefetchMedia(i,t):i===(null==(u=this.previousVideo())?void 0:u.hashedId)&&this.prefetchMedia(i,t);return this.info('updated _playlist',r.obj.clone(this._playlist)),this.trigger('playlistchange',this._playlist),this._playlist},n.prototype.setPlaylist=function(e,t){return null==t&&(t={}),this._playlist=[],this.addToPlaylist(e,t),this._playlistIndex=this._playlistIndexOf(this.hashedId()),this.trigger('playlistchange',this._playlist)},n.prototype.playlistShouldAutoAdvance=function(){return null==this._playlistShouldAutoAdvance||this._playlistShouldAutoAdvance},n.prototype.setPlaylistShouldAutoAdvance=function(e){return this._playlistShouldAutoAdvance=e},n.prototype.prefetchNextMedia=function(){var e;if(!this._opts._inLegacyPlaylist&&(e=this.nextVideo()))return this.prefetchMedia(e.hashedId,e.options)},n.prototype.prefetchMedia=function(e,t){return this.info('@prefetchMedia',e),r.remote.media(e,function(n){return function(o){var i;return n.info('prefetched',e),i=n._gatherOptions({givenOptions:t,mediaData:o,hashedId:o.hashedId,container:n.container}),h(o,i)}}(this),t)},n.prototype.addPlugin=function(e,t){return null==t&&(t={}),this.info('addPlugin',e,t),new a(function(n){return function(o){return n._hasImpl(function(){return n.hasPlugin(e)||r.plugin._inject(n,e,t),n.plugin(e).then(function(e){return o(e)})})}}(this))},n.prototype.hasPlugin=function(e){return!!this.plugin[e]},n.prototype.turnOffPluginApis=function(){var e,t,n,o,i;for(n in this.info('turnOffPluginApis'),o=this.plugin,i=[],o)t=o[n],i.push('function'==typeof(e=this._pluginStopGos)[n]?e[n](!1):void 0);return i},n.prototype.removePlugin=function(t){var n,e,o;if(e=this.plugin[t],!!e){try{'function'==typeof e.remove&&e.remove()}catch(e){n=e,setTimeout(function(){return function(){throw n}}(this),0)}return delete this.plugin[t],(null==(o=this._impl.plugin)?void 0:o[t])&&delete this._impl.plugin[t],e.uuid&&this.plugins&&(delete this.plugins[this.uuid],r.removeData(['plugins',t,this.uuid,e.uuid])),this.fit(),this.trigger('pluginremoved',t)}},n.prototype.removePlugins=function(){var e,t,n,o;for(t in this.info('removePlugins'),n=this.plugin,o=[],n)e=n[t],o.push(this.removePlugin(t));return o},n.prototype.containerWidth=function(){return this._attrs.rawEmbed?r.elem.width(this._embedContainer):r.util.winWidth()},n.prototype.containerHeight=function(){return this._attrs.rawEmbed?r.elem.height(this._embedContainer):r.util.winHeight()},n.prototype._goToDownState=function(){var e;return this.info('_goToDownState'),this._stateBeforeDown=this._lastState,this.up(!1),this.down(!0),null!=(e=this._impl.engine)&&e.pause(),this.ready(!1),this.trigger('down')},n.prototype._goToUpState=function(){var e;return this.info('_goToUpState'),this.down(!1),this._ignoreUp=!0,this._doSizing(),this._ignoreUp=!1,this.up(!0),this.ready(!1),'flash'===this.embedType?this.rebuild():(this.fit(),null!=(e=this._impl)&&e.checkForReady(),'playing'===this._stateBeforeDown&&this.play()),this.trigger('up')},n.prototype._checkDownState=function(){var e;return(e=this.looksDown(),this.up()&&e)?(this.info('moving to down state'),this._goToDownState()):this.down()&&!e?(this.info('moving to up state'),this._goToUpState()):void 0},n.prototype._removeHandleIfGoneFromDOM=function(){return!!this.embedded()&&(this.elem()?this._embedContainer&&!this._embedContainer.parentNode&&(this.warn('container removed from DOM',this._embedContainer.id),this.remove({unsetWistiaApiOnContainer:!0}),!0):(this.warn('video element removed from DOM',this._embedContainer.id),this.remove(),!0))},n.prototype._doFoam=function(){var e,t,n,o,i,a,l,s,d,u,p;if(null==this._parentBoxSizing&&(this._parentBoxSizing=r.elem.style(this._embedContainer.parentNode,'box-sizing')),this.popover?(p=r.elem.width(window),u=r.elem.height(window),d=p/u,s=Math.min(p,u),t=500<s?160:.2>Math.abs(d-this.aspect())?.2*s:.1*s,l=d>this.aspect()?Math.round((u-t)*this.aspect()):p-t):'border-box'===this._parentBoxSizing?(!this._foamDummyElem&&(this._foamDummyElem=r.elem.fromObject({class:'wistia_video_foam_dummy',"data-source-container-id":this._embedContainer.id,style:{border:0,display:'block',height:0,margin:0,padding:0,position:'static',visibility:'hidden',width:'auto'}}),r.elem.before(this._embedContainer,this._foamDummyElem)),l=r.elem.width(this._foamDummyElem)):l=r.elem.width(this._embedContainer.parentNode),!isNaN(l)&&(this._lastParentWidth!==l||!this._didFoam))return this._didFoam=!0,a=l,i=a-this.extraWidth(),o=this.heightForWidth(i),n=o+this.extraHeight(),e=this.videoFoam(),e.maxHeight&&n>e.maxHeight&&(n=e.maxHeight,o=n-this.extraHeight(),i=this.widthForHeight(o),a=i+this.extraWidth()),e.maxWidth&&a>e.maxWidth&&(a=e.maxWidth,i=a-this.extraWidth(),o=this.heightForWidth(i),n=o+this.extraHeight()),e.minHeight&&n<e.minHeight&&(n=e.minHeight,o=n-this.extraHeight(),i=this.widthForHeight(o),a=i+this.extraWidth()),e.minWidth&&a<e.minWidth&&(a=e.minWidth,i=a-this.extraWidth(),o=this.heightForWidth(i),n=o+this.extraHeight()),this.info('videoFoam set width',a),this.width(a,{constrain:!0}),this._lastParentWidth=l},n.prototype._allowFoam=function(){var e;return this._hasImpl()&&this.grid&&(this.up()||this._ignoreUp)&&this.looksUp()&&this._attrs.rawEmbed&&(this._attrs.videoFoam||(null==(e=this.popover)?void 0:e.isResponsive()))&&!this.isAudio()},n.prototype._allowContainerMatch=function(){return(this.up()||this._ignoreUp)&&!this._opts.dontMonitorSize&&!this.inFullscreen()},n.prototype._doContainerMatch=function(){var e,t;if(t=this.containerWidth(),e=this.containerHeight(),this._lastWidth!==t&&(this.notice('container width changed to '+t+', matching'),this.width(t,{dontChangeContainer:!0}),this.info('_doContainerMatch set width',t),this.trigger('widthchange',t,this._lastWidth),this._lastWidth=t),this._lastHeight!==e)return this.notice('container height changed to '+e+', matching'),this.height(e,{dontChangeContainer:!0}),this.trigger('heightchange',e,this._lastHeight),this._lastHeight=e},n.prototype.monitor=function(){return this.info('monitor'),this._lastWidth=this._attrs.startingWidth,this._lastHeight=this._attrs.startingHeight,this._lastParentWidth=this.width(),this._didFoam=!1,this._hasImpl(function(e){return function(){return r.eventLoop.add(e.uuid+'.monitor',500,e._doMonitor)}}(this))},n.prototype._doMonitor=function(){if(!this._removeHandleIfGoneFromDOM())return this._checkDownState(),this.chrome&&!r.elem.inDom(this.chrome)&&(this.notice('Chrome was removed from DOM. Injecting it back in.'),r.elem.a
1ppend(this._embedContainer,this.chrome)),this._doSizing()},n.prototype._doSizing=function(){return this.popover?this.popover.fixedSizeTooBigForWindow()?this._doFoam():this._opts.popoverSize?(this._lastWidth=this.width(),this._lastHeight=this.height(),this.width(this._popoverSize().width),this.height(this._popoverSize().height)):this._doFoam():this._allowFoam()?this._doFoam():this._allowContainerMatch()?this._doContainerMatch():void 0},n.prototype.looksDown=function(){return!this._embedContainer||!r.elem.inDom(this._embedContainer)||r.elem.isHidden(this._embedContainer)},n.prototype.looksUp=function(){return!this.looksDown()},n.prototype._doResize=function(){return'function'==typeof this._throttleTriggerViewport&&this._throttleTriggerViewport(),this._debounceDoMonitor||this.embedded(function(e){return function(){return r.util.requestAnimationFrame(function(){return e._doMonitor(),e._debounceDoMonitor=!1})}}(this)),this._debounceDoMonitor=!0},n.prototype._definePluginMethod=function(){return this.plugin?void 0:this.plugin=function(e){return function(t,n){var o;return(o=e._pluginStopGos[t])||(o=e._pluginStopGos[t]=new r.StopGo,o(!!e.plugin[t],e.plugin[t])),n?o(function(){return n(e.plugin[t])}):o}}(this)},n.prototype.videoFoam=function(e){return null==e?this._attrs.videoFoam||!1:(this.info('videoFoam',e),this._attrs.videoFoam=e,this.monitor(),e)},n.prototype._formattedDurationToSeconds=function(e){return r.TimeHelper.isValidHumanDuration(e)?r.TimeHelper.humanDurationToSeconds(e):r.TimeHelper.isValidIso8601(e)?r.TimeHelper.iso8601ToSeconds(e):e},n.prototype._transformAndUpdateMediaData=function(){var e,t,n;return this._mediaData=y(this._originalMediaData,this._opts),null!=(e=this._impl)&&null!=(t=e.engine)&&t.onMediaDataChanged(this._mediaData,this._opts),null==(n=this._impl)?void 0:n._mediaData=this._mediaData},n.prototype.specialBind=function(){var e,n,o,a,t,r;return n=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],'crosstime'===n?(a=e[0],o=e[1],this.onCrossTime(a,o),function(e){return function(){return e.unbindOnCrossTime(a,o)}}(this)):'betweentimes'===n&&(t=e[0],r=e[1],o=e[2],this.betweenTimes(t,r,o),function(e){return function(){return e.unbindBetweenTimes(t,r,o)}}(this))},n.prototype.specialUnbind=function(){var e,n,o,a,t,r;return n=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],'crosstime'===n?(a=e[0],o=e[1],this.unbindOnCrossTime(a,o),!0):'betweentimes'===n&&(t=e[0],r=e[1],o=e[2],this.unbindBetweenTimes(t,r,o),!0)},n.prototype.onCrossTime=function(e,t){var n,o,i,a,l,s,d;if(!/^(\d+\.)?\d+$/.test(e))throw'onCrossTime: Expected first argument to be a number';if('function'!=typeof t)throw'onCrossTime: Expected second argument to be a function';return null==this._onCrossTimeBindings&&(this._onCrossTimeBindings={}),null==(o=this._onCrossTimeBindings)[e]&&(o[e]=[]),d=this.uuid+'.'+_('after_time_'),n=this.time()>e,i=function(o){return function(){var i;return o.time()<e?a():!n&&(n=!0,i=t.call(o),i===o.unbind)?o.unbindOnCrossTime(e,t):void 0}}(this),a=function(t){return function(){return t.time()>=e?(r.clearTimeouts(d),i()):n?void 0:r.timeout(d,i,1e3*(e-t.time()))}}(this),l=function(t){return function(){if(t.time()<e){if(n=!1,2>e-t.time())return a()}else if(!n)return i()}}(this),s=function(){return function(){return r.clearTimeouts(d)}}(this),this.bind('play',l),this.bind('timechange',l),this.bind('pause',s),this.bind('end',s),this.bind('waiting',s),'playing'!==this.state()||n||l(),this._onCrossTimeBindings[e].push({fn:t,setupTimeoutFromNowIfClose:l,suspendTimeoutIndefinitely:s}),this},n.prototype.unbindOnCrossTime=function(e,t){var n,o,i,a,r,l;if(!(this._onCrossTimeBindings&&this._onCrossTimeBindings[e]))return this;for(n=null,i=0,l=this._onCrossTimeBindings[e],(a=0,r=l.length);a<r;a++){if(o=l[a],o.fn===t){n=o;break}i+=1}return n?(this.unbind('play',n.setupTimeoutFromNowIfClose),this.unbind('timechange',n.setupTimeoutFromNowIfClose),this.unbind('pause',n.suspendTimeoutIndefinitely),this.unbind('end',n.suspendTimeoutIndefinitely),this.unbind('waiting',n.suspendTimeoutIndefinitely),this._onCrossTimeBindings[e].splice(i,1),0===this._onCrossTimeBindings[e].length&&delete this._onCrossTimeBindings[e],this):this},n.prototype.betweenTimes=function(e,n,o){var t,i,a,r;if(!(/^(\d+\.)?\d+$/.test(e)&&/^(\d+\.)?\d+$/.test(n)))throw'betweenTimes: Expected first two arguments to be numbers';if('function'!=typeof o)throw'betweenTimes: Expected second argument to be a function';return a=e+'-'+n,null==this._betweenTimeBindings&&(this._betweenTimeBindings={}),null==(t=this._betweenTimeBindings)[a]&&(t[a]=[]),r=!1,i=function(i){return function(){var a,l;if(l=i.time(),e<=l&&l<n&&!r?(r=!0,a=o.call(i,r)):!(e<=l&&l<n)&&r&&(r=!1,a=o.call(i,r)),a===i.unbind)return i.unbindBetweenTimes(e,n,o)}}(this),this.onCrossTime(e,i),this.onCrossTime(n,i),this.bind('timechange',i),i(),this._betweenTimeBindings[a].push({fn:o,onTimechange:i}),this},n.prototype.unbindBetweenTimes=function(e,t,n){var o,i,a,r,l,s,d;if(d=e+'-'+t,!this._betweenTimeBindings[d])return this;for(o=null,a=0,s=this._betweenTimeBindings[d],(r=0,l=s.length);r<l;r++){if(i=s[r],i.fn===n){o=i;break}a+=1}
1return o?(this.unbindOnCrossTime(e,o.onTimechange),this.unbindOnCrossTime(t,o.onTimechange),this.unbind('timechange',o.onTimechange),this._betweenTimeBindings[d].splice(a,1),0===this._betweenTimeBindings[d].length&&delete this._betweenTimeBindings[d],this):this},n.prototype.aspect=function(){return this._implGet('aspect',0)},n.prototype.asset=function(){return this._implGet.apply(this,['asset',null].concat(i.call(arguments)))},n.prototype.assets=function(){return this._implGet.apply(this,['assets',null].concat(i.call(arguments)))},n.prototype.audioDescriptionControlEnabled=function(){return this._implSetOrGet.apply(this,['audioDescriptionControlEnabled',!1].concat(i.call(arguments)))},n.prototype.bigPlayButtonEnabled=function(){return this._implSetOrGet.apply(this,['bigPlayButtonEnabled',!1].concat(i.call(arguments)))},n.prototype.bigPlayButtonTimeEnabled=function(){return this._implSetOrGet.apply(this,['bigPlayButtonTimeEnabled',!1].concat(i.call(arguments)))},n.prototype.cancelOverlay=function(){return this._implPromise.apply(this,['cancelOverlay'].concat(i.call(arguments)))},n.prototype.cancelFullscreen=function(){return this._implExec('cancelFullscreen')},n.prototype.captureCurrentFrame=function(){return this._implGet.apply(this,['captureCurrentFrame',null].concat(i.call(arguments)))},n.prototype.closeTabMenu=function(){return this._implExec('closeTabMenu')},n.prototype.controlScaling=function(){return this._implSetOrGet.apply(this,['controlScaling','auto'].concat(i.call(arguments)))},n.prototype.createControl=function(){return this._implGet.apply(this,['createControl',null].concat(i.call(arguments)))},n.prototype.defineOverlay=function(){return this._implExec.apply(this,['defineOverlay'].concat(i.call(arguments)))},n.prototype.destroyControl=function(){return this._implExec.apply(this,['destroyControl'].concat(i.call(arguments)))},n.prototype.duration=function(){return this._implGet('duration',null)},n.prototype.embedded=function(){return this._implSetOrGet.apply(this,['embedded',!1].concat(i.call(arguments)))},n.prototype.embedOptions=function(){return this._hasImpl()?this._implGet.apply(this,['embedOptions',{}].concat(i.call(arguments))):this._embedOptions?this._embedOptions:this._embedOptions=this._gatherOptions()},n.prototype.enterInputContext=function(){return this._implExec.apply(this,['enterInputContext'].concat(i.call(arguments)))},n.prototype.eventKey=function(){return this._implGet('eventKey',null)},n.prototype.exitInputContext=function(){return this._implExec.apply(this,['exitInputContext'].concat(i.call(arguments)))},n.prototype.extraHeight=function(){return this._implGet('extraHeight',0)},n.prototype.extraWidth=function(){return this._implGet('extraWidth',0)},n.prototype.fit=function(){return this._implExec('fit')},n.prototype.fullscreenButtonEnabled=function(){return this._implSetOrGet.apply(this,['fullscreenButtonEnabled',!1].concat(i.call(arguments)))},n.prototype.focus=function(){return this._implPromise.apply(this,['focus'].concat(i.call(arguments)))},n.prototype.getBuffered=function(){return this._implGet('getBuffered',[])},n.prototype.getFocusedChapter=function(){return this._implGet('getFocusedChapter',null)},n.prototype.getInputContext=function(){return this._implGet('getInputContext',[])},n.prototype.getMediaElement=function(){return this._implGet('getMediaElement',null)},n.prototype.getMediaType=function(){return this._implGet('getMediaType',null)},n.prototype.getOverlays=function(){return this._implGet('getOverlays',{})},n.prototype.getRegion=function(){return this._implGet.apply(this,['getRegion',null].concat(i.call(arguments)))},n.prototype.hasData=function(){return this._implSetOrGet.apply(this,['hasData',!1].concat(i.call(arguments)))},n.prototype.height=function(){return this._implSetOrGet.apply(this,['height',null].concat(i.call(arguments)))},n.prototype.heightForWidth=function(){return this._implGet.apply(this,['heightForWidth',null].concat(i.call(arguments)))},n.prototype.hideControls=function(){return this._implExec.apply(this,['hideControls',null].concat(i.call(arguments)))},n.prototype.humanDuration=function(){return r.TimeHelper.secondsToHumanDuration(this.duration())},n.prototype.ieSizeHack=function(){return this._implExec('ieSizeHack')},n.prototype.inFullscreen=function(){return this._implGet('inFullscreen',!1)},n.prototype.inSilentPlaybackMode=function(){return this._implGet('inSilentPlaybackMode',!1)},n.prototype.isMuted=function(){return this._implGet('isMuted')},n.prototype.isResumableEnabled=function(){return this._implGet('isResumableEnabled')},n.prototype.lastPauseInfo=function(){return this._implGet('lastPauseInfo',{})},n.prototype.lastPlayInfo=function(){return this._implGet('lastPlayInfo',{})},n.prototype.layout=function(){return this._implSetOrGet.apply(this,['layout','primary'].concat(i.call(arguments)))},n.prototype.look=function(){return this._implSetOrGet.apply(this,['look',{}].concat(i.call(arguments)))},n.prototype.mp4Asset=function(){return this._implGet.apply(this,['mp4Asset',null].concat(i.call(arguments)))},n.prototype.mute=function(){return this._implExec('mute')},n.prototype.playerLanguage=function(e){return e&&(this._wasPlayerLanguageSetViaApi=!0),this._implSetOrGet.apply(this,['playerLanguage','en-US'].concat(i.call(arguments)))},n.prototype.name=function(){return this._implGet('name','')},n.prototype.openShareTab=function(){return this._implExec('openShareTab')},n.prototype.openTabMenu=function(){return this._implExec('openTabMenu')},n.prototype.originalAsset=function(){return this._implGet.apply(this,['originalAsset',null].concat(i.call(arguments)))},n.prototype.pause=function(){return this._implExec('pause')},n.prototype.percentWatched=function(){return this._implGet('percentWatched',0)},n.prototype.playbarControlEnabled=function(){return this._implSetOrGet.apply(this,['playbarControlEnabled',!1].concat(i.call(arguments)))},n.prototype.play=function(){return this._implExec('play')},n.prototype.playbackRate=function(){return this._implSetOrGet.apply(this,['playbackRate',1].concat(i.call(arguments)))},n.prototype.playbackRateControlEnabled=function(){return this._implSetOrGet.apply(this,['playbackRateControlEnabled',!1].concat(i.call(arguments)))},n.prototype.playerColor=function(){return this._implSetOrGet.apply(this,['playerColor','636155'].concat(i.call(arguments)))}
1,n.prototype.playerBackgroundColor=function(){return this._implSetOrGet.apply(this,['playerBackgroundColor','000000'].concat(i.call(arguments)))},n.prototype.qualityControlEnabled=function(){return this._implSetOrGet.apply(this,['qualityControlEnabled',!1].concat(i.call(arguments)))},n.prototype.requestFullscreen=function(){return this._implExec('requestFullscreen')},n.prototype.requestOverlay=function(){return this._implPromise.apply(this,['requestOverlay'].concat(i.call(arguments)))},n.prototype.ready=function(){return this._implSetOrGet.apply(this,['ready',!1].concat(i.call(arguments)))},n.prototype.releaseChromeless=function(){return this._implExec.apply(this,['releaseChromeless'].concat(i.call(arguments)))},n.prototype.releaseControls=function(){return this._implExec.apply(this,['releaseControls'].concat(i.call(arguments)))},n.prototype.requestChromeless=function(){return this._implExec.apply(this,['requestChromeless'].concat(i.call(arguments)))},n.prototype.requestControls=function(){return this._implExec.apply(this,['requestControls'].concat(i.call(arguments)))},n.prototype.secondsWatched=function(){return this._implGet('secondsWatched',0)},n.prototype.secondsWatchedVector=function(){return this._implGet('secondsWatchedVector',[])},n.prototype.selectableQualities=function(){return this._implGet('selectableQualities',[])},n.prototype.selectedQuality=function(){return this._implGet('selectedQuality',[])},n.prototype.setFocusedChapter=function(){return this._implSetOrGet.apply(this,['setFocusedChapter',null].concat(i.call(arguments)))},n.prototype.settingsControlEnabled=function(){return this._implSetOrGet.apply(this,['settingsControlEnabled',!1].concat(i.call(arguments)))},n.prototype.shouldResume=function(){return this._implGet('shouldResume')},n.prototype.showControls=function(){return this._implExec.apply(this,['showControls',null].concat(i.call(arguments)))},n.prototype.smallPlayButtonEnabled=function(){return this._implSetOrGet.apply(this,['smallPlayButtonEnabled',!1].concat(i.call(arguments)))},n.prototype.state=function(){return this._implGet('state','beforeplay')},n.prototype.stillUrl=function(){return this._implGet.apply(this,['stillUrl',null].concat(i.call(arguments)))},n.prototype.suppressPlay=function(){return this._implSetOrGet.apply(this,['suppressPlay',this].concat(i.call(arguments)))},n.prototype.thumbnailAssets=function(){return this._implGet('thumbnailAssets',[])},n.prototype.time=function(){var e,n;return n=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],null==n?this._implSetOrGet('time',0):this._implSetOrGet.apply(this,['time',0,this._formattedDurationToSeconds(n)].concat(i.call(e)))},n.prototype.timeInHumanDuration=function(){return e.TimeHelper.secondsToHumanDuration(this._implGet.apply(this,['time',0].concat(i.call(arguments))))},n.prototype.timeInIso8601Duration=function(){return e.TimeHelper.secondsToIso8601(this._implGet.apply(this,['time',0].concat(i.call(arguments))))},n.prototype.trim=function(){return this._implSetOrGet.apply(this,['trim',{start:0,end:-1}].concat(i.call(arguments)))},n.prototype.unmute=function(){return this._implExec('unmute')},n.prototype.undefineOverlay=function(){return this._implPromise.apply(this,['undefineOverlay'].concat(i.call(arguments)))},n.prototype.videoHeight=function(){return this._implSetOrGet.apply(this,['videoHeight',null].concat(i.call(arguments)))},n.prototype.videoQuality=function(){return this._implSetOrGet.apply(this,['videoQuality','auto'].concat(i.call(arguments)))},n.prototype.videoWidth=function(){return this._implSetOrGet.apply(this,['videoWidth',null].concat(i.call(arguments)))},n.prototype.visitorKey=function(){return r.visitorKey.ready()?r.visitorKey.value():null},n.prototype.volume=function(){return this._implSetOrGet.apply(this,['volume',0].concat(i.call(arguments)))},n.prototype.volumeControlEnabled=function(){return this._implSetOrGet.apply(this,['volumeControlEnabled',!1].concat(i.call(arguments)))},n.prototype.whenVideoElementInDom=function(){return new a(function(e){return function(t){return e._hasImpl(function(){return t(e._implGet.apply(e,['whenVideoElementInDom',null].concat(i.call(arguments))))})}}(this))},n.prototype.width=function(){return this._implSetOrGet.apply(this,['width',null].concat(i.call(arguments)))},n.prototype.widthForHeight=function(){return this._implGet.apply(this,['widthForHeight',null].concat(i.call(arguments)))},n.prototype.chaptersEnabled=function(){return this._implSetOrGet.apply(this,['chaptersEnabled',null].concat(i.call(arguments)))},n.prototype.chaptersVisibleOnLoad=function(){return this._implSetOrGet.apply(this,['chaptersVisibleOnLoad',null].concat(i.call(arguments)))},n.prototype.addChapter=function(){return this._implExec.apply(this,['addChapter'].concat(i.call(arguments)))},n.prototype.getChapter=function(){return this._implGet.apply(this,['getChapter',null].concat(i.call(arguments)))},n.prototype.removeChapter=function(){return this._implExec.apply(this,['removeChapter'].concat(i.call(arguments)))},n.prototype.chapters=function(){return this._implSetOrGet.apply(this,['chapters',[]].concat(i.call(arguments)))},n.prototype.customerLogo=function(){return this._implExec.apply(this,['customerLogo'].concat(i.call(arguments)))},n.prototype.setControlEnabled=function(e,t){return this._implSetOrGet('setControlEnabled',null,e,t)},n.prototype.isControlDisabled=function(e){return this._implGet('isControlDisabled',!1,e)},n.prototype.isControlEnabled=function(e){return this._implGet('isControlEnabled',!1,e)},n.prototype.whenControlMounted=function(e){return this._implPromise('whenControlMounted',e)},n.prototype.getControl=function(e){return this._implGet('getControl',null,e)},n.prototype.getEmail=function(){return this.email()},n.prototype.getEventKey=function(){return this.eventKey()},n.prototype.getVisitorKey=function(){return this.visitorKey()},n.prototype.setEmail=function(e){return this.email(e)},n.prototype.setPlayerColor=function(){return this._implExec.apply(this,['playerColor'].concat(i.call(arguments)))},n.prototype.removeReadyFn=function(){var e;return e=1<=arguments.length?i.call(arguments,0):[],this._hasImpl(function(t){return function(){var n;return(n=t._impl.ready).remove.apply(n,e)}}(this))},n.prototype.isKeyboardFocused=function(e){return this._implSetOrGet('isKeyboardFocused',null,e)},n.prototype.email=function(e){var t,n;return null==e?this._attrs.email||null:(this.info('email',e),t=this._attrs.email,this._attrs.email=e,r.localStorage([this._attrs.pageUrl,'trackEmail'],e),(null==(n=this._opts)?void 0:n.noDeprecatedProperties)||(this.params.trackEmail=e),this._implExec('email',e),e!==t&&this.trigger('emailchange',e),this)},n.prototype.foreignData=function(e){var t,n;if(void 0===e)return this._attrs.foreignData||this._foreignData||null;if(null===e)return this._attrs.foreignData=null,this.trigger('foreigndatachange',e);if(this.info('foreignData',e),!r.obj.isObject(e))throw new Error('foreignData can only be an Object');return e=r.obj.clone(e),this._attrs.foreignData=e,null!=(t=this._impl)&&null!=(n=t.tracker)&&n.transmit({force:!0}),this.trigger('foreigndatachange',e)},n.classFor=function(e){var t,n;return e instanceof r.Player?e=e.embedType:e instanceof r.PublicApi&&(e=null==(t=e._impl)?void 0:t.embedType),n=function(){return'vulcan'===e?r.VulcanPlayer:'vulcan-v2'===e?r.VulcanV2Player:'html5'===e?r.Html5Player:'flash'===e?r.FlashPlayer:'external'===e?r.ExternalPlayer:'notplayable'===e?r.NotPlayablePlayer:'passwordprotected'===e?r.PasswordProtectedPlayer:r.Player}(),n?n:(r.Metrics.count('player/'+e+'-class-not-defined',1,{ua:navigator.userAgent,detect:r.detect}),r.error('PublicApi.classFor: embedType is '+e+' but its class is not defined. Using \'vulc
1an-v2\' instead.'),r.VulcanV2Player)},n}(),r.mixin(r.PublicApi.prototype,r.bindable),g=r.PublicApi.prototype.trigger,r.PublicApi.prototype._triggerNoImpl=function(){var e,t,n;return t=arguments[0],e=2<=arguments.length?i.call(arguments,1):[],g.call.apply(g,[this,t].concat(i.call(e))),null==(n=window.wistiaEmbeds)?void 0:n.trigger.apply(n,[t,this].concat(i.call(e)))},r.PublicApi.prototype.trigger=function(){var e,t;return e=1<=arguments.length?i.call(arguments,0):[],this._impl?(t=this._impl).trigger.apply(t,e):this._triggerNoImpl.apply(this,e)},r.mixin(r.PublicApi.prototype,r.logHelpers),r.PublicApi.prototype._logPrefix=function(){var e;return[this.constructor.name,this.hashedId()||'no hashedId',null==(e=this.container)?void 0:e.id,this.uuid]}})(Wistia)},75:function(e,t,n){'use strict';n.r(t);n.d(t,'pluginScriptsToLoad',function(){return u});n.d(t,'pluginScriptsFromDefinedPlugins',function(){return p});n.d(t,'allow3rdParty',function(){return m});var o=n(2),i=n(5),a=n(42),r=n(29),l=n(14),s=Object(l.cachedDetect)(),d='Audio',u=function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},l=a.buildContext(),d=e.mediaType,u=e.embed_options,m=Object(u).plugin,h=t.plugin||m||{},f=Object(i.merge)({},h,n),A=a.choosePlayer(l,e,t),b=p(f,t);if((s.safari||s.iphone||s.ipad)&&!1!==t.airplayButton){var _={name:'airplay',options:f.airplay||{},async:!0,src:''.concat(Object(r.eV1Protocol)(),'//').concat(Object(r.eV1Host)(),'/assets/external/airplay.js')};b.push(_)}var v=c(b,t,A,d);return'vulcan-v2'===A&&t.chaptersOn&&!f.chapters&&v.push({name:g('chapters'),src:''.concat(Object(r.eV1Protocol)(),'//').concat(Object(r.eV1Host)(),'/assets/external/chapters.js'),async:!1,options:f.chapters||{}}),t.showCustomerLogo&&t.customerLogoImageUrl&&e.enableCustomerLogo&&v.push({name:'customerLogo',options:f.customerLogo||{},async:!0,src:''.concat(Object(r.eV1Protocol)(),'//').concat(Object(r.eV1Host)(),'/assets/external/customerLogo.js')}),(!0===t.branding||!0===e.branding)&&v.push({name:'wistiaLogo',options:f.wistiaLogo||{},async:!0,src:''.concat(Object(r.eV1Protocol)(),'//').concat(Object(r.eV1Host)(),'/assets/external/wistiaLogo.js')}),'vulcan-v2'!==A||o['default'].VulcanV2Player||v.push({name:'vulcanV2Player',options:{},async:!1,src:''.concat(Object(r.eV1Protocol)(),'//').concat(Object(r.eV1Host)(),'/assets/external/vulcanV2Player.js')}),y(v)},p=function(e,t){var n=[];return Object.keys(e).forEach(function(o){if(e.hasOwnProperty(o)){var i=e[o];if(i&&!1!==i.on){var a=g(o),l={name:a,src:''.concat(Object(r.eV1Protocol)(),'//').concat(Object(r.eV1Host)(),'/assets/external/').concat(a,'.js'),async:null==i.async?!/^(requireEmail|captions|socialbar|transcript|midrollLink|share)/.test(o):i.async,options:i};if(i.src&&m(t)&&(l.src=i.src),'transcript'===o){var s='https'===Object(r.eV1Protocol)()?'https://s3.amazonaws.com/origin-p3.3playmedia.com/javascripts/vendor/jquery-1.6.2.min.js':'http://p3.3playmedia.com/javascripts/vendor/jquery-1.6.2.min.js';n.push({src:s,async:!1})}n.push(l)}}}),n},c=function(e,t,n,o){return e.map(function(e){if('vulcan-v2'===n)switch(e.name){case'captions-v1':e.name='captions',e.src=e.src.replace(/captions-v1/,'captions');break;case'share':o===d?(e.name='audioShare',e.src=e.src.replace(/share/,'audioShare')):(e.name='share-v2',e.src=e.src.replace(/share/,'share-v2'));break;case'chapters':o===d?(e.name='audioChapters',e.src=e.src.replace(/chapters/,'audioChapters')):e.name='chapters';break;case'postRoll-v1':e.name='postRoll-v2',e.src=e.src.replace(/postRoll-v1/,'postRoll-v2');break;case'midrollLink-v1':e.name='midrollLink-v2',e.src=e.src.replace(/midrollLink-v1/,'midrollLink-v2');break;case'requireEmail-v1':t.inLegacyPlaylist||(e.name='turnstile',e.src=e.src.replace(/requireEmail-v1/,'turnstile'));break;default:}return e})},y=function(e){var t=function(e){var t=0;return e&&e.options&&e.options.loadWeight&&(t=e.options.loadWeight),t};return e.sort(function(e,n){return t(e)-t(n)})},g=function(e){return'socialbar'===e?'socialbar-v1':'requireEmail'===e?'requireEmail-v1':'postRoll'===e?'postRoll-v1':'transcript'===e?'transcript-v2':e},m=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return!1!==e.allowThirdParty&&!/([\w_-]+\.)?wistia\.(com|st|io)$/.test(window.location.hostname)}},76:function(e,t,n){'use strict';n.r(t);n.d(t,'prefetchEngineAndPlugins',function(){return d});n.d(t,'prefetchPlugins',function(){return u});var o=n(2),i=n(42),a=n(18),r=n(75),l=n(21),s=n.n(l),d=function(e){var t=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},n=Object(r.pluginScriptsToLoad)(e,t),a=i.buildContext(),l=i.bestUsableEngine(a,e,t),d=u(n),p=o['default'].asyncRequire(l);return s.a.all([d,p])},u=function(){var e=0<arguments.length&&arguments[0]!==void 0?arguments[0]:[],t=e.filter(function(e){if(!o['default'].plugin._prefetched[e.src])return o['default'].plugin._prefetched[e.src]='fetching',e});return 0===t.length?s.a.resolve():Object(a.runScripts)(t,function(){t.forEach(function(e){o['default'].plugin._prefetched[e.src]='fetched'})}).loaded}},77:function(e,t,n){'use strict';n.r(t);n.d(t,'shouldAddKeyMoments',function(){return i});n.d(t,'clipsFromChapters',function(){return a});var o=n(12),i=function(e,t){var n=e.plugin||{},o=n.chapters,i=(o||{}
1).chapterList,a=o&&!1!==o.on&&0<i.length,r=e.chapterList&&0<e.chapterList.length&&e.chaptersOn,l=e.plugin||{},s=l['requireEmail-v1'],d=s&&!1!==s.on&&'end'!==s.time&&!s.persistentTurnstile;return!!((a||r)&&!d&&30<=t)},a=function(e,t){if(e&&0!==e.length){var n={},i=[];e.forEach(function(e){n[e.time]||e.deleted||(n[e.time]=!0,i.push(e))});var a=i.map(function(e){var n=e.time,i=e.title,a=new o.Url(t);return a.params.wtime=''.concat(Math.floor(n),'s'),{"@type":'Clip',name:i,startOffset:n,url:a.absolute()}});return a}}},78:function(e,t,n){'use strict';n.r(t);var o=n(12),i=n(5),a=function(){return top===self?location.href||'':document.referrer||''},r=/^w_([^&]+)/;t['default']=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:r;t||(t=a());var l=new o.Url(t),s=l.params||{},d={};for(var u in s)if(s.hasOwnProperty(u)){var p=u.match(n);if(p){var c=p[1];0<=Object(i.indexOf)(e,c)&&(d[c]=s[u])}}return d}},79:function(){function e(t){'@babel/helpers - typeof';return e='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(t)}(function(t){if(!t.generate)return t.generate={},t.generate.html=function(n){var o,a,r,l,s,i,d,u,p,c,y,g,m,h;if(/string|number|boolean/.test(e(n)))return n.toString();if(n instanceof Array){for(y='',s=0,u=n.length;s<u;s++)l=n[s],y+=t.generate.html(l);return y}if('object'!==e(n))return n.toString();for(d in a=[],n)m=n[d],'tagName'===d?g=m:'childNodes'===d?r=m:a.push({key:d,val:m});for(g||(g='div'),y='<'+g,(i=0,p=a.length);i<p;i++)o=a[i],'style'===o.key&&t.obj.isObject(o.val)&&(o.val=function(){var e,t;for(c in e=o.val,t=[],e)h=e[c],t.push(c.replace(/([a-z])([A-Z])/g,'$1-$2').toLowerCase()+':'+h);return t}().join(';')+';'),y+=' '+o.key+'="'+o.val+'"';return /^(br|hr|img|link|meta|input)$/i.test(g)?y+=' />':(y+='>',r&&('string'==typeof r?y+=r:'object'===e(r)&&(y+=t.generate.html(r))),y+='</'+g+'>'),y},t.generate.stillWidth=function(e){var t,n,o,i,a,r,l,s;for(r=[640,960,1280,1920,3840],3840>e.masterStillWidth&&r.push(e.masterStillWidth),t=[],(n=0,i=r.length);n<i;n++)s=r[n],s<=e.masterStillWidth&&t.push(s);for(l=t.sort(function(e,t){return e-t}),o=0,a=l.length;o<a;o++)if(s=l[o],e.videoWidth<=s)return s;return Math.max.apply(Math,t)},t.generate.relativeBlockCss=function(e,t){return null==e&&(e='100%'),null==t&&(t='100%'),'display:inline-block;*display:inline;height:'+t+';line-height:normal;margin:0;padding:0;position:relative;vertical-align:top;width:'+e+';zoom:1;'},t.generate.video=function(e,n,o){return o=t.obj.merge({},n.params,o,{uuid:n.uuid,videoWidth:n.videoWidth(),videoHeight:n.videoHeight()}),'flash'===e?t.generate.flashEmbedCode(n._mediaData,o):'html5'===e?t.generate.html5EmbedElem(n._mediaData,o):'romulus'===e?t.generate.romulusEmbedElem(n._mediaData,o):'external'===e?t.generate.externalEmbedCode(n._mediaData,o):'flashUrl'===e?t.generate.flashUrl(n._mediaData,o):void 0}})(Wistia)},8:function(e,t,n){'use strict';n.r(t);var o=n(9),i=n(61),a=n(62),r=n.n(a),l=n(69),s=n.n(l),d=n(70),u=n.n(d),p=n(71),c=n.n(p),y=n(72),g=n.n(y),m=n(73),h=n.n(m),f=n(74),A=n.n(f),b=n(79),_=n.n(b),v=n(80),k=n(83),w=n.n(k),C=n(84),S=n.n(C),P=n(85),B=n.n(P),E=n(89),T=n.n(E),x=n(90),M=n.n(x),D=n(91),I=n.n(D),O=n(93),F=n.n(O),L=n(94),R=n.n(L),H=n(95),W=n.n(H),N=n(96),V=n.n(N),U=n(97),j=n.n(U),G=n(98),Q=n.n(G),z=n(99),Y=n.n(z),K=n(101),q=n.n(K),J=n(102),X=n(103),Z=n.n(X),$=n(104),ee=n.n($),te=n(105),ne=n.n(te),oe=n(106),ie=n.n(oe),ae=n(107),re=n.n(ae),le=n(108),se=n.n(le),de=n(109),ue=n.n(de),pe=n(110),ce=n.n(pe),ye=n(112)},80:function(e,t,n){'use strict';n.r(t);var r=n(42),l=n(27),s=n(21),d=n.n(s),u=n(44),p=n(29),c=n(38),y=n(81),g=n(4),m=n(55),h=n(5),f=n(82),A=n(33),b=n(7);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}(function(e){var t=e;if(!t.Player){var n=function(){function e(n){var i=this;return o(this,e),this.publicApi=n,this.uuid=Object(b['default'])(),this._baseEventLoopDuration=300,this._eventLoopDuration=300,this.info('constructor'),this.transferFacadeProperties(),this._impl=this,Object(h.keys)(n).forEac
1h(function(e){var o=n[e];o instanceof t.StopGo&&!i.hasOwnProperty(e)&&(i[e]=o)}),this.plugin=this.publicApi.plugin,this.ready=new t.StopGo,this.hasData=new t.StopGo,this.embedded=new t.StopGo,this.commandQueueOpen=new t.StopGo,this.hasData(!0),this.commandQueueOpen(!0),this.playing=new t.StopGo,this.notFullscreen=new t.StopGo,this.resetStateVariables(),this.setupPercentTracking(),this._recordFirstEmbedIfEligible(),this}return a(e,[{key:'animate',value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};this.info('animate',t,n);var o=n.callback;return n.callback=function(){Object(A.elemStyle)(e.grid.root,{position:'relative'}),null===o||void 0===o?void 0:o()},Object(A.elemStyle)(this.grid.root,{position:'absolute'}),Object(A.elemAnimate)(this.grid.root,t,n),this}},{key:'aspect',value:function(){if(this._opts.aspect)return this._opts.aspect;if(this.publicApi.isAudio())return this.publicApi.width()/this.publicApi.height();if(this._currentAsset)return'variable'==this._currentAsset.width?this.mp4Aspect()||this.originalAspect():this._currentAsset.width/this._currentAsset.height;var e=this.asset({container:/mp4|flv/});return e?e.width/e.height:640/360}},{key:'asset',value:function(){if('string'==typeof arguments[0]){var e=arguments[0]+'Asset',t=arguments[1];return this[e](t)}var n=arguments[0];return this.assets(n)[0]||null}},{key:'assets',value:function(e){return l.filter(this._mediaData.assets,e)}},{key:'bigPlayButtonEnabled',value:function(){return this}},{key:'canAutoPlay',value:function(){return!0}},{key:'cancelFullscreen',value:function(){this.info('cancelFullscreen'),this.rebuild()}},{key:'checkForReady',value:function(){throw new Error('Define in subclass!')}},{key:'cleanupRefs',value:function(){var e,t=this;null===(e=this.cleanup)||void 0===e?void 0:e.call(this),Object(h.keys)(this).forEach(function(e){var n=t[e];if(null!=n&&n!==t){var o;null===(o=n.cleanup)||void 0===o?void 0:o.call(n)}})}},{key:'constrainToHeight',value:function(e){return this.videoWidth(this.widthForHeight(this.videoHeight()),e)}},{key:'constrainToWidth',value:function(e){return this.videoHeight(this.heightForWidth(this.videoWidth()),e)}},{key:'disableTextTracks',value:function(){var e=this;this.info('disableTextTracks'),this._disableTextTracks||(this._disableTextTracks=function(){var t;null!==(t=e.elem())&&void 0!==t&&t.textTracks&&Array.prototype.slice.call(e.elem().textTracks).forEac
1h(function(e){e.mode='disabled'})}),this.rebind('play',this._disableTextTracks)}},{key:'duration',value:function(){return this._mediaData.duration||null}},{key:'elem',value:function(){return null}},{key:'embed',value:function(){throw new Error('Define in subclass!')}},{key:'embedOptions',value:function(){return this._embedOptions?this._embedOptions:(this._embedOptions=Object(h.clone)(this._opts),this._embedOptions)}},{key:'eventKey',value:function(){return this._tracker.eventKey()}},{key:'extraHeight',value:function(){var e=Math.max(Object(A.elemHeight)(this.grid.above),Object(A.elemHeight)(this.grid.top)),t=Math.max(Object(A.elemHeight)(this.grid.below),Object(A.elemHeight)(this.grid.bottom));return e+t}},{key:'extraWidth',value:function(){return Object(A.elemWidth)(this.grid.left)+Object(A.elemWidth)(this.grid.right)}},{key:'fade',value:function(){for(var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length,n=Array(1<t?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return A.elemAnimate.apply(void 0,[this.gridChildren(),{opacity:e}].concat(n))}},{key:'fadeIn',value:function(){var e=this,t=this._shortAnimArgs(arguments),n=t.callback;t.callback=function(){Object(A.elemStyle)(e.gridChildren(),{opacity:''}),null===n||void 0===n?void 0:n()},Object(A.elemStyle)(this.gridChildren(),{opacity:0}),setTimeout(function(){return e.fade(1,t)},1)}},{key:'fadeOut',value:function(){var e=this,t=this._shortAnimArgs(arguments);Object(A.elemStyle)(this.gridChildren(),{opacity:1}),setTimeout(function(){return e.fade(0,t)},1)}},{key:'fit',value:function(){return this.info('fit'),this._opts.dontFit||(this.grid.root.style.height=''.concat(Object(A.elemHeight)(this.chrome),'px'),this.grid.root.style.width=''.concat(Object(A.elemWidth)(this.chrome),'px')),t.grid.fitVertical(this),t.grid.fitHorizontal(this)}},{key:'flashAsset',value:function(e){return l.flv(this._mediaData.assets,e)}},{key:'flashAssetInRange',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l.flv(this._mediaData.assets,Object(h.merge)(this.qualityOptions(),e))}},{key:'focus',value:function(){var e;null===(e=this.chrome)||void 0===e?void 0:e.focus()}},{key:'freezeLastFrame',value:function(){}},{key:'fullscreenButtonEnabled',value:function(){return this}},{key:'getVisitorKey',value:function(){return this.visitorKey()}},{key:'getEventKey',value:function(){return this.eventKey()}},{key:'getMediaElement',value:function(){}},{key:'gridChildren',value:function(){var e=this,n=this.grid;window.NodeList&&!NodeList.prototype.forEach&&(n=Array.prototype.slice.call(this.grid));var o=[];return Object(h.keys)(n).forEach(function(n){var i=e.grid[n];i.childNodes.forEach(function(n){t.isGridElem(e.grid,n)||o.push(n)})}),o}},{key:'hashedId',value:function(){return this._hashedId}},{key:'hdAsset',value:function(){throw new Error('Implement in subclass!')}},{key:'hlsAsset',value:function(e){return l.m3u8(this._mediaData.assets,e)}},{key:'hlsAssetInRange',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l.m3u8(this._mediaData.assets,Object(h.merge)(this.qualityOptions(),e))}},{key:'height',value:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(null!=e){this.info('height',e,n),e=parseInt(e,10);var o=this.height();return this.grid.wrapper.style.height=this.chrome.style.height=''.concat(e,'px'),n.dontChangeContainer||(this._embedContainer.style.height=''.concat(e,'px')),this.grid.center.style.height='100%',this._opts.dontFit?(this.grid.main.style.height=''.concat(e-Object(A.elemHeight)(this.grid.above)-Object(A.elemHeight)(this.grid.below),'px'),this.grid.main.style.marginTop=''.concat(Object(A.elemHeight)(this.grid.top),'px')):(t.grid.fitHorizontal(this),t.grid.fitVertical(this)),(e!==o||n.trigger)&&this.trigger('heightchange',e,o),n.constrain&&this.constrainToHeight({trigger:n.trigger}),this}return Object(A.elemHeight)(this.grid.center)+Math.max(Object(A.elemHeight)(this.grid.above),Object(A.elemHeight)(this.grid.top))+Math.max(Object(A.elemHeight)(this.grid.below),Object(A.elemHeight)(this.grid.bottom))}},{key:'heightForWidth',value:function(e){return Math.round(e/this.aspect())}},{key:'implContainer',value:function(){return this._opts.subContainer?this._embedContainer:this.grid.center}},{key:'inFullscreen',value:function(){return!1}},{key:'init',value:function(){return this.setupPipedreamTracking(),this}},{key:'inSilentPlaybackMode',value:function(){return!1}},{key:'iphoneAsset',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this._iphoneAsset?this._iphoneAsset:(this._iphoneAsset=l.iphone(this._mediaData.assets,e),this._iphoneAsset)}},{key:'iphoneAssetInRange',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l.iphone(this._mediaData.assets,Object(h.merge)(this.qual
1ityOptions(),e))}},{key:'isMuted',value:function(){return!!this._opts.muted}},{key:'isScreencast',value:function(){return l.isScreencast(this._mediaData.assets)}},{key:'isRemoved',value:function(){return null===this.grid}},{key:'lastPlayInfo',value:function(){return{}}},{key:'mp4Aspect',value:function(){var e=this.mp4Asset({width:640})||this.mp4Asset({width:960})||this.mp4Asset();return e?e.width/e.height:null}},{key:'mdAsset',value:function(){throw new Error('Implement in subclass!')}},{key:'mp4Asset',value:function(e){return l.mp4(this._mediaData.assets,e)}},{key:'mp4AssetInRange',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l.mp4(this._mediaData.assets,Object(h.merge)(this.qualityOptions(),e))}},{key:'mute',value:function(){this._muted=!0,this.trigger('volumechange',this.volume())}},{key:'originalAspect',value:function(){var e=this.originalAsset();if(e)return e.width/e.height;var t=this.bestAsset();return t().width/t().height}},{key:'originalAsset',value:function(){return this._original?this._original:(this._original=l.original(this._mediaData.assets),this._original)}},{key:'name',value:function(){return this._mediaData.name||null}},{key:'pause',value:function(){var e=this;return this.info('pause'),this.ready(function(){return e.pause()}),this}},{key:'percentWatched',value:function(){return this._secondsWatchedTracker.secondsWatched()/Math.ceil(this.duration())}},{key:'placeEmbed',value:function(e){var n=this.implContainer();this.info('placeEmbed',n,e),this.wrapperElem=Object(A.elemFromObject)({id:Object(b['default'])('wistia_video_wrapper_'),style:t.generate.relativeBlockCss(),class:'wistia_video_wrapper'}),Object(A.elemStyle)(this.wrapperElem,{overflow:'hidden'}),Object(A.elemAppend)(n,this.wrapperElem),'string'==typeof e?this.wrapperElem.innerHTML+=e:Object(A.elemAppend)(this.wrapperElem,e)}},{key:'play',value:function(){var e=this;return this.info('play'),this.ready(function(){return e.play()}),this}},{key:'playableAsset',value:function(e){return l.playable(this._mediaData.assets,e)}},{key:'playableAssetInRange',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return l.playable(this._mediaData.assets,Object(h.merge)(this.qualityOptions(),e))}},{key:'playbackRate',value:function(e){return null==e?1:this}},{key:'playbarControlEnabled',value:function(){return this}},{key:'playerColor',value:function(e){if(null!=e){this.info('playerColor',e);var t=this._attrs.playerColor;return this._attrs.playerColor=Object(y.sanePlayerColor)(e),t!==this._attrs.playerColor&&this.trigger('playercolorchange',this._attrs.playerColor,t),this}return this._attrs.playerColor}},{key:'playerLanguage',value:function(e){var t=this;return null==e?Object(m.getLanguage)(this._attrs.playerLanguage)||Object(m.getLanguage)('en-US'):void this.embedded(function(){if(!Object(m.getLanguage)(e))throw new Error('Language '.concat(e,' isn\'t defined.'));e!==t._attrs.playerLanguage&&(t._attrs.playerLanguage=e,t.trigger('playerlanguagechange',Object(m.getLanguage)(e)))})}},{key:'qualityOptions',value:function(){var e=this._attrs,t=e.qualityMin,n=e.qualityMax;return{qualityMin:t,qualityMax:n}}},{key:'rebuild',value:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};return this.info('rebuild'),this.embedded(function(){e.ready(!1),e._oldVideoElem=e.elem(),e.stopStreaming(),Object(A.elemRemove)(e.wrapperElem),e.wipeOutstandingAsyncFunctions(),e.embed()}),this}},{key:'remove',value:function(){var e,t,n=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.info('remove'),!1!==n.trigger&&this.trigger('beforeremove'),this.hasData(!1),this.ready(!1),this.embedded(!1),null===(e=this.engine)||void 0===e?void 0:e.destroy(),this.stopStreaming(),!1!==n.trigger&&(this.trigger('down'),this.trigger('afterremove')),this.wipeOutstandingAsyncFunctions(),this._bindings={},this.cleanupRefs(),(null===(t=this.grid)||void 0===t?void 0:t.root)&&(Object(A.elemUnbindAllInside)(this.grid.root),Object(A.elemRemove)(this.grid.root)),this.grid=null}},{key:'requestFullscreen',value:function(){}},{key:'resetStateVariables',value:function(){this.info('resetStateVariables'),this._lastTimePosition=-1,this._lastState='beforeplay',this._streamSet=!1,this._issuedPlay=!1,this._issuedPau
1se=!1,this._beforePlay=!0,this._hasPlayed=!1,this._waiting=0,this._ended=!1,this.playing(!1)}},{key:'sdAsset',value:function(){throw new Error('Implement in subclass!')}},{key:'secondsWatched',value:function(){return this._secondsWatchedTracker.secondsWatched()}},{key:'secondsWatchedVector',value:function(){return this._secondsWatchedTracker.secondsWatchedVector()}},{key:'setPlayerColor',value:function(e){return this.playerColor(e),this}},{key:'setupGrid',value:function(e){return this.grid||(this.grid=t.createGrid(this,e),Object(A.elemAppend)(this.chrome,this.grid.root)),this.grid}},{key:'setupPercentTracking',value:function(){var e=this;if(!this._trackPercent){if(this._secondsWatchedTracker=new f['default'](this.duration()),'playing'===this.state())for(var t=Math.ceil(this.time()),n=0;n<t;n++)this._secondsWatchedTracker.trackSecond(n);this._trackPercent=function(t){var n=e.percentWatched();e._secondsWatchedTracker.trackSecond(t),e.percentWatched()!==n&&(e.trigger('percentwatchedchanged',e.percentWatched(),n),e._percentWatchedThreshold(e.percentWatched()))},this.rebind('secondchange',this._trackPercent)}}},{key:'setupPipedreamTracking',value:function(){var e=this;this.whenVideoElementInDom().then(function(){e._opts.flashShim||Object(g.doTimeout)(''.concat(e.uuid,'.track-initembed'),function(){t.Metrics.videoCount(e,'player/initembed'),t.Metrics.assetBuckets(e).forEach(function(n){t.Metrics.videoCount(e,'player/initembed.'.concat(n))});var n=Object(r.usablePlayers)(e.publicApi.judyCtx(),e.publicApi._mediaData);t.Metrics.videoCount(e,'player/available-players',1,{available_players:n})},100)}),this.bind('play',function(){return t.Metrics.videoCount(e,'player/play'),t.Metrics.assetBuckets(e).forEach(function(n){t.Metrics.videoCount(e,'player/play.'.concat(n))}),e.unbind}),t.Metrics.countEventOnce(this,'enter-fullscreen'),t.Metrics.countEventOnce(this,'end'),t.Metrics.countShowLoadingOnce(this),t.Metrics.countShowLoadingAll(this),t.Metrics.countShowLoadingLongTimeOnce(this),t.Metrics.countShowLoadingLongTimeAll(this),this.bind('secondchange',function(){if(10<=e.secondsWatched())return t.Metrics.videoCount(e,'player/played-10-seconds'),e.unbind}),this.bind('secondchange',function(){if(30<=e.secondsWatched())return t.Metrics.videoCount(e,'player/played-30-seconds'),e.unbind})}},{key:'slide',value:function(e,t){for(var n=arguments.length,o=Array(2<n?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return this.animate.apply(this,[{transform:'translate('.concat(e,'px,').concat(t,'px)')}].concat(o))}},{key:'slideInLeft',value:function(){var e=this,t=this._shortAnimArgs(arguments);return Object(A.elemStyle)(this.grid.root,{transform:'translate('.concat(this.videoWidth(),'px, 0px)')}),setTimeout(function(){return e.slide(0,0,t)},1),this}},{key:'slideInRight',value:function(){var e=this,t=this._shortAnimArgs(arguments);return Object(A.elemStyle)(this.grid.root,{transform:'translate('.concat(-this.videoWidth(),'px, 0px)')}),setTimeout(function(){return e.slide(0,0,t)},1),this}},{key:'slideOutLeft',value:function(){var e=this,t=this._shortAnimArgs(arguments);return Object(A.elemStyle)(this.grid.root,{transform:'translate(0px, 0px)'}),setTimeout(function(){return e.slide(-e.videoWidth(),0,t)},1),this}},{key:'slideOutRight',value:function(){var e=this,t=this._shortAnimArgs(arguments);return Object(A.elemStyle)(this.grid.root,{transform:'translate(0px, 0px)'}),setTimeout(function(){return e.slide(e.videoWidth(),0,t)},1),this}},{key:'smallPlayButtonEnabled',value:function(){return this}},{key:'suppressPlay',value:function(e){return null==e?this._suppressPlay:(this.info('suppressPlay',e),this._suppressPlay=!!e,this._suppressPlay)}},{key:'state',value:function(){return'beforeplay'}},{key:'stillAsset',value:function(){return l.still(this._mediaData.assets)}},{key:'stillUrl',value:function(e){if(e=Object(h.merge)({videoWidth:this.grid?this.videoWidth():null,videoHeight:this.grid?this.videoHeight():null},this._opts,e),!e.playerColor){var t,n;e.playerColor=null===(t=this._mediaData)||void 0===t||null===(n=t.embed_options)||void 0===n?void 0:n.playerColor}return l.stillUrl(this._mediaData.assets,e)}},{key:'stopStreaming',value:function(){}},{key:'thumbnailAssets',value:function(){return l.thumbnailAssets(this._mediaData.assets,Object(h.merge)({},this._opts,{playButton:!1,videoHeight:this.videoHeight(),videoWidth:this.videoWidth()}))}},{key:'time',value:function(e){var t=this;return null==e?0:(this.info('time',e),this.ready(function(){return t.time(e)}),this)}},{key:'transferFacadeProperties',value:function(){var e=this,t='\n _attrs\n _embedContainer\n _givenOptions\n _hashedId\n _hasImpl\n _mediaData\n _opts\n _originalMediaData\n _tracker\n chrome\n container\n controls\n data\n down\n fullscreenContainer\n options\n params\n plugin\n plugins\n up\n '.split(/[\n\s]+/);t.forEach(function(t){e[t]=e.publicApi[t]})}},{key:'trim',value:function(e){return null==e?this._trimSettings||{start:0,end:-1}:void(this._trimSettings=e)}},{key:'unmute',value:function(){this._muted=!1,this._isPlayingSilently=!1,this.trigger('volumechange',this.volume())}},{key:'videoHeight',value:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(null!=e){this.info('videoHeight',e,n),e=parseInt(e,10);var o=this.height();this.grid.main.style.height=''.concat(e,'px'),this.grid.center.style.height='100%',this.grid.main.style.height='${h}px';var i=Math.max(Object(A.elemHeight)(this.grid.above),Object(A.elemHeight)(this.grid.top)),a=Math.max(Object(A.elemHeight)(this.grid.below),Object(A.elemHeight)(this.grid.bottom)),r=i+a;return this.grid.wrapper.style.height=this.chrome.style.height=''.concat(e+r,'px'),n.dontChangeContainer||(this._embedContainer.style.height=''.concat(e+r,'px')),t.grid.fitHorizontal(this),t.grid.fitVertical(this),(e!==o||n.trigger)&&this.trigger('heightchange',e,o),n.constrain&&this.constrainToHeight({trigger:n.trigger}),this}return Object(A.elemHeight)(this.grid.center)}},{key:'videoWidth',value:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(null!=e){this.info('videoWidth',e,n),e=parseInt(e,10);var o=this.width();this.grid.center.style.width='100%',this.grid.main.style.width=''.concat(e,'px');var i=Object(A.elemWidth)(this.grid.left)+Object(A.elemWidth)(this.grid.right);return this.grid.wrapper.style.width=this.chrome.style.width=''.concat(e+i,'px'),n.dontChangeContainer||(this._embedContainer.style.width=''.concat(e+i,'px')),t.grid.fitHorizontal(this),t.grid.fitVertical(this),(e!==o||n.trigger)&&this.trigger('widthchange',e,o),n.constrain&&this.constrainToWidth({trigger:n.trigger}),this}return Object(A.elemWidth)(this.grid.center)}},{key:'videoQuality',value:function(e){return null==e?'auto':this}},{key:'visitorKey',value:function(){return this._tracker.visitorKey()}},{key:'volume',value:function(e){var t=this;return null==e?0:(this.info('volume',e),this.ready(function(){return t.volume(e)}))}},{key:'volumeControlEnabled',value:function(){return this}},{key:'webmAsset',value:function(e){return l.webm(this._mediaData.assets,e)}},{key:'webmAssetInRange',value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};
1return l.webm(this._mediaData.assets,Object(h.merge)(this.qualityOptions(),e))}},{key:'whenVideoElementInDom',value:function(){return new d.a(function(){})}},{key:'width',value:function(e){var n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(null!=e){this.info('width',e,n),e=parseInt(e,10);var o=this.width();return this.grid.wrapper.style.width=this.chrome.style.width=''.concat(e,'px'),n.dontChangeContainer||(this._embedContainer.style.width=''.concat(e,'px')),this.grid.center.style.width='100%',this._opts.dontFit?(this.grid.main.style.width=''.concat(e-Object(A.elemWidth)(this.grid.left)-Object(A.elemWidth)(this.grid.right),'px'),this.grid.main.style.marginLeft=''.concat(Object(A.elemWidth)(this.grid.left),'px')):(t.grid.fitHorizontal(this),t.grid.fitVertical(this)),(e!==o||n.trigger)&&this.trigger('widthchange',e,o),n.constrain&&this.constrainToWidth({trigger:n.trigger}),this._width=e,this}return Object(A.elemWidth)(this.grid.left)+Object(A.elemWidth)(this.grid.center)+Object(A.elemWidth)(this.grid.right)}},{key:'widthForHeight',value:function(e){return Math.round(e*this.aspect())}},{key:'wipeOutstandingAsyncFunctions',value:function(){this.info('wipeOutstandingAsyncFunctions'),c.globalEventLoop.remove(this.uuid),Object(g.clearTimeouts)(this.uuid),this._remoteMediaKey&&Object(g.clearTimeouts)(this._remoteMediaKey)}},{key:'_isExternallyEmbedded',value:function(){return!this._isOnWistia()}},{key:'_isLoggedIn',value:function(){return document.querySelector('body').classList.contains('logged_in')}},{key:'_isOnWistia',value:function(){var e=this._opts._inIframe?document.referrer:window.location.href;return /wistia\.(io|st|com)/.test(e)}},{key:'_isShared',value:function(){return this._isOnWistia()&&!this._isLoggedIn()}},{key:'_percentWatchedThreshold',value:function(e){var t=this;this._thresholds||(this._thresholds=[.25,.5,.75,1]);var n=[],o=Math.round(100*e)/100;this._thresholds.forEach(function(e){o>=e?t.trigger('percentWatchedThreshold',e):n.push(e)}),this._thresholds=n}},{key:'_recordFirstEmbedIfEligible',value:function(){var e=this._mediaData,t=e.accountKey,n=e.firstEmbedForAccount,o=e.firstShareForAccount,i=e.hashedId;if(n||o){var a=''.concat(Object(p.eV1Protocol)(),'//').concat(Object(p.appHost)(),'/account/activities'),r={account_key:t,media_hashed_id:i};n&&this._isExternallyEmbedded()?(r.first_embed=this._isExternallyEmbedded(),Object(u.xhrPost)(a,JSON.stringify(r),{},{dataType:'json'})):o&&this._isShared()&&(r.first_share=this._isShared(),Object(u.xhrPost)(a,JSON.stringify(r),{},{dataType:'json'}))}}},{key:'_refreshDataFromServer',value:function(e,n){var o=this;Object(u.xhrGet)('//'.concat(t.remote.embedHost(),'/embed/medias/').concat(this.hashedId(),'.json'),{},{dataType:'json'}).then(function(n){o.publicApi._originalMediaData=n.data.media,o._mediaData=o.publicApi._transformAndUpdateMediaData(),o._newStill&&o._replaceStillAsset(o._newStill),o.publicApi._mediaData=o._mediaData,t.cacheMedia(o.hashedId(),o._mediaData),null===e||void 0===e?void 0:e(),o.trigger('refreshed-from-server')}).catch(n)}},{key:'_replaceStillAsset',value:function(e){var t=this.assets().filter(function(e){return'still_image'!==e.type});this._mediaData.assets=t,this._mediaData.assets.push(e)}},{key:'_shortAnimArgs',value:function(e){return'function'==typeof e[0]?{callback:e[0]}:Object(h.merge)({},e[0],{callback:e[1]})}}]),e}();n.FAILED=-1,n.PROCESSING=1,n.QUEUED=0,n.READY=2,n.asset=l.one,n.assets=l.filter,n.assetsWithinQualityRange=l.withinQualityRange,n.bakeryHosts=function(){return l.BAKERY_HOSTS},n.isBakeryUrl=l.isBakeryUrl,n.stillAsset=l.still,n.stillUrl=l.stillUrl,n._sanePlayerColor=y.sanePlayerColor,t.mixin(n.prototype,t.bindable),t.mixin(n.prototype,t.logHelpers),n.prototype._logPrefix=function(){var e;return[this.constructor.name,this.hashedId()||'no hashedId',null===(e=this._embedContainer)||void 0===e?void 0:e.id,this.uuid]};var i=n.prototype.trigger;n.prototype.trigger=function(){for(var e,t=arguments.length,n=Array(t),o=0;o<t;o++)n[o]=arguments[o];return i.apply(this,n),(e=this.publicApi)._triggerNoImpl.apply(e,n)},Object.getOwnPropertyNames(t.PublicApi.prototype).forEach(function(e){var o=t.PublicApi.prototype[e];'function'!=typeof o||n.prototype.hasOwnProperty(e)||function(e,t){n.prototype[e]=function(){var t;return(t=this.publicApi)[e].apply(t,arguments)},n.prototype[e]._originalMethod=t}(e,o)}),t.Player=t.Video=n}})(window.Wistia)},81:function(e,t,n){'use strict';n.r(t);n.d(t,'sanePlayerColor',function(){return o}
1);var o=function(e){if(e){if(e=''.concat(e).replace(/^#/g,''),6>e.length){for(var t='',n=0;n<6-e.length;n++)t+='0';e=''.concat(t).concat(e)}return /^[\da-f]{6}$/i.test(e)||(e='636155'),e}return'636155'}},82:function(e,t,n){'use strict';n.r(t);function o(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')}function i(e,t){for(var n,o=0;o<t.length;o++)n=t[o],n.enumerable=n.enumerable||!1,n.configurable=!0,'value'in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}function a(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}var r=function(){function e(t){o(this,e),this.duration=t,this.reset()}return a(e,[{key:'trackSecond',value:function(e){e>=this._secondsWatched.length||(this._secondsWatched[e]+=1,1===this._secondsWatched[e]?this._totalWatched+=1:this._totalRewatched+=1)}},{key:'secondsWatched',value:function(){return this._totalWatched||0}},{key:'secondsWatchedVector',value:function(){return this._secondsWatched}},{key:'reset',value:function(){this._secondsWatched=[];for(var e=0;e<Math.ceil(this.duration);e++)this._secondsWatched.push(0);this._totalWatched=0,this._totalRewatched=0}}]),e}();t['default']=r},83:function(){(function(e){return null==e._onFullscreenChange&&(e._onFullscreenChange=function(){return e.elem.fullscreenElement()?e.trigger('enter-fullscreen',e.elem.fullscreenElement()):e.trigger('cancel-fullscreen')}),e._initializers.initFullscreenTriggers=function(){return e.elem.rebind(document,'mozfullscreenchange',e._onFullscreenChange),e.elem.rebind(document,'webkitfullscreenchange',e._onFullscreenChange),e.elem.rebind(document,'MSFullscreenChange',e._onFullscreenChange),e.elem.rebind(document,'fullscreenchange',e._onFullscreenChange)},e._destructors.destroyFullscreenTriggers=function(){return e.elem.unbind(document,'mozfullscreenchange',e._onFullscreenChange),e.elem.unbind(document,'webkitfullscreenchange',e._onFullscreenChange),e.elem.unbind(document,'MSFullscreenChange',e._onFullscreenChange),e.elem.unbind(document,'fullscreenchange',e._onFullscreenChange)}})(Wistia)},84:function(e,t,n){(function(t){var e;return e=n(29).eV1Protocol,t.BandwidthTest=function(){function e(e){this.opt=e,this.opt=t.obj.merge({minKbps:2500,timeoutLength:4e3,freshFor:36e5},this.opt),this.opt.uuid||(this.opt.uuid=t.seqId('bandwidth_test_'))}return e.prototype.start=function(){var e,n,o,i;return null!=(o=this._testXhr)&&o.abort(),this._testStart=new Date().getTime(),this._testXhr=new XMLHttpRequest,this._testXhr.open('GET',this.testFileUrl(),!0),n=Math.floor(100*Math.random()),i=1e6*n,e=i+999999,this._testXhr.setRequestHeader('Range','bytes='+i+'-'+e),t.timeout(this.uuid+'.cancel_bandwidth_test',function(e){return function(){return e.trigger('timeout'),e.fail()}}(this),this.opt.timeoutLength),this._testDataLoaded=0,this._onTestXhrProgress=function(e){return function(t){return e._testDataLoaded=t.loaded,e.trigger('progress',t)}}(this),this._testXhr.addEventListener('progress',this._onTestXhrProgress),this._onTestXhrLoaded=function(e){return function(){return e.succeed()}}(this),this._testXhr.addEventListener('load',this._onTestXhrLoaded),this._testXhr.send(null),this.trigger('started')},e.prototype.fail=function(){return this._sampleKbps(),this._supportsHd=!1,this.saveResult(),this.trigger('failed'),this.end()},e.prototype.succeed=function(){if(this._sampleKbps(),this._supportsHd=!0,this.saveResult(),this.trigger('succeeded'),this.end(),this._suspiciouslyFast())return this._reportSuspiciousBandwidthTest()},e.prototype._reportSuspiciousBandwidthTest=function(){var n,e,o;try{if(this._suspiciouslyFast())return t.Metrics.count('player/suspicious-bandwidth-test',1,{bw_test_time:this._testTime,visitor_key:t.visitorKey.value(),location:('undefined'!=typeof location&&null!==location?null==(e=location.protocol)?void 0:e.length:void 0)&&('undefined'!=typeof location&&null!==location?null==(o=location.hostname)?void 0:o.length:void 0)?location.protocol+'//'+location.hostname:null,connection_type:t.Metrics.connectionType(),agent:navigator.userAgent})}catch(e){return n=e,t.error(n)}},e.prototype._suspiciouslyFast=function(){return .05>this._testTime},e.prototype._sampleKbps=function(){return this._testEnd=new Date().getTime(),this._testTime=(this._testEnd-this._testStart)/1e3,this._kbps=8*this._testDataLoaded/1e3/this._testTime},e.prototype.endEarly=function(){return null==this._supportsHd&&null!=this._testDataLoaded?(this._sampleKbps(),this._supportsHd=!(1<this._testTime)||this._kbps>=this.opt.minKbps,this.trigger('ended-early'),this.end()):(this.end(),this.trigger('ended-early'))},e.prototype.end=function(){var e,n,o;return this._onTestXhrLoaded&&null!=(e=this._testXhr)&&e.removeEventListener('load',this._onTestXhrLoaded),this._onTestXhrProgress&&null!=(n=this._testXhr)&&n.removeEventListener('progress',this._onTestXhrProgress),null!=(o=this._testXhr)&&o.abort(),this._testXhr=null,t.clearTimeouts(this.uuid+'.cancel_bandwidth_test'),this.trigger('ended')},e.prototype.testFileUrl=function(){return this.opt.testFileUrl||('https:'===t.proto()?'https://embed-ssl.wistia.com/deliveries/6992339c876a95a37250fbe5b0a0eaecca3018a5/file.jpg?bust=2015-12-29a':'http://embed.wistia.com/deliveries/76a57ca47a1978a834d82dcf7eeb03a6.bin?bust=2015-12-29a')},e.prototype.saveKey=function(){return this.opt.saveKey||'bandwidth_test'},e.prototype.saveResult=function(){return t.localStorage(this.saveKey(),{updatedAt:new Date().getTime(),supportsHd:this._supportsHd,clientKbps:this._kbps})},e.prototype.savedResult=function(){return t.localStorage(this.saveKey())},e.prototype.isFresh=function(){var e,t;return e=new Date().getTime()-((null==(t=this.savedResult())?void 0:t.updatedAt)||0),e<this.opt.freshFor},e.prototype.supportsHd=function(){return this._supportsHd||!1},e}(),t.mixin(t.BandwidthTest.prototype,t.bindable)})(Wistia)},85:function(e,t,n){var o,i,a,r,l,s,d,u,p,c,y=function(e,t){return function(){return e.apply(t,arguments)}};r=n(2)['default'],p=n(45).isVisitorTrackingEnabled,l=r.lib('utilities/obj').assign,d=n(54).getResumableKeyForVideo,c=n(44).xhrPost,o=n(12).Url,a=n(86),i=n(88),s=function(){return function(e){var t;return null==(t='none'===e)?{true:!1}:t}}(this),u=function(e){var t;return t=new o(e._attrs.pageUrl).params,{campaign:t.utm_campaign||null,medium:t.utm_medium||null,source:t.utm_source||null}},function(e){return e.VideoTracker2?void 0:e.VideoTracker2=function(){function t(t){this.publicApi=t,this.resendAllFailedEvents=y(this.resendAllFailedEvents,this),this.retrySendingFailedEvent=y(this.retrySendingFailedEvent,this),this.isIE=navigator.userAgent.match(/Trident/)||navigator.userAgent.match(/MSIE/),this.eventQueue=[],this.initializedOnce=!1,this.monitoring=!1,this._setStartValues(),this.publicApi.hasData(function(t){return function(){t.utmParam
1s=u(t.publicApi),t.params=e.extend({transmitInterval:1e3*(t.publicApi._mediaData.trackingTransmitInterval||10)},t.publicApi._opts),!t.publicApi._attrs.shouldTrack}}(this)),this}return t.prototype.NUM_BUCKETS=1e3,t.prototype.conversions={"missing-conversion":0,"pre-roll-email":1,"post-roll-email":2,"mid-roll-email":3,"post-roll-click":4,"mid-roll-click":5,"non-video":6},t.prototype._setStartValues=function(){return this.clockStart=new Date().getTime(),this._played=!1,this.lastRecordedTime=0,this.lastSeekTime=0,this.lastBucket=-1},t.prototype._getAccountKey=function(){return this.publicApi._opts.accountKey||this.publicApi._mediaData.accountKey},t.prototype._data=function(){var t;return t=e.obj.merge({account_key:this._getAccountKey(),event_details:this.eventQueue,foreign_data:this.publicApi.foreignData(),media_duration:parseFloat(this.publicApi._mediaData.duration),media_id:this.publicApi._mediaData.mediaKey,media_type:this._mediaType(),referrer:this.publicApi._attrs.pageUrl,resumable_key:this.resumableKey(),session_id:this.visitorKey(),utm_params:this.utmParams,visitor_version:this.videoTrackerLocalStorage.getVisitorVersion(),event_version:'1.0.0',player_type:'modern'},this.videoTrackerSession.fetchSessionData()),this.publicApi.email()&&(t.email=this.publicApi.email()),(this.publicApi._opts.anonymizeIp||!p())&&(t.anonymizeIp=!0),this.params.conversionType&&(t.conversion_type=this.conversions[this.params.conversionType]),this.params.conversionData&&(t.conversion_data=this.params.conversionData),this.publicApi._opts.channel&&(t.channel=this.publicApi._opts.channel),this.publicApi._mediaData.channelId&&(t.channel_id=this.publicApi._mediaData.channelId),this.publicApi._mediaData.episodeId&&(t.episode_id=this.publicApi._mediaData.episodeId),this.publicApi._mediaData.projectId&&(t.project_id=this.publicApi._mediaData.projectId),JSON.stringify(t)},t.prototype._mediaType=function(){return this.publicApi._mediaData.mediaType},t.prototype.reset=function(){return this.stopMonitoring(),this._setStartValues(),this.initializedOnce=!1},t.prototype.initialize=function(){return this.initializedOnce||(this.publicApi.info('video tracker initialize'),this.videoTrackerLocalStorage=new i(this._getAccountKey(),this.publicApi.hashedId(),function(e){return function(){var t;return(t=e.publicApi).info.apply(t,arguments)}}(this)),this._failedEventsQueue=[],this._retryTimer=null,this._retryInterval=1e3,this.initializedOnce=!0,this._setStartValues(),this.log('initialized'),this.videoTrackerLocalStorage.recordLoad(),this.debounceTransmit()),this},t.prototype.monitor=function(){return this.initializedOnce||this.publicApi.hasData(function(e){return function(){return e.videoTrackerSession=new a(e.publicApi)}}(this)),this.publicApi.embedded(function(n){return function(){return n.stopMonitoring(),n.publicApi.info('_tracker.monitor'),n.initialize(),null==n.onPlaybackRateChange&&(n.onPlaybackRateChange=function(e){return n.log('playbackRateChange',null,e)}),null==n.onPlay&&(n.onPlay=function(){if(n.log('play'),n.videoTrackerLocalStorage.recordPlay(),!n._played)return n._played=!0,n.debounceTransmit()}),null==n.onPause&&(n.onPause=function(){if(.3<Math.abs(n.publicApi.duration()-n.publicApi.time()))return n.log('pause')}),null==n.onEnd&&(n.onEnd=function(){return n.log('end'),n.transmit()}),null==n.onSeek&&(n.onSeek=function(e,t){if(!(5>Math.abs(t-e)))return n.lastSeekTime=t,n.log('seek')}),null==n.onPercentWatchedThreshold&&(n.onPercentWatchedThreshold=function(e){return n.log('percentWatchedThreshold',null,e),n.transmit()}),n.monitoring=!0,n.publicApi.rebind('play',n.onPlay),n.publicApi.rebind('pause',n.onPause),n.publicApi.rebind('end',n.onEnd),n.publicApi.rebind('seek',n.onSeek),n.publicApi.rebind('playbackratechange',n.onPlaybackRateChange),n.publicApi.rebind('percentWatchedThreshold',n.onPercentWatchedThreshold),n.videoTrackerSession.setupBindings(),'playing'===n.publicApi.state()&&n.onPlay(),e.timeout(n.publicApi.uuid+'.start_tracking_timeout',function(){return n.publicApi.info('_tracker start tracking_loop'),e.eventLoop.add(n.publicApi.uuid+'.tracking_loop',n.params.transmitInterval,function(){return'playing'===n.publicApi.state()&&n.log('update'),n.transmit()})},Math.random()*n.params.transmitInterval+1e3)}}(this))},t.prototype.stopMonitoring=function(){if(this.publicApi.info('_tracker.stopMonitoring'),this.monitoring=!1,this.onPlay&&this.publicApi.unbind('play',this.onPlay),this.onPause&&this.publicApi.unbind('pause',this.onPause),this.onEnd&&this.publicApi.unbind('end',this.onEnd),this.onSeek&&this.publicApi.unbind('seek',this.onSeek),this.onPercentWatchedChanged&&this.publicApi.unbind('percentwatchedchanged',this.onPercentWatchedChanged),this.videoTrackerSession)return this.videoTrackerSession.removeBindings()},t.prototype.distilleryUrl=function(){return this.publicApi._opts.statsUrl||this.publicApi._mediaData.distilleryUrl},t.prototype.sendToDistillery=function(t){return e.detect.browser.msie&&11>e.detect.browser.version?this.sendDataUsingJsonp(t):this.sendDataUsingXhr(t)['catch'](function(t){return function(n){return e.Metrics.videoCount(t.publicApi,'player/distillery-error-response/'+n.status)}}(this))},t.prototype.sendDataUsingXhr=function(e){var t;return t=3e4,c(this.distilleryUrl(),encodeURIComponent(e),{"content-type":'text/plain'},{timeout:t})},t.prototype.sendDataUsingJsonp=function(t){var n,o;return n=3e4,o=this.distilleryUrl()+'?data='+encodeURIComponent(t),this.isIE&&(o+='&ie=1'),e.remote.script(o,null,n)},t.prototype.retrySendingFailedEvent=function(){return this.sendToDistillery(this._failedEventsQueue.shift())},t.prototype.resendAllFailedEvents=function(){var e,t,n,o,i,a,r,l;if(o=this._failedEventsQueue.length,clearTimeout(this._retryTimer),!!(0<o)){for(l=350,r=this._failedEventsQueue,t=function(e){return function(t,n){return setTimeout(function(){return e.sendToDistillery(t)},l*n)}}(this),(n=i=0,a=r.length);i<a;n=++i)e=r[n],t(e,n);return this._failedEventsQueue=[]}},t.prototype.readyToTrack=function(t){return this.publicApi.hasData(function(){return function(){return e.util.pageLoaded(function(){return e.visitorKey.ready(t)})}}(this))},t.prototype.transmit=function(t){return null==t&&(t={}),this.publicApi._attrs.shouldTrack?this.readyToTrack(function(n){return function(){var o;if(0<n.eventQueue.length||t.force)return o=n._data(),n.publicApi.info('_tracker.transmit',o),n.publicApi.trigger('transmit-stats',o),n.sendToDistillery(e.base64.encode(o)),n.eventQueue=[]}}(this)):void 0},t.prototype.debounceTransmit=function(){return e.timeout(this.publicApi.uuid+'.transmit_play_data',function(e){return function(){return e.transmit()}}(this),350)},t.prototype.log=function(e,t,n){var o;if(this.publicApi._attrs.shouldTrack)return this.publicApi.info('_tracker.log',e,t,n),this.videoTrackerSession.ping(),'conversion'===e?(this.params.conversionType=t,this.params.conversionData=n,this.transmit({force:!0})):(o={key:e,value:this.timeInVideo(),timeDelta:this.timeDelta()},'initialized'===e?(o.lastAccountInstance=this.videoTrackerLocalStorage.lastLoadForAccount(),o.lastMediaInstance=this.videoTrackerLocalStorage.lastLoadForMedia(),o.isUnique=s(this.videoTrackerLocalStorage.lastLoadForMedia())):'play'===e?(o.lastAccountInstance=this.videoTrackerLocalStorage.lastPlayForAccount(),o.lastMediaInstance=this.videoTrackerLocalStorage.lastPlayForMedia(),o.isUnique=s(this.videoTrackerLocalStorage.lastPlayForMedia()),this._played?o.key='unpause':(this.addPlayedTime(o),this.addBuckets(o),this.lastRecordedTime=this.timeInVideo())):'seek'===e?(this.addPlayedTime(o,this.lastSeekTime),this.addBuckets(o,this.lastSeekTime),this.lastRecordedTime=this.timeInVideo()):'update'===e?(this.addPlayedTime(o),this.addBuckets(o),this.lastRecordedTime=this.timeInVideo()):'playbackRateChange'===e?o.value=n:'percentWatchedThreshold'===e?o.value=n:'end'==e&&(this.addPlayedTime(o),this.addBuckets(o),this.lastBucket=-1,this.lastRecordedTime=this.timeInVideo()),this.publicApi.debug('_tracker.log',o),this.eventQueue.push(o))},t.prototype.addPlayedTime=function(e,t){var n,o;return n=void 0===t?this.timeInVideo():t,o=Math.max(n-this.lastRecordedTime,0),e.playedTime=o+''},t.prototype.addBuckets=function(e,t){var n,o;if('beforeplay'!==this.publicApi.state()&&(o=this.publicApi.time(),n=this._timeToBucket(t||o),this.lastBucket<n&&(e.startBucket=this.lastBucket+1,e.endBucket=n),this.lastBucket=this._timeToBucket(o),t))return this.lastBucket-=1},t.prototype._timeToBucket=function(e){return Math.floor(e/this.publicApi.duration()*this.NUM_BUCKETS)},t.prototype.logConversionOpportunity=function(t){var n;if(this.publicApi._attrs.shouldTrack)return this.videoTrackerSession.ping(),null==t.co_key?e.Metrics.videoCount(this.publicApi,'player/no-co-key',1):(n={key:'conversion',value:t,timeDelta:this.timeDelta()},this.publicApi.info('_tracker.logConversionOpportunity',t),this.eventQueue.push(n))},t.prototype.logAction=function(e,t){var n,o,i;return null==t&&(t={}),this.videoTrackerSession.ping(),n={time:this.publicApi.time(),key:e,type:'default',category:'default',text:'test',uniqueToVisitor:!1},o=l({},n,t),i={value:o,key:'action',timeDelta:this.timeDelta()},this.eventQueue.push(i)},t.prototype.logCaptionSelection=function(e){var t;if(this.publicApi._attrs.shouldTrack)return(this.videoTrackerSession.ping(),!!e.caption_key)?(t={key:'caption',value:e,timeDelta:this.timeDelta()},this.publicApi.info('_tracker.logCaptionSelection',e),this.eventQueue.push(t)):void 0},t.prototype.logChapterClick=function(e,t){return this.logAction('chapterConversion',{text:e.title,type:'conversion',category:'chapter',uniqueToVisitor:!0,time:t}),this.logAction('chapterSelection-'+e.id,{text:e.title,type:'interaction',category:'chapter',time:t})},t.prototype.logShareClick=function(e){return this.logAction('shareConversion',{text:e,type:'conversion',category:'share',uniqueToVisitor:!0}),this.logAction('shareClick-'+e,{text:e,type:'interaction',category:'share'})},t.prototype.resumableKey=function(){return!1===this.publicApi.embedOptions().resumable?null:d(this.publicApi.hashedId())},t.prototype.timeInVideo=function(){var e;return e=this.publicApi.time(),null==e&&('beforeplay'===this.publicApi.state()?e=0:e=this.publicApi.duration()),e.toFixed(1)},t.prototype.timeDelta=function(){return new Date().getTime()-this.clockStart},t.prototype.visitorKey=function(){return this.publicApi.visitorKey()}
1,t.prototype.eventKey=function(){if(this.videoTrackerSession)return this.videoTrackerSession.eventKey()},t}()}(Wistia)},86:function(e,t,n){var o,i,a,r,l;a=n(2)['default'],r=n(87)['default'],o=n(82)['default'],l=n(56).uniqId,i=function(){function e(e){this.publicApi=e,this.lastFetchTime=new Date().getTime(),this.secondsWatchedTracker=new o(this.publicApi.duration())}return e.prototype.EVENT_KEY_REFRESH_INTERVAL=1800,e.prototype.withRefresh=function(e){if(r(this.lastFetchTime)>this.EVENT_KEY_REFRESH_INTERVAL&&this.reset(),this.lastFetchTime=new Date().getTime(),'function'==typeof e)return e()},e.prototype.fetchSessionData=function(){return this.withRefresh(function(e){return function(){var t;return t={event_key:e.eventKey(),seconds_watched:e.secondsWatchedTracker.secondsWatched()}}}(this))},e.prototype.ping=function(){return this.withRefresh()},e.prototype.setupBindings=function(){return null==this.binding&&(this.binding=function(e){return function(t){return e.secondsWatchedTracker.trackSecond(t)}}(this)),this.publicApi.rebind('secondchange',this.binding)},e.prototype.reset=function(){return this._eventKey=null,this.secondsWatchedTracker.reset()},e.prototype.removeBindings=function(){if(this.binding)return this.publicApi.unbind('secondchange',this.binding)},e.prototype.eventKey=function(){return this.isValidKey(this._eventKey)?this._eventKey:(this._eventKey=l('6d5aefb300aac34f63a5193c576aa049'.substring(0,7)+'_'),this.publicApi.trigger('eventkeychange',this._eventKey),this._eventKey)},e.prototype.isValidKey=function(e){return 25<(null==e?void 0:e.length)&&/^[a-z0-9_\-\.]+$/i.test(e)},e}(),e.exports=i},87:function(e,t,n){'use strict';n.r(t);t['default']=function(e){return e?Math.round((new Date().getTime()-e)/1e3):null}},88:function(e,t,n){var o,i,a;i=n(2)['default'],a=n(87)['default'],o=function(){function e(e,t,n){this.accountKey=e,this.hashedId=t,this.logFn=n,this}return e.prototype.nullToNone=function(e){return null===e?'none':e},e.prototype.lastLoadForAccount=function(){return this._lastLoadForAccount||(this._lastLoadForAccount=this.nullToNone(a(Wistia.localStorage('accounts_loaded.'+this.accountKey))))},e.prototype.lastLoadForMedia=function(){return this._lastLoadForMedia||(this._lastLoadForMedia=this.nullToNone(a(Wistia.localStorage('medias_loaded.'+this.hashedId))))},e.prototype.lastPlayForAccount=function(){return this._lastPlayForAccount||(this._lastPlayForAccount=this.nullToNone(a(Wistia.localStorage('accounts_played.'+this.accountKey))))},e.prototype.lastPlayForMedia=function(){return this._lastPlayForMedia||(this._lastPlayForMedia=this.nullToNone(a(Wistia.localStorage('medias_played.'+this.hashedId))))},e.prototype.lastRecordingOfActionForMedia=function(e){return this.nullToNone(a(Wistia.localStorage('action_recorded.'+this.hashedId+'.'+e)))},e.prototype.recordLastActionForMedia=function(e){return Wistia.localStorage('action_recorded.'+this.hashedId+'.'+e,new Date().getTime())},e.prototype.recordLoad=function(){return this.logFn('recordLoad'),Wistia.localStorage('accounts_loaded.'+this.accountKey,new Date().getTime()),Wistia.localStorage('medias_loaded.'+this.hashedId,new Date().getTime())},e.prototype.recordPlay=function(){return this.logFn('recordPlay'),Wistia.localStorage('accounts_played.'+this.accountKey,new Date().getTime()),Wistia.localStorage('medias_played.'+this.hashedId,new Date().getTime())},e.prototype._saveVisitorVersion=function(e){if(null==e&&(e=1),null==Wistia.localStorage('visitor_version'))return Wistia.localStorage('visitor_version',e)},e.prototype.getVisitorVersion=function(){var e;return e=Wistia.localStorage('visitor_version'),e?e:(this._saveVisitorVersion(0),0)},e.prototype.clearActionRecordings=function(){return['chapterImpression','chapterConversion','shareImpression','shareConversion'].forEach(function(e){return function(t){return Wistia.localStorage('action_recorded.'+e.hashedId+'.'+t,'',!0)}}(this))},e}(),e.exports=o},89:function(e,t,n){var o;o=n(23),Wistia.base64||(Wistia.base64={}),Wistia.base64.decode||(Wistia.base64._keyStr='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=',Wistia.base64.encode=o.base64Encode)},9:function(e,t,n){'use strict';n.r(t);var o=n(10),i=n(11),a=n(27),r=n(17),l=n(30),s=n(31),d=n(23),u=n(14),p=n(32),c=n(33),y=n(38),g=n(39),m=n(15),h=n(29),f=n(40),A=n(41),b=n(42),_=n(22),v=n(48),k=n(49),w=n(50),C=n(52),S=n(43),P=n(5),B=n(53),E=n(54),T=n(18),x=n(4),M=n(55),D=n(12),I=n(13),O=n(44),F=n(56),L=n(45),R=n(57),H=n(46),W=n(58),N=n(59),V=n.n(N),U=n(60),j=n(21),G=n.n(j),Q=n(7),z=n(19),Y=n.n(z),K=n(20),q=n(61);Object(o.registerWLib)('utilities/seqid',Q['default']),Object(o.registerWLib)('player/lib/assets',a),Object(o.registerWLib)('player/lib/ajax',i),Object(o.registerWLib)('utilities/bindify',r),Object(o.registerWLib)('utilities/cacheable',l),Object(o.registerWLib)('utilities/color',W['default']),Object(o.registerWLib)('utilities/core',d),Object(o.registerWLib)('utilities/detect',u),Object(o.registerWLib)('utilities/duration',p),Object(o.registerWLib)('player/lib/elem',c),Object(o.registerWLib)('utilities/event_loop',y),Object(o.registerWLib)('player/lib/fit-control',g),Object(o.registerWLib)('utilities/globalBindAndTrigger',m),Object(o.registerWLib)('player/lib/hosts',h),Object(o.registerWLib)('player/lib/interFontFamily',f),Object(o.registerWLib)('interpolation',V.a),Object(o.registerWLib)('utilities/isMouseDown',A),Object(o.registerWLib)('player/lib/jsonp',_),Object(o.registerWLib)('player/lib/judy',b),Object(o.registerWLib)('utilities/localstorage',v),Object(o.registerWLib)('utilities/legacyLocalstorage',v),Object(o.registerWLib)('player/lib/media_data',w),Object(o.registerWLib)('player/lib/media-data-transforms',C),Object(o.registerWLib)('utilities/metrics',S),Object(o.registerWLib)('utilities/obj',P),Object(o.registerWLib)('player/lib/overpassFontFamily',B),Object(o.registerWLib)('preact',U),Object(o.registerWLib)('promiscuous',G.a),Object(o.registerWLib)('utilities/runScript',K['default']),Object(o.registerWLib)('player/lib/resumableVideoData',E),Object(o.registerWLib)('player/lib/script-utils',T),Object(o.registerWLib)('utilities/stopgo',Y.a),Object(o.registerWLib)('player/lib/timeout-utils',x),Object(o.registerWLib)('player/translations',M),Object(o.registerWLib)('utilities/url',D),Object(o.registerWLib)('utilities/wlog',I),Object(o.registerWLib)('utilities/xhr',O),Object(o.registerWLib)('utilities/uniqId',F),Object(o.registerWLib)('utilities/trackingConsentApi',L),Object(o.registerWLib)('player/lib/viewerPreferences',R),Object(o.registerWLib)('utilities/wistiaLocalStorage',H),Object(o.registerWLib)('utilities/hashCodeForString',k)},90:function(e,t,n){var o;o=n(23),Wistia.base64||(Wistia.base64={}),Wistia.base64.decode||(Wistia.base64._keyStr='ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=',Wistia.base64.decode=o.base64Decode)},91:function(e,t,n){(function(e){var t,o,i,a,r,l,s,d,u,p;if(!e.remote)return s=n(28),l=n(18),o=n(27),i=e.Hosts=n(29),t=e.Ajax=n(11),a=e.MediaData=n(50),r=e.PlaylistData=n(92),p=n(22),d=p.jsonp,u=p.jsonpPlus,e.remote={},e.remote.appHostname=s,e.remote.embedHost=i.cdnFastWistiaComHost,e.remote.externalEmbedHost=i.cdnFastWistiaNetHost,e.remote.appHost=i.appHost,e.remote.assetHost=i.deliveryHost,e.remote.assetUrlWithCorrectHost=function(e,t,n){return o.assetUrlWithCorrectHost(t,n)},e.remote.findScriptInDomBySrc=l.findScriptInDomBySrc,e.remote.script=l.runScript,e.remote.scripts=l.runScripts,e.remote.scriptInputsToHash=l.scriptInputsToHash,e.remote.post=t.ajaxPost,e.remote.ajax=t.ajax,e.remote.canEditMedia=a.canEditMedia,e.remote.media=a.fetchMedia,e.cacheMedia=a.cacheMedia,e.cacheAbTest=a.cacheAbTest,e.uncacheMedia=a.uncacheMedia,e.uncacheAbtest=a.uncacheAbTest,e.mediaFromCache=a.mediaFromCache,e.abTestFromCache=a.abTestFromCache,e.remote.playlist=r.fetchPlaylist,e.remote.fetch=u,e.jsonp={get:d}})(Wistia)},92:function(e,t,n){'use strict';n.r(t);n.d(t,'fetchPlaylist',function(){return u});var o=n(2),i=n(22),a=n(12),r=n(29),l=n(13),s=n(7),d=n(4);null==o['default']._remotePlaylist&&(o['default']._remotePlaylist={});var u=function(e,t){var n=o['default']._remotePlaylist[e];if(n)Object(d.doTimeout)('remote-playlist.'.concat(e,'.').concat(Object(s['default'])()),function(){t(n)});else{var u=''.concat(Object(a.proto)(),'//').concat(Object(r.cdnFastWistiaComHost)(),'/embed/playlists/').concat(e,'.json'),p=function(n){o['default']._remotePlaylist[e]=n,t(n)},c=function(){l.wlog.error('Timed out fetching '.concat(u))};Object(i.jsonpPlus)(u,{},p,{onerror:c,timeout:1e4})}}},93:function(e,t,n){(function(e){var t,o,i,a,r;if(!e.Metrics)return o=n(29).metricsHost,i=n(43),r=i.send,t=i.count,a=i.sample,e.Metrics={count:t,sample:a,send:r,videoCount:function(e,t,n,o){return null==n&&(n=1),this.videoSend(e,'count',t,n,o)},videoSample:function(e,t,n,o){return this.videoSend(e,'sample',t,n,o)},videoSend:function(t,n,o,i,a){return null==a&&(a={}),'function'==typeof t.hasData?t.hasData(function(r){return function(){var l,s,d,u,p,c,y,g,m,h,f,A,b,_,v;if(l=('function'==typeof t.bandwidthTest?t.bandwidthTest().savedResult():void 0)||{},a=e.obj.merge({location:('undefined'!=typeof location&&null!==location?null==(d=location.protocol)?void 0:d.length:void 0)&&('undefined'!=typeof location&&null!==location?null==(g=location.hostname)?void 0:g.length:void 0)?location.protocol+'//'+location.hostname:null,agent:navigator.userAgent,account_key:null==(m=t._mediaData)?void 0:m.accountKey,at:t.time(),video_id:t.hashedId(),embed_type:t.playerType,duration:t.duration(),client_kbps:l.clientKbps,supports_hd:l.supportsHd,autoplay:null!=(h=t._opts)&&h.autoPlay,in_iframe:top!==self,device_pixel_ratio:window.devicePixelRatio,window_width:e.elem.width(window),window_height:e.elem.height(window),video_width:t.videoWidth(),video_height:t.videoHeight(),visitor_key:null==(f=t._tracker)?void 0:f.visitorKey(),event_key:null==(A=t._tracker)?void 0:A.eventKe
1y(),event_time_delta:null==(b=t._tracker)?void 0:b.timeDelta(),connection_type:r.connectionType(),version:9,channel:e.channelName},a),/romulus|html5|vulcan/.test(t.playerType)&&(e.detect.trident?a.errorState=null==(_=t.elem())||null==(v=_.error)?void 0:v.code:a.errorState=null==(u=t.elem())?void 0:u.error),null!=t._cacheStatus&&(a.cache_status=t._cacheStatus),null!=t._assetServer&&(a.asset_server=t._assetServer),null!=t._cacheHit&&(a.cache_hit=t._cacheHit),t.inFullscreen&&(a.in_fullscreen=t.inFullscreen()),null==t._substream?(a.substream=null,a.adaptive=null,s=null==(p=t.data)?void 0:p.asset):(a.substream=t._substream.index,a.adaptive=t._substream.adaptive,a.current_level=t._substream.currentLevel,a.all_level_names=t._substream.allLevelNames,s=t._substream.asset,a.hls_error_counts=t._substream.hlsErrorCounts()),null!=s&&(a.asset_type=s.type,a.asset_slug=s.slug,a.bitrate=s.bitrate,a.asset_height=s.height,a.asset_width=s.width),0<(null==(c=t.videoElem)||null==(y=c.buffered)?void 0:y.length)&&(a.bufferedFrom0=t.videoElem.buffered.end(0)),null!=t._timeToFirstByte&&(a.time_to_first_byte=t._timeToFirstByte),a.buffered=null==t.totalBuffered?void 0:t.totalBuffered(),a.played=null==t.totalPlayed?void 0:t.totalPlayed(),r.send(n,o,i,a),t._mediaData&&t._mediaData.accountKey&&t._mediaData.accountSpecificMetrics)return r.send(n,t._mediaData.accountKey+'/'+o,i,a)}}(this)):void 0},countEvent:function(e,t,n){var o;return n||(n=t),null==(o=this._private.countEventCallbacks)[n]&&(o[n]=this._private.mkCountEventCallback(t,n)),e.rebind(t,this._private.countEventCallbacks[n])},countEventOnce:function(e,t,n){var o;return n||(n=t),null==(o=this._private.countEventOnceCallbacks)[n]&&(o[n]=this._private.mkCountEventOnceCallback(t,n)),e.rebind(t,this._private.countEventOnceCallbacks[n])},sampleEvent:function(e,t,n){var o;return n||(n=t),null==(o=this._private.sampleEventCallbacks)[n]&&(o[n]=this._private.mkSampleEventCallback(t,n)),e.rebind(t,this._private.sampleEventCallbacks[n])},countShowLoadingOnce:function(e){var t;return t=-1,e.bind('waiting',function(n){return function(o){return 2>t&&2<=o?(n.videoCount(e,'player/show-loading/first',1),t=o,e.unbind):t=o}}(this))},countShowLoadingAll:function(e){var t;return t=-1,e.bind('waiting',function(n){return function(o){return 2>t&&2<=o&&n.videoCount(e,'player/show-loading/all',1),t=o}}(this)),e.bind('done-waiting',function(){return t=-1})},countShowLoadingLongTimeOnce:function(e){var t;return t=-1,e.bind('waiting',function(n){return function(o){return 5>t&&5<=o?(n.videoCount(e,'player/show-loading-long-time/first',1),t=o,e.unbind):t=o}}(this))},countShowLoadingLongTimeAll:function(e){var t;return t=-1,e.bind('waiting',function(n){return function(o){return 5>t&&5<=o&&n.videoCount(e,'player/show-loading-long-time/all',1),t=o}}(this)),e.bind('done-waiting',function(){return t=-1})},assetBuckets:function(t){var n,o;return n=t.engine?t.engine.currentAsset():t._currentAsset,o=e.detect.iphone||e.detect.android||e.detect.blackberry||/mobile/i.test(navigator.userAgent),n?o?e.detect.iphone?['mobile','iphone']:e.detect.android?['mobile','android']:['mobile']:/hls/.test(n.type)?['hls']:/md/.test(n.type)?['md']:/hd/.test(n.type)?['hd']:['sd']:[]},connectionType:function(){var e;return e=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection,null==e?void 0:e.type},sumTimeRanges:function(e){var t,n,o,i;if(null==e)return null;for(i=0,t=n=0,o=e.length;0<=o?n<o:n>o;t=0<=o?++n:--n)i+=e.end(t)-e.start(t);return i},millisecondsSince:function(e){return new Date().getTime()-e},_private:{countEventCallbacks:{},mkCountEventCallback:function(t,n){return function(o){return n||(n=t),e.Metrics.videoCount(this,'player/'+n,o)}},countEventOnceCallbacks:{},mkCountEventOnceCallback:function(t,n){return function(o){return n||(n=t),e.Metrics.videoCount(this,'player/'+n,o),this.unbind}},sampleEventCallbacks:{},mkSampleEventCallback:function(t,n){return function(o){return n||(n=t),e.Metrics.videoSample(this,'player/'+n,o)}}}}})(Wistia)},932:function(e,t,n){'use strict';n.r(t);var o=n(0),i=n(560)},94:function(e,t,n){(function(e){var t,o,i,a;if(e.Plugin||(e.Plugin={}),!e.Plugin.Base)return(a=n(29),o=a.eV1Host,i=a.eV1Protocol,t=n(75).allow3rdParty,e.Plugin.Base=function(){function t(){this.pluginName='plugin',this}return t.prototype.instances=function(){return e.data(['plugins',this.pluginName,this.video.uuid])},t.prototype.register=function(t){var n;return n=this.playlist||this.video||this.audio,n.plugins[this.uuid]=t,e.data(['plugins',this.pluginName,n.uuid,this.uuid],t)},t.prototype.remove=function(t){var n;if(null==t&&(t={}),n=this.playlist||this.video||this.audio,n.plugins[this.uuid]=null,e.removeData(['plugins',this.pluginName,n.uuid,this.uuid]),n.plugins[this.uuid]===this&&delete n.plugins[this.uuid],n.plugin[this.pluginName]===this&&delete n.plugin[this.pluginName],!t.dontFit)return e.grid.fitHorizontal(n),e.grid.fitVertical(n)},t.prototype.fit=function(){},t.prototype.init=function(t,n){return null==t.plugins&&(t.plugins={}),(null==t?void 0:t.playlist)?this.playlist=t:this.video=t,this.target=this.playlist||this.video||this.audio,this.options=n||{},this.params=e.extend({},n||{}),this.uuid=this.params.uuid||e.seqId('wistia_','_plugin')},t}(),!e.plugin)?(e.plugin=function(t,n){var o,i,a,r,l,s;if((o=null==(r=e.pluginQueue)||null==(l=r[t])?void 0:l.shift())&&(a=function(){var e,i;return o.video.info('initializing plugin',t,o.options),e=n(o.video._impl||o.video,o.options)||!0,o.video.plugin[t]=e,o.video._impl&&(o.video._impl.plugin[t]=e),o.video.trigger('plugininitialized',t),null==(i=o.video._pluginStopGos)?void 0:'function'==typeof i[t]?i[t](!0,e):void 0},i=function(){return o.options.initBeforeHasData?a():o.video.hasData(a)},!0!==o.options.initBeforeHasData&&(null==(s=o.video)?void 0:s.looksDown())?(o.video.notice('W.plugin: delaying initialization of plugin until "up"',t,o.options),o.video.bind('up',function(){return i(),this.unbind})):o.video._implVersion===o.implVersion?i():o.video.notice('W.plugin impl changed, ignoring initialization',t,o.options)),!e.plugin[t])return e.plugin[t]=n},e.plugin._prefetched={},e.plugin._inject=function(t,n,a){var r,l;if(null==a&&(a={}),!1!==a.on)return r=i()+'//'+o()+'/assets/external/'+n+'.js',l=[{name:n,options:a,src:a.src&&e.plugin._allow3rdParty(t.options)?a.src:r,async:!0}],e.plugin._setFnForDefinedPlugins(t,l),e.plugin._execQueue(t,l)},e.plugin._allow3rdParty=function(e){return t(e)},e.plugin._setFnForDefinedPlugins=function(t,n){var o,i,a,r;for(a=[],o=0,i=n.length;o<i;o++)r=n[o],e.plugin[r.name]&&a.push(function(n){return n.fn=function(){var o;return o=function(){var o,i,a;return i=e.plugin[n.name](t._impl||t,n.options)||!0,t.plugin[n.name]=i,t._impl&&(t._impl.plugin[n.name]=i,t.trigger('plugininitialized',n.name)),null==(a=t._pluginStopGos)?void 0:'function'==typeof a[o=n.name]?a[o](!0,i):void 0},n.options.initBeforeHasData?o():t.hasData(o)},n.async=!1}(r));return a},e.plugin._queueUndefinedPlugins=function(t,n){var o,i,a,r,l,s;for(null==e.pluginQueue&&(e.pluginQueue={}),l=[],(o=0,i=n.length);o<i;o++)r=n[o],r.subScripts?l.push(function(){var n,o,i,l;for(i=r.subScripts,l=[],(n=0,o=i.length);n<o;n++)s=i[n],a=s.name||s.src,null==e.pluginQueue[a]&&(e.pluginQueue[a]=[]),r.fn?l.push(void 0):l.push(e.pluginQueue[a].push({video:t,implVersion:t._implVersion,options:s.options}));return l}()):(a=r.name||r.src,null==e.pluginQueue[a]&&(e.pluginQueue[a]=[]),r.fn?l.push(void 0):l.push(e.pluginQueue[a].push({video:t,implVersion:t._implVersion,options:r.options})));return l},e.plugin._execQueue=function(t,n,o){return e.plugin._queueUndefinedPlugins(t,n),e.remote.scripts(n,o)},e.plugin._init=function(t,n,o){var i,a,r;return r=t.charAt(0).toUpperCase()+t.substr(1),a=e.Plugin[r],i=new a,i.init(n,o),i},e.plugin._instance=function(t,n,o){return e.data(['plugins',t,n.uuid,o])},e.plugin._remove=function(t,n,o){var i;null!=(i=e.plugin._instance(t,n,o))&&i.remove()},e.plugin._isActive=function(t,n,o){return!!e.plugin._instance(t,n,o)},e.plugin._defined=function(){var t,n,o,i;for(t in n=e.plugin,o=[],n)i=n[t],/^_/.test(t)||o.push({name:t,options:i});return o}
1):void 0})(Wistia)},95:function(){(function(e){var t;if(!e.seo)return t=e.seo={},e.seo.inject=function(){}})(Wistia)},96:function(e,t,n){(function(e){var t;if(!e.localStorage)return t=n(48),e.localStorage=t.setOrGet,e.removeLocalStorage=t.removeLocalStorage,e.dumpLocalStorage=t.dumpLocalStorage,e._initializers.initLocalStorage=function(){return t.init()},e._destructors.destroyLocalStorage=function(){return t.uncache()}})(Wistia)},97:function(){(function(n){return n.cookie?void 0:n.cookie=function(o,i,a){var r,l,s,e,d,u,p,c,y;if(1<arguments.length&&'[object Object]'!==i+''){a=n.extend({},a),null==i&&(a.expires=-1),'number'==typeof a.expires&&(r=a.expires,y=a.expires=new Date,y.setDate(y.getDate()+r)),i=i+'';try{return e=n.detect.browser.safari&&12>=n.detect.browser.version,u=e?'':'; samesite=lax',p=a.sameSite?'; samesite='+a.sameSite:u,c=/=none/.test(p)?'; secure':'',document.cookie=[encodeURIComponent(o),'=',a.raw?i:encodeURIComponent(i),p,a.expires?'; expires='+a.expires.toUTCString():'',a.path?'; path='+a.path:'',a.domain?'; domain='+a.domain:'',a.secure?'; secure':c].join('')}catch(e){if(s=e,/sandbox/i.test(s.message))n.notice('sandboxed, can\'t write cookie'),null;else throw s}}a=i||{},l=a.raw?function(e){return e}:decodeURIComponent;try{return(d=new RegExp('(?:^|; )'+encodeURIComponent(o)+'=([^;]*)').exec(document.cookie))?l(d[1]):null}catch(e){if(s=e,/sandbox/i.test(s.message))return n.notice('sandboxed, can\'t get cookie'),null;throw s}}})(Wistia)},98:function(){(function(e){e.gridify||(e.gridifyCss=function(e){var t;return t=e.replace(/_grid$/,''),'#'+e+'_wrapper{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;font-family:Arial,sans-serif;font-size:14px;height:100%;position:relative;text-align:left;width:100%;}\n#'+e+'_wrapper *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}\n#'+e+'_above{position:relative;}\n#'+e+'_main{display:block;height:100%;position:relative;}\n#'+e+'_behind{height:100%;left:0;position:absolute;top:0;width:100%;}\n#'+e+'_center{height:100%;overflow:hidden;position:relative;width:100%;}\n#'+e+'_front{display:none;height:100%;left:0;position:absolute;top:0;width:100%;}\n#'+e+'_top_inside{position:absolute;left:0;top:0;width:100%;}\n#'+e+'_top{width:100%;position:absolute;bottom:0;left:0;}\n#'+e+'_bottom_inside{position:absolute;left:0;bottom:0;width:100%;}\n#'+e+'_bottom{width:100%;position:absolute;top:0;left:0;}\n#'+e+'_left_inside{height:100%;position:absolute;left:0;top:0;}\n#'+e+'_left{height:100%;position:absolute;right:0;top:0;}\n#'+e+'_right_inside{height:100%;right:0;position:absolute;top:0;}\n#'+e+'_right{height:100%;left:0;position:absolute;top:0;}\n#'+e+'_below{position:relative;}'},e.gridifyHtml=function(e){return{id:e+'_wrapper',childNodes:[{id:e+'_above'},{id:e+'_main',childNodes:[{id:e+'_behind'},{id:e+'_center'},{id:e+'_front'},{id:e+'_top_inside',childNodes:{id:e+'_top'}},{id:e+'_bottom_inside',childNodes:{id:e+'_bottom'}},{id:e+'_left_inside',childNodes:{id:e+'_left'}},{id:e+'_right_inside',childNodes:{id:e+'_right'}}]},{id:e+'_below'}]}},e.createGrid=function(t,n){var o;return o=e.createGridSkeleton(),e.initGridEventListeners(o),e.initGridDimensions(t,o,n),o},e.createGridSkeleton=function(){var t,n,o,a,i,r,l,s;for(n=e.seqId('wistia_grid_'),o=e.elem.fromObject(e.gridifyHtml(n)),t=e.css(o,e.gridifyCss(n)),r={},r.css=t,r.root=o,e.elem.style(o,{display:'none'}),e.elem.append(document.body,o),s=['wrapper','main','above','below','top','right','bottom','left','top_inside','right_inside','bottom_inside','left_inside','front','center','behind'],(a=0,i=s.length);a<i;a++)l=s[a],r[l]=document.getElementById(n+'_'+l);return e.elem.remove(o),e.elem.style(o,{display:'block'}),r},e.initGridEventListeners=function(e){return e.center.addEventListener('scroll',function(){return e.center.scrollTop=0})},e.initGridDimensions=function(t,n,o){var i,a,r;if(null==o&&(o={}),!1!==o.initDimensions)return a=t._embedContainer,i=t.chrome,r=t._opts,i.style.height=e.elem.height(a)+'px',n.main.style.width=e.elem.width(a)+'px'},e.gridify=function(t,n){var o,a,i,r,l,s;for(l={},o=n.id+'_grid',n.innerHTML=e.generate.html(e.gridifyHtml(o)),r=['wrapper','main','above','below','top','right','bottom','left','top_inside','right_inside','bottom_inside','left_inside','front','center','behind'],(a=0,i=r.length);a<i;a++)s=r[a],l[s]=document.getElementById(o+'_'+s);return e.util.addInlineCss(l.wrapper,e.gridifyCss(o)),l.wrapper.style.height=e.elem.height(n)+'px',l.main.style.width=e.elem.width(n)+'px',l},e.isGridElem=function(e,t){var n,o;for(o in e)if(n=e[o],t===n)return!0;return!1},e.grid={},e.grid.allNodesHidden=function(e){var t,n,o;if(0===e.length)return!0;for(t=0,n=e.length;t<n;t++)if(o=e[t],o.style&&'none'!==o.style.display)return!1;return!0},e.grid.zeroEmptySections=function(t){var n,o,i,a,r,l;for(a=['top','bottom','left','right','above','below'],r=[],(o=0,i=a.length);o<i;o++)l=a[o],n=t.grid[l],n.childNodes.length?e.grid.allNodesHidden(n.childNodes)?(n.style.height='0px',n.style.fontSize='0px',n.style.lineHeight='0px',r.push(n.isEmpty=!0)):(n.style.height='',n.style.fontSize='',r.pu
1sh(n.style.lineHeight='')):(n.appendChild(document.createTextNode(' ')),n.style.height='0px',n.style.fontSize='0px',n.style.lineHeight='0px',r.push(n.isEmpty=!0));return r},e.grid.wrapperHeight=function(t){var n,o;return n=t.grid.wrapper,o=e.elem.height(n),o},e.grid.wrapperWidth=function(t){var n,o;return n=t.grid.wrapper,o=e.elem.width(n),o},e.grid.fitVertical=function(t){var n,o,i,a,r,l;t._opts.dontFit||(e.grid.zeroEmptySections(t),o=t.grid,i=o.main,l=o.wrapper,r=Math.max(e.elem.height(o.above),e.elem.height(o.top)),n=Math.max(e.elem.height(o.below),e.elem.height(o.bottom)),a=Math.max(0,e.grid.wrapperHeight(t)-r-n),i.style.height=a+'px',0===e.elem.width(o.left)&&(i.style.left='0px'),i.style.marginTop=e.elem.height(o.top)+'px')},e.grid.fitHorizontal=function(t){var n,o,i,a,r,l;t._opts.dontFit||(e.grid.zeroEmptySections(t),n=t.grid,l=n.wrapper,i=n.main,o=e.elem.width(n.left),r=e.elem.width(n.right),a=e.grid.wrapperWidth(t)-o-r,i.style.width=a+'px',i.style.left=o+'px')},e.grid.fit=function(t,n){/left|right/.test(n)?e.grid.fitHorizontal(t):/top|bottom|above|below/.test(n)&&e.grid.fitVertical(t),t.ieSizeHack()})})(Wistia)},99:function(e,t,n){(function(e){return e.Color?void 0:e.Color=n(100)})(Wistia)}});
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.