var __webpack_modules__={1(t,e,n){n.r(e),n.d(e,{Wistia:()=>Z});var i,o,r,s,a,l,u,c,h,d,p,f,m,v,_,y,g,b,w,A,k,S,C,E,T,x,O,B,W,P,M,R,H,I,F,N,L,D=n(2),j=n(3),U=n(4),z=n(5);function V(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?V(Object(n),!0).forEach((function(e){G(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function G(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}null!==(i=z.root.Wistia)&&void 0!==i||(z.root.Wistia={}),null!==(r=(o=z.root.Wistia).Preact)&&void 0!==r||(o.Preact=q(q({},D),{},{hooks:j,compat:U})),null!==(a=(s=z.root.Wistia)._destructors)&&void 0!==a||(s._destructors={}),null!==(u=(l=z.root.Wistia)._initializers)&&void 0!==u||(l._initializers={}),null!==(h=(c=z.root.Wistia)._remoteData)&&void 0!==h||(c._remoteData=new Map),null!==(p=(d=z.root.Wistia).api)&&void 0!==p||(d.api=function(){return console.error("Accessed Wistia.api() before it was initialized"),null}),null!==(m=(f=z.root.Wistia).defineControl)&&void 0!==m||(f.defineControl=function(){return console.error("Accessed Wistia.defineControl() before it was initialized"),null}),null!==(_=(v=z.root.Wistia).EventShepherdManager)&&void 0!==_||(v.EventShepherdManager={}),null!==(g=(y=z.root.Wistia).mixin)&&void 0!==g||(y.mixin=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(e).forEach((function(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)})(e,n)&&(t[n]=e[n])}))}),null!==(w=(b=z.root.Wistia).playlistMethods)&&void 0!==w||(b.playlistMethods=new Map),null!==(k=(A=z.root.Wistia).PublicApi)&&void 0!==k||(A.PublicApi=null),null!==(C=(S=z.root.Wistia).uncacheMedia)&&void 0!==C||(S.uncacheMedia=function(){return console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null}),null!==(T=(E=z.root.Wistia).VisitorKey)&&void 0!==T||(E.VisitorKey=null),null!==(O=(x=z.root.Wistia).visitorKey)&&void 0!==O||(x.visitorKey=null),null!==(W=(B=z.root.Wistia).wistia)&&void 0!==W||(B.wistia=void 0),null!==(M=(P=z.root.Wistia)._liveStreamEventDataPromises)&&void 0!==M||(P._liveStreamEventDataPromises={}),null!==(H=(R=z.root.Wistia)._mediaDataPromises)&&void 0!==H||(R._mediaDataPromises={}),null!==(F=(I=z.root.Wistia)._liveStreamPollingPromises)&&void 0!==F||(I._liveStreamPollingPromises={}),null!==(L=(N=z.root.Wistia).first)&&void 0!==L||(N.first=function(){var t;return null!==(t=z.root.Wistia.api())&&void 0!==t?t:document.querySelector("wistia-player")});var Z=z.root.Wistia},2(t,e,n){n.r(e),n.d(e,{Component:()=>O,Fragment:()=>x,cloneElement:()=>J,createContext:()=>tt,createElement:()=>C,createRef:()=>T,h:()=>C,hydrate:()=>X,isValidElement:()=>s,options:()=>o,render:()=>Q,toChildArray:()=>N});var i,o,r,s,a,l,u,c,h,d,p,f,m,v,_,y,g={},b=[],w=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,A=Array.isArray;function k(t,e){for(var n in e)t[n]=e[n];return t}function S(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function C(t,e,n){var o,r,s,a={};for(s in e)"key"==s?o=e[s]:"ref"==s?r=e[s]:a[s]=e[s];if(arguments.length>2&&(a.children=arguments.length>3?i.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===a[s]&&(a[s]=t.defaultProps[s]);return E(t,a,o,r,null)}function E(t,e,n,i,s){var a={type:t,props:e,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++r:s,__i:-1,__u:0};return null==s&&null!=o.vnode&&o.vnode(a),a}function T(){return{current:null}}function x(t){return t.children}function O(t,e){this.props=t,this.context=e}function B(t,e){if(null==e)return t.__?B(t.__,t.__i+1):null;for(var n;e<t.__k.length;e++)if(null!=(n=t.__k[e])&&null!=n.__e)return n.__e;return"function"==typeof t.type?B(t):null}function W(t){if(t.__P&&t.__d){var e=t.__v,n=e.__e,i=[],r=[],s=k({},e);s.__v=e.__v+1,o.vnode&&o.vnode(s),z(t.__P,s,e,t.__n,t.__P.namespaceURI,32&e.__u?[n]:null,i,null==n?B(e):n,!!(32&e.__u),r),s.__v=e.__v,s.__.__k[s.__i]=s,q(i,s,r),e.__e=e.__=null,s.__e!=n&&P(s)}}function P(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some((function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e})),P(t)}function M(t){(!t.__d&&(t.__d=!0)&&a.push(t)&&!R.__r++||l!=o.debounceRendering)&&((l=o.debounceRendering)||u)(R)}function R(){try{for(var t,e=1;a.length;)a.length>e&&a.sort(c),t=a.shift(),e=a.length,W(t)}finally{a.length=R.__r=0}}function H(t,e,n,i,o,r,s,a,l,u,c){var h,d,p,f,m,v,_,y=i&&i.__k||b,w=e.length;for(l=I(n,e,y,l,w),h=0;h<w;h++)null!=(p=n.__k[h])&&(d=-1!=p.__i&&y[p.__i]||g,p.__i=h,v=z(t,p,d,o,r,s,a,l,u,c),f=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&Y(d.ref,null,p),c.push(p.ref,p.__c||f,p)),null==m&&null!=f&&(m=f),(_=!!(4&p.__u))||d.__k===p.__k?(l=F(p,l,t,_),_&&d.__e&&(d.__e=null)):"function"==typeof p.type&&void 0!==v?l=v:f&&(l=f.nextSibling),p.__u&=-7);return n.__e=m,l}function I(t,e,n,i,o){var r,s,a,l,u,c=n.length,h=c,d=0;for(t.__k=new Array(o),r=0;r<o;r++)null!=(s=e[r])&&"boolean"!=typeof s&&"function"!=typeof s?("string"==typeof s||"number"==typeof s||"bigint"==typeof s||s.constructor==String?s=t.__k[r]=E(null,s,null,null,null):A(s)?s=t.__k[r]=E(x,{children:s},null,null,null):void 0===s.constructor&&s.__b>0?s=t.__k[r]=E(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):t.__k[r]=s,l=r+d,s.__=t,s.__b=t.__b+1,a=null,-1!=(u=s.__i=L(s,n,l,h))&&(h--,(a=n[u])&&(a.__u|=2)),null==a||null==a.__v?(-1==u&&(o>c?d--:o<c&&d++),"function"!=typeof s.type&&(s.__u|=4)):u!=l&&(u==l-1?d--:u==l+1?d++:(u>l?d--:d++,s.__u|=4))):t.__k[r]=null;if(h)for(r=0;r<c;r++)null!=(a=n[r])&&!(2&a.__u)&&(a.__e==i&&(i=B(a)),$(a,a));return i}function F(t,e,n,i){var o,r;if("function"==typeof t.type){for(o=t.__k,r=0;o&&r<o.length;r++)o[r]&&(o[r].__=t,e=F(o[r],e,n,i));return e}t.__e!=e&&(i&&(e&&t.type&&!e.parentNode&&(e=B(t)),n.insertBefore(t.__e,e||null)),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function N(t,e){return e=e||[],null==t||"boolean"==typeof t||(A(t)?t.some((function(t){N(t,e)})):e.push(t)),e}function L(t,e,n,i){var o,r,s,a=t.key,l=t.type,u=e[n],c=null!=u&&!(2&u.__u);if(null===u&&null==a||c&&a==u.key&&l==u.type)return n;if(i>(c?1:0))for(o=n-1,r=n+1;o>=0||r<e.length;)if(null!=(u=e[s=o>=0?o--:r++])&&!(2&u.__u)&&a==u.key&&l==u.type)return s;return-1}function D(t,e,n){"-"==e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||w.test(e)?n:n+"px"}function j(t,e,n,i,o){var r,s;t:if("style"==e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof i&&(t.style.cssText=i=""),i)for(e in i)n&&e in n||D(t.style,e,"");if(n)for(e in n)i&&n[e]==i[e]||D(t.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])r=e!=(e=e.replace(f,"$1")),s=e.toLowerCase(),e=s in t||"onFocusOut"==e||"onFocusIn"==e?s.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+r]=n,n?i?n[p]=i[p]:(n[p]=m,t.addEventListener(e,r?_:v,r)):t.removeEventListener(e,r?_:v,r);else{if("http://www.w3.org/2000/svg"==o)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==n?"":n))}}function U(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e[d])e[d]=m++;else if(e[d]<n[p])return;return n(o.event?o.event(e):e)}}}function z(t,e,n,i,r,s,a,l,u,c){var h,d,p,f,m,v,_,y,g,w,C,E,T,B,W,P=e.type;if(void 0!==e.constructor)return null;128&n.__u&&(u=!!(32&n.__u),s=[l=e.__e=n.__e]),(h=o.__b)&&h(e);t:if("function"==typeof P)try{if(y=e.props,g=P.prototype&&P.prototype.render,w=(h=P.contextType)&&i[h.__c],C=h?w?w.props.value:h.__:i,n.__c?_=(d=e.__c=n.__c).__=d.__E:(g?e.__c=d=new P(y,C):(e.__c=d=new O(y,C),d.constructor=P,d.render=K),w&&w.sub(d),d.state||(d.state={}),d.__n=i,p=d.__d=!0,d.__h=[],d._sb=[]),g&&null==d.__s&&(d.__s=d.state),g&&null!=P.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=k({},d.__s)),k(d.__s,P.getDerivedStateFromProps(y,d.__s))),f=d.props,m=d.state,d.__v=e,p)g&&null==P.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),g&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(g&&null==P.getDerivedStateFromProps&&y!==f&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(y,C),e.__v==n.__v||!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(y,d.__s,C)){e.__v!=n.__v&&(d.props=y,d.state=d.__s,d.__d=!1),e.__e=n.__e,e.__k=n.__k,e.__k.some((function(t){t&&(t.__=e)})),b.push.apply(d.__h,d._sb),d._sb=[],d.__h.length&&a.push(d);break t}null!=d.componentWillUpdate&&d.componentWillUpdate(y,d.__s,C),g&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(f,m,v)}))}if(d.context=C,d.props=y,d.__P=t,d.__e=!1,E=o.__r,T=0,g)d.state=d.__s,d.__d=!1,E&&E(e),h=d.render(d.props,d.state,d.context),b.push.apply(d.__h,d._sb),d._sb=[];else do{d.__d=!1,E&&E(e),h=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++T<25);d.state=d.__s,null!=d.getChildContext&&(i=k(k({},i),d.getChildContext())),g&&!p&&null!=d.getSnapshotBeforeUpdate&&(v=d.getSnapshotBeforeUpdate(f,m)),B=null!=h&&h.type===x&&null==h.key?G(h.props.children):h,l=H(t,A(B)?B:[B],e,n,i,r,s,a,l,u,c),d.base=e.__e,e.__u&=-161,d.__h.length&&a.push(d),_&&(d.__E=d.__=null)}catch(t){if(e.__v=null,u||null!=s)if(t.then){for(e.__u|=u?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;s[s.indexOf(l)]=null,e.__e=l}else{for(W=s.length;W--;)S(s[W]);V(e)}else e.__e=n.__e,e.__k=n.__k,t.then||V(e);o.__e(t,e,n)}else null==s&&e.__v==n.__v?(e.__k=n.__k,e.__e=n.__e):l=e.__e=Z(n.__e,e,n,i,r,s,a,u,c);return(h=o.diffed)&&h(e),128&e.__u?void 0:l}function V(t){t&&(t.__c&&(t.__c.__e=!0),t.__k&&t.__k.some(V))}function q(t,e,n){for(var i=0;i<n.length;i++)Y(n[i],n[++i],n[++i]);o.__c&&o.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){o.__e(t,e.__v)}}))}function G(t){return"object"!=typeof t||null==t||t.__b>0?t:A(t)?t.map(G):k({},t)}function Z(t,e,n,r,s,a,l,u,c){var h,d,p,f,m,v,_,y=n.props||g,b=e.props,w=e.type;if("svg"==w?s="http://www.w3.org/2000/svg":"math"==w?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=a)for(h=0;h<a.length;h++)if((m=a[h])&&"setAttribute"in m==!!w&&(w?m.localName==w:3==m.nodeType)){t=m,a[h]=null;break}if(null==t){if(null==w)return document.createTextNode(b);t=document.createElementNS(s,w,b.is&&b),u&&(o.__m&&o.__m(e,a),u=!1),a=null}if(null==w)y===b||u&&t.data==b||(t.data=b);else{if(a=a&&i.call(t.childNodes),!u&&null!=a)for(y={},h=0;h<t.attributes.length;h++)y[(m=t.attributes[h]).name]=m.value;for(h in y)m=y[h],"dangerouslySetInnerHTML"==h?p=m:"children"==h||h in b||"value"==h&&"defaultValue"in b||"checked"==h&&"defaultChecked"in b||j(t,h,null,m,s);for(h in b)m=b[h],"children"==h?f=m:"dangerouslySetInnerHTML"==h?d=m:"value"==h?v=m:"checked"==h?_=m:u&&"function"!=typeof m||y[h]===m||j(t,h,m,y[h],s);if(d)u||p&&(d.__html==p.__html||d.__html==t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(p&&(t.innerHTML=""),H("template"==e.type?t.content:t,A(f)?f:[f],e,n,r,"foreignObject"==w?"http://www.w3.org/1999/xhtml":s,a,l,a?a[0]:n.__k&&B(n,0),u,c),null!=a)for(h=a.length;h--;)S(a[h]);u||(h="value","progress"==w&&null==v?t.removeAttribute("value"):null!=v&&(v!==t[h]||"progress"==w&&!v||"option"==w&&v!=y[h])&&j(t,h,v,y[h],s),h="checked",null!=_&&_!=t[h]&&j(t,h,_,y[h],s))}return t}function Y(t,e,n){try{if("function"==typeof t){var i="function"==typeof t.__u;i&&t.__u(),i&&null==e||(t.__u=t(e))}else t.current=e}catch(t){o.__e(t,n)}}function $(t,e,n){var i,r;if(o.unmount&&o.unmount(t),(i=t.ref)&&(i.current&&i.current!=t.__e||Y(i,null,e)),null!=(i=t.__c)){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(t){o.__e(t,e)}i.base=i.__P=null}if(i=t.__k)for(r=0;r<i.length;r++)i[r]&&$(i[r],e,n||"function"!=typeof t.type);n||S(t.__e),t.__c=t.__=t.__e=void 0}function K(t,e,n){return this.constructor(t,n)}function Q(t,e,n){var r,s,a,l;e==document&&(e=document.documentElement),o.__&&o.__(t,e),s=(r="function"==typeof n)?null:n&&n.__k||e.__k,a=[],l=[],z(e,t=(!r&&n||e).__k=C(x,null,[t]),s||g,g,e.namespaceURI,!r&&n?[n]:s?null:e.firstChild?i.call(e.childNodes):null,a,!r&&n?n:s?s.__e:e.firstChild,r,l),q(a,t,l)}function X(t,e){Q(t,e,X)}function J(t,e,n){var o,r,s,a,l=k({},t.props);for(s in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)"key"==s?o=e[s]:"ref"==s?r=e[s]:l[s]=void 0===e[s]&&null!=a?a[s]:e[s];return arguments.length>2&&(l.children=arguments.length>3?i.call(arguments,2):n),E(t.type,l,o||t.key,r||t.ref,null)}function tt(t){function e(t){var n,i;return this.getChildContext||(n=new Set,(i={})[e.__c]=this,this.getChildContext=function(){return i},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&n.forEach((function(t){t.__e=!0,M(t)}))},this.sub=function(t){n.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.delete(t),e&&e.call(t)}}),t.children}return e.__c="__cC"+y++,e.__=t,e.Provider=e.__l=(e.Consumer=function(t,e){return t.children(e)}).contextType=e,e}i=b.slice,o={__e:function(t,e,n,i){for(var o,r,s;e=e.__;)if((o=e.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(t)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,i||{}),s=o.__d),s)return o.__E=o}catch(e){t=e}throw t}},r=0,s=function(t){return null!=t&&void 0===t.constructor},O.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=k({},this.state),"function"==typeof t&&(t=t(k({},n),this.props)),t&&k(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),M(this))},O.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),M(this))},O.prototype.render=x,a=[],u="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(t,e){return t.__v.__b-e.__v.__b},R.__r=0,h=Math.random().toString(8),d="__d"+h,p="__a"+h,f=/(PointerCapture)$|Capture$/i,m=0,v=U(!1),_=U(!0),y=0},3(t,e,n){n.r(e),n.d(e,{useCallback:()=>C,useContext:()=>E,useDebugValue:()=>T,useEffect:()=>b,useErrorBoundary:()=>x,useId:()=>O,useImperativeHandle:()=>k,useLayoutEffect:()=>w,useMemo:()=>S,useReducer:()=>g,useRef:()=>A,useState:()=>y});var i,o,r,s,a=n(2),l=0,u=[],c=a.options,h=c.__b,d=c.__r,p=c.diffed,f=c.__c,m=c.unmount,v=c.__;function _(t,e){c.__h&&c.__h(o,t,l||e),l=0;var n=o.__H||(o.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function y(t){return l=1,g(I,t)}function g(t,e,n){var r=_(i++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):I(void 0,e),function(t){var e=r.__N?r.__N[0]:r.__[0],n=r.t(e,t);e!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=o,!o.__f)){var s=function(t,e,n){if(!r.__c.__H)return!0;var i=r.__c.__H.__.filter((function(t){return t.__c}));if(i.every((function(t){return!t.__N})))return!a||a.call(this,t,e,n);var o=r.__c.props!==t;return i.some((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(o=!0)}})),a&&a.call(this,t,e,n)||o};o.__f=!0;var a=o.shouldComponentUpdate,l=o.componentWillUpdate;o.componentWillUpdate=function(t,e,n){if(this.__e){var i=a;a=void 0,s(t,e,n),a=i}l&&l.call(this,t,e,n)},o.shouldComponentUpdate=s}return r.__N||r.__}function b(t,e){var n=_(i++,3);!c.__s&&H(n.__H,e)&&(n.__=t,n.u=e,o.__H.__h.push(n))}function w(t,e){var n=_(i++,4);!c.__s&&H(n.__H,e)&&(n.__=t,n.u=e,o.__h.push(n))}function A(t){return l=5,S((function(){return{current:t}}),[])}function k(t,e,n){l=6,w((function(){if("function"==typeof t){var n=t(e());return function(){t(null),n&&"function"==typeof n&&n()}}if(t)return t.current=e(),function(){return t.current=null}}),null==n?n:n.concat(t))}function S(t,e){var n=_(i++,7);return H(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function C(t,e){return l=8,S((function(){return t}),e)}function E(t){var e=o.context[t.__c],n=_(i++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(o)),e.props.value):t.__}function T(t,e){c.useDebugValue&&c.useDebugValue(e?e(t):t)}function x(t){var e=_(i++,10),n=y();return e.__=t,o.componentDidCatch||(o.componentDidCatch=function(t,i){e.__&&e.__(t,i),n[1](t)}),[n[0],function(){n[1](void 0)}]}function O(){var t=_(i++,11);if(!t.__){for(var e=o.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var n=e.__m||(e.__m=[0,0]);t.__="P"+n[0]+"-"+n[1]++}return t.__}function B(){for(var t;t=u.shift();){var e=t.__H;if(t.__P&&e)try{e.__h.some(M),e.__h.some(R),e.__h=[]}catch(n){e.__h=[],c.__e(n,t.__v)}}}c.__b=function(t){o=null,h&&h(t)},c.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),v&&v(t,e)},c.__r=function(t){d&&d(t),i=0;var e=(o=t.__c).__H;e&&(r===o?(e.__h=[],o.__h=[],e.__.some((function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0}))):(e.__h.some(M),e.__h.some(R),e.__h=[],i=0)),r=o},c.diffed=function(t){p&&p(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==u.push(e)&&s===c.requestAnimationFrame||((s=c.requestAnimationFrame)||P)(B)),e.__H.__.some((function(t){t.u&&(t.__H=t.u),t.u=void 0}))),r=o=null},c.__c=function(t,e){e.some((function(t){try{t.__h.some(M),t.__h=t.__h.filter((function(t){return!t.__||R(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],c.__e(n,t.__v)}})),f&&f(t,e)},c.unmount=function(t){m&&m(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.some((function(t){try{M(t)}catch(t){e=t}})),n.__H=void 0,e&&c.__e(e,n.__v))};var W="function"==typeof requestAnimationFrame;function P(t){var e,n=function(){clearTimeout(i),W&&cancelAnimationFrame(e),setTimeout(t)},i=setTimeout(n,35);W&&(e=requestAnimationFrame(n))}function M(t){var e=o,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),o=e}function R(t){var e=o;t.__c=t.__(),o=e}function H(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function I(t,e){return"function"==typeof e?e(t):e}},4(t,e,n){n.r(e),n.d(e,{Children:()=>g,Component:()=>i.Component,Fragment:()=>i.Fragment,PureComponent:()=>p,StrictMode:()=>i.Fragment,Suspense:()=>S,SuspenseList:()=>T,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>G,cloneElement:()=>X,createContext:()=>i.createContext,createElement:()=>i.createElement,createFactory:()=>Y,createPortal:()=>W,createRef:()=>i.createRef,default:()=>ot,findDOMNode:()=>tt,flushSync:()=>nt,forwardRef:()=>_,hydrate:()=>L,isElement:()=>it,isFragment:()=>K,isMemo:()=>Q,isValidElement:()=>$,lazy:()=>E,memo:()=>f,render:()=>N,startTransition:()=>u,unmountComponentAtNode:()=>J,unstable_batchedUpdates:()=>et,useCallback:()=>o.useCallback,useContext:()=>o.useContext,useDebugValue:()=>o.useDebugValue,useDeferredValue:()=>c,useEffect:()=>o.useEffect,useErrorBoundary:()=>o.useErrorBoundary,useId:()=>o.useId,useImperativeHandle:()=>o.useImperativeHandle,useInsertionEffect:()=>d,useLayoutEffect:()=>o.useLayoutEffect,useMemo:()=>o.useMemo,useReducer:()=>o.useReducer,useRef:()=>o.useRef,useState:()=>o.useState,useSyncExternalStore:()=>a,useTransition:()=>h,version:()=>Z});var i=n(2),o=n(3);function r(t,e){for(var n in e)t[n]=e[n];return t}function s(t,e){for(var n in t)if("__source"!==n&&!(n in e))return!0;for(var i in e)if("__source"!==i&&t[i]!==e[i])return!0;return!1}function a(t,e){var n=e(),i=(0,o.useState)({t:{__:n,u:e}}),r=i[0].t,s=i[1];return(0,o.useLayoutEffect)((function(){r.__=n,r.u=e,l(r)&&s({t:r})}),[t,n,e]),(0,o.useEffect)((function(){return l(r)&&s({t:r}),t((function(){l(r)&&s({t:r})}))}),[t]),n}function l(t){try{return!((e=t.__)===(n=t.u())&&(0!==e||1/e==1/n)||e!=e&&n!=n)}catch(t){return!0}var e,n}function u(t){t()}function c(t){return t}function h(){return[!1,u]}var d=o.useLayoutEffect;function p(t,e){this.props=t,this.context=e}function f(t,e){function n(t){var n=this.props.ref;return n!=t.ref&&n&&("function"==typeof n?n(null):n.current=null),e?!e(this.props,t)||n!=t.ref:s(this.props,t)}function o(e){return this.shouldComponentUpdate=n,(0,i.createElement)(t,e)}return o.displayName="Memo("+(t.displayName||t.name)+")",o.__f=o.prototype.isReactComponent=!0,o.type=t,o}(p.prototype=new i.Component).isPureReactComponent=!0,p.prototype.shouldComponentUpdate=function(t,e){return s(this.props,t)||s(this.state,e)};var m=i.options.__b;i.options.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),m&&m(t)};var v="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function _(t){function e(e){var n=r({},e);return delete n.ref,t(n,e.ref||null)}return e.$$typeof=v,e.render=t,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var y=function(t,e){return null==t?null:(0,i.toChildArray)((0,i.toChildArray)(t).map(e))},g={map:y,forEach:y,count:function(t){return t?(0,i.toChildArray)(t).length:0},only:function(t){var e=(0,i.toChildArray)(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:i.toChildArray},b=i.options.__e;i.options.__e=function(t,e,n,i){if(t.then)for(var o,r=e;r=r.__;)if((o=r.__c)&&o.__c)return null==e.__e&&(e.__e=n.__e,e.__k=n.__k),o.__c(t,e);b(t,e,n,i)};var w=i.options.unmount;function A(t,e,n){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),t.__c.__H=null),null!=(t=r({},t)).__c&&(t.__c.__P===n&&(t.__c.__P=e),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return A(t,e,n)}))),t}function k(t,e,n){return t&&n&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return k(t,e,n)})),t.__c&&t.__c.__P===e&&(t.__e&&n.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=n)),t}function S(){this.__u=0,this.o=null,this.__b=null}function C(t){var e=t.__&&t.__.__c;return e&&e.__a&&e.__a(t)}function E(t){var e,n,o,r=null;function s(s){if(e||(e=t()).then((function(t){t&&(r=t.default||t),o=!0}),(function(t){n=t,o=!0})),n)throw n;if(!o)throw e;return r?(0,i.createElement)(r,s):null}return s.displayName="Lazy",s.__f=!0,s}function T(){this.i=null,this.l=null}i.options.unmount=function(t){var e=t.__c;e&&(e.__z=!0),e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),w&&w(t)},(S.prototype=new i.Component).__c=function(t,e){var n=e.__c,i=this;null==i.o&&(i.o=[]),i.o.push(n);var o=C(i.__v),r=!1,s=function(){r||i.__z||(r=!0,n.__R=null,o?o(l):l())};n.__R=s;var a=n.__P;n.__P=null;var l=function(){if(! --i.__u){if(i.state.__a){var t=i.state.__a;i.__v.__k[0]=k(t,t.__c.__P,t.__c.__O)}var e;for(i.setState({__a:i.__b=null});e=i.o.pop();)e.__P=a,e.forceUpdate()}};i.__u++||32&e.__u||i.setState({__a:i.__b=i.__v.__k[0]}),t.then(s,s)},S.prototype.componentWillUnmount=function(){this.o=[]},S.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),o=this.__v.__k[0].__c;this.__v.__k[0]=A(this.__b,n,o.__O=o.__P)}this.__b=null}var r=e.__a&&(0,i.createElement)(i.Fragment,null,t.fallback);return r&&(r.__u&=-33),[(0,i.createElement)(i.Fragment,null,e.__a?null:t.children),r]};var x=function(t,e,n){if(++n[1]===n[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(n=t.i;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;t.i=n=n[2]}};function O(t){return this.getChildContext=function(){return t.context},t.children}function B(t){var e=this,n=t.h;if(e.componentWillUnmount=function(){(0,i.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==n&&e.componentWillUnmount(),!e.v){for(var o=e.__v;null!==o&&!o.__m&&null!==o.__;)o=o.__;e.h=n,e.v={nodeType:1,parentNode:n,childNodes:[],__k:{__m:o.__m},contains:function(){return!0},namespaceURI:n.namespaceURI,insertBefore:function(t,n){this.childNodes.push(t),e.h.insertBefore(t,n)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.h.removeChild(t)}}}(0,i.render)((0,i.createElement)(O,{context:e.context},t.__v),e.v)}function W(t,e){var n=(0,i.createElement)(B,{__v:t,h:e});return n.containerInfo=e,n}(T.prototype=new i.Component).__a=function(t){var e=this,n=C(e.__v),i=e.l.get(t);return i[0]++,function(o){var r=function(){e.props.revealOrder?(i.push(o),x(e,t,i)):o()};n?n(r):r()}},T.prototype.render=function(t){this.i=null,this.l=new Map;var e=(0,i.toChildArray)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var n=e.length;n--;)this.l.set(e[n],this.i=[1,0,this.i]);return t.children},T.prototype.componentDidUpdate=T.prototype.componentDidMount=function(){var t=this;this.l.forEach((function(e,n){x(t,n,e)}))};var P="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,M=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,R=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,H=/[A-Z0-9]/g,I="undefined"!=typeof document,F=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(t)};function N(t,e,n){return null==e.__k&&(e.textContent=""),(0,i.render)(t,e),"function"==typeof n&&n(),t?t.__c:null}function L(t,e,n){return(0,i.hydrate)(t,e),"function"==typeof n&&n(),t?t.__c:null}i.Component.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(i.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]},set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var D=i.options.event;i.options.event=function(t){return D&&(t=D(t)),t.persist=function(){},t.isPropagationStopped=function(){return this.cancelBubble},t.isDefaultPrevented=function(){return this.defaultPrevented},t.nativeEvent=t};var j,U={configurable:!0,get:function(){return this.class}},z=i.options.vnode;i.options.vnode=function(t){"string"==typeof t.type&&function(t){var e=t.props,n=t.type,o={},r=-1==n.indexOf("-");for(var s in e){var a=e[s];if(!("value"===s&&"defaultValue"in e&&null==a||I&&"children"===s&&"noscript"===n||"class"===s||"className"===s)){var l=s.toLowerCase();"defaultValue"===s&&"value"in e&&null==e.value?s="value":"download"===s&&!0===a?a="":"translate"===l&&"no"===a?a=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?s="ondblclick":"onchange"!==l||"input"!==n&&"textarea"!==n||F(e.type)?"onfocus"===l?s="onfocusin":"onblur"===l?s="onfocusout":R.test(s)&&(s=l):l=s="oninput":r&&M.test(s)?s=s.replace(H,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===l&&o[s=l]&&(s="oninputCapture"),o[s]=a}}"select"==n&&(o.multiple&&Array.isArray(o.value)&&(o.value=(0,i.toChildArray)(e.children).forEach((function(t){t.props.selected=-1!=o.value.indexOf(t.props.value)}))),null!=o.defaultValue&&(o.value=(0,i.toChildArray)(e.children).forEach((function(t){t.props.selected=o.multiple?-1!=o.defaultValue.indexOf(t.props.value):o.defaultValue==t.props.value})))),e.class&&!e.className?(o.class=e.class,Object.defineProperty(o,"className",U)):e.className&&(o.class=o.className=e.className),t.props=o}(t),t.$$typeof=P,z&&z(t)};var V=i.options.__r;i.options.__r=function(t){V&&V(t),j=t.__c};var q=i.options.diffed;i.options.diffed=function(t){q&&q(t);var e=t.props,n=t.__e;null!=n&&"textarea"===t.type&&"value"in e&&e.value!==n.value&&(n.value=null==e.value?"":e.value),j=null};var G={ReactCurrentDispatcher:{current:{readContext:function(t){return j.__n[t.__c].props.value},useCallback:o.useCallback,useContext:o.useContext,useDebugValue:o.useDebugValue,useDeferredValue:c,useEffect:o.useEffect,useId:o.useId,useImperativeHandle:o.useImperativeHandle,useInsertionEffect:d,useLayoutEffect:o.useLayoutEffect,useMemo:o.useMemo,useReducer:o.useReducer,useRef:o.useRef,useState:o.useState,useSyncExternalStore:a,useTransition:h}}},Z="18.3.1";function Y(t){return i.createElement.bind(null,t)}function $(t){return!!t&&t.$$typeof===P}function K(t){return $(t)&&t.type===i.Fragment}function Q(t){return!!t&&"string"==typeof t.displayName&&0==t.displayName.indexOf("Memo(")}function X(t){return $(t)?i.cloneElement.apply(null,arguments):t}function J(t){return!!t.__k&&((0,i.render)(null,t),!0)}function tt(t){return t&&(t.base||1===t.nodeType&&t)||null}var et=function(t,e){return t(e)},nt=function(t,e){var n=i.options.debounceRendering;i.options.debounceRendering=function(t){return t()};var o=t(e);return i.options.debounceRendering=n,o},it=$,ot={useState:o.useState,useId:o.useId,useReducer:o.useReducer,useEffect:o.useEffect,useLayoutEffect:o.useLayoutEffect,useInsertionEffect:d,useTransition:h,useDeferredValue:c,useSyncExternalStore:a,startTransition:u,useRef:o.useRef,useImperativeHandle:o.useImperativeHandle,useMemo:o.useMemo,useCallback:o.useCallback,useContext:o.useContext,useDebugValue:o.useDebugValue,version:"18.3.1",Children:g,render:N,hydrate:L,unmountComponentAtNode:J,createPortal:W,createElement:i.createElement,createContext:i.createContext,createFactory:Y,cloneElement:X,createRef:i.createRef,Fragment:i.Fragment,isValidElement:$,isElement:it,isFragment:K,isMemo:Q,findDOMNode:tt,Component:i.Component,PureComponent:p,memo:f,forwardRef:_,flushSync:nt,unstable_batchedUpdates:et,StrictMode:i.Fragment,Suspense:S,SuspenseList:T,lazy:E,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:G}},5(t,e,n){var i;n.d(e,{root:()=>o});try{(i=self).self!==i&&void 0!==i.self&&"undefined"!=typeof window&&(i=window)}catch(t){i="undefined"!=typeof globalThis?globalThis:window}var o=i},7(t,e,n){n.d(e,{isNil:()=>r,isNonEmptyRecord:()=>h,isNonEmptyString:()=>l,isNumber:()=>u});Number.NaN;var i=t=>null===t,o=t=>void 0===t,r=t=>i(t)||o(t),s=t=>!r(t),a=t=>"string"==typeof t,l=t=>a(t)&&!(t=>a(t)&&""===t)(t),u=t=>"number"==typeof t,c=t=>s(t)&&"object"==typeof t&&!(t instanceof Array),h=t=>c(t)&&Object.keys(t).length>0},8(t,e,n){n.d(e,{DEFAULT_PLAYER_COLOR:()=>s,colorContrastRatiosByShape:()=>a,getContrast:()=>u,getVideoPlayerIconColor:()=>h,rgbToHsl:()=>l});var i=n(7),o=n(9),r=n(10);var s="#2949E5",a={nonText:3,largeText:3,paragraphText:4.5,smallText:5.5,backgroundColorWhereNonTextHitAreaContentsHaveProperContrast:2},l=function(t){var e=t;if(t instanceof o.Color){if((0,i.isNil)(t.r)||(0,i.isNil)(t.g)||(0,i.isNil)(t.b))throw new Error("Color does not contain required RGB values");e=[t.r,t.g,t.b]}else if("string"==typeof t){var n=new o.Color(t);if((0,i.isNil)(n.r)||(0,i.isNil)(n.g)||(0,i.isNil)(n.b))throw new Error("Color does not contain required RGB values");e=[n.r,n.g,n.b]}var r=e[0]/255,s=e[1]/255,a=e[2]/255,l=Math.max(r,s,a),u=Math.min(r,s,a),c=0,h=0,d=(l+u)/2;l===u&&(c=0,h=0);var p=l-u;return 0===p?{hue:c,saturation:h,lightness:100*r}:(c=l===r?(s-a)/p+(s<a?6:0):l===s?(a-r)/p+2:(r-s)/p+4,{hue:360*(c/=6),saturation:100*(h=d>.5?p/(2-l-u):p/(l+u)),lightness:100*d})},u=function(t,e){var n=new o.Color(t),i=new o.Color(e),r=n.getRelativeLuminance(),s=i.getRelativeLuminance(),a=r>s?(r+.05)/(s+.05):(s+.05)/(r+.05);return Number.parseFloat(a.toFixed(3))},c=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"paragraphText",s=new o.Color(t),c=new o.Color(e);if((0,i.isNil)(s.r)||(0,i.isNil)(s.g)||(0,i.isNil)(s.b))throw new Error("Color does not contain required RGB values");var h=u(s.toHexWithHash(),c.toHexWithHash());if(s.hasAccessibleContrast(c,n))return s.toHexWithHash();var d=l([s.r,s.g,s.b]).lightness,p=new o.Color(s).lighten(1),f=new o.Color(s).darken(1),m=d<15||p.getContrastRatio(c)>f.getContrastRatio(c);d>75&&1===h&&(m=!1);for(var v=new o.Color(s),_=0;!v.hasAccessibleContrast(c,n);){if((_+=1)>1e3)return(0,r.reportError)("other",new Error("Exceeded ".concat(_," attempts to find contrasting color")),{key:"adjust-color-for-proper-contrast",foregroundColor:s.toHexWithHash(),backgroundColor:c.toHexWithHash()}),v.toHexWithHash();var y=v.getRelativeLuminance();if(_>1&&(1===y||0===y)){if(a[n]>3)return u("#fff",c.toHexWithHash())>u("#000",c.toHexWithHash())?"#fff":"#000";m=!m,v=new o.Color(s)}m?v.lighten(1):v.darken(1)}return v.toHexWithHash()},h=function(t,e,n){var i,r=new o.Color(t),s=new URL(window.location.toString()).searchParams,l=Boolean(null!==(i=s.get("useAccessiblePlayerIconColor"))&&void 0!==i&&i);return n||!l&&!e||new o.Color("#fff").getContrastRatio(r)>=a.paragraphText?"#ffffff":c(t,t,"paragraphText")}},9(t,e,n){n.d(e,{Color:()=>p,addHashToHex:()=>f});var i=n(7),o=n(8);function r(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,s(i.key),i)}}function s(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}var a=/^#?([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*))?\)$/,u=/^\d+(\.\d+)*%$/,c=/([0-9a-f])/gi,h=function(t){return u.test(t)?2.55*parseFloat(t):t},d=function(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t},p=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e instanceof t?(this.r=e.r,this.g=e.g,this.b=e.b,this.a=e.a):e?this.parse(e):(this.r=this.g=this.b=0,this.a=1)}return e=t,(n=[{key:"parse",value:function(t){var e=!1;if(Array.isArray(t)){var n;this.r=t[0],this.g=t[1],this.b=t[2],this.a=null!==(n=t[3])&&void 0!==n?n:1,e=!0}else{var i=String(t).replace(/\s+/g,"");if(a.test(i)){var o=i.replace(/^#/,"");3!==o.length&&4!==o.length||(o=o.replace(c,"$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),8===o.length?this.a=parseInt(o.substr(6,2),16)/255:this.a=1,e=!0}else if(l.test(i)){var r=i.match(l);this.r=parseFloat(h(r[1])),this.g=parseFloat(h(r[2])),this.b=parseFloat(h(r[3])),r[4]?this.a=parseFloat(r[4]):this.a=1,e=!0}}return(!e||isNaN(this.r)||isNaN(this.g)||isNaN(this.b)||isNaN(this.a)||this.r<0||this.g<0||this.b<0||this.a<0)&&(this.r=41,this.g=73,this.b=229,this.a=1,console.error("An invalid color was provided, ".concat(t.toString(),", using default color instead."))),this}},{key:"clone",value:function(){return new t(this)}},{key:"_hslFromRgb",value:function(){var t=(0,o.rgbToHsl)([this.r,this.g,this.b]),e=t.hue,n=t.saturation,i=t.lightness;return this._h=e,this._s=n,this._l=i,this}},{key:"_rgbFromHsl",value:function(){var t=this._h/360,e=this._s/100,n=this._l/100,i=n<.5?n*(1+e):n+e-n*e,o=2*n-i;return this.r=255*d(o,i,t+1/3),this.g=255*d(o,i,t),this.b=255*d(o,i,t-1/3),this}},{key:"blendChannel",value:function(t,e,n,i){return i?(this[t]=Math.sqrt(Math.pow(this[t],2)*(1-n)+Math.pow(e,2)*n),this):(this[t]=n*e+(1-n)*this[t],this)}},{key:"blend",value:function(e,n,i){return e=new t(e),this.blendChannel("r",e.r,n,i),this.blendChannel("g",e.g,n,i),this.blendChannel("b",e.b,n,i),this}},{key:"getContrastRatio",value:function(e){return Number.parseFloat((0,o.getContrast)(this.toHexWithHash(),new t(e).toHexWithHash()).toFixed(3))}},{key:"hasAccessibleContrast",value:function(t,e){return this.getContrastRatio(t)>=o.colorContrastRatiosByShape[e]}},{key:"hue",value:function(){return this._hslFromRgb(),this._h}},{key:"lightenChannel",value:function(t,e){return this[t]+=e,this[t]<0?this[t]=0:this[t]>255&&(this[t]=255),this}},{key:"lighten",value:function(t){return this.looksLikePercent(t)?this.lightness(this.lightness()+parseFloat(t)):(this.lightenChannel("r",t),this.lightenChannel("g",t),this.lightenChannel("b",t)),this}},{key:"darken",value:function(t){return"string"==typeof t?this.lighten("-".concat(t)):this.lighten(-t)}},{key:"looksLikePercent",value:function(t){return/^-?\d+(\.\d+)?%$/.test(t)}},{key:"lightness",value:function(t){return this._hslFromRgb(),null!=t?(this._l=Math.max(0,Math.min(100,t)),this._rgbFromHsl(),this):this._l}},{key:"saturation",value:function(t){return this._hslFromRgb(),null!=t?(this._s=Math.max(0,Math.min(100,t)),this._rgbFromHsl(),this):this._s}},{key:"setHue",value:function(t){if(this._hslFromRgb(),null!=t)return this._h=Math.max(0,Math.min(360,t)),this._rgbFromHsl(),this}},{key:"shade",value:function(t,e){return this.blend("#000000",t,e)}},{key:"grayLevel",value:function(){return(.299*this.r+.587*this.g+.114*this.b)/255}},{key:"tint",value:function(t,e){return this.blend("#ffffff",t,e)}},{key:"whiteLevel",value:function(){return Math.min(Math.min(this.r,this.g),this.b)}},{key:"getRelativeLuminance",value:function(){var t=function(t){var e=.003921569*t;return e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)},e=t(this.r),n=t(this.g),i=t(this.b);return Math.min(.2126*e+.7152*n+.0722*i,1)}},{key:"isDark",value:function(t){return t?this.getRelativeLuminance()<.15:this.grayLevel()<=.4}},{key:"isLight",value:function(t){return t?this.getRelativeLuminance()>=.8:this.grayLevel()>.4}},{key:"isGrayscale",value:function(){return this.r===this.g&&this.g===this.b}},{key:"distanceFrom",value:function(t){return Math.sqrt(Math.pow(this.r-t.r,2)+Math.pow(this.g-t.g,2)+Math.pow(this.b-t.b,2))}},{key:"channelDominance",value:function(){var t=this;return["r","g","b"].sort((function(e,n){return t[n]-t[e]}))}},{key:"alpha",value:function(t){return null!=t?(this.a=t,this):this.a}},{key:"red",value:function(t){return null!=t?(this.r=t,this):this.r}},{key:"green",value:function(t){return null!=t?(this.g=t,this):this.g}},{key:"blue",value:function(t){return null!=t?(this.b=t,this):this.b}},{key:"toHex",value:function(){var t=Math.round(this.r).toString(16),e=Math.round(this.g).toString(16),n=Math.round(this.b).toString(16);return 1===t.length&&(t="0".concat(t)),1===e.length&&(e="0".concat(e)),1===n.length&&(n="0".concat(n)),"".concat(t).concat(e).concat(n)}},{key:"toHexWithAlpha",value:function(){var t=Math.round(255*this.a).toString(16);return 1===t.length&&(t="0".concat(t)),"".concat(t).concat(this.toHex())}},{key:"toHexWithHash",value:function(){return"#".concat(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(this.r/255*100,"%,").concat(this.g/255*100,"%,").concat(this.b/255*100,"%,").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()}}])&&r(e.prototype,n),i&&r(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,i}(),f=function(t){if(!(0,i.isNil)(t)){var e=String(t);return"#"===e.charAt(0)?e:"#".concat(e)}}},10(t,e,n){n.d(e,{reportError:()=>m});var i=n(7),o=n(11),r=n(1),s=n(26),a=n(27),l=n(29);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=!1,p=[],f=function(){if(!0===(0,o.isVisitorTrackingEnabled)()&&!window.Sentry&&!r.Wistia.isSentryInitialized&&!d){d=!0;var t=document.createElement("script");t.src="https://browser.sentry-cdn.com/9.6.1/bundle.min.js",t.crossOrigin="anonymous",t.integrity="sha384-kbRmCeIl7Uxr+vT9YhSAdguCdd4L5QPRj7jzQTanorUVVlw/Y5X9vtzVyOEHLfpH",t.onload=function(){return function(){if(!((0,i.isNil)(window.Sentry)||(0,i.isNil)(window.Sentry.BrowserClient)||(0,i.isNil)(window.Sentry.makeFetchTransport)||(0,i.isNil)(window.Sentry.defaultStackParser)||(0,i.isNil)(window.Sentry.Scope))){var t=new window.Sentry.BrowserClient({dsn:"https://a3591ba5e949a37083cc6f5a4191e903@o4505518331658240.ingest.us.sentry.io/4505794284290048",transport:window.Sentry.makeFetchTransport,stackParser:window.Sentry.defaultStackParser,integrations:[window.Sentry.httpContextIntegration()],release:(0,i.isNonEmptyString)(a.TAGGED_VERSION)?a.TAGGED_VERSION:a.CURRENT_SHA}),e=new window.Sentry.Scope;e.setClient(t),e.setTags({pillar:"publish"}),r.Wistia._sentryScope=e,t.init(),r.Wistia.isSentryInitialized=!0,p.length>0&&(0,l.countMetric)("player/buffered-sentry-errors",p.length),p.forEach((function(t){m(t.product,t.error,c(c({},t.details),{},{isBuffered:"true"}))})),p.length=0,y(),g()}}()},document.head.appendChild(t)}},m=function(t,e,n){try{if(!0!==(0,o.isVisitorTrackingEnabled)())return;if(!r.Wistia.isSentryInitialized)return f(),void(p.length<50&&p.push({details:n,error:e,product:t}));var s="mediaPlayback"===t?.001:1;false;var a=!1,l=(0,i.isNil)(window.crypto)?window.msCrypto:window.crypto;if(void 0!==l)a=l.getRandomValues(new Uint32Array(1))[0]/4294967296<s;else a=Math.random()<s;a?(0,o.isVisitorTrackingEnabled)()&&(r.Wistia._sentryScope.clear(),r.Wistia._sentryScope.setTag("pillar","publish"),r.Wistia._sentryScope.setTag("product",t),(0,i.isNonEmptyRecord)(n)&&r.Wistia._sentryScope.setTags(n),r.Wistia._sentryScope.setTag("url",window.location.href),r.Wistia._sentryScope.captureException(e)):console.error(e)}catch(t){console.error(t)}},v=function(t){var e,n,i=t.error;if(i instanceof Error){var o=null!==(e=null===(n=t.error)||void 0===n?void 0:n.source)&&void 0!==e?e:"",r=(0,s.appHostname)("fast");o.includes(r)&&m("globalListener",i)}},_=function(t){var e,n,i=t.reason;i instanceof Error&&((null!==(e=null===(n=t.reason)||void 0===n?void 0:n.stack)&&void 0!==e?e:"").includes((0,s.appHostname)("fast"))&&m("globalListener",i))},y=function(){r.Wistia._isListeningForGlobalErrors||(window.addEventListener("error",v),r.Wistia._isListeningForGlobalErrors=!0)},g=function(){r.Wistia._isListeningForGlobalUnhandledRejections||(window.addEventListener("unhandledrejection",_),r.Wistia._isListeningForGlobalUnhandledRejections=!0)}},11(t,e,n){n.d(e,{isVisitorTrackingEnabled:()=>h});var i=n(12),o=n(17),r=n(19),s=n(1);function a(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return l(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var u;s.Wistia._visitorTrackingDomain||(s.Wistia._visitorTrackingDomain=location.hostname||""),s.Wistia._visitorTracking||(null!=(u=(0,o.getWistiaLocalStorage)().visitorTrackingEnabled)&&((0,o.updateWistiaLocalStorage)((function(t){return delete t.visitorTrackingEnabled})),s.Wistia._visitorTracking={},s.Wistia._visitorTracking[s.Wistia._visitorTrackingDomain]={isEnabled:u,updatedAt:Date.now()},(0,o.updateWistiaLocalStorage)((function(t){return t.visitorTracking=s.Wistia._visitorTracking}))),s.Wistia._visitorTracking=(0,o.getWistiaLocalStorage)().visitorTracking||{});s.Wistia.consent=function(t){return null==t?h():c(t)};var c=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s.Wistia._visitorTrackingDomain;"default"===t?delete s.Wistia._visitorTracking[e]:s.Wistia._visitorTracking[e]={isEnabled:"true"==="".concat(t),updatedAt:Date.now()},(0,o.updateWistiaLocalStorage)((function(t){return t.visitorTracking=s.Wistia._visitorTracking})),(0,i.globalTrigger)("visitortrackingchange",t),a(document.getElementsByTagName("wistia-player")).forEach((function(e){e.dispatchEvent(new CustomEvent("visitor-tracking-change",{detail:{isTrackingEnabled:t}}))}))},h=function(){if("boolean"==typeof s.Wistia._visitorTracking)return s.Wistia._visitorTracking;if(s.Wistia._visitorTracking){var t=function(){if(s.Wistia._visitorTrackingDomain)for(var t=s.Wistia._visitorTrackingDomain.split(".");t.length>0;){var e=s.Wistia._visitorTracking[t.join(".")],n=e&&e.isEnabled;if(null!=n)return n;t.shift()}}();if(null!=t)return Boolean(t)}var e=(0,r.getAllApiHandles)();if(s.Wistia.channel&&s.Wistia.channel.all)try{e.push.apply(e,a(s.Wistia.channel.all()))}catch(t){}return!e.some((function(t){return!0===(t._mediaData||t._galleryData||{}).privacyMode}))}},12(t,e,n){n.d(e,{globalTrigger:()=>r});var i=n(13),o=n(1);(0,i.makeWbindable)(o.Wistia);o.Wistia.bind.bind(o.Wistia),o.Wistia.on.bind(o.Wistia),o.Wistia.off.bind(o.Wistia),o.Wistia.rebind.bind(o.Wistia);var r=o.Wistia.trigger.bind(o.Wistia);o.Wistia.unbind.bind(o.Wistia)},13(t,e,n){n.d(e,{makeWbindable:()=>s});var i=n(14),o=n(1),r=n(15);o.Wistia.bindable||(o.Wistia.EventShepherdManager||(o.Wistia.EventShepherdManager={}),o.Wistia.bindable={bind:function(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),this;if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),this;var n=this.embedElement||this.container;if(Object.keys(r.convertedEventNames).includes(t)&&n){var s=a(n);return void 0===o.Wistia.EventShepherdManager[s]&&(o.Wistia.EventShepherdManager[s]=new r.EventShepherd),o.Wistia.EventShepherdManager[s].addListener(t,n,e),this}if(e)return i.bind.call(this,t,e),this;o.Wistia.warn&&o.Wistia.warn(this.constructor.name,"bind","falsey value passed in as callback:",e)},unbind:function(t,e){if("crosstime"===t&&this.crossTime)return e?this.crossTime.removeBinding(arguments[1],arguments[2]):this.crossTime.removeAllBindings(),this;if("betweentimes"===t&&this.betweenTimes)return e?this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]):this.betweenTimes.removeAllBindings(),this;var n=this.embedElement||this.container;if(Object.keys(r.convertedEventNames).includes(t)&&n){var s=a(n);return void 0===o.Wistia.EventShepherdManager[s]||o.Wistia.EventShepherdManager[s].removeListener(t,n,e),this}return e?i.unbind.call(this,t,e):this._bindings&&(this._bindings[t]=[]),this._bindings&&this._bindings[t]&&!this._bindings[t].length&&(this._bindings[t]=null,delete this._bindings[t]),this},on:function(t,e){var n=arguments,s=this;if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),function(){s.crossTime.removeBinding(n[1],n[2])};if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),function(){s.betweenTimes.removeBinding(n[1],n[2],n[3])};var l=this.embedElement||this.container;if(Object.keys(r.convertedEventNames).includes(t)&&l){var u=a(l);return void 0===o.Wistia.EventShepherdManager[u]&&(o.Wistia.EventShepherdManager[u]=new r.EventShepherd(l)),o.Wistia.EventShepherdManager[u].addListener(t,l,e),function(){o.Wistia.EventShepherdManager[u].removeListener(t,l,e)}}return i.bind.call(this,t,e)},off:function(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.removeBinding(arguments[1],arguments[2]);if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]);var n=this.embedElement||this.container;if(Object.keys(r.convertedEventNames).includes(t)&&n){var s=a(n);return void 0===o.Wistia.EventShepherdManager[s]?function(){}:o.Wistia.EventShepherdManager[s].removeListener(t,n,e)}return i.unbind.call(this,t,e)},rebind:function(t,e){return this.unbind(t,e),this.bind(t,e),this},trigger:function(t){for(var e,n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return(e=i.trigger).call.apply(e,[this,t].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 s=function(t){for(var e in o.Wistia.bindable){var n=o.Wistia.bindable[e];t[e]||(t[e]=n)}},a=function(t){return null!=t&&t.mediaId?t.mediaId:null!=t&&t.id?t.id:void 0}},14(t,e,n){n.d(e,{bind:()=>u,bindNamed:()=>m,trigger:()=>d,unbind:()=>c,unbindAllInNamespace:()=>_,unbindNamed:()=>v});var i=n(1),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 r(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var a,l=Array.prototype.slice,u=function(t,e){var n=this;return n._bindings||(n._bindings={}),n._bindings[t]||(n._bindings[t]=[]),n._bindings[t].push(e),function(){n.unbind(t,e)}},c=function(t,e){if(!this._bindings)return this;if(!this._bindings[t])return this;for(var n=[],i=0;i<this._bindings[t].length;i++){var o=this._bindings[t][i];o!==e&&n.push(o)}this._bindings[t]=n},h=function(t,e){return this.unbind(t,e),this.bind(t,e),{event:t,fn:e}},d=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];return this._bindings&&null!=this._bindings.all&&p.apply(this,["all",t].concat(n)),p.apply(this,[t].concat(n))},p=function(t){if(!this._bindings)return this;if(!this._bindings[t])return this;for(var e,n=l.call(arguments,1),o=r(this._bindings[t]),s=0;s<o.length;s++){var a=o[s];try{a.apply(this,n)===this.unbind&&(null==e&&(e=[]),e.push({event:t,fn:a}))}catch(t){if(this._throwTriggerErrors)throw t;i.Wistia.error&&i.Wistia.error(t)}}if(e)for(var u=0;u<e.length;u++){var c=e[u];this.unbind(c.event,c.fn)}return this},f=function(t,e){null==t._namedBindings&&(t._namedBindings={}),null==t._namedBindings[e]&&(t._namedBindings[e]={})},m=function(t,e,n,i){return this.unbindNamed(t,e),function(t,e,n,i,o){f(t,e),t._namedBindings[e][n]={event:i,fn:o}}(this,t,e,n,i),this.bind(n,i),function(){this.unbindNamed(t,e)}},v=function(t,e){f(this,t);var n=function(t,e,n){return f(t,e),t._namedBindings[e][n]}(this,t,e);if(n){var i=n.event,o=n.fn;this.unbind(i,o)}var r=this._namedBindings;return delete r[t][e],y(r[t])&&delete r[t],this},_=function(t){var e=this._namedBindings&&this._namedBindings[t];if(null==e)return this;for(var n in e)o(e,n)&&this.unbindNamed(t,n)},y=function(t){for(var e in t)if(o(t,e))return!1;return!0};(a=function(){}.prototype).bind=u,a.unbind=c,a.on=u,a.off=c,a.rebind=h,a.trigger=d,a.bindNamed=m,a.unbindNamed=v,a.unbindAllInNamespace=_},15(t,e,n){function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,o(i.key),i)}}function o(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}n.d(e,{EventShepherd:()=>a,convertedEventNames:()=>r});var r={mutechange:n(16).MUTE_CHANGE_EVENT},s={mutechange:function(t){return t.isMuted}},a=function(){return t=function t(){var e,n,i;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),e=this,i={},(n=o(n="convertedEventsMap"))in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i},(e=[{key:"addListener",value:function(t,e,n){var i,o,a,l=null!==(i=r[t])&&void 0!==i?i:t;null!==(a=(o=this.convertedEventsMap)[l])&&void 0!==a||(o[l]=[]);var u=function(e){if(s[t]){var i=s[t](e.detail);n(i)}else n()};this.convertedEventsMap[l].push({givenCallback:n,eventListenerCallback:u}),e.addEventListener(l,u)}},{key:"removeAllListeners",value:function(t){var e=this;Object.keys(this.convertedEventsMap).forEach((function(n){var i;null===(i=e.convertedEventsMap[n])||void 0===i||i.forEach((function(e){t.removeEventListener(n,e.eventListenerCallback)})),e.convertedEventsMap[n]=[]}))}},{key:"removeListener",value:function(t,e,n){var i,o=this,s=null!==(i=r[t])&&void 0!==i?i:t,a=[];n?(e.removeEventListener(s,n),this.convertedEventsMap[s]&&(this.convertedEventsMap[s].forEach((function(t,i){t.givenCallback===n&&(a.push(i),e.removeEventListener(s,t.eventListenerCallback))})),a.forEach((function(t){o.convertedEventsMap[s]&&o.convertedEventsMap[s].splice(t,1)})))):this.convertedEventsMap[s]=[]}}])&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()},16(t,e,n){n.d(e,{MUTE_CHANGE_EVENT:()=>i});var i="mute-change"},17(t,e,n){n.d(e,{getWistiaLocalStorage:()=>s,updateWistiaLocalStorage:()=>a});var i=n(18),o=n(1),r="wistia",s=function(){return(0,i.getLocalStorage)(r)},a=function(t){return o.Wistia._localStorage=(0,i.updateLocalStorage)(r,t),o.Wistia._localStorage}},18(t,e,n){n.d(e,{getLocalStorage:()=>l,removeLocalStorage:()=>u,setLocalStorage:()=>c,updateLocalStorage:()=>h});var i=n(1),o=function(t){setTimeout((function(){throw t}),0)},r="_namespacedLocalStorage",s=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia-test-localstorage";if("undefined"==typeof localStorage)return!1;if(null!=i.Wistia._localStorageWorks)return i.Wistia._localStorageWorks;try{var e=localStorage.getItem(t);localStorage.removeItem(t),localStorage.setItem(t,e),localStorage.removeItem(t),i.Wistia._localStorageWorks=!0}catch(t){i.Wistia._localStorageWorks=!1}return i.Wistia._localStorageWorks},a=function(){return null==i.Wistia[r]&&(i.Wistia[r]={}),i.Wistia[r]},l=function(t){if(!s())return a()[t]||{};if(localStorage[t])try{return"null"===localStorage[t]?{}:JSON.parse(localStorage[t])}catch(t){o(t)}return{}},u=function(t){if(s())try{localStorage.removeItem(t)}catch(t){o(t)}else a()[t]={}},c=function(t,e){if(!s())return null!=e&&"object"==typeof e&&(a()[t]=e),e;try{a()[t]=e,localStorage[t]=JSON.stringify(e)}catch(t){o(t)}return e},h=function(t,e){var n=l(t);try{e(n)}catch(t){o(t)}return c(t,n)}},19(t,e,n){n.d(e,{getAllApiHandles:()=>o});n(20),n(21);var i=n(22);n(25);var o=function(){return(void 0===(0,i.wData)("video")?[]:Object.values((0,i.wData)("video"))).concat(void 0===(0,i.wData)("iframe_api")?[]:Object.values((0,i.wData)("iframe_api")))}},20(t,e,n){n.d(e,{getAllApiEmbedElements:()=>i});var i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia_embed",e=document.querySelectorAll("div.".concat(t,",span.").concat(t,",iframe.").concat(t));return Array.from(e).map((function(t){var e;return"WISTIA-PLAYER"===(null===(e=t.lastChild)||void 0===e?void 0:e.nodeName)?t.lastChild:t}))}},21(t,e,n){n.d(e,{wlog:()=>v});var i=n(12),o=n(1);function r(t){return function(t){if(Array.isArray(t))return s(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var a={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},l=function(){},u=function(t){var e=this;null==t&&(t={});return e.error=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.log(0,n)},e.warn=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.log(1,n)},e.notice=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.log(1,n)},e.info=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.log(3,n)},e.debug=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return e.log(4,n)},e.ctx=t,e.ctx.initializedAt||e.reset(),e},c=u.prototype;c.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()},c.setLevel=function(t){var e=this.logFunc(3);null!=a[t]?(this.ctx.level=a[t],e('Log level set to "'.concat(t,'" (').concat(a[t],")"))):e('Unknown log level "'.concat(t,'"'))},c.setGrep=function(t){this.ctx.grep=t},c.setGrepv=function(t){this.ctx.grepv=t},c.first1000LogLines=function(){return this.ctx.first1000LogLines},c.last1000LogLines=function(){return this.ctx.last1000LogLines},c.matchedGrep=function(t){var e=!1;if(this.ctx.grep||this.ctx.grepv){for(var n=[],i=0;i<t.length;i++)try{var o=t[i];n.push(o.toString&&o.toString())}catch(t){n.push("")}var r=n.join(" "),s=!this.ctx.grep||r.match(this.ctx.grep),a=!this.ctx.grepv||!r.match(this.ctx.grepv);e=s&&a}else e=!0;return e},c.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},c.messagesToLogLine=function(t,e,n){var i,o=[t,e];o=o.concat(n);try{(i=o.join(" ")||"").length>200&&(i=i.slice(0,200))}catch(t){i="could not serialize"}return i},c.persistLine=function(t){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(t):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(t))},c.log=function(t,e){var n,o=t<=this.ctx.level,s=t<4,a=(o||s)&&this.matchedGrep(e);if(0===t&&(0,i.globalTrigger)("problem",{type:"error-logged",data:{messages:e}}),a&&(o||s)&&(n=this.now()),s&&a){var l=this.messagesToLogLine(t,n,e);this.persistLine(l)}if(o&&a){var u,c=this.logFunc(t);1===e.length&&(u=e[0])instanceof Error?(c(u.message),u.stack&&c(u.stack)):c.apply(void 0,r(e))}};var h=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.error.apply(console,e)},d=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.warn.apply(console,e)},p=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.info.apply(console,e)},f=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];console.debug.apply(console,e)},m=function(t){console.log.apply(console,t)};c.logFunc=function(t){return null==t&&(t=this.level),console?(0===t?e=h:1===t?e=d:3===t?e=p:4===t&&(e=f),e||(e=m),"function"!=typeof e&&(this.noConsoleLog=!0,e=l),e):l;var e},c.maybePrefix=function(t,e){if(t){if("function"==typeof t)try{t=t()}catch(e){t='prefix err "'.concat(e.message,'"')}return t instanceof Array?t.concat(e):[t].concat(e)}return e},c.getPrefixedFunctions=function(t){var e=this;return{log:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.log(0,e.maybePrefix(t,i))},error:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.log(0,e.maybePrefix(t,i))},warn:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.log(1,e.maybePrefix(t,i))},notice:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.log(1,e.maybePrefix(t,i))},info:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.log(3,e.maybePrefix(t,i))},debug:function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return e.log(4,e.maybePrefix(t,i))}}},o.Wistia&&null==o.Wistia.wlogCtx&&(o.Wistia.wlogCtx={});var v=new u(o.Wistia.wlogCtx)},22(t,e,n){n.d(e,{wData:()=>r});var i=n(23),o=n(1),r=function(t,e){return(0,i.isArray)(t)||(t=t.split(".")),null!=e&&(0,i.setDeep)(o.Wistia,["_data"].concat(t),e),(0,i.getDeep)(o.Wistia,["_data"].concat(t))}},23(t,e,n){n.d(e,{cast:()=>m,clone:()=>u,eachLeaf:()=>T,getDeep:()=>c,isArray:()=>g,isEmpty:()=>C,isObject:()=>w,merge:()=>r,setAndPreserveUndefined:()=>d,setDeep:()=>h,unsetDeep:()=>f});n(24);var i=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},o=Array.prototype.slice,r=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++)s(t,e+1<1||arguments.length<=e+1?void 0:arguments[e+1]);return t},s=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:a,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l;if(g(e)){g(t)||(t=[]);for(var r=0;r<e.length;r++){var u=e[r];null==t[r]&&null!=u&&(g(u)?t[r]=[]:w(u)&&(t[r]={}));var c=s(t[r],u,n);o(e,r,c)?delete t[r]:t[r]=c}return n(t)}if(w(e)){for(var h in e)if(i(e,h)&&(i(t,h)||null==t[h])){var d=e[h];g(d)?(g(t[h])||(t[h]=[]),s(t[h],d,n),t[h]=n(t[h])):w(d)?(w(t[h])||(t[h]={}),s(t[h],d,n),t[h]=n(t[h])):null==t?(t={},o(e,h,d)||(t[h]=n(d))):o(e,h,d)?delete t[h]:t[h]=n(d)}return n(t)}return n(e)},a=function(t){return t},l=function(t,e,n){return null==n},u=function(t,e){return g(t)?s([],t,e):s({},t,e)},c=function(t,e,n){e="string"==typeof e?e.split("."):o.call(e);for(var r,s=t;null!=t&&e.length;){var a=e.shift();void 0!==t[a]&&(w(t[a])||g(t[a]))||!n||(0===a?(t=s[r]=[])[a]={}:t[a]={}),s=t,r=a,t=i(t,a)?t[a]:void 0}return t},h=function(t,e,n){return p(t,e,n,!0)},d=function(t,e,n){return p(t,e,n,!1)},p=function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=(e="string"==typeof e?e.split("."):o.call(e)).pop();null!=(t=c(t,e,!0))&&(w(t)||g(t))&&null!=r&&(i&&null==n?delete t[r]:t[r]=n)},f=function(t,e){return h(t,e)},m=function(t){return null==t?t:w(t)||g(t)?_(t):v("".concat(t),t)},v=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t;return/^-?[1-9]\d*?$/.test(t)?parseInt(t,10):"0"===t||"-0"===t?0:/^-?\d*\.\d+$/.test(t)?parseFloat(t):!!/^true$/i.test(t)||!/^false$/i.test(t)&&e},_=function(t){return s(t,t,(function(t){return"string"==typeof t?v(t):t}),(function(){return!1}))},y=/^\s*function Array()/,g=function(t){return null!=t&&t.push&&y.test(t.constructor)},b=/^\s*function Object()/,w=function(t){return null!=t&&"object"==typeof t&&b.test(t.constructor)},A=/^\s*function RegExp()/,k=/^string|number|boolean|function$/i,S=function(t){return null!=t&&(k.test(typeof t)||function(t){return null!=t&&A.test(t.constructor)}(t))},C=function(t){return null==t||(!(!g(t)||t.length)||!!w(t)&&!Object.keys(t).length)},E=function(t,e,n,r,s){if(null==n&&(n=[]),S(t))e(t,n,r,s);else if(w(t)||g(t)){for(var a in e(t,n,r,s),t)if(i(t,a)){var l=o.call(n);l.push(a),E(t[a],e,l,t,a)}}else e(t,n,r,s)},T=function(t,e){E(t,(function(t,n,i,o){g(t)||w(t)||e(t,n,i,o)}))}},24(t,e,n){n.d(e,{assign:()=>o});var i=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)},o=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if(Object.assign)return Object.assign.apply(Object,[t].concat(n));for(var o=0;o<n.length;o++)r(t,n[o]);return t},r=function(t,e){for(var n in e)i(e,n)&&(t[n]=e[n]);return t}},25(t,e,n){n.d(e,{ensureString:()=>i});var i=function(t){return null==t?"":t.toString()}},26(t,e,n){n.d(e,{appHostname:()=>a,getSubdomainSuffixHostname:()=>l});var i=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i,o=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i,r=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wiz\.wistia\.io/i,s=/([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i,a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app",e=l(t);return e||"".concat(t,".").concat("wistia.com")},l=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"app";if("undefined"!=typeof window&&window.location){var e=window.location.hostname,n=i.exec(e);if(n)return"".concat(t,"-cde-").concat(n[2],".").concat(n[3],".wistia.io");var a=o.exec(e);if(a)return"".concat(t,"-cde-").concat(a[2],".").concat(a[3],".claw.wistia.io");var l=r.exec(e);if(l)return"".concat(t,"-cde-").concat(l[2],".").concat(l[3],".wiz.wistia.io");var u=s.exec(e);if(u)return"".concat(t,"-txl-").concat(u[2],".").concat(u[3],".mtl.wistia.io")}return null}},27(t,e,n){n.r(e),n.d(e,{CURRENT_SHA:()=>_,EMBED_HOST:()=>u,PROD_EMBED_HOST:()=>d,PROD_FASTLY_SSL_HOST:()=>f,PROD_FAST_HOSTNAME_COM:()=>h,PROD_FAST_HOSTNAME_NET:()=>c,PROD_SSL_EMBED_HOST:()=>p,SSL_EMBED_HOST:()=>m,TAGGED_VERSION:()=>v,VALID_FASTLY_HOSTS:()=>P,appHost:()=>b,cdnFastProtectedWistiaComHost:()=>k,cdnFastWistiaCanaryHost:()=>C,cdnFastWistiaComHost:()=>A,cdnFastWistiaNetHost:()=>S,deliveryHost:()=>g,eV1Host:()=>T,eV1HostWithPort:()=>x,eV1Protocol:()=>O,eV1Url:()=>E,forceValidFastWistiaHost:()=>R,getDevFastHostname:()=>w,isEmbedOnACustomerPage:()=>H,mediaDataHost:()=>B,metricsHost:()=>W});var i=n(5),o=n(28),r=n(26),s=(0,r.appHostname)("app"),a=(0,r.appHostname)("fast-protected"),l=(0,r.appHostname)("fast"),u="embed.wistia.com",c="fast.wistia.net",h="fast.wistia.com",d="embed.wistia.com",p="embed-ssl.wistia.com",f="embed-fastly.wistia.com",m="embed-ssl.wistia.com",v="",_="0a489d8dd42af931a0bc336fc58bfbfd2d222dd5",y="undefined"!=typeof window&&i.root===window&&i.root.location?i.root.location.protocol:"https:",g=function(){return function(t,e,n){return"https:"===t?e:n}(arguments.length>0&&void 0!==arguments[0]?arguments[0]:y,m,u)},b=function(){return s},w=function(){var t=(0,r.getSubdomainSuffixHostname)("fast");return t||null},A=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;if(t)return t;var e=w();return e||l},k=function(t){return t||a},S=function(){var t=w();if(t)return t;return"fast.".concat("wistia.net")},C=function(){return"fast-canary.wistia.net"},E=function(){for(var t=document.getElementsByTagName("script"),e=0;e<t.length;e++){var n=t[e];if(n.src){var i=new o.Url(n.src),r=/\/assets\/external\/E-v1?\.js$/.test(i.rawPath),s=i.host===A()||i.host===S()||i.host===C(),a="https:"===location.protocol&&"https:"===i.protocol,l=""===i.protocol||null==i.protocol,u=a||l||"http:"===location.protocol,c=!n.readyState||/loaded|complete/.test(n.readyState);if(r&&s&&u&&c)return i}}return new o.Url("".concat((0,o.proto)(),"//").concat(S(),"/E-v1.js"))}(),T=function(){return E.host},x=function(){return E.port?"".concat(T(),":").concat(E.port):T()},O=function(){return E.protocol},B=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.embedHost?R(t.embedHost):x()},W=function(){return"pipedream.".concat("wistia.com")},P=[].concat(["wistia.net","wistia.com"],["wistia.mx","wistia.dev","wistia.tech","wistia.am","wistia.se","wistia.io","wistia.st"]),M=new RegExp("(".concat(P.map((function(t){return"\\.".concat(t.replace(".","\\."))})).join("|"),")$")),R=function(t){return t&&M.test(t)?t:x()},H=function(){return null===window.location.href.match(/^http(s)?:\/\/(\S)*.wistia.(io|test|st|com)/gi)}},28(t,e,n){n.d(e,{Url:()=>c,proto:()=>r});var i=n(23),o=n(21),r=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:location.href;return/^http:\/\//.test(t)?"http:":"https:"},s=function(t){if(null==t)return t;var e;try{e=decodeURIComponent(t)}catch(n){setTimeout((function(){o.wlog.notice(n)}),50),e=t}return e},a=function(t){for(var e=t[0],n=1;n<t.length;n++)e+="[".concat(t[n],"]");return e},l=function(t){return t.match(/([\w\-_]+)/g)},u=["protocol","host","port","params","path"],c=function(t){var 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(var e=0;e<u.length;e++){var n=u[e];null!=t[n]&&(this[n]=t[n])}return this},h.fromRaw=function(t){var e;return this.rawUrl=t,(e=t.match(/^((?:https?:)|(?:file:)|(?:ftp:))?\/\//))&&(this.protocol=e[1]||void 0),(e=t.match(/\/\/([^:?#/]*)/))&&(this.host=e[1]||void 0),(e=t.match(/\/\/.*?(\/[^?#$]+)/)||t.match(/(^\/[^/][^?#$]+)/))&&this.setPath(e[1]),(e=t.match(/:(\d+)/))&&(this.port=parseInt(e[1],10)),(e=t.match(/\?([^#]+)/))&&(this.rawParams=e[1],this.params=function(t){var e={};if(!t)return e;for(var n=t.split("&"),r=function(){var t=n[a].split("="),r=t[0],u=t[1];try{r=l(decodeURIComponent(r))||""}catch(t){setTimeout((function(){o.wlog.notice(t)}),50),r=""}(0,i.cast)(r);var c=(0,i.getDeep)(e,r);if(null!=c)if((0,i.isArray)(c))c.push(s(u));else{var h=[c];h.push(s(u)),(0,i.setAndPreserveUndefined)(e,r,h)}else(0,i.setAndPreserveUndefined)(e,r,s(u))},a=0;a<n.length;a++)r();return e}(this.rawParams)),(e=t.match(/#(.*)$/))&&(this.anchor=e[1]),this},h.clone=function(){return new c({protocol:this.protocol,host:this.host,port:this.port,path:(0,i.clone)(this.path),params:(0,i.clone)(this.params),anchor:this.anchor})},h.ext=function(t){if(null!=t){var e=this.ext(),n=this.path.length-1,i=new RegExp("\\.".concat(e),"g");return e&&(this.path[n]="".concat(this.path[n].replace(i,""))),this.path[n]="".concat(this.path[n],".").concat(t)}var o=this.path[this.path.length-1].match(/\.(.*)$/);return null!=o&&o[1]||null},h.isRelative=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location,e=this.protocol,n=this.host;return!(null!=e&&""!==e&&e!==t.protocol||n&&n!==t.hostname)},h.toString=function(){return this.isRelative()?this.relative():this.absolute()},h.absolute=function(){var t="";null!=this.protocol&&(t=this.protocol);var e="";return null!=this.port&&(e=":".concat(this.port)),"".concat(t,"//").concat(this.host||location.host).concat(e).concat(this.relative())},h.relative=function(){var t,e="";this.path.length>0&&("string"==typeof(t=this.path)&&(t=t.split("/")),e=null==t?"":"/".concat(t.join("/")),this._hasTrailingSlash&&(e+="/"));var n,o,r="?".concat((n=this.params,o=[],(0,i.eachLeaf)(n,(function(t,e){null!=t?o.push("".concat(encodeURIComponent(a(e)),"=").concat(encodeURIComponent(t))):o.push(encodeURIComponent(a(e)))})),o.join("&")));return 1===r.length&&(r=""),"".concat(e).concat(r).concat(this.relativeAnchor())},h.authority=function(){var t=null!=this.port?":".concat(this.port):"";return"".concat(this.host).concat(t)},h.relativeProtocol=function(){var t="";return null!=this.port&&(t=":".concat(this.port)),"//".concat(this.host).concat(t).concat(this.relative())},h.relativeAnchor=function(){var t="";return null!=this.anchor&&(t="#".concat(this.anchor)),"".concat(t)},h.setPath=function(t){this.rawPath=t,this._hasTrailingSlash=/\/$/.test(this.rawPath),this.path=function(t){var e=[];if(null==t)return e;for(var n=t.split(/\/+/),i=0;i<n.length;i++){var o=n[i];null!=o&&""!==o&&e.push(o)}return e}(this.rawPath)},c.create=function(t){return new c(t)};c.create;c.parse=function(t){return new c(t)};c.parse},29(t,e,n){n.d(e,{countMetric:()=>u});var i=n(24),o=n(30),r=n(11),s=n(27),a=n(1);null==a.Wistia._simpleMetricsCache&&(a.Wistia._simpleMetricsCache={}),null==a.Wistia._simpleMetricsDebounceInterval&&(a.Wistia._simpleMetricsDebounceInterval=500);var l=a.Wistia._simpleMetricsCache,u=function(t){return h("count",t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,arguments.length>2&&void 0!==arguments[2]?arguments[2]:{})},c=function(){if((0,r.isVisitorTrackingEnabled)()){for(var t="https://".concat((0,s.metricsHost)(),"/mput?topic=metrics"),e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return fetch(t,{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:n.join("\n")}).then((function(t){t.ok||console.error(t)})).catch((function(t){console.error(t)}))}},h=function(t,e,n){var s,u=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if((0,r.isVisitorTrackingEnabled)())try{null==l.toMput&&(l.toMput=[]);var h=(0,i.assign)({type:t,key:e,value:null!=n?n:null},u),d=JSON.stringify(h,(s=new WeakSet,function(t,e){if("object"==typeof e&&null!==e){if(s.has(e))return"[Circular]";s.add(e)}return e}));l.toMput.push(d),clearTimeout(a.Wistia._msendTimeout),a.Wistia._msendTimeout=setTimeout((function(){(0,o.pageLoaded)((function(){c.apply(undefined,l.toMput),l.toMput=[]}))}),a.Wistia._simpleMetricsDebounceInterval)}catch(t){console.error(t.message),console.error(t.stack)}}},30(t,e,n){n.d(e,{pageLoaded:()=>i});var i=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,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:window;if(/loaded|complete/.test(n.readyState))setTimeout(t,0);else{var o=function(){i.removeEventListener("load",r,!1)},r=function(){clearTimeout(s),o(),t()};i.addEventListener("load",r,!1);var s=setTimeout((function(){o(),t()}),e)}}},32(t,e,n){n.d(e,{isGradient:()=>i});var i=function(t){if("object"!=typeof t||null===t)return!1;var e=t,n=e.colors,i=e.on;return!i||!(!Array.isArray(n)||"boolean"!=typeof i)&&(0!==n.length&&n.every((function(t){return"string"==typeof t[0]&&"number"==typeof t[1]})))}},47(t,e,n){n.d(e,{flexibleDuration:()=>r});n(48),n(7);var i=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n="".concat(t);n.length<e;)n="0".concat(n);return n},o=function(t,e){var n=0,i=0,o=0,r=t,s=e.includes("h"),a=e.includes("m");return s&&r>0&&(n+=Math.floor(r/3600),r%=3600),a&&r>0&&(i+=Math.floor(r/60),r%=60),o=Math.round(r),s&&60===i&&(n+=1,i=0),a&&60===o&&(i+=1,o=0),{hours:n,minutes:i,seconds:o}},r=function(t){var e=o(t,"hms"),n=e.hours,r=e.minutes,s=e.seconds;return 0===n?"".concat(r,":").concat(i(s,2)):"".concat(n,":").concat(i(r,2),":").concat(i(s,2))}},48(t,e){e.toSeconds=e.end=e.parse=e.pattern=void 0;var n="\\d+",i="".concat(n,"(?:[\\.,]").concat(n,")?"),o="(".concat(n,"Y)?(").concat(n,"M)?(").concat(n,"W)?(").concat(n,"D)?"),r="T(".concat(i,"H)?(").concat(i,"M)?(").concat(i,"S)?"),s="P(?:".concat(o,"(?:").concat(r,")?)"),a=["years","months","weeks","days","hours","minutes","seconds"],l=Object.freeze({years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0});e.pattern=new RegExp(s);e.parse=function(t){var n=t.replace(/,/g,".").match(e.pattern);if(!n)throw new RangeError("invalid duration: ".concat(t));var i=n.slice(1);if(0===i.filter((function(t){return null!=t})).length)throw new RangeError("invalid duration: ".concat(t));if(i.filter((function(t){return/\./.test(t||"")})).length>1)throw new RangeError("only the smallest unit can be fractional");return i.reduce((function(t,e,n){return t[a[n]]=parseFloat(e||"0")||0,t}),{})};e.end=function(t,e){void 0===e&&(e=new Date);var n=Object.assign({},l,t),i=e.getTime(),o=new Date(i);o.setFullYear(o.getFullYear()+n.years),o.setMonth(o.getMonth()+n.months),o.setDate(o.getDate()+n.days);var r=3600*n.hours*1e3,s=60*n.minutes*1e3;return o.setMilliseconds(o.getMilliseconds()+1e3*n.seconds+r+s),o.setDate(o.getDate()+7*n.weeks),o};e.toSeconds=function(t,n){void 0===n&&(n=new Date);var i=Object.assign({},l,t),o=n.getTime(),r=new Date(o),s=(0,e.end)(i,r),a=60*(n.getTimezoneOffset()-s.getTimezoneOffset());return(s.getTime()-r.getTime())/1e3+a},e.end,e.toSeconds,e.pattern,e.parse},56(t,e,n){n.d(e,{getCssGradient:()=>r});n(7),n(32);var i=n(8),o=n(9);n(23);i.DEFAULT_PLAYER_COLOR;var r=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.9;return 0===t.colors.length?null:t.colors.every((function(t){return Boolean(t[0]&&t[1]>=0&&t[1]<=1)}))?"linear-gradient(90deg, ".concat(t.colors.map((function(t){return"".concat(function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.9;return new o.Color(t).alpha(e).toRgba()}(t[0],e)," ").concat(100*t[1],"%")})).join(", "),")"):null}},63(t,e,n){n.r(e),n.d(e,{addInlineCss:()=>g,currentEventSource:()=>mt,docScrollLeft:()=>dt,docScrollTop:()=>ht,elemAddClass:()=>O,elemAfter:()=>E,elemAncestorHasClass:()=>Y,elemAncestorWithClass:()=>Z,elemAncestors:()=>$,elemAnimate:()=>Q,elemAppend:()=>k,elemBefore:()=>C,elemBind:()=>X,elemBindKey:()=>nt,elemBindOnce:()=>ot,elemCancelFullscreen:()=>lt,elemClasses:()=>M,elemClone:()=>A,elemContainsOffset:()=>U,elemFromObject:()=>b,elemHasClass:()=>B,elemHeight:()=>j,elemHtml:()=>m,elemInDom:()=>q,elemIsDescendantOf:()=>G,elemIsHidden:()=>V,elemIsInside:()=>K,elemMutationObserver:()=>ct,elemOffset:()=>u.elemOffset,elemPrepend:()=>S,elemRebind:()=>it,elemRemove:()=>T,elemRemoveClass:()=>x,elemRequestFullscreen:()=>at,elemScrollOffset:()=>z,elemStripEventAttributes:()=>ut,elemStyle:()=>H,elemToObject:()=>w,elemTrigger:()=>rt,elemUnbind:()=>J,elemUnbindAll:()=>tt,elemUnbindAllInside:()=>et,elemWidth:()=>D,elemZoom:()=>u.elemZoom,execCssTags:()=>_,execScriptTags:()=>c.execScriptTags,formInputIsFocused:()=>ft,fullscreenElement:()=>st,getComputedStyle:()=>L,getCssTags:()=>v,getLastActiveEventAt:()=>_t,getScriptTags:()=>c.getScriptTags,inUserEventContext:()=>vt,isBoxModel:()=>u.isBoxModel,isDocReady:()=>r.isDocReady,onDocReady:()=>r.onDocReady,pageLoaded:()=>s.pageLoaded,propsWithVendorPrefixes:()=>N,removeCssTags:()=>y,removeScriptTags:()=>c.removeScriptTags,safeRequestAnimationFrame:()=>pt});var i,o=n(23),r=n(64),s=n(30),a=n(66),l=n(21),u=n(68),c=n(69),h=n(72),d=n(1),p=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=(d.Wistia,(0,a.cachedDetect)()),m=function(t,e){var n=v(e),i=(0,c.getScriptTags)(e);return e=y(e),e=(0,c.removeScriptTags)(e),t.innerHTML=e,_(n,t),(0,c.execScriptTags)(i)},v=function(t){return t.match(/<link.*?rel=['"]stylesheet['"][^>]*>|<style>[\s\S]+?<\/style>/gi)||[]},_=function(t,e){if(!t)return null;(0,o.isArray)(t)||(t=v(t));for(var n=[],i=0;i<t.length;i++){var r=t[i];if(/<link.*?rel=['"]stylesheet['"][^>]*>/.test(r)){var s=r.match(/href=['"](.*?)['"]/i);if(s){var a=document.createElement("link");a.setAttribute("rel","stylesheet"),a.setAttribute("href",s[1]),a.className="wistia_injected_style",(e||document.body||document.head).appendChild(a),n.push(a)}}else if(/<style>[\s\S]+?<\/style>/gi.test(r)){var l=r.match(/<style>([\s\S]+?)<\/style>/i);if(l){var u=g(e||document.body||document.head,l[1]);n.push(u)}}}return n},y=function(t){return t.replace(/<link.*?rel=['"]stylesheet['"][^>]*>|<style>[\s\S]+?<\/style>/gi,"")},g=function(t,e){var n=t||document.body||document.head,i=document.createElement("style");return i.id=(0,h.seqId)("wistia_","_style"),i.setAttribute("type","text/css"),i.className="wistia_injected_style",n.appendChild(i,n.nextSibling),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(document.createTextNode(e)),i},b=function(t){if((0,o.isArray)(t)){for(var e=[],n=0;n<t.length;n++)e.push(b(t[n]));return e}var i=t.tagName||"div",r=t.childNodes||[];(0,o.isArray)(r)||(r=[r]);var s=document.createElement(i);for(var a in t)if(p(t,a)){var l=t[a];if("childNodes"!==a&&"tagName"!==a&&"ref"!==a){var u=a.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();if("style"===a)if((0,o.isObject)(l))for(var c in l)s.style[c]=l[c];else for(var h=l.split(";"),d=0;d<h.length;d++){var f=h[d].split(/\s*:\s*/),m=f[0],v=f[1];m&&v&&(s.style[m]=v)}else if("events"===a)for(var _ in l){var y=l[_];X(s,_,y)}else"className"===a||"class"===a?s.className=l:"innerHTML"===a?s.innerHTML=l:"innerText"===a?s.innerText=l:null!=l&&"function"==typeof l.toString&&s.setAttribute(u,l.toString())}}for(var g=0;g<r.length;g++){var w=r[g];if((0,o.isObject)(w)){var A=b(w);k(s,A)}else{var S=document.createTextNode(w.toString());k(s,S)}}return"function"==typeof t.ref&&t.ref(s),s},w=function(t){if((0,o.isArray)(t))for(var e=[],n=0;n<t.length;n++)e.push(w(t[n]));var i={};i.tagName=t.tagName.toLowerCase();for(var r=Object.keys(t),s=0;s<r.length;s++){var a=r[s];if("tagName"!==a&&"childNodes"!==a&&"nodeType"!==a&&"nodeValue"!==a)if("style"===a){i.style={};for(var l=Object.keys(t.style),u=0;u<l.length;u++){var c=l[u],h=t.style[c];h&&!/^\d/.test(c)&&"length"!==c&&(i.style[c]=h)}}else{var d=t.getAttribute(a);null!=d&&(i[a]=d)}}for(var p=[],f=0;f<t.childNodes.length;f++){var m=t.childNodes[f];1===m.nodeType?p.push(w(m)):3===m.nodeType&&p.push(m.nodeValue)}return p.length>0&&(i.childNodes=p),i},A=function(t){var e=w(t);return b(e)},k=function(t,e){if((0,o.isArray)(e))for(var n=0;n<e.length;n++)k(t,e[n]);else t.tagName.includes("-")?t.shadowRoot.appendChild(e,{wistiaGridCaller:!0}):t.appendChild(e,{wistiaGridCaller:!0})},S=function(t,e){if(!(0,o.isArray)(e))return 0===t.childNodes.length?k(t,e):t.insertBefore(e,t.childNodes[0]);for(var n=0;n<e.length;n++)S(t,e[n])},C=function(t,e){if(!(0,o.isArray)(e))return t.parentNode.insertBefore(e,t);e=e.reverse();for(var n=0;n<e.length;n++)C(t,e[n])},E=function(t,e){if(!(0,o.isArray)(e))return t.parentNode.insertBefore(e,t.nextSibling);e=e.reverse();for(var n=0;n<e.length;n++)E(t,e[n])},T=function(t){var e;if((0,o.isArray)(t)||window.NodeList&&t instanceof NodeList)for(var n=0;n<t.length;n++)T(t[n]);else null==t||1!==t.nodeType&&3!==t.nodeType||!(e=t.parentNode)||(e.removeChild(t),t=null)},x=function(t,e){if((0,o.isArray)(t)||window.NodeList&&t instanceof NodeList)for(var n=0;n<t.length;n++)x(t[n],e);else if(B(t,e)){var i=t.getAttribute("class");if(i){var r=new RegExp("\\b".concat(e,"\\b"),"g"),s=R(i.replace(r,""));t.setAttribute("class",s)}}},O=function(t,e){if((0,o.isArray)(t)||window.NodeList&&t instanceof NodeList)for(var n=0;n<t.length;n++)O(t[n],e);else if(!B(t,e)){var i,r=t.getAttribute("class");r?(x(t,e),i=R("".concat(r," ").concat(e))):i=e,t.setAttribute("class",i)}},B=function(t,e){var n=null!=t&&"function"==typeof t.getAttribute&&t.getAttribute("class");if(!n&&t&&"string"==typeof t.className&&(n=t.className),!n)return!1;var i=!1;return P(n,e,(function(t){var o=0===t||" "===n.charAt(t-1),r=t+e.length===n.length,s=" "===n.charAt(t+e.length);if(o&&(r||s))return i=!0,W})),i},W={},P=function(t,e,n){for(var i=-1;-1!=(i=t.indexOf(e,i+1))&&n(i)!==W;);},M=function(t){return t&&"string"!=typeof t.className?[""]:(t&&t.className||"").split(/\s+/)},R=function(t){return t.replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g," ")},H=function(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];if((0,o.isArray)(t)||window.NodeList&&t instanceof NodeList){for(var r=[],s=0;s<t.length;s++){var a=t[s];1===a.nodeType&&r.push(H.apply(void 0,[a].concat(n)))}return r}if(2===n.length){var u=n[0],c=n[1];t.style[u]=c}else if(1===n.length)if("string"==typeof n[0]){var h=n[0];try{return t.currentStyle?t.currentStyle[h]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(h):null}catch(t){l.wlog.notice(t)}}else{var d=N(n[0]);for(var p in d){var f=d[p];t.style[p]=f}}else l.wlog.apply(void 0,["Unexpected args",t].concat(n))},I={borderImage:!0,mixBlendMode:!0,transform:!0,transition:!0,transitionDuration:!0},F=["webkit","moz","o","ms"],N=function(t){if(f.chrome)return t;var e={};for(var n in t){var i=t[n];if(e[n]=i,I[n])for(var o=F,r=0;r<o.length;r++){var s=o[r]+n.charAt(0).toUpperCase()+n.slice(1);n[s]||(e[s]=i)}}return e},L=function(t,e){if(!window.getComputedStyle)return null;var n=window.getComputedStyle(t,null);return null==n?null:null!=e?n[e]:n},D=function(t){if(t===window)return window.innerWidth?window.innerWidth:document.documentElement?document.documentElement.offsetWidth:document.body.offsetWidth;if(t===document){var e=document.body,n=document.documentElement;return Math.max(e.scrollWidth,e.offsetWidth,n.clientWidth,n.scrollWidth,n.offsetWidth)}var i;return(i=L(t,"width"))&&null!=i?parseFloat(i):t.currentStyle?t.offsetWidth:-1},j=function(t){if(t===window)return window.innerHeight?window.innerHeight:document.documentElement?document.documentElement.offsetHeight:document.body.offsetHeight;if(t===document){var e=document.body,n=document.documentElement;return Math.max(e.scrollHeight,e.offsetHeight,n.clientHeight,n.scrollHeight,n.offsetHeight)}var i;return(i=L(t,"height"))&&null!=i?parseFloat(i):t.currentStyle?t.offsetHeight:-1},U=function(t,e,n){var i=(0,u.elemOffset)(t);return i.right=i.left+D(t),i.bottom=i.top+j(t),i.left<=e&&e<i.right&&i.top<=n&&n<i.bottom},z=function(t){var e=0,n=0;if(t.parentNode)for(;t&&t.offsetParent;)n+=t.scrollTop,e+=t.scrollLeft,t=t.parentNode;return{left:e,top:n}},V=function(t){for(;t&&1===t.nodeType;){if("none"===H(t,"display"))return!0;t=t.parentNode}return!1},q=function(t){for(;t;){if(t===document)return!0;var e=t.parentNode;if(null!=e)t=e;else{if("function"!=typeof t.getRootNode)return!1;var n;t=null===(n=t.getRootNode())||void 0===n?void 0:n.host}}return!1},G=function(t,e){for(var n=$(t),i=0;i<n.length;i++)if(n[i]===e)return!0;return!1},Z=function(t,e){for(var n=$(t),i=0;i<n.length;i++)if(B(n[i],e))return n[i];return null},Y=function(t,e){return!!Z(t,e)},$=function(t){for(var e=t,n=[];e=e.parentNode;)n.push(e);return n},K=function(t,e){return t===e||G(t,e)},Q=function(t){var e=arguments.length>1&&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 i=function(t,e,n){var i=[];for(var o in t)i.push("".concat(o," ").concat(e,"ms ").concat(n));return i.join(",")}(e,n.time,n.easing);H(t,{transition:i}),pt((function(){H(t,e),setTimeout((function(){H(t,{transition:""}),"function"==typeof n.callback&&n.callback()}),n.time)}))},X=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=function(i){(i=i||window.event).pageX||i.pageY||!i.clientX&&!i.clientY||(i.pageX=i.clientX+dt(),i.pageY=i.clientY+ht()),i.preventDefault||(i.preventDefault=function(){i.returnValue=!1}),i.stopPropagation||(i.stopPropagation=function(){i.cancelBubble=!0}),null==i.which&&(i.which=null!=i.charCode?i.charCode:i.keyCode),null==i.which&&null!=i.button&&(1&i.button?i.which=1:2&i.button?i.which=3:4&i.button?i.which=2:i.which=0),i.target||i.srcElement&&(i.target=i.srcElement),i.target&&3===i.target.nodeType&&(i.target=i.target.parentNode);for(var o=arguments.length,r=new Array(o>1?o-1:0),s=1;s<o;s++)r[s-1]=arguments[s];var a=n.apply(i.target,[i].concat(r));return a===J&&J(t,e,n),a};d.Wistia._elemBind=d.Wistia._elemBind||{};var r=nt(t,e,n);return d.Wistia._elemBind[r]=o,o.elem=t,o.event=e,t.addEventListener(e,o,i),function(){J(t,e,n,i)}},J=function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!=t&&null!=t._wistiaElemId&&null!=n&&n._wistiaBindId){var o=nt(t,e,n),r=d.Wistia._elemBind[o];return r&&(t.removeEventListener(e,r,i),r.elem=null,r.event=null),delete d.Wistia._elemBind[o]}},tt=function(t){for(var e in d.Wistia._elemBind){var n=d.Wistia._elemBind[e];if(n&&t===n.elem){var i=n.event;n.elem.removeEventListener(i,n,!1),n.elem=null,n.event=null,delete d.Wistia._elemBind[e]}}},et=function(t){var e=0;for(var n in d.Wistia._elemBind){var i=d.Wistia._elemBind[n];if(i&&K(i.elem,t)){var o=i.event;i.elem.removeEventListener(o,i,!1),i.elem=null,i.event=null,delete d.Wistia._elemBind[n],e+=1}}return e},nt=function(t,e,n){return t._wistiaElemId=t._wistiaElemId||(0,h.seqId)("wistia_elem_"),n._wistiaBindId=n._wistiaBindId||(0,h.seqId)("wistia_bind_"),"".concat(t._wistiaElemId,".").concat(e,".").concat(n._wistiaBindId)},it=function(t,e,n){if(n)return J(t,e,n),X(t,e,n)},ot=function(t,e,n){return X(t,e,(function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return n.apply(this,e),J}))},rt=function(t,e){for(var n=arguments.length,i=new Array(n>2?n-2:0),o=2;o<n;o++)i[o-2]=arguments[o];if(t.dispatchEvent){var r=document.createEvent("Events");return r.initEvent(e,!0,!1),"click"===e||"doubleclick"===e?r.which=1:"rightclick"===e&&(r.which=2),r.customArguments=i,t.dispatchEvent(r)}if(t.fireEvent){var s={customArguments:i};return t.fireEvent("on".concat(e),s)}l.wlog.error("neither dispatchEvent nor fireEvent is defined for",t,e)},st=function(){return document.fullscreenElement||document.webkitFullscreenElement},at=function(t){try{if(t.requestFullscreen&&document.fullscreenEnabled)return t.requestFullscreen().catch((function(t){return l.wlog.notice("requestFullscreen failed",t),Promise.reject(t)}));if(t.webkitEnterFullscreen){if(void 0!==t.readyState&&t.readyState<HTMLMediaElement.HAVE_METADATA){var e="webkitEnterFullscreen requires at least HAVE_METADATA readyState";return l.wlog.notice(e),Promise.reject(new Error(e))}return t.webkitEnterFullscreen(),Promise.resolve()}}catch(t){return l.wlog.notice("requestFullscreen failed",t),Promise.reject(t)}return l.wlog.notice("no requestFullscreen functionality detected"),Promise.resolve()},lt=function(t){return document.exitFullscreen?document.exitFullscreen():t&&t.webkitExitFullscreen?new Promise((function(e){t.webkitExitFullscreen(),e()})):(l.wlog.notice("no cancelFullscreen functionality detected"),Promise.resolve())},ut=function(t){var e=t&&t.attributes||[];try{for(var n=0;n<e.length;n++){var i=e[n];/^on.+/i.test(i.name)&&(t[i.name]=null,t.removeAttribute(i.name))}}catch(t){l.wlog.error(t)}if(t.childNodes)for(var o=0;o<t.childNodes.length;o++){var r=t.childNodes[o];1===r.nodeType&&ut(r)}},ct=function(t){var e=f.mutationObserver;return e?new window[e](t):null},ht=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)},dt=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)},pt=function(t){return(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,1e3/60)})(t)},ft=function(){var t=document.activeElement;return"WISTIA-PLAYER"===document.activeElement.tagName&&(t=document.activeElement.shadowRoot.activeElement),"WISTIA-FORM-EMBED"===t.tagName&&(t=t.shadowRoot.activeElement),/^textarea|input|select$/i.test(t.tagName)||t.isContentEditable},mt=function(){return vt()?"user-event":"non-user-event"},vt=function(){return!!i},_t=function(){return yt},yt=-1;["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((function(t){X(document,t,(function(t){i=t,yt=Date.now(),setTimeout((function(){i===t&&(i=void 0)}),0)}),!f.passiveSupported||{capture:!0,passive:!0})}))},64(t,e,n){n.d(e,{isDocReady:()=>o,onDocReady:()=>r});var i=n(65),o=function(){return/loaded|complete/.test(document.readyState)},r=function(){var t,e;if(arguments.length>1?(t=arguments[0],e=arguments[1]):(t=1e4,e=arguments[0]),o())e();else if(top===self&&document.documentElement.doScroll){(0,i.poll)((function(){try{return document.documentElement.doScroll("left"),!0}catch(t){return!1}}),e,50,t,e)}else{var n=function(){o()&&(clearTimeout(s),r(),e())},r=function(){document.removeEventListener("DOMContentLoaded",n,!1),document.removeEventListener("readystatechange",n,!1),window.removeEventListener("load",n,!1)},s=setTimeout((function(){r(),e()}),t);document.addEventListener("DOMContentLoaded",n,!1),document.addEventListener("readystatechange",n,!1),window.addEventListener("load",n,!1)}}},65(t,e,n){n.d(e,{poll:()=>i});var i=function(t,e,n,i,o){var r=null,s=(new Date).getTime(),a=function(){(new Date).getTime()-s>i?"function"==typeof o&&o():t()?e():(clearTimeout(r),r=setTimeout(a,n))};r=setTimeout(a,1)}},66(t,e,n){n.d(e,{cachedDetect:()=>L});var i,o=n(5),r=n(67),s=navigator.userAgent,a=null,l=/(webkit)[ /]([^\s]+)/i,u=/OPR\/([^\s]+)/i,c=/(edge)\/(\d+(?:\.\d+)?)/i,h=/(mozilla)(?:.*? rv:([^\s)]+))?/i,d=/(android) ([^;]+)/i,p=/(iphone)/i,f=/(Windows Phone OS (\d+(?:\.\d+)?))/,m=/OS (\d+)_(\d+)/i,v=/(firefox)/i,_=/Mobile VR/i,y=/Version\/([^\s]+)/i,g=function(){return(w()[1]||"webkit").toLowerCase()},b=function(){return w()[2]},w=function(){var t;return(t=s.match(c))||(t=s.match(l))||(t=s.match(u))?t:t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=s.match(h))||[]},A=function(){var t=s.match(d);return null!=t&&{version:t[2]}},k=function(){return p.test(s)},S=function(){return B()>0||A()||E()},C=function(){try{var t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!S()},E=function(){return/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1},T=function(){return l.test(s)&&!/chrome/i.test(s)&&!E()&&!k()},x=function(){return!(!/Chrome/.test(s)||!/Google Inc/.test(navigator.vendor))&&{version:O()}},O=function(){var t=s.match(/\bChrome\/([^\s]+)/);return t&&t[1]},B=function(){var t=s.match(m),e=s.match(y);return null!=t?parseFloat("".concat(t[1],".").concat(t[2])):null!=e&&e[1]&&E()?parseFloat(e[1]):0},W=function(){return c.test(s)},P=function(){return v.test(s)},M=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},R=function(){try{return"localStorage"in o.root&&null!=o.root.localStorage}catch(t){return!1}},H=["WebKit","Moz","O","Ms",""],I=function(){for(var t=0;t<H.length;t++){var e="".concat(H[t],"MutationObserver");if(o.root[e])return e}return null},F=function(){if(null!=i)return i;try{var t=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("test",null,t)}catch(t){i=!1}return i},N=function(){var t=x(),e=P(),n=W(),i=u.test(s),o=t&&b()>=32,r=t&&b()>=75&&A(),a=e&&b()>=65,l=e&&b()>=67&&A(),c=n&&b()>=18,h=i&&b()>=19;return o||r||a||l||c||h},L=function(){return a||(a=D())},D=function(){var t,e,n,i,a,l,u,c,h,d,p,m,v,y={browser:{version:b()},edge:W(),firefox:P(),gearvr:_.test(s),hdr:!(null===(m=(v=window).matchMedia)||void 0===m||!m.call(v,"(dynamic-range: high)").matches)||!!(screen.colorDepth&&screen.colorDepth>=30),hdrCodecs:{hevc:null!==(n=null===(i=window.MediaSource)||void 0===i||null===(a=i.isTypeSupported)||void 0===a?void 0:a.call(i,'video/mp4; codecs="hvc1.2.4.L153.B0"'))&&void 0!==n&&n,av1:null!==(l=null===(u=window.MediaSource)||void 0===u||null===(c=u.isTypeSupported)||void 0===c?void 0:c.call(u,'video/mp4; codecs="av01.0.08M.10.0.110.09.16.09"'))&&void 0!==l&&l,vp92:null!==(h=null===(d=window.MediaSource)||void 0===d||null===(p=d.isTypeSupported)||void 0===p?void 0:p.call(d,'video/mp4; codecs="vp09.02.10.10.01.09.16.09"'))&&void 0!==h&&h},android:A(),oldandroid:A()&&parseFloat(A().version)<4.1,iphone:k(),ipad:E(),safari:T(),chrome:x(),winphone:{version:f.test(s)[2]},ios:{version:B()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=o.root.devicePixelRatio&&o.root.devicePixelRatio>1,hoverIsNatural:C(),touchScreen:S(),video:M(),managedMediaSource:"ManagedMediaSource"in window&&"function"==typeof(null===(e=window.ManagedMediaSource)||void 0===e?void 0:e.isTypeSupported),mediaSource:o.root.MediaSource&&o.root.MediaSource.isTypeSupported("".concat('video/mp4; codecs="avc1.42E01E',', mp4a.40.2"')),nativeHls:(k()||E()||T())&&M().nativeHls,localstorage:R(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:(t=/webkit|mozilla|edge/.test(g()),!!(k()||E()||A())||Boolean(t&&M().h264&&Object.defineProperties)),mutationObserver:I(),callingPlayRequiresEventContext:B()>0||A()||T(),passiveSupported:F(),webp:N(),performanceMeasure:(0,r.hasPerformanceMeasureSupport)()};return y.browser[g()]=!0,y}},67(t,e,n){n.d(e,{hasPerformanceMeasureSupport:()=>i});var i=function(){var t=window.performance;return Boolean(t)&&Boolean(t.measure)}},68(t,e,n){var i;n.d(e,{elemOffset:()=>r,elemZoom:()=>s,isBoxModel:()=>o});var o=function(){if(null!=i)return i;var t=document.createElement("div");return t.style.paddingLeft=t.style.width="1px",document.body.appendChild(t),i=2===t.offsetWidth,document.body.removeChild(t),i},r=function(t){var e,n,i=document.body,r=document.defaultView,a=document.documentElement,l=t.getBoundingClientRect(),u=a.clientTop||i.clientTop||0,c=a.clientLeft||i.clientLeft||0;e=r&&null!=r.pageYOffset?r.pageYOffset:o()&&a&&null!=a.scrollTop?a.scrollTop:i.scrollTop,n=r&&null!=r.pageXOffset?r.pageXOffset:o()&&a&&null!=a.scrollLeft?a.scrollLeft:i.scrollLeft;var h=s(t);return{height:l.height*h,top:l.top*h+e-u,left:l.left*h+n-c,width:l.width*h,zoom:h}},s=function(t){return t&&t!==document.documentElement?s(t.parentElement)*(getComputedStyle(t).zoom||1):1}},69(__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__(70),getScriptTags=function(t){return t.match(/<script.*?src[^>]*>\s*<\/script>|<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(/<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)){var src=matches[1];hash.fn=function(){return eval(src)}}hashes.push(hash)},i=0;i<scriptTags.length;i++)_loop();return hashes},execScriptTags=function(t,e){if(!t)return null;var n=scriptTagsToRunScriptsInput(t);return(0,utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__.runScripts)(n).then(e)},removeScriptTags=function(t){return t.replace(/<script.*?src[^>]*>\s*<\/script>|<script>[\s\S]+?<\/script>/g,"")}},70(t,e,n){n.d(e,{runScripts:()=>c});var i=n(21),o=n(23),r=n(71);function s(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function a(t,e,n){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var l=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=document.getElementsByTagName("script"),i=0;i<n.length;i++){var o=n[i],r=o.getAttribute("src")||"";if(e.ignoreQueryParams){var s=r.split("?");r=s[0]}if(!e.scriptRegex&&e.ignoreProtocol&&(r=r.replace(/^https?:/,""),t=t.replace(/^https?:/,"")),e.scriptRegex&&e.scriptRegex.test(r))return o;if(e.testStartsWith&&0===r.indexOf(t))return o;if(r===t)return o}return null},u=function(t){var e,n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8e3,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return null==i&&(i=8e3),null==o&&(o={}),new Promise((function(s){!0===o.once&&(e=l(t))&&(n=!0),o.once&&n?e.readyState&&!/loaded|complete/.test(e.readyState)||setTimeout((function(){s()}),1):(0,r.runScript)(t,i).then(s).catch((function(t){s(t),setTimeout((function(){console.error(t)}),1)}))}))},c=function(){for(var t,e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];t=n[0]instanceof Array?n[0]:n,t=h(t);var r=[],l=[],c=[];return t.forEach((function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?s(Object(n),!0).forEach((function(e){a(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t),n=new Promise((function(t){e.resolve=t}));e.promise=n,c.push(e.promise),t.async?r.push(e):l.push(e)})),l.reduce((function(t,e){if(e.fn)try{e.fn()}catch(t){i.wlog.error(t)}finally{e.resolve()}else e.src&&u(e.src,null,e).then(e.resolve);return t.then(e.promise)}),Promise.resolve()),setTimeout((function(){r.forEach((function(t){if(t.fn)try{t.fn()}catch(t){i.wlog.error(t)}finally{t.resolve()}else t.src&&u(t.src,null,t).then(t.resolve)}))}),1),Promise.all(c)},h=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];"string"==typeof i?e.push({src:i,async:!1}):(0,o.isObject)(i)?e.push(i):e.push({fn:i,async:!1})}return e}},71(t,e,n){n.d(e,{runScript:()=>o});var i=n(27),o=function(t,e){var n=i.TAGGED_VERSION;return new Promise((function(i,o){var r;null==e&&(e=8e3),(r=document.createElement("script")).src=t,r.async=!0,r.type="text/javascript",/https?:\/\/fast\.wistia\./.test(r.src)&&""!==n&&n.length>0&&(r.src="".concat(r.src,"@").concat(n));var s=null,a=!1,l=function(){r.onerror=r.onreadystatechange=r.onload=null,clearTimeout(s),clearTimeout(c),s=setTimeout((function(){r&&r.parentNode&&r.parentNode.removeChild(r)}),500)},u=function(){var t=r.readyState;a||t&&!/loaded|complete/.test(t)||(a=!0,setTimeout((function(){i(),l()}),1))},c=setTimeout((function(){a=!0,l(),o(new Error("timeout"))}),e);r.onerror=function(t){a=!0,l(),o(t)},r.onreadystatechange=u,r.onload=u,(document.body||document.head).appendChild(r)}))}},72(t,e,n){n.d(e,{seqId:()=>o});var i=n(1),o=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wistia_",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=i.Wistia._sequenceVal||1,o="".concat(t).concat(n).concat(e);return i.Wistia._sequenceVal=n+1,o}},81(t,e,n){n.r(e),n.d(e,{clearTimeouts:()=>s,doTimeout:()=>r});var i=n(23),o=n(1);o.Wistia;null==o.Wistia._timeouts&&(o.Wistia._timeouts={});var r=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;(0,i.isArray)(t)&&(t=t.join("."));var r=l(t);if(s(t,r),e){var a=o.Wistia._timeouts[r];null==a&&(a=o.Wistia._timeouts[r]={});var u=setTimeout((function(){delete a[t],e()}),n);return a[t]=u,u}return o.Wistia._timeouts[r][t]},s=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if((0,i.isArray)(t)&&(t=t.join(".")),"__global__"===(n=n||l(t))&&(e=o.Wistia._timeouts[t]))for(var r in e){var s=e[r];clearTimeout(s),delete e[r]}if(e=o.Wistia._timeouts[n])for(var u in e){var c=e[u];!u.indexOf||0!==u.indexOf(t)||u.length!==t.length&&"."!==u.charAt(t.length)||(clearTimeout(c),delete e[u])}o.Wistia.blockSweepTimeouts||(o.Wistia.blockSweepTimeouts=!0,setTimeout(a,0),setTimeout((function(){o.Wistia.blockSweepTimeouts=!1}),5e3))},a=function(){for(var t in o.Wistia._timeouts){var e=o.Wistia._timeouts[t];(0,i.isEmpty)(e)&&delete o.Wistia._timeouts[t]}},l=function(t){var e=t.indexOf(".");return e>0?t.substring(0,e):"__global__"}},97(t,e,n){n.d(e,{StopGo:()=>i});var i,o=n(81);(function(){var t=[].slice;i=function(){function e(){var t;return this._queue=[],this._green=!1,this._lock=!1,this.allInOne=(t=this,function(){return t._allInOne.apply(t,arguments)}),this.defineMethodsOn(this.allInOne),this.allInOne}return e.prototype.defineMethodsOn=function(t){var e,n,i,o;for(n in e={},i=[],this)o=this[n],i.push(function(n,i,o){if("[object Function]"===e.toString.call(i))return t[n]=function(){return o[n].apply(o,arguments)}}(n,o,this));return i},e.prototype.flush=function(){var e,n;if(e=arguments.length>=1?t.call(arguments,0):[],!this._green)return this;for(this._lock=!0;this._queue.length>0&&(n=this._queue.shift(),e.length||!this.goArgs?this.tryAndReport((function(){return n.apply(null,e)})):this.tryAndReport(function(t){return function(){return n.apply(null,t.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,n,i,o;for(i=0,o=(n=arguments.length>=1?t.call(arguments,0):[]).length;i<o;i++)e=n[i],this.synchronizeFn(e);return this},e.prototype.synchronizeFn=function(t){var e,n,i,o;return n=null,o=this,e=function(){return clearTimeout(n),o._block=!1,o.go()},i=function(n){return function(){return n._block=!0,n.stop(),t(e)}}(this),n=setTimeout(function(n){return function(){return n._debug("StopGo#synchronize timed out",t),e()}}(this),5e3),this.runFn(i),this},e.prototype.tryAndReport=function(t){var e;try{return t()}catch(t){return(e=t).stack?("undefined"!=typeof console&&null!==console&&console.log(e.message),"undefined"!=typeof console&&null!==console?console.log(e.stack):void 0):"undefined"!=typeof console&&null!==console?console.log(e):void 0}},e.prototype.clearSynchronized=function(){return this.setQueue([]),this._block=!1,this._green=!0},e.prototype.filter=function(t){var e;return this._queue=function(){var n,i,o,r;for(r=[],n=0,i=(o=this._queue).length;n<i;n++)e=o[n],t(e)&&r.push(e);return r}.call(this),this},e.prototype.push=function(t){return this._queue.push(t),this},e.prototype.go=function(){var e;return e=arguments.length>=1?t.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,n,i,o;for(i=0,o=(n=arguments.length>=1?t.call(arguments,0):[]).length;i<o;i++)e=n[i],this.runFn(e);return this},e.prototype.then=function(){return this.run.apply(this,arguments)},e.prototype.runFn=function(t){return this._green&&!this._block?this._lock?this.tryAndReport(t):(this.push(t),this.flush()):this.push(t),this},e.prototype.remove=function(){var e,n,i,o;for(i=0,o=(n=arguments.length>=1?t.call(arguments,0):[]).length;i<o;i++)e=n[i],this.removeFn(e);return this},e.prototype.removeFn=function(t){return this.filter((function(e){return t!==e})),this},e.prototype.setQueue=function(t){return this._queue=t,this},e.prototype.getQueue=function(){return this._queue},e.prototype._allInOne=function(){var e,n;return e=arguments[0],n=arguments.length>=2?t.call(arguments,1):[],!0===e?this.go.apply(this,n):!1===e?this.stop():null!=e?e instanceof Array?this.run.apply(this,e):"string"==typeof e?this[e].apply(this,n):this.run.apply(this,arguments):this._green},e}(),i.when=function(){var e,n,o,r,s,a,l,u;for(u=arguments.length>=1?t.call(arguments,0):[],a=new i,o=function(){return a.go.apply(a,arguments)},e=function(t,e){return o=function(){return e((function(){return t.apply(null,arguments)}))}},n=0,r=(s=u.reverse()).length;n<r;n++)l=s[n],e(o,l);return o(),a},i._drainStopGosAsync=function(t,e,n){var r;if(null==n&&(n=0),!(e.length<1))return(r=e.shift()).run((function(){return i._drainStopGosAsync(t,e,n+1)})),(0,o.doTimeout)("".concat(t,".").concat(n),(function(){return r.go()}),0),r}}).call(void 0)},107(t,e,n){n.d(e,{asyncChain:()=>l});var i=n(97),o=n(21),r=n(81);function s(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return a(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var i=0,o=function(){};return{s:o,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,l=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){l=!0,r=t},f:function(){try{s||null==n.return||n.return()}finally{if(l)throw r}}}}function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}var l=function(t,e){var n,a=[],l=s(e);try{for(l.s();!(n=l.n()).done;){!function(t){a.push((new i.StopGo).run((function(){try{return t()}catch(t){return o.wlog.error(t)}})))}(n.value)}}catch(t){l.e(t)}finally{l.f()}var u=a[a.length-1];i.StopGo._drainStopGosAsync(t,a);var c=new i.StopGo;return u.then((function(){return(0,r.doTimeout)("".concat(t,".last"),(function(){return c.go()}),0)})),c}},108(t,e,n){n.d(e,{notSetOrTrue:()=>i});n(65),n(109),n(110),n(1);var i=function(t){return null==t||!0===t}},109(t,e,n){},110(t,e,n){},142(t,e,n){n.d(e,{sanePlayerColor:()=>i});var i=function(t){if(t){if((t="".concat(t).replace(/^#/g,"")).length<6){for(var e="",n=0;n<6-t.length;n++)e+="0";t="".concat(e).concat(t)}return/^[\da-f]{6}$/i.test(t)||(t="636155"),t}return"636155"}},143(t,e,n){n.r(e),n.d(e,{scrollLeft:()=>i,scrollTop:()=>o});var i=function(t){var e,n,i,o;if(!t)return(null===(e=document)||void 0===e||null===(n=e.documentElement)||void 0===n?void 0:n.scrollLeft)||(null===(i=document)||void 0===i||null===(o=i.body)||void 0===o?void 0:o.scrollLeft)||0;document.body&&(document.body.scrollLeft=t),document.documentElement&&(document.documentElement.scrollLeft=t)},o=function(t){var e,n,i,o;if(!t)return(null===(e=document)||void 0===e||null===(n=e.documentElement)||void 0===n?void 0:n.scrollTop)||(null===(i=document)||void 0===i||null===(o=i.body)||void 0===o?void 0:o.scrollTop)||0;document.body&&(document.body.scrollTop=t),document.documentElement&&(document.documentElement.scrollTop=t)}},198(t,e,n){n.d(e,{isMouseDownRecently:()=>c});var i=n(63),o=n(66),r=n(1),s=(0,o.cachedDetect)();if(null==r.Wistia._isMouseDown){r.Wistia._isMouseDown=!1;var a=function(t){r.Wistia._isMouseDown=!0,r.Wistia._lastMouseDownAt=Date.now(),setTimeout((function(){t.defaultPrevented&&(r.Wistia._isMouseDown=!1)}),0)},l=function(){r.Wistia._lastMouseUpAt=Date.now(),setTimeout((function(){r.Wistia._isMouseDown=!1}),0)};s.touchScreen?((0,i.elemBind)(document,"touchstart",a,!0),(0,i.elemBind)(document,"touchend",(function(){r.Wistia._lastMouseUpAt=Date.now(),setTimeout((function(){r.Wistia._isMouseDown=!1}),0)}),!0)):((0,i.elemBind)(document,"mousedown",a,!0),(0,i.elemBind)(document,"mouseup",l,!0));var u=s.windows?l:a;(0,i.elemBind)(document,"contextmenu",u,!0)}var c=function(){return null!=r.Wistia._mouseDownForceReturnVal?r.Wistia._mouseDownForceReturnVal:(t=500,Math.max(r.Wistia._lastMouseDownAt||0,(r.Wistia._lastMouseUpAt||0)-1)>Date.now()-t);var t}},207(t,e,n){n.d(e,{controlMultiplierEstimatedByWidth:()=>c});n(63),n(81);var i=n(66),o=n(23);function r(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 i,o,r,s,a=[],l=!0,u=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(a.push(i.value),a.length!==e);l=!0);}catch(t){u=!0,o=t}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw o}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(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,i=Array(e);n<e;n++)i[n]=t[n];return i}var a=(0,i.cachedDetect)(),l=function(){var t=document.querySelector("meta[name=viewport]"),e=t&&t.getAttribute("content"),n={};e&&e.split(/[\s,]+/).forEach((function(t){var e=t.split("=");2===e.length&&(n[e[0]]=(0,o.cast)(e[1]))}));return n},u=function(t){if(!(a.iphone||a.ipad||a.android))return[640,960];if(null!=t&&t.isAudio())return[500,960];var e,n=l();if(n.width){e="number"==typeof n.width?0+n.width:screen.width||window.innerWidth;var i=Math.max(n["minimum-scale"]||0,Math.min(n["maximum-scale"]||10,n["initial-scale"]||1));i<1&&(e/=i)}else e=window.innerWidth;return[e,2*e/3]},c=function(t,e){var n=r(e||u(),2),i=n[0],o=n[1];return t<=i?t/i:t>o?t/o:1}},612(t,e,n){n.r(e);var i=n(9),o=n(63),r=n(81),s=n(72),a=n(23),l=n(8);function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){h(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function h(t,e,n){return(e=p(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,p(i.key),i)}}function p(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}!function(t){if(!t.BigPlayButton)t.BigPlayButton=function(){return e=function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.getBottomTextElemProps=this.getBottomTextElemProps.bind(this),this.focus=this.focus.bind(this),this.keyup=this.keyup.bind(this),this.blur=this.blur.bind(this),this.mouseover=this.mouseover.bind(this),this.mouseout=this.mouseout.bind(this),this.mousedown=this.mousedown.bind(this),this.mouseup=this.mouseup.bind(this),this.click=this.click.bind(this),this.touchstart=this.touchstart.bind(this),this.touchmove=this.touchmove.bind(this),this.touchend=this.touchend.bind(this),this.container=e,null==n&&(n={}),this.options=this.getDefaultOptions(n),this.uuid="".concat(this.options.uuid,".big_play_button"),this.backgroundOpacity=this.options.opaqueControls?1:.8,this.color(this.options.color,this.backgroundOpacity),this.backgroundElem=this.createBackgroundElem(),this.resetBackground(),this.elem=this.playElem=this.createPlayElem(),this.addTopText(),this.addBottomText(),(0,o.elemAppend)(this.container,this.backgroundElem),(0,o.elemAppend)(this.container,this.playElem),this.setupBindings()},n=[{key:"destroy",value:function(){return this.destroyBindings(),(0,o.elemRemove)(this.playElem),(0,o.elemRemove)(this.backgroundElem),this._bottomTextElem&&(0,o.elemRemove)(this._bottomTextElem),this._topTextElem&&(0,o.elemRemove)(this._topTextElem),this.elem=null,this.backgroundElem=null,this.playElem=null,this._bottomTextElem=null,this._topTextElem=null}},{key:"getDefaultOptions",value:function(t){var e={tabbable:!0,uuid:(0,s.seqId)(),color:"636155",borderRadius:0,bottomTextColor:"#fff",bottomTextFontFamily:"Courier New, Courier, Sans-Serif",bottomTextBackground:"none",bottomTextInsideButton:!1,contrastIcons:!1,opaqueControls:!1,topTextColor:"#fff",topTextFontFamily:"Courier New, Courier, Sans-Serif",topTextBackground:"none",widthCorrection:0,heightCorrection:0};return(0,a.merge)(e,t)}},{key:"createBackgroundElem",value:function(){var t=this.options.backgroundGradientCss,e=null!=t?{background:t,backgroundPosition:"center",backgroundSize:"370px 208px"}:{};return(0,o.elemFromObject)({id:"".concat(this.uuid,"_background"),style:c({borderRadius:"".concat(this.options.borderRadius,"px"),height:"".concat(this.height(),"px"),position:"absolute",width:"".concat(this.width(),"px"),zIndex:1},e)})}},{key:"createPlayElem",value:function(){var t=this.svgBackgroundPlayIcon();return(0,o.elemFromObject)({id:"".concat(this.uuid,"_graphic"),tabindex:this.options.tabbable?"0":"-1",role:"button","aria-label":"Play",style:{background:"transparent url(".concat(t,") no-repeat 0 0"),cursor:"pointer",display:"block",height:"".concat(this.graphicHeight(),"px"),outline:"none",position:"absolute",width:"".concat(this.graphicWidth(),"px"),zIndex:1}})}},{key:"createBottomTextElem",value:function(){return(0,o.elemFromObject)({id:"".concat(this.uuid,"_bottom_text"),style:this.getBottomTextElemProps(),childNodes:this.options.bottomText})}},{key:"getBottomTextElemProps",value:function(){var t={color:this.options.bottomTextColor,fontFamily:this.options.bottomTextFontFamily,fontSize:this.textFontSize(),background:this.options.bottomTextBackground,left:0,position:"absolute",textAlign:"center",width:"100%",zIndex:1};if(this.options.bottomTextInsideButton){var e="".concat(30,"px");t.lineHeight=e,t.bottom="-".concat(e)}return t}},{key:"createTopTextElem",value:function(){return(0,o.elemFromObject)({id:"".concat(this.uuid,"_top_text"),style:{color:this.options.topTextColor,fontFamily:this.options.topTextFontFamily,background:this.options.topTextBackground,fontSize:this.textFontSize(),left:0,position:"absolute",textAlign:"center",width:"100%",zIndex:1},childNodes:this.options.topText})}},{key:"textFontSize",value:function(){return this.options.bottomTextInsideButton?"18px":this.height()<100?"11px":this.shouldShrink()?"16px":"22px"}},{key:"setupBindings",value:function(){return(0,o.elemBind)(this.playElem,"mouseover",this.mouseover),(0,o.elemBind)(this.playElem,"mouseout",this.mouseout),(0,o.elemBind)(this.playElem,"focus",this.focus),(0,o.elemBind)(this.playElem,"blur",this.blur),(0,o.elemBind)(this.playElem,"mousedown",this.mousedown),(0,o.elemBind)(this.playElem,"mouseup",this.mouseup),(0,o.elemBind)(this.playElem,"click",this.click),(0,o.elemBind)(this.playElem,"touchstart",this.touchstart)}},{key:"destroyBindings",value:function(){return(0,o.elemUnbind)(this.playElem,"mouseover",this.mouseover),(0,o.elemUnbind)(this.playElem,"mouseout",this.mouseout),(0,o.elemUnbind)(this.playElem,"focus",this.focus),(0,o.elemUnbind)(this.playElem,"blur",this.blur),(0,o.elemUnbind)(this.playElem,"mousedown",this.mousedown),(0,o.elemUnbind)(this.playElem,"mouseup",this.mouseup),(0,o.elemUnbind)(this.playElem,"click",this.click),(0,o.elemUnbind)(this.playElem,"touchstart",this.touchstart),(0,o.elemUnbind)(document,"touchmove",this.touchmove),(0,o.elemUnbind)(document,"touchend",this.touchend),(0,o.elemUnbind)(document,"keyup",this.keyup)}},{key:"focus",value:function(){var t;return(0,o.elemAddClass)(this.playElem,"wistia_focus"),this.onMobile()||!1===this.options.autoHighlight||this.highlightBackground(),(0,o.elemRebind)(document,"keyup",this.keyup),this._focus=!0,"function"==typeof this.options.onFocus&&(t=this.options).onFocus.apply(t,arguments),!0}},{key:"keyup",value:function(t){var e,n;return"function"==typeof this.options.onKeyup&&(e=this.options).onKeyup.apply(e,arguments),32!==t.keyCode&&13!==t.keyCode||"function"==typeof this.options.onActivate&&(n=this.options).onActivate.apply(n,arguments),!0}},{key:"blur",value:function(){var t;return(0,o.elemUnbind)(this.playElem,"keyup",this.keyup),(0,o.elemRemoveClass)(this.playElem,"wistia_focus"),this.onMobile()||!1===this.options.autoHighlight||this.resetBackground(),this._focus=!1,"function"==typeof this.options.onBlur&&(t=this.options).onBlur.apply(t,arguments),!0}},{key:"mouseover",value:function(){var t;return(0,o.elemAddClass)(this.playElem,"wistia_mouseover"),this.onMobile()||!1===this.options.autoHighlight||this.highlightBackground(),"function"==typeof this.options.onMouseover&&(t=this.options).onMouseover.apply(t,arguments),!0}},{key:"mouseout",value:function(){var t;return(0,o.elemRemoveClass)(this.playElem,"wistia_mouseover"),this.onMobile()||!1===this.options.autoHighlight||this.resetBackground(),"function"==typeof this.options.onMouseout&&(t=this.options).onMouseout.apply(t,arguments),!0}},{key:"mousedown",value:function(){var t;return(0,o.elemAddClass)(this.playElem,"wistia_mousedown"),"function"==typeof this.options.onMousedown&&(t=this.options).onMousedown.apply(t,arguments),!0}},{key:"mouseup",value:function(){var t;return(0,o.elemRemoveClass)(this.playElem,"wistia_mousedown"),"function"==typeof this.options.onMouseup&&(t=this.options).onMouseup.apply(t,arguments),!0}},{key:"click",value:function(){var t,e;return"function"==typeof this.options.onClick&&(t=this.options).onClick.apply(t,arguments),this._blockClickActivate||"function"==typeof this.options.onActivate&&(e=this.options).onActivate.apply(e,arguments),!0}},{key:"touchstart",value:function(){var t;return(this.onMobile()||!1===this.options.autoHighlight)&&this.highlightBackground(),"function"==typeof this.options.onTouchstart&&(t=this.options).onTouchstart.apply(t,arguments),this._swiped=!1,(0,o.elemBind)(document,"touchmove",this.touchmove),(0,o.elemBind)(document,"touchend",this.touchend),!0}},{key:"touchmove",value:function(){var t;return this._highlighted&&this.onMobile()&&!1!==this.options.autoHighlight&&this.resetBackground(),this._swiped=!0,"function"==typeof this.options.onTouchmove&&(t=this.options).onTouchmove.apply(t,arguments),!0}},{key:"touchend",value:function(){var t,e;((0,o.elemUnbind)(document,"touchmove",this.touchmove),(0,o.elemUnbind)(document,"touchend",this.touchend),this.onMobile()&&!1!==this.options.autoHighlight&&this.resetBackground(),"function"==typeof this.options.onTouchend&&(t=this.options).onTouchend.apply(t,arguments),this._swiped)||("function"==typeof this.options.onActivate&&(e=this.options).onActivate.apply(e,arguments),this.blockClickActivateTemporarily());return this._swiped=!1,!0}},{key:"onMobile",value:function(){return t.detect.iphone||t.detect.ipad||t.detect.android}},{key:"blockClickActivateTemporarily",value:function(){var t=this;return this._blockClickActivate=!0,(0,r.doTimeout)("".concat(this.uuid,".block_click_activate"),(function(){return t._blockClickActivate=!1}),350)}},{key:"highlightBackground",value:function(){return this._highlighted=!0,this.backgroundElem.style.backgroundColor=this.highlightColor().alpha(this.backgroundOpacity).toRgbaOrHex()}},{key:"resetBackground",value:function(){return this._highlighted=!1,this.backgroundElem.style.backgroundColor=this.color().alpha(this.backgroundOpacity).toRgbaOrHex()}},{key:"fit",value:function(){(0,o.elemStyle)(this.backgroundElem,{height:"".concat(this.height(),"px"),width:"".concat(this.width(),"px")});var t=this.svgBackgroundPlayIcon();return(0,o.elemStyle)(this.playElem,{backgroundImage:"url(".concat(t,")"),backgroundSize:"".concat(this.graphicWidth(),"px ").concat(this.graphicHeight(),"px"),height:"".concat(this.graphicHeight(),"px"),width:"".concat(this.graphicWidth(),"px")}),this._bottomTextElem&&(0,o.elemStyle)(this._bottomTextElem,{fontSize:this.textFontSize()}),this._topTextElem&&(0,o.elemStyle)(this._topTextElem,{fontSize:this.textFontSize()}),this.center()}},{key:"show",value:function(){return this.fit(),(0,o.elemStyle)([this.backgroundElem,this.playElem],{display:"block"})}},{key:"hide",value:function(){return(0,o.elemStyle)([this.backgroundElem,this.playElem],{display:"none"})}},{key:"correctedWidth",value:function(){var t=this.containerWidth();return t+=this.options.widthCorrection}},{key:"correctedHeight",value:function(){var t=this.containerHeight();return t+=this.options.heightCorrection}},{key:"mouseEventTargetIsInside",value:function(t){return(0,o.elemIsInside)(t.target,this.playElem)||this._bottomTextElem&&(0,o.elemIsInside)(t.target,this._bottomTextElem)||this._topTextElem&&(0,o.elemIsInside)(t.target,this._topTextElem)}},{key:"center",value:function(){if((0,o.elemStyle)(this.backgroundElem,{left:"".concat(this.leftBackgroundOffset(),"px"),top:"".concat(this.topBackgroundOffset(),"px")}),(0,o.elemStyle)(this.playElem,{left:"".concat(this.leftGraphicOffset(),"px"),top:"".concat(this.topGraphicOffset(),"px")}),this._bottomTextElem&&!this.options.bottomTextInsideButton&&(0,o.elemStyle)(this._bottomTextElem,{left:0,top:"".concat(this.bottomGraphicOffset()+3,"px")}),this._topTextElem)return(0,o.elemStyle)(this._topTextElem,{bottom:"".concat(this.bottomGraphicOffset()+3,"px"),left:0})}},{key:"leftBackgroundOffset",value:function(){return Math.round((this.correctedWidth()-this.width())/2)}},{key:"topBackgroundOffset",value:function(){return Math.round((this.correctedHeight()-this.height())/2)}},{key:"topGraphicOffset",value:function(){return Math.round((this.correctedHeight()-this.graphicHeight())/2)}},{key:"leftGraphicOffset",value:function(){return Math.round((this.correctedWidth()-this.graphicWidth())/2)}},{key:"rightGraphicOffset",value:function(){return this.leftGraphicOffset()+this.graphicWidth()}},{key:"bottomGraphicOffset",value:function(){return this.topGraphicOffset()+this.graphicHeight()}},{key:"containerWidth",value:function(){return(0,o.elemWidth)(this.container)}},{key:"containerHeight",value:function(){return(0,o.elemHeight)(this.container)}},{key:"shouldShrink",value:function(){return this.containerWidth()<=320||this.containerHeight()<=200}},{key:"graphicWidth",value:function(){return this.shouldShrink()?60:127}},{key:"graphicHeight",value:function(){return this.shouldShrink()?38:81}},{key:"width",value:function(){return this._cover?this.containerWidth():this.graphicWidth()}},{key:"height",value:function(){return this._cover?this.containerHeight():this.graphicHeight()}},{key:"cover",value:function(){return this._cover=!0,this.supportsMultiply()?((0,o.elemStyle)(this.backgroundElem,{mixBlendMode:"multiply"}),this.color(this.color(),.5)):this.color(this.color(),.3),this.addBottomText(),this.addTopText(),this.fit()}},{key:"uncover",value:function(){return this._cover=!1,this.supportsMultiply()&&(0,o.elemStyle)(this.backgroundElem,{mixBlendMode:"normal"}),this.color(this.color(),.76),this.removeBottomText(),this.removeTopText(),this.fit()}},{key:"addBottomText",value:function(){if(this.options.bottomText&&!this._bottomTextElem){var t=this.options.bottomTextInsideButton?this.playElem:this.container;return this.removeBottomText(),this._bottomTextElem=this.createBottomTextElem(),(0,o.elemAppend)(t,this._bottomTextElem)}}},{key:"addBottomTextFromNewOptions",value:function(t){return this.options=(0,a.merge)(this.options,t),this.removeBottomText(),this.addBottomText()}},{key:"removeBottomText",value:function(){if(this._bottomTextElem)return(0,o.elemRemove)(this._bottomTextElem),this._bottomTextElem=null}},{key:"addTopText",value:function(){if(this.options.topText&&!this._topTextElem)return this.removeTopText(),this._topTextElem=this.createTopTextElem(),(0,o.elemAppend)(this.container,this._topTextElem)}},{key:"removeTopText",value:function(){if(this._topTextElem)return(0,o.elemRemove)(this._topTextElem),this._topTextElem=null}},{key:"setBorderRadius",value:function(t){(0,o.elemStyle)(this.backgroundElem,{borderRadius:"".concat(t,"px")})}},{key:"uncoverImmediately",value:function(){var t=this;return(0,o.elemStyle)(this.backgroundElem,{transition:"none"}),requestAnimationFrame((function(){return t.uncover(),requestAnimationFrame((function(){return(0,o.elemStyle)(t.backgroundElem,{transition:"all 80ms ease-out"})}))}))}},{key:"supportsMultiply",value:function(){return t.detect.chrome||t.detect.safari}},{key:"color",value:function(t,e){return null==e&&(e=this.backgroundOpacity),null!=t?(this._color=new i.Color(t).alpha(e),null!=this.backgroundElem&&(this.backgroundElem.style.backgroundColor=this._color.toRgbaOrHex()),this._color):this._color.clone()}},{key:"highlightColor",value:function(){return this._color.isDark(!0)?this.color().clone().lighten(40):this.color().clone().darken(40)}},{key:"iconFillColor",value:function(){return this._highlighted?(0,l.getVideoPlayerIconColor)(this.highlightColor(),this.options.contrastIcons,null!=this.options.backgroundGradientCss):(0,l.getVideoPlayerIconColor)(this.color(),this.options.contrastIcons,null!=this.options.backgroundGradientCss)}},{key:"iconBase64",value:function(){return window.devicePixelRatio>1?this.retinaBase64():this.shouldShrink()?this.smallNonRetinaBase64():this.bigNonRetinaBase64()}},{key:"svgBackgroundPlayIcon",value:function(){var t=encodeURIComponent(' <svg width="254" height="162" xmlns="http://www.w3.org/2000/svg"> <path clip-rule="evenodd" d="m106.06,44.61c-3.05,-2.12 -7.21,0.08 -7.21,3.79l0,65.2c0,3.73 4.16,5.91 7.21,3.79l47.1,-32.63c2.65,-1.82 2.65,-5.72 0,-7.54l-47.1,-32.63l0,0.02l0,-0.01z" fill="'.concat(this.iconFillColor(),'" fill-rule="evenodd"/></svg>'));return"data:image/svg+xml;utf8,".concat(t)}},{key:"retinaBase64",value:function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAP4AAACiCAYAAABh2nDdAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAulJREFUeNrs3d1tGlEQBtAlSgEpgXSAO8AdxB2QDuwONhWQDpxUAB14OyAdmA5IB+SOvDdCSHnLn/WdI91XP4z1aYY77DIMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAvnc/nQzsrlYCs4JdTOxvVgKzgd7t23qkKZAW/PLezVhnICn43qg7kBb88tbNUJcgKfr/4+6BSkBX8buviD/KCf7bzh8zgd/cqB3nBt/OH0OD3i7+1KkJW8O38ITj4/eJvqaKQFXw7fwgNfvfo4i/PQgleV/D/0J8+tnO3WCy+qXKGN0pAU5/3D3b+Oj5ZHf/SNHf/7yqu45Nj3Y7n/AWfQHXZV4/5bpXCqE/GqH+tLvw+uvjT8cmymrv/Ril0fHI6/qX93P1d/Ak+QcEvx8HO36hPnOXwsvMflULHJ6fjX5oGO38dnzjr4WXn72EfwSdM7fx3XvBp1Cdn1L9m56/jE6jv/D3so+MT1PEv2fnr+ASqC7+Dh30EnzzLefQflcKoT8aof60u/Grnf/Sf1PHJsZpHfzt/wSfMz52/Ugg+WWrk/6oMgk+OL+3c+oLPv/dWCfgLapdfO/29Uuj4ZJjauRF6wSfHpxb4Wys8oz4ZjvNoPymFjk+G/TzaC73gE6Au8B5a4L2Rx6hPCM/h6/iE+dwCfyP0Oj45o73dvOATZBq8XdeoT5S+mxd6HZ8Ax8Ev6Oj4ROm7eaEXfAL0Czyf5436hPCqLB2fMH03L/Q6PiGj/Z3v2ev45Kiwvxd6wSfHg908/KfOv1+97nqlspAT/Ec/aw05wT/5UQvICn6N9kuVhJzgjyoIOcE/+alqyAr+zgUe5AS/uvy9ikFO8O3mISz4W6M95ATfbh7Cgv9kNw9ZwR9VBXKC/+wCD7KCbzcPYcHfqAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAvE4/BBgAB9Vp0xXzB8AAAAAASUVORK5CYII="}},{key:"bigNonRetinaBase64",value:function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAH8AAABRCAYAAAD7G3lVAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAATFJREFUeNrs22FtwkAYx+F2QcAkMAfgYBKQwBxMQh1MwiRQB+CgEoaDzkG5S1a+E5IF+n+e5D4ve3+7N0s4mgYAAAAAAAAAAAAA7jFN06cp5MavjuWsTSMzfjWWszORzPizQzmvJpMZ3xYIj28LiG8LpMeffdsCufGrn3LeTS0z/uzLFsiNbwuEx7cFxL9ugY1pZsafdSaaG78abIHc+LaA+MvbAi/+XG5Sww9L2QLtEm/+P/2oUzkfbduexc+LX51L/DdrP09fzvaZf4GVhjf7/Vv3vVFk/bfvMUhg/PoAZG+6efE9Aw+MP/oCSGZ8tz0wvtseGn9w2zPjdyaXF99n9aHx3fbA+G57aHy3PTC+N/mh8b3DD4zvtofGd9tD47vtAAAAAAAAAAAAADymiwADAOSj1JBfF8xMAAAAAElFTkSuQmCC"}},{key:"smallNonRetinaBase64",value:function(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAAmCAYAAACYsfiPAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJNJREFUeNrs1ksNhEAURNGWgAQkjAQkIAUJ7QApIwEJSEACEh6PBatJhmZJ1T1JCahU+lMKAACAioj4Zjqnwqc9MzoVvszya8evLTM4FdZeO/7TWzva6Kwd7dbMx6nwpboV3l99rh+WXV5/lh+sOrlcWueqvcOzpLNqQ2GtVW8KT0WZ3MeisXAtLixWBQAAQDoEGACTzSwy3SX7YgAAAABJRU5ErkJggg=="}}],n&&d(e.prototype,n),u&&d(e,u),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,u}()}(window.Wistia)},613(t,e,n){n.r(e);var i=n(27),o=n(23),r=n(63),s=n(81),a=n(72),l=n(198),u=n(9);function c(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,h(i.key),i)}}function h(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}!function(t){if(!t.Thumbnail)t.Thumbnail=function(){return e=function e(n,s){var l,u;if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),this.focus=this.focus.bind(this),this.keyup=this.keyup.bind(this),this.blur=this.blur.bind(this),this.mouseover=this.mouseover.bind(this),this.mouseout=this.mouseout.bind(this),this.mousedown=this.mousedown.bind(this),this.mouseup=this.mouseup.bind(this),this.click=this.click.bind(this),this.touchstart=this.touchstart.bind(this),this.touchmove=this.touchmove.bind(this),this.touchend=this.touchend.bind(this),this.showOverlay=this.showOverlay.bind(this),this.hideOverlay=this.hideOverlay.bind(this),this.container=n,this.options=s,this.uuid="".concat(this.options.uuid||(0,a.seqId)(),".thumbnail"),null==this.options.tabbable&&(this.options.tabbable=!0),(null===(l=this.options.images)||void 0===l?void 0:l.length)>0||(u="http:"===(0,i.eV1Protocol)()?"http://embed.wistia.com/deliveries/c0612aa8586d19f8471478c66c73ef7ab3f8e334/default-thumb.jpg":"https://embed-ssl.wistia.com/deliveries/c0612aa8586d19f8471478c66c73ef7ab3f8e334/default-thumb.jpg",this.options.images=[{url:u,height:360,width:640}]),this.elem=this.createElem(),this.options.prepend?(0,r.elemPrepend)(this.container,this.elem):(0,r.elemAppend)(this.container,this.elem),this.img=this.createImg(),this.overlay=this.createOverlay(),this.focusIndicator=this.createFocusIndicator(),(0,r.elemAppend)(this.elem,this.focusIndicator),this.fit(),this.setupBindings(),this.options.delayInit){var c=this.bestImage();this.quickPreload(c.url)}else this.initialize();if(null!=this.options.bigPlayButton&&!1!==this.options.bigPlayButton){var h=(0,o.isObject)(this.options.bigPlayButton)?(0,o.clone)(this.options.bigPlayButton):{};this.bigPlayButton=new t.BigPlayButton(this.elem,h)}},n=[{key:"initialize",value:function(){return this.isBakeryThumbnail()?this.loadImageFirstTime():this.loadImageFirstTimeAndGetDimensions()}},{key:"destroy",value:function(){var t;return null===(t=this.bigPlayButton)||void 0===t||t.destroy(),this.destroyBindings(),(0,r.elemRemove)(this.elem),this.elem=this.img=this.overlay=this.focusIndicator=null}},{key:"preventDefault",value:function(t){return t.preventDefault()}},{key:"setupBindings",value:function(){return(0,r.elemBind)(this.elem,"mouseover",this.mouseover),(0,r.elemBind)(this.elem,"mouseout",this.mouseout),(0,r.elemBind)(this.elem,"focus",this.focus),(0,r.elemBind)(this.elem,"blur",this.blur),(0,r.elemBind)(this.elem,"mousedown",this.mousedown),(0,r.elemBind)(this.elem,"mouseup",this.mouseup),(0,r.elemBind)(this.elem,"click",this.click),(0,r.elemBind)(this.elem,"touchstart",this.touchstart),(0,r.elemBind)(this.img,"mousedown",this.preventDefault)}},{key:"destroyBindings",value:function(){return(0,r.elemUnbind)(this.elem,"mouseover",this.mouseover),(0,r.elemUnbind)(this.elem,"mouseout",this.mouseout),(0,r.elemUnbind)(this.elem,"focus",this.focus),(0,r.elemUnbind)(this.elem,"blur",this.blur),(0,r.elemUnbind)(this.elem,"mousedown",this.mousedown),(0,r.elemUnbind)(this.elem,"mouseup",this.mouseup),(0,r.elemUnbind)(this.elem,"click",this.click),(0,r.elemUnbind)(this.elem,"touchstart",this.touchstart),(0,r.elemUnbind)(this.img,"mousedown",this.preventDefault),(0,r.elemUnbind)(document,"touchmove",this.touchmove),(0,r.elemUnbind)(document,"touchend",this.touchend),(0,r.elemUnbind)(document,"keyup",this.keyup)}},{key:"focus",value:function(){var t,e;return(0,r.elemAddClass)(this.elem,"wistia_focus"),this.options.tabbable&&!(0,l.isMouseDownRecently)()&&(this.focusIndicator.style.boxShadow="0 0 0 2px #fff inset"),(0,r.elemRebind)(document,"keyup",this.keyup),this._focus=!0,null===(t=(e=this.options).onFocus)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),!0}},{key:"keyup",value:function(t){var e,n,i,o;return null===(e=(n=this.options).onKeyup)||void 0===e||e.call.apply(e,[n].concat(Array.prototype.slice.call(arguments))),(32===t.keyCode||13===t.keyCode)&&(null===(i=(o=this.options).onActivate)||void 0===i||i.call.apply(i,[o].concat(Array.prototype.slice.call(arguments)))),!0}},{key:"blur",value:function(){var t,e;return(0,r.elemUnbind)(document,"keyup",this.keyup),(0,r.elemRemoveClass)(this.elem,"wistia_focus"),this.focusIndicator.style.boxShadow="none",this._focus=!1,null===(t=(e=this.options).onBlur)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),!0}},{key:"mouseover",value:function(){var t,e;return(0,r.elemAddClass)(this.elem,"wistia_mouseover"),null===(t=(e=this.options).onMouseover)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),!0}},{key:"mouseout",value:function(){var t,e;return(0,r.elemRemoveClass)(this.elem,"wistia_mouseover"),null===(t=(e=this.options).onMouseout)||void 0===t?void 0:t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments)))}},{key:"mousedown",value:function(){var t,e;return(0,r.elemAddClass)(this.elem,"wistia_mousedown"),null===(t=(e=this.options).onMousedown)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),!0}},{key:"mouseup",value:function(){var t,e;return(0,r.elemRemoveClass)(this.elem,"wistia_mousedown"),null===(t=(e=this.options).onMouseup)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),!0}},{key:"click",value:function(){var t,e,n,i;return null===(t=(e=this.options).onClick)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),this._blockClickActivate||this._swiped||null===(n=(i=this.options).onActivate)||void 0===n||n.call.apply(n,[i].concat(Array.prototype.slice.call(arguments))),!0}},{key:"touchstart",value:function(){var t,e;return null===(t=(e=this.options).onTouchstart)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),this._swiped=!1,(0,r.elemBind)(document,"touchmove",this.touchmove),(0,r.elemBind)(document,"touchend",this.touchend),!0}},{key:"touchmove",value:function(){var t,e;return(0,s.doTimeout)("".concat(this.uuid,".hide_overlay_later"),this.hideOverlay,300),this._swiped=!0,null===(t=(e=this.options).onTouchmove)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),!0}},{key:"touchend",value:function(){var t,e,n,i;return(0,r.elemUnbind)(document,"touchmove",this.touchmove),(0,r.elemUnbind)(document,"touchend",this.touchend),null===(t=(e=this.options).onTouchend)||void 0===t||t.call.apply(t,[e].concat(Array.prototype.slice.call(arguments))),this._swiped||(null===(n=(i=this.options).onActivate)||void 0===n||n.call.apply(n,[i].concat(Array.prototype.slice.call(arguments))),this.blockClickActivateTemporarily()),this._swiped=!1,!0}},{key:"blockClickActivateTemporarily",value:function(){var t=this;return this._blockClickActivate=!0,(0,s.doTimeout)("".concat(this.uuid,".block_click_activate"),(function(){return t._blockClickActivate=!1}),350)}},{key:"hide",value:function(){return this.elem.style.display="none"}},{key:"show",value:function(){return this.elem.style.display="block"}},{key:"isBakeryThumbnail",value:function(){return!this.isNonBakeryThumbnail()}},{key:"isNonBakeryThumbnail",value:function(){return 1===this.options.images.length&&!t.Player.isBakeryUrl(this.options.images[0].url)}},{key:"bestImage",value:function(t){null==t&&(t=!1);var e=this.sortedImages(),n=Math.max((0,r.elemWidth)(this.img),(0,r.elemWidth)(this.container)),i=(window.devicePixelRatio||1)*n;if(!t){if(i<=e[0].width)return e[0];for(var o=0,s=Array.from(e);o<s.length;o++){var a=s[o];if(a.width>=i)return a}}return e[e.length-1]}},{key:"sortedImages",value:function(){var t=this;return null!=this._sortedImages?this._sortedImages:this._sortedImages=function(){for(var e=[],n=0,i=Array.from(t.options.images.sort((function(t,e){return t.width-e.width})));n<i.length;n++){var r=i[n],s=(0,o.clone)(r);s.aspect=s.width/s.height,e.push(s)}return e}()}},{key:"quickPreload",value:function(t){var e,n=this;return null==this._quickPreloads&&(this._quickPreloads={}),this._quickPreloads[t]?this._quickPreloads[t]:(this._quickPreloads[t]=e=new Promise((function(e){var i=new Image,o=function(){return(0,r.elemUnbind)(i,"load",o),(0,r.elemUnbind)(i,"error",o),(0,s.clearTimeouts)("".concat(n.uuid,".long_still_load")),e(i)};(0,r.elemBind)(i,"load",o),(0,r.elemBind)(i,"error",o),(0,s.doTimeout)("".concat(n.uuid,".long_still_load"),o,1e3),i.src=t,i.complete&&o()})),e)}},{key:"surePreload",value:function(t,e){var n=this,i=new Image,o=function(){return(0,r.elemUnbind)(i,"load",o),(0,s.clearTimeouts)("".concat(n.uuid,".long_still_load")),null==e?void 0:e(i)};return(0,r.elemBind)(i,"load",o),i.src=t}},{key:"loadImageFirstTimeAndGetDimensions",value:function(){var t=this,e=this.bestImage();return this.quickPreload(e.url).then((function(n){if((0,r.elemStyle)(n,{visibility:"hidden",position:"absolute"}),(0,r.elemAppend)(document.body,n),t._customHeight=(0,r.elemHeight)(n),t._customWidth=(0,r.elemWidth)(n),t._customAspect=t._customWidth/t._customHeight,(0,r.elemRemove)(n),t._sortedImages=null,t.elem&&t.img)return(0,r.elemAppend)(t.elem,t.img),t.img.src=e.url,t.fitWithoutReload()}))}},{key:"loadImageFirstTime",value:function(){var t=this,e=this.bestImage();return this.quickPreload(e.url).then((function(){if(t.elem&&t.img)return(0,r.elemAppend)(t.elem,t.img),t.img.src=e.url,t.fitWithoutReload()}))}},{key:"loadImageAtProperSize",value:function(){var t=this,e=this.bestImage();return this.surePreload(e.url,(function(){if(t.elem&&t.img)return t.img.src=e.url,t.fitWithoutReload()}))}},{key:"createElem",value:function(){return(0,r.elemFromObject)({id:this.uuid,tabindex:this.options.tabbable?"0":"-1",style:{cursor:"default",borderRadius:this.options.borderRadius?"".concat(this.options.borderRadius,"px"):"0",display:"block",height:"100%",overflow:"hidden",outline:"none",position:"relative",width:"100%"}})}},{key:"createImg",value:function(){return(0,r.elemFromObject)({tagName:"img",id:"".concat(this.uuid,"_img"),alt:this.getAltTextValue(),style:{border:0,display:"block",float:"none",height:"100%",margin:0,maxHeight:"none",maxWidth:"none",padding:0,pointerEvents:"none",position:"absolute",width:"100%"}})}},{key:"createFocusIndicator",value:function(){return(0,r.elemFromObject)({id:"".concat(this.uuid,"_focus_indicator"),style:{height:"100%",left:0,pointerEvents:"none",position:"absolute",top:0,width:"100%",zIndex:1}})}},{key:"getAltTextValue",value:function(){return null!=this.options.altText?this.options.altText:"Wistia video thumbnail"+(null!=this.options.name?" - ".concat(this.options.name):"")}},{key:"createOverlay",value:function(){var t=(0,r.elemFromObject)({id:"".concat(this.uuid,"_overlay"),style:{border:0,display:"block",float:"none",height:"100%",margin:0,maxWidth:"none",padding:0,pointerEvents:"none",position:"absolute",width:"100%"}});return(0,r.elemStyle)(t,{backgroundColor:"rgba(0,0,0,.5)"}),t}},{key:"showOverlay",value:function(){return(0,r.elemAppend)(this.elem,this.overlay)}},{key:"hideOverlay",value:function(){return(0,r.elemRemove)(this.overlay)}},{key:"containerWidth",value:function(){return(0,r.elemWidth)(this.container)}},{key:"containerHeight",value:function(){return(0,r.elemHeight)(this.container)}},{key:"containerAspect",value:function(){return this.containerWidth()/this.containerHeight()}},{key:"fitStrategy",value:function(t){return null!=t?(this.options.fitStrategy=t,this.fit()):/^cropfill|letterbox$/.test(this.options.fitStrategy)?this.options.fitStrategy:"letterbox"}},{key:"fit",value:function(){return this.fitWithoutReload(),this.loadImageAtProperSize()}},{key:"fitWithoutReload",value:function(){var t;return(0,r.elemStyle)(this.elem,{height:"".concat(this.containerHeight(),"px"),width:"".concat(this.containerWidth(),"px")}),"cropfill"===this.fitStrategy()?this.cropFillFit():this.letterboxFit(),null===(t=this.bigPlayButton)||void 0===t?void 0:t.fit()}},{key:"setBorderRadius",value:function(t){(0,r.elemStyle)(this.elem,{borderRadius:"".concat(t,"px")})}},{key:"stretchLimit",value:function(){return null!=this.options.stretchLimit?this.options.stretchLimit:10}},{key:"cropFillFit",value:function(){var t,e,n=this._customAspect||this.bestImage().aspect,i=this.containerWidth(),o=this.containerHeight(),s=this.containerAspect();!1===this.options.stillSnap?(e=i,t=o):s>n?(e=i,t=Math.round(e/n)):s<=n&&(t=o,e=Math.round(t*n));var a=o-t,l=i-e,u=Math.round(a/2),c=Math.round(l/2);return Math.abs(2*u)<=this.stretchLimit()&&(u=0,t=o),Math.abs(2*c)<=this.stretchLimit()&&(c=0,e=i),(0,r.elemIsHidden)(this.elem)||!(0,r.elemInDom)(this.elem)?((0,r.elemStyle)(this.img,{height:"100%",width:"100%"}),c=u=0):(0,r.elemStyle)(this.img,{height:"".concat(t,"px"),width:"".concat(e,"px")}),(0,r.elemStyle)(this.img,{border:0,left:"".concat(c,"px"),top:"".concat(u,"px")})}},{key:"letterboxFit",value:function(){var t,e,n,i,o=this._customAspect||this.bestImage().aspect,s=this.containerWidth(),a=this.containerHeight(),l=this.containerAspect();!1===this.options.stillSnap?(n=s,e=a):l>o?(e=a,n=Math.round(e*o)):l<=o&&(n=s,e=Math.round(n/o));var c=Math.max(0,a-e),h=Math.max(0,s-n),d=t=Math.round(c/2),p=i=Math.round(h/2);2*t<=this.stretchLimit()&&(t=0,d=0,e=a),2*p<=this.stretchLimit()&&(p=0,i=0,n=s);var f=this.options.backgroundColor||"#000";return"transparent"===f||new u.Color(f).alpha(.8).toRgbaOrHex(),(0,r.elemIsHidden)(this.elem)||!(0,r.elemInDom)(this.elem)?((0,r.elemStyle)(this.img,{height:"100%",width:"100%"}),d=t=i=0):(0,r.elemStyle)(this.img,{height:"".concat(e,"px"),width:"".concat(n,"px")}),(0,r.elemStyle)(this.img,{borderTop:"".concat(d,"px solid ").concat(f),borderBottom:"".concat(t,"px solid ").concat(f),borderLeft:"".concat(p,"px solid ").concat(f),borderRight:"".concat(i,"px solid ").concat(f),left:0,top:0})}}],n&&c(e.prototype,n),h&&c(e,h),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n,h}()}(window.Wistia)}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var n=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t](n,n.exports,__webpack_require__),n.exports}__webpack_require__.d=(t,e)=>{for(var n in e)__webpack_require__.o(e,n)&&!__webpack_require__.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={},Color,addInlineCss,asyncChain,clearTimeouts,controlMultiplierEstimatedByWidth,doTimeout,eV1HostWithPort,eV1Protocol,elemAddClass,elemAnimate,elemAppend,elemBind,elemContainsOffset,elemFromObject,elemHeight,elemInDom,elemIsInside,elemPrepend,elemRebind,elemRemove,elemRemoveClass,elemStyle,elemUnbind,elemUnbindAllInside,elemWidth,flexibleDuration,getCssGradient,notSetOrTrue,ref,ref1,ref2,ref3,sanePlayerColor,scrollLeft,scrollTop,seqId,bind;bind=function(t,e){return function(){return t.apply(e,arguments)}},Wistia,Wistia.Popover||(__webpack_require__(1),__webpack_require__(612),__webpack_require__(613),Color=__webpack_require__(9).Color,ref=__webpack_require__(27),eV1HostWithPort=ref.eV1HostWithPort,eV1Protocol=ref.eV1Protocol,ref1=__webpack_require__(143),scrollTop=ref1.scrollTop,scrollLeft=ref1.scrollLeft,flexibleDuration=__webpack_require__(47).flexibleDuration,asyncChain=__webpack_require__(107).asyncChain,notSetOrTrue=__webpack_require__(108).notSetOrTrue,ref2=__webpack_require__(81),doTimeout=ref2.doTimeout,clearTimeouts=ref2.clearTimeouts,controlMultiplierEstimatedByWidth=__webpack_require__(207).controlMultiplierEstimatedByWidth,seqId=__webpack_require__(72).seqId,getCssGradient=__webpack_require__(56).getCssGradient,ref3=__webpack_require__(63),addInlineCss=ref3.addInlineCss,elemAddClass=ref3.elemAddClass,elemAnimate=ref3.elemAnimate,elemAppend=ref3.elemAppend,elemBind=ref3.elemBind,elemContainsOffset=ref3.elemContainsOffset,elemFromObject=ref3.elemFromObject,elemHeight=ref3.elemHeight,elemInDom=ref3.elemInDom,elemIsInside=ref3.elemIsInside,elemPrepend=ref3.elemPrepend,elemRebind=ref3.elemRebind,elemRemove=ref3.elemRemove,elemRemoveClass=ref3.elemRemoveClass,elemStyle=ref3.elemStyle,elemUnbind=ref3.elemUnbind,elemUnbindAllInside=ref3.elemUnbindAllInside,elemWidth=ref3.elemWidth,sanePlayerColor=__webpack_require__(142).sanePlayerColor,Wistia.Popover=function(){function t(t){var e,n;this.video=t,this.fitVideo=bind(this.fitVideo,this),this.show=bind(this.show,this),this.showAndPlay=bind(this.showAndPlay,this),this.showHandler=bind(this.showHandler,this),this.showAndMaybePlay=bind(this.showAndMaybePlay,this),this.hide=bind(this.hide,this),this.fitCloseButton=bind(this.fitCloseButton,this),this.fitOverlay=bind(this.fitOverlay,this),this.fit=bind(this.fit,this),this.fitEmbedContainer=bind(this.fitEmbedContainer,this),this.fitNatural=bind(this.fitNatural,this),this._closeButtonBlurStyle=bind(this._closeButtonBlurStyle,this),this._closeButtonFocusStyle=bind(this._closeButtonFocusStyle,this),this._onLeaveVideoOrCloseButton=bind(this._onLeaveVideoOrCloseButton,this),this._onEnterVideoOrCloseButton=bind(this._onEnterVideoOrCloseButton,this),this.setupBindings=bind(this.setupBindings,this),this.unexpandPlayButtonOnMouseOut=bind(this.unexpandPlayButtonOnMouseOut,this),this.unexpandPlayButtonImmediately=bind(this.unexpandPlayButtonImmediately,this),this.unexpandPlayButton=bind(this.unexpandPlayButton,this),this.expandPlayButton=bind(this.expandPlayButton,this),this.setupThumbnailAfterMediaData=bind(this.setupThumbnailAfterMediaData,this),this.inlineHtmlHandler=bind(this.inlineHtmlHandler,this),this.video.isRemoved()?this.video.notice("abort popover initialization, video already removed"):(this.info("init"),this.uuid=seqId(),this._embedContainer=this.video._embedContainer,this._popoverContainer=this.video._popoverContainer,elemAddClass(this._embedContainer,"wistia_popover_embed"),this._scaleFactor=this.containerScaleFactor()||1,this._thumbContainer=elemFromObject({id:seqId()+".thumb_container",class:"wistia_click_to_play",style:{position:"relative"}}),"inline"===this.video.container.style.display&&elemStyle(this._thumbContainer,{display:"inline"}),e=this.video._gatherOptions(),this.info("opts",e),"link"===e.popoverContent?(this.video.container.innerHTML="","WISTIA-PLAYER"===this.video.container.tagName&&(this._thumbContainer.slot=this.video.container.uniqueId+"-popover-link"),this.video.container.appendChild(this._thumbContainer)):elemAppend(this.video.container,this._thumbContainer),"thumbnail"===e.popoverContent||null==e.popoverContent?(this._hasThumbnail=!0,this.video.hasData(this.setupThumbnailAfterMediaData)):(this.info("init with bare html",this.video._startingHtml),this._thumbContainer.innerHTML=this.video._startingHtml,elemBind(this._thumbContainer,"keydown",this.inlineHtmlHandler),elemBind(this._thumbContainer,"click",this.inlineHtmlHandler)),this.resizeToContainer(),this.createCloseButton(),this.hide(!0),this.setupBindings(),this.video.embedded((n=this,function(){if(n._popoverContainer.setAttribute("aria-label",n.video.name()),n.video._attrs.popoverShowOnLoad)return!1===n.video._attrs.autoplay?n.show():n.showAndPlay(),n.video.focus(),n._closeButtonSetVisibleStyle()})))}return t.prototype.inlineHtmlHandler=function(t){var e,n,i,o;return e=t instanceof KeyboardEvent,n=t instanceof MouseEvent,o=null!=t?t.target.tagName.toLowerCase():void 0,i=null!=t?t.keyCode:void 0,e&&("button"===o&&(13===i||32===i)||"a"===o&&13===i)||n?(t.preventDefault(),this.showHandler(t)):void 0},t.prototype.isMobile=function(){return Wistia.detect.ipad||Wistia.detect.iphone||Wistia.detect.android},t.prototype.setupThumbnailAfterMediaData=function(){return this.info("setupThumbnailAfterMediaData"),asyncChain(this.video.uuid+".popover.setup_thumbnail",[(t=this,function(){return t.initThumbnail(),elemStyle(t.thumbnail.elem,{cursor:"pointer"})}),function(t){return function(){return t.resizeToContainer()}}(this),function(t){return function(){return t.monitor()}}(this)]);var t},t.prototype.initThumbnail=function(){var t,e,n,i;return e={tabbable:!0,fitStrategy:"cropfill",onActivate:this.showHandler,images:this.video._impl.thumbnailAssets(),borderRadius:this.video._attrs.playerBorderRadius*this._scaleFactor||0,bigPlayButton:!!notSetOrTrue(this.video._attrs.bigPlayButton)&&(t={backgroundGradientCss:(null!=(n=this.video._attrs.playerColorGradient)?n.on:void 0)?getCssGradient(this.video._attrs.playerColorGradient):void 0,color:this.video.playerColor(),contrastIcons:this.video._attrs.contrastIcons,opaqueControls:this.video._attrs.opaqueControls,tabbable:!1,borderRadius:this.video._attrs.bigPlayButtonBorderRadius*this._scaleFactor||0},this.shouldAnimate()&&(notSetOrTrue(this.video._opts.popoverHoverDuration)&&(t.bottomText=this.shortHumanDuration(this.video.duration())),this.video._opts.popoverHoverName&&(t.topText=this.video.name())),t),onMouseover:this.shouldAnimate()?this.expandPlayButton:null,onMouseout:this.shouldAnimate()?this.unexpandPlayButtonOnMouseOut:null},null!=this.video._opts.thumbnailAltText&&(e.altText=this.video._opts.thumbnailAltText),this.thumbnail=new Wistia.Thumbnail(this._thumbContainer,e),null!=(i=this.thumbnail.bigPlayButton)&&"function"==typeof i.removeBottomText&&i.removeBottomText(),this.thumbnail},t.prototype.shortHumanDuration=function(t){return flexibleDuration(t)},t.prototype.shouldAnimate=function(){return!0===this.video._attrs.popoverAnimateThumbnail},t.prototype.expandPlayButton=function(){var t,e;return null!=(t=this.thumbnail)&&null!=(e=t.bigPlayButton)?e.cover():void 0},t.prototype.unexpandPlayButton=function(){var t,e;return null!=(t=this.thumbnail)&&null!=(e=t.bigPlayButton)?e.uncover():void 0},t.prototype.unexpandPlayButtonImmediately=function(){var t,e;return null!=(t=this.thumbnail)&&null!=(e=t.bigPlayButton)?e.uncoverImmediately():void 0},t.prototype.unexpandPlayButtonOnMouseOut=function(t){if(!elemContainsOffset(this.thumbnail.elem,t.pageX,t.pageY))return this.unexpandPlayButton()},t.prototype.fixedSizeTooBigForWindow=function(){return this.video._popoverSize().width+160>elemWidth(window)||this.video._popoverSize().height+160>elemHeight(window)},t.prototype.isResponsive=function(){return!this.isFixedSize()},t.prototype.isFixedSize=function(){return!!this.video._opts.popoverSize},t.prototype.monitor=function(){return this.info("monitor container size"),this._lastWidth=this.containerWidth(),this._lastHeight=this.containerHeight(),Wistia.eventLoop.add(this.video.uuid+"_popover.watch_popover_thumb_elem",300,(t=this,function(){if(t._lastWidth===t.containerWidth()&&t._lastHeight===t.containerHeight()||(t.preventAnimation(),t.resizeToContainer(),t.allowAnimation(),t._lastWidth=t.containerWidth(),t._lastHeight=t.containerHeight()),t._thumbContainer&&!elemInDom(t._thumbContainer))return elemAppend(t.video.container,t._thumbContainer)}));var t},t.prototype.resizeToContainer=function(){var t,e,n,i,o,r,s;return r=this.containerHeight(),"WISTIA-PLAYER"===this.video.container.tagName&&this._hasThumbnail&&""===this.video.container.style.width&&""===this.video.container.style.height&&(r=this.video.heightForWidth(this.containerWidth())),this._hasThumbnail&&elemStyle(this._thumbContainer,{height:r+"px",width:this.containerWidth()+"px"}),null!=(e=this.thumbnail)&&e.fit(),this._scaleFactor=this.containerScaleFactor()||1,s=this.video._attrs.playerBorderRadius*this._scaleFactor||0,null!=(n=this.thumbnail)&&n.setBorderRadius(s),t=this.video._attrs.bigPlayButtonBorderRadius*this._scaleFactor||0,null!=(i=this.thumbnail)&&null!=(o=i.bigPlayButton)?o.setBorderRadius(t):void 0},t.prototype.containerWidth=function(){return elemWidth(this.video.container)},t.prototype.containerHeight=function(){return elemHeight(this.video.container)},t.prototype.containerScaleFactor=function(){return Math.min(1.3,Math.max(.6,controlMultiplierEstimatedByWidth(this.containerWidth())))||1},t.prototype.setupBindings=function(){var t;return this.video.videoFoam()||elemRebind(window,"resize",this.fit),this.video.rebind("cancel-fullscreen",this.fitNatural),this.video.rebind("widthchange",this.fitEmbedContainer),this.video.rebind("widthchange",this.fit),this.video.rebind("heightchange",this.fit),null==this._showIfHidden&&(this._showIfHidden=(t=this,function(){if(!t._visible)return t.show()})),this.video.rebind("play",this._showIfHidden),this.video.rebind("afterreplace",this.setupBindings),elemRebind(this._embedContainer,"mouseover",this._onEnterVideoOrCloseButton),elemRebind(this._embedContainer,"mouseout",this._onLeaveVideoOrCloseButton),elemRebind(this._closeButton,"mouseover",this._onEnterVideoOrCloseButton),elemRebind(this._closeButton,"mouseout",this._onLeaveVideoOrCloseButton),elemRebind(this._closeButton,"focus",this._closeButtonFocusStyle),elemRebind(this._closeButton,"blur",this._closeButtonBlurStyle)},t.prototype._onEnterVideoOrCloseButton=function(t){var e;if(this._visible)return(e=t.target||t.srcElement)&&(elemIsInside(e,this._embedContainer)||elemIsInside(e,this._closeButton))?this._closeButtonSetVisibleStyle():void 0},t.prototype._onLeaveVideoOrCloseButton=function(t){var e;if((e=t.relatedTarget||t.toElement)&&elemIsInside(e,this._overlay))return elemStyle(this._closeButton,{opacity:0})},t.prototype._closeButtonFocusStyle=function(t){return elemStyle(this._closeButton,{outline:"2px solid white"})},t.prototype._closeButtonBlurStyle=function(t){return elemStyle(this._closeButton,{outline:"none"})},t.prototype._closeButtonSetVisibleStyle=function(){return elemStyle(this._closeButton,{opacity:.8})},t.prototype.unbindAll=function(){return elemUnbind(window,"resize",this.fit),this._overlay&&this._hideOnClick&&elemUnbind(this._overlay,"click",this._hideOnClick),this._hideOnEscape&&elemUnbind(document,"keyup",this._hideOnEscape),this.video.unbind("widthchange",this.fitEmbedContainer),this.video.unbind("widthchange",this.fit),this.video.unbind("heightchange",this.fit),this._showIfHidden&&this.video.unbind("play",this._showIfHidden),elemUnbindAllInside(this._thumbContainer),elemUnbind(this._thumbContainer,"keydown",this.inlineHtmlHandler),elemUnbind(this._thumbContainer,"mousedown",this.inlineHtmlHandler),elemUnbind(this._dummyStartFocusTrap,"focus"),elemUnbind(this._dummyEndFocusTrap,"focus")},t.prototype.remove=function(){var t;return null!=(t=this.thumbnail)&&t.destroy(),this.unbindAll(),Wistia.eventLoop.remove(this.video.uuid+"_popover"),clearTimeouts(this.video.uuid+"_popover"),elemRemove(this._thumbContainer),elemRemove(this._overlay),elemRemove(this._closeButton),elemRemove(this._captionElem),this._thumbContainer=this._overlay=this._captionElem=this.thumbnail=null},t.prototype.letViewportReturnToNaturalSize=function(){return this._overlay&&elemStyle(this._overlay,{height:"100%",width:"100%"}),this._closeButton&&elemStyle(this._closeButton,{left:0}),this._embedContainer&&elemStyle(this._embedContainer,{bottom:"",left:0,right:"",top:0}),this.video.width(100,{constrain:!0})},t.prototype.fitNatural=function(){return this.letViewportReturnToNaturalSize(),this.fit(),this.video.monitor()},t.prototype.fitEmbedContainer=function(t){var e;if((this.isResponsive()&&this._embedContainer.style.width!==t||this.fixedSizeTooBigForWindow())&&(e="WISTIA-PLAYER"===this.video.container.tagName?this.getEmbedContainerWidth():t,elemStyle(this._embedContainer,{height:this.video.heightForWidth(e)+"px",width:e+"px"})),this.isFixedSize()&&this._embedContainer.style.width!==this.video._popoverSize().width&&!this.fixedSizeTooBigForWindow())return elemStyle(this._embedContainer,{height:this.video._popoverSize().height+"px",width:this.video._popoverSize().width+"px"})},t.prototype.fit=function(){var t;if(!(this._fitCount>20))return this._fitCount+=1,this.video.embedded((t=this,function(){return t._overlay?(elemStyle(t._overlay,{height:"100%",width:"100%"}),setTimeout((function(){return t._fitCount=0,t.fitOverlay()}),1)):t._fitCount=0,t._closeButton&&(elemStyle(t._closeButton,{left:0}),requestAnimationFrame((function(){return t.fitCloseButton()}))),requestAnimationFrame((function(){return t.fitVideo(),t.resizeToContainer()}))}))},t.prototype.bestOverlayHeight=function(){return Math.max(elemHeight(document),elemHeight(window))},t.prototype.bestOverlayWidth=function(){return Math.max(elemWidth(document),elemWidth(window))},t.prototype.createCloseButton=function(){var t;return this._closeButton=elemFromObject({id:this._embedContainer.id+"_popover_close_button",class:"wistia_placebo_close_button",alt:"Close",tagName:"button",role:"button",tabindex:-1,"aria-label":"Close",style:{background:"transparent",border:"none",cursor:"pointer",height:"34px",left:0,opacity:0,position:"absolute",top:0,width:"34px",zIndex:10002,overflow:"hidden",margin:0,padding:0},childNodes:[{tagName:"img",alt:"Click to close video",style:{height:"34px",width:"34px",position:"absolute",maxWidth:"none",right:"2px",top:"1px"}}]}),null==this._hideOnClickClose&&(this._hideOnClickClose=(t=this,function(){return t.hide()})),elemRebind(this._closeButton,"click",this._hideOnClickClose),elemAppend(this._popoverContainer,this._closeButton)},t.prototype._closeButtonBase64=function(){return"data:image/gif;base64,R0lGODlhRABEAIABAP///////yH5BAEAAAEALAAAAABEAEQAAAKVjI+py+0Po5y02oszBPxyoGFfR41gWJlnpKJWu5muJzvw/NbLjefjruvRfgiecPg5GI/IzpLZfEKjyelMtbKisFoXltQVfcHhkkxaZtzQ6WIwwG4/42E03Rq/M+/6Xr9/RTTxVkc2aNiWqLjI2Oj4CBkpOUlZaXmJmam5ydnp+QkaKjpKWmp6ipqqusra6voKGyvbUwAAOw=="},t.prototype.createAndAddDummyFocusTraps=function(){var t;return this._dummyStartFocusTrap=elemFromObject({id:this.video.uuid+"_start_focus",tabindex:0}),this._dummyEndFocusTrap=elemFromObject({id:this.video.uuid+"_end_focus",tabindex:0}),elemPrepend(this._popoverContainer,this._dummyStartFocusTrap),elemAppend(this._popoverContainer,this._dummyEndFocusTrap),this._unbindFocusOnFocusTrapStart&&this._unbindFocusOnFocusTrapStart(),this._unbindFocusOnFocusTrapStart=elemBind(this._dummyStartFocusTrap,"focus",(t=this,function(e){return t._focusHelper=!0,t._dummyEndFocusTrap.focus()})),this._unbindFocusOnFocusTrapEnd&&this._unbindFocusOnFocusTrapEnd(),this._unbindFocusOnFocusTrapEnd=elemBind(this._dummyEndFocusTrap,"focus",function(t){return function(e){return!0===t._focusHelper?(t._focusHelper=!1,t._captionElem?t._captionElem.focus():t._closeButton.focus()):t.video.focus()}}(this))},t.prototype.createOverlay=function(){var t;return this.destroyOverlay(),this.info("createOverlay"),this._overlay=elemFromObject({id:this._embedContainer.id+"_overlay",class:"wistia_popover_overlay",style:{backgroundImage:"url("+eV1Protocol()+"//"+eV1HostWithPort()+"/assets/images/blank.gif)",height:this.bestOverlayHeight()+"px",left:0,opacity:0,position:"absolute",top:0,width:this.bestOverlayWidth()+"px",zIndex:1e4}}),elemStyle(this._overlay,{backgroundColor:this._overlayColor().toRgba()}),elemAppend(document.body,this._overlay),this._blockClick=!0,null==this._hideOnClick&&(this._hideOnClick=(t=this,function(){if(t.info("hideOnClick",t._blockClick),!t._blockClick)return t.hide()})),elemRebind(this._overlay,"click",this._hideOnClick),doTimeout(this.video.uuid+".popover.allow_click",function(t){return function(){return t._blockClick=!1}}(this),600)},t.prototype._popoverBorderWidth=function(){var t;return t=this.video._attrs.popoverBorderWidth||0,String(t).replace(/\D/g,"")},t.prototype._overlayColor=function(){var t,e;return t=sanePlayerColor(this.video._attrs.popoverOverlayColor||"000000"),e=null!=this.video._attrs.popoverOverlayOpacity?this.video._attrs.popoverOverlayOpacity:.5,new Color(t).alpha(e)},t.prototype._playerColor=function(){return new Color(this.video.playerColor()).alpha(.9)},t.prototype.destroyOverlay=function(){return this.info("destroyOverlay"),elemRemove(this._overlay),this._overlay=null},t.prototype.destroyDummyFocusElems=function(){return elemRemove(this._dummyStartFocusTrap),elemRemove(this._dummyEndFocusTrap)},t.prototype.fitOverlay=function(){if(this._visible&&this._overlay)return elemStyle(this._overlay,{height:this.bestOverlayHeight()+"px",width:this.bestOverlayWidth()+"px"})},t.prototype.closeButtonHeight=function(){return Math.min(18,this.bestVideoBoundingBox().left)},t.prototype.closeButtonWidth=function(){return Math.min(21,this.bestVideoBoundingBox().left)},t.prototype.fitCloseButton=function(){return elemStyle(this._closeButton,{width:this.closeButtonWidth()+"px",height:this.closeButtonHeight()+"px"})},t.prototype.hide=function(t){var e,n,i,o,r,s,a;return null==t&&(t=!1),this.info("hide"),this.video.trigger("beforepopoverhide"),s=this._visible,this._visible=!1,elemRemoveClass(document.body,"wistia_popover_mode"),(null!=(i=this.video._opts)?i.popoverResume:void 0)&&this.video.time()>0&&this.video._saveState(),a=this,n=function(){var t,e,n;return elemStyle([a._embedContainer,a._closeButton],{boxShadow:"",position:"absolute",top:0}),a._closeButton.setAttribute("tabindex",-1),t=(null!=(e=document.getElementsByTagName("html"))&&null!=(n=e[0])?n.dir:void 0)||"",elemStyle([a._embedContainer,a._closeButton],"rtl"===t?{right:"-99999px"}:{left:"-99999px"}),a.destroyOverlay(),a.destroyCaption(),a.destroyDummyFocusElems(),!a.video._attrs||a.video._attrs.popoverPreventScroll?a.allowScroll():a.allowHorizontalScroll()},"playing"===this.video.state()&&(r=this.video.isControlEnabled("playPauseNotifier"),this.video.setControlEnabled("playPauseNotifier",!1),this.video.on("pause",function(t){return function(){return doTimeout(t.uuid+".disable_notifier_on_hide",(function(){return t.video.setControlEnabled("playPauseNotifier",r)}),1),t.video.unbind}}(this)),this.video.pause()),s&&doTimeout(this.uuid+".delayed_rebuild",function(t){return function(){return t.video.rebuild()}}(this),600),this.video.embedded(function(t){return function(){if(t.video._pauseEventLoop(),t.shouldAnimate())return t.unexpandPlayButtonImmediately()}}(this)),this.video.trigger("popoverhide"),this.video.container.dispatchEvent(new CustomEvent("popover-hide")),null!=(o=this._prevActiveEelement)&&o.focus(),!0===t?n():((e=this.animateArgs()).push(n),this.animateClose.apply(this,e))},t.prototype.animateClose=function(t,e,n){var i;if(null==t&&(t=!0),this.info("animateClose",t,e),this._overlay&&(t||elemStyle(this._overlay,{opacity:0}),setTimeout((i=this,function(){return elemAnimate(i._overlay,{opacity:0})}),1)),t||elemStyle([this._embedContainer,this._closeButton],{opacity:0}),setTimeout(function(t){return function(){return elemAnimate([t._embedContainer,t._closeButton],{opacity:0,transform:t.transformProp(e)},{callback:n})}}(this),1),this._captionElem)return t||elemStyle(this._captionElem,{opacity:0}),setTimeout(function(t){return function(){return elemAnimate(t._captionElem,{opacity:0,transform:t.transformProp(e)})}}(this),1)},t.prototype.showAndMaybePlay=function(){return this.video._attrs.popoverDisableAutoplay?this.show():this.showAndPlay()},t.prototype.showHandler=function(t){var e;if(this.showAndMaybePlay(),setTimeout((e=this,function(){return e.video.focus()}),0),"click"!==(null!=t?t.type:void 0))return this._closeButtonSetVisibleStyle()},t.prototype.showAndPlay=function(){return this.info("showAndPlay"),this.show(),this.video.play()},t.prototype.transformProp=function(t){return"up"===t?"translate(0, "+Math.round(this.fullHeight()/6)+"px)":"down"===t?"translate(0, "+-Math.round(this.fullHeight()/6)+"px)":"left"===t?"translate("+Math.round(this.fullWidth()/6)+"px, 0)":"right"===t?"translate("+-Math.round(this.fullWidth()/6)+"px, 0)":""},t.prototype.animateOpen=function(t,e){var n;if(null==t&&(t=!0),this.info("animateOpen",t,e),t||elemStyle(this._overlay,{opacity:1}),t||elemStyle([this._embedContainer],{opacity:1}),elemStyle([this._embedContainer],{transform:this.transformProp(e)}),setTimeout((n=this,function(){return elemAnimate([n._embedContainer],{opacity:1,transform:"translate(0px, 0px)"}),elemAnimate(n._overlay,{opacity:1})}),1),this._captionElem)return t||elemStyle(this._captionElem,{opacity:1}),elemStyle(this._captionElem,{transform:this.transformProp(e)}),setTimeout(function(t){return function(){return elemAnimate(t._captionElem,{opacity:1,transform:"translate(0px, 0px)"})}}(this),1)},t.prototype.animateArgs=function(){return"fade"===this.video._attrs.popoverAnimation?[!0,"none"]:"slide"===this.video._attrs.popoverAnimation?this.slideOrFadeBasedOnPlayerType():"none"===this.video._attrs.popoverAnimation?[!1,"none"]:this.slideOrFadeBasedOnPlayerType()},t.prototype.slideOrFadeBasedOnPlayerType=function(){return[!0,"none"]},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){var t,e;return this.info("show"),this._visible=!0,elemAddClass(document.body,"wistia_popover_mode"),clearTimeouts(this.uuid+".delayed_rebuild"),this.video._attrs.popoverPreventScroll?this.preventScroll():this.preventHorizontalScroll(),this._closeButton.childNodes[0].setAttribute("src",this._closeButtonBase64()),this._closeButton.setAttribute("tabindex",0),this.createOverlay(),this.applyVisibleStyles(),this.addCaption(),this.createAndAddDummyFocusTraps(),this.fitVideo(),this.animateOpen.apply(this,this.animateArgs()),this.setupVisibleBindings(),this._prevActiveEelement=document.activeElement,(null!=(t=this.video._opts)?t.popoverResume:void 0)&&this.video.unsuspend(),this.video.embedded((e=this,function(){return e.video._unpauseEventLoop()})),this.video.trigger("popovershow"),this.video.container.dispatchEvent(new CustomEvent("popover-show"))},t.prototype.preventScroll=function(){if(!this._savedCss)return this._savedCss={height:document.body.style.height||"",overflow:document.body.style.overflow||""},elemStyle(document.body,{height:"100%",overflow:"hidden"})},t.prototype.allowScroll=function(){if(this._savedCss)return elemStyle(document.body,{height:this._savedCss.height,overflow:this._savedCss.overflow}),this._savedCss=null},t.prototype.preventHorizontalScroll=function(){if(!this._savedCss)return this._savedCss={width:document.body.style.width||"","overflow-x":document.body.style["overflow-x"]||""},elemStyle(document.body,{width:"100%","overflow-x":"hidden"})},t.prototype.allowHorizontalScroll=function(){if(this._savedCss)return elemStyle(document.body,{width:this._savedCss.width,"overflow-x":this._savedCss["overflow-x"]}),this._savedCss=null},t.prototype.setupVisibleBindings=function(){var t;return null==this._hideOnEscape&&(this._hideOnEscape=(t=this,function(e){if(27===e.keyCode&&!e.escapeHandled)return t.info("hide on escape"),t.hide(),elemUnbind(document,"keyup",t._hideOnEscape)})),elemRebind(document,"keyup",this._hideOnEscape)},t.prototype.applyVisibleStyles=function(){var t,e,n,i,o,r,s,a,l,u;return n=this._popoverBorderWidth(),t=new Color(this.video._attrs.popoverBorderColor||"#ffffff").toHex(),u=1,this.video._impl&&this.video._impl.ui&&(u=this.video._impl.ui.scale()),e=this.video._opts.popoverborderradius||this.video._attrs.popoverBorderRadius||this.video._attrs.playerBorderRadius*u||0,s=String(e).replace(/\D/g,""),o=null!=this.video._opts.popoverBoxShadowBlur?this.video._opts.popoverBoxShadowBlur:50,a=String(o).replace(/\D/g,""),r=null!=this.video._opts.popoverBoxShadowSpread?this.video._opts.popoverBoxShadowSpread:20,l=String(r).replace(/\D/g,""),i=null==this.video._attrs.popoverBoxShadow||this.video._attrs.popoverBoxShadow?"0 0 "+a+"px "+l+"px rgba(0,0,0,.2)":"",elemStyle(this._embedContainer,{border:n+"px solid #"+t,borderRadius:s+"px",boxShadow:i,boxSizing:"content-box",left:0,opacity:0,position:"absolute",top:0,zIndex:10001})},t.prototype.addCaption=function(){if(this.video._attrs.popoverCaption||this.video._attrs.popoverCaptionContainer)return this.destroyCaption(),this.info("addCaption"),this._captionElem=elemFromObject({id:this.video.uuid+"_popover_caption",tabindex:"-1",style:{color:"#ffffff",fontFamily:"Verdana, Geneva, sans-serif",fontSize:"14px",left:0,opacity:0,position:"absolute",top:0,width:0,zIndex:10001}}),elemAppend(this._popoverContainer,this._captionElem),this.video._attrs.popoverCaption?(this.info("build new caption with content",this.video._attrs.popoverCaption),this._captionContainer?this._captionContainer.style.display="block":this._captionContainer=elemFromObject({innerHTML:this.video._attrs.popoverCaption,style:{padding:"10px 0 0 0"}}),elemAppend(this._captionElem,this._captionContainer)):this.video._attrs.popoverCaptionContainer?(this.info("use caption container",this.video._attrs.popoverCaptionContainer),this._captionContainer?this._captionContainer.style.display="block":this._captionContainer=document.getElementById(this.video._attrs.popoverCaptionContainer),elemStyle(this._captionContainer,{display:"block"}),elemAppend(this._captionElem,this._captionContainer)):void 0},t.prototype.destroyCaption=function(){return this.info("destroyCaption"),this._captionContainer&&(elemStyle(this._captionContainer,{display:"none"}),elemAppend(this._popoverContainer,this._captionContainer)),elemRemove(this._captionElem),this._captionElem=null},t.prototype.fitCaption=function(){if(this._captionElem)return elemStyle(this._captionElem,{left:parseInt(elemStyle(this._embedContainer,"left"),10)+"px",top:parseInt(elemStyle(this._embedContainer,"top"),10)+this.fullHeight()+"px",width:this.fullWidth()+"px"})},t.prototype.height=function(t,e){return null==e&&(e={}),null!=t?(this.preventAnimation(),elemStyle(this.video.container,{height:t+"px"}),e.constrain&&elemStyle(this.video.container,{width:this.video.widthForHeight(t)+"px"}),this.resizeToContainer(),this.allowAnimation(),this):elemHeight(this.video.container)},t.prototype.width=function(t,e){return null==e&&(e={}),null!=t?(this.preventAnimation(),elemStyle(this.video.container,{width:t+"px"}),e.constrain&&elemStyle(this.video.container,{height:this.video.heightForWidth(t)+"px"}),this.resizeToContainer(),this.allowAnimation(),this):elemWidth(this.video.container)},t.prototype.preventAnimation=function(){return null==this._wistiaNoAnimateStyle&&(this._wistiaNoAnimateStyle=addInlineCss(this._thumbContainer,".wistia_no_animate * {\ntransition: none !important;\n-mozilla-transition: none !important;\n-ms-transition: none !important;\n-o-transition: none !important;\n-webkit-transition: none !important;\n}")),elemAddClass(this._thumbContainer,"wistia_no_animate")},t.prototype.allowAnimation=function(){return this._thumbContainer.offsetTop,elemRemoveClass(this._thumbContainer,"wistia_no_animate")},t.prototype.fullWidth=function(){return this.video.width()+2*this._popoverBorderWidth()},t.prototype.fullHeight=function(){return this.video.height()+2*this._popoverBorderWidth()},t.prototype.fitVideo=function(){var t;if(this._visible)return this.video.embedded((t=this,function(){var e,n,i,o;return t.video._doMonitor(),e=t.bestVideoBoundingBox(),"rtl"===((null!=(i=document.getElementsByTagName("html"))&&null!=(o=i[0])?o.dir:void 0)||"")?(elemStyle(t._embedContainer,{right:e.left+"px",top:e.top+"px"}),elemStyle(t._closeButton,{right:e.right+17+"px",top:e.top+"px"})):(elemStyle(t._embedContainer,{left:e.left+"px",top:e.top+"px"}),n=t.closeButtonWidth()+10>e.left?(e.left-t.closeButtonWidth())/2:10,elemStyle(t._closeButton,{left:e.right+n+"px",top:e.top-2+"px"})),t.fitCaption()}))},t.prototype.bestVideoBoundingBox=function(){var t,e,n,i,o,r;return i=elemWidth(window),n=elemHeight(window),r=this.fullWidth(),t=this.fullHeight(),e=scrollLeft()+Math.round((i-r)/2),{top:o=scrollTop()+Math.round((n-t)/2),left:e,right:e+r,bottom:o+t,width:r,height:t}},t.prototype.getEmbedContainerWidth=function(){var t,e,n,i,o;return n=(o=elemWidth(window))/(i=elemHeight(window)),t=(e=Math.min(o,i))>500?160:Math.abs(n-this.video.aspect())<.2?.2*e:.1*e,n>this.video.aspect()?Math.round((i-t)*this.video.aspect()):o-t},t}(),Wistia.mixin(Wistia.Popover.prototype,Wistia.logHelpers),Wistia.Popover.prototype._logPrefix=function(){var t,e;return["popover",(null!=(t=this.video)?t.hashedId():void 0)||"no hashedId",null!=(e=this._thumbContainer)?e.id:void 0]});
//# debugId=449d1a57-9dbf-4aad-8e92-dd2c29dda820
//# sourceMappingURL=popover.js.map