/*! For license information please see captions.js.LICENSE.txt */ var __webpack_modules__={153:(t,e,n)=>{n.d(e,{default:()=>u});var r=n(2);function o(){return o=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n.d(e,{default:()=>l});var r=n(2),o=n(38);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n.d(e,{CaptionsItem:()=>g});var r=n(2),o=n(36),i=n(40),a=n(20),s=n(38),c=n(153);function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n.d(e,{CaptionsMenu:()=>p});var r=n(2),o=n(153),i=n(366),a=n(367);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n.d(e,{TranscriptItem:()=>g});var r=n(2),o=n(36),i=n(38),a=n(40),s=n(41),c=n(60);function u(){return u=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n.d(e,{default:()=>u});var r=n(2),o=n(36);function i(t,e){for(var n=0;n{n.d(e,{default:()=>g});var r=n(2),o=n(36),i=n(40),a=n(373),s=n(375),c=n(376);function u(t,e){for(var n=0;n{n.d(e,{default:()=>v});var r=n(2),o=n(36),i=n(40);function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(t,e)}(t,e)||function(){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 s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n".concat(t,"")}))),(0,r.h)("div",{role:!this.props.focusHelper&&"gridcell"},(0,r.h)(c,{"aria-describedby":this.props.focusHelper?"":this.props.containerId,onBlur:this.unsetKeyboardFocus,onClick:this.clickLine,onFocus:this.onFocus,onKeyDown:this.onKeyDown,onKeyUp:this.onKeyUp,onMouseLeave:this.onMouseLeave,onMouseEnter:this.onMouseEnter,ref:function(e){return t.el=e},style:this.lineStyles(i),tabIndex:-1},!1===this.props.focusHelper&&(0,r.h)("span",{dangerouslySetInnerHTML:{__html:u},style:{backgroundColor:this.state.isHovered?"black":"transparent",boxShadow:this.state.isKeyboardFocused?"0 0 0 2px #fff inset":"none",cursor:"pointer",padding:"".concat(3.4*a,"px ").concat(8*a,"px"),textAlign:"rtl"===this.props.dir?"right":"left"}})))}},{key:"lineStyles",value:function(t){var e=this.props.scale;return{display:"inline-flex",minHeight:this.props.focusHelper?"0":"".concat(30*e,"px"),fontFamily:o.interFontFamily,fontSize:"".concat(17*e,"px"),fontWeight:t?"700":"500",lineHeight:this.props.focusHelper?"0":"".concat(26*e,"px"),outline:"none",marginLeft:"".concat(20/3.3*e,"px")}}}])&&c(e.prototype,n),s&&c(e,s),Object.defineProperty(e,"prototype",{writable:!1}),d}(r.Component)},373:(t,e,n)=>{n.d(e,{default:()=>m});var r=n(137),o=n(2),i=n(36),a=n(5),s=n(40),c=n(20),u=n(374);function l(t,e){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:{};return e.renderLine(e.props.captions[t],t,n)})),e.state={sectionFocus:!1,availableHeight:0,scrollTop:0,scrollToIndex:void 0,prevScrollToIndex:void 0,recentlyScrolled:!1},e.savedRefs={},e.scrollingTimeout=null,e.containerId=(0,c.seqId)("w-interactive-transcript-"),e}return e=m,(n=[{key:"componentDidMount",value:function(){var t=this.props.captions;if(this.props.setRefs&&this.props.setRefs(this.savedRefs),this.setState({availableHeight:this.calculateAvailableHeight()}),this.props.videoTime>0)for(var e=0;e=e?this.props.allRefs.focusHelper&&this.props.allRefs.focusHelper.focus({preventScroll:!0}):this.state.focusIndex>t&&this.state.focusIndexn.time&&i-1e[i].start?r=i-1:o=i+1,i=Math.floor((r+o)/2);return e[i].start<=n.time?i+1:1}return e.length}},{key:"getNeighboringIndices",value:function(t){var e=t,n=t,r=this.props.hitAndMissIndices;if(!this.props.searchKey)return[t-1,t===r.length-1?-1:t+1];for(;(e-=1)>=0&&!r[e];);for(;(n+=1)=t.scrollHeight-t.offsetHeight}},{key:"isWithinTime",value:function(t){var e=this.props.videoTime,n=t.start,r=t.end;return e>=n&&es&&(d=s);for(var v=[],y=h;y0;return(0,o.h)("div",{style:{height:"".concat(f,"px")},ref:function(t){return e.transcriptTextRoot=t}},(0,o.h)("div",{key:"focusHelper",style:{height:0}},m&&this.renderRowAtIndex(this.state.focusIndex||0,{focusHelper:!0})),(0,o.h)("div",{"aria-label":"Use the arrow keys to move between the different caption lines. Click each line to seek the video to that line",id:this.containerId,onBlur:this.setSectionBlur,onFocus:this.setSectionFocus,onKeyDown:this.onKeyDown,onScroll:this.handleScroll,onWheel:this.onWheel,ref:function(t){return e.transcriptText=t},style:this.sectionContainerStyles(),tabIndex:0},(0,o.h)("div",{style:g,role:"grid","aria-rowcount":s},(0,o.h)("div",{role:"rowgroup"},v)),i.enabled&&!1===i.hasClosed&&!t&&(0,o.h)("span",{style:this.turnstileText()},"-- You must enter your email to access the rest of the video. --")))}}])&&l(e.prototype,n),d&&l(e,d),Object.defineProperty(e,"prototype",{writable:!1}),m}(o.Component)},375:(t,e,n)=>{n.d(e,{default:()=>i});var r=n(2),o=n(38);const i=function(t){var e=t.color;return(0,r.h)("svg",(0,o.standardSvgAttrs)({width:24,height:24,ariaHidden:!0}),(0,r.h)("g",{stroke:"none",strokeWidth:"1",fill:"".concat(e)||"#fff",fillRule:"evenodd"},(0,r.h)("path",{d:"M18.643128,20.7643515 C19.228878,21.3502515 20.178678,21.3502515 20.764428,20.7643515 C21.350178,20.1786015 21.350178,19.2288015 20.764428,18.6430515 L14.121378,12.0000015 L20.764428,5.3569065 C21.350178,4.7711115 21.350178,3.8213715 20.764428,3.2355765 C20.178678,2.6497965 19.228878,2.6497965 18.643128,3.2355765 L12.000018,9.8786715 L5.356893,3.2355465 C4.771098,2.6497515 3.821358,2.6497515 3.235563,3.2355465 C2.649783,3.8213265 2.649783,4.7710815 3.235563,5.3568615 L9.878703,12.0000015 L3.235578,18.6430515 C2.649783,19.2289515 2.649783,20.1786015 3.235578,20.7645015 C3.821358,21.3502515 4.771113,21.3502515 5.356893,20.7645015 L12.000018,14.1213165 L18.643128,20.7643515 Z"})))}},60:(t,e,n)=>{n.d(e,{default:()=>v});var r=n(2),o=n(11),i=n(61);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n.d(e,{default:()=>i});var r=n(2),o=n(38);const i=function(t){var e=t.color;return(0,r.h)("svg",(0,o.standardSvgAttrs)({width:24,height:24,ariaHidden:!0}),(0,r.h)("g",{stroke:"none",strokeWidth:"1",fill:"".concat(e)||"#fff",fillRule:"evenodd"},(0,r.h)("path",{d:"M3 10.5C3 6.364 6.364 3 10.5 3S18 6.364 18 10.5 14.636 18 10.5 18 3 14.636 3 10.5m20.562 10.941l-4.661-4.661C20.213 15.027 21 12.858 21 10.5 21 4.701 16.298 0 10.5 0 4.7 0 0 4.701 0 10.5 0 16.298 4.7 21 10.5 21c2.358 0 4.527-.787 6.28-2.098l4.661 4.66c.292.291.677.438 1.06.438.386 0 .77-.147 1.061-.438.584-.584.584-1.539 0-2.121"})))}},42:(t,e,n)=>{n.d(e,{dynamicImport:()=>a});var r=n(23);function o(){o=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,n){return t[e]=n}}function l(t,e,n,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),s=new x(o||[]);return r(a,"_invoke",{value:S(t,n,s)}),a}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var p={};function h(){}function d(){}function v(){}var y={};u(y,a,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(P([])));m&&m!==e&&n.call(m,a)&&(y=m);var b=v.prototype=h.prototype=Object.create(y);function _(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function o(r,i,a,s){var c=f(t[r],t,i);if("throw"!==c.type){var u=c.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){o("next",t,a,s)}),(function(t){o("throw",t,a,s)})):e.resolve(l).then((function(t){u.value=t,a(u)}),(function(t){return o("throw",t,a,s)}))}s(c.arg)}var i;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){o(t,n,e,r)}))}return i=i?i.then(r,r):r()}})}function S(t,e,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return C()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var s=O(a,n);if(s){if(s===p)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=f(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===p)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function O(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,O(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),p;var o=f(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,p;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function x(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function P(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,o=function e(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var s=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(s&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:P(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}function i(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}var a=function(){var t,e=(t=o().mark((function t(e){var n,i,a=arguments;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i=null!==(n=(a.length>1&&void 0!==a[1]?a[1]:{}).host)&&void 0!==n?n:(0,r.eV1HostWithPort)(),t.abrupt("return",import("".concat((0,r.eV1Protocol)(),"//").concat(i,"/").concat(e)));case 3:case"end":return t.stop()}}),t)})),function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,c,"next",t)}function c(t){i(a,r,o,s,c,"throw",t)}s(void 0)}))});return function(t){return e.apply(this,arguments)}}()},2:(t,e,n)=>{n.d(e,{Component:()=>y,h:()=>h,render:()=>I});var r,o,i,a,s,c={},u=[],l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(t,e){for(var n in e)t[n]=e[n];return t}function p(t){var e=t.parentNode;e&&e.removeChild(t)}function h(t,e,n){var o,i,a,s={};for(a in e)"key"==a?o=e[a]:"ref"==a?i=e[a]:s[a]=e[a];if(arguments.length>2&&(s.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(a in t.defaultProps)void 0===s[a]&&(s[a]=t.defaultProps[a]);return d(t,s,o,i,null)}function d(t,e,n,r,a){var s={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==a?++i:a};return null==a&&null!=o.vnode&&o.vnode(s),s}function v(t){return t.children}function y(t,e){this.props=t,this.context=e}function g(t,e){if(null==e)return t.__?g(t.__,t.__.__k.indexOf(t)+1):null;for(var n;e0?d(m.type,m.props,m.key,m.ref?m.ref:null,m.__v):m)){if(m.__=n,m.__b=n.__b+1,null===(y=T[p])||y&&m.key==y.key&&m.type===y.type)T[p]=void 0;else for(h=0;h{n.d(e,{appHostname:()=>r});var r=function(){return"".concat(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app",".").concat("wistia.com")}},61:(t,e,n)=>{n.d(e,{default:()=>l});n(3);var r=n(15),o=n(5);function i(t,e){for(var n=0;n25||Date.now()-n.startedAt>300)&&(n.isSwipe=!0);var o=n.getTouchContext(t);n.trigger("touchmove",t,o),n.maybeTriggerMoreSpecificEvent(t,o)})),a(this,"onTouchMoveDocument",(function(t){t._handledByTouchMove||n.onTouchMove(t)})),a(this,"onTouchEnd",(function(t){t._handledByTouchEnd=!0;var e=n.getTouchContext(t);n.trigger("touchend",t,e),n.maybeTriggerMoreSpecificEvent(t,e),setTimeout((function(){n.resetTouchContext(),n.unbindTouchEndAndTouchMove()}),0)})),a(this,"onTouchEndDocument",(function(t){t._handledByTouchEnd||n.onTouchEnd(t)})),this.rootElem=e,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,(0,o.elemBind)(e,"touchstart",this.onTouchStart,!!c.passiveSupported&&{passive:!1})}var e,n,r;return e=t,(n=[{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,r=Object(t.touches[0]);return{xOffset:r.pageX-e.left,yOffset:r.pageY-e.top,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:n<1e3&&!this.isPinch&&!this.isSwipe,isLongPress:n>=1e3&&!this.isPinch&&!this.isSwipe,isPinch:this.isPinch,timeDelta:n,pinchScale:this.pinchScale,pinchDistance:this.pinchDistance}}},{key:"touchIsInsideRootElem",value:function(t){return t.left>=0&&t.left=0&&t.top{n.d(e,{captionsPromises:()=>i,fetchCaptions:()=>u,getCaptionsForLanguage:()=>f,shouldShowNativeCaptions:()=>l});n(24);var r=n(23),o=n(12),i={},a=Array.from(new Set((navigator.languages||[navigator.language]).concat(["en"]))),s=function(t){return t.split("-")[0]},c=function(t){var e=-1,n=a;if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).language&&t.captions.length>0&&t.preferred_languages.some((function(n){return(e=t.captions.findIndex((function(t){var e=t.alpha3_bibliographic||t.language,r=t.alpha3_terminologic||"";return e===n||""!==r&&r===n})))>=0})),-1===e&&n.some((function(n){return(e=t.captions.findIndex((function(t){return t.iso639_2_language_code===n})))>=0})),-1===e&&n.some((function(n){var r=s(n);return(e=t.captions.findIndex((function(t){return s(t.iso639_2_language_code)===r})))>=0})),e>0){var r=e>=0?t.captions[e]:t.captions[0];t.captions.splice(e,1),t.captions.unshift(r),t.preferred_languages=[r.language]}},u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hashedId(),a=e.language?"-".concat(e.language):"",s="".concat(n).concat(a);return i[s]?i[s]:i[s]=new Promise((function(i){var a="".concat((0,r.eV1Protocol)(),"//").concat((0,r.mediaDataHost)(t._opts)),s=new window.URL("".concat(a,"/embed/captions/").concat(n,".json"));e.language&&s.searchParams.append("language",e.language),o.wlog.info(s,e),fetch(s).then((function(t){return t.json()})).then((function(t){c(t,e),i(t)}))}))},l=function(t){return t._inNativeMode()||t._impl.behaviors.fullscreen&&t._impl.behaviors.fullscreen.inNativeFullscreen()},f=function(t,e){for(var n=0;n{n.d(e,{default:()=>c});n(2);function r(t,e){for(var n=0;n{var r=n(2),o=n(11),i=n(42),a=n(155),s=n(364),c=n(365),u=n(63),l=n(64),f=n(41),p=n(368),h=n(40);function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e{n(3);var r=n(160),o=n(23),i=n(24),a=n(20),s=n(2),c=n(5),u=n(11),l=n(64),f=n(42),p=n(368),h=n(63),d=n(370),v=n(155);function y(){return y=Object.assign?Object.assign.bind():function(t){for(var e=1;e1&&void 0!==arguments[1]&&arguments[1];this.activeLine={text:t,rtl:e}}},{key:"setNoActiveLine",value:function(){this.activeLine=null}},{key:"setLanguage",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,p.getCaptionsForLanguage)(t,this.captionsResp.captions);this.captions=n,this.setActiveLineForTime(this.video.time()),this.renderCaptions(),!1!==e.track&&this.showCorrespondingTrack(n)}},{key:"turnOff",value:function(){this.setLanguage(T)}},{key:"showCorrespondingTrack",value:function(t){var e=this;O.edge&&!this.video._inNativeMode()||this.setupTextTracks().then((function(){for(var n=e.video.getMediaElement(),r=0;r{var r=n(3),o=n(2),i=n(5),a=n(42),s=n(64),c=n(155),u=n(372),l=n(368),f=n(63);function p(t,e){for(var n=0;n{var r=n(3),o=n(6),i=n(12),a=n(368);function s(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return c(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(t,e)}(t,e)||function(){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 c(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n{n.d(e,{destroyControl:()=>s});n(7);var r=n(11),o=(n(30),n(5)),i=n(2),a=(n(20),n(64),function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)}),s=((0,r.cachedDetect)(),function(t){t._destroyed=!0,function(t){t.unbinds instanceof Array&&(t.unbinds.forEach((function(t){try{"function"==typeof t&&t()}catch(t){setTimeout((function(){throw t}),1)}})),t.unbinds=null)}(t),function(t){t.eventListeners instanceof Map&&(t.eventListeners.forEach((function(e,n){try{"function"==typeof e&&t.embedElement.removeEventListener(n,e)}catch(t){setTimeout((function(){throw t}),1)}})),t.eventListeners.clear())}(t),c(t),l(t),f(t)}),c=function(t){t.rootElem&&(0,o.elemRemove)(Array.prototype.slice.call(t.rootElem.childNodes))},u=function(t){var e=t[0],n=t[1];e&&n&&(0,i.render)((0,i.h)("nothing",null),e)},l=function(t){var e=t.reactMounts;if(e)if(e instanceof Array)u(e);else for(var n in e)a(e,n)&&e[n]&&u(e[n])},f=function(t){for(var e in t)a(t,e)&&("_"!==(n=e)[0]||"_"!==n[1])&&"mounted"!==e&&(t[e]=null);var n;t.__prevProps=null,t._destroyed=!0}},64:(t,e,n)=>{n.d(e,{defineControl:()=>i,getControlDefinitions:()=>a});var r=n(3),o=n(34);null==r.default._controlDefinitions&&(r.default._controlDefinitions={});var i=function(t){null!=t.handle?null==r.default._controlDefinitions[t.handle]&&(r.default._controlDefinitions[t.handle]=t,r.default.trigger&&r.default.trigger("controldefined",t)):console.error("Please specify a handle property for control",t)},a=function(){return r.default._controlDefinitions||{}};r.default.defineControl=function(t){(0,o.countMetric)("player/custom-control-definition",1,{name:t.handle,location:location.origin+location.pathname}),i(t)}},41:(t,e,n)=>{n.d(e,{defineTranslations:()=>u,getTranslation:()=>p});var r=n(3),o=n(6),i=(n(42),r.default.languages=r.default.languages||{}),a=r.default.translations=r.default.translations||{};r.default._translationPromises||(r.default._translationPromises={});var s,c=function(t,e,n){i[t]={code:t,text:f(e)},n&&u(t,n)},u=function(t,e){if(null==i[t])throw new Error("Must define a language with code ".concat(t," before defining its translations."));var n=a[t];n?(0,o.merge)(n,e):a[t]=(0,o.clone)(e)},l=r.default.cachedDecodings=r.default.cachedDecodings||{},f=function(t){return s||(s=document.createElement("textarea")),null!=l[t]?l[t]:(s.innerHTML=t,l[t]=s.value,s.value)},p=function(t,e){var n;return n=a[t]&&a[t][e]?a[t][e]:a["en-US"][e],f(function(t){return null==t?"?":t}(n))};c("en-US","English"),u("en-US",{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",REWATCH:"Rewatch",SKIP:"Skip"})},137:(t,e,n)=>{function r(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);na});const a=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var e=arguments.length<=0?void 0:arguments[0],n=e.seedRange,r=e.seedFunction,o=e.seedStart,i=e.outputStart,a=null!=i?i:0,s=e.outputEnd,c=null!=s?s:1,u=e.easing,l=null!=u?u:t.linear;if(null==n)throw new Error("Must provide seedRange argument");if(null!=r&&"function"!=typeof r)throw new Error("Given seed is not a function");if("function"!=typeof l)throw new Error("Invalid easing function given: ".concat(this.easing));this._seedRange=n,this._seedFunction=r||function(){return(new Date).getTime()},this._outputStart=a,this._outputEnd=c,this._easing=l,this._seedStart=(null==o?void 0:o())||this.seed()}var e,n,o;return e=t,o=[{key:"linear",value:function(t,e,n,r){return t*e/(n||1)+r}},{key:"easeInOut",value:function(t,e,n,r){return(e/=(n||1)/2)<1?t/2*e*e+r:-t/2*((e-=1)*(e-2)-1)+r}}],(n=[{key:"seed",value:function(){return this.seedFunction()()}},{key:"seedStart",value:function(){return this._seedStart}},{key:"seedRange",value:function(){return this._valOrFn(this._seedRange)}},{key:"seedFunction",value:function(){return this._seedFunction}},{key:"outputStart",value:function(){return this._valOrFn(this._outputStart)}},{key:"outputEnd",value:function(){return this._valOrFn(this._outputEnd)}},{key:"easing",value:function(){return this._valOrFn(this._easing)}},{key:"value",value:function(){return this._easing.apply(this,r(Array.from(this.easingArgs()||[])))}},{key:"atEnd",value:function(){return 1===this.ratio()}},{key:"atStart",value:function(){return 0===this.ratio()}},{key:"easingArgs",value:function(){return[this.c(),this.t(),this.d(),this.b()]}},{key:"seedDelta",value:function(){return this.seedRange()>0?Math.min(this.seedRange(),this.seed()-this.seedStart()):this.seedRange()<0?Math.max(this.seedRange(),this.seed()-this.seedStart()):0}},{key:"ratio",value:function(){var t=this.seedRange();return 0===t?1:Math.max(0,Math.min(1,this.seedDelta()/t))}},{key:"c",value:function(){return this.outputEnd()-this.outputStart()}},{key:"t",value:function(){return this.seedDelta()}},{key:"d",value:function(){return this.seedRange()}},{key:"b",value:function(){return this.outputStart()}},{key:"_valOrFn",value:function(t){return"function"==typeof t?t():t}}])&&i(e.prototype,n),o&&i(e,o),Object.defineProperty(e,"prototype",{writable:!1}),t}()},7:(t,e,n)=>{n.d(e,{default:()=>i});var r=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},o=function(t,e){for(var n in e)r(e,n)&&(t[n]=e[n]);return t};const i=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r{n.d(e,{bind:()=>c,bindNamed:()=>d,bindify:()=>m,trigger:()=>f,unbind:()=>u,unbindAllInNamespace:()=>y,unbindNamed:()=>v});var r=n(3),o=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};function i(t){return function(t){if(Array.isArray(t))return a(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n1?e-1:0),r=1;r{n.d(e,{cachedDetect:()=>U});var r,o=n(3),i=n(4),a=navigator.userAgent,s=/(webkit)[ /]([^\s]+)/i,c=/OPR\/([^\s]+)/i,u=/(edge)\/(\d+(?:\.\d+)?)/i,l=/(mozilla)(?:.*? rv:([^\s)]+))?/i,f=/(android) ([^;]+)/i,p=/(iphone)/i,h=/(Windows Phone OS (\d+(?:\.\d+)?))/,d=/OS (\d+)_(\d+)/i,v=/(playstation 3)/i,y=/BlackBerry|BB10/i,g=/(firefox)/i,m=/Mobile VR/i,b=/Version\/([^\s]+)/i,_=function(){return(S()[1]||"webkit").toLowerCase()},w=function(){return S()[2]},S=function(){var t;return(t=a.match(u))||(t=a.match(s))||(t=a.match(c))?t:t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=a.match(l))||[]},O=function(){var t=a.match(f);return null!=t&&{version:t[2]}},T=function(){return p.test(a)},k=function(){return I()>0||O()||C()},x=function(){try{var t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!k()},P=function(){return y.test(a)},C=function(){return/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1},j=function(){return s.test(a)&&!/chrome/i.test(a)&&!C()&&!T()},E=function(){return!(!/Chrome/.test(a)||!/Google Inc/.test(navigator.vendor))&&{version:R()}},A=function(){var t=a.match(/\bSilk\/([^\s]+)/);return t&&t[1]},R=function(){var t=a.match(/\bChrome\/([^\s]+)/);return t&&t[1]},L=function(){return c.test(a)},I=function(){var t=a.match(d),e=a.match(b);return null!=t?parseFloat("".concat(t[1],".").concat(t[2])):null!=e&&e[1]&&C()?parseFloat(e[1]):0},D=function(){return u.test(a)},M=function(){return g.test(a)},H=function(){var t=document.createElement("video"),e=!1;try{if(t.canPlayType){var n='video/mp4; codecs="avc1.42E01E';(e={}).h264=!!t.canPlayType("".concat(n,'"'))||!!t.canPlayType("".concat(n,', 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},B=function(){try{return"localStorage"in i.default&&null!=i.default.localStorage}catch(t){return!1}},F=["WebKit","Moz","O","Ms",""],N=function(){for(var t=0;t1,hoverIsNatural:x(),touchScreen:k(),ps3:v.test(a),video:H(),mediaSource:i.default.MediaSource&&i.default.MediaSource.isTypeSupported("".concat('video/mp4; codecs="avc1.42E01E',', mp4a.40.2"')),nativeHls:(T()||C()||j())&&H().nativeHls,localstorage:B(),json:!(!i.default.JSON||"function"!=typeof JSON.parse),backgroundSize:(d=document.createElement("div"),""===d.style.backgroundSize||""===d.style.webkitBackgroundSize||""===d.style.mozBackgroundSize||""===d.style.oBackgroundSize),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanSupport:(p=/webkit|mozilla|edge/.test(_()),Boolean(!T()&&!C()&&!O()&&!P()&&p&&H().h264&&Object.defineProperties)),mutationObserver:N(),callingPlayRequiresEventContext:I()>0||O()||j(),passiveSupported:W(),webp:(t=E(),e=M(),n=D(),r=L(),o=t&&w()>=32,s=t&&w()>=75&&O(),c=e&&w()>=65,u=e&&w()>=67&&O(),l=n&&w()>=18,f=r&&w()>=19,o||s||c||u||l||f)};return y.browser[_()]=!0,y}},8:(t,e,n)=>{n(9)},5:(t,e,n)=>{n.d(e,{addInlineCss:()=>h,elemAnimate:()=>x,elemAppend:()=>v,elemBind:()=>P,elemFromObject:()=>d,elemHeight:()=>O,elemIsInside:()=>k,elemOffset:()=>s.elemOffset,elemRemove:()=>y,elemStyle:()=>g,elemUnbind:()=>C,elemWidth:()=>S});var r,o=n(6),i=(n(8),n(10),n(11)),a=n(12),s=n(16),c=(n(17),n(20)),u=n(3),l=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},f=u.default,p=(0,i.cachedDetect)(),h=function(t,e){var n=t||document.body||document.head,r=document.createElement("style");return r.id=(0,c.seqId)("wistia_","_style"),r.setAttribute("type","text/css"),r.className="wistia_injected_style",n.appendChild(r,n.nextSibling),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)),r},d=function t(e){if((0,o.isArray)(e)){for(var n=[],r=0;r1?n-1:0),i=1;i1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n=(0,o.merge)({time:400,easing:"ease"},n);var r=function(t,e,n){var r=[];for(var o in t)r.push("".concat(o," ").concat(e,"ms ").concat(n));return r.join(",")}(e,n.time,n.easing);g(t,{transition:r}),R((function(){g(t,e),setTimeout((function(){g(t,{transition:""}),"function"==typeof n.callback&&n.callback()}),n.time)}))},P=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=function(r){(r=r||window.event).pageX||r.pageY||!r.clientX&&!r.clientY||(r.pageX=r.clientX+A(),r.pageY=r.clientY+E()),r.preventDefault||(r.preventDefault=function(){r.returnValue=!1}),r.stopPropagation||(r.stopPropagation=function(){r.cancelBubble=!0}),null==r.which&&(r.which=null!=r.charCode?r.charCode:r.keyCode),null==r.which&&null!=r.button&&(1&r.button?r.which=1:2&r.button?r.which=3:4&r.button?r.which=2:r.which=0),r.target||r.srcElement&&(r.target=r.srcElement),r.target&&3===r.target.nodeType&&(r.target=r.target.parentNode);for(var o=arguments.length,i=new Array(o>1?o-1:0),a=1;a3&&void 0!==arguments[3]&&arguments[3];if(null!=t&&null!=t._wistiaElemId&&null!=n&&n._wistiaBindId){var o=j(t,e,n),i=f._elemBind[o];return i&&(t.removeEventListener(e,i,r),i.elem=null,i.event=null),delete f._elemBind[o]}},j=function(t,e,n){return t._wistiaElemId=t._wistiaElemId||(0,c.seqId)("wistia_elem_"),n._wistiaBindId=n._wistiaBindId||(0,c.seqId)("wistia_bind_"),"".concat(t._wistiaElemId,".").concat(e,".").concat(n._wistiaBindId)},E=function(t){var e=document.body,n=document.documentElement;if(null==t)return n&&n.scrollTop||e&&e.scrollTop||0;e&&(e.scrollTop=t),n&&(n.scrollTop=t)},A=function(t){var e=document.body,n=document.documentElement;if(null==t)return n&&n.scrollLeft||e&&e.scrollLeft||0;e&&(e.scrollLeft=t),n&&(n.scrollLeft=t)},R=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)})(t)};["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((function(t){P(document,t,(function(t){r=t,Date.now(),setTimeout((function(){r===t&&(r=void 0)}),0)}),!p.passiveSupported||{capture:!0,passive:!0})}))},16:(t,e,n)=>{var r;n.d(e,{elemOffset:()=>i});var o=function(){if(null!=r)return r;var t=document.createElement("div");return t.style.paddingLeft=t.style.width="1px",document.body.appendChild(t),r=2===t.offsetWidth,document.body.removeChild(t),r},i=function(t){var e,n,r=document.body,i=document.defaultView,s=document.documentElement,c=t.getBoundingClientRect(),u=s.clientTop||r.clientTop||0,l=s.clientLeft||r.clientLeft||0;e=i&&null!=i.pageYOffset?i.pageYOffset:o()&&s&&null!=s.scrollTop?s.scrollTop:r.scrollTop,n=i&&null!=i.pageXOffset?i.pageXOffset:o()&&s&&null!=s.scrollLeft?s.scrollLeft:r.scrollLeft;var f=a(t);return{height:c.height*f,top:c.top*f+e-u,left:c.left*f+n-l,width:c.width*f,zoom:f}},a=function t(e){return e&&e!==document.documentElement?t(e.parentElement)*(getComputedStyle(e).zoom||1):1}},160:(t,e,n)=>{n.d(e,{controlMultiplierBasedOnVideo:()=>u});n(5),n(30);var r=n(11),o=n(6);function i(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,o,i,a,s=[],c=!0,u=!1;try{if(i=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(s.push(r.value),s.length!==e);c=!0);}catch(t){u=!0,o=t}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return a(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,e)}(t,e)||function(){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 a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);na?n/a:1}},13:(t,e,n)=>{n.d(e,{globalTrigger:()=>o});var r=n(3);(0,n(14).makeWbindable)(r.default);r.default.bind.bind(r.default),r.default.on.bind(r.default),r.default.off.bind(r.default),r.default.rebind.bind(r.default);var o=r.default.trigger.bind(r.default);r.default.unbind.bind(r.default)},23:(t,e,n)=>{n.d(e,{cdnFastWistiaNetHost:()=>s,eV1HostWithPort:()=>l,eV1Protocol:()=>f,mediaDataHost:()=>p});var r=n(4),o=n(24),i=n(25),a=((0,i.appHostname)("app"),(0,i.appHostname)("fast")),s=("undefined"!=typeof window&&r.default===window&&r.default.location&&r.default.location.protocol,function(){return"fast.wistia.net"}),c=function(){for(var t=document.getElementsByTagName("script"),e=0;e0&&void 0!==arguments[0]?arguments[0]:{};return t.embedHost?d(t.embedHost):l()},h=new RegExp("(".concat(["wistia.net","wistia.com","wistia.st"].map((function(t){return"\\.".concat(t.replace(".","\\."))})).join("|"),")$")),d=function(t){return t&&h.test(t)?t:l()}},36:(t,e,n)=>{n.d(e,{interFontFamily:()=>r});var r="WistiaPlayerInter, Helvetica, Sans-Serif"},40:(t,e,n)=>{n.d(e,{isMouseDown:()=>u,isMouseDownRecently:()=>l});var r=n(3),o=n(5),i=(0,n(11).cachedDetect)();if(null==r.default._isMouseDown){r.default._isMouseDown=!1;var a=function(t){r.default._isMouseDown=!0,r.default._lastMouseDownAt=Date.now(),setTimeout((function(){t.defaultPrevented&&(r.default._isMouseDown=!1)}),0)},s=function(){r.default._lastMouseUpAt=Date.now(),setTimeout((function(){r.default._isMouseDown=!1}),0)};i.touchScreen?((0,o.elemBind)(document,"touchstart",a,!0),(0,o.elemBind)(document,"touchend",(function(){r.default._lastMouseUpAt=Date.now(),setTimeout((function(){r.default._isMouseDown=!1}),0)}),!0)):((0,o.elemBind)(document,"mousedown",a,!0),(0,o.elemBind)(document,"mouseup",s,!0));var c=i.windows?s:a;(0,o.elemBind)(document,"contextmenu",c,!0)}var u=function(){return null!=r.default._mouseDownForceReturnVal?r.default._mouseDownForceReturnVal:r.default._isMouseDown},l=function(){return null!=r.default._mouseDownForceReturnVal?r.default._mouseDownForceReturnVal:(t=500,Math.max(r.default._lastMouseDownAt||0,(r.default._lastMouseUpAt||0)-1)>Date.now()-t);var t}},28:(t,e,n)=>{n.d(e,{getLocalStorage:()=>c,removeLocalStorage:()=>u,setLocalStorage:()=>l,updateLocalStorage:()=>f});var r=n(3),o=function(t){setTimeout((function(){throw t}),0)},i="_namespacedLocalStorage",a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia-test-localstorage";if(null!=r.default._localStorageWorks)return r.default._localStorageWorks;try{var e=localStorage.getItem(t);localStorage.removeItem(t),localStorage.setItem(t,e),localStorage.removeItem(t),r.default._localStorageWorks=!0}catch(t){r.default._localStorageWorks=!1}return r.default._localStorageWorks},s=function(){return null==r.default[i]&&(r.default[i]={}),r.default[i]},c=function(t){if(!a())return s()[t]||{};if(localStorage[t])try{return"null"===localStorage[t]?{}:JSON.parse(localStorage[t])}catch(t){o(t)}return{}},u=function(t){if(a())try{localStorage.removeItem(t)}catch(t){o(t)}else s()[t]={}},l=function(t,e){if(!a())return null!=e&&"object"==typeof e&&(s()[t]=e),e;try{s()[t]=e,localStorage[t]=JSON.stringify(e)}catch(t){o(t)}return e},f=function(t,e){var n=c(t);try{e(n)}catch(t){o(t)}return l(t,n)}},6:(t,e,n)=>{n.d(e,{cast:()=>h,clone:()=>u,eachLeaf:()=>k,getDeep:()=>l,isArray:()=>g,isEmpty:()=>O,isObject:()=>b,merge:()=>i,setAndPreserveUndefined:()=>f});n(7);var r=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},o=Array.prototype.slice,i=function(t){if(0==(arguments.length<=1?0:arguments.length-1))return t;for(var e=0;e<(arguments.length<=1?0:arguments.length-1);e++)a(t,e+1<1||arguments.length<=e+1?void 0:arguments[e+1]);return t},a=function t(e,n){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:c;if(g(n)){g(e)||(e=[]);for(var a=0;a3&&void 0!==arguments[3])||arguments[3],i=(e="string"==typeof e?e.split("."):o.call(e)).pop();null!=(t=l(t,e,!0))&&(b(t)||g(t))&&null!=i&&(r&&null==n?delete t[i]:t[i]=n)},h=function(t){return null==t?t:b(t)||g(t)?v(t):d("".concat(t),t)},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return/^-?[1-9]\d*?$/.test(t)?parseInt(t,10):"0"===t||"-0"===t?0:/^-?\d*\.\d+$/.test(t)?parseFloat(t):!!/^true$/i.test(t)||!/^false$/i.test(t)&&e},v=function(t){return a(t,t,(function(t){return"string"==typeof t?d(t):t}),(function(){return!1}))},y=/^\s*function Array()/,g=function(t){return null!=t&&t.push&&y.test(t.constructor)},m=/^\s*function Object()/,b=function(t){return null!=t&&"object"==typeof t&&m.test(t.constructor)},_=/^\s*function RegExp()/,w=/^string|number|boolean|function$/i,S=function(t){return null!=t&&(w.test(typeof t)||function(t){return null!=t&&_.test(t.constructor)}(t))},O=function(t){return null==t||(!(!g(t)||t.length)||!!b(t)&&!Object.keys(t).length)},T=function t(e,n,i,a,s){if(null==i&&(i=[]),S(e))n(e,i,a,s);else if(b(e)||g(e)){for(var c in n(e,i,a,s),e)if(r(e,c)){var u=o.call(i);u.push(c),t(e[c],n,u,e,c)}}else n(e,i,a,s)},k=function(t,e){T(t,(function(t,n,r,o){g(t)||b(t)||e(t,n,r,o)}))}},10:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:4e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window;if(/loaded|complete/.test(n.readyState))setTimeout(t,0);else{var o=function(){r.removeEventListener("load",i,!1)},i=function(){clearTimeout(a),o(),t()};r.addEventListener("load",i,!1);var a=setTimeout((function(){o(),t()}),e)}}},9:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t,e,n,r,o){var i=null,a=(new Date).getTime();i=setTimeout((function s(){(new Date).getTime()-a>r?"function"==typeof o&&o():t()?e():(clearTimeout(i),i=setTimeout(s,n))}),1)}},4:(t,e,n)=>{var r;n.d(e,{default:()=>o});try{(r=self).self!==r&&void 0!==r.self&&"undefined"!=typeof window&&(r=window)}catch(t){r="undefined"!=typeof globalThis?globalThis:window}const o=r},19:(t,e,n)=>{n.d(e,{default:()=>r});const r=function(t,e){return new Promise((function(n,r){var o;null==e&&(e=8e3),(o=document.createElement("script")).src=t,o.async=!0,o.type="text/javascript";var i=null,a=!1,s=function(){o.onerror=o.onreadystatechange=o.onload=null,clearTimeout(i),clearTimeout(u),i=setTimeout((function(){o&&o.parentNode&&o.parentNode.removeChild(o)}),500)},c=function(){var t=o.readyState;a||t&&!/loaded|complete/.test(t)||(a=!0,setTimeout((function(){n(),s()}),1))},u=setTimeout((function(){a=!0,s(),r(new Error("timeout"))}),e);o.onerror=function(t){a=!0,s(),r(t)},o.onreadystatechange=c,o.onload=c,(document.body||document.head).appendChild(o)}))}},17:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{execScriptTags:()=>execScriptTags,getScriptTags:()=>getScriptTags,removeScriptTags:()=>removeScriptTags});var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(18),getScriptTags=function(t){return t.match(/]*>\s*<\/script>|[\s\S]+?<\/script>/gi)||[]},scriptTagsToRunScriptsInput=function scriptTagsToRunScriptsInput(scriptTags){if(!scriptTags)return[];scriptTags instanceof Array||(scriptTags=getScriptTags(scriptTags));for(var hashes=[],_loop=function _loop(){var scriptTag=scriptTags[i],hash={},matches=scriptTag.match(//i);if(matches&&(matches=matches[0].match(/src="([^"]+)"/i),matches&&(hash.src=matches[1],hash.async=/async/i.test(scriptTag.replace(hash.src,"")))),!matches&&(matches=scriptTag.match(/