var __webpack_modules__={2(t){t.exports=window.Wistia.Preact},3(t,e,i){i.d(e,{addInlineCss:()=>l,elemRemove:()=>c});var n=i(4),s=i(6),o=(i(9),i(19),i(25)),r=i(13);const a=(0,s.o1)(),l=(t,e)=>{const i=t||document.body||document.head,n=document.createElement("style");return n.id=(0,o.h)("wistia_","_style"),n.setAttribute("type","text/css"),n.className="wistia_injected_style",i.appendChild(n,i.nextSibling),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),n},c=t=>{if((0,n.isArray)(t)||window.NodeList&&t instanceof NodeList){for(let e=0;e<t.length;e++)c(t[e]);return}let e;null==t||1!==t.nodeType&&3!==t.nodeType||!(e=t.parentNode)||(e.removeChild(t),t=null)},h=(t,e,i,n=!1)=>{if(null==t||null==t._wistiaElemId||null==i||!i._wistiaBindId)return;const s=u(t,e,i),o=r.s._elemBind[s];return o&&(t.removeEventListener(e,o,n),o.elem=null,o.event=null),delete r.s._elemBind[s]},u=(t,e,i)=>(t._wistiaElemId=t._wistiaElemId||(0,o.h)("wistia_elem_"),i._wistiaBindId=i._wistiaBindId||(0,o.h)("wistia_bind_"),`${t._wistiaElemId}.${e}.${i._wistiaBindId}`),d=t=>{let e=document.body,i=document.documentElement;if(null==t)return i&&i.scrollTop||e&&e.scrollTop||0;e&&(e.scrollTop=t),i&&(i.scrollTop=t)},p=t=>{let e=document.body,i=document.documentElement;if(null==t)return i&&i.scrollLeft||e&&e.scrollLeft||0;e&&(e.scrollLeft=t),i&&(i.scrollLeft=t)};let f,m=null;["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((t=>{((t,e,i,n=!1)=>{const s=(n,...s)=>{(n=n||window.event).pageX||n.pageY||!n.clientX&&!n.clientY||(n.pageX=n.clientX+p(),n.pageY=n.clientY+d()),n.preventDefault||(n.preventDefault=function(){n.returnValue=!1}),n.stopPropagation||(n.stopPropagation=function(){n.cancelBubble=!0}),null==n.which&&(n.which=null!=n.charCode?n.charCode:n.keyCode),null==n.which&&null!=n.button&&(1&n.button?n.which=1:2&n.button?n.which=3:4&n.button?n.which=2:n.which=0),n.target||n.srcElement&&(n.target=n.srcElement),n.target&&3===n.target.nodeType&&(n.target=n.target.parentNode);const o=i.apply(n.target,[n].concat(s));return o===h&&h(t,e,i),o};r.s._elemBind=r.s._elemBind||{};const o=u(t,e,i);r.s._elemBind[o]=s,s.elem=t,s.event=e,t.addEventListener(e,s,n)})(document,t,(t=>{f=t,m=Date.now(),setTimeout((()=>{f===t&&(f=void 0)}),0)}),!a.passiveSupported||{capture:!0,passive:!0})}))},4(t,e,i){i.d(e,{cast:()=>f,clone:()=>c,eachLeaf:()=>S,getDeep:()=>h,isArray:()=>b,merge:()=>o,setAndPreserveUndefined:()=>d,setDeep:()=>u});var n=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const s=Array.prototype.slice,o=(t,...e)=>{if(0===e.length)return t;for(let i=0;i<e.length;i++)r(t,e[i]);return t},r=(t,e,i=a,s=l)=>{if(b(e)){b(t)||(t=[]);for(let n=0;n<e.length;n++){let o=e[n];null==t[n]&&null!=o&&(b(o)?t[n]=[]:_(o)&&(t[n]={}));const a=r(t[n],o,i);s(e,n,a)?delete t[n]:t[n]=a}return i(t)}if(_(e)){for(let o in e)if(n(e,o)&&(n(t,o)||null==t[o])){let n=e[o];b(n)?(b(t[o])||(t[o]=[]),r(t[o],n,i),t[o]=i(t[o])):_(n)?(_(t[o])||(t[o]={}),r(t[o],n,i),t[o]=i(t[o])):null==t?(t={},s(e,o,n)||(t[o]=i(n))):s(e,o,n)?delete t[o]:t[o]=i(n)}return i(t)}return i(e)},a=t=>t,l=(t,e,i)=>null==i,c=(t,e)=>b(t)?r([],t,e):r({},t,e),h=(t,e,i)=>{e="string"==typeof e?e.split("."):s.call(e);let o,r=t;for(;null!=t&&e.length;){let s=e.shift();void 0!==t[s]&&(_(t[s])||b(t[s]))||!i||(0===s?(t=r[o]=[])[s]={}:t[s]={}),r=t,o=s,t=n(t,s)?t[s]:void 0}return t},u=(t,e,i)=>p(t,e,i,!0),d=(t,e,i)=>p(t,e,i,!1),p=(t,e,i,n=!0)=>{const o=(e="string"==typeof e?e.split("."):s.call(e)).pop();null!=(t=h(t,e,!0))&&(_(t)||b(t))&&null!=o&&(n&&null==i?delete t[o]:t[o]=i)},f=t=>null==t?t:_(t)||b(t)?g(t):m(`${t}`,t),m=(t,e=t)=>/^-?[1-9]\d*?$/.test(t)?parseInt(t,10):"0"===t||"-0"===t?0:/^-?\d*\.\d+$/.test(t)?parseFloat(t):!!/^true$/i.test(t)||!/^false$/i.test(t)&&e,g=t=>r(t,t,(t=>"string"==typeof t?m(t):t),(()=>!1)),v=/^\s*function Array()/,b=t=>null!=t&&t.push&&v.test(t.constructor),w=/^\s*function Object()/,_=t=>null!=t&&"object"==typeof t&&w.test(t.constructor),y=/^\s*function RegExp()/,T=/^string|number|boolean|function$/i,E=(t,e,i,o,r)=>{if(null==i&&(i=[]),(t=>null!=t&&(T.test(typeof t)||(t=>null!=t&&y.test(t.constructor))(t)))(t))e(t,i,o,r);else if(_(t)||b(t)){e(t,i,o,r);for(let o in t)if(n(t,o)){const n=s.call(i);n.push(o),E(t[o],e,n,t,o)}}else e(t,i,o,r)},S=(t,e)=>{E(t,((t,i,n,s)=>{b(t)||_(t)||e(t,i,n,s)}))}},5(t,e,i){i.d(e,{k:()=>s});var n=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const s=(t,...e)=>{if(Object.assign)return Object.assign(t,...e);for(let i=0;i<e.length;i++)o(t,e[i]);return t},o=(t,e)=>{for(let i in e)n(e,i)&&(t[i]=e[i]);return t}},6(t,e,i){i.d(e,{o1:()=>W});var n=i(7),s=i(8);const o=navigator.userAgent;let r=null;const a=/(webkit)[ /]([^\s]+)/i,l=/OPR\/([^\s]+)/i,c=/(edge)\/(\d+(?:\.\d+)?)/i,h=/(mozilla)(?:.*? rv:([^\s)]+))?/i,u=/(android) ([^;]+)/i,d=/(iphone)/i,p=/(Windows Phone OS (\d+(?:\.\d+)?))/,f=/OS (\d+)_(\d+)/i,m=/(firefox)/i,g=/Mobile VR/i,v=/Version\/([^\s]+)/i,b=()=>(_()[1]||"webkit").toLowerCase(),w=()=>_()[2],_=()=>{let t;return t=o.match(c),t||(t=o.match(a),t||(t=o.match(l),t||(t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=o.match(h),t||[]))))},y=()=>{const t=o.match(u);return null!=t&&{version:t[2]}},T=()=>d.test(o),E=()=>x()>0||y()||k(),S=()=>{try{const t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!E()},k=()=>/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1,L=()=>a.test(o)&&!/chrome/i.test(o)&&!k()&&!T(),P=()=>!(!/Chrome/.test(o)||!/Google Inc/.test(navigator.vendor))&&{version:M()},M=()=>{const t=o.match(/\bChrome\/([^\s]+)/);return t&&t[1]},x=()=>{const t=o.match(f),e=o.match(v);return null!=t?parseFloat(`${t[1]}.${t[2]}`):null!=e&&e[1]&&k()?parseFloat(e[1]):0},C=()=>c.test(o),$=()=>m.test(o),O=()=>{const t=document.createElement("video");let e=!1;try{if(t.canPlayType){e={};const i='video/mp4; codecs="avc1.42E01E';e.h264=!!t.canPlayType(`${i}"`)||!!t.canPlayType(`${i}, mp4a.40.2"`),e.webm=!!t.canPlayType('video/webm; codecs="vp9, vorbis"'),e.nativeHls=!!t.canPlayType("application/vnd.apple.mpegURL")}}catch(t){e={ogg:!1,h264:!1,webm:!1,nativeHls:!1}}return e},z=()=>{try{return"localStorage"in n.z&&null!=n.z.localStorage}catch(t){return!1}},A=["WebKit","Moz","O","Ms",""],D=()=>{for(let t=0;t<A.length;t++){let e=`${A[t]}MutationObserver`;if(n.z[e])return e}return null},N=()=>{const t=/webkit|mozilla|edge/.test(b());return!!(T()||k()||y())||Boolean(t&&O().h264&&Object.defineProperties)};let j;const I=()=>{if(null!=j)return j;try{const t=Object.defineProperty({},"passive",{get(){j=!0}});window.addEventListener("test",null,t)}catch(t){j=!1}return j},B=()=>{const t=P(),e=$(),i=C(),n=l.test(o),s=t&&w()>=32,r=t&&w()>=75&&y(),a=e&&w()>=65,c=e&&w()>=67&&y(),h=i&&w()>=18,u=n&&w()>=19;return s||r||a||c||h||u},W=()=>r||(r=R(),r),R=()=>{const t={browser:{version:w()},edge:C(),firefox:$(),gearvr:g.test(o),hdr:!!window.matchMedia?.("(dynamic-range: high)").matches||!!(screen.colorDepth&&screen.colorDepth>=30),hdrCodecs:{hevc:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="hvc1.2.4.L153.B0"')??!1,av1:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="av01.0.08M.10.0.110.09.16.09"')??!1,vp92:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="vp09.02.10.10.01.09.16.09"')??!1},android:y(),oldandroid:y()&&parseFloat(y().version)<4.1,iphone:T(),ipad:k(),safari:L(),chrome:P(),winphone:{version:p.test(o)[2]},ios:{version:x()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=n.z.devicePixelRatio&&n.z.devicePixelRatio>1,hoverIsNatural:S(),touchScreen:E(),video:O(),managedMediaSource:"ManagedMediaSource"in window&&"function"==typeof window.ManagedMediaSource?.isTypeSupported,mediaSource:n.z.MediaSource&&n.z.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),nativeHls:(T()||k()||L())&&O().nativeHls,localstorage:z(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:N(),mutationObserver:D(),callingPlayRequiresEventContext:x()>0||y()||L(),passiveSupported:I(),webp:B(),performanceMeasure:(0,s.O)()};return t.browser[b()]=!0,t}},7(t,e,i){let n;i.d(e,{z:()=>s});try{n=self,n.self!==n&&void 0!==n.self&&"undefined"!=typeof window&&(n=window)}catch(t){n="undefined"!=typeof globalThis?globalThis:window}const s=n},8(t,e,i){i.d(e,{O:()=>n});const n=()=>{const{performance:t}=window;return Boolean(t)&&Boolean(t.measure)}},9(t,e,i){i.d(e,{ct:()=>f});var n=i(10),s=i(13);const o={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},r=function(){},a=function(t){const e=this;return null==t&&(t={}),e.error=(...t)=>e.log(0,t),e.warn=(...t)=>e.log(1,t),e.notice=(...t)=>e.log(1,t),e.info=(...t)=>e.log(3,t),e.debug=(...t)=>e.log(4,t),e.ctx=t,e.ctx.initializedAt||e.reset(),e},l=a.prototype;l.reset=function(){this.ctx.level=0,this.ctx.grep=null,this.ctx.grepv=null,this.ctx.first1000LogLines=[],this.ctx.last1000LogLines=[],this.ctx.initializedAt=(new Date).getTime()},l.setLevel=function(t){const e=this.logFunc(3);null!=o[t]?(this.ctx.level=o[t],e(`Log level set to "${t}" (${o[t]})`)):e(`Unknown log level "${t}"`)},l.setGrep=function(t){this.ctx.grep=t},l.setGrepv=function(t){this.ctx.grepv=t},l.first1000LogLines=function(){return this.ctx.first1000LogLines},l.last1000LogLines=function(){return this.ctx.last1000LogLines},l.matchedGrep=function(t){let e=!1;if(this.ctx.grep||this.ctx.grepv){let i=[];for(let e=0;e<t.length;e++)try{let n=t[e];i.push(n.toString&&n.toString())}catch(t){i.push("")}let n=i.join(" "),s=!this.ctx.grep||n.match(this.ctx.grep),o=!this.ctx.grepv||!n.match(this.ctx.grepv);e=s&&o}else e=!0;return e},l.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},l.messagesToLogLine=function(t,e,i){let n,s=[t,e];s=s.concat(i);try{n=s.join(" ")||"",n.length>200&&(n=n.slice(0,200))}catch(t){n="could not serialize"}return n},l.persistLine=function(t){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(t):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(t))},l.log=function(t,e){const i=t<=this.ctx.level,s=t<4,o=(i||s)&&this.matchedGrep(e);let r;if(0===t&&(0,n.mj)("problem",{type:"error-logged",data:{messages:e}}),o&&(i||s)&&(r=this.now()),s&&o){const i=this.messagesToLogLine(t,r,e);this.persistLine(i)}if(i&&o){const i=this.logFunc(t);let n;1===e.length&&(n=e[0])instanceof Error?(i(n.message),n.stack&&i(n.stack)):i(...e)}};const c=function(...t){console.error.apply(console,t)},h=function(...t){console.warn.apply(console,t)},u=function(...t){console.info.apply(console,t)},d=function(...t){console.debug.apply(console,t)},p=function(t){console.log.apply(console,t)};l.logFunc=function(t){if(null==t&&(t=this.level),!console)return r;let e;return 0===t?e=c:1===t?e=h:3===t?e=u:4===t&&(e=d),e||(e=p),"function"!=typeof e&&(this.noConsoleLog=!0,e=r),e},l.maybePrefix=function(t,e){if(t){if("function"==typeof t)try{t=t()}catch(e){t=`prefix err "${e.message}"`}return t instanceof Array?t.concat(e):[t].concat(e)}return e},l.getPrefixedFunctions=function(t){return{log:(...e)=>this.log(0,this.maybePrefix(t,e)),error:(...e)=>this.log(0,this.maybePrefix(t,e)),warn:(...e)=>this.log(1,this.maybePrefix(t,e)),notice:(...e)=>this.log(1,this.maybePrefix(t,e)),info:(...e)=>this.log(3,this.maybePrefix(t,e)),debug:(...e)=>this.log(4,this.maybePrefix(t,e))}},s.s&&null==s.s.wlogCtx&&(s.s.wlogCtx={});const f=new a(s.s.wlogCtx)},10(t,e,i){i.d(e,{mj:()=>o});var n=i(11),s=i(13);(0,n.R)(s.s),s.s.bind.bind(s.s),s.s.on.bind(s.s),s.s.off.bind(s.s),s.s.rebind.bind(s.s);const o=s.s.trigger.bind(s.s);s.s.unbind.bind(s.s)},11(t,e,i){i.d(e,{R:()=>r});var n=i(12),s=i(13),o=i(16);s.s.bindable||(s.s.EventShepherdManager||(s.s.EventShepherdManager={}),s.s.bindable={bind(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),this;if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),this;const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.s.EventShepherdManager[n]&&(s.s.EventShepherdManager[n]=new o.S),s.s.EventShepherdManager[n].addListener(t,i,e),this}if(e)return n.oI.call(this,t,e),this;s.s.warn&&s.s.warn(this.constructor.name,"bind","falsey value passed in as callback:",e)},unbind(t,e){if("crosstime"===t&&this.crossTime)return e?this.crossTime.removeBinding(arguments[1],arguments[2]):this.crossTime.removeAllBindings(),this;if("betweentimes"===t&&this.betweenTimes)return e?this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]):this.betweenTimes.removeAllBindings(),this;const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.s.EventShepherdManager[n]||s.s.EventShepherdManager[n].removeListener(t,i,e),this}return e?n.Nw.call(this,t,e):this._bindings&&(this._bindings[t]=[]),this._bindings&&this._bindings[t]&&!this._bindings[t].length&&(this._bindings[t]=null,delete this._bindings[t]),this},on(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),()=>{this.crossTime.removeBinding(arguments[1],arguments[2])};if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),()=>{this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3])};const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.s.EventShepherdManager[n]&&(s.s.EventShepherdManager[n]=new o.S(i)),s.s.EventShepherdManager[n].addListener(t,i,e),()=>{s.s.EventShepherdManager[n].removeListener(t,i,e)}}return n.oI.call(this,t,e)},off(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.removeBinding(arguments[1],arguments[2]);if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]);const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.s.EventShepherdManager[n]?()=>{}:s.s.EventShepherdManager[n].removeListener(t,i,e)}return n.Nw.call(this,t,e)},rebind(t,e){return this.unbind(t,e),this.bind(t,e),this},trigger(t,...e){return n.hZ.call(this,t,...e),this},bindNamed(){return n.RX.apply(this,arguments)},unbindNamed(){return n._Z.apply(this,arguments)},unbindAllInNamespace(){return n.E0.apply(this,arguments)}});const r=function(t){for(let e in s.s.bindable){const i=s.s.bindable[e];t[e]||(t[e]=i)}},a=function(t){return t?.mediaId?t.mediaId:t?.id?t.id:void 0}},12(t,e,i){i.d(e,{E0:()=>p,Nw:()=>a,RX:()=>u,_Z:()=>d,hZ:()=>l,oI:()=>r});var n=i(13),s=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const o=Array.prototype.slice,r=function(t,e){const i=this;return i._bindings||(i._bindings={}),i._bindings[t]||(i._bindings[t]=[]),i._bindings[t].push(e),function(){i.unbind(t,e)}},a=function(t,e){if(!this._bindings)return this;if(!this._bindings[t])return this;const i=[];for(let n=0;n<this._bindings[t].length;n++){let s=this._bindings[t][n];s!==e&&i.push(s)}this._bindings[t]=i},l=function(t,...e){return this._bindings&&null!=this._bindings.all&&c.apply(this,["all",t].concat(e)),c.apply(this,[t].concat(e))},c=function(t){if(!this._bindings)return this;if(!this._bindings[t])return this;const e=o.call(arguments,1);let i;const s=[...this._bindings[t]];for(let o=0;o<s.length;o++){let r=s[o];try{r.apply(this,e)===this.unbind&&(null==i&&(i=[]),i.push({event:t,fn:r}))}catch(t){if(this._throwTriggerErrors)throw t;n.s.error&&n.s.error(t)}}if(i)for(let t=0;t<i.length;t++){let e=i[t];this.unbind(e.event,e.fn)}return this},h=function(t,e){null==t._namedBindings&&(t._namedBindings={}),null==t._namedBindings[e]&&(t._namedBindings[e]={})},u=function(t,e,i,n){return this.unbindNamed(t,e),function(t,e,i,n,s){h(t,e),t._namedBindings[e][i]={event:n,fn:s}}(this,t,e,i,n),this.bind(i,n),function(){this.unbindNamed(t,e)}},d=function(t,e){h(this,t);const i=function(t,e,i){return h(t,e),t._namedBindings[e][i]}(this,t,e);if(i){const{event:t,fn:e}=i;this.unbind(t,e)}const n=this._namedBindings;return delete n[t][e],f(n[t])&&delete n[t],this},p=function(t){const e=this._namedBindings&&this._namedBindings[t];if(null==e)return this;for(let i in e)s(e,i)&&this.unbindNamed(t,i)},f=function(t){for(let e in t)if(s(t,e))return!1;return!0};var m;(m=function(){}.prototype).bind=r,m.unbind=a,m.on=r,m.off=a,m.rebind=function(t,e){return this.unbind(t,e),this.bind(t,e),{event:t,fn:e}},m.trigger=l,m.bindNamed=u,m.unbindNamed=d,m.unbindAllInNamespace=p},13(t,e,i){i.d(e,{s:()=>a});var n=i(2),s=i(14),o=i(15),r=i(7);r.z.Wistia??={},r.z.Wistia.Preact??={...n,hooks:s,compat:o},r.z.Wistia._destructors??={},r.z.Wistia._initializers??={},r.z.Wistia._remoteData??=new Map,r.z.Wistia.api??=()=>(console.error("Accessed Wistia.api() before it was initialized"),null),r.z.Wistia.defineControl??=()=>(console.error("Accessed Wistia.defineControl() before it was initialized"),null),r.z.Wistia.EventShepherdManager??={},r.z.Wistia.mixin??=(t,e={})=>{Object.keys(e).forEach((i=>{(function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)})(e,i)&&(t[i]=e[i])}))},r.z.Wistia.playlistMethods??=new Map,r.z.Wistia.PublicApi??=null,r.z.Wistia.uncacheMedia??=()=>(console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null),r.z.Wistia.VisitorKey??=null,r.z.Wistia.visitorKey??=null,r.z.Wistia.wistia??=void 0,r.z.Wistia._liveStreamEventDataPromises??={},r.z.Wistia._mediaDataPromises??={},r.z.Wistia._liveStreamPollingPromises??={},r.z.Wistia.first??=()=>r.z.Wistia.api()??document.querySelector("wistia-player");const a=r.z.Wistia},14(t){t.exports=window.Wistia.Preact.hooks},15(t){t.exports=window.Wistia.Preact.compat},16(t,e,i){i.d(e,{S:()=>o,h:()=>n});const n={mutechange:i(17).MUTE_CHANGE_EVENT},s={mutechange:t=>t.isMuted};class o{constructor(){var t,e,i;t=this,i={},(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e="convertedEventsMap"))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}addListener(t,e,i){const o=n[t]??t;this.convertedEventsMap[o]??=[];const r=e=>{if(s[t]){const n=s[t](e.detail);i(n)}else i()};this.convertedEventsMap[o].push({givenCallback:i,eventListenerCallback:r}),e.addEventListener(o,r)}removeAllListeners(t){Object.keys(this.convertedEventsMap).forEach((e=>{this.convertedEventsMap[e]?.forEach((i=>{t.removeEventListener(e,i.eventListenerCallback)})),this.convertedEventsMap[e]=[]}))}removeListener(t,e,i){const s=n[t]??t,o=[];i?(e.removeEventListener(s,i),this.convertedEventsMap[s]&&(this.convertedEventsMap[s].forEach(((t,n)=>{t.givenCallback===i&&(o.push(n),e.removeEventListener(s,t.eventListenerCallback))})),o.forEach((t=>{this.convertedEventsMap[s]&&this.convertedEventsMap[s].splice(t,1)})))):this.convertedEventsMap[s]=[]}}},17(t,e,i){i.d(e,{MUTE_CHANGE_EVENT:()=>n});const n="mute-change"},19(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__){var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(20);const getScriptTags=t=>t.match(/<script.*?src[^>]*>\s*<\/script>|<script.*?>[\s\S]+?<\/script>/gi)||[],scriptTagsToRunScriptsInput=scriptTags=>{if(!scriptTags)return[];scriptTags instanceof Array||(scriptTags=getScriptTags(scriptTags));const hashes=[];for(let i=0;i<scriptTags.length;i++){let scriptTag=scriptTags[i],hash={},matches=scriptTag.match(/<script.*?>/i);if(matches&&(matches=matches[0].match(/src="([^"]+)"/i),matches&&(hash.src=matches[1],hash.async=/async/i.test(scriptTag.replace(hash.src,"")))),!matches&&(matches=scriptTag.match(/<script>([\s\S]+?)<\/script>/i),matches)){let src=matches[1];hash.fn=function(){return eval(src)}}hashes.push(hash)}return hashes},execScriptTags=(t,e)=>{if(!t)return null;const i=scriptTagsToRunScriptsInput(t);return runScripts(i).then(e)},removeScriptTags=t=>t.replace(/<script.*?src[^>]*>\s*<\/script>|<script>[\s\S]+?<\/script>/g,"")},20(t,e,i){i(9),i(4),i(21)},21(t,e,i){i(22)},22(t,e,i){i.d(e,{Qz:()=>h});var n=i(7),s=i(23),o=i(24);(0,o.Ni)("app"),(0,o.Ni)("fast-protected");const r=(0,o.Ni)("fast"),a=("undefined"!=typeof window&&n.z===window&&n.z.location&&n.z.location.protocol,()=>(0,o.rY)("fast")||null),l=(t=void 0)=>{if(t)return t;return a()||r},c=()=>{const t=a();return t||"fast.wistia.net"},h=((()=>{const t=document.getElementsByTagName("script");for(let e=0;e<t.length;e++){const i=t[e];if(i.src){const t=new s.s0(i.src),e=/\/assets\/external\/E-v1?\.js$/.test(t.rawPath),n=t.host===l()||t.host===c()||"fast-canary.wistia.net"===t.host,o="https:"===location.protocol&&"https:"===t.protocol,r=""===t.protocol||null==t.protocol,a=o||r||"http:"===location.protocol,h=!i.readyState||/loaded|complete/.test(i.readyState);if(e&&n&&a&&h)return t}}new s.s0(`${(0,s.ff)()}//${c()}/E-v1.js`)})(),()=>"pipedream.wistia.com");new RegExp(`(${["wistia.net","wistia.com","wistia.mx","wistia.dev","wistia.tech","wistia.am","wistia.se","wistia.io","wistia.st"].map((t=>`\\.${t.replace(".","\\.")}`)).join("|")})$`)},23(t,e,i){i.d(e,{ff:()=>o,s0:()=>c});var n=i(4),s=i(9);const o=(t=location.href)=>/^http:\/\//.test(t)?"http:":"https:",r=t=>{if(null==t)return t;let e;try{e=decodeURIComponent(t)}catch(i){setTimeout((()=>{s.ct.notice(i)}),50),e=t}return e},a=t=>{let e=t[0];for(let i=1;i<t.length;i++)e+=`[${t[i]}]`;return e},l=["protocol","host","port","params","path"],c=function(t){const e=this;e.params={},e.path=[],e.host="",e.rawPath="","object"==typeof t?e.fromOptions(t):t&&e.fromRaw(t)},h=c.prototype;h.fromOptions=function(t){for(let e=0;e<l.length;e++){let i=l[e];null!=t[i]&&(this[i]=t[i])}return this},h.fromRaw=function(t){let e;return this.rawUrl=t,e=t.match(/^((?:https?:)|(?:file:)|(?:ftp:))?\/\//),e&&(this.protocol=e[1]||void 0),e=t.match(/\/\/([^:?#/]*)/),e&&(this.host=e[1]||void 0),e=t.match(/\/\/.*?(\/[^?#$]+)/)||t.match(/(^\/[^/][^?#$]+)/),e&&this.setPath(e[1]),e=t.match(/:(\d+)/),e&&(this.port=parseInt(e[1],10)),e=t.match(/\?([^#]+)/),e&&(this.rawParams=e[1],this.params=(t=>{const e={};if(!t)return e;const i=t.split("&");for(let t=0;t<i.length;t++){let o=i[t].split("="),a=o[0],l=o[1];try{a=decodeURIComponent(a).match(/([\w\-_]+)/g)||""}catch(t){setTimeout((()=>{s.ct.notice(t)}),50),a=""}(0,n.cast)(a);const c=(0,n.getDeep)(e,a);if(null!=c)if((0,n.isArray)(c))c.push(r(l));else{const t=[c];t.push(r(l)),(0,n.setAndPreserveUndefined)(e,a,t)}else(0,n.setAndPreserveUndefined)(e,a,r(l))}return e})(this.rawParams)),e=t.match(/#(.*)$/),e&&(this.anchor=e[1]),this},h.clone=function(){return new c({protocol:this.protocol,host:this.host,port:this.port,path:(0,n.clone)(this.path),params:(0,n.clone)(this.params),anchor:this.anchor})},h.ext=function(t){if(null!=t){const e=this.ext(),i=this.path.length-1,n=new RegExp(`\\.${e}`,"g");return e&&(this.path[i]=`${this.path[i].replace(n,"")}`),this.path[i]=`${this.path[i]}.${t}`}const e=this.path[this.path.length-1].match(/\.(.*)$/);return null!=e&&e[1]||null},h.isRelative=function(t=window.location){const e=this.protocol,i=this.host;return!(null!=e&&""!==e&&e!==t.protocol||i&&i!==t.hostname)},h.toString=function(){return this.isRelative()?this.relative():this.absolute()},h.absolute=function(){let t="";null!=this.protocol&&(t=this.protocol);let e="";return null!=this.port&&(e=`:${this.port}`),`${t}//${this.host||location.host}${e}${this.relative()}`},h.relative=function(){let t="";var e;this.path.length>0&&("string"==typeof(e=this.path)&&(e=e.split("/")),t=null==e?"":`/${e.join("/")}`,this._hasTrailingSlash&&(t+="/"));let i=`?${(t=>{const e=[];return(0,n.eachLeaf)(t,((t,i)=>{null!=t?e.push(`${encodeURIComponent(a(i))}=${encodeURIComponent(t)}`):e.push(encodeURIComponent(a(i)))})),e.join("&")})(this.params)}`;return 1===i.length&&(i=""),`${t}${i}${this.relativeAnchor()}`},h.authority=function(){const t=null!=this.port?`:${this.port}`:"";return`${this.host}${t}`},h.relativeProtocol=function(){let t="";return null!=this.port&&(t=`:${this.port}`),`//${this.host}${t}${this.relative()}`},h.relativeAnchor=function(){let t="";return null!=this.anchor&&(t=`#${this.anchor}`),`${t}`},h.setPath=function(t){this.rawPath=t,this._hasTrailingSlash=/\/$/.test(this.rawPath),this.path=(t=>{const e=[];if(null==t)return e;const i=t.split(/\/+/);for(let t=0;t<i.length;t++){let n=i[t];null!=n&&""!==n&&e.push(n)}return e})(this.rawPath)},c.create=t=>new c(t),c.create,c.parse=t=>new c(t),c.parse},24(t,e,i){i.d(e,{Ni:()=>l,rY:()=>c});const n=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i,s=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i,o=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wiz\.wistia\.io/i,r=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.cdb-staging\.wistia\.io/i,a=/([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i,l=(t="app")=>c(t)||`${t}.wistia.com`,c=(t="app")=>{if("undefined"!=typeof window&&window.location){const e=window.location.hostname,i=r.exec(e);if(i)return`${t}-cde-${i[2]}.${i[3]}.cdb-staging.wistia.io`;const l=n.exec(e);if(l)return`${t}-cde-${l[2]}.${l[3]}.wistia.io`;const c=s.exec(e);if(c)return`${t}-cde-${c[2]}.${c[3]}.claw.wistia.io`;const h=o.exec(e);if(h)return`${t}-cde-${h[2]}.${h[3]}.wiz.wistia.io`;const u=a.exec(e);if(u)return`${t}-txl-${u[2]}.${u[3]}.mtl.wistia.io`}return null}},25(t,e,i){i.d(e,{h:()=>s});var n=i(13);const s=(t="wistia_",e="")=>{const i=n.s._sequenceVal||1,s=`${t}${i}${e}`;return n.s._sequenceVal=i+1,s}},29(t,e,i){i.d(e,{I:()=>n});const n=({width:t=40,height:e=34,styleOverride:i={},ariaHidden:n=!1,fillColor:s="#ffffff"})=>({x:"0px",y:"0px",viewBox:`0 0 ${t} ${e}`,"enable-background":`new 0 0 ${t} ${e}`,"aria-hidden":`${n}`,style:{fill:s,height:"100%",left:0,strokeWidth:0,top:0,width:"100%",...i}})},33(t,e,i){i.d(e,{Tn:()=>n}),Number.NaN;var n=t=>(t=>!(t=>(t=>null===t)(t)||(t=>void 0===t)(t))(t))(t)&&"function"==typeof t},35(t,e,i){i(36),i(13),i(22),i(41)},36(t,e,i){i.d(e,{D5:()=>l});var n=i(10),s=i(37),o=i(39),r=i(13);r.s._visitorTrackingDomain||(r.s._visitorTrackingDomain=location.hostname||""),r.s._visitorTracking||((()=>{const t=(0,s.y1)().visitorTrackingEnabled;null!=t&&((0,s.$B)((t=>delete t.visitorTrackingEnabled)),r.s._visitorTracking={},r.s._visitorTracking[r.s._visitorTrackingDomain]={isEnabled:t,updatedAt:Date.now()},(0,s.$B)((t=>t.visitorTracking=r.s._visitorTracking)))})(),r.s._visitorTracking=(0,s.y1)().visitorTracking||{}),r.s.consent=t=>null==t?l():a(t);const a=(t,e=r.s._visitorTrackingDomain)=>{"default"===t?delete r.s._visitorTracking[e]:r.s._visitorTracking[e]={isEnabled:"true"==`${t}`,updatedAt:Date.now()},(0,s.$B)((t=>t.visitorTracking=r.s._visitorTracking)),(0,n.mj)("visitortrackingchange",t),[...document.getElementsByTagName("wistia-player")].forEach((e=>{e.dispatchEvent(new CustomEvent("visitor-tracking-change",{detail:{isTrackingEnabled:t}}))}))},l=()=>{if("boolean"==typeof r.s._visitorTracking)return r.s._visitorTracking;if(r.s._visitorTracking){const t=(()=>{if(r.s._visitorTrackingDomain){const t=r.s._visitorTrackingDomain.split(".");for(;t.length>0;){const e=r.s._visitorTracking[t.join(".")],i=e&&e.isEnabled;if(null!=i)return i;t.shift()}}})();if(null!=t)return Boolean(t)}const t=(0,o.getAllApiHandles)();if(r.s.channel&&r.s.channel.all)try{t.push(...r.s.channel.all())}catch(t){}return!t.some((t=>!0===(t._mediaData||t._galleryData||{}).privacyMode))}},37(t,e,i){i.d(e,{$B:()=>a,y1:()=>r});var n=i(38),s=i(13);const o="wistia",r=()=>(0,n.Lg)(o),a=t=>(s.s._localStorage=(0,n.yo)(o,t),s.s._localStorage)},38(t,e,i){i.d(e,{Lg:()=>l,yo:()=>c});var n=i(13);const s=t=>{setTimeout((()=>{throw t}),0)},o="_namespacedLocalStorage",r=(t="wistia-test-localstorage")=>{try{if("undefined"==typeof localStorage)return!1;if(null!=n.s._localStorageWorks)return n.s._localStorageWorks;const e=localStorage.getItem(t);localStorage.removeItem(t),localStorage.setItem(t,e),localStorage.removeItem(t),n.s._localStorageWorks=!0}catch(t){n.s._localStorageWorks=!1}return n.s._localStorageWorks},a=()=>(null==n.s[o]&&(n.s[o]={}),n.s[o]),l=t=>{if(!r())return a()[t]||{};if(localStorage[t])try{return"null"===localStorage[t]?{}:JSON.parse(localStorage[t])}catch(t){s(t)}return{}},c=(t,e)=>{const i=l(t);try{e(i)}catch(t){s(t)}return((t,e)=>{if(!r())return null!=e&&"object"==typeof e&&(a()[t]=e),e;try{a()[t]=e,localStorage[t]=JSON.stringify(e)}catch(t){s(t)}return e})(t,i)}},39(t,e,i){i.d(e,{getAllApiHandles:()=>s}),i(9);var n=i(40);const s=()=>(void 0===(0,n.wData)("video")?[]:Object.values((0,n.wData)("video"))).concat(void 0===(0,n.wData)("iframe_api")?[]:Object.values((0,n.wData)("iframe_api")))},40(t,e,i){i.d(e,{wData:()=>o});var n=i(4),s=i(13);const o=(t,e)=>((0,n.isArray)(t)||(t=t.split(".")),null!=e&&(0,n.setDeep)(s.s,["_data"].concat(t),e),(0,n.getDeep)(s.s,["_data"].concat(t)))},41(t,e,i){i.d(e,{WO:()=>c});var n=i(5),s=i(42),o=i(36),r=i(22),a=i(13);null==a.s._simpleMetricsCache&&(a.s._simpleMetricsCache={}),null==a.s._simpleMetricsDebounceInterval&&(a.s._simpleMetricsDebounceInterval=500);const l=a.s._simpleMetricsCache,c=(t,e=1,i={})=>u("count",t,e,i),h=(...t)=>{if(!(0,o.D5)())return;const e=`https://${(0,r.Qz)()}/mput?topic=metrics`;return fetch(e,{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t.join("\n")}).then((t=>{t.ok||console.error(t)})).catch((t=>{console.error(t)}))},u=(t,e,i,r={})=>{if((0,o.D5)())try{null==l.toMput&&(l.toMput=[]);const o=(0,n.k)({type:t,key:e,value:null!=i?i:null},r),c=JSON.stringify(o,(()=>{const t=new WeakSet;return(e,i)=>{if("object"==typeof i&&null!==i){if(t.has(i))return"[Circular]";t.add(i)}return i}})());l.toMput.push(c),clearTimeout(a.s._msendTimeout),a.s._msendTimeout=setTimeout((()=>{(0,s.R)((()=>{h.apply(void 0,l.toMput),l.toMput=[]}))}),a.s._simpleMetricsDebounceInterval)}catch(t){console.error(t.message),console.error(t.stack)}}},42(t,e,i){i.d(e,{R:()=>n});const n=(t,e=4e3,i=document,n=window)=>{if(/loaded|complete/.test(i.readyState))setTimeout(t,0);else{const i=()=>{n.removeEventListener("load",s,!1)},s=()=>{clearTimeout(o),i(),t()};n.addEventListener("load",s,!1);const o=setTimeout((()=>{i(),t()}),e)}}},44(t,e,i){i.d(e,{sC:()=>p});var n=i(4),s=(i(45),i(13));const o=s.s.languages=s.s.languages||{},r=s.s.translations=s.s.translations||{};s.s._translationPromises||(s.s._translationPromises={});const a=["ar","de","es","en-US","fr","it","ja","ko","pt","ru","zh-CN"],l={ara:"ar",ger:"de",spa:"es",eng:"en-US",fre:"fr",ita:"it",jpn:"ja",kor:"ko",por:"pt",rus:"ru",chi:"zh-CN"},c=(t,e)=>{if(null==o[t])throw new Error(`Must define a language with code ${t} before defining its translations.`);const i=r[t];i?(0,n.merge)(i,e):r[t]=(0,n.clone)(e)};let h;const u=s.s.cachedDecodings=s.s.cachedDecodings||{},d=t=>(h||(h=document.createElement("textarea")),null!=u[t]?u[t]:(h.innerHTML=t,u[t]=h.value,h.value)),p=(t,e)=>{let i;return t=(t=>{if(null==t)return"en-US";if(t=l[t]||t,!a.includes(t)){const e=m((()=>[t]))[0];e&&(t=e)}return("en"===t||/^en-/.test(t))&&(t="en-US"),("zh"===t||/^zh-/.test(t))&&(t="zh-CN"),t})(t),i=r[t]&&r[t][e]?r[t][e]:r["en-US"][e],d((t=>null==t?"?":t)(i))},f=()=>(navigator.languages||navigator.language?s.s.languagePreference=navigator.languages||[navigator.language]:s.s.languagePreference=["en-US"],s.s.languagePreference);Promise.resolve({code:"en-US",translations:r["en-US"]});const m=(t=f)=>t().reduce(((t,e)=>{const i=-1!==a.indexOf(e),n=e.split("-")[0],s=-1!==a.indexOf(n);return i?t.push(e):s&&t.push(n),t}),[]);((t,e,i)=>{o[t]={code:t,text:d(e)},i&&c(t,i)})("en-US","English"),c("en-US",{PAUSE:"Pause",PLAY:"Play",PLAY_BUTTON_LIVE_NOT_STARTED:"Livestream has not started",PLAY_BUTTON_TITLE_WHEN_NOT_PLAYING:"Play Video",PLAY_BUTTON_TITLE_WHEN_PLAYING:"Pause Video",REWATCH:"Rewatch",SKIP:"Skip"})},45(t,e,i){i(22),i(35),i(41)},68(t,e,i){i.d(e,{cm:()=>a});var n=i(6),s=(i(69),i(3)),o=i(2),r=(i(25),i(70),function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)});(0,n.o1)();const a=t=>{t._destroyed=!0,(t=>{t.unbinds instanceof Array&&(t.unbinds.forEach((t=>{try{"function"==typeof t&&t()}catch(t){setTimeout((()=>{throw t}),1)}})),t.unbinds=null)})(t),(t=>{t.eventListeners instanceof Map&&(t.eventListeners.forEach(((e,i)=>{try{"function"==typeof e&&t.embedElement.removeEventListener(i,e)}catch(t){setTimeout((()=>{throw t}),1)}})),t.eventListeners.clear())})(t),l(t),h(t),u(t)},l=t=>{t.rootElem&&(0,s.elemRemove)(Array.prototype.slice.call(t.rootElem.childNodes))},c=t=>{const e=t[0],i=t[1];e&&i&&(0,o.render)((0,o.h)("nothing",null),e)},h=t=>{const e=t.reactMounts;if(e)if(e instanceof Array)c(e);else for(let t in e)r(e,t)&&e[t]&&c(e[t])},u=t=>{for(let i in t)r(t,i)&&("_"!==(e=i)[0]||"_"!==e[1])&&"mounted"!==i&&(t[i]=null);var e;t.__prevProps=null,t._destroyed=!0}},69(t,e,i){i(4);var n=i(13);null==n.s._timeouts&&(n.s._timeouts={})},70(t,e,i){var n=i(41),s=i(33),o=i(13);null==o.s._controlDefinitions&&(o.s._controlDefinitions={}),o.s.defineControl=t=>{const e={name:t.handle,location:location.origin+location.pathname};try{const t=o.s.first();(0,s.Tn)(t.playerColor)&&(0,s.Tn)(t.hashedId)?(e.playerColor=t.playerColor(),e.hashedId=t.hashedId()):(e.playerColor=t.playerColor,e.hashedId=t.mediaId)}catch(t){}var i;(0,n.WO)("player/custom-control-definition",1,e),null!=(i=t).handle?null==o.s._controlDefinitions[i.handle]&&(o.s._controlDefinitions[i.handle]=i,o.s.trigger&&o.s.trigger("controldefined",i)):console.error("Please specify a handle property for control",i)}},105(t,e,i){i.d(e,{E:()=>a});var n=i(68);function s(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var r=new WeakMap;class a{constructor(t){var e,i,n;s(this,"_destroyed",void 0),s(this,"api",void 0),s(this,"embedElement",void 0),s(this,"eventListeners",void 0),s(this,"impl",void 0),s(this,"isWistiaPlayer",void 0),s(this,"props",void 0),s(this,"reactMounts",void 0),s(this,"rootElem",void 0),s(this,"unbinds",void 0),s(this,"video",void 0),n=void 0,function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,i=r),i.set(e,n),this.video=t,this.embedElement=t.container,this.unbinds=[],this.eventListeners=new Map,this.reactMounts={},this.isWistiaPlayer="WISTIA-PLAYER"===this.embedElement.tagName,this.impl=t,this.isWistiaPlayer?this.api=this.embedElement:this.api=t.publicApi,this.props={}}get disabledButton(){return(t=r).get(o(t,this));var t}set disabledButton(t){var e,i;i=t,(e=r).set(o(e,this),i)}destroy(){(0,n.cm)(this)}isAtRootLevel(){return!0}mount(t){this.rootElem=t}}},191(t,e,i){i.d(e,{O8:()=>a}),i(3),i(69);var n=i(6),s=i(4);const o=(0,n.o1)(),r=()=>{const t=document.querySelector("meta[name=viewport]"),e=t&&t.getAttribute("content"),i={};return e&&e.split(/[\s,]+/).forEach((t=>{const e=t.split("=");2===e.length&&(i[e[0]]=(0,s.cast)(e[1]))})),i},a=(t,e)=>{const i=t.videoWidth(),n=t.videoHeight();if(i/n<1){const[e,i]=(t=>{if(!(o.iphone||o.ipad||o.android))return[340,860];if(t?.isAudio())return[500,960];const e=r();let i;if(e.height){i="number"==typeof e.height?0+e.height:screen.height||window.innerHeight;const t=Math.max(e["minimum-scale"]||0,Math.min(e["maximum-scale"]||10,e["initial-scale"]||1));t<1&&(i/=t)}else i=window.innerWidth;return[i,2*i/1.3]})(t);if(n<=e)return n/e;if(n>i)return n/i}else{const[n,s]=e||(t=>{if(!(o.iphone||o.ipad||o.android))return[640,960];if(t?.isAudio())return[500,960];const e=r();let i;if(e.width){i="number"==typeof e.width?0+e.width:screen.width||window.innerWidth;const t=Math.max(e["minimum-scale"]||0,Math.min(e["maximum-scale"]||10,e["initial-scale"]||1));t<1&&(i/=t)}else i=window.innerWidth;return[i,2*i/3]})(t);if(i<=n)return i/n;if(i>s)return i/s}return 1}},388(t,e,i){i.d(e,{O:()=>p});var n=i(2),s=i(191),o=i(6),r=i(105),a=i(389),l=i(390),c=i(44),h=i(391);function u(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const d=(0,o.o1)();class p extends r.E{constructor(t){super(t),u(this,"onClick",(()=>{"playing"===this.video.state()?this.video.pause():this.video.play()})),u(this,"renderButton",(()=>{const t="playing"===this.video.state(),e=this.scale();this.isLoading&&this.video.setAriaLiveText("The video is loading..."),(0,n.render)((0,n.h)(a.A,{ariaLabel:t?this.translate("TITLE_WHEN_PLAYING"):this.translate("TITLE_WHEN_NOT_PLAYING"),isVisible:this.isVisible(),left:"50%",onClick:this.onClick,scale:e,top:"50%"},this.isLoading&&(0,n.h)(l.A,null),(0,n.h)(h.r,{isPlaying:t,svgStyle:{color:"#fff"}})),this.rootElem),this.reactMounts=[this.rootElem]})),this.isLoading=!1,this.hasMounted=!1}isVisible(){const{controlsAreVisible:t}=this.props,e=this.video,i=e.state(),n="beforeplay"===i,s="ended"===i&&"reset"===e._attrs.endVideoBehavior,o=e._impl.ui.anyDialogOpen();return this.isLoading||d.touchScreen&&t&&!o&&!n&&!s}mount(t){this.rootElem=t,this.setupBindings(),this.hasMounted=!0,this.renderButton()}onControlPropsUpdated(t){["anyDialogOpen","controlsAreVisible","videoWidth"].some((e=>this.props[e]!==t[e]))&&this.renderButton()}setupBindings(){let t=-1;this.hasMounted||this.unbinds.push(this.video.on("play",this.renderButton),this.video.on("pause",this.renderButton),this.video.on("end",this.renderButton),this.video.on("waiting",(e=>{!this.isLoading&&t<2&&e>=2&&(this.isLoading=!0,this.renderButton()),t=e})),this.video.on("done-waiting",(()=>{this.isLoading=!1,this.renderButton(),t=-1})),this.video.on("timechange",(()=>{this.isLoading=!1,this.renderButton(),t=-1})))}scale(){return Math.min(1.3,Math.max(.3,(0,s.O8)(this.video,[640,960])))}translate(t){return(0,c.sC)(this.props.playerLanguage.code,`PLAY_BUTTON_${t}`)}}p.shouldMount=()=>!0,p.handle="playPauseLoading",p.type="above-control-bar"},389(t,e,i){i.d(e,{A:()=>h});var n=i(2),s=i(6),o=i(4),r=i(25);function a(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const l=(0,s.o1)();class c extends n.Component{constructor(...t){super(...t),a(this,"state",{buttons:[{key:(0,r.h)(),isFadingUp:!1,isFirstRender:!1}],isDisplayNone:!0,isMouseDown:!1,isOpaque:!1}),a(this,"onClick",(t=>{const{fadeUpOnClick:e}=this.props;if(e){const{buttons:t}=this.state,e=(0,o.clone)(t),i=e[e.length-1];i.isFadingUp=!0;const n=i.key;e.push({key:(0,r.h)(),isFadingUp:!1,isFirstRender:!0}),this.setState({buttons:e}),setTimeout((()=>{this.setState({buttons:this.state.buttons.filter((t=>t.key!==n))})}),700)}const{onClick:i}=this.props;i&&i(t)})),a(this,"onMouseDown",(()=>{this.setState({isMouseDown:!0})})),a(this,"onMouseUp",(()=>{this.setState({isMouseDown:!1})})),a(this,"onTouchEnd",(()=>{this.setState({isMouseDown:!1})})),a(this,"onTouchStart",(()=>{this.setState({isMouseDown:!0})}))}buttonStyle(t){const{bottom:e,left:i,right:n,scale:s,top:o}=this.props,{isFadingUp:r,isFirstRender:a}=t,{isDisplayNone:l,isMouseDown:c,isOpaque:h}=this.state;let u=-50,d=.8;return r?u=-120:a&&(u=20),r?d=1:a?d=.4:c&&(d=.9),{background:"rgba(0,0,0,.6)",border:0,borderRadius:"50%",bottom:e,cursor:"pointer",display:l?"none":"block",height:140*s+"px",left:i,margin:0,padding:0,pointerEvents:"auto",position:"absolute",opacity:!h||r||a?0:1,outline:"none",right:n,top:o,transform:`translate(-50%, ${u}%) scale(${d})`,transition:`opacity ${r?600:200}ms, transform ${c?200:600}ms`,webkitTapHighlightColor:"rgba(0,0,0,0)",width:140*s+"px"}}componentDidMount(){this.handleVisibilityChange(this.props,this.state)}componentDidUpdate(){const{isVisible:t}=this.props,{buttons:e}=this.state;if(t&&e[e.length-1].isFirstRender){const t=(0,o.clone)(e);t[t.length-1].isFirstRender=!1,setTimeout((()=>{this.setState({buttons:t})}),10)}}componentWillReceiveProps(t){const{isVisible:e}=t,{isVisible:i}=this.props;e!==i&&this.handleVisibilityChange(t,this.state)}handleVisibilityChange(t,e){const{isVisible:i}=t,{isDisplayNone:n,isOpaque:s}=e;i&&n?(this.setState({isDisplayNone:!1}),setTimeout((()=>{this.setState({isOpaque:!0})}),10)):!i&&s&&(this.setState({isOpaque:!1}),setTimeout((()=>{this.setState({isDisplayNone:!0})}),100))}rootStyle(){return{height:"100%",left:0,pointerEvents:"none",position:"absolute",top:0,width:"100%"}}render(){const{ariaLabel:t,children:e}=this.props,{buttons:i}=this.state;return(0,n.h)("div",{class:"w-css-reset w-css-reset-tree",style:this.rootStyle()},i.map(((s,o)=>(0,n.h)("button",{"aria-label":t,class:"w-vulcan-v2-button",key:s.key,onClick:o===i.length-1&&this.onClick,onMouseDown:!l.touchScreen&&this.onMouseDown,onMouseUp:!l.touchScreen&&this.onMouseUp,onTouchEnd:l.touchScreen&&this.onTouchEnd,onTouchStart:l.touchScreen&&this.onTouchStart,style:this.buttonStyle(s)},e))))}}const h=c},390(t,e,i){i.d(e,{A:()=>l});var n=i(2),s=i(3),o=i(25),r=i(29);class a extends n.Component{constructor(t){super(t),this.svgId=(0,o.h)("w-loading-swoop-"),this.gradientId=(0,o.h)("w-loading-swoop-grad-"),this.animName=(0,o.h)("w-loading-swoop-")}componentDidMount(){(0,s.addInlineCss)(this.svgEl,`\n@keyframes ${this.animName} {\n  from {\n    transform: rotate(0deg);\n  }\n  to {\n    transform: rotate(360deg);\n  }\n}\n\n#${this.svgId} path {\n  animation: ${this.animName} 1s cubic-bezier(0.495, 0.155, 0.580, 0.845) infinite;\n  transform-origin: center;\n}\n    `)}shouldComponentUpdate(){return!1}render(){return(0,n.h)("svg",{...(0,r.I)({width:120,height:120,styleOverride:{position:"absolute"}}),id:this.svgId},(0,n.h)("linearGradient",{gradientUnits:"userSpaceOnUse",id:this.gradientId,ref:t=>{this.svgEl=t},x1:"31.5",x2:"31.5",y1:"0",y2:"120"},(0,n.h)("stop",{offset:"0",style:{stopColor:"#FFFFFF"}}),(0,n.h)("stop",{offset:"0.7279",style:{stopColor:"#FFFFFF",stopOpacity:0}})),(0,n.h)("path",{d:"M60,0C26.9,0,0,26.9,0,60s26.9,60,60,60v-6C30.2,114,6,89.8,6,60S30.2,6,60,6c1.7,0,3-1.3,3-3S61.7,0,60,0z",style:{fill:`url(#${this.gradientId})`,opacity:.8}}))}}const l=a},391(t,e,i){i.d(e,{r:()=>o});var n=i(2),s=i(29);const o=({isPlaying:t,svgStyle:e={},marginLeft:i=0})=>{const o=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{...e,fill:"none"}});return(0,n.h)("div",{style:{width:"100%",height:"100%",marginLeft:i??0}},(0,n.h)("svg",o,t?(0,n.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.5 11C15.6716 11 15 11.6716 15 12.5V22.5C15 23.3284 15.6716 24 16.5 24H17.5C18.3284 24 19 23.3284 19 22.5V12.5C19 11.6716 18.3284 11 17.5 11H16.5ZM23.5 11C22.6716 11 22 11.6716 22 12.5V22.5C22 23.3284 22.6716 24 23.5 24H24.5C25.3284 24 26 23.3284 26 22.5V12.5C26 11.6716 25.3284 11 24.5 11H23.5Z",fill:"currentcolor"}):(0,n.h)("path",{d:"M24.888 16.1913C25.4371 16.5906 25.4371 17.4094 24.888 17.8087L16.5882 23.845C15.9272 24.3257 15 23.8535 15 23.0362V10.9638C15 10.1465 15.9272 9.67433 16.5882 10.155L24.888 16.1913Z",fill:"currentcolor"})))}}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var i=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var i in e)__webpack_require__.o(e,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var __webpack_exports__={};(()=>{__webpack_require__.d(__webpack_exports__,{O:()=>t.O});var t=__webpack_require__(388)})();const __webpack_exports__PlayPauseLoadingCircleControl=__webpack_exports__.O;export{__webpack_exports__PlayPauseLoadingCircleControl as PlayPauseLoadingCircleControl};
//# debugId=17719624-3406-41f6-8c1a-ceec11612658
//# sourceMappingURL=playPauseLoadingControl.js.map