/* VimeoPlayer - v3.36.3 - 2021-06-16 - https://player.vimeo.com/NOTICE.txt */
!function(t){"use strict";var n="undefined"!=typeof globalThis?
globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?
global:"undefined"!=typeof self?self:{};function i(t,n,i){return
t(i={path:n,exports:{},require:function(t,n){return function(){throw new
Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
(null==n&&i.path)}},i.exports),i.exports}var e=i((function(t,i){
/*!
* @overview es6-promise - a tiny implementation of Promises/A+.
* @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and
contributors (Conversion to ES6 API by Jake Archibald)
* @license Licensed under MIT license
* See https://raw.githubusercontent.com/stefanpenner/es6-
promise/master/LICENSE
* @version v4.2.6+9869a4bc
*/
t.exports=function(){function t(t){return"function"==typeof t}var i=Array.isArray?
Array.isArray:function(t){return"[object
Array]"===Object.prototype.toString.call(t)},e=0,r=void 0,o=void 0,u=function(t,n)
{d[e]=t,d[e+1]=n,2===(e+=2)&&(o?o(v):p())},a="undefined"!=typeof window?window:void
0,s=a||{},c=s.MutationObserver||s.WebKitMutationObserver,l="undefined"==typeof
self&&"undefined"!=typeof process&&"[object
process]"==={}.toString.call(process),f="undefined"!=typeof
Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof
MessageChannel;function h(){var t=setTimeout;return function(){return t(v,1)}}var
d=new Array(1e3);function v(){for(var t=0;t-1},T=i((function(t){(t.exports=function(t,n)
{var i,e,r,o,u;return arguments.length<2||"string"!=typeof t?
(o=n,n=t,t=null):o=arguments[2],null==t?(i=r=!0,e=!1):
(i=E.call(t,"c"),e=E.call(t,"e"),r=E.call(t,"w")),u={value:n,configurable:i,enumera
ble:e,writable:r},o?p(g(o),u):u}).gs=function(t,n,i){var e,r,o,u;return"string"!
=typeof t?(o=i,i=n,n=t,t=null):o=arguments[3],null==n?n=void 0:y(n)?null==i?i=void
0:y(i)||(o=i,i=void 0):(o=n,n=i=void 0),null==t?(e=!0,r=!1):
(e=E.call(t,"c"),r=E.call(t,"e")),u={get:n,set:i,configurable:e,enumerable:r},o?
p(g(o),u):u}})),S=function(t){if(!function(t){return!!t&&("symbol"==typeof t||!!
t.constructor&&"Symbol"===t.constructor.name&&"Symbol"===t[t.constructor.toStringTa
g])}(t))throw new TypeError(t+" is not a symbol");return
t},x=Object.create,A=Object.defineProperties,M=Object.defineProperty,C=Object.proto
type,R=x(null);if("function"==typeof Symbol){o=Symbol;try{String(o()),s=!0}catch(t)
{}}var I=function(){var t=x(null);return function(n){for(var i,e,r=0;t[n+(r||"")];)
++r;return t[n+=r||""]=!0,M(C,i="@@"+n,T.gs(null,(function(t){e||(e=!
0,M(this,i,T(t)),e=!1)}))),i}}();a=function(t){if(this instanceof a)throw new
TypeError("TypeError: Symbol is not a constructor");return u(t)};var O=u=function
t(n){var i;if(this instanceof t)throw new TypeError("TypeError: Symbol is not a
constructor");return s?o(n):(i=x(a.prototype),n=void 0===n?"":String(n),A(i,
{F:T("",n),U:T("",I(n))}))};A(u,{for:T((function(t){return R[t]?
R[t]:R[t]=u(String(t))})),keyFor:T((function(t){var n;for(n in
S(t),R)if(R[n]===t)return n})),hasInstance:T("",o&&o.hasInstance||
u("hasInstance")),isConcatSpreadable:T("",o&&o.isConcatSpreadable||
u("isConcatSpreadable")),iterator:T("",o&&o.iterator||
u("iterator")),match:T("",o&&o.match||u("match")),replace:T("",o&&o.replace||
u("replace")),search:T("",o&&o.search||u("search")),species:T("",o&&o.species||
u("species")),split:T("",o&&o.split||
u("split")),toPrimitive:T("",o&&o.toPrimitive||
u("toPrimitive")),toStringTag:T("",o&&o.toStringTag||
u("toStringTag")),unscopables:T("",o&&o.unscopables||
u("unscopables"))}),A(a.prototype,{constructor:T(u),toString:T("",(function()
{return this.U}))}),A(u.prototype,{toString:T((function(){return"Symbol
("+S(this).F+")"})),valueOf:T((function(){return
S(this)}))}),M(u.prototype,u.toPrimitive,T("",(function(){var
t=S(this);return"symbol"==typeof t?
t:t.toString()}))),M(u.prototype,u.toStringTag,T("c","Symbol")),M(a.prototype,u.toS
tringTag,T("c",u.prototype[u.toStringTag])),M(a.prototype,u.toPrimitive,T("c",u.pro
totype[u.toPrimitive]));var j=function(){var t;if("function"!=typeof Symbol)return!
1;t=Symbol("test symbol");try{String(t)}catch(t){return!1}return!!c[typeof
Symbol.iterator]&&!!c[typeof Symbol.toPrimitive]&&!!c[typeof Symbol.toStringTag]}
()?Symbol:O;if(function(){for(var t=["webkit","moz"],n=0;n>>0,e=arguments[1],r=0;r>>0,e=arguments[1],r=0;r>>0;if(0===e)return!1;var r=0|n,o=Math.max(r>=0?r:e-
Math.abs(r),0);function u(t,n){return t===n||"number"==typeof t&&"number"==typeof
n&&isNaN(t)&&isNaN(n)}for(;othis.length)&&-1!
==this.indexOf(t,n)}),Object.values||(Object.values=function(t){return
Object.keys(t).map((function(n){return t[n]}))}),String.prototype.startsWith||
(String.prototype.startsWith=function(t,n){return this.slice(n||
0,t.length)===t}),String.prototype.endsWith||
(String.prototype.endsWith=function(t,n){return(void 0===n||
n>this.length)&&(n=this.length),this.substring(n-
t.length,n)===t}),Number.isNaN=Number.isNaN||function(t){return"number"==typeof
t&&t!=t},void 0===Number.parseFloat&&(Number.parseFloat=window.parseFloat),void
0===Number.parseInt&&(Number.parseInt=window.parseInt),void
0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof
t&&isFinite(t)}),Array.prototype.entries||(Array.prototype.entries=function(){var
t,n=this,i=0;function e(){}return e.prototype.next=function(){return i>n.length-
1&&(t=!0),t?{value:void 0,done:!0}:{value:[i,n[i++]],done:!
1}},e.prototype[j.iterator]=function(){return this},new
e}),Array.prototype[j.iterator]||(Array.prototype[j.iterator]=function(){var
t,n=this,i=0;function e(){}return e.prototype.next=function(){return i>n.length-
1&&(t=!0),t?{value:void 0,done:!0}:{value:n[i++],done:!
1}},e.prototype[j.iterator]=function(){return this},new e});var D=window.Map||
function(){var t,n,i,e=function(){n=[],i=[]},r=function(i){return-
1<(t=n.indexOf(i))};return e(),{get size(){return
n.length},has:r,clear:e,get:function(t){return i[n.indexOf(t)]},keys:function()
{return n.slice()},values:function(){return i.slice()},entries:function(){return
n.map((function(t,n){return[t,i[n]]}))},delete:function(e){return
r(e)&&n.splice(t,1)&&!!i.splice(t,1)},forEach:function(t,e){var
r=this;i.forEach((function(i,o){return t.call(e,i,n[o],r)}))},set:function(e,o)
{return r(e)?i[t]=o:i[n.push(e)-1]=o,this}}},P=window.WeakMap||function(){var
t=Object.defineProperty,n=Date.now()%1e9,i=function()
{this.name="__st"+(1e9*Math.random()>>>0)+n+++"__"};return
i.prototype.set=function(n,i){if("object"!==V(n)&&"function"!=typeof n)throw new
TypeError("Invalid value used as weak map key");var e=n[this.name];return
e&&e[0]===n?e[1]=i:t(n,this.name,{value:[n,i],writable:!
0}),this},i.prototype.get=function(t){var n;return(n=t[this.name])&&n[0]===t?
n[1]:void 0},i.prototype.delete=function(t){var n=t[this.name];return!(!n||n[0]!
==t||(n[0]=n[1]=void 0,0))},i.prototype.has=function(t){var n=t[this.name];return!!
n&&n[0]===t},i}(),N=window.Array.from,F=[1];
/**
* @license
*
* Portions of this polyfill are a derivative work of the Polymer project, which
requires the following licence notice:
*
* Copyright (c) 2014 The Polymer Project Authors. All rights reserved.
* This code may only be used under the BSD style license found at
http://polymer.github.io/LICENSE.txt
* The complete set of authors may be found at
http://polymer.github.io/AUTHORS.txt
* The complete set of contributors may be found at
http://polymer.github.io/CONTRIBUTORS.txt
* Code distributed by Google as part of the polymer project is also
* subject to an additional IP rights grant found at
http://polymer.github.io/PATENTS.txt
*/"function"==typeof N&&N(F)===F&&(N=!1);var U=N||function(t)
{return[].slice.call(t,0)};function V(t){return(V="function"==typeof
j&&"symbol"==typeof j.iterator?function(t){return typeof t}:function(t){return
t&&"function"==typeof j&&t.constructor===j&&t!==j.prototype?"symbol":typeof t})
(t)}function B(t,n){for(var i=0;it.length)&&(n=t.length);for(var
i=0,e=new Array(n);i=t.length?{done:!0}:{done:!
1,value:t[e++]}}}throw new TypeError("Invalid attempt to iterate non-iterable
instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]
() method.")}return(i=t[j.iterator]()).next.bind(i)}var rt=i((function(t,n)
{t.exports=function(t){var n={};return(t=t||{}).prependOn=function(n,i){return
t.on(n,i,!0)},t.eventNames=function(){return Object.keys(n)},t.on=function(i,e,r)
{for(var o=0,u=(i=[].concat(i)).length;o1?i-1:0),r=1;r1?i-1:0),r=1;r=t){i=n.end(e);break}return i-
t}function pt(t,n){if(!n||!n.length)return 0;if(1===n.length&&n.end(0)-
n.start(0)<1e-6)return 0;for(var i=0,e=n.length-1;e>=0&&n.end(e)>t;--e)i+=n.end(e)-
Math.max(n.start(e),t);return i}function mt(t){return"string"!=typeof t?
{}:t.replace("?","").split("&").reduce((function(t,n){if(n.length>0){var
i=Q(n.split("="),2),e=i[0],r=i[1];t[e]=decodeURIComponent(r)}return t}),
{})}function bt(t){var n=document.createElement("a");return n.href=t,n}function
wt(t,n){var i=function(t){if("object"!==V(t))return"";var n=[];for(var i in
t)t.hasOwnProperty(i)&&n.push(encodeURIComponent(i)
+"="+encodeURIComponent(t[i]));return n.length?n.join("&"):""}
(n);return"".concat(t).concat(i?"?".concat(i):"")}function gt(t){var
n=t.split("://");if(2!==n.length)return null;var
i=n[1].split("/");if(i.length>1)return i[0];var
e=n[1].split("?");if(e.length>1)return e[0];var r=n[1].split("#");return
r.length>1?r[0]:n[1]}function yt(t,n,i){switch(i.length){case 0:return
t.call(n);case 1:return t.call(n,i[0]);case 2:return t.call(n,i[0],i[1]);case
3:return t.call(n,i[0],i[1],i[2])}return t.apply(n,i)}function _t(t){return t}var
kt=Math.max;function Et(t,n,i){return n=kt(void 0===n?t.length-1:n,0),function()
{for(var e=arguments,r=-1,o=kt(e.length-n,0),u=Array(o);++r0){if(++n>=800)return
arguments[0]}else n=0;return t.apply(void 0,arguments)}}($t);function Qt(t,n)
{return Zt(Et(t,n,_t),t+"")}function tn(t,n){return t===n||t!=t&&n!=n}function
nn(t,n){for(var i=t.length;i--;)if(tn(t[i][0],n))return i;return-1}var
en=Array.prototype.splice;function rn(t){var n=-1,i=null==t?
0:t.length;for(this.clear();++n-
1},rn.prototype.set=function(t,n){var i=this.K,e=nn(i,t);return e<0?(+
+this.size,i.push([t,n])):i[e][1]=n,this};var
on=Yt(At,"Map"),un=Yt(Object,"create"),an=Object.prototype.hasOwnProperty,sn=Object
.prototype.hasOwnProperty;function cn(t){var n=-1,i=null==t?
0:t.length;for(this.clear();++n-
1&&t%1==0&&t<=9007199254740991}function Vn(t){return null!=t&&Un(t.length)&&!
Nt(t)}var Bn="object"==(void 0===t?"undefined":V(t))&&t&&!
t.nodeType&&t,Hn=Bn&&"object"==("undefined"==typeof
module?"undefined":V(module))&&module&&!
module.nodeType&&module,qn=Hn&&Hn.exports===Bn?At.Buffer:void 0,Wn=(qn?
qn.isBuffer:void 0)||function(){return!
1},zn=Function.prototype,Gn=Object.prototype,Kn=zn.toString,Yn=Gn.hasOwnProperty,Jn
=Kn.call(Object);function $n(t){if(!On(t)||"[object Object]"!=Dt(t))return!1;var
n=Mn(t);if(null===n)return!0;var
i=Yn.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i instanceof
i&&Kn.call(i)==Jn}var Xn={};function Zn(t){return function(n){return
t(n)}}Xn["[object Float32Array]"]=Xn["[object Float64Array]"]=Xn["[object
Int8Array]"]=Xn["[object Int16Array]"]=Xn["[object Int32Array]"]=Xn["[object
Uint8Array]"]=Xn["[object Uint8ClampedArray]"]=Xn["[object
Uint16Array]"]=Xn["[object Uint32Array]"]=!0,Xn["[object Arguments]"]=Xn["[object
Array]"]=Xn["[object ArrayBuffer]"]=Xn["[object Boolean]"]=Xn["[object
DataView]"]=Xn["[object Date]"]=Xn["[object Error]"]=Xn["[object
Function]"]=Xn["[object Map]"]=Xn["[object Number]"]=Xn["[object
Object]"]=Xn["[object RegExp]"]=Xn["[object Set]"]=Xn["[object
String]"]=Xn["[object WeakMap]"]=!1;var Qn="object"==(void
0===t?"undefined":V(t))&&t&&!t.nodeType&&t,ti=Qn&&"object"==("undefined"==typeof
module?"undefined":V(module))&&module&&!
module.nodeType&&module,ni=ti&&ti.exports===Qn&&St.process,ii=function(){try{return
ti&&ti.require&&ti.require("util").types||
ni&&ni.binding&&ni.binding("util")}catch(t){}}(),ei=ii&&ii.isTypedArray,ri=ei?
Zn(ei):function(t){return On(t)&&Un(t.length)&&!!Xn[Dt(t)]};function oi(t,n)
{if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var
ui=Object.prototype.hasOwnProperty;function ai(t,n,i){var
e=t[n];ui.call(t,n)&&tn(e,i)&&(void 0!==i||n in t)||dn(t,n,i)}function si(t,n,i,e)
{var r=!i;i||(i={});for(var o=-1,u=n.length;++o-1&&t%1==0&&t1?i[r-1]:void 0,u=r>2?i[2]:void
0;for(o=t.length>3&&"function"==typeof o?(r--,o):void 0,u&&function(t,n,i){if(!
Pt(i))return!1;var e=V(n);return!!("number"==e?Vn(i)&&li(n,i.length):"string"==e&&n
in i)&&tn(i[n],t)}(i[0],i[1],u)&&(o=r<3?void 0:o,r=1),n=Object(n);++e0&&void 0!==arguments[0]?
arguments[0]:this.X;n.addEventListener(_i.LOADED_METADATA,(function(n)
{t.fire(_i.LOADED_METADATA,n)})),n.addEventListener("webkitplaybacktargetavailabili
tychanged",(function(n){switch(n.availability){case"available":t.Y||(t.Y=!
0,t.fire(Ei.AIRPLAY_AVAILABLE));break;case"not-available":t.Y&&(t.Y=!
1,t.fire(Ei.AIRPLAY_UNAVAILABLE))}})),n.addEventListener("webkitcurrentplaybacktarg
etiswirelesschanged",(function(n)
{if(n.target.webkitCurrentPlaybackTargetIsWireless)return t.J=!0,void
t.fire(Ei.AIRPLAY_ACTIVATED);t.J=!
1,t.fire(Ei.AIRPLAY_DEACTIVATED)}))},n.showPicker=function(){var
t=this;this.X.webkitShowPlaybackTargetPicker(),this.loadMetadata().then((function()
{return t.X.webkitShowPlaybackTargetPicker()})).catch((function()
{}))},n.loadMetadata=function(){var t=this;return this.X.readyState>=1?
r.resolve():new r((function(n,i){t.X.addEventListener(_i.LOADED_METADATA,
(function(){n()})),t.X.src=t.getFile().src}))},H(AirPlayExternalDisplay,
[{key:"element",get:function(){return this.X},set:function(t){if(!(t instanceof
HTMLVideoElement))throw new TypeError("The element for AirPlay must be a
'+t.bandwidthSeriesSvg+"
"),n+="",t.sessionId&&t.showSessionId&&(n+='
Debug Key:
'+t.sessionId+"
"),n+""},n.templates.icon_airplay=function(t)
{return''},n.templates.icon_back=function(t){return''},n.templates.icon_broken_heart=function(t){return''},n.templates.icon_card_arrow=function(t){return''},n.templates.icon_cc=function(t){return''},n.templa
tes.icon_chapters=function(t){return''},n.templates.icon_check=function(t){return''},n.templates.icon_circle_info=function(t)
{return''},n.templates.icon_clock=function(t){return''},n.templates.icon_close_new=function(t){return''},n.templates.icon_close=function(t){return''},n.templates.icon_collections=function(t){return''},n.templates.icon_embed=function(t){return''},n.templates.icon_facebook=function(t){return''},n.templates.icon_fast_forward=function(t){return''},n.templates.icon_follow=function(t){return''},n.templates.icon_fullscreen=function(t){return''},n.templates.icon_gear=function(t){return''},n.templates.icon_heart=function(t)
{return''},n.templates.icon_line_arrow=function(t)
{return''},n.templates.icon_live_viewers=function(t){return''},n.templates.icon_lock=function(t){return''},n.templates.icon_mail=function(t){return''},n.templates.icon_muted=function(t)
{return''},n.templates.icon_pause=function(t){return''},n.templates.icon_pip=function(t){return''},n.templates.icon_play=function(t){return''},n.templates.icon_prev=function(t){return''},n.templates.icon_replay=function(t)
{return''},n.templates.icon_share=function(t){return''},n.templates.icon_spin=function(t){return''},n.templates.icon_stereoscopic=function(t){return''},n.templates.icon_tumblr=function(t){return''},n.templates.icon_twitter=function(t){return''},n.templates.icon_unfullscreen=function(t)
{return''},n.templates.icon_vod_download=function(t){return''},n.templates.icon_vod_rent=function(t){return''},n.templates.icon_vod_subscribe=function(t){return''},n.templates.icon_vod=function(t){return''},n.templates.icon_warni
ng=function(t){return''},n.templates.live_status=function(t)
{return''},n.templates.live_viewer_count=function(t)
{var n='
';return(n+=this.render("icon_live_viewers")||"")+'
0 '},n.templates.logo=function(t){return''},n.templates.menu_list_panel=function(t){var
n=' ';for(var
i=0;i
',t.items[i].index&&(n+=''+t.items[i].index+""),n+=' '+t.items[i].label+" ";return n+'
'},n.templates.menu=function(t){var n='"},n.templates.nudge=function(t){var n=' ';return
n+=this.render("icon_fast_forward")||"",n+='
',(n+=this.render("icon_fast_forward")||"")+"
"},n.templates.outer=function(t){var n=' ';return n+=this.render("icon_spin")||"",n+='
This opens in a new
window.'},n.templates.sidedock=function(t){var n="";return
t.vodButton&&(n+=' '),t.likeButton&&(n+='
"),t.watchLaterButton&&(n+='
"),t.collectionsButton&&(n+='
"),t.shareButton&&(n+='
"),t.vodButton&&(n+="
"),n+""},n.templates.app_redirect=function(t){var n=' ';return t.strings.title&&(n+='
'+t.strings.title+"
"),t.hideRedirectButton||(n+='
"),t.strings.ignoreText&&(n+='
'+t.strings.ignoreText+"
"),t.strings.bottomText&&(n+='
'+t.strings.bottomText+"
"),n+"
"},n.templates.email_capture_field=function(t){var n="";return
t.field.required?(n+=' '):(n+=' '),n+""},n.templates.email_capture_fields=function(t)
{for(var n="",i=0;i'},n.templates.email_capture_privacy_policy=function(t){var n=''+t.text+""},n.templates.email_capture_skip=function(t){var
n="";return t.positionIsAfter&&(n+=' '),n+="",t.positionIsAfter||(n+=' '),n+""},n.templates.email_capture_start_time=functio
n(t){return'
'+t.startTime+"
"},n.templates.email_capture_title=function(t){var
n="";return(n+=this.escape(t.title)||"")+""},n.templates.email_capture=function(t)
{var n='
';return t.text||(n+='
'+t.aria_label+"
"),n+='
',t.allowSkip&&(n+=this.render("email_capture_skip",
{position:t.position,skipText:t.strings.skip,skipToVideoText:t.strings.skip_to_vide
o,positionIsAfter:t.positionIsAfter})||""),n+='
'+t.strings.step+' '+t.strings.of+' '+t.customFields.length+'
'+t.strings.thank_you+'
'+t.strings.successful+"
",t.positionIsAfter||(n+='
'+t.strings.video_starts+'
'),n+='
',t.customLogo&&(n+=this.render("email_capture_logo",
{url:t.customLogo})||""),t.webinarStartTime&&(n+=this.render("email_capture_start_t
ime",{startTime:t.webinarStartTime})||""),n+='
'+t.strings.reg_thank_you+'
'+t.strings.reg_thank_you_subtitle+'
',t.customLogo&&(n+=this.render("email_capture_logo",
{url:t.customLogo})||""),t.webinarStartTime&&(n+=this.render("email_capture_start_t
ime",{startTime:t.webinarStartTime})||""),n+'
'+t.strings.login_thank_you+'
'+t.strings.login_thank_you_subtitle+"
"},n.template
s.error=function(t){var n=''+t.aria_label+"
";return t.title&&(n+="
"+t.title+"
"),t.message&&(n+="
"+t.message+"
"),n+"
"},n.templates.help=function(t){var n=''+t.strings.title+'
- ↑
- '+t.strings.volumeUp+'
- ↓
- '+t.strings.volumeDown+'
- →
- '+t.strings.scrubForward+'
- ←
- '+t.strings.scrubBackwards+'
- L
- '+t.strings.like+'
- S
- '+t.strings.share+'
- W
- '+t.strings.watchLater+'
- C
- '+t.strings.captions+'
- H
- '+t.strings.prefs+'
- F
- '+t.strings.fullscreen+"
";return
t.onSite||(n+='- V
- '+t.strings.viewOnVimeo+"
"),n+"
"},n.templates.outro_email=function(t){var n=''},n.templates.outro_image=function(t)
{var n='"},n.templates.outro_link=fu
nction(t){var n=' ',t.title&&(n+='
',n+=this.escape(t.title)||"",n+="
"),t.description&&(n+='
',n+=this.escape(t.description)||"",n+="
"),t.text&&t.url&&(n+='
"),t.text2&&t.url2&&(n+='
"),n+"
"},n.templates.outro_nothing=function(t){return''},n.templates.outro_share=function(t){var n='"},n.templates.outro_staticimage=function(t){var n='"},n.templates.outro_text=function(t){return'"},n.templates.outro_videos=function(t){var
n=' "}return
n+""},n.templates.outro_vod=function(t){var n=' ";var
i=t.countries,e=t.country;if(this.helpers.isAvailableInCountry(i,e))if(t.purchased)
n+='
'+t.strings.watch+" ";else{if(!t.isComingSoon){n+='
"}(t.isPreorder||t.isComingSoon)&&(n+="
"+t.strings.preRelease+"
")}return n+"
"},n.templates.password=function(t){return''},n.templates.private_locked=function(t)
{return''+t.strings.title+'
'+t.strings.subtitle+'
"},n.templates.private_unlocked=function(t)
{return''+t.strings.title+'
'+t.strings.subtitle+'
"},n.templates.share=function(t)
{var n=''+t.strings.share+'
",t.embed&&(n+=' "),t.url&&(n+='
"),n+=" ",t.embed&&(n+='
'+t.strings.embedTitle+'
'+t.strings.embedSubtitle+'
",t.customizeEmbed&&(n+=' "),n+="
"),n+"
"},n.templates.webinar_confirmation=function(t){var n=' ';return
t.customLogo&&(n+=this.render("email_capture_logo",
{url:t.customLogo})||""),t.webinarStartTime&&(n+=this.render("email_capture_start_t
ime",{startTime:t.webinarStartTime})||""),n+'
'+t.strings.thank_you+'
'+t.strings.thank_you_subtitle+"
"},n.templates.webinar_re
gistration_bypass_btn=function(t){var n="";return t.showWebinarLogin?
t.showWebinarLogin&&(n+=' "):n+=' ",n+""},n.templates.threesixty_reminder=function(t)
{var n=' ';return t.showArrows&&(n+='
'),n+"
"+t.text+"
"},n.templates.time_series_graph=function(t)
{return'"},n.templates.title_byline_badge=function(t){var n="";return
t.displayBadge&&(n+=" ",t.link&&(n+='"),n+=' '+t.cssClass+"",t.link&&(n+=""),n+=""),n+""},n.templates
.title_owner_byline=function(t){var n="";return t.linkToOwner?(n+='',n+=this.escape(t.owner)||"",n+=""):(n+='',n+=this.escape(t.owner)||"",n+=""),n+""},n.templates.title=fu
nction(t){var n='"},n.templates.unmute_button=function(t){var n='"},t.exports?
t.exports=n:window.Aftershave=n}()}));function Uf(t,n){var
i,e=t.querySelector(".vp-shade"),r=t.querySelector(".vp-spin");function o()
{clearTimeout(i),e.classList.add("vp-shade-invisible"),r.classList.add("vp-spin-
invisible")}return n.on(Ti.BUFFER_STARTED,(function()
{clearTimeout(i),i=setTimeout((function(){e.classList.remove("vp-shade-
invisible"),r.classList.remove("vp-spin-
invisible")}),600)})),n.on([Ti.BUFFER_ENDED,ec.nr],o),Bc.on(Fc.buffering,
(function(){r.classList.remove("vp-spin-
invisible")})),Bc.on([Fc.playing,Fc.paused],(function()
{clearTimeout(i),r.classList.add("vp-spin-invisible")})),Bc.on(Fc.connected,
(function(){e.classList.remove("vp-shade-invisible")})),Bc.on(Fc.disconnected,
(function(){o()})),{}}var Vf=function(t){return function(n){for(var
i=arguments.length,e=new Array(i>1?i-1:0),r=1;r=12?"PM":"AM";return(n=(n
%=12)||12)+":"+(i=i<10?"0"+i:i)+" "+e}function Kf(t,n){var
i=Math.floor(t/3600%60),e=Math.floor(t/60%60);if(t=Math.floor(t%60),n){var r=t+"
second"+(1===t?"":"s");return e>0&&(r=e+" minute"+(1===e?"":"s")+",
"+r),i>0&&(r=i+" hour"+(1===i?"":"s")+", "+r),r}return(i>0?i+":":"")
+Yf(e,2)+":"+Yf(t,2)}function Yf(t,n,i){return t=String(t),new Array(n-
t.length+1).join(i||"0")+t}function Jf(t){return"".concat(Bf[t.getMonth()],"
").concat(t.getDate()," ").concat("at"," ").concat(Gf(t))}function $f(t,n,i){var
e=!0,r=!0;if("function"!=typeof t)throw new TypeError("Expected a function");return
Pt(i)&&(e="leading"in i?!!i.leading:e,r="trailing"in i?!!i.trailing:r),Ic(t,n,
{leading:e,maxWait:n,trailing:r})}var Xf=function(){if(void 0!==D)return D;function
t(t,n){var i=-1;return t.some((function(t,e){return t[0]===n&&(i=e,!
0)})),i}return(function(){function n(){this.bh=[]}return
Object.defineProperty(n.prototype,"size",{get:function(){return
this.bh.length},enumerable:!0,configurable:!0}),n.prototype.get=function(n){var
i=t(this.bh,n),e=this.bh[i];return e&&e[1]},n.prototype.set=function(n,i){var
e=t(this.bh,n);~e?this.bh[e]
[1]=i:this.bh.push([n,i])},n.prototype.delete=function(n){var
i=this.bh,e=t(i,n);~e&&i.splice(e,1)},n.prototype.has=function(n){return!!
~t(this.bh,n)},n.prototype.clear=function()
{this.bh.splice(0)},n.prototype.forEach=function(t,n){void 0===n&&(n=null);for(var
i=0,e=this.bh;i0},t.prototype.connect_=function(){Zf&&!
this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),
window.addEventListener("resize",this.refresh),ih?(this.mutationsObserver_=new
MutationObserver(this.refresh),this.mutationsObserver_.observe(document,
{attributes:!0,childList:!0,characterData:!0,subtree:!0})):
(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAd
ded_=!0),this.connected_=!0)},t.prototype.disconnect_=function()
{Zf&&this.connected_&&(document.removeEventListener("transitionend",this.onTransiti
onEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&
this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEven
tListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.muta
tionEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t)
{var n=t.propertyName,i=void 0===n?"":n;nh.some((function(t){return!!
~i.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||
(this.instance_=new t),this.instance_},t.instance_=null,t}(),rh=function(t,n)
{for(var i=0,e=Object.keys(n);i0},t}(),ph=void 0!==P?new P:new Xf,mh=function t(n)
{if(!(this instanceof t))throw new TypeError("Cannot call a class as a
function.");if(!arguments.length)throw new TypeError("1 argument required, but only
0 present.");var i=eh.getInstance(),e=new vh(n,i,this);ph.set(this,e)};
["observe","unobserve","disconnect"].forEach((function(t)
{mh.prototype[t]=function(){var n;return(n=ph.get(this))
[t].apply(n,arguments)}}));var bh=void 0!==Qf.ResizeObserver?
Qf.ResizeObserver:mh;function wh(t,n,i){var e=u()?
i.parentElement:i,r=$f(o,150);function o(){var
t=Es(e),i=t.width,r=t.height;n.dispatch(function(t,n)
{return{type:"CONTAINER_RESIZE",payload:{width:t,height:n}}}(i,r))}function u()
{return i.parentElement===document.body}function a(t){var
n=t.size,r=t.ratio,o=t.bottom;u()&&(e.classList.toggle("vp-
center","contain"===n),function(t,n){[].concat(["height","max-width","max-
height","bottom"]).map((function(n){return t.style.removeProperty(n)}))}
(i),"contain"!==n?o>0&&Ps(i,{height:"calc(100% -
".concat(o,"px)"),bottom:"".concat(o/2,"px")}):Ps(i,o>0?{maxWidth:"calc((100vh -
".concat(o,"px) / ").concat(r,")"),maxHeight:"calc(100vh -
".concat(o,"px)"),height:"calc(".concat(r," * 100vw)"),bottom:"".concat(o/2,"px")}:
{maxWidth:"calc(100vh / ".concat(r,")"),height:"calc(".concat(r," *
100vw)")}))}n.watch("ui.layout.bottom",(function(n){t.events.fire(ec.mf,
[{bottom:n}])})),n.watch("ui.layout.settings",a),a(n.get("ui.layout.settings")),new
bh(r).observe(e),window.addEventListener("orientationchange",r),t.events.on(ec.Zc,r
),t.events.on(ec.tl,r),o()}function gh(t,n,i)
{this.constructorName="MessageApiError",this.message=t,this.name=n,this.source=i}fu
nction yh(t){return t}function _h(t){if(!
t||""===t)return{};if("object"===V(t))return t;try{return JSON.parse(t)}catch(t)
{return{}}}function kh(t){}gh.prototype=new Error;var
Eh={captureException:function(t){},captureMessage:function(t)
{},captureBreadcrumb:function(){}},Th=Eh,Sh=function(t)
{Th=Object.assign({},Eh,t)},xh=function(t,n){var i=arguments.length>2&&void 0!
==arguments[2]?arguments[2]:"backbone",e=arguments.length>3&&void 0!==arguments[3]?
arguments[3]:"info";return Th.captureBreadcrumb(t,n,i,e)};function Ah(t){var
n=function(t){var n=document.referrer||t;try{n=decodeURIComponent(n)}catch(t)
{n=unescape(n)}return n}
(t),i={},e={},o={parseMessage:_h,buildMessage:yh,logError:kh},u={},a={get methods()
{return i},extendMethods:function(){for(var t=arguments.length,n=new
Array(t),e=0;e1?n-1:0),e=1;e-1))try{var a=function(t,n){if(!t)return
null;var i=Object.getOwnPropertyDescriptor(n,t);if(i&&"function"==typeof
i.value)return i.value;if(i&&"function"==typeof i.get)return i.get;var
e=t.substr(0,3),r=t.substr(3,1).toLowerCase()+t.substr(4);return
i=Object.getOwnPropertyDescriptor(n,r),"get"===e&&i&&"function"==typeof i.get?
i.get:"set"===e&&i&&"function"==typeof i.set?i.set:null}(e,i);if(!a)throw new
gh("“".concat(t,"” is not a valid method. Valid methods are: ").concat(function(t)
{return Object.keys(t).reduce((function(n,i){var
e=Object.getOwnPropertyDescriptor(t,i);return"function"==typeof e.value?
(n.push(i),n):("function"==typeof e.get&&n.push("get"+i.charAt(0).toUpperCase()
+i.slice(1)),"function"==typeof e.set&&n.push("set"+i.charAt(0).toUpperCase()
+i.slice(1)),n)}),[]).sort()}(i).join(", "),"."),"TypeError",e);xh("API message
received",n,"api"),r.resolve(a.call(t,u)).then((function(t){return
c({method:e,value:null==t?u:t})})).catch(o.logError)}catch(t){o.logError(t)}}}),!
1),a}function Mh(t){return t.account_type&&"basic"!==t.account_type&&!/_lapsed|
_expired/.test(t.account_type)}var Ch=self!==top,Rh=function(){var
t=document.createElement("video"),n={request:
["requestFullscreen","webkitRequestFullscreen","webkitRequestFullScreen","mozReques
tFullScreen","msRequestFullscreen"],exit:
["exitFullscreen","webkitCancelFullScreen","webkitExitFullscreen","mozCancelFullScr
een","msExitFullscreen"],enabled:
["fullscreenEnabled","webkitFullscreenEnabled","mozFullScreenEnabled","msFullscreen
Enabled"],element:
["fullscreenElement","webkitFullscreenElement","webkitCurrentFullScreenElement","mo
zFullScreenElement","msFullscreenElement"],change:
["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenCha
nge"],error:
["fullscreenerror","webkitfullscreenerror","mozfullscreenerror","MSFullscreenError"
]},i={};for(var e in n)for(var r=0,o=n[e].length;r0){var i=Uh.pop();n=n||
i.element,i.error.call(n,t),Wh.onerror(n,t),Lh(Ih.ERROR,n,t)}},Wh={request:function
(t,n,i,e){if(t=t||document.body,Uh.push({element:t,enter:n||Fh,exit:i||Fh,error:e||
Fh}),void 0===Rh.request)return Vh(t);if(Ch&&!1===document[Rh.enabled])return
Vh(t);try{t[Rh.request]()}catch(n){qh("not_enabled",t)}},exit:function(){!
document[Rh.exit]&&Wh.element?Wh.element[Rh.exit]():document[Rh.exit]
()},toggle:function(t,n,i,e){Wh.element?
Wh.exit():Wh.request(t,n,i,e)},videoEnabled:function(t){if(Wh.enabled)return!0;var
n=Ph(t=t||document.body);return!(!n||void
0===n.webkitSupportsFullscreen)&&(n.readyState-
1&&jh[t].splice(i,1)})),onenter:Fh,onexit:Fh,onchange:Fh,onerror:Fh};try{Object.def
ineProperties(Wh,{element:{enumerable:!0,get:function(){return
Nh&&Nh.webkitDisplayingFullscreen?Nh:document[Rh.element]||null}},enabled:
{enumerable:!0,get:function(){return document[Rh.enabled]||!1}}})}catch(t)
{Wh.element=null,Wh.enabled=!1}function zh(t)
{return"string"==typeof(t=t.replace("#",""))&&(3===t.length||6===t.length)&&!
isNaN(parseInt(t,16))}function Gh(t){var n=/rgba?\
((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})(,\s*([\d.]+))?\)/.exec(t);if(!n)throw new
Error("Invalid rgb
value");return{red:parseInt(n[1],10),green:parseInt(n[2],10),blue:parseInt(n[3],10)
,alpha:parseFloat(n[5])||1}}function Kh(){for(var t=arguments.length,n=new
Array(t),i=0;i=0)return
this.rgba=Gh(n[0]),this;if(!zh("".concat(n[0])))throw new Error("Invalid hex
value");return this.hex=n[0],this}if(3===n.length||4===n.length){for(var r=0;r<3;r+
+)if(isNaN(parseInt(n[r],10))||parseInt(n[r],10)<0||parseInt(n[r],10)>255)throw new
Error("Invalid rgb value");if(n[3]&&parseFloat(n[3])<0||parseFloat(n[3])>1)throw
new Error("Invalid alpha value");return
this.rgba={red:n[0],green:n[1],blue:n[2],alpha:parseFloat(n[3])||1},this}throw new
Error("Invalid color")}function Yh(t){var n=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:[];if(!t||"null"===t||
0===n.length)return{track:null};var
i=t.split("."),e=Q(i,2),r=e[0],o=e[1],u=r.split(/[-_]/),a=Q(u,1),s=a[0],c=r!
==s,l=n.filter((function(t){return c&&t.language===r||
t.language===s})).sort((function(t,n){var i=2*(t.language===s&&t.kind===o)
+2*(t.language===r)+1*(t.kind===o);return 2*(n.language===s&&n.kind===o)
+2*(n.language===r)+1*(n.kind===o)-i}));return l.length>0?
{track:l[0],exactMatch:l[0].language===r&&l[0].kind===o}:{track:null}}function
Jh(t,n){switch(t.view){case 2:throw new gh("The video is
private.","PrivacyError",n);case 4:throw new gh("The video is password-protected.
The viewer must enter the password first.","PasswordError",n);case 7:throw new
gh(t.message,"NotFoundError",n)}}function $h(t){for(var n=[],i=0;it.config.video.duration)throw new gh("Cue
point time must be positive number less than the duration of the video
(".concat(Is(t.config.video.duration),")."),"RangeError","addCuePoint");try{var
e=t.backbone.addCuePoint(n,i);return setTimeout((function()
{o.fire(ec.qc,e)}),0),e.id}catch(t){if("CuePointsNotSupported"===t.name)throw new
gh("Cue points are not supported in the current
player.","UnsupportedError","addCuePoint");throw new gh("Unable to add cue
point","InvalidCuePoint","addCuePoint")}},removeCuePoint:function(n){var
i=t.backbone.cuePoints.filter((function(t){return t.id===n}))[0];if(!i)throw new
gh("Cue point “".concat(n,"” was not
found."),"InvalidCuePoint","removeCuePoint");t.backbone.removeCuePoint(i),setTimeou
t((function(){o.fire(ec.Wc,i)}),0)},enableTextTrack:function(n){var
e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=("text_tracks"in
t.config.request?t.config.request.text_tracks:[]).map((function(t){return
t.language=t.lang,t})),a=u.some((function(t){return
t.language.toLowerCase()===n.toLowerCase()}));if(!a)throw new gh("There are no
tracks for
“".concat(n.toUpperCase(),"”."),"InvalidTrackLanguageError","enableTextTrack");var
s=e?"".concat(n,".").concat(e):n,c=Yh(s,u),l=c.track;if(!l||e&&l.kind!==e)throw
new gh("There are no ".concat(e," tracks for
“").concat(n.toUpperCase(),"”."),"InvalidTrackError","enableTextTrack");return
o.fire(Gs.$s,l.id),i<3?null:new r((function(t,n){o.once(ec.Hc,(function(n,i)
{t({label:n.label,language:n.language,kind:n.kind})}))}))},disableTextTrack:functio
n(){o.fire(Gs.Xs)},toggleFullscreen:function(t){var n={not_supported:
{name:"UnsupportedError",msg:"Fullscreen is not supported at all or for this
element."},not_enabled:{name:"Error",msg:"The request was made from an iframe that
does not allow fullscreen."},not_allowed:{name:"NotAllowedError",msg:"The request
failed, probably because it was not called from a user-initiated event."}};return
new r((function(i,e){if(!Wh.element===t)return Wh.on("enter",(function t()
{Wh.off("enter",t),i()})),Wh.on("error",(function i(r,o){Wh.off("error",i);var
u=n[o]||n.not_supported;e(new
gh(u.msg,u.name,"".concat(t?"request":"exit","Fullscreen")))})),void
o.fire(ec.Sc);i()}))},requestFullscreen:function(){return p.toggleFullscreen(!
0)},exitFullscreen:function(){return p.toggleFullscreen(!1)},get fullscreen()
{return!!Wh.element},requestPictureInPicture:function(){return new r((function(n,i)
{o.once(_i.ENTER_PICTURE_IN_PICTURE,n),"picture-in-picture"!
==t.backbone.presentationMode&&(t.backbone.presentationMode="picture-in-
picture")}))},exitPictureInPicture:function(){return new r((function(n,i)
{o.once(_i.LEAVE_PICTURE_IN_PICTURE,n),"picture-in-
picture"===t.backbone.presentationMode&&(t.backbone.presentationMode="inline")}))},
get pictureInPicture(){return"picture-in-
picture"===t.backbone.presentationMode},get autopause(){return!!
t.config.embed.autopause},set autopause(n){t.config.embed.autopause=!!n},get
chromecasting(){return!!Bc.currentSession},get color(){return
t.config.embed.color.replace("#","")},set color(n)
{if(t.config.embed.settings.color&&!t.config.embed.on_site)throw new gh("The
creator of the video has chosen to always use ".concat(new
Kh(t.config.embed.color).hex,"."),"EmbedSettingsError","setColor");try{var i=new
Kh(n);o.fire(Gs.Ws,i.hex)}catch(t){throw new gh("The color should be 3- or 6-digit
hex value.","TypeError","setColor")}var e=new
Kh(30,30,30,.9);if(e.contrast(i).ratio<3){var r=i.clone().lighten(5,3,e);throw new
gh("".concat(i.hex," does not meet minimum contrast ratio. We recommend using
brighter colors. (You could try ").concat(r.hex," instead.) See WCAG 2.0
guidelines: http://www.w3.org/TR/WCAG/#visual-audio-
contrast"),"ContrastError","setColor")}},get cuePoints(){return
t.backbone.cuePoints.map((function(t)
{return{time:t.time,data:t.data,id:t.id}}))},get currentTime(){return
t.currentTime},set currentTime(n){if(n=parseFloat(n),isNaN(n)||n<0||
n>t.config.video.duration)throw new gh("Seconds must be a positive number less than
the duration of the video
(".concat(Is(t.config.video.duration),")."),"RangeError","setCurrentTime");return
o.fire(rc.Ds),o.fire(Gs.Ds,null,n),o.fire(ec.Il),i<3?null:new r((function(t,n)
{o.once(_i.SEEKED,(function(n){var i=n.currentTime;t(i)}))}))},get duration()
{return Is(t.config.video.duration)},get ended(){return!!t.backbone.ended},get
loop(){return!!t.config.embed.loop},set loop(t){o.fire(Gs.Bs,t)},set muted(n)
{t.backbone.muted=n},get muted(){return t.backbone.muted},get paused(){return!
(t.backbone&&"paused"in t.backbone&&!t.backbone.paused)},get buffered(){return
$h(t.backbone.buffered)},get played(){return $h(t.backbone.played)},get seekable()
{return $h(t.backbone.seekable)},get seeking(){return t.backbone.seeking},get
playbackRate(){return t.backbone?t.backbone.playbackRate:1},set playbackRate(n)
{if(!t.config.embed.settings.speed)throw new gh("Setting the playback rate is not
enabled for this video.","Error","setPlaybackRate");if(isNaN(n)||n>2)throw new
gh("Playback rate should be a number below or equal to
".concat(2,"."),"RangeError","setPlaybackRate");o.fire(Gs.ac,n)},get textTracks()
{return(t.backbone?t.backbone.video.textTracks:[]).map((function(t)
{return{label:t.label,language:t.language,kind:t.kind,mode:t===f?"showing":"disable
d"}}))},get videoEmbedCode(){return t.config.video.embed_code},get videoHeight()
{return t.backbone.videoHeight||t.config.video.height},get videoId(){return
t.config.video.id},get videoTitle(){return t.config.video.title},get videoWidth()
{return t.backbone.videoWidth||t.config.video.width},get videoUrl(){if(!
t.config.video.url)throw new gh("The URL is not available because of the video’s
privacy settings.","PrivacyError","getVideoUrl");return t.config.video.url},get
volume(){var n=Is(t.config.request.cookie.volume);return 1===i?
Math.round(100*n):n},set volume(t){if(t=parseFloat(t),1===i&&(t/=100),isNaN(t)||
t<0||t>1)throw new gh("Volume should be a number between 0 and
1.","RangeError","setVolume");h=t,o.fire(Gs.Ps,t,!0)},get qualities(){return
t.backbone.qualities},get quality(){return t.backbone.quality},set quality(n){if(!
Mh(t.config.video.owner))throw new gh("Setting the quality is not enabled for this
video.","Error","setQuality");n=n.toLowerCase();var
i=t.backbone.qualities.map((function(t){return t.id}));if(!i.includes(n))throw new
gh("“".concat(n,"” is not a valid quality. Valid qualities are: ").concat(i.join(",
"),"."),"TypeError","on");t.backbone.quality=n},_loadVideo:function(n,i){return
t.loadVideo(n,i)},get _like(){return!!t.config.user.liked},set _like(n)
{if(t.config.embed.on_site){if(t.config.user.liked===n)return;o.fire(ec.nl,n)}},get
_watchLater(){return!!t.config.user.watch_later},set _watchLater(n)
{if(t.config.embed.on_site)
{if(t.config.user.watch_later===n)return;o.fire(ec.il,n)}},get currentChapter(){var
n=t.backbone.currentChapterID;if(!n)return null;var
i=U(t.backbone.chapters),e=i.findIndex((function(t){return
n===t.id}));return{startTime:i[e].startTime,title:i[e].text,index:e+1}},get
chapters(){return U(t.backbone.chapters).map((function(t,n)
{return{startTime:t.startTime,title:t.text,index:n+1}}))},_addChapter:function(n,i)
{if(n=parseFloat(n),isNaN(n)||n<0||n>t.config.video.duration)throw new gh("Chapter
timecode must be positive number less than the duration of the video
(".concat(Is(t.config.video.duration),")."),"RangeError","_addChapter");try{t.backb
one.addChapter(n,i)}catch(t){if("ChaptersNotSupported"===t.name)throw new
gh(t.message,"UnsupportedError","_addChapter");throw new gh("Unable to add
chapter","InvalidChapter","_addChapter")}},_removeChapter:function(n){var
i;try{i=t.backbone.chapters.getCueById(n)}catch(t){throw new gh("Chapters are not
supported in this browser.","UnsupportedError","_removeChapter")}if(!i)throw new
gh("Chapter was not
found.","InvalidChapter","_removeChapter");try{t.backbone.removeChapter(i)}catch(t)
{if("ChaptersNotSupported"===t.name)throw new gh("Chapters are not supported in
this browser.","UnsupportedError","_removeChapter");throw new gh("Unable to remove
chapter","InvalidChapter","_removeChapter")}},_addCard:function(t)
{o.fire(Gs._addCard,t)},_removeCard:function(t)
{o.fire(Gs._removeCard,t)},_setOutro:function(n,i){t.config.embed.outro!==n?
(o.fire(Gs._hideOutro),setTimeout((function()
{t.config.embed.outro=n,o.fire(Gs.Qs,n,i)}),400)):o.fire(Gs.Qs,n,i)},_hideOutro:fun
ction(){o.fire(Gs._hideOutro)},_setEmailCapture:function(n){if(n){var
i=n.customFields?t.config.embed.email_capture_form||{}:t.config.embed.email||
{};i.position=n.position.toLowerCase(),i.timecode=n.timecode,n.nohide=!0,n.noblur=!
0,n.nofocus=sa(n,"nofocus",!0),p._showOverlay("email-capture",n)}else
p._unsetEmailCapture()},_updateEmailCapture:function(t){t.custom_fields?
o.fire(Gs._updateEmailCapture,t):this._setEmailCapture(t)},_updateWebinarStartTime:
function(t)
{o.fire(Gs._updateWebinarStartTime,t)},_setActiveEmailCapturePage:function(t)
{o.fire(Gs.Fs,t)},_unsetEmailCapture:function()
{t.config.embed.outro&&(o.fire(Gs._hideOutro),delete
t.config.embed.outro),t.config.embed.email&&(o.fire(Gs._hideOverlay,{unmakeModal:!
0}),delete t.config.embed.email)},_hideOverlay:function(t){o.fire(Gs._hideOverlay,
{name:t,unmakeModal:!0})},_showOverlay:function(t,n)
{o.fire(Gs._showOverlay,t,n)},_fireEvent:function(){for(var
t=arguments.length,n=new Array(t),i=0;i h1")),n=Es(document.querySelector(".sub-
title")),i=Es(document.querySelector(".vp-portrait")),e=Math.max(t.width,n.width)
+i.width,r=Math.max(i.height,t.height+n.height);return{top:10,left:10,width:Math.ma
x(200,e),height:Math.max(60,r)}},get sidedock(){return{top:10,left:n-10-
36,width:36,height:118}},get controls(){var
t=e.customLogo,r=Math.max(60,t.height);return{height:r,top:i-10-r,left:10,width:n-
20}},get customLogo(){var t=document.querySelector(".custom-logo"),e=t?Es(t):
{width:0,height:0};return{top:i-10-e.height,left:n-10-
e.width,width:e.width,height:e.height}}};return e},set _lowLatencyMode(n)
{t.backbone.lowLatencyMode=n},get _lowLatencyMode(){return
t.backbone.lowLatencyMode},get _presentationDelay(){return
t.backbone.presentationDelay},set _presentationDelay(n)
{t.backbone.presentationDelay=n},get _liveLatency(){return t.backbone.latency},get
_downloadSpeed(){return t.backbone.downloadSpeed},get _backbone(){return
t.backbone},addEventListener:function()
{p.on.apply(p,arguments)},removeEventListener:function()
{p.off.apply(p,arguments)},seekTo:function(t)
{p.currentTime=t},changeColor:function(t){p.color=t}},m={addCuePoint:function(t)
{var n=t.time,i=t.data;return p.addCuePoint(n,i)},enableTextTrack:function(t){var
n=t.language,i=t.kind,e=void 0===i?null:i;p.enableTextTrack(n,e)}};function b(t,i)
{n&&n.emit(t,i),u.fire(t,i)}var w=function(t,n){return function(){var i=n?
n.apply(void 0,arguments):void 0;b(t,i)}};function g(t){var
n=t.currentTime,i=t.duration,e=t.timeProgress;return{seconds:Is(n),percent:Is(e),du
ration:Is(i)}}function y(t){return{playbackRate:t}}function _(){b(uc.LOADED,l?null:
(l=!0,{id:t.config.video.id}))}function k(t){return E(function(t){switch(t)
{case"BrowserNotSupported":case"FilesNotPlayable":case"MediaSrcNotSupportedError":r
eturn new gh("This video is not supported in this
browser.","NotSupportedError");case"FileError":return new gh("There was an error
loading the files for this video.","FileError")}return new gh("An error occurred
during playback.","PlaybackError")}(c=t))}function E(t){var n={message:"An error
occurred.",name:"Error",method:t.source};return"MessageApiError"===t.constructorNam
e&&(n={message:t.message,name:t.name,method:t.source}),n}return function(){if(!
t.config.embed.on_site){d(t.config.embed.api);var i=t.config.request.referrer;
(n=new Ah(i)).listeners=Fs(uc).reduce((function(t,n){return z(z({},t),{},q({},n,!
1))}),{}),n.listeners[uc.READY]=!0,n.listeners[uc.ERROR]=!0,n.filter((function(t)
{return n.listeners[t]}))}}(),function(){if(n){var
e=Vf({},p,m);n.extendMethods(e),n.hooks({logError:function(t)
{b(uc.ERROR,E(t))},parseMessage:function(t){if(!t||""===t)return{};if($n(t))return
d(3),t;try{var n=JSON.parse(t);return d(2),n}catch(t){return
d(null),b(uc.ERROR,"The Vimeo Froogaloop v1 API is no longer supported.\n Please
follow the upgrade instructions here: https://goo.gl/mueGRR"),
{}}},buildMessage:function(n){var e;(null==(e=t.config.embed)?void
0:e.player_id)&&(n.player_id=t.config.embed.player_id);try{2===i&&(n=function(t)
{if(t.event){for(var n in ac)if(ac[n]===t.event)
{t.event=n;break}"cuechange"===t.event&&(t.data.text=t.data.cues[0].text,t.data.htm
l=t.data.cues[0].html,delete t.data.cues)}return JSON.stringify(t)}(n)),
$n(n)&&"ready"===n.event&&(n=JSON.stringify(n))}catch(t){}return n}})}}
(),o.on(Ti.BUFFER_STARTED,w(uc.BUFFER_START)),o.on(Ti.BUFFER_ENDED,w(uc.BUFFER_END)
),o.on(Ti.CUE_POINT,w(uc.CUEPOINT,(function(t)
{return{time:t.time,data:t.data,id:t.id}}))),o.on($o,w(uc.CUE_CHANGE,(function(t)
{var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=t||
{},e=i.language,r=void 0===e?null:e,o=i.label,u=void 0===o?null:o,a=i.kind,s=void
0===a?
null:a;return{label:u,language:r,kind:s,cues:n}}))),o.on(ec.Lc,w(uc.CHAPTER_CHANGE,
(function(n){var i=U(t.backbone.chapters).findIndex((function(t){return
n===t.id}));return i>=0?
{startTime:t.backbone.chapters[i].startTime,title:t.backbone.chapters[i].text,index
:i+1}:null}))),o.on(ec.pc,w(uc.ENDED,(function(){return s=!1,
{seconds:Is(t.config.video.duration),percent:1,duration:Is(t.config.video.duration)
}}))),o.on(ec.nr,w(uc.PAUSE,(function(n){return s=!1,
{seconds:Is(n),percent:Is(n/t.config.video.duration),duration:Is(t.config.video.dur
ation)}}))),o.on(ec.kc,w(uc.PLAYBACK_RATE_CHANGE,y)),o.on(ec.kc,w(uc.RATE_CHANGE,y)
),o.on(ec.Hc,w(uc.TEXT_TRACK_CHANGE,(function(t){f=t;var n=t||
{},i=n.language,e=void 0===i?null:i,r=n.label,o=void 0===r?
null:r,u=n.kind;return{label:o,language:e,kind:void 0===u?
null:u}}))),o.on(ec.mc,w(uc.VOLUME_CHANGE,(function(t)
{return{volume:Is(t)}}))),o.on(ec.Uc,w(uc.CONTROL_BAR_VISIBILITY_CHANGED,
(function(t){return{visible:t}}))),o.on(ec.Hl,(function(t)
{h&&setTimeout((function(){o.fire(Gs.Ps,h,!0)}),0),t&&_()})),o.on(ec.lc,
(function(t){var n=k(t);a&&b(uc.ERROR,n)})),o.on(ec.Zc,w(uc.FULLSCREENCHANGE,
(function(){return{fullscreen:!0}}))),o.on(ec.tl,w(uc.FULLSCREENCHANGE,(function()
{return{fullscreen:!1}}))),o.on(ec.bc,w(uc.QUALITY_CHANGE,(function(t)
{return{quality:t}}))),o.on(ec.Vf,w(uc.AD_STARTED)),o.on(ec.Df,w(uc.AD_COMPLETED)),
o.on(ec.Nf,w(uc.AD_ERROR)),o.on(ec.Bf,w(uc.AD_SKIPPED)),o.on(ec.Hf,w(uc.AD_ALL_COMP
LETED)),o.on(ec.Pf,w(uc.AD_CLICKED)),o.once(ec.ge,(function(){a=!
0,b(uc.READY),c&&(b(uc.ERROR,k(c)),c=null)})),o.on(au.EVENT_ENDED,w(uc.LIVE_EVENT_E
NDED)),o.on(au.EVENT_STARTED,w(uc.LIVE_EVENT_STARTED)),o.on(au.STREAM_OFFLINE,w(uc.
LIVE_STREAM_OFFLINE)),o.on(au.STREAM_ONLINE,w(uc.LIVE_STREAM_ONLINE)),o.on(xi.CAMER
A_CHANGE,w(uc.CAMERA_CHANGE,(function(t){return
t}))),o.on(xi.MOTION_END,w(uc.MOTION_END)),o.on(xi.MOTION_START,w(uc.MOTION_START))
,o.on(xi.WEBVR_HARDWARE_AVAILABLE,w(uc.WEBVR_HARDWARE_AVAILABLE)),o.on(xi.WEBVR_ENT
ER,w(uc.ENTER_WEBVR)),o.on(xi.WEBVR_EXIT,w(uc.EXIT_WEBVR)),o.on(xi.SPATIAL_UNSUPPOR
TED,w(uc.SPATIAL_UNSUPPORTED)),o.on(_i.PLAY,w(uc.PLAY,(function(n){return s?null:
(s=!0,
{seconds:Is(n),percent:Is(n/t.config.video.duration),duration:Is(t.config.video.dur
ation)})}))),o.on(_i.PLAYING,w(uc.PLAYING,(function(){return s?
{seconds:Is(t.currentTime),percent:Is(t.currentTime/t.config.video.duration),durati
on:Is(t.config.video.duration)}:null}))),o.on(_i.PROGRESS,w(uc.PROGRESS,
(function(t){var
n=t.loaded,e=t.duration,r=t.loadProgress,o={seconds:Is(n),percent:Is(r),duration:Is
(e)};return i<3&&(o.bytesLoaded=-1,o.bytesTotal=-
1),o}))),o.on(_i.SEEKING,w(uc.SEEKING,g)),o.on(_i.SEEKED,w(uc.SEEKED,g)),o.on(_i.TI
ME_UPDATE,w(uc.TIME_UPDATE,(function(t){var
n=t.currentTime,i=t.duration,e=t.timeProgress;return{seconds:Is(n),percent:Is(e),du
ration:Is(i)}}))),o.on(_i.LOADED_METADATA,w(uc.LOADED_METADATA)),o.on(_i.DURATION_C
HANGE,w(uc.DURATION_CHANGE,(function(n)
{return{duration:t.backbone.duration}}))),o.on(_i.WAITING,w(uc.WAITING)),o.on(_i.LO
ADED_DATA,w(uc.LOADED_DATA)),o.on(_i.LOAD_START,w(uc.LOAD_START)),o.on(_i.RESIZE,w(
uc.RESIZE,(function()
{return{videoWidth:t.backbone.videoWidth,videoHeight:t.backbone.videoHeight}}))),o.
on(_i.ENTER_PICTURE_IN_PICTURE,w(uc.ENTER_PICTURE_IN_PICTURE)),o.on(_i.LEAVE_PICTUR
E_IN_PICTURE,w(uc.LEAVE_PICTURE_IN_PICTURE)),o.on(Fc.connected,w(uc.CHROMECAST_CONN
ECTED)),o.on(Gs.Vs,(function(){c=null,l=!1})),t.doNotTrackEnabled||(o.on(ec.ef,
(function(){b(uc.EMAIL_CAPTURE)})),o.on(ec.rf,(function()
{b(uc.EMAIL_CAPTURE_FAILED)}))),o.on(ec.mf,(function(){var
t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
{};n&&(n.listeners[uc.SPACE_CHANGE]=!
0,b(uc.SPACE_CHANGE,t))})),o.fire(ec.xf),p}Rh.change&&document.addEventListener(Rh.
change,(function(t){if(Wh.onchange(Wh.element),Lh(Ih.CHANGE,Wh.element),Wh.element)
{var n=Uh[Uh.length-2];n&&n.element===Wh.element?Hh():Bh(Wh.element)}else Hh()}),!
1),document.addEventListener("webkitbeginfullscreen",(function(t){var n=!
0;if(Uh.length>0)for(var i=0,e=Uh.length;i=100)););return this},darken:function(t,n,i)
{if(this.hsl={hue:this.hue,saturation:this.saturation,lightness:this.lightness-
t},n&&i)for(var
e=i.contrast(this).ratio;e=1)return
this;var n=this.clone();return n.rgba={red:n.red*this.alpha+t.red*t.alpha*(1-
this.alpha),green:n.green*this.alpha+t.green*t.alpha*(1-
this.alpha),blue:n.blue*this.alpha+t.blue*t.alpha*(1-
this.alpha),alpha:n.alpha+t.alpha*(1-this.alpha)},n},contrast:function(t){var
n=this.alpha;if(n>=1){t.alpha<1&&(t=t.overlayOn(this));var
i=this.luminance+.05,e=t.luminance+.05,r=i/e;return e>i&&(r=1/r),
{ratio:r=Math.round(10*r)/10,error:0,min:r,max:r}}var
o=this.overlayOn(Kh.white).contrast(t).ratio,u=this.overlayOn(Kh.black).contrast(t)
.ratio,a=Math.max(o,u),s={red:Math.min(Math.max(0,(t.red-this.red*n)/(1-
n)),255),green:Math.min(Math.max(0,(t.green-this.green*n)/(1-
n)),255),blue:Math.min(Math.max(0,(t.blue-this.blue*n)/(1-
n)),255)},c=this.clone();c.rgb=s;var
l=this.overlayOn(c).contrast(t).ratio;return{ratio:Math.round((l+a)/2*10)/10,error:
Math.round((a-l)/2*10)/10,min:l,max:a,closest:c,farthest:u===a?
Kh.white:Kh.black}},wcagAACompliant:function(t){return
this.contrast(t).ratio>=4.5},wcagAAACompliant:function(t){return
this.contrast(t).ratio>=7},yiqContrastColor:function(){return this.yiq>=120?new
Kh(0,0,0):new Kh(255,255,255)}},Kh.hexToRgb=function(t){var n;return
3===(t=String(t)).length||4===t.length?(n=/^#?([A-Fa-f0-9])([A-Fa-f0-9])([A-Fa-f0-
9])$/i.exec(t))&&(n[1]+=n[1],n[2]+=n[2],n[3]+=n[3]):n=/^#?([A-Fa-f0-9]{2})([A-Fa-
f0-9]{2})([A-Fa-f0-9]{2})$/i.exec(t),n?
{red:parseInt(n[1],16),green:parseInt(n[2],16),blue:parseInt(n[3],16),alpha:1}:null
},Kh.rgbToHex=function(t,n,i){return"#"+((1<<24)+(Math.round(t)<<16)+
(Math.round(n)<<8)+Math.round(i)).toString(16).slice(1)},Kh.rgbToHsl=function(t,n,i
){t/=255,n/=255,i/=255;var
e,r=Math.max(t,n,i),o=Math.min(t,n,i),u=(r+o)/2,a=u;if(r===o)return{hue:0,saturatio
n:0,lightness:100*a};var s=r-o;return e=a>.5?s/(2-r-o):s/(r+o),r===t?u=(n-i)/s+
(n1&&(i-=1),6*i<1?
t+6*(n-t)*i:2*i<1?n:3*i<2?t+6*(2/3-i)*(n-
t):t}if(t/=360,i/=100,0==(n/=100))return{red:Math.floor(255*i),green:Math.floor(255
*i),blue:Math.floor(255*i)};var r=i<.5?i*(1+n):i+n-n*i,o=2*i-
r;return{red:Math.floor(255*e(o,r,t+1/3)),green:Math.floor(255*e(o,r,t)),blue:Math.
floor(255*e(o,r,t-1/3))}},Kh.hslToHex=function(t,n,i){var
e=Kh.hslToRgb(t,n,i);return Kh.rgbToHex(e.red,e.green,e.blue)},Kh.white=new
Kh("fff"),Kh.black=new Kh("000");var Zh=function(){function t(t)
{this.alertTextElement=t.querySelector(".vp-text-alert-
wrapper"),this.alertContentElement=this.alertTextElement.querySelector(".vp-alert-
text")}var n=t.prototype;return n.show=function(t)
{this.alertContentElement.innerHTML=t,this.alertContentElement.classList.remove("hi
dden"),this.alertTextElement.classList.remove("hidden")},n.hide=function()
{this.alertContentElement.classList.add("hidden"),this.alertTextElement.classList.a
dd("hidden")},t}(),Qh=Object.prototype.hasOwnProperty,td=bi((function(t,n)
{if(Rn(n)||Vn(n))si(n,Ru(n),t);else for(var i in
n)Qh.call(n,i)&&ai(t,i,n[i])})),nd=i((function(t){!function(){var i="undefined"!
=typeof window&&window===this?this:void 0!==n&&null!=n?n:this,e="function"==typeof
Object.defineProperties?Object.defineProperty:function(t,n,i){t!
=Array.prototype&&t!=Object.prototype&&(t[n]=i.value)};function o(){o=function()
{},i.Symbol||(i.Symbol=a)}var u=0;function a(t){return"jscomp_symbol_"+(t||"")+u+
+}function s(){o();var t=i.Symbol.iterator;t||
(t=i.Symbol.iterator=i.Symbol("iterator")),"function"!=typeof
Array.prototype[t]&&e(Array.prototype,t,{configurable:!0,writable:!
0,value:function(){return c(this)}}),s=function(){}}function c(t){var n=0;return
function(t){return s(),(t={next:t})[i.Symbol.iterator]=function(){return this},t}
((function(){return nn||
(clearTimeout(t.j),t.j=setTimeout((function(){var
n=performance.timing.navigationStart,i=p(t.g,t.b);if(n=(window.a&&window.a.A?
1e3*window.a.A().C-n:0)||performance.timing.domContentLoadedEventEnd-n,t.u)var
e=t.u;else e=performance.timing.domContentLoadedEventEnd?
(e=performance.timing).domContentLoadedEventEnd-e.navigationStart:null;var
r=performance.now();null===e&&w(t,Math.max(i+5e3,r+1e3));var o=t.a;(i=5e3>r-i||
5e3>r-(i=o.length?o[o.length-1].end:n)?
null:Math.max(i,e))&&(t.s(i),clearTimeout(t.j),t.i=!
1,t.c&&t.c.disconnect(),t.h&&t.h.disconnect()),w(t,performance.now()+1e3)}),n-
performance.now()),t.v=n)}m.prototype.getFirstConsistentlyInteractive=function()
{var t=this;return new r((function(n){t.s=n,"complete"==document.readyState?
b(t):window.addEventListener("load",(function()
{b(t)}))}))},m.prototype.m=function(t)
{this.f.set(t,performance.now())},m.prototype.l=function(t)
{this.f.delete(t)},m.prototype.B=function(){w(this,performance.now()
+5e3)},i.Object.defineProperties(m.prototype,{g:{configurable:!0,enumerable:!
0,get:function(){return[].concat(f(this.f.values()))}}});var
g={getFirstConsistentlyInteractive:function(t){return t=t||
{},"PerformanceLongTaskTiming"in window?new
m(t).getFirstConsistentlyInteractive():r.resolve(null)}};t.exports?
t.exports=g:window.ttiPolyfill=g}()})),id=z(z({},mc),{},{ALERT_DISPLAYED:"alert-
displayed",ALERT_HIDDEN:"alert-hidden",CAPTIONS_ENABLED:"captions-
enabled",CAPTIONS_DISABLED:"captions-disabled",CHROMECAST_CONNECTED:"chromecast-
connected",CHROMECAST_DISCONNECTED:"chromecast-disconnected",DRM_KEY_SWITCH:"drm-
key-switch",ERROR_LINK_PRESSED:"error-link-
pressed",MEDIASESSION_PLAY:"mediasession-play",MEDIASESSION_PAUSE:"mediasession-
pause",MEDIASESSION_SEEK_FORWARD:"mediasession-
seekforward",MEDIASESSION_SEEK_BACKWARD:"mediasession-
seekbackward",SLATE_DISPLAYED:"slate-
displayed",CLICK:"click",VIDEO_DURATION_MISMATCH:"video-duration-
mismatch",VIDEO_FULLSCREEN_CHANGE:"video-fullscreen-
change",VIDEO_MANIFEST_LOADED:"video-manifest-
loaded",VIDEO_MANIFEST_TIMEOUT:"video-manifest-
timeout",VIDEO_PLAYBACK_RATE_CHANGED:"video-playback-rate-
changed",VIDEO_STREAM_CHANGE:"video-stream-
change",VIDEO_SWITCH_BACK_TO_AUTO:"video-switch-back-to-
auto",VIDEO_SWITCH_FROM_AUTO:"video-switch-from-auto",DOWNLOAD_TIMEOUT:"video-
download-timeout",AD_BUFFERING:"ad-buffering",AD_COMPLETE:"ad-
complete",AD_CLICKED:"ad-clicked",AD_ERROR:"ad-error",AD_PAUSED:"ad-
paused",AD_RESUMED:"ad-resumed",AD_STARTED:"ad-started",AD_SKIPPED:"ad-
skipped",OUTRO_VIDEO_SELECTED:"outro-video-
selected",WEBVR_HARDWARE_AVAILABLE:"webvr-hardware-available",ENTER_WEBVR:"enter-
webvr",EXIT_WEBVR:"exit-webvr"});function ed(t){return
Us("av01",t)?"AV1":Us("hvc1",t)?"HEVC":Us("avc1",t)?"AVC":null}function
rd(t){return Us("mp4a",t)?"AAC":Us("opus",t)?"OPUS":null}function od(t,n){var
i,e;return(null==t||null==(i=t.request)||null==(e=i.ab_tests)?void 0:e[n])?
t.request.ab_tests[n]:{}}function ud(t,n,i,e){var o,u,a,s,c,l=function(t){return
function(){for(var n=[],i=0;i1&&void 0!==arguments[1]?arguments[1]:{};it(n)||
((i=Object.assign(u?u.globalProperties():{},et(),i)).name=n,t.events.fire(ec.qf,
{name:n,data:i}),o.log(i).catch((function(t){})))}function it(n){var
i,e,r,o;switch(n){case id.VIDEO_SEEK:case
id.VIDEO_SEEKED:return(null==(i=t.config.embed)?void 0:i.loop)||
(null==(e=t.config.embed)||null==(r=e.settings)?void 0:r.background);case
id.VIDEO_PLAYBACK_RATE_CHANGED:return null==(o=t.config.video.live_event)?void
0:o.low_latency;default:return!1}}function et(){return Object.assign(function(){var
n,e,r,o,u,a,s={autoplay:1===t.config.embed.autoplay,background:!!
t.config.embed.settings.background,clip_id:t.config.video.id,context:t.config.embed
.context,device_pixel_ratio:window.devicePixelRatio||1,drm:!!
t.config.request.drm,embed:!t.config.embed.on_site,is_mod:!!
t.config.user.mod,is_spatial:!(!Wi.spatialPlayback||!
t.config.video.spatial),logged_in:!!t.config.user.logged_in,looping:!!
t.config.embed.loop,owner_id:null==(n=t.config.video)||null==(e=n.owner)?void
0:e.id,product:_c(t),referrer:t.config.request.referrer,session_id:t.config.request
.session,stayed_on_auto:m,version:kc(t.config),version_backend:t.config.request.bui
ld.backend,viewer_id:null==(r=t.config.user)?void
0:r.id,viewer_team_id:null==(o=t.config.user)?void
0:o.team_id,viewer_team_origin_user_id:null==(u=t.config.user)?void
0:u.team_origin_user_id,vuid:ul("vuid")};return
t.config.video.owner&&(s.account_type=t.config.video.owner.account_type),t.config.e
mbed.api&&(s.api_version=t.config.embed.api),t.config.embed.app_id&&(s.app_id=Strin
g(t.config.embed.app_id)),t.config.video.privacy&&(s.privacy=t.config.video.privacy
),i.get(nl)&&(s.live_session_id=null==(a=t.config.video.live_event)?void
0:a.id),Wi.webvr&&t.config.video.spatial&&(s.webvr_support=!
0),Wi.webxr&&t.config.video.spatial&&(s.webxr_support=!
0),t.config.request.drm&&t.config.request.drm.fallback_asset&&(s.has_sd_drm_fallbac
k=!0),s}(),function(){var n,i,e=t.backbone.video?t.backbone.video.currentFile:
{},r=function(){var
n={},i=Hf(),e=Ea("asc"),r="MediaSourceScanner"===t.backbone.currentScannerName,o="H
TMLScanner"===t.backbone.currentScannerName,u="HLSLiveScanner"===t.backbone.current
ScannerName,a=[];o&&(a=sa(t.config,"request.files.progressive")||
sa(t.config,"request.files.hls")||
[]),r&&(a=sa(t.config,"request.files.dash.streams",
[])),u&&(a="video/vnd.mpeg.dash.mpd"===t.backbone.video.currentFile.mime?
sa(t.config,"request.files.dash.streams",
[]):sa(t.config,"request.files.hls.streams",[]));var
s=U(a).sort(e).map((function(t){return t.profile})),c=-
1,l=0,f=null;if(Object.keys(_).forEach((function(t){var
n=s.indexOf(parseInt(t,10));n>c&&(c=n);var e=_[t].reduce((function(t,n)
{return((n.end||i)-
n.start)/1e3+t}),0);e>l&&(l=e,f=t)})),n.highest_profile=s[c],n.highest_available_pr
ofile=s[s.length-1],n.most_used_profile=f,(r||u)&&S)
{n.max_speed=Math.round(Math.max.apply(Math,tt(S)))/1e3,n.min_speed=Math.round(Math
.min.apply(Math,tt(S)))/1e3;var h=S.reduce((function(t,n){return
t+n}),0);n.average_speed=Math.round(h/S.length)/1e3}return n}(),o=e.id,u=void
0===o?0:o,a=e.mime,c=void 0===a?"video/mp4":a,l=e.metadata,f=(l=void 0===l?
{}:l).profile,h=void 0===f?null:f,p=!1,m=!1;switch(c){case
zs:0===e.restrictedStreamIndexes.length&&(p=!
0),sa(t.config,"request.files.dash.separate_av")&&(m=!0),h=y?
y.profile:null;break;case"application/vnd.apple.mpegurl":p=!0}var
b,w={audio_bitrate:t.backbone.getBitrateAtTime(t.backbone.currentTime,"audio")/1e3,
auto:p,average_speed:r.average_speed||0,cdn:e.metadata?
e.metadata.cdn:"akamai",delivery:"live"!==oc[c]?
oc[c]:"dash",display:t.expose.pictureInPicture?"pip":t.expose.fullscreen?"fs":null,
dropped_frames:D,dropped_frame_percent:L,event_time:d+qf(v),ended:C,forced_embed_qu
ality:R,fullscreen:I,highest_available_profile:r.highest_available_profile?
String(r.highest_available_profile):null,highest_profile:r.highest_profile?
String(r.highest_profile):null,max_speed:isFinite(r.max_speed)?
r.max_speed:0,mime:e.mime||null,min_speed:isFinite(r.min_speed)?
r.min_speed:0,most_used_profile:r.most_used_profile?
String(r.most_used_profile):null,origin:e.metadata?
e.metadata.origin:"",profile_id:h?
String(h):null,codec:Cu(y)?"":ed(y.codecs),audio_codec:rd(null==(n=t.backbone)||
null==n.getCurrentStream||null==(i=n.getCurrentStream("audio"))?void 0:i.codecs)||
null,quality:y?
y.quality:null,quality_downswitch_count:j,quality_upswitch_count:O,quality_switch_c
ount:O+j,separate_av:m,target_profile_id:Y,ttfb:rt(),video_bitrate:t.backbone.getBi
trateAtTime(t.backbone.currentTime,"video")/1e3,video_duration:Is(t.config.video.du
ration),video_file_id:Number.isInteger(Number(u))?
parseInt(u,10):null};t.backbone.isLive&&(w.ecdn=!!
t.config.video.p2p,w.ecdn&&(w.ecdn_peers=null==(b=window.Streamroot)?void
0:b.instances[0].stats.realtime.dnaSources),void 0!
==t.backbone.latency&&(w.latency=t.backbone.latency),void 0!
==t.backbone.lowLatencyMode&&(w.is_low_latency=t.backbone.lowLatencyMode));return
t.config.request.drm&&(w.drm_mode=s),w}(),function(){var
n={};if(t.config.request.ab_tests)for(var i in t.config.request.ab_tests){var
e=t.config.request.ab_tests[i];for(var r in
n["".concat(i,"_test")]=1,n["".concat(i,"_group")]=e.group,e.data)n["".concat(i,"_d
ata_").concat(r)]=e.data[r]}return n}())}function rt(){var t=-1;if(void 0!
==window.performance&&"function"==typeof window.performance.getEntriesByType){var
n=window.performance.getEntriesByType("resource");if(n){var i=n.filter((function(t)
{return null!==t.name.split("?")[0].match(/\.m4s$|\.ts$/)}));t=i.map((function(t)
{return t.responseStart-t.connectStart})).reduce((function(t,n){return
t+n}),0)/(i.length||1)}}return Is(t,2)}function
ot(t){var n=t.url,i=-1;if(window.performance){var
e=window.performance.getEntriesByType("resource");if(e.length){var
r=e.filter((function(t){return t.name===n})).sort((function(t,n){return
t.connectStart-n.connectStart}));if(r.length){var o=r[r.length-
1];i=o.responseStart-o.connectStart}}}return Is(i,2)}function ut(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{final:!
0},i=arguments.length>2&&void 0!==arguments[2]?
arguments[2]:null,e={error_type:t,error_reason:i};u.handleExternalError(e,n)}v=Wf()
,d=t.config.request.timestamp,s=t.config.request.drm?"default":null,o=new
bc(function(){var n="?beacon=1&session-id=".concat(t.config.request.session);return
t.config.request.urls.fresnel+n}()),t.events.on(ec.lc,ut),t.events.on(Gs.Vs,
(function(){M=!1})),t.events.on(Gs.Ds,(function(){J=!0})),t.events.on(ec.cf,
(function(t,n){nt(id.ERROR_LINK_PRESSED,
{error_type:n,error_url:t})})),t.events.on(ec.Zc,(function(){I=!
0,nt(id.VIDEO_FULLSCREEN_CHANGE)})),t.events.on(ec.tl,(function(){I=!
1,nt(id.VIDEO_FULLSCREEN_CHANGE)})),t.events.on(ec.Mf,(function(t,n){nt(t?
id.ALERT_DISPLAYED:id.ALERT_HIDDEN)})),t.events.on(ec.Hl,(function()
{d=t.config.request.timestamp,v=Wf(),p=!1,m=!0,b=!1,w=!
1,g="auto",y={},_={},k=null,E=null,T=null,S=[],x=null,A={},M=!1,C=!1,R="none",I=!
1,O=0,j=0,L=0,D=0,N=null,F=null,V=null,q=null,z=null,Y=null,X=0,s=t.config.request.
drm?"default":null,u&&(u.reset(),Q())})),t.events.on(ec.Ec,(function()
{K={seek_type:"nudge"}})),t.events.on(ec.Dc,(function(t,n)
{K={seek_type:n}})),t.events.on(ec.Ic,(function(t)
{K={seek_type:"chapter-".concat(t)}})),t.events.on(ec.Ql,(function(t)
{nt(id.OUTRO_VIDEO_SELECTED,{selected_video_id:t})})),t.events.on(Ko,(function()
{M||Bc.isCastConnected||(t.performDelegateAction(ic,(function(t){M=!
0,c.then((function(){return u.logStartRequest()})).catch((function()
{}))})),od(t.config,"chunk_logging").group&&t.config.request.urls.fresnel_manifest_
url&&function(t,n,i,e){var r=Date.now(),o=[{uuid:Os(),created_at:r,event:
{name:"session_manifest",version:1,ts_ms:r,fields:
{sessionID:n,manifest:i}},tracker:{name:"vimeo-player",version:e}}];new
bc(t).logRequestPromiseWithUrl(t,JSON.stringify(o),!0)}
(t.config.request.urls.fresnel_manifest_url+"?
beacon=1",t.config.request.session,t.backbone.manifest,kc(t.config)))})),t.events.o
n(ec.sl,(function(t){"email-capture"===t&&nt(id.SLATE_DISPLAYED,
{slate_type:"email"})})),t.events.on(ec.kc,(function(t,n)
{nt(id.VIDEO_PLAYBACK_RATE_CHANGED,
{previous_playback_rate:n})})),t.events.on(ec.yc,(function(t){nt(id.CLICK,
{click_target:t})})),t.events.on(Gs.Hs,(function(n){"auto"!==n&&(m=!
1),t.backbone.video.currentFile.mime===zs&&("auto"===n||b?"auto"===n&&b&&!
w&&(nt(id.VIDEO_SWITCH_BACK_TO_AUTO,{quality:g,auto:1}),w=!0):
(nt(id.VIDEO_SWITCH_FROM_AUTO,{quality:n,auto:0}),b=!0),g=n)})),t.events.on(Gs.$s,
(function(t){x!==t&&(x=t,nt(id.CAPTIONS_ENABLED,
{captions_id:String(t)}))})),t.events.on(Gs.Xs,(function()
{x&&(x=null,nt(id.CAPTIONS_DISABLED))})),t.events.on(Fc.connected,(function()
{nt(id.CHROMECAST_CONNECTED)})),t.events.on(Fc.disconnected,(function()
{nt(id.CHROMECAST_DISCONNECTED)})),t.events.on(Ti.STREAM_CHANGE,(function(t,n,i)
{y=t;var e=t.profile?t.profile:t.id,r=Hf();if(_[e]=_[e]||[],k){var o=_[k].length-
1;_[k][o]&&(_[k][o].end=r)}E&&(i[n].bitrate>E?
O+=1:j+=1),_[e].push({start:r}),A[e]={bitrate:i[n].bitrate,width:i[n].width,height:
i[n].height},nt(id.VIDEO_STREAM_CHANGE,
{previous_audio_bitrate:T/1e3,previous_video_bitrate:E/1e3,previous_profile_id:Stri
ng(k)}),k=e,E=i[n].bitrate,T=i[n].audioBitrate})),t.events.on(Ti.STREAM_TARGET_CHAN
GE,(function(t){t&&(Y=String(t.profile||"")||null)})),t.events.on(Jo,(function(t)
{R=t})),t.events.on(_i.PLAYING,(function(){J=!1})),t.events.once(ec._c,(function()
{p=!0})),t.events.on(ec.Lf,(function(){nt(id.AD_BUFFERING)})),t.events.on(ec.Df,
(function(){nt(id.AD_COMPLETE)})),t.events.on(ec.Pf,(function()
{nt(id.AD_CLICKED)})),t.events.on(ec.Nf,(function(t){nt(id.AD_ERROR,
{error_type:t.errorType,error_reason:t.errorReason})})),t.events.on(ec.Ff,
(function(){nt(id.AD_PAUSED)})),t.events.on(ec.Uf,(function()
{nt(id.AD_RESUMED)})),t.events.on(ec.Vf,(function(t){nt(id.AD_STARTED,
{startup_duration:t.time?Is(t.time/1e3,2):null})})),t.events.on(ec.Bf,(function()
{nt(id.AD_SKIPPED)})),t.events.on(ec.dc,(function()
{Wi.iPhone&&u.setDisplayContext(1)})),t.events.on(ec.vc,(function()
{Wi.iPhone&&u.setDisplayContext(0)})),t.events.on(Ti.DROPPED_FRAMES,(function(t)
{var
n=t.dropped/t.total*100;L=Math.round(100*n)/100,D=t.dropped})),t.events.on(Ti.BANDW
IDTH,(function(t){var
n=t.speed;S.push(n),S.length>500&&S.shift()})),t.events.on(Ti.MANIFEST_TIMEOUT,
(function(){nt(id.VIDEO_MANIFEST_TIMEOUT)})),t.events.on(Ti.MANIFEST_LOADED,
(function()
{nt(id.VIDEO_MANIFEST_LOADED)})),t.events.on(Ti.DOWNLOAD_END,l),t.events.on(Ti.DOWN
LOAD_TIMEOUT,(function(){nt(id.DOWNLOAD_TIMEOUT)})),t.events.on(Ti.DRM_KEY_SWITCH,
(function(){s="sd-fallback",nt(id.DRM_KEY_SWITCH)})),t.events.on(Ti.SCANNER_CHANGE,
(function(){q=null})),t.events.on(Ti.AV_DURATION_MISMATCH,(function(t)
{nt(id.VIDEO_DURATION_MISMATCH,
{duration_difference:Math.round(100*t)/100})})),t.events.on(Ti.QUOTA_EXCEEDED_ERROR
,(function(t){var
n=t.buffered,i={error_type:Ti.QUOTA_EXCEEDED_ERROR};i.buffered=Is(pt(0,n),2),i.byte
s_loaded=X,nt(id.VIDEO_PLAYBACK_ERROR,i)})),t.events.on(Ai.MEDIASESSION_PLAY,
(function(){nt(id.MEDIASESSION_PLAY)})),t.events.on(Ai.MEDIASESSION_PAUSE,
(function(){nt(id.MEDIASESSION_PAUSE)})),t.events.on(Ai.MEDIASESSION_SEEK_FORWARD,
(function()
{nt(id.MEDIASESSION_SEEK_FORWARD)})),t.events.on(Ai.MEDIASESSION_SEEK_BACKWARD,
(function(){nt(id.MEDIASESSION_SEEK_BACKWARD)})),t.events.on(rc.Ds,(function()
{K={seek_type:"api"}})),t.events.on(rc.Wf,(function(){$=!0})),t.events.on(rc.zf,
(function(){$=!0})),t.events.on(xi.WEBVR_HARDWARE_AVAILABLE,(function(t)
{nt(id.WEBVR_HARDWARE_AVAILABLE,
{vr_hardware:t.displayName})})),t.events.on(xi.WEBVR_ENTER,(function()
{nt(id.ENTER_WEBVR,!0)})),t.events.on(xi.WEBVR_EXIT,(function(){nt(id.EXIT_WEBVR,!
0)})),t.events.on(Mi.BRAIN_ML_MODEL_INPUTS,(function(n){var i;
(null==(i=n.geolocation)?void 0:i.length)&&n.geolocation[0].length?
n.geolocation=n.geolocation[0]
[0]:n.geolocation="",t.config.request.urls.fresnel_mimir_inputs_url&&function(t,n,i
,e){var
r={chunk_request_id:i.chunkRequestID,duration:i.duration,available_qualities:i.avai
lableQualities,next_chunk_sizes:i.nextChunkSizes,last_buffer_sizes:i.lastBufferSize
s,last_chunk_download_times:i.lastChunkDownloadTimes,last_chunk_sizes:i.lastChunkSi
zes,last_chunk_qualities:i.lastChunkQualities,num_remaining_chunks:i.numRemainingCh
unks,last_playback_heads:i.lastPlaybackHeads,geolocation:i.geolocation,session_id:n
},o=Date.now(),u=[{uuid:Os(),created_at:o,event:
{name:"mimir_inputs",version:1,ts_ms:o,fields:r},tracker:{name:"vimeo-
player",version:e}}];new bc(t).logRequestPromiseWithUrl(t,JSON.stringify(u),!0)}
(t.config.request.urls.fresnel_mimir_inputs_url+"?
beacon=1",t.config.request.session,n,kc(t.config))})),t.events.on(au.STALL_JUMP,
(function(t){ut("livestall",{final:!1},t.msg)})),(c=new r((function(n,i){var e;
(null==(e=t.backbone)?void
0:e.video)&&n(),t.events.on(Go,n)}))).then(Z).catch((function()
{})),t.events.on(ec.af,Z),nd.getFirstConsistentlyInteractive().then((function(t)
{z=Is(t)})).catch((function(){}))}var ad=function(){function t(t,n,i)
{this.player=t,this.element=n,this.store=i,this.shouldSample=!
0,this.muxClient=null,this.yh()&&(this.shouldSample&&Math.random()>.75||
this._h())}var n=t.prototype;return n.kh=function(){return!!
this.player.config.request.flags.ott},n.yh=function(){var t;return!
(this.player.doNotTrackEnabled||!
this.kh()&&((null==(t=this.player.config.video.live_event)?void
0:t.low_latency)&&(this.shouldSample=!1),!this.store.get(nl)))},n._h=function(){var
t=this;if(!document.getElementById("vp-mux-client")){var
n=document.createElement("script");n.setAttribute("id","vp-mux-
client"),n.setAttribute("src",this.player.config.request.urls.mux_url),n.onreadysta
techange=n.onload=function(){t.Eh(),t.store.get(nl)||
t.Th()},document.getElementsByTagName("head")[0].appendChild(n)}},n.Eh=function()
{var t=this;this.player.events.on(ec.Hl,(function(n){if(t.yh()&&n&&"undefined"!
=typeof mux){var i=t.player.backbone.video?t.player.backbone.video.currentFile:
{},e=t.element.querySelector(".vp-telecine").getElementsByTagName("video")
[0];mux.emit(e,"videochange",z({video_title:t.player.config.video.title,video_id:t.
player.config.video.id,video_duration:1e3*t.player.config.video.duration,video_cdn:
i.metadata?
i.metadata.cdn:"akamai",video_stream_type:t.store.get(nl)?"live":"vod",viewer_user_
id:t.player.config.request.session,view_session_id:t.player.config.request.session}
,t.Sh()))}})),this.player.events.on(au.STREAM_ONLINE,(function()
{t.Th()})),this.player.events.on(au.STREAM_OFFLINE,(function(){var
n=t.element.querySelector(".vp-telecine").getElementsByTagName("video")
[0];mux.emit(n,"ended")}))},n.Th=function(){if("undefined"!=typeof mux){var
t=this.player.backbone.video?this.player.backbone.video.currentFile:
{},n=this.element.querySelector(".vp-telecine").getElementsByTagName("video")
[0];null!==this.muxClient&&mux.destroyMonitor(n);var
i="dev"===this.player.config.request.build.js?"6eq01ih8u9u8fkk4hbindded5":"73cngs5o
v03sbnck36isdkndt";this.store.get(Qc)&&(i="dev"===this.player.config.request.build.
js?"kghblrf3bb9uk33lv58ompm3k":"md0ig7ssl8unl2kpl0h6p0drn");var
e=z({property_key:i,player_name:"Vimeo
Player",player_init_time:Date.now(),player_version:kc(this.player.config),video_tit
le:this.player.config.video.title,video_id:this.player.config.video.id,video_durati
on:1e3*this.player.config.video.duration,video_cdn:t.metadata?
t.metadata.cdn:"akamai",video_stream_type:this.xh(),viewer_user_id:this.player.conf
ig.request.session,view_session_id:this.player.config.request.session,sub_property_
id:this.player.config.video.owner.id},this.Sh());this.kh()&&(e.property_key="dev"==
=this.player.config.request.build.js?"3tb8rggvj5m71caj9jfpiidos":"lrc6o7kvhc6npvqq2
r5iks5u4",this.player.config.ott&&(e=Object.assign(e,this.player.config
.ott))),this.muxClient=mux.monitor(n,{debug:!
1,minimumRebufferDuration:500,data:e})}},n.Sh=function(){var
t=this.player.config.request.ab_tests||{},n=Object.keys(t).find((function(n){return
t[n].mux}));return n?{experiment_name:n}:null},n.xh=function(){var t;return
this.store.get(nl)?(null==(t=this.player.config.video.live_event)?void
0:t.low_latency)?"low_latency_live":this.player.config.video.p2p?"ecdn_live":"live"
:"vod"},t}();function sd(t){var n,i,e=t.config.ott||
{},o="https://collector.vhx.tv/events.gif",u=new bc(o),a=$f((function()
{l("timeupdate")}),1e4,{leading:!1}),s=$f((function(){l("seeking")}),500);function
c(){e=t.config.ott||{},i=!1,n=!1}function l(i,r){(r=Object.assign({},r,
{name:e.video_title,user_id:e.viewer_user_id,user_email:e.viewer_user_email,site_id
:e.site_id,user_agent:navigator.userAgent,url:top===self?
window.location.href:document.referrer,referrer:t.config.request.referrer,session_i
d:t.config.request.session,device:"html5",device_id:null,collection_id:e.collection
_id,product_id:e.product_id,platform:e.platform,platform_id:null,platform_version:e
.platform_version},
{type:"video",video_id:e.video_id,current_src:t.backbone.currentFile.src,current_su
btitle:"none",current_type:e.video_content_type,duration:e.video_duration,is_drm:t.
config.request.drm?1:0,is_fullscreen:n?1:0,is_trailer:e.is_trailer?
1:0,is_chromecast:Bc.isCastConnected?
1:0,is_live:t.config.video.live_event,seconds:10,timecode:t.currentTime})).name=i,v
oid 0===r.timestamp&&(r.timestamp=Math.round(.001*Date.now()));var a=wt(o,r);return
u.logRequestPromiseWithUrl(a,{},!0,"GET").catch((function(t){}))}function f()
{t.events.on(_i.ENDED,h),t.events.on(_i.ERROR,d),t.events.on(_i.PAUSE,v),t.events.o
n(_i.PLAY,p),t.events.on(_i.TIME_UPDATE,a),t.events.on(_i.SEEKING,s),t.events.on(_i
.SEEKED,m),t.events.on(_i.WAITING,b),t.events.on(ec.Zc,w),t.events.on(ec.tl,g),t.ev
ents.on(ec.Df,y),t.events.on(ec.Pf,_),t.events.on(ec.Nf,k),t.events.on(ec.Vf,E),t.e
vents.on(ec.Bf,T)}function h(){a.cancel(),l("ended")}function d()
{a.cancel(),l("error")}function v(){a.cancel(),l("pause")}function p(){if(!i)return
i=!0,void l("firstplay");l("play")}function m(){s.cancel(),l("seeked")}function b()
{l("waiting")}function w(){n=!0}function g(){n=!1}function y()
{l(id.AD_COMPLETE)}function _(){l(id.AD_CLICKED)}function k()
{l(id.AD_ERROR)}function E(){l(id.AD_STARTED)}function T()
{l(id.AD_SKIPPED)}t.events.on(ec.Hl,c),c(),t.config.ott?f():new r((function(n,i)
{t.ottVideoMetadata?n():t.events.on(ec.$l,(function(t){n()}))})).then((function()
{e=t.ottVideoMetadata,f()})).catch((function(t){}))}var cd=function(t){return
function(n){for(var i=arguments.length,e=new Array(i>1?i-1:0),r=1;r0&&e(s)?i>1?t(s,i-
1,e,r,o):Du(o,s):r||(o[o.length]=s)}return o}(t,1):[]}var wd=function(t){return
Zt(Et(t,void 0,bd),t+"")}((function(t,n){return null==t?
{}:vd(t,n)})),gd=["clip_id","profile_id","player_size","dropped_frames","total_fram
es","bandwidth","markers","streams","files","video_dims","min_bandwidth","max_badwi
dth","buffer_occupancy","live_latency","scanner","vr_headset"],yd=function()
{function t(t)
{this.Yf=t,this.Ah={},this.Mh=null,this.Ch(),this.Rh(),this.Ih(),this.Oh()}var
n=t.prototype;return n.reset=function()
{this.Ch(),this.Oh(),this.Yf.events.fire(ec.Ml)},n.jh=function(t,n){return
this.Ah[t]=[n],this.Yf.events.fire(ec.Ml),this.Ah[t]},n.Lh=function(t,n){return
this.Ah[t].push(n),this.Ah[t].length>300&&this.Ah[t].splice(0,25),this.Yf.events.fi
re(ec.Ml),this.Ah[t]},n.getCurrent=function(t){return this.Ah[t].slice(-1)
[0]},n.getSeries=function(t){return this.Ah[t]},n.Dh=function(){var
t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
{},n=t.name,i=Ua({},t.data),e=this.Ph(n,i);this.Nh(n,n,e)},n.Ph=function(t,n)
{if(t===id.CHUNK_DOWNLOADED){var
i={};i.host=n.host,i.duration=Is(n.duration,2),i.size=n.size,i.index=n.index,i.prof
ile_id=n.profile_id,i.quality=n.quality,i.buffered=Is(n.buffered,2),i.ttfb=Is(n.ttf
b,2),i.extraContext=n.extraContext,i.headers=wd(n.headers,
["x_vim_cachebc","x_cache","akamai_edge_ip","x_akamai_request_id","ak_reference_id"
,"content_type"]);var
e=0,r=0,o=0,u=i.headers.x_vim_cachebc,a=i.headers.x_cache;return u?
u.split(",").forEach((function(t){var n=Q(t.split(":"),2),i=n[0],e=n[1];"E"!
==i||"h"!==e?"h"!==e||(r=1):o=1})):a&&(r="HIT"===a.substr(0,3),o="HIT"===a.substr(-
3)),o?e=2:r&&(e=1),i.cache_hit=e,i}if(t===id.VIDEO_PLAYBACK_ERROR||
t===id.VIDEO_LOAD_FAILURE||t===id.VIDEO_START_FAILURE||t===id.VIDEO_READY)return
n;if(void 0!==n.autoplay&&void 0!==n.looping){var s={};return
s.cdn=n.cdn,s.quality=n.quality,s}return n},n.Nh=function(t,n){var
i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:
{},e=this.Yf.backbone.currentTime,r=Date.now(),o=Is(pt(e,this.Yf.backbone.buffered)
,2);this.Lh("markers",{type:t,title:n,vt:e,t:r,bt:o,data:i})},n.Rh=function(){var
t=this;this.Yf.events.on(ec.Hl,(function()
{t.reset()})),this.Yf.events.on(Ti.BANDWIDTH,this.Fh.bind(this)),this.Yf.events.on(
Ti.BUFFER_OCCUPANCY,this.Uh.bind(this)),this.Yf.events.on(Ti.CURRENT_FILE_CHANGE,th
is.Vh.bind(this)),this.Yf.events.on(Ti.DROPPED_FRAMES,this.Bh.bind(this)),this.Yf.e
vents.on(Ti.SCANNER_CHANGE,this.Hh.bind(this)),this.Yf.events.on(Ti.STREAM_CHANGE,t
his.qh.bind(this)),this.Yf.events.on(Ti.STREAM_CHANGE_START,this.Wh.bind(this)),thi
s.Yf.events.on(_i.TIME_UPDATE,this.Nr.bind(this)),this.Yf.events.on(xi.WEBVR_HARDWA
RE_AVAILABLE,this.zh.bind(this)),this.Yf.events.on(ec.qf,this.Dh.bind(this)),this.Y
f.events.on(au.BUFFER_GAP_JUMP_PREVENT,this.Gh.bind(this)),this.Yf.events.on(au.BUF
FER_GAP_JUMP,this.Kh.bind(this)),this.Yf.events.on(au.STALL_JUMP,this.Yh.bind(this)
)},n.zh=function(t)
{t.displayName&&this.jh("vr_headset",t.displayName)},n.Jh=function(){var
t=this;this.Mh=setInterval((function(){var
n=t.Yf.backbone.buffered,i=t.Yf.backbone.videoElement;if(n&&n.length&&i&&i.currentT
ime){var e=t.Yf.backbone.latency;t.jh("live_latency",e)}else
t.jh("live_latency",0)}),500)},n.$h=function()
{clearInterval(this.Mh)},n.Ih=function(){var
t=this;this.Yf.store.watch("ui.player.boundingRect",(function(n){var
i=t.getCurrent("video_dims"),e=t.Xh(n);t.Lh("video_dims",e);var r=i?"Resized from
".concat(i," to ").concat(e):"Resized to
".concat(e);t.Nh(sc.MARKER_RESIZE,r)}))},n.Xh=function(t){var
n="".concat(Math.round(t.width),"px"),i="".concat(Math.round(t.height),"px"),e=wind
ow.devicePixelRatio&&window.devicePixelRatio>1?"@".concat(Is(window.devicePixelRati
o,3),"x"):"";return n&&i?"".concat(parseInt(n,10),"×").concat(parseInt(i,10),"
").concat(e):""},n.Ch=function(){this.Ah=gd.reduce((function(t,n){return
t[n]=[],t}),{})},n.Oh=function(){var
t=this.Yf.backbone.currentFile;this.Lh("files",t),this.Lh("scanner",this.Yf.backbon
e.currentScannerName),"HLSLiveScanner"===this.Yf.backbone.currentScannerName&&this.
Jh(),this.jh("min_bandwidth",0),this.jh("max_badwidth",0);var
n=this.Yf.store.get("ui.player.boundingRect"),i=this.Xh(n);this.Lh("video_dims",i)}
,n.Fh=function(t){var n=Math.round(100*t.speed)/100;this.Lh("bandwidth",
{videoTime:this.Yf.backbone.currentTime,time:Date.now(),value:n});var
i=this.getCurrent("max_badwidth"),e=this.getCurrent("min_bandwidth");(!e||
ni)&&this.jh("max_badwidth",n)},n.Bh=function(t){var
n=t.dropped,i=t.total;this.jh("total_frames",i),this.jh("dropped_frames",n)},n.Ju=f
unction(){this.Nh(sc.MARKER_SEEKED,"Seeked to
".concat(this.Yf.backbone.currentTime))},n.Zh=function()
{this.Nh(sc.MARKER_ENDED,"Ended")},n.Wh=function(t){var
n=t.previousStreamIndex,i=t.index,e=t.streams,r=e[i],o=e[n],u=o?
o.bitrate:null;if(u!==r.bitrate&&null!==u){var
a=this.Qh(o),s=this.Qh(r);r.bitrateu&&this.Nh(sc.MARKER_UPSWITCH,"Starting Upswitch from
".concat(a," to ").concat(s))}},n.qh=function(t,n,i){var
e,r=i[n],o=this.Qh(r),u=ed(r.codecs),a=null==(e=this.Yf.backbone)||
null==e.getCurrentStream?void 0:e.getCurrentStream("audio"),s=rd(null==a?void
0:a.codecs),c="".concat(u).concat(s?" /
".concat(s):"");this.Nh(sc.MARKER_SWITCH_COMPLETE,"Completed switch to
".concat(o)),this.Lh("streams",{profile:void 0!==t?t.profile:null,quality:void 0!
==t?t.quality:"".concat(r.height,"p"),bitrate:r.bitrate,audioBitrate:null==a?void
0:a.bitrate,framerate:r.framerate,height:r.height,width:r.width,id:r.id,codec:c})},
n.Vh=function(){var
t=this.getCurrent("files"),n=this.Yf.backbone.currentFile;this.Lh("files",n);var
i=n.metadata.cdn,e=t?t.metadata.cdn:null,r=t?oc[t.mime]:null,o=oc[n.mime],u="CDN to
".concat(i,"/").concat(o);e&&(u="CDN from ".concat(e,"/").concat(r," to
").concat(i,"/").concat(o)),this.Nh(sc.MARKER_FILE_CHANGE,u)},n.Uh=function(t){var
n=Math.round(1e3*t)/1e3;this.Lh("buffer_occupancy",
{videoTime:this.Yf.backbone.currentTime,time:Date.now(),value:n})},n.Hh=function()
{var
t=this.getCurrent("scanner"),n=this.Yf.backbone.currentScannerName;this.jh("scanner
",n),t&&this.Nh(sc.MARKER_SCANNER_CHANGE,"Scanner change to
".concat(n)),"HLSLiveScanner"===n?this.Jh():this.$h()},n.Kh=function(t)
{this.Nh(sc.MARKER_BUFFER_GAP_JUMP,t.msg)},n.Gh=function(t)
{this.Nh(sc.MARKER_BUFFER_GAP_JUMP_PREVENT,t.msg)},n.Yh=function(t)
{this.Nh(sc.MARKER_STALL_JUMP,t.msg)},n.td=function()
{this.Nh(sc.MARKER_STALLED,"Stalled")},n.Qh=function(t)
{return"".concat(t.width,"×").concat(t.height,"@").concat(Math.round(t.framerate),"
").concat(Math.round(t.bitrate/1e3).toLocaleString()," Kbps")},n.Nr=function()
{this.Yf.events.fire(ec.Ml)},t}();function _d(t){var
n=t.element,i=t.delegate,e=void 0===i?{}:i,o=t.cssLoadedPromise,u=void 0===o?
r.resolve(null):o,a=t.name,s=void 0===a?null:a;Oa(xc);var c=ds(Df,vs((function(t)
{return function(){var n=t.apply(void 0,arguments),i=gs();function e(t,n){return
u(t,(function(t){var e=i.get({selector:t,listener:n});if(!e){var
r=o(t,n);e=i.insert({selector:t,listener:n,unsubscribe:r})}return
e.unsubscribe}))}function r(t,n){return u(t,(function(t){var
e=i.get({selector:t,listener:n});return e&&e.unsubscribe()}))}function o(t,i){var
e=t(n.getState());return n.subscribe((function(){var r=t(n.getState());if(e!==r)
{var o=e;i(e=r,o,n.getState())}}))}function u(t,i)
{return(t=[].concat(t)).map((function(t){return i(n.createGetter(t))}))}return
z(z({},n),{},{watch:e,unwatch:r})}}),function(){var t=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:{};return function(n){return function(){var
i=n.apply(void 0,arguments);function e(){return t}var r=na((function(t)
{if(Nt(t))return t;var n=sa(e(),t);return Nt(n)?n:function(n){return
sa(n,t)}}));function o(t,n){var e=(t=r(t))(i.getState());return void 0!
==n&&(e=Cl(e,n)),e}return z(z({},i),{},{getSelectors:e,createGetter:r,get:o})}}}
(Pf),ms.apply(void 0,[]))),l=new D,f=rt(),h=new
Ac({events:f}),d=Os();n.classList.add("player-".concat(d)),n.classList.add("loading
"),n.id||(n.id="player".concat(d)),n.innerHTML=Ff.render("outer",{strings:
{back:"Back",close:"Close overlay"}});var v=n.querySelector(".vp-
telecine");if(Wi.iOS){var
p=document.createElement("video");v.appendChild(p);try{p.setAttribute("muted",""),p
.setAttribute("playsinline",""),p.load()}catch(t){xc.captureException(t)}}var
m,b,w,g,y,_=null,k=null,E=null,T=null,S=null,x=null,A=null,M={},C=new
r((function(t,n){y=t})).then((function(){return f.fire(ec.ge),null})),R={get
config(){return h.config},set config(t){h.config=t},get delegate(){return e},set
delegate(t){e=t},ready:function(t){if(!t)return C;C.then((function(){return
t()})).catch((function(t){xc.captureException(t)}))},get sessionId(){return
h.config.request.session}};function I(t){var n,i=t.old,e=t.loaded;if(function(t,n)
{var i;t&&s&&"".concat(s," "),null==(i=n.request)||i.ab_tests}(!i,e),
(null==(n=e.request)?void 0:n.urls.js)&&function(t)
{ct=t.substring(0,t.lastIndexOf("/")+1)}(e.request.urls.js),window.parent!==window)
{var r,o="Private Video on Vimeo";1!==e.view&&3!==e.view&&12!==e.view||
(o="".concat(e.video.title," from ").concat(e.video.owner.name," on
Vimeo")),document.title=o,(null==(r=history)?void
0:r.replaceState)&&e.video&&i&&history.replaceState({id:e.video.id},"","/video/".co
ncat(e.video.id).concat(window.location.search))}if(1!==e.view&&3!==e.view&&12!
==e.view)throw new Error("Config not authorized: ".concat(e.view));(null==i?void
0:i.embed)&&i.embed.color!
==e.embed.color&&f.fire(Gs.Ws,e.embed.color),T&&T.reset();var u=!i||!i.video||
i.video.id!==e.video.id||i.video.version.current!==e.video.version.current;return
m=null,w=_,f.fire(Gs.Vs),c.dispatch(Wc(e)),f.fire(ec.Hl,u,e),t}function O(t)
{if("opacity"===t.propertyName){var n=document.querySelector(".vp-
placeholder");n&&(kl(n).off("transitionend",O),n.parentNode.removeChild(n))}}functi
on j(){!function(){var t=document.querySelector(".vp-
placeholder");t&&(kl(t).on("transitionend",O),t.classList.add("vp-placeholder-
fadeout"))}(),n.classList.remove("loading"),y()}function L(t){return
u.then((function(){if(N(t),k&&k.resetThumbnail(),"function"!=typeof
M.authorizationHandler)throw new Error("Config was not authorized.");return
M.authorizationHandler(j)})).then((function(t){return
h.config=t,m=null,c.dispatch(Wc(h.config)),f.fire(Gs.Vs),f.fire(ec.Hl,!
0,h.config),t}))}function P(t){(function(){var
t=document.location.hash,n=function(t){var n,i=t.match(/\ba?t=([0-9hms:]+)/);null!
==i&&(t=i[1]);var e=!1,r=0,o=0,u=0;if((null==(n=i=t.match(/^([0-9]+)$/))?void
0:n.length)&&(e=!0,u=i[1]),!1===e&&null!==(i=t.match(/^(?:([0-9]+)h)?(?:([0-9]+)m)?
(?:([0-9]+)s)?/))&&""!==i[0]){e=!0;var a=Q(i,4),s=a[1];r=void 0===s?0:s;var
c=a[2];o=void 0===c?0:c;var l=a[3];u=void 0===l?0:l}if(!1===e&&null!
==(i=t.match(/^([0-9:]+)/))){e=!0;var f=Q(t.split(":").reverse(),3);u=f[0];var
h=f[1];o=void 0===h?0:h;var d=f[2];r=void 0===d?0:d}return e?
60*parseInt(r,10)*60+60*parseInt(o,10)+parseInt(u,10):null}(t);null!
==n&&(h.config.embed.time=xs(n,0,h.config.video.duration),-1!
==t.indexOf("at=")&&history&&history.replaceState&&history.replaceState("","",windo
w.location.pathname+window.location.search))})(),f.on(ec.Nl,(function(t)
{h.reload().then((function(n){if(!h.config.user.logged_in)return
f.fire(ec.Vl),n;switch(f.fire(ec.Fl,t),t)
{case"like":h.config.user.liked&&f.fire(ec.jl);break;case"watch-
later":h.config.user.watch_later&&f.fire(ec.Dl);break;case"private":f.fire(ec.Wl)}r
eturn n})).catch((function(t){xc.captureException(t)}))})),f.on(ec.Ul,(function()
{h.reload().catch((function(t){xc.captureException(t)}))})),function(t){var
i,e;k=new rl(t,c,n.querySelector(".vp-preview")),f.on([Ti.BUFFER_ENDED,_i.PLAYING],
(function(){k.hide()})),_=new $a(v,h.config),w=_,A=new yd(t),new
hl(t,c,n.querySelector(".vp-video-wrapper")),new Nf(t,c,n.querySelector(".vp-
captions")),new Uf(n,f),F(t),t.doNotTrackEnabled||
(h.config.request.urls.test_imp&&function(t,n){if(t.config.request.ab_tests){var
i=new bc(n);for(var e in t.config.request.ab_tests){var
r=t.config.request.ab_tests[e];if(r.track){var
o={session_id:t.config.request.session,test_id:e,test_group:String(r.group)};i.log(
o,!0,!1).catch((function(t){}))}}}}(t,"".concat(h.config.request.urls.test_imp,"?
beacon=1")),new ud(t,n,c,h.config.request.urls.fresnel),new Ml(t,c),new
ad(t,n,c),new sd(t)),T=new cl(t),(t.config.request.flags.ott||
(null==(i=t.config.request.ab_tests)||null==(e=i.chromecast)?void
0:e.group))&&function(t){if(!t.config.video.spatial&&"stock"!
==t.config.video.privacy){var i=new Uc({textAlert:new
Zh(n),player:t});Bc.init({chromecastPlayer:i}),Bc.on([Fc.error,Fc.mediaLoadedFailed
],(function(t){xc.captureException(t)}))}}(t),N(t)}(t)}function N(t){E||(E=new
Xh(t),Vf(R,E),Sh(xc))}function F(t){var
i=h.config.request.ads;i&&(i.adcode&&i.adunit||i.adurl)&&(S=new
fd(t,n.querySelector(".vp-video-wrapper")),f.on(ec.dc,(function()
{w=S,f.fire(ec.wf)})),f.on(ec.vc,(function()
{w=_,f.fire(ec.wf)})),Bc&&(Bc.on(Fc.connected,(function(){S.toggleCastingState(!
0)})),Bc.on(Fc.disconnected,(function(){S.toggleCastingState(!1)}))))}function
U(t,n){var i=t;return isNaN(t)&&"string"!=typeof t||(i=Cs(Ms(t),t,n)),i}var V={get
store(){return c},get config(){return h.config},get element(){return n},get
events(){return f},get uuid(){return d},get expose(){return R},get backbone()
{return _},get adHandler(){return S},get displayContext(){return w},get preview()
{return k},get doNotTrackEnabled(){return h.config.embed.dnt||
h.config.request.flags.dnt},get playLoggingEnabled(){return
h.config.embed.log_plays&&h.config.request.flags.plays},get currentTime(){return
Bc.isCastConnected?Bc.chromecastPlayer.currentTime:_.currentTime},get
debugCollector(){return A},get ottVideoMetadata(){return x},set ottVideoMetadata(t)
{x=t},init:function(t,i){return b||(new
wh(V,c,n),M=i,b=h.load(t).then(I).catch((function(t){return
L(V)})).then((function(){return"function"==typeof M.initializationHandler?
r.resolve(i.initializationHandler()):null})).then((function(){return
P(V),"function"==typeof M.postInitializationHandler?
r.resolve(i.postInitializationHandler()):null})).then((function(){return
r.all([k.thumbnailPromise,u])})).then(j).then((function(){return
xc.setUp(V),null})).catch((function(t)
{xc.captureException(t)})))},loadVideo:function(t,i){if(g===t&&m)return
m;if(k&&k.resetThumbnail(),null==i?void 0:i.video_version){var
e=h.config.video.version.available;if(!e||!Array.isArray(e))return r.reject("No
available video versions");if(-1===(e=e.map((function(t){return
t.id}))).indexOf(i.video_version))return r.reject("Invalid version id
specified")}f.fire(ec._loadVideo),g=t,n.classList.add("loading");var
o=U(t,i),u=l.get(o);return t=u?u.nd.loaded:t,m=h.load(t,i).then((function(t){if(u)
{var n=_.element;
(_=u._backbone).element.style.visibility="visible",n.parentNode.replaceChild(_.elem
ent,n),f.fire(ec.af)}return t=I(t),S||F(V),t})).catch((function(t){return
L(V)})).then((function(t){var n=k.loadThumbnail();return
r.resolve(n)})).then(j)},preloadVideo:function(t,n,i){var
e=U(n,i),o=l.get(e);return o?r.resolve(o):new
Ac({events:f}).load(n,i).then((function(n){var i=_.element.cloneNode(!
1);i.style.visibility="hidden",_.element.parentNode.insertBefore(i,_.element);var
r=new $a(i,n.loaded);r.loadVideo(n.loaded),r.preload=t;var
o={_backbone:r,nd:n};return l.set(e,o),o}))},performDelegateAction:function(t){var
n,i,r,o,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function()
{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];null!
=(n=e)&&n[t.will]&&!1===(r=(o=e)[t.will].apply(o,
[h.config.video.id].concat(tt(a))))||(u.apply(void 0,
[h.config.video.id].concat(tt(a),[r])),(null==(i=e)?void 0:i[t.did])&&e[t.did]
())},ready:function(){return C},verifyConfig:function(){return
h.verify()},updatePhpTokens:function(){return new r((function(t,n){var
i=h.config.user,e=i.vimeo_api_client_token,r=i.vimeo_api_interaction_tokens,o=i.vim
eo_live_client_token,u=i.vimeo_bucketed_live_client_token,a=!
1;if(e)try{a=zf(JSON.parse(atob(e.split(".")[1])).exp)>=0}catch(t){return void
n(new Error("Failed to parse PHP client token expiration"))}if(r)try{var
s=JSON.parse(atob(r.likes.split(".")
[1])).exp,c=JSON.parse(atob(r.watch_later.split(".")
[1])).exp,l=JSON.parse(atob(r.following.split(".")[1])).exp;a=zf(s)>=0||zf(c)>=0||
zf(l)>=0}catch(t){return void n(new Error("Failed to parse PHP interaction tokens
expiration"))}if(o)try{a=zf(JSON.parse(atob(o.split(".")[1])).exp)>=0}catch(t)
{return void n(new Error("Failed to parse PHP Live token
expiration"))}if(u)try{a=zf(JSON.parse(atob(u.split(".")[1])).exp)>=0}catch(t)
{return void n(new Error("Failed to parse PHP Live token expiration"))}if(a){var
f=h.config.request,d=f.signature,v=f.session,p=f.timestamp,m=f.expires;Xe("https://
".concat(h.config.player_url,"/video/").concat(h.config.video.id,"/token/refresh?
signature=").concat(d,"&session=").concat(v,"&time=").concat(p,"&expires=").concat(
m),{withCredentials:!0}).json().then((function(n){return
h.config.user.vimeo_api_client_token=n?
n.vimeo_api_client_token:null,h.config.user.vimeo_api_interaction_tokens=n?
n.vimeo_api_interaction_tokens:null,h.config.user.vimeo_live_client_token=n?
n.vimeo_live_client_token:null,h.config.user.vimeo_bucketed_live_client_token=n?
n.vimeo_bucketed_live_client_token:null,t()})).catch((function(t)
{xc.captureBreadcrumb("Failed to refresh JWT token",{},"auth","error"),n(t)}))}else
t()}))}};return V}function kd(t,n,i,e){var r=!1;e="function"==typeof n?
i:e,i="function"==typeof n?n:i;var o=function(t){var n=!0;if(t.changedTouches){var
o=t.changedTouches[0].pageX-window.pageXOffset,u=t.changedTouches[0].pageY-
window.pageYOffset,a=document.elementFromPoint(o,u);null!
==a&&this.contains(a)&&(n=i.call(this,t))}return"function"==typeof
e&&e.call(this,t),r=!0,n},u=function(t){if(!r)return i.call(this,t);r=!1};
(n="function"==typeof n?null:n)?
kl(t).on("click",n,u).on("touchend",n,o):kl(t).on("click",u).on("touchend",o)}funct
ion Ed(t,n){var i,e,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:
[],o=[],u=!1;function a(){i=c(),r.forEach(v),kd(i,".js-menuClose",E),kd(i,".js-
menuInfo",x),kl(window).on("resize",A)}function s()
{kl(window).off("resize",A)}function c(){var t=document.createElement("div");return
t.innerHTML=Ff.render("menu",{strings:{close:"Close menu"}}),t.children[0]}function
l(){return i.classList.contains("vp-menu-center")}function f(){return
i.classList.contains("vp-menu-fullwidth")}function h(){return
i.classList.contains("vp-menu-carousel")}function d(){var t=o.length>1&&!
h();o.forEach((function(n){n.setCollapsible(t),n.resetCarousel(h())}))}function
v(t)
{o.push(t),i.insertBefore(t.element,i.lastChild),d(),t.on("open",m),t.on(["open","c
lose"],b),t.on(["openEnd","closeEnd"],w),t.on("select",_)}function p(t){return
o.find((function(n){return n.id===t}))}function m(t){o.filter((function(t){return
t.isOpen()})).forEach((function(t){return t.close()}))}function b(t){u=!
0,M()}function w(t){u=!1}function g(){return n&&"true"===n.getAttribute("aria-
expanded")}function y(r){g()||(r=r||
n.contains(document.activeElement),n.setAttribute("aria-
expanded","true"),i.removeAttribute("hidden"),t.events.fire(ec.Bc,!
0,e),A(),d(),i.classList.remove("vp-menu-
hidden"),window.requestAnimationFrame((function(){if(i.classList.remove("vp-menu-
invisible"),r){var t=R();t.length>0&&t[0].focus()}})))}function _(){h()||
E()}function k(){R().some((function(t){return
t===document.activeElement}))&&n.focus()}function E(){g()&&setTimeout((function()
{k(),n.setAttribute("aria-expanded","false"),t.events.fire(ec.Bc,!
1,e),i.classList.add("vp-menu-invisible")}),100)}function T(t){i.classList.add("vp-
menu-hidden"),i.setAttribute("hidden","")}function S(t){return g()?(E(),!1):(y(t),!
0)}function x(n){t.events.fire(ec.wl),E()}function A(){if(!f()){var
n=Es(t.element),e=Es(i),r=window.getComputedStyle(i),o=parseFloat(r.fontSize),u=e.b
ottom-i.scrollHeight,a=Math.max(n.top,0)-u;if(a>0){var s=i.scrollHeight-a-o;return
i.style.height="".concat(s/o,"em"),void i.classList.add("vp-menu-
scroll")}i.style.height="auto",i.classList.remove("vp-menu-scroll")}}function M()
{A(),u&&requestAnimationFrame(M)}function C(){kl(i).on("transitionend",(function(t)
{this===i&&"opacity"===t.propertyName&&i.classList.contains("vp-menu-
invisible")&&T()})),kl(document).on("click",(function(t){null!==n&&(!g()||
n.contains(t.target)||i.contains(t.target)||
E())})),window.addEventListener("blur",E,!1)}fu
nction R(){return o.reduce((function(t,n){return t.concat(n.getTabindexItems())}),
[])}return
a(),C(),e={element:i,button:n,isCentered:l,isVisible:g,isFullwidth:f,show:y,hide:E,
toggle:S,retargetFocusFromChild:k,setPanelModes:d,addPanel:v,getPanel:p,getTabindex
Items:R,destroy:s}}var Td=function(t){return function(n){return null==t?void
0:t[n]}}({"&":"&","<":"<",">":">",'"':""","'":"'"}),Sd=/
[&<>"']/g,xd=RegExp(Sd.source);function Ad(t){return(t=Co(t))&&xd.test(t)?
t.replace(Sd,Td):t}function Md(t){rt(this);var
n,i,e,r=this,o={x:0,y:0},u={x:0,y:0},a={x:0,y:0},s=0;function c(n)
{t.style["".concat(Wi.transitionProperty,"Duration")]=n}function l(n){var
i=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?
arguments[2]:t.children.length-1,r=-Math.round(n/h());return
Math.min(Math.max(r,i),e)}function f(){return!1}function h(){var
n=t.children[0],i=getComputedStyle(n);return
n.offsetWidth+parseInt(i.marginLeft,10)+parseInt(i.marginRight,10)}function d(t)
{var
n=[t.clientX,t.clientY],i=n[0],e=n[1];if(t.targetTouches&&t.targetTouches.length>0)
{var
r=[t.touches[0].pageX,t.touches[0].pageY];i=r[0],e=r[1]}return{x:i,y:e}}function
v(t){t.stopImmediatePropagation();var i=d(t),r=i.x,a=i.y;u.x=r-o.x,u.y=a-o.y,n=!1,
(e=function(t){return function(n){var i=n?"on":"off",e={pointerdown:
["pointermove","pointerup"],MSPointerDown:["pointermove","pointerup"],touchstart:
["touchmove","touchend"],mousedown:["mousemove","mouseup"]};kl(window)[i](e[t.type]
[0],p),kl(window)[i](e[t.type][1],m)}}(t))(!0),c("0ms")}function p(t){var
s=d(t),c=s.x,f=s.y;if(a.x=o.x,a.y=o.y,o.x=c-u.x,o.y=f-u.y,Math.abs(o.x-
a.x)>=.15*Math.abs(o.y-a.y))return t.preventDefault(),n=!
0,r.fire("touchMove"),i=Date.now(),void y(o.x);e(!1),b(l(o.x))}function m(u)
{if(u.stopImmediatePropagation(),e(!1),n){u.preventDefault();var c=o.x-
a.x,f=Date.now()-i+1;return o.x+=50*c/f,b(l(o.x)),void r.fire("touchEnded")}!
function(n){n.preventDefault();var i=Ds(n.target,t.children);if(-1!==i){if(i!
==s)return void b(i);r.fire("tap",i)}}(u)}function b(t)
{g(t),r.fire("slide",t)}function w(){g(s,"0ms")}function g(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=h();-1!
==t&&i>0&&(c(n),o.x=-t*i,y(o.x))}function y(n){var i=l(n,-1,t.children.length);i!
==s&&(r.fire("focus",i),s=i),t.style[Wi.transformProperty]="translateX(".concat(n,"
px)")}return{setUp:function(n){kl(t).on(Wi.pointerEvents?"pointerdown":
["touchstart","mousedown"],v),kl(t).on("click","a",f),kl(window).on("resize",w),w()
,function(t){void 0!==t&&g(t,"0ms")}(n)},show:function(t)
{g(Ls(t))},resize:w,destroy:function(){kl(t).off(Wi.pointerEvents?"pointerdown":
["touchstart","mousedown"],v),kl(t).off("click","a",f),kl(window).off("resize",w),t
.style.removeProperty(Wi.transformProperty)},on:this.on}}function Cd(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:
{};n.items.forEach((function(t){void 0!==t.label&&(t.label=Ad(t.label))}));var
i,e,r,o,u,a,s=rt(),c=n.id,l=n.items,f=!1;function h()
{d(),i=v(),e=i.querySelector(".js-panelItems"),(r=new
Md(e)).on("slide",A),r.on("tap",M),kd(i,".js-
panelTitleButton",x),kd(i,"li",C),kl(i).on("keydown",R),kl(i).on("keypress",R),kl(i
).on("transitionend",(function(t){t.target===i&&(_()?E():S())}))}function d()
{n=Object.assign(n,{get active(){return L()?L().label:""}})}function v(){var
t=document.createElement("div");return
t.innerHTML=Ff.render("menu_list_panel",n),t.children[0]}function p(t){var
n=U(i.querySelectorAll(".vp-panel-item"));return n[t]||n}function m(t){t!
==b()&&(i.classList.toggle("vp-panel-open",!t),i.classList.toggle("vp-panel-
collapsible",t),t?e.setAttribute("hidden",""):
(e.removeAttribute("hidden"),i.style.removeProperty("height")))}function b(){return
i.classList.contains("vp-panel-collapsible")}function w(t)
{if(f=t,u=i.querySelector(".vp-indicator"),r.destroy(),u.classList.remove("vp-
indicator-visible"),f){var n=l.findIndex((function(t){return
t.active}));r.setUp(n),g(),u.classList.add("vp-indicator-visible")}}function g()
{r.on("touchMove",(function(){u.classList.add("vp-indicator-
inactive")})),r.on("touchEnded",(function(){u.classList.remove("vp-indicator-
inactive")}))}function y(){i.classList.add("vp-panel-pinTitle")}function _(){return
i.classList.contains("vp-panel-open")}function k(){if(b())
{s.fire("open",o),t.events.fire(ec.Gc,!
0,o),e.removeAttribute("hidden"),i.classList.add("vp-panel-open");var
n=window.getComputedStyle(i),r=parseFloat(n.fontSize);i.style.height="".concat(i.sc
rollHeight/r,"em");var
u="".concat(Wi.transitionProperty,"Delay");p().forEach((function(t,n){var
i=40*n+100;t.style[u]="".concat(i,"ms"),t.classList.add("vp-panel-item-
in")}))}}function E(t){s.fire("openEnd",o)}function T()
{b()&&(s.fire("close",o),t.events.fire(ec.Kc,!1,o),i.classList.remove("vp-panel-
open"),i.style.removeProperty("height"),j())}function S(t)
{e.setAttribute("hidden",""),p().forEach((function(t,n){t.classList.remove("vp-
panel-item-in")})),s.fire("closeEnd",o)}function x(t){return
t.preventDefault(),_()?T():k()}function A(t){s.fire("select",l[t].id)}function M(t)
{s.fire("select",l[t].id)}function C(t){if(!f){var
n=Ds(t.target,p());s.fire("select",l[n].id)}}function R(t)
{if("keypress"===t.type&&13===t.which||"keydown"===t.type&&32===t.which){var
n=Ds(t.target,p());if(-1!==n)return s.fire("select",l[n].id),!1}return
null}function I(t){var n=l.findIndex((function(t){return t.active}));if(-1!==n)
{l[n].active=!1;var e=p(n);e.classList.remove("vp-panel-item-
on"),e.setAttribute("aria-checked","false")}var r=l.findIndex((function(n)
{return"".concat(n.id)==="".concat(t)}));if(-1!==r){l[r].active=!0;var
o=p(r);o.classList.add("vp-panel-item-on"),o.setAttribute("aria-
checked","true"),i.querySelector(".js-
panelStatText").innerHTML=l[r].label}u.classList.remove("vp-indicator-
inactive")}function O(t){j(),a=t,t&&p(l.findIndex((function(t)
{return"".concat(t.id)==="".concat(a)}))).classList.add("vp-".concat(c,"-item-
hover"))}function j(){if(a){var t=p(l.findIndex((function(t)
{return"".concat(t.id)==="".concat(a)})));t.length||
t.classList.remove("vp-".concat(c,"-item-hover"))}}function L(){return
l.find((function(t){return t.active}))}function D(t){L()&&"auto"!==L().id||
(i.querySelector(".js-panelStatText").innerHTML=t)}function P(){return
U(i.querySelectorAll('.vp-panel-collapsible button[tabindex="0"], .vp-panel-open
li[tabindex="0"]'))}return
h(),o={id:c,element:i,setCollapsible:m,resetCarousel:w,pinTitle:y,isOpen:_,open:k,c
lose:T,setActiveItem:I,setHoverState:O,clearHoverState:j,setTitleStat:D,getTabindex
Items:P,on:s.on,off:s.off}}function Rd(t){var n,i=0,e=!
1,r=null,o=null,u=null;function a(){if(Wi.touch&&!t.store.get(nl)&&!
t.config.video.spatial){var n=null,a=10;(r=t.element.querySelector(".vp-nudge-
wrapper")).classList.remove("hidden"),r.innerHTML=Ff.render("nudge"),o=t.element.qu
erySelector(".vp-nudge-forward"),u=t.element.querySelector(".vp-nudge-
backward"),kd(o,(function(t)
{t.preventDefault(),l("right"),n=setTimeout(f,250)})),kd(u,(function(t)
{t.preventDefault(),l("left"),n=setTimeout(f,250)})),t.events.on(ec._c,(function()
{e=!0}))}function l(t){if(["left","right"].includes(t)){var e="right"===t?
s:c,r="right"===t?o:u;i++,clearTimeout(n),i>=2&&(h(r,t,a),2===i&&e(10),e(10*(i-
2)),i>2&&(h(r,t,a+=10),i=2))}}function f()
{i>=2&&t.events.fire(ec.Tc),i=0,a=10}}function s(n){l((t.currentTime||
0)+n)}function c(n){var i=(t.currentTime||0)-n;l(i>=0?i:0)}function l(n)
{t.events.fire(ec.Ec),t.events.fire(Gs.Ds,null,n),e||t.events.fire(ec.Ac)}function
f(n,i){var e=t.currentTime||
0,r="right"===i?"+":"-";return"right"===i&&e>t.config.video.duration-10||
e<=10&&"left"===i?null:"".concat(r," ").concat(n)}function h(i,e,r)
{if(["left","right"].includes(e)){var o=t.element.querySelector(".vp-nudge-
shade-".concat(e)),u=i.querySelector(".vp-nudge-
seconds");f(r,e)&&(u.innerHTML=f(r,e),clearTimeout(n),i.classList.remove("invisible
"),o.classList.remove("vp-nudge-shade-invisible"),n=setTimeout((function()
{o.classList.add("vp-nudge-shade-
invisible"),i.classList.add("invisible")}),500))}}return t.events.on(ec.Hl,
(function(){[o,u].forEach((function(t)
{t&&kl(t).off("click").off("touchend")})),a()})),a(),{}}var
Id=/^(%20|\s)*(javascript|data)/im,Od=/[^\x20-\x7E]/gim,jd=/^([^:]
+):/gm,Ld=[".","/"];function Dd(t){var n=t.match(jd);return null==n?void
0:n[0]}function Pd(t){return t?decodeURI(encodeURI(function(t){var
n=Dd(t=t.trim());return t&&!n&&(t="http://".concat(t)),t}(function(t){var
n=t.replace(Od,"");if(function(t){return Ld.indexOf(t[0])>-1}(n))return n;var
i=Dd(n);return i&&Id.test(i)?"":n}(t)))):null}function Nd(){for(var
t=arguments.length,n=new Array(t),i=0;i1?n-1:0),e=1;e1?n-1:0),e=1;e0&&(e.style.left=c+"px"),l>0&&(e.style.right=l+"px")}}(),function(n)
{kl(n).on("mouseenter",".js-chapter-marker",(function(n){t.events.fire(ec.Oc,
{id:n.target.dataset.time,position:"marker"})})).on("mouseleave",".js-chapter-
marker",(function(n)
{t.events.fire(ec.jc)})),t.events.on([ec.Oc,ec.jc],r),t.events.on(ec.Lc,o)}
(a),i=U(n.querySelectorAll(".js-chapter-marker")),(null==(u=t.backbone)?void
0:u.chaptersTrack)&&t.backbone.chaptersTrack.addEventListener("cuechange",e)}}}func
tion Wd(t,n,i){var e,r,o,u,a,s,c,l,f,h,d,v,p,m,b,w,g,y,_,k,E,T,S,x,A,M,C=!1,R=!
1,I=!1,O=!1,j=!1,L=!1,D=!1,N=!1,F=!1,V=!1,B=!1,H=!1,q=!0,W=!1,z=!
1,G=null,K=null,Y=[],J=null,$=null,X=null,Z=!1,tt=!1,nt=[],it=new
qd(t,i),rt=t.config.embed.autoplay&&t.config.request.flags.autohide_controls,ot=[{i
d:.5,label:"0.5x"},{id:.75,label:"0.75x"},{id:1,label:"Normal"},
{id:1.25,label:"1.25x"},{id:1.5,label:"1.5x"},{id:2,label:"2x"}],ut=Wi.touch?
300:0;function at(){G=null,K=null}function st(){if(!K){var
t=Es(c).left,n=parseInt(window.getComputedStyle(c,"").borderLeftWidth,10);K=t+n}ret
urn K}function ct(){if(!G){var
t=Es(c).right,n=parseInt(window.getComputedStyle(c,"").borderRightWidth,10);G=t-
n}return G}function lt(t){var n=st();return xs((t-n)/(ct()-n),0,1)}function ft(n)
{for(var i,e=et(Y);!(i=e()).done;){var
r=i.value,o=Es(r),u=o.left,a=o.right;if(n>=u&&n<=a)return
parseFloat(r.getAttribute("data-time"))/t.config.video.duration}return
lt(n)}function ht(n,i){R&&!H&&(i=i||t.config.video.duration*n||
0,window.requestAnimationFrame((function(){dt(n,i),vt(n,i)})))}function dt(t,i){(!
n.get(Kc)||W&&0!
==i)&&(n.get(nl)&&(t=100),v.style.left=Math.min(Is(100*t),100)+"%",p.innerHTML=Kf(i
),v.style.display="block")}function vt(i,e){n.get(nl)&&(i=100);var
r=Math.min(Is(100*i),100);h.style.width="".concat(r,"%"),l.setAttribute("aria-
valuenow",Math.round(e)),l.setAttribute("aria-valuetext","".concat(Kf(e)," of
").concat(Kf(t.config.video.duration))),a.setAttribute("width","".concat(r,"%"))}fu
nction pt(t,i){n.get(nl)&&(t=100);var
e=Math.min(Is(100*t),100);f.style.width="".concat(e,"%"),u.setAttribute("width","".
concat(e,"%"))}function mt(){W=!1,r.classList.remove("state-
playing"),r.classList.add("state-paused")}function bt(){W=!
0,z&&St(),r.classList.remove("state-paused"),r.classList.add("state-
playing")}function wt(){q=!1,nt.forEach((function(t){return
t.retargetFocusFromChild()})),t.events.fire(ec.Uc,q),i.classList.add("invisible")}f
unction gt(){setTimeout((function(){q=!
0,t.events.fire(ec.Uc,q),i.classList.remove("invisible")}),ut)}function yt(){O||
q&&(C||(R&&B||j||rt)&&(I||(!Z&&!tt||j)&&(j&&3===t.config.view||N||L||
wt())))}function _t(){O||q||j||gt()}function kt(t){return
nt.push(t),t.button.parentNode.insertBefore(t.element,t.button.nextSibling),t}funct
ion Et(t){nt=nt.filter((function(n){return n!==t})),t.destroy()}function Tt(){var
t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(y){var
n,i=1/_.length,e=t/i,r=Math.ceil(e),o=e
%1;o<=.33&&(n="fill1"),o>.33&&o<=.66&&(n="fill2"),_.forEach((function(t,i)
{t.classList.remove("fill0"),t.classList.remove("fill1"),t.classList.remove("fill2"
),i===r-1&&o&&o<=.66?t.classList.add(n):i>r-
1&&t.classList.add("fill0")})),y.setAttribute("aria-
valuenow",t.toFixed(3)),y.setAttribute("aria-valuetext",Math.round(100*t)
+"%")}}function St(){var e;if(1===t.config.view||3===t.config.view||
12===t.config.view){S&&(Et(S),S=null),J&&(Et(J),J=null);var C=t.backbone||
{},O=t.config.embed.settings,j={show:O.logo,showLink:!!
t.config.video.logo_url,url:t.config.video.logo_url},L=function(){if(!
t.config.embed.settings.custom_logo)return null;var
n=t.config.embed.settings.custom_logo,i=n.img;return
Wi.devicePixelRatio>=2&&(i=i.replace(/(mw|mh)=(\d+)/g,(function(t,n,i){return
n+"="+2*parseInt(i,10)}))),{showLink:null!
==n.url,url:Pd(n.url),img:i,sticky:n.sticky,width:n.width,height:n.height}}();if(!
O.watch_trailer||R||W||t.config.embed.autoplay||!t.config.embed.on_site){var D=!
t.backbone||t.backbone.supportsSettingVolume,P=!t.backbone||
t.backbone.supportsTextTracks,N=od(t.config,"chromecast").group&&Wi.browser.chrome&
&(void 0===O.chromecast||O.chromecast)&&!t.config.video.spatial&&"stock"!
==t.config.video.privacy,F=t.displayContext===t.backbone,V=C.supportsPlaybackRate&&
O.speed,B=F&&(V||C.qualities&&C.qualities.length>0),H="disable"!
==t.config.video.privacy&&(Wi.webvr||
Wi.stereoscopic)&&t.config.video.spatial&&od(t.config,"webvr").group,G=!!
t.backbone&&(null==(e=t.backbone.textTracks)?void
0:e.length);t.events.on(Ti.TEXT_TRACKS_AVAILABLE,(function(){var n;G=!!
t.backbone&&(null==(n=t.backbone.textTracks)?void 0:n.length),St()}));var
K={targetBlank:0===t.config.embed.on_site,playState:W?"playing":"paused",volume:D&&
O.volume,ccButton:P&&G&&F,castButton:N,ccOn:null!
==X,prefsButton:B,airplayButton:Wi.airPlay,stereoscopicButton:H,fullscreenButton:O.
fullscreen,vimeoLogo:F?j:
{},duration:Kf(t.config.video.duration),rawDuration:t.config.video.duration,caption
sIcon:Ff.render("icon_cc",{title:"Choose
captions"}),settingsIcon:Ff.render("icon_gear",
{title:"Settings"}),fullscreenIcon:Ff.render("icon_fullscreen",{title:"Enter full
screen"}),unfullscreenIcon:Ff.render("icon_unfullscreen",{title:"Exit full
screen"}),playIcon:Ff.render("icon_play",
{title:"Play"}),pauseIcon:Ff.render("icon_pause",
{title:"Pause"}),replayIcon:Ff.render("icon_replay",
{title:"Play"}),chaptersIcon:Ff.render("icon_chapters",
{title:"Chapters"}),chapters:!!C.chapters&&C.chapters.length,strings:
{loadedBar:"loaded",playedBar:"played",volume:"Volume (use up/down arrow keys to
change)",airPlay:"Choose an AirPlay device",airPlayOff:"Turn off
AirPlay",pipEnter:"Enter Picture-in-Picture",pipReturn:"Exit Picture-in-
Picture",fullscreen:"Fullscreen",chromecast:"Cast",watchOnVimeo:"Watch on
vimeo.com",stereoscopic:"Enable stereoscopic playback",stereoscopicOff:"Disable
stereoscopic playback"}};if(L&&(K.customLogo=L),i.classList.remove("trailer"),z=!
1,i.innerHTML=Ff.render("controlbar",K),r=i.querySelector(".play"),o=r.querySelecto
r(".buffer"),u=r.querySelector(".loaded"),a=r.querySelector(".played"),s=i.querySel
ector(".play-bar"),c=i.querySelector(".vp-progress"),l=s.querySelector(".focus-
target"),f=s.querySelector(".loaded"),h=s.querySelector(".played"),d=s.querySelecto
r(".cuepoints"),v=i.querySelector(".timecode"),p=v.querySelector(".box"),m=i.queryS
elector(".ghost-timecode"),b=m.querySelector(".box"),w=i.querySelector(".thumb-
preview"),g=i.querySelector(".thumb"),
(y=i.querySelector(".volume"))&&(_=U(y.querySelectorAll("div")),t.config.embed.mute
d?Tt(0):Tt(t.config.request.cookie.volume)),T=i.querySelector(".play-bar
.cc"),E=i.querySelector(".js-chapter-button"),(k=i.querySelector(".js-
prefs"))&&Bc.isCastConnected&&Fd(k),x=i.querySelector(".pip"),Wi.airPlay&&(A=i.quer
ySelector(".airplay")),(Wi.webvr||
Wi.stereoscopic)&&t.config.video.spatial&&(M=i.querySelector(".stereoscopic")),I=!
1,q&&t.events.fire(ec.Uc,q),rt&&yt(),xt(),n.get(nl)){var Y=i.querySelector(".vp-
live-status");Y.style.display="block";var $=Y.querySelector(".vp-live-status-
circle");n.get(Qc)?($.classList.remove("offline"),$.classList.add("online"),k&&!
Bc.isCastConnected&&Nd(k)):($.classList.add("offline"),
$.classList.remove("online"),r.classList.add("hidden"),k&&Fd(k)),p.style.cursor="de
fault",c.classList.add("disabled")}it.renderChapterMarkers()}else!function(n,e)
{i.classList.add("trailer");var
o={vimeoLogo:n,text:t.config.video.vod.button_text||"Watch Trailer",strings:
{watchOnVimeo:"Watch on
vimeo.com"}};e&&(o.customLogo=e),i.innerHTML=Ff.render("controlbar_trailer",o),r=i.
querySelector(".play"),z=!0}(j,L)}}function xt(){if(n.get(nl)){var
i=W&&t.config.duration>0;v.style.display=i?"block":"none"}}function At(){var
e;function r(n){if(H=!1,e===n.pointerId&&!1!==n.isPrimary){var
i=n.clientX;n.targetTouches&&n.targetTouches.length>0&&(i=n.targetTouches[0].client
X,n.preventDefault());var r=ft(i);ht(r),t.events.fire(Gs.Ds,r)}}function o(n){var
e=n.type;"pointerup"===e||"MSPointerUp"===e?kl(i).off("pointermove",".vp-
progress",r).off("pointerup",".vp-progress",o):"touchend"===n.type?
kl(i).off("touchmove",r).off("touchend",o):kl(document).off("mousemove",r).off("mou
seup",o),t.events.fire(ec.Pc),t.element.classList.remove("scrubbing")}t.events.on(_
i.TIME_UPDATE,(function(n){var
i=n.currentTime,e=n.timeProgress;H&&(0===t.config.embed.time||
t.config.embed.time>0&&i>=t.config.embed.time)&&(H=!1),L||
ht(e,i)})),t.events.on(ec.Dc,(function(t){L=!0,D=t})),t.events.on(ec.Pc,(function()
{L=!1,D=!1})),t.events.on(_i.SEEKED,(function(t){var
n=t.timeProgress;D&&ht(n)})),n.get(Kc)&&!n.get(tl)||
(kl(i).on(Wi.pointerEvents?"pointerdown":["touchstart","mousedown"],".vp-progress",
(function(n){if(!(n.button&&2===n.button||n.target.classList.contains("js-chapter-
marker"))){var
u=n.type;if(t.element.classList.add("scrubbing"),t.events.fire(ec.Dc,!
1,u),"pointerdown"===u||"MSPointerDown"===u)
{e=n.pointerId;try{n.target.msSetPointerCapture?
n.target.msSetPointerCapture(e):n.target.setPointerCapture(e)}catch(t)
{}kl(i).on("pointermove",".vp-progress",r).on("pointerup",".vp-
progress",o)}else"touchstart"===u?
kl(i).on("touchmove",r).on("touchend",o):kl(document).on("mousemove",r).on("mouseup
",o);var
a=n.clientX;n.targetTouches&&n.targetTouches.length>0&&(a=n.targetTouches[0].client
X,n.preventDefault());var s=ft(a);if(R)ht(s);else{var
c=t.config.video.duration*s;dt(s,c),vt(s,c),H=!0}return
t.events.fire(Gs.Ds,s,null),!1}})),t.events.on(Gs.uc,(function(n,i)
{n=xs(n,0,t.config.video.duration),i||
(i=n/t.config.video.duration),window.requestAnimationFrame((function()
{dt(i,n),vt(i,n)}))})))}function Mt(n){if(n.element.parentElement)
{if(n.isFullwidth())return
n.element.style.right="",n.element.style.bottom="",void(n.element.style.height="");
var
i=Es(t.element),e=Es(n.button),r=Es(n.element.parentElement),o=Es(n.element),u=0,a=
e.right-e.width/2+o.width/2;a=215&&i>=185))return void
w.classList.add("hidden");a().then(f).catch((function(){}))}if(V){var l=function(t)
{for(var n,i=et(Y);!(n=i()).done;){var
e=n.value,r=Es(e),o=r.left,u=r.right,a=r.width;if(t>=o&&t<=u)return{clientX:o+a/2,s
nappedTo:e}}return{clientX:t,snappedTo:null}}
(n.clientX),h=l.clientX,v=l.snappedTo,p=lt(h),y=t.config.video.duration*p;Y.forEach
((function(t){return
t.classList.toggle("active",t===v)})),t.config.request.thumb_preview&&o&&!
u&&a().then((function(n){var i=Q(function(n){var
i=t.config.video.duration/t.config.request.thumb_preview.frames,e=Math.min(t.config
.request.thumb_preview.frames-1,Math.ceil(n/i)),r=e
%t.config.request.thumb_preview.columns,o=Math.floor(e/t.config.request.thumb_previ
ew.columns);return[-r*t.config.request.thumb_preview.frame_width/2,-
o*t.config.request.thumb_preview.frame_height/2]}(y),2),e=i[0],r=i[1];return
window.requestAnimationFrame((function(){g.style.backgroundPosition="".concat(e,"px
").concat(r,"px")})),n})).catch((function()
{})),window.requestAnimationFrame((function(){b.innerHTML=Kf(y);var
t=(100*p).toFixed(3);m.style.left="".concat(t,"%"),function(t){var n=Q(function()
{var t=Es(r).left,n=Es(s).right,i=Es(w).width,e=t+Math.ceil(i/2),o=n-
Math.ceil(i/2),u=st(),a=ct()-u;return[(e-u)/a,(o-u)/a]}
(),2),i=n[0],e=n[1],o=(100*Math.max(i,Math.min(e,t))).toFixed(3);w.style.left="".co
ncat(o,"%")}(p),n.clientX>ct()+10&&!
w.contains(document.elementFromPoint(n.clientX,n.clientY))&&d()}))}}function d()
{m&&(m.classList.add("invisible"),w.classList.add("invisible")),V=!
1,kl(s).off("click",l)}n.get(Kc)&&!n.get(tl)||kl(i).on("mouseenter",".vp-progress",
(function(n){V||F||(m.classList.remove("hidden"),V=!
0,h(n),window.requestAnimationFrame((function()
{window.requestAnimationFrame((function()
{m.classList.remove("invisible")}))})),t.config.request.thumb_preview&&o&&!
u&&a().then(f).catch((function(){})),kl(s).on("click",l))})).on("mousemove",".play-
bar",h).on("mouseleave",".play-bar",d).on("mouseenter",".js-chapter-marker",
(function(){u=!0})).on("mouseleave",".js-chapter-marker",(function(){u=!
1,o=null})),kl(i).on("transitionend",".ghost-timecode",(function(t)
{"opacity"===t.propertyName&&"0"===window.getComputedStyle(this,"").opacity&&(m.cla
ssList.add("hidden"),w.classList.add("hidden"))}),!
1),t.events.on(ec.Rl,d),t.events.on(ec.Hl,(function(){e=null}))}(),function(){var
n;function e(n){var
i=n.clientX;n.targetTouches&&(i=n.targetTouches[0].clientX,n.preventDefault());var
e=o(i);t.events.fire(Gs.Ps,e),Tt(e)}function r(n){F=!
1,t.events.fire(ec.Fc),t.element.classList.remove("scrubbing");var
o=n.type;"pointerup"===o||"MSPointerUp"===o?
kl(i).off("pointermove",".volume",e).off("pointerup",".volume",r):"touchend"===n.ty
pe?
kl(document).off("touchmove",e).off("touchend",r):kl(document).off("mousemove",e).o
ff("mouseup",r),y.setAttribute("tabindex",y.getAttribute("data-
tabindex")),y.removeAttribute("data-tabindex")}function o(t){var
n=Es(y).left;return xs((t-n)/(Es(y).right-n),0,1)}kl(i).on("mousemove",".volume",
(function(t){var n=t.srcElement;if(-1===_.indexOf(n)){var
i=Es(y),e=t.clientX,r=i.bottom-2;if(n=document.elementFromPoint(e,r),-
1===_.indexOf(n))return}n.classList.add("hover"),window.requestAnimationFrame((func
tion(){window.requestAnimationFrame((function()
{n.classList.remove("hover"),n.classList.add("animate")}))}))})),kl(i).on("transiti
onend",".volume div",(function(t)
{"height"===t.propertyName&&this.classList.remove("animate")})),kl(document).on("co
ntextmenu",".volume",(function()
{this.blur()})),kl(i).on(Wi.pointerEvents?"pointerdown":
["touchstart","mousedown"],".volume",(function(u){if(1===u.which)
{y.setAttribute("data-
tabindex",y.getAttribute("tabindex")),y.removeAttribute("tabindex"),F=!
0,t.element.classList.add("scrubbing"),t.events.fire(ec.Nc);var
a=u.type;if("pointerdown"===a||"MSPointerDown"===a)
{n=u.pointerId;try{u.target.msSetPointerCapture?
u.target.msSetPointerCapture(n):u.target.setPointerCapture(n)}catch(t)
{}kl(i).on("pointermove",".volume",e).on("pointerup",".volume",r)}else"touchstart"=
==a?
kl(document).on("touchmove",e).on("touchend",r):kl(document).on("mousemove",e).on("
mouseup",r);var s=u.clientX;u.targetTouches&&(s=u.targetTouches[0].clientX);var
c=o(s);t.events.fire(Gs.Ps,c),Tt(c)}})),t.events.on(ec.mc,(function(n)
{t.backbone.muted?Tt(0):!F&&_&&Tt(n)})).on([Gs.Gs,Gs.zs],(function(){St()}))}
(),kd(i,".js-chapter-marker",(function(n){var i=parseFloat(n.target.dataset.time)
+.001;t.events.fire(ec.Rc,i,"controlbar")})),t.events.on(Ti.CHAPTER_CUES_UPDATED,
(function(){it.renderChapterMarkers()})),function(){function e(){var
n=t.backbone.chapters,i=0;return U(n).map((function(n){var
e=t.currentTime;return{index:"".concat(i+=1),label:n.text,id:n.id,active:e>=n.start
Time&&e0){var r=new Cd(t,
{id:"quality",title:"Quality",items:t.backbone.qualities});r.on("select",
(function(n)
{t.events.fire(Gs.Hs,n)})),e&&r.setTitleStat(e),r.pinTitle(),i.push(r)}if(t.backbon
e.supportsPlaybackRate&&t.config.embed.settings.speed){var o=ot.map((function(n)
{return
n.active=n.id===t.backbone.playbackRate,n})),u=new Cd(t,
{id:"speed",title:"Speed",items:o});u.on("select",(function(n)
{t.events.fire(Gs.ac,n)})),u.pinTitle(),i.push(u)}var a=new Ed(t,k,i);function s(n)
{a.element.classList.toggle("vp-menu-
center",n),t.events.fire(ec.Yc,a.isCentered(),a)}return
n.watch("ui.controlbar.isPrefsMenuCentered",s),s(n.get("ui.controlbar.isPrefsMenuCe
ntered")),Wi.touch&&a.element.classList.add("vp-menu-carousel"),a}
())).show(i);J.toggle(i)}})),t.events.on(ec.bc,(function(t)
{J&&J.getPanel("quality")&&J.getPanel("quality").setActiveItem(t)})),t.events.on(Ti
.STREAM_CHANGE,(function(n){var
i=n.quality||"".concat(n.height,"p");if(e=i,J&&J.getPanel("quality")){var
r=t.backbone.qualities.find((function(t){return
t.id===i})).label;J.getPanel("quality").setTitleStat(r)}})),t.events.on(ec.kc,
(function(t){J&&J.getPanel("speed")&&J.getPanel("speed").setActiveItem(t)}))}
(),kd(i,".pip",(function(){"picture-in-picture"!==t.backbone.presentationMode?
t.events.fire(Gs.nc):t.events.fire(Gs.ic)})),t.events.on(Qo,(function()
{x&&(x.classList.remove("hidden"),x.hidden=!1,at())})).on(tu,(function()
{x&&(x.classList.add("hidden"),x.hidden=!0,at())})).on(nu,(function(){tt=!
0,x&&(x.classList.add("on","return"),x.classList.remove("enter"),x.setAttribute("ti
tle",x.getAttribute("data-title-return")))})).on(iu,(function(){tt=!
1,x&&(x.classList.add("enter"),x.classList.remove("on","return"),x.setAttribute("ti
tle",x.getAttribute("data-title-enter")))})),Wi.airPlay&&(kd(i,".airplay",
(function(){t.events.fire(ec.jf)})),t.events.on(ec.Cf,(function()
{A&&(A.classList.remove("hidden"),A.hidden=!1,at())})).on(ec.Rf,(function()
{A&&(A.classList.add("hidden"),A.hidden=!0,at())})).on(ec.If,(function(){Z=!
0,A&&(A.classList.remove("off"),A.classList.add("on"),A.setAttribute("title",A.getA
ttribute("data-title-on"))),_t()})).on(ec.Of,(function(){Z=!
1,A&&(A.classList.remove("on"),A.classList.add("off"),A.setAttribute("title",A.getA
ttribute("data-title-off")))}))),kd(i,".fullscreen",(function()
{t.events.fire(ec.Sc)})),t.events.on(ec.Zc,(function(){C=!
1,i.classList.remove("tiny")})),t.events.on(ec.tl,(function(t){t||(C=!
0),e&&i.classList.add("tiny")})),t.events.on([ec.Il,ec.Dc,Gs.Ps],_t).on([ec.Rl,ec.O
l],yt).on(ec.Xc,(function(){I=!1,yt()})).on(ec.Qc,(function(){I=!1})).on(ec.wc,
(function(){B=!0,yt()})).on(Gs.Ps,(function(t,n){n||
_t()})),kl(i).on(["pointerenter","pointerleave","mouseenter","mouseleave"],
[".play",".play-bar",".custom-logo",".vp-menu"],(function(t){"pointerType"in
t?"mouse"!==t.pointerType&&t.pointerType!==t.MSPOINTER_TYPE_MOUSE||
(I="pointerenter"===t.type||"MSPointerEnter"===t.type):Wi.touch||
(I="mouseover"===t.type)})),t.events.on(Gs._overrideControlbarBehavior,(function(n)
{O=n,n?t.events.on(Gs.tc,(function(t){t?
gt():wt()})):t.events.off(Gs.tc)})),t.events.on(ec.sl,(function(t){if("not-
supported"!==t&&"private-unlocked"!==t&&"help"!==t)j=!0,yt();else for(var
n=i.querySelectorAll("a, button, input, [tabindex]"),e=0,r=n.length;e2&&void 0!==arguments[2]?
arguments[2]:1;rt(this),this.version=e,this.visible=!1;var
r=this.ed=document.createElement("div");r.classList.add("compass-
wrapper"),r.innerHTML=Ff.render("compass",
{version:e}),r.classList.add("cloaked"),t.appendChild(r),n&&r.addEventListener("cli
ck",n),this.rd=r.querySelector(".compass-slice"),this.od=r.querySelector(".compass-
line");var o=function(){i.ud=!0},u=function(t){return function()
{setTimeout((function(){i.ud||(i.fade(),i.ud=!
1)}),t)}};kl(this.ed).on("mousein",o).on("pointerin",o).on("mouseout",u(1e3)).on("p
ointerout",u(1e3)),u(2500)()}var n=t.prototype;return n.setAngle=function(t,n){var
i=this;this.Ea&&window.cancelAnimationFrame(this.Ea);var e=0;1===this.version?e=-
45:2===this.version&&(e=-30);var
r="".concat(e+n),o=(t+85)/170;this.Ea=window.requestAnimationFrame((function()
{i.rd.setAttribute("transform","rotate(".concat(r,", ").concat(18,",
").concat(18,")")),i.od&&i.od.setAttribute("d",i.ad(o,18))}))},n.ad=function(t,n)
{var i=2*n-Math.round(2*n*t),e=(2*n-2*Math.sqrt(2*i*n-Math.pow(i,2)))/2,r=2*n-e-
5;return"M".concat(e+5,",").concat(i," L").concat(r,",").concat(i,"
z")},n.reveal=function(){var
t=this;this.ed.classList.remove("cloaked"),window.requestAnimationFrame((function()
{t.ed.classList.add("in")})),this.visible=!0},n.fade=function()
{this.ed.classList.add("fade"),this.visible=!0},n.hide=function(){var
t=this;this.ed.classList.remove("in"),this.ed.classList.remove("fade"),this.ed.clas
sList.add("leaving"),kl(this.ed).on("transitionend",(function n()
{"opacity"===event.propertyName&&(t.ed.classList.remove("leaving"),t.ed.classList.a
dd("cloaked"),t.visible=!
1),kl(t.ed).off("transitionend",n)}))},n.updatePosition=function(t){if(t){var
n=Es(t);if(n.height<265)return this.ed.classList.remove("align-bottom"),void
this.ed.classList.add("hidden");if(n.height<336)return
this.ed.classList.remove("hidden"),void this.ed.classList.add("align-
bottom");this.ed.classList.remove("hidden"),this.ed.classList.remove("align-
bottom")}},n.getWrapper=function(){return this.ed},t}();function Gd(t,n,i){var
e=null,r=Wi.touch?4500:2e3,o=!0,u=!0,a=!1,s=null,c=null,l=[],f=!1,h=null,d=null,v=!
0,p=!1,m=!1,b=!1,w=!1,g=!1,y=i.querySelector(".vp-target"),_=i.querySelector(".vp-
sidedock"),k=i.querySelector(".vp-controls"),E=i.querySelector(".vp-
title"),T=i.querySelector(".vp-video"),S=U(i.querySelectorAll(".vp-nudge")),x=!!
Wi.touch&&S.some((function(t){return!
t.classList.contains("invisible")})),A=t.config.embed.autoplay&&t.config.request.fl
ags.autohide_controls,M=Wi.touch?300:0,C=null,R=od(t.config,"webvr").group||!
1;function I(){clearTimeout(e),e=null}function O()
{g&&(clearTimeout(e),e=setTimeout(L,r))}function j()
{Wh.element&&Wh.element.classList.contains("js-player-fullscreen")&&(a||
(i.classList.add("player-cursor-hide"),u=!0,a=!0))}function L(n){(p||v)&&(b||
(I(),document.activeElement&&document.body.classList.contains("showfocus")&&(_.cont
ains(document.activeElement)||k.contains(document.activeElement))||
(t.events.fire(n?ec.Rl:ec.Ol),u=!0,Wi.spatialPlayback&&t.config.video.spatial||
(y.classList.add("hidden"),y.setAttribute("hidden","")),o=!0,j())))}function D()
{O(),x||w||p&&v||
(t.events.fire(ec.Il),y.classList.remove("hidden"),y.removeAttribute("hidden"))}fun
ction P(){p||v?i.removeAttribute("tabindex"):p||v||m||
i.setAttribute("tabindex","0")}function N(){t.events.on([_i.TIME_UPDATE,_i.SEEKED],
(function n(i)
{i.currentTime>=1.75&&null===e&&(t.events.fire(ec.wc),t.events.off([_i.TIME_UPDATE,
_i.SEEKED],n))}))}function F(){T.classList.remove("threesixty-
video"),t.element.classList.remove("grabbable"),t.element.classList.remove("grabbin
g"),s&&s.hide()}function V(){l.forEach((function(t){return
clearTimeout(t)})),l=[]}function B(t)
{t&&(t.classList.remove("cloaked"),window.requestAnimationFrame((function()
{t.classList.add("in")})))}function H(t)
{t&&(t.classList.add("leaving"),window.requestAnimationFrame((function()
{kl(t).on("transitionend",(function n(i)
{"opacity"===i.propertyName&&(t.classList.remove("in"),t.classList.remove("leaving"
),t.classList.add("cloaked"),kl(t).off("transitionend",n))}))})))}function q(t)
{Es(_).width>60?t.classList.add("vp-alert-bumpdown"):t.classList.remove("vp-alert-
bumpdown")}return
function(){var n=!0;function e(){D()}function c(e){var s;if(r=2e3,u)u=!1;else
if(a&&(i.classList.remove("player-cursor-hide"),a=!1),0!==e.screenX&&e.screenX!
==screen.width-1&&0!==e.screenY&&e.screenY!==screen.height-1){if(n=!
0,Wi.spatialPlayback&&(null==(s=t.config.video)?void 0:s.spatial)){var
c=Es(t.element),l=e.clientX-c.left,h=e.clientY-c.top,d=h>t.element.clientHeight-
55,v=l>t.element.clientWidth-45&&h<180;if(f||!d&&!v)return}o&&D(),O()}else
I(),j(),n&&(L(!0),n=!1)}function l(){L(!0)}function h(t){var
n=k.contains(t.target)||
_.contains(t.target),i=s&&s.getWrapper().contains(t.target);p&&v||i?n||!p&&!v||L(!
0):(clearTimeout(C),C=setTimeout(D,M))}Wi.pointerEvents?kl(i).on("pointerenter",
(function(t){if("mouse"===t.pointerType||
t.pointerType===t.MSPOINTER_TYPE_MOUSE)return
r=2e3,e();r=4500,h(t)})).on("pointermove",(function(t){if("mouse"===t.pointerType||
t.pointerType===t.MSPOINTER_TYPE_MOUSE)return c(t)})).on("pointerleave",
(function(t){if("mouse"===t.pointerType||
t.pointerType===t.MSPOINTER_TYPE_MOUSE)return l()})):kl(i).on("touchmove",
(function()
{r=4500,O()})).on("touchend",h).on("mouseenter",e).on("mousemove",c).on("mouseleave
",l)}(),t.events.on(_i.PLAY,(function(t){A||0===t||
D()})).on(ec.nr,D).on([Ti.BUFFER_ENDED,_i.SEEKED,ec.Pc,ec.mc,ec.Gc],O).on(Ko,
(function(){g=!0})),t.events.on(ec.Bc,(function(t)
{t&&O()})),t.events.on(ec.sl,P).on(ec.Uc,(function(t){v=t,P()})).on(ec.Vc,
(function(t){p=t,P()})),t.events.on(ec.Xl,(function(){b=!0,D()})).on(ec.Zl,
(function(){b=!1})),function(){var e=!1,r=!1,o=0;t.events.on(ec.Bc,(function(t)
{r=t})),kl(i).on(Wi.pointerEvents?"pointerup":"click",(function(i){if(!r&&2!
==i.button&&i.target.classList&&function(t){return(t.classList.contains("vp-
title")||t.classList.contains("vp-target")||
E.contains(t.parentNode)&&"HEADER"===t.parentNode.tagName||T.contains(t))&&!
_.contains(t)}(i.target)){var
e=("pointerup"===i.type||"MSPointerUp"===i.type)&&"mouse"!
==i.pointerType&&i.pointerType!
==i.MSPOINTER_TYPE_MOUSE,u=g&&Wi.spatialPlayback&&t.config.video.spatial&&c;if(Wi.t
ouch||e){var a=-1!==t.backbone.supportedPresentationModes.indexOf("inline")&&!
Wi.mobileAndroid;if(!u){if(g&&a)return;return void t.events.fire(ec.Ac)}}1==+
+o&&setTimeout((function(){if(u){var e=d&&d.x===i.clientX&&d.y===i.clientY;return
1===o&&e&&!Wi.mobileAndroid&&t.events.fire(t.backbone.paused?ec.Ac:ec.xc),1!
==o&&t.backbone.getEffectByName("ThreeSixtyEffect").snapToCenter(),void(o=0)}if(1==
=o){if(n.get(Kc)&&!n.get(Qc))return;t.events.fire(t.backbone.paused?
ec.Ac:ec.xc)}else t.events.fire(ec.Sc);o=0}),200)}})),kl(i).on("mousedown",".vp-
video-wrapper",(function(t){var n;if(!e)return
y.classList.remove("hidden"),y.removeAttribute("hidden"),2!
==t.button&&document.createEvent&&((n=document.createEvent("MouseEvents")).initMous
eEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,0,null),y.dispatchEvent(n)),!
1})).on("contextmenu",".vp-video",(function(t){return
y.classList.remove("hidden"),y.removeAttribute("hidden"),!1})),t.events.on(Gs.Zs,
(function(t){if(t)return e=!0,void y.classList.add("hidden");e=!
1,y.classList.remove("hidden")}))}(),function(){var n,e;Wi.touch||
(kl(i).on("focus","a, button, input, [tabindex]",(function()
{e=this,clearTimeout(n),n=null,document.activeElement===this&&D()})),kl(i).on("blur
","a, button, input, [tabindex]",(function()
{document.activeElement===this&&(n=setTimeout(L,50))})),i.addEventListener("focus",
(function(t){D(),e&&e.focus()}),!1),t.events.on(ec.sl,(function(){m=!
0,i.removeAttribute("tabindex")})),t.events.on(ec.cl,(function(){m=!1})))}
(),t.events.on(ec.Zc,(function(t){j(),c&&c.adjustRenderSize(),b&&D()})).on(ec.tl,
(function(t){o=!0,c&&c.adjustRenderSize(),t?L():(D(),I())})),N(),t.events.on(Gs.Vs,
(function(){o=!0,u=!0,v=!0,p=!1,w=!1,g=!1,N(),I()})),t.events.on(Gs.ec,(function()
{var n=function(t){return function(){c&&t.apply(void
0,arguments)}},e=n((function(n){var
i=t.element.classList.contains("webvr");c&&i&&c.toggleVR()})),r=n((function(n)
{c.isVRPresenting?setTimeout((function()
{t.events.fire(xi.WEBVR_ENTER)}),100):setTimeout((function()
{t.events.fire(xi.WEBVR_EXIT)}),100)}));t.events.on(Gs.oc,n((function(){var
n=t.element.classList.contains("webvr");n||
t.element.classList.add("grabbable"),s&&s.updatePosition(t.element),!s||s.visible||
n||s.reveal()}))),t.events.on(ec.pc,n((function()
{F(),Wi.webvr&&c.isVRPresenting&&R&&c.toggleVR()}))),t.events.on(xi.CAMERA_UPDATE,n
((function(t){s&&s.setAngle(t.pitch,t.yaw)}))),t.events.on(Ko,n((function()
{t.config.video.spatial?function(){function n(t)
{h&&(h.innerHTML=Ff.render("threesixty_reminder",t))}var
e=t.backbone.getEffectByName("ThreeSixtyEffect");t.config.embed.settings.spatial_co
mpass?(s||(s=new zd(t.element.querySelector(".vp-controls-wrapper"),(function()
{e.snapToCenter()}))),s.updatePosition(t.element),s.reveal()):s&&s.hide(),t.events.
once(ec._c,(function(){var i=t.config.embed.cards;(null==i?void
0:i.length)&&i[0].timecode<15||(l.push(setTimeout((function(){n({showArrows:!
1,text:Wi.android?"Look around":"Click and drag to look
around"}),q(h),B(h),setTimeout((function(){return H(h)}),3e3)}),7e3)),Wi.android||
l.push(setTimeout((function(){n({showArrows:!1,text:Wi.android?"Look around":"Use
arrow keys to see more"}),q(h),B(h),setTimeout((function(){return
H(h)}),3e3)}),14e3)))})),function(){var t=i;if(!h){var
n=h=document.createElement("div");n.classList.add("cloaked"),n.classList.add("vp-
alert-round"),n.classList.add("vp-alert-round--top"),n.classList.add("vp-alert-
round--threesixty"),t.appendChild(n)}}()}():!
t.config.video.spatial&&s&&(F(),V())}))),(Wi.webvr||Wi.stereoscopic||
Wi.webxr)&&(Wi.webvr&&window.addEventListener("vrdisplaypresentchange",r,!
1),t.events.on(ec.zc,n((function(){V(),Wi.webvr&&c.hasVRHeadset&&R?
c.toggleVR():t.events.fire(ec.Sl)}))),t.events.on(xi.WEBVR_HARDWARE_AVAILABLE,n((fu
nction(t){var
n=i.querySelector(".stereoscopic");n&&n.classList.contains("off")&&R&&n.classList.r
emove("off")}))),t.events.on(xi.WEBVR_ENTER,n((function(n)
{window.addEventListener("vrdisplaydisconnect",e,!
1),window.addEventListener("vrdisplaydeactivate",e,!1);var
r=i.querySelector(".stereoscopic");r&&r.classList.add("on"),s&&s.hide(),t.element.c
lassList.remove("grabbable"),t.element.classList.add("webvr"),c.isUserInteracting=!
1}))),t.events.on(xi.WEBVR_EXIT,n((function(n)
{window.removeEventListener("vrdisplaydisconnect",e),window.removeEventListener("vr
displaydeactivate",e);var
r=i.querySelector(".stereoscopic");r&&r.classList.remove("on"),s&&s.reveal(),t.elem
ent.classList.add("grabbable"),t.element.classList.remove("webvr"),c.isUserInteract
ing=!0}))));var o=null,u=n((function(n){var
i=t.element.classList.contains("webvr");f||i||(f=!
0,n.preventDefault(),t.element.classList.add("grabbing"),d={x:n.clientX,y:n.clientY
},c.makeContact(d))})),a=n((function(n){var
i=t.element.classList.contains("webvr");f&&!
i&&(V(),c.move({x:n.clientX,y:n.clientY}))})),v=n((function(n){var
i=t.element.classList.contains("webvr");f&&!
i&&(t.element.classList.remove("grabbing"),c.releaseContact(!1),f=!
1)})),p=n((function(n){n.preventDefault(),t.element.classList.contains("webvr")||
(c.isUserInteracting||(c.isUserInteracting=!0),null!
==o&&clearTimeout(o),V(),o=setTimeout((function()
{t.element.classList.remove("player-cursor-
hide"),t.element.classList.add("grabbable"),c.isUserInteracting=!
1}),500),t.element.classList.add("player-cursor-
hide"),t.element.classList.remove("grabbable"),c.moveWheel({x:n.deltaX,y:n.deltaY})
)})),m=n((function(t){f||(f=!
0,c.makeContact({x:t.touches[0].clientX,y:t.touches[0].clientY}))})),b=n((function(
t)
{f&&(t.preventDefault(),V(),c.move({x:t.touches[0].clientX,y:t.touches[0].clientY})
)})),w=n((function(t){c.releaseContact(!0),f=!1})),g=n((function(t){f||
V(),c.moveDevice(t.alpha,t.beta,t.gamma,t.orientation)})),_=n((function(n){f=!
1,t.element.classList.remove("grabbing"),c.abandonMotion()}));t.events.on(Ko,
(function(){Wi.android&&c&&window.addEventListener("deviceorientation",g,!
1)})),t.events.once(Ko,(function(){t.store.watch("ui.player.boundingRect",
(function(){s&&s.updatePosition(t.element),c&&c.adjustRenderSize(),f=!
1})),Wi.pointerEvents?
(kl(y).on("pointerdown",u),window.addEventListener("pointermove",a),window.addEvent
Listener("pointerup",v),window.addEventListener("pointerleave",_)):
(kl(y).on("mousedown",u).on("wheel",p),window.addEventListener("touchstart",m,!!
Wi.passiveEvents&&{passive:!1}),window.addEventListener("touchmove",b,!!
Wi.passiveEvents&&{passive:!1}),window.addEventListener("touchend",w,!!
Wi.passiveEvents&&{passive:!
1}),window.addEventListener("mousemove",a),window.addEventListener("mouseup",v),win
dow.addEventListener("mouseleave",_))}))})),t.events.on(Zo,(function(t)
{F(),c=t,V()})),t.events.on(ec.Ec,(function(){w=!
0,clearTimeout(C),C=null})),t.events.on(ec.Tc,(function(){w=!1})),{}}var
Kd=function(){function t(t){var n=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:function(){};this.Yf=t,this.sd=this.Yf.debugCollector,this.ld=n}var
n=t.prototype;return n.getCurrent=function(t){return
this.Yf.debugCollector.getCurrent(t)},n.getSeries=function(t){return
this.Yf.debugCollector.getSeries(t)},n.getTemplateData=function(){var
t,n,i,e=this.sd.getCurrent("scanner"),r="MediaSourceScanner"===e,o="HLSLiveScanner"
===e,u=this.sd.getCurrent("video_dims"),a=!(!this.Yf.config.request.files||!
this.Yf.config.request.files.dash)&&this.Yf.config.request.files.dash.separate_av,s
=this.sd.getCurrent("vr_headset")||
null,c=this.Yf.currentTime,l=vt(c,this.Yf.backbone.buffered),f=c+l,h=this.fd(this.Y
f.backbone.buffered),d=this.Yf.backbone.brainDebug,v={playerVersion:kc(this.Yf.conf
ig),sessionId:this.Yf.config.request.session,clientIp:null==(t=this.Yf.config.reque
st)||null==(n=t.client)?void
0:n.ip,clipId:this.Yf.config.video.id,isDash:r,isLive:o,embedSize:u,separateAudioVi
deo:a,isCopyDisabled:!!this.Yf.doNotTrackEnabled||
this.Yf.config.embed.settings.background,isDNTEnabled:this.Yf.doNotTrackEnabled,hid
eCloseButton:!!
this.Yf.config.embed.settings.background,vrHeadsetName:s,currentTime:Is(c,3),buffer
Ahead:Is(l,3),bufferEnd:Is(f,3),readyState:this.Yf.bac
kbone.readyState,support:JSON.stringify(Wi),ua:null==(i=navigator)?void
0:i.userAgent,bufferedRanges:JSON.stringify(h),brainDebug:JSON.stringify(d)};return
Object.assign(v,this.dd(),this.vd(),this.pd(),this.bd(),this.wd(),this.gd(o),this.y
d(),this._d())},n.dd=function(){var
t=this.sd.getCurrent("bandwidth");return{bandwidthKbps:t?"".concat(Math.floor(t.val
ue/1e3).toLocaleString(),"
Kbps"):0,bandwidthMinKbps:"".concat(Math.floor(this.sd.getCurrent("min_bandwidth")/
1e3).toLocaleString(),"
Kbps"),bandwidthMaxKbps:"".concat(Math.floor(this.sd.getCurrent("max_badwidth")/1e3
).toLocaleString()," Kbps")}},n.vd=function(){var
t=this.sd.getCurrent("streams");return{codec:t?
t.codec:null,resolution:t?"".concat(t.width,"×").concat(t.height,"@").concat(Math.r
ound(t.framerate)," ").concat(Math.round(t.bitrate/1e3).toLocaleString()," Kbps
").concat(t.audioBitrate?" /
".concat(Math.round(t.audioBitrate/1e3).toLocaleString(),"
Kbps"):""):null}},n.pd=function(){var
t=this;return{testGroup:Object.keys(this.Yf.config.request.ab_tests).map((function(
n){return"".concat(n,": ").concat(t.Yf.config.request.ab_tests[n].group)})).join(",
")}},n.bd=function(){var t=this.sd.getCurrent("total_frames")||
0,n=this.sd.getCurrent("dropped_frames")||
0;return{totalFrames:t,droppedFrames:n,droppedFramesPercent:0!
==t?"".concat((n/t*100).toFixed(2),"%"):0}},n.wd=function(){var
t=this.sd.getCurrent("files");return t?{delivery:t.mime}:null},n.gd=function(t)
{return t?{liveLatency:"".concat(this.sd.getCurrent("live_latency").toFixed(2),"
seconds"),liveSessionID:this.Yf.config.video.live_event.id}:null},n.yd=function()
{if(!this.Yf.config.video.p2p)return null;var
t=sa(window,"Streamroot.instances[0].stats"),n=sa(t,"realtime.dnaSources");if(void
0===n)return null;var
i=sa(t,"currentContent.cdnDownload"),e=sa(t,"currentContent.dnaDownload");return{p2
pSources:n,p2pOffload:"".concat(Is(e/(i+e)*100,1),"%")}},n._d=function(){var
t=this.Yf.config.request.drm;return t?{drmEnabled:!!
t,drmFastly:t.fastly}:null},n.fd=function(t){if(!t)return null;for(var
n=t.length,i=0,e=[];in)return"";var o=(r-t)/(n-t)*250;return
isNaN(o)&&(o=0),"\n ".concat(e.title,'\n
\n
')})).join("")},t}(),$d=function(){function t(t)
{this.alertTextElement=t.querySelector(".vp-text-alert-
wrapper"),this.alertContentTitle=this.alertTextElement.querySelector(".vp-live-
start-time-title"),this.alertContentTime=this.alertTextElement.querySelector(".vp-
live-start-time-
body"),this.alertContentFooter=this.alertTextElement.querySelector(".vp-live-start-
time-footer")}var n=t.prototype;return n.show=function(t,n,i)
{this.alertContentTitle.innerHTML=t,this.alertContentTime.innerHTML=n,this.alertCon
tentFooter.innerHTML=i,this.alertContentTitle.classList.remove("hidden"),this.alert
ContentTime.classList.remove("hidden"),this.alertContentFooter.classList.remove("hi
dden"),this.alertTextElement.classList.remove("hidden")},n.hide=function()
{this.alertContentTitle.classList.add("hidden"),this.alertContentTime.classList.add
("hidden"),this.alertContentFooter.classList.add("hidden"),this.alertTextElement.cl
assList.add("hidden")},t}(),Xd=function(){function t(t,n,i){this.textAlert=new
Zh(t),this.timeAlert=new $d(t),this.player=n,this.store=i,this.startTime=new
Date(this.store.get(Jc,null)),this.ks=!1,this.Ld(),this.Dd()}var
n=t.prototype;return n.disable=function(){this.hide(),this.ks=!0},n.hide=function()
{this.textAlert.hide(),this.timeAlert.hide()},n.Dd=function(){(this.store.get(Xc)||
this.store.get(Zc))&&this.Pd(),this.store.get(tl)&&this.Nd()},n.Ld=function()
{this.player.events.on(au.EVENT_ACTIVE,this.Pd.bind(this)),this.player.events.on(au
.STREAM_ONLINE,this.Fd.bind(this)),this.player.events.on(au.STREAM_OFFLINE,this.Ud.
bind(this)),this.player.events.once(au.EVENT_ENDED,this.Nd.bind(this))},n.Pd=functi
on(){this.Vd()>6e4?(this.textAlert.hide(),this.Bd()):
(this.timeAlert.hide(),this.textAlert.show("This event hasn't started
yet"))},n.Bd=function(){var t=this.Hd();this.timeAlert.show(t[0],t[1],t[2]),!
this.store.get(Xc)&&!this.store.get(Zc)||this.ks||
setTimeout(this.Dd.bind(this),3e4)},n.Vd=function(){return this.startTime-new
Date},n.Hd=function(){var
t=this.Vd(),n=(t/6e4).toFixed(0),i=(t/36e5).toFixed(0),e=(t/864e5).toFixed(0),r=(ne
w Date).toDateString()===this.startTime.toDateString();if(e>1||!r)return["This
event is scheduled for","".concat(Bf[this.startTime.getMonth()],"
").concat(this.startTime.getDate()),"".concat("at","
").concat(Gf(this.startTime))];if(i>1&&r)return["This event is scheduled
for","Today","".concat("at"," ").concat(Gf(this.startTime))];var
o=n>1?"minutes":"minute";return["This event will start in","".concat(n,"
").concat(o),""]},n.Fd=function(){this.hide()},n.Ud=function()
{this.textAlert.show("Live stream
offline"),Wi.iOS&&Wh.element&&(this.player.events.fire(ec.Qc),Wh.exit())},n.Nd=func
tion(){this.textAlert.show("Live event ended")},t}();function Zd(t,n){var
i,e=n.querySelector(".vp-notification");function r(t,r){if(null!
==n.parentElement.offsetParent)
{n.classList.remove("hidden"),n.removeAttribute("hidden"),n.setAttribute("data-
name",t);var u=function(t){var
i="watchlater"===t||"unwatchlater"===t?.5:.4,e=n.clientHeight;return
n.clientHeight>n.clientWidth&&(e=n.clientWidth),
{height:Math.round(e*i),width:Math.round(e*i*1.6)}}
(t),a="width:"+u.width+"px;height:"+u.height+"px";e.style.cssText=a,e.innerHTML=r,"
watchlater"!==t&&"unwatchlater"!==t||function(t,n){var i=t.querySelector(".hour-
hand"),e=t.querySelector(".minute-hand");if(i&&e){var r=n?1:-1,o=new
Date,u=Math.abs(o.getHours()-12),a=o.getMinutes(),s=a/60*360-
135,c=u/12*360+a/60*5,l=c+45*r,f=s+540*r;i.style[Wi.transformProperty]="rotate("+c+
"deg)",e.style[Wi.transformProperty]="rotate("+s+"deg)",window.requestAnimationFram
e((function(){t.classList.add("animate"),Wi.browser.firefox||Wi.browser.opera||
window.requestAnimationFrame((function()
{i.style[Wi.transformProperty]="rotate("+l+"deg)",e.style[Wi.transformProperty]="ro
tate("+f+"deg)"}))}))}}
(e,"watchlater"===t),clearTimeout(i),n.classList.remove("animate"),window.requestAn
imationFrame((function()
{n.classList.remove("invisible"),i=setTimeout(o,750)}))}}function o()
{n.classList.add("animate"),n.classList.add("invisible")}function u()
{n.classList.remove("animate"),n.classList.remove("invisible"),n.classList.add("hid
den"),n.setAttribute("hidden",""),n.removeAttribute("data-
name"),e.innerHTML="",e.classList.remove("filled"),e.classList.remove("animate"),t.
events.fire(ec.Af)}return kl(n).on("transitionend",(function(t)
{e.contains(t.target)&&"height"===t.propertyName?
setTimeout(o,100):t.target===n&&"opacity"===t.prop
ertyName&&window.requestAnimationFrame(u)})),t.events.on(ec.jl,(function(t){t||
r("like",Ff.render("icon_heart"))})),t.events.on(ec.Ll,(function(t){t||
r("unlike",Ff.render("icon_broken_heart"))})),t.events.on(ec.Dl,(function(t){t||
r("watchlater",Ff.render("icon_clock"))})),t.events.on(ec.Pl,(function(t){t||
r("unwatchlater",Ff.render("icon_clock"))})),t.events.fire(ec.Tf),{}}function
Qd(t,n){var i=rt(),e=!1;function r(t){As(t,"facebook",
{width:580,height:400})}function o(t){As(t,"twitter",
{width:550,height:420})}function u(t){As(t,"tumblr",{width:540,height:600})}var
a={get events(){return i},setup:function(){var i;n.classList.remove("vp-share-
embed-active","vp-share-embed-only"),(null==(i=t.config.embed.settings.share)?void
0:i.embed_only)&&n.classList.add("vp-share-embed-only");var e=n.querySelector(".js-
embedCopy");e&&(e.style.width=function(t,n){var i=arguments.length>2&&void 0!
==arguments[2]?arguments[2]:2;n=Object.keys(n).map((function(t){return n[t]}));var
e=t.cloneNode();e.style.visibility="hidden",e.style.padding=0,t.parentElement.appen
dChild(e);var r=n.map((function(t){return
e.innerText=t,e.clientWidth})),o=Math.max.apply(Math,tt(r)),u=window.getComputedSty
le(t),a=parseFloat(u.fontSize);return
t.parentElement.removeChild(e),"".concat((o+i)/a,"em")}(e,
["Copy","Copied!"])),t.events.on(ec.hl,r).on(ec.dl,o).on(ec.vl,u)},destroy:function
(){t.events.off(ec.hl,r).off(ec.dl,o).off(ec.vl,u)},getShareData:function(){var
n,i,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:
{},o=t.config.video.title,u=t.config.video.owner.name,a=t.config.video.share_url;re
turn
e=document.queryCommandSupported&&document.queryCommandSupported("copy"),r.template
=Ff.render("share",
{url:t.config.video.url,shareUrl:a,playerShareUrl:"https://".concat(t.config.player
_url,"/video/").concat(t.config.video.id,"/share"),title:o,owner:u,embed:"public"==
=t.config.video.embed_permission&&t.config.embed.settings.embed,embedOnly:null==(n=
t.config.embed.settings.share)?void
0:n.embed_only,embedCode:Ad(t.config.video.embed_code),copyButton:e,customizeEmbed:
!!t.config.video.url,readOnly:!Wi.touch,facebookIcon:Ff.render("icon_facebook",
{title:"Share on Facebook"}),twitterIcon:Ff.render("icon_twitter",{title:"Share on
Twitter"}),tumblrIcon:Ff.render("icon_tumblr",{title:"Share on
Tumblr"}),emailIcon:Ff.render("icon_mail",{title:"Share via
Email"}),embedIcon:Ff.render("icon_embed",{title:"Get embed code"}),strings:
{share:"Share",emailSubject:"Check out “"+o+"” from "+u+" on
Vimeo",emailBody:"Check out “"+o+"” from "+u+" on Vimeo.\n\nThe video is available
for your viewing pleasure at "+a+"\n\nIf you like this video, make sure you share
it, too!\n\nVimeo is filled with lots of amazing videos. See more at
https://vimeo.com.",embedTitle:"Embed",embedSubtitle:"Add this video to your site
with the embed code below.",copy:"Copy",copySuccess:"Copied!",customize:'')+"Customize this embed on Vimeo"}}),r.qd=".js-
facebook",(null==(i=t.config.embed.settings.share)?void
0:i.embed_only)&&(r.wrapperClass="embed-only",r.qd=".js-embed-
input"),r},showShareView:function(){n.querySelector(".js-share-
screen").classList.remove("cloaked"),n.classList.remove("vp-share-embed-
active"),i.fire(ec._l)},showEmbedView:function()
{t.config.embed.settings.share.embed_only||(n.querySelector(".js-embed-
screen").classList.remove("cloaked"),n.classList.add("vp-share-embed-
active")),i.fire(ec.kl)}};return function(){var r;kl(n).on("transitionend",".js-
share-screen",(function(t)
{"opacity"===t.propertyName&&"0"===window.getComputedStyle(this,"").opacity&&(i.fir
e(ec.Tl),this.classList.add("cloaked"))})).on("transitionend",".js-embed-screen",
(function(t)
{"opacity"===t.propertyName&&"0"===window.getComputedStyle(this,"").opacity&&(i.fir
e(ec.El),this.classList.add("cloaked"),Rs(n))})).on("copy","input[name=embed_code]"
,(function(){t.events.fire(ec.ml)})),kd(n,".js-facebook",(function(){return
t.events.fire(ec.hl,this.href),ks(),!1})),kd(n,".js-twitter",(function(){return
t.events.fire(ec.dl,this.href),ks(),!1})),kd(n,".js-tumblr",(function(){return
t.events.fire(ec.vl,this.href),ks(),!1})),kd(n,".js-email",(function(){return
t.events.fire(ec.pl),window.top.location=this.href,ks(),!1})),kd(n,".js-embed",
(function(){return t.events.fire(ec.rl),a.showEmbedView(),ks(),!1})),kd(n,".js-
embedCopy",(function(){if(e)
{n.querySelector("input[name=embed_code]").select();try{document.execCommand("copy"
)&&function(){t.events.fire(ec.ml);var i=n.querySelector(".js-
embedCopy");i.innerHTML=i.getAttribute("data-success-
label"),clearTimeout(r),r=setTimeout((function(){i.innerHTML=i.getAttribute("data-
label")}),2e3)}()}catch(t){}return document.activeElement.blur(),!1}})),Wi.touch?
kl(n).on("focus","input[name=embed_code]",(function(){var
t=this;setTimeout((function()
{t.setSelectionRange(0,9999),t.setAttribute("readonly","readonly")}),0)})).on("blur
","input",(function()
{this.removeAttribute("readonly")})):kl(n).on("click","input[name=embed_code]",
(function(){this.setSelectionRange(0,9999)}))}(),a}function tv(t,n,i){var
e,o,u,a=i.querySelector(".vp-outro"),s=null,c=!1,l=!1,f=!1,h=!1,d=!
1,v=$f(S,250),p=null,m=t.config.request.ads instanceof Object,b=!1;function w()
{return!d&&null===s&&!t.config.embed.loop}function g()
{if(t.config.embed.outro===lc.VOD)return o=lc.VOD,s=y(o),!
0===h&&E(),r.resolve(s);d=!0;var n=t.config.embed.email_capture_form||
t.config.embed.email||{};return
Xe("https://".concat(t.config.player_url,"/video/").concat(t.config.video.id,"/outr
o?
on_site=").concat(t.config.embed.on_site,"&type=").concat(t.config.embed.outro,"&em
ail=").concat(n?1:0),{withCredentials:!0}).json().then((function(n){return
o=n.type,
(s=y(o,n.data))&&(s.bgimage&&Dc(s.bgimage),s.contexts&&s.contexts.forEach((function
(t){t.videos.forEach((function(t)
{Dc(t.thumbnail)}))}))),Mh(t.config.video.owner)&&function(n,i)
{[lc.VIDEOS,lc.THREEVIDEOS,lc.PROMOTED].includes(n)&&i.contexts&&i.contexts.forEach
((function(n){n.videos.reduce((function(n,i){return n.then(function(n){return
function(){return t.preloadVideo("auto",n.id,{autoplay:!0}).catch((function(t)
{}))}}(i))}),r.resolve())}))}(o,s),s}))}function y(n){var
i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:
{},e=Oc(t.element.clientWidth*Wi.devicePixelRatio,t.element.clientHeight*Wi.deviceP
ixelRatio),r=e.width,o=e.height;if(i.img_base&&(i.bgimage=jc({width:r,height:o,base
Url:i.img_base})),n===lc.VOD){var u=void 0!==t.config.video.vod.is_preorder?
t.config.video.vod.is_preorder:!!
t.config.video.vod.date_available,a=t.config.video.vod.is_coming_soon,s=t.config.vi
deo.vod.date_available_formatted_datetime||
t.config.video.vod.date_available,c="Coming soon to Vimeo On
Demand.";a&&s&&(c="Coming soon to Vimeo On Demand on "+s+"."),u&&(c="Pre-order now.
Watch on
"+s+"."),i={purchased:t.config.user.purchased,title:t.config.video.vod.feature_titl
e,url:t.config.video.vod.url,currency:t.config.request.currency,countries:t.config.
video.vod.countries,country:t.config.request.country,buttons:t.config.video.vod.pur
chase_options,translationMap:t.config.request.dynamic_translation_map,isPreorder:u,
isComingSoon:a,releaseDate:s,strings:{watch:u?"Watch on "+s:"Watch
Now",preRelease:c}}}return[lc.VIDEOS,lc.THREEVIDEOS,lc.PROMOTED].includes(n)&&(t.co
nfig.user.following=i.following,(i={contexts:Array.isArray(i)?i:
[i],owner:t.config.video.owner.id,bgimage:i.bgimage,following:i.following}).context
s&&i.contexts.forEach((function(t){t.videos.forEach((function(n)
{if(n.fullTitle=n.title,n.byline="",n.owner.id!==i.owner&&(n.fullTitle=n.title+"
from "+n.owner.name,n.byline="from "+n.owner.name),n.thumbnail_base){var
e=Math.round(r/t.videos.length);n.thumbnail=jc({width:e,height:Math.round(e/1.778),
baseUrl:n.thumbnail_base})}}))}))),n===lc.LINK&&(i.url=Pd(i.url),i.url2=Pd(i.url2))
,n===lc.SHARE&&(i.strings={back:"Back"}),i}function _(t){a.classList.toggle("vp-
outro--link-medium",t)}function k(t){a.classList.toggle("vp-outro--link-
large",t)}function E(){if(c=!0,o===lc.BEGINNING)return a.innerHTML="",void
t.events.fire(Gs.Vs);if(w())g().then((function(){return E()})).catch((function()
{}));else{var r=function(){if([lc.VIDEOS,lc.THREEVIDEOS,lc.PROMOTED].includes(o))
{var n;if(0===((null==(n=s)?void 0:n.contexts)||[]).reduce((function(t,n){return
t+n.videos.length}),0))return null;s.showFollowButton=!
t.config.user.owner&&t.config.user.logged_in,s.strings={follow:"Follow",following:"
Following",unfollow:"Unfollow"}}return s&&(s.target=!t.config.embed.on_site),p=o,
[lc.THREEVIDEOS,lc.PROMOTED].includes(o)&&(p=lc.VIDEOS),Ff.render("outro_"+p,s)}
();r&&(a.innerHTML=r,a.setAttribute("data-
type",p),i.classList.remove("hidden"),i.removeAttribute("hidden"),l=!0,
[lc.VIDEOS,lc.THREEVIDEOS].includes(o)?function(){var
t=document.querySelector(".js-outro-followWrap");if(t){var
n=window.getComputedStyle(t),i=parseFloat(n.fontSize);t.style.width="".concat(t.cli
entWidth/i,"em")}}():o===lc.LINK?
(n.watch("ui.outro.isLinkTitleVisible",_),n.watch("ui.outro.isLinkDescriptionVisibl
e",k),_(n.get("ui.outro.isLinkTitleVisible")),k(n.get("ui.outro.isLinkDescriptionVi
sible"))):o===lc.SHARE&&function(){var t=i.querySelector(".js-outro-
content"),n=e.getShareData();t.innerHTML=n.template,e.setup()}
(),window.requestAnimationFrame((function()
{window.requestAnimationFrame((function()
{i.classList.add("in"),S()}))})))}}function T(){if(l)return e.destroy(),c=!1,f=!
1,l=!1,void window.requestAnimationFrame((function()
{i.classList.remove("in"),t.events.fire(ec.Zl),A()}));c&&(c=!
1,t.events.fire(ec.Zl))}function S(){var n;if(!f&&i.clientWidth)
{kl(window).off("resize",v),f=!0;var e=[];(null==(n=s)?void
0:n.contexts)&&s.contexts.forEach((function(t)
{t.videos&&t.videos.forEach((function(t){var n=t.id,i=a.querySelector('[data-video-
id="'+n+'"]');i&&i.clientWidth>0&&e.push(n)}))})),t.events.fire(ec.Xl,e)}}function
x(){u=setTimeout((function(){var n=t.config.embed.email_capture_form||
t.config.embed.email||{};"after-video"===n.position||"after"===n.positio
n?(t.events.fire(ec.Al),t.events.on(ec.bf,(function()
{t.events.fire(Gs.Qs)}))):t.events.fire(Gs.Qs)}),250)}function A()
{kl(window).off("resize",v),kl(window).on("resize",v)}return
t.events.on(_i.TIME_UPDATE,(function(t){var
n=t.currentTime,i=t.duration;t.timeProgress,h=!1,w()&&n>=i-
10&&g().catch((function(){}))})),t.events.on(Ko,(function()
{[lc.NOTHING,lc.BEGINNING,lc.EMAIL].includes(t.config.embed.outro)&&(o=t.config.emb
ed.outro,s=!1)})),t.events.on(ec.Hf,(function(){b=!0})),t.events.on(ec.pc,
(function(){if(m&&!b)return t.events.on(ec.Hf,x),void(m=!
1);x()})),t.events.on(ec._loadVideo,(function()
{clearTimeout(u)})),t.events.on(Gs.Qs,(function(n,i){t.performDelegateAction(nc,
(function(){n&&(o=n,s=null,d=!1),i&&i.data&&(s=y(n,i.data)),h=!
0,E()}))})),kl(i).on("click",".js-videoLink",(function(n){var
i=parseInt(this.getAttribute("data-video-
id"),10);t.events.fire(ec.Ql,i),Mh(t.config.video.owner)&&(n.preventDefault(),t.loa
dVideo(i,{autoplay:!0}))})),kl(i).on("click",".js-cta",(function(n)
{t.events.fire(ec.df,this.href)})),kl(i).on("click",".js-link",(function(n)
{t.events.fire(ec.sf,this.href)})),kl(i).on("click",".js-imageLink",(function(n)
{t.events.fire(ec.hf,this.href)})),kl(i).on("transitionend",(function(t)
{i.classList.contains("in")||
(i.classList.add("hidden"),i.setAttribute("hidden",""))}),!
1),t.events.on([Gs._hideOutro,Gs.Vs,_i.PLAY,_i.SEEKED,ec.Dc],T),t.events.on(ec.Xl,
(function(){t.element.classList.add("player-outroVisible")})).on(ec.Zl,(function()
{t.element.classList.remove("player-outroVisible")})),kd(i,".js-outro-follow",
(function(){t.events.fire(ec.al)})),kl(i).on("mouseleave",".js-outro-follow",
(function(t){var n=document.querySelector(".js-outro-
follow");n&&n.classList.remove("vp-outro-follow--activated")})),t.events.on(ec.lf,
(function(){var t=document.querySelector(".js-outro-
follow");t&&(t.setAttribute("aria-pressed",!0),t.classList.add("vp-outro-follow--
activated"))})),t.events.on(ec.ff,(function(){var t=document.querySelector(".js-
outro-follow");t&&t.setAttribute("aria-pressed",!1)})),t.events.on(Gs._showOverlay,
(function(){setTimeout((function()
{i.classList.add("hidden")}),150)})),t.events.on(ec.cl,(function()
{i.classList.contains("in")&&i.classList.remove("hidden")})),t.events.on(Gs.Vs,
(function(){s=null,d=!1,m=t.config.request.ads instanceof Object})),kd(i,".js-vod-
button",(function(){var n=this.getAttribute("data-product-id");return
t.events.fire(ec.ol,n),!1})),kd(i,".js-vod-watch",(function(){if(!
("date_available"in t.config.video.vod))return T(),t.events.fire(ec.ol),!
1})),a&&((e=new Qd(t,a)).events.on(ec.kl,(function()
{t.config.embed.settings.share.embed_only||(i.querySelector(".js-
back").classList.remove("cloaked"),i.classList.add("embed-active"))})).on(ec._l,
(function(){i.classList.remove("embed-active")})),kd(i,".js-back",(function()
{return e.showShareView(),!1})),e.events.on(ec.El,(function(){i.querySelector(".js-
back").classList.add("cloaked")}))),A(),{}}function nv(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"after-
video"===(n=n||t.position)||"after"===n}function iv(t){return
jc({width:150,height:75,baseUrl:t})}var ev=function(){function t(t)
{this.element=t,this.cachedElements={}}var n=t.prototype;return
n.getElement=function(t){return this.cachedElements[t]||
(this.cachedElements[t]=this.element.querySelector(t)),this.cachedElements[t]},n.re
moveElement=function(t)
{this.getElement(t)&&(this.cachedElements[t].remove(),this.cachedElements[t]=null)}
,n.updateAll=function(t,n){this.updateTitle(t.text||
t.custom_message),this.updateSkipBtn(t.allow_skip||
t.skippable,t.position),this.updatePrivacyPolicy(t.privacy_policy),this.updateCusto
mLogo(t.custom_logo),this.updateFields(t.custom_fields,n)},n.updateTitle=function(t
){var n=this.getElement(".vp-email-capture-title");if(t&&n)n.textContent=t;else
if(t&&!n){var i=this.getElement(".vp-email-capture-title-logo-
wrap"),e=Ff.render("email_capture_title",
{title:t});i.insertAdjacentHTML("beforeend",e)}else!t&&n&&this.removeElement(".vp-
email-capture-title")},n.updateSkipBtn=function(t,n){var i=this.getElement(".vp-
email-capture-form-button--cancel");if(t&&i)i.value=nv(null,n)?"Skip":"Skip to
video";else if(t&&!i){var e=this.getElement(".vp-email-capture-form-
skip"),r=Ff.render("email_capture_skip",
{position:n,skipText:"Skip",skipToVideoText:"Skip to
video",positionIsAfter:nv(null,n)});e.insertAdjacentHTML("afterbegin",r)}else!
t&&i&&this.removeElement(".vp-email-capture-form-button--
cancel")},n.updatePrivacyPolicy=function(t){var n=this.getElement(".vp-email-
capture-privacy-policy");if(t&&n)n.href=encodeURI(t);else if(t&&!n){var
i=this.getElement(".vp-email-capture-disclaimer-
wrapper"),e=Ff.render("email_capture_privacy_policy",{text:"Privacy
policy",url:t});i.insertAdjacentHTML("beforeend",e)}else!
t&&n&&this.removeElement(".vp-email-capture-privacy-
policy")},n.updateCustomLogo=function(t){var n=this.getElement(".vp-email-capture-
logo");if(t&&n)n.src=iv(t);else if(t&&!n){var i=this.getElement(".vp-email-capture-
title-logo-wrap"),e=Ff.render("email_capture_logo",
{url:iv(t)});i.insertAdjacentHTML("afterbegin",e)}else!
t&&n&&this.removeElement(".vp-email-capture-logo")},n.updateFields=function(t,n)
{var i=this;if(t){var e=this.getElement(".vp-email-capture-form-fields-
slider").children;e.length>t.length&&U(e).forEach((function(i){t.some((function(t)
{return i.dataset.id===String(t.id)}))||(i.remove(),n())})),t.forEach((function(t)
{i.updateField(t,n)}))}},n.updateField=function(t,n){var
i=t.id,e=t.field_name,r=t.required,o=t.position_in_form,u=this.getElement(".vp-
email-capture-form-fields-slider"),a=this.element.querySelector("[for=custom-
field-".concat(i,"]")),s=this.element.querySelector("#custom-
field-".concat(i));if(a&&s){var
c=s.parentElement,l=u.children;a.textContent=e,s.name=e,s.toggleAttribute("required
",r),c.classList.toggle("required",r);var f=U(l).indexOf(c);f!
==o&&(u.insertBefore(l[f],l[o]),n())}else{var h=Ff.render("email_capture_field",
{field:t});o===u.children.length?
u.insertAdjacentHTML("beforeend",h):u.children[o].insertAdjacentHTML("beforebegin",
h),n()}},n.updateWebinarStartTime=function(t){var n=this.getElement(".vp-email-
capture-wrapper"),i=n.querySelectorAll(".vp-email-capture-start-time"),e=Jf(new
Date(t));if(t&&i.length)U(i).forEach((function(t){t.textContent=e}));else if(t&&!
i.length){var r=this.getElement(".vp-email-capture-title-logo-
wrap"),o=n.querySelectorAll(".vp-email-capture-thank-you-
title"),u=Ff.render("email_capture_start_time",
{startTime:e});r.insertAdjacentHTML("afterbegin",u),U(o).forEach((function(t)
{u=Ff.render("email_capture_start_time",
{startTime:e}),t.insertAdjacentHTML("afterbegin",u)}))}else!
t&&i.length&&U(i).forEach((function(t)
{t.parentNode.removeChild(t)}))},n.clearCachedElements=function()
{this.cachedElements={}},t}();function rv(t,n,i){return i?n?n(t):t:(t&&t.then||
(t=r.resolve(t)),n?t.then(n):t)}function ov(t,n){try{var i=t()}catch(t){return
n(t)}return i&&i.then?i.then(void 0,n):i}function uv(){}function av(t)
{if(t&&t.then)return t.then(uv)}function sv(t){return function(){for(var
n=[],i=0;i1&&void 0!==arguments[1])||
arguments[1],s=i.querySelector(".vp-email-capture-disclaimer-
wrapper"),d=i.querySelector(".vp-email-capture-current-
step"),v=i.querySelector(".vp-email-capture");l&&(l.setAttribute("aria-hidden",!
0),f.tabIndex=-1);var p=!r&&!k;c&&(p||k)&&(r=Es(e).height),l=u[(c=t)-1],f=a[c-
1],l&&f&&(l.setAttribute("aria-hidden",!
1),f.tabIndex=0),window.requestAnimationFrame((function()
{o.style.transform="translateY(-".concat(r*(c-
1),"px)"),d.textContent=c,h.style.width="".concat(c/u.length*100,"%")})),n&&o.addEv
entListener("transitionend",A),v.classList.toggle("vp-email-capture-first-
step",1===c),s.classList.toggle("cloaked",c1&&(s.classList.add("half"),t.classList.remove("hidden"),t.tabIndex=0,t.setAtt
ribute("aria-hidden",!1),window.requestAnimationFrame((function()
{t.classList.add("show")}))),c()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]
{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))
$/.test(f.value)?!(f.checkValidity&&!f.checkValidity()&&((f.validity.valueMissing||
f.validity.typeMismatch)&&f.setCustomValidity("This field is
required."),f.validity.typeMismatch&&f.setCustomValidity("Please enter a valid
response."),1)):(f.setCustomValidity("Please enter a valid email address."),!
1))}var I=function(){kl(i).off(["click","touchend"],".vp-email-capture-form-
button--cancel"),kl(i).off(["click","keydown"],".vp-email-capture-form-button--
next"),kl(i).off(["click","keydown"],".vp-email-capture-form-button--
back"),kl(i).off(["click"],".vp-email-capture-form-button--
submit"),kl(i).off(["keyup","blur"],".vp-email-capture-form-button--next-submit-
wrapper"),kl(i).off("click",".vp-email-capture-
wrapper"),kl(i).off(["keyup","input","focus","blur"],".vp-email-capture-form-
input"),kl(i).off("submit",".vp-email-capture-form"),y=!1,b.fire(ec.bf)};function
O(){var n,e=!(arguments.length>0&&void 0!==arguments[0])||
arguments[0],r=i.querySelector(".vp-email-capture");n=e?i.querySelector(".vp-email-
capture-reg-thank-you"):i.querySelector(".vp-email-capture-login-thank-
you"),r.classList.add("hidden"),n.classList.remove("hidden"),t.events.once(uc.LIVE_
EVENT_STARTED,(function(){I()}))}function j(){function n(n)
{v.classList.remove("loading"),f.setCustomValidity("Uh oh. There was a problem.
Please try again."),f.setAttribute("aria-
invalid","true"),t.events.fire(ec.rf),T()}v.classList.add("loading"),function(e,r)
{Rs(i);var o=U(a),u=new
XMLHttpRequest,s=t.config.request,c=s.referrer,l=s.signature,f=s.timestamp,h=s.expi
res,d="https://".concat(t.config.player_url,"/video/").concat(t.config.video.id,"/s
ubmit-email?
signature=").concat(l,"&time=").concat(f,"&expires=").concat(h,"&referrer=").concat
(c);u.open("POST",d+window.location.search,!0);var v={};o.forEach((function(t)
{v[t.name]=t.value}));var p=JSON.stringify(v);u.setRequestHeader("Content-
Type","application/json"),u.withCredentials=!0,u.timeout=3e3,u.onload=function()
{var e;try{e=JSON.parse(u.responseText)}catch(t){}!function(e,r){!1!==e?
(t.config.embed.email_capture_form=null,t.config.embed.email=null,t.events.fire(ec.
ef),function(){var t=i.querySelector(".vp-email-capture"),n=i.querySelector(".vp-
email-capture-thank-
you");t.classList.add("hidden"),n.classList.remove("hidden"),window.requestAnimatio
nFrame((function(){var t=i.querySelector(".vp-email-capture-video-countdown-
timer"),e=i.querySelector(".vp-email-capture-video-countdown-
meter");n.classList.add("in"),t&&(e.classList.add("vp-email-capture-video-
countdown-meter--active"),t.textContent=3);var r=2,o=setInterval((function(){r<=0?
(I(),clearInterval(o)):(t&&(t.textContent=r),r-=1)}),1e3)}))}()):n(r.status)}
(e,u)},u.onerror=function(t){r(t)},u.send(p)}(0,n)}function L(t){var n={};return
U(t).forEach((function(t){var i=t.name,e=t.value;switch(i)
{case"email":n.email=e;break;case"First name":n.first_name=e;break;case"Last
name":n.last_name=e;break;default:n.data||
(n.data={}),n.data[i]=e}})),JSON.stringify(n)}var D=function(t){return R()?
(x(),M(c+1),!0):(S(),!1)},P=function(){return(function(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return"before-
video"===(n=n||t.position)||"before"===n}(w)&&!t.config.video.live_event||
n.get(Qc))&&(t.events.fire(ec.Ac),t.events.fire(ec.xc)),c===u.length&&(R()?
(x(),t.events.fire(ec.gl),n.get(Ul)&&_?p():n.get(Ul)?m():(j(),(!nv(w)&&!
t.config.video.live_event||n.get(Qc))&&t.events.fire(ec.Ac)),!1):(S(),!
1))};function N(t){_=t;var n=w.custom_fields;_&&(n=[{field_name:"Email
address",required:1,position_in_form:0,id:1,locked:1}]),function(t){var
n=Ff.render("email_capture_fields",
{customFields:t,strings:cv});document.querySelector(".vp-email-capture-form-fields-
slider").innerHTML=n,i.querySelector(".vp-email-capture-total-
steps").innerText=t.length,u=i.querySelectorAll(".vp-email-capture-form-custom-
field"),a=i.querySelectorAll(".vp-email-capture-form-input"),l=u[c-1],f=a[c-
1],r=null,V(),M(c>u.length?u.length:c,!1)}(n),document.querySelector(".vp-email-
capture-reg-bypass-wrapper").innerHTML=Ff.render("webinar_registration_bypass_btn",
{showWebinarLogin:_,regBypass:cv.reg_bypass,regGoBack:cv.reg_go_back});var e=_?
cv.reg_login_title:w.custom_message;document.querySelector(".vp-email-capture-
title").innerHTML=Ff.render("email_capture_title",{title:e}),x()}var F={get
events(){return b},getData:function(){var i,e=arguments.length>0&&void 0!
==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:{};w=E(t.config);var o=r.custom_logo||
w.custom_logo,u=r.custom_fields||w.custom_fields||[{field_name:"Email
address",required:1,position_in_form:0,id:1,locked:1},
{field_name:"Name",required:0,position_in_form:1,id:2,static_field:1}];u.sort((func
tion(t,n){return t.position_in_form-n.position_in_form}));var a=r.privacy_policy||
w.privacy_policy,s=(null==(i=t.config.video.webinar)?void
0:i.scheduled_start_time)||null,c=s?Jf(new Date(s)):"";return
e.template=Ff.render("email_capture",{allowSkip:r.allow_skip||w.skippable||
w.allow_skip,customLogo:o?iv(o):null,text:r.text||w.custom_message||
w.text,customFields:u,privacyPolicy:a,positionIsAfter:nv(w),strings:cv,isWebinar:n.
get(Ul),showWebinarLogin:n.get(_),webinarStartTime:c}),g.clearCachedElements(),e.qd
=".vp-email-capture-form-input",e.modal=!0,e.logo=!1,e.preventBackgroundClose=!
0,e.noblur=r.noblur,e.nofocus=r.nofocus,e}};function V(){var
t=i.querySelector(".locked_field"),n=i.querySelectorAll(".static_field");t&&(t.type
="email",t.name="email"),n&&U(n).forEach((function(t)
{"Name"===t.name&&(t.name="name")}))}return t.events.on(ec.sl,(function(p){"email-
capture"===p&&(e=i.querySelector(".vp-email-capture-form-fields-
wrapper"),o=i.querySelector(".vp-email-capture-form-fields-
slider"),u=i.querySelectorAll(".vp-email-capture-form-custom-
field"),a=i.querySelectorAll(".vp-email-capture-form-
input"),s=i.querySelector(".vp-email-capture-form-button--next-submit-
wrapper"),h=i.querySelector(".vp-email-capture-progress-
meter"),d=i.querySelector(".vp-validation-bubble"),v=i.querySelector(".vp-email-
capture-form-button--submit"),V(),M(1,!1),function(){if(!y)
{n.watch("ui.player.breakpoint",(function()
{r=Es(e).height,window.requestAnimationFrame((function()
{o.style.transform="translateY(-".concat(r*(c-1),"px)")}))}));var a=!1;kd(i,".vp-
email-capture-form-button--cancel",(function(){I(),(!nv(w)&&!
t.config.video.live_event||
n.get(Qc))&&t.events.fire(ec.Ac)})),kl(i).on("click",".vp-email-capture-form-
button--next",D),kl(i).on("click",".vp-email-capture-form-button--back",
(function(t){x(),M(c-1)})),kl(i).on("keyup",".vp-email-capture-form-button--next-
submit-wrapper",(function(t){s.classList.add("showfocus")})),kl(i).on("blur",".vp-
email-capture-form-button--next-submit-wrapper",(function(t)
{s.classList.remove("showfocus")})),kl(i).on("click",".vp-email-capture-wrapper",
(function()
{s.classList.remove("showfocus"),f.classList.remove("showfocus")})),kl(i).on("keydo
wn",".vp-email-capture-form-button--back",(function(t){a=!
0})),kl(i).on("keydown",".vp-email-capture-form-button--next",(function(t){a=!
0})),kl(i).on("keyup",".vp-email-capture-form-input",(function(t)
{"Enter"===t.key&&cu.length?
u.length:c,!1)}))})),F}function fv(t,n,i){var e,r,o,u=i.querySelector(".vp-overlay-
cell"),a=i.querySelector(".vp-overlay"),s=i.querySelector(".vp-overlay-icon-
wrapper"),c=s.querySelector(".vp-overlay-icon"),l=i.querySelector(".vp-overlay-
logo"),f=!1,h=null,d=null,v=new Qd(t,a),p=new lv(t,n,a),m=!1,b=!1;function w(){var
t=Es(i),n=Es(a),e=Es(l),r=n.bottom+(t.height-n.bottom)/2;return t.height-r-
e.height/2+"px"}function g(){var t=Es(i),n=Es(a),e=Es(s),r=t.height/2,o=t.height-
(t.bottom-n.bottom)/2;return{top:r-e.height/2+"px",transform:"translateY("+(o-r)
+"px)"}}function y(n,e){i.setAttribute("data-
name",n),a.innerHTML=e.template,Wi.iOS&&Wh.element&&(t.events.fire(ec.Qc),Wh.exit()
),e.noblur||
ks(o=document.activeElement),e.modal&&(i.classList.add("modal"),i.setAttribute("dat
a-modal","true")),e.preventBackgroundClose&&i.setAttribute("data-background-
close","false"),e.wrapperClass&&i.classList.add(e.wrapperClass),e.icon.type&&(e.log
o&&(l.classList.remove("hidden"),s.classList.add("cloaked"),window.requestAnimation
Frame((function()
{l.innerHTML=Ff.render("logo"),l.style.bottom=w()}))),s.classList.remove("hidden"),
c.innerHTML=e.icon.html,window.requestAnimationFrame((function(){var
t=g();s.style.top=t.top,s.style[Wi.transformProperty]=t.transform})),i.setAttribute
("data-icon",e.icon.type),s.setAttribute("data-
icon",e.icon.type),c.setAttribute("data-icon",e.icon.type),"private-
unlocked"===n&&c.classList.add("open")),i.classList.add("invisible"),i.classList.re
move("hidden"),i.removeAttribute("hidden"),i.classList.add("in"),d=e,h=n,f=!
0,t.events.fire(ec.sl,n),t.element.classList.add("player-
overlayVisible"),window.requestAnimationFrame((function()
{i.classList.remove("invisible"),!e.nofocus&&t.element.contains(o)&&function(t)
{if(t){var n=i.querySelector(t);n&&n.focus()}}
(e.qd),window.requestAnimationFrame((function()
{a.classList.add("in"),u.classList.add("in")}))}))}function _()
{a.classList.remove("in"),a.classList.add("out")}function k(n){if("true"!
==i.getAttribute("data-modal")&&f){i.removeAttribute("data-background-
close"),u.classList.remove("in"),u.classList.add("out"),_(),i.classList.remove("in"
),i.classList.add("out"),clearTimeout(e),e=setTimeout(E,200),(null==n?void
0:n.preventDefault)&&n.preventDefault();var r=i.querySelector(".js-
back");r&&r.classList.add("cloaked"),v.destroy(),t.events.fire(ec.cl,h),t.element.c
lassList.remove("player-overlayVisible"),f=!
1,h=null,d=null,window.requestAnimationFrame((function(){o&&(function(){var
t=arguments.length>0&&void 0!==arguments[0]?
arguments[0]:document.activeElement,n=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:null;try{t.focus()}catch(t){n&&n(t)}}(o),o=null)}))}}function E()
{i.setAttribute("hidden",""),i.removeAttribute("data-
name"),i.removeAttribute("data-
icon"),i.classList.add("hidden"),i.classList.remove("out"),i.classList.remove("embe
d-active"),i.classList.remove("modal"),i.classList.remove("embed-
only"),u.classList.remove("out"),u.classList.remove("in"),s.removeAttribute("data-
icon"),s.classList.add("hidden"),s.classList.remove("animate"),c.removeAttribute("d
ata-
icon"),c.innerHTML="",l.classList.add("hidden"),a.classList.remove("out"),a.innerHT
ML="",t.events.fire(ec.ll)}function T(){i.setAttribute("data-
modal","false")}function S(t){if("yes"===t.form.getAttribute("data-bubble"))
{t.form.setAttribute("data-bubble","no");var n=i.querySelector(".vp-validation-
bubble");n.querySelector(".vp-validation-bubble-
message").innerHTML=t.validationMessage||"There is an error with this input.";var
e=Es(t),r=Es(t.form);n.style.left=e.left-
r.left+"px",n.style.top=e.height+1+"px",n.classList.remove("hidden"),t.focus(),wind
ow.requestAnimationFrame((function(){n.classList.add("vp-validation-bubble-
animate")})),x()}}function x(t){var n=i.querySelector(".vp-validation-
bubble");if(n){if(t)return clearTimeout(r),void n.classList.remove("vp-validation-
bubble-animate");clearTimeout(r),r=setTimeout((function(){n.classList.remove("vp-
validation-bubble-animate")}),5e3)}}function A(t){var
n=i.querySelector("input[type=password]");return
n.form.classList.contains("submitted")?(n.setAttribute("aria-
invalid","false"),n.setCustomValidity(""),n.checkValidity&&!n.checkValidity()?
(n.setAttribute("aria-
invalid","true"),n.validity.valueMissing&&n.setCustomValidity("Please enter the
password."),t||S(n),!1):(x(!0),!0)):null}function M()
{C(),s.classList.remove("cloaked"),s.classList.add("animate"),window.requestAnimati
onFrame((function(){s.style[Wi.transformProperty]="translateY(-
10px)"})),T(),_()}function C(){l.classList.add("animate")}function R()
{c.classList.add("open")}function I(){c.classList.add("pulled-back")}function O(n)
{return n.icon={type:"lock",html:Ff.render("icon_lock")},n.qd=".js-login",n.modal=!
0,n.logo=!0,n.template=Ff.render("private_locked",
{action:"https://".concat(t.config.vimeo_url,"/log_in"),strings:{title:"Private
Video",subtitle:"Log in to watch (if you have permission)",logIn:"Log
in"}}),n}function j(n){return
n.icon={type:"lock",html:Ff.render("icon_lock")},n.template=Ff.render("password",
{action:"https://".concat(t.config.player_url,"/video/").concat(t.config.video.id,"
/check-password?referrer=").concat(t.config.request.referrer),strings:
{title:"Password Required",subtitle:"If you’ve got it, enter it
below.",password:"Password",watch:"Watch Video"}}),n.qd=".js-password",n.modal=!
0,n.logo=!!t.config.embed.settings.logo,n}function L(t){return
t.icon={type:"lock",html:Ff.render("icon_lock")},t.template=Ff.render("private_unlo
cked",{strings:{title:"Private Video",subtitle:"You are logged in and have
permission to watch (congrats).",watch:"Watch Video"}}),t.qd=".js-watch",t}function
D(t,n){return t.template=Ff.render("error",
{title:n.title,message:n.message,aria_label:"Error"}),t.qd=".js-close",t.modal=!!
n.modal,t.logo=!!
n.logo,n.icon&&"lock"===n.icon&&(t.icon={type:"lock",html:Ff.render("icon_lock")}),
t}function P(n){return n.template=Ff.render("help",
{onSite:t.config.embed.on_site,strings:{title:"Keyboard Shortcuts",volumeUp:"Volume
up",volumeDown:"Volume down",scrubForward:"Scrub forward",scrubBackwards:"Scrub
backwards",like:"Like",share:"Share",watchLater:"Watch Later",captions:"Toggle
Captions",prefs:"Toggle Preferences Menu",fullscreen:"Toggle
fullscreen",viewOnVimeo:"View on Vimeo"}}),n.qd=".js-close",n}function N(n){var
i,e,r=(null==(i=t.config.video.webinar)?void 0:i.scheduled_start_time)||null,o=r?
Jf(new Date(r)):"",u=null==(e=t.config.video.webinar)?void 0:e.custom_logo;return
n.template=Ff.render("webinar_confirmation",{customLogo:u?
iv(u):null,webinarStartTime:o,strings:
{thank_you:cv.login_thank_you,thank_you_subtitle:cv.login_thank_you_subtitle}}),n.m
odal=!0,n}function F(n){var i=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:
{},e=i.redirectUrl,r=i.title,o=i.buttonText,u=i.ignoreText,a=i.bottomText,s=i.newWi
ndow,c=js(t.config.video.privacy,["disable","unlisted"]);return
n.template=Ff.render("app_redirect",
{hideRedirectButton:c,redirectUrl:e,newWindow:s,strings:
{title:r,buttonText:o,ignoreText:u,bottomText:a}}),n.modal=!1,n.logo=!
1,n.preventBackgroundClose=!0,n}function V(){var
n=t.config.embed.email_capture_form||t.config.embed.email||{};if(t.backbone){var
i=n.timecode||0;m=t.backbone.currentTime>i}("before-
video"===n.position||"before"===n.position)&&!m&&B()}function B()
{n.get("ui.overlay.isEmailCaptureVisible")?t.events.fire(Gs._showOverlay,"email-
capture"):b=!0}return t.events.on(Gs._hideOverlay,(function(){var
t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t.name&&h!==t.name||
(t.unmakeModal&&T(),k())})),t.events.on(Gs._showOverlay,(function(n){var
i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},e=function(){var
t={modal:!1,template:null,logo:!1,icon:{type:null,html:null}};switch(n)
{case"share":return y(n,v.getShareData(t,i)),void v.setup();case"private-
locked":return void y(n,O(t));case"password":return void y(n,j(t));case"private-
unlocked":return void y(n,L(t));case"error":return void
y(n,D(t,i));case"help":return void y(n,P(t));case"email-capture":return void
y(n,p.getData(t,i));case"app-redirect":return void y(n,F(t,i));case"webinar-
confirmation":return void y(n,N(t))}};if(f&&!i.nohide)return"share"!==h&&"help"!
==h||h!==n?(t.events.once(ec.ll,e),T(),void k()):void
k();e()})),kl(i).on("input","input",(function()
{this.form.classList.add("interacted")})).on("transitionend",".vp-validation-
bubble",(function(t)
{"opacity"===t.propertyName&&"0"===window.getComputedStyle(this,"").opacity&&this.c
lassList.add("hidden")})),t.events.on([ec.fl,_i.PLAY],k),t.events.on(ec.Wl,
(function(){"private-locked"===h&&(T(),k())})),t.events.on(ec.Hl,(function()
{"share"===h&&(d=v.getShareData({modal:!1,template:null,logo:!1,icon:
{type:null,html:null}}),a.innerHTML=d.template,v.setup())})),kl(window).on("resize"
,(function(){if(f){l.style.bottom=w();var
t=g();s.style.top=t.top,s.style[Wi.transformProperty]=t.transform}})),kl(i).on("tra
nsitionend",".vp-overlay-logo",(function(t)
{"opacity"===t.propertyName&&this.classList.contains("animate")&&(l.classList.add("
hidden"),l.classList.remove("animate"))})),kl(i).on("transitionend",".vp-overlay-
icon-wrapper",(function(t){t.propertyName.indexOf("transform")>-
1&&(""===this.style[Wi.transformProperty]?
(this.classList.remove("centered"),"lock"!==this.getAttribute("data-icon")||
c.classList.contains("open")||c.querySelector("canvas")?
I():setTimeout(R,100)):"translateY(-
10px)"===this.style[Wi.transformProperty]&&(s.classList.add("centered"),s.style[Wi.
transformProperty]=""))})),kl(i).on("transitionend",".vp-overlay-icon",(function(t)
{t.propertyName.indexOf("transform")>-1&&(this.classList.contains("out")?
(T(),k()):this.classList.contains("pulled-back")?
(c.classList.add("out"),c.classList.remove("pulled-
back")):this.classList.contains("open")&&I())})),n.watch("ui.overlay.isEmailCapture
Visible",(function(n){!n&&f&&"email-capture"===h?(b=f,T(),k()):n&&b&&(b=!
1,t.events.fire(Gs._showOverlay,"email-
capture"))})),t.events.on(ec.ge,V),t.events.on(ec.Hl,V),t.events.on(_i.TIME_UPDATE,
(function(n){var i=n.currentTime,e=void 0===i?
0:i,r=t.config.embed.email_capture_form||t.config.embed.email||{};("during-
video"===r.position||"during"===r.position)&&(e=r.timecode&&!
m&&(m=!0,B()))})),t.events.on(ec.Al,(function(){B()})),p.events.on(ec.bf,
(function(){t.events.fire(ec.bf),T(),k()})),v.events.on(ec.kl,(function()
{t.config.embed.settings.share.embed_only||(i.querySelector(".js-
back").classList.remove("cloaked"),i.classList.add("embed-active"))})).on(ec._l,
(function(){i.classList.remove("embed-active")})),kd(i,".js-back",(function()
{return v.showShareView(),!1})),v.events.on(ec.El,(function(){i.querySelector(".js-
back").classList.add("cloaked")})),Wi.stereoscopic&&(t.events.on(ec.Sl,(function()
{t.events.fire(Gs._showOverlay,"app-redirect",{redirectUrl:t.doNotTrackEnabled?
t.config.video.share_url:ll(t.config.video.id,"player-spatial-
redirect"),title:"Headset viewing isn’t currently supported in your mobile
browser.",buttonText:"Watch in the Vimeo
app",ignoreText:null,bottomText:null,newWindow:!
t.config.embed.on_site})})),kl(a).on("click",".app-redirect-ignore",(function()
{k()})),kl(a).on("click","[data-new-window]",(function(t){return
window.open(document.querySelector(".app-redirect-button").getAttribute("href")),!
1}))),kl(a).on("click",".popup",(function(){return t.events.fire(Gs.Us,"login-
private-locked"),!1})),kl(a).on("click",".password input[type=submit]",(function()
{this.form.classList.add("submitted"),this.form.setAttribute("data-
bubble","yes"),A(!0)})).on("submit",".password form",(function(){return function(n)
{if(!A())return!1;var
e=n.querySelector("input[type=password]"),r=n.querySelector("input[type=submit]");f
unction o(t){r.classList.remove("loading"),e.setCustomValidity("Uh oh. There was a
problem. Please try again."),e.setAttribute("aria-
invalid","true"),S(e)}r.classList.add("loading"),function(t,n,e){Rs(i);var
r=U(t.querySelectorAll("input")).map((function(t){return t.name?
encodeURIComponent(t.name)+"="+encodeURIComponent(window.btoa(function(t){return
encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,(function(t,n){return
String.fromCharCode("0x"+n)}))}
(t.value))):encodeURIComponent(t.value)})).join("&"),o=new
XMLHttpRequest;o.open(t.method,t.action+window.location.search,!
0),o.setRequestHeader("Content-Type","application/x-www-form-
urlencoded"),o.withCredentials=!0,o.timeout=3e3,o.onload=function(){var
t;try{t=JSON.parse(o.responseText)}catch(t){}n(t,o)},o.onerror=function(t)
{e(t)},o.send(r)}(n,(function(n,i){if(!1!==n){if(t.events.fire(ec.ql,n),"icon-
hidden"===window.getComputedStyle(u,":after").content)return T(),void k();M()}else
o(i.status)}),o)}(this),!1})).on(["focus","input"],[".password
input[type=email]",".password input[type=password]"],(function()
{A()})),kd(a,".unlocked button",(function(){0===Es(c).width?
(C(),T(),k()):M(),Wi.iPad||Wi.iPhone||t.events.once(ec.ll,(function()
{t.events.fire(ec.Ac)}))})),function(){var n;t.events.on(ec.lc,(function(i){var
e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{modal:!0,final:!0};if(!1!
==e.final){n=i;var r={modal:!1,template:null,logo:!1,icon:
{type:null,html:null}};if(r.modal=e.modal,r.template=Ff.render("error",
{title:e.title,message:e.message}),r.qd=".js-close",f)return k(),void
t.events.once(ec.ll,(function(){return
y(i,r)}));y(i,r)}})),kl(a).on("click",".error",(function(i)
{t.events.fire(ec.cf,i.target.href,n)}))}(),t.events.on(ec.Hl,(function(){"email-
capture"===h&&n.get(Hl)||window.requestAnimationFrame((function()
{T(),k()}))})),kd(i,".js-close",(function()
{t.events.fire(ec.fl)})),kl(i).on(["click","touchend"],[".vp-overlay-content",".js-
share",".vp-overlay-logo"],(function(t)
{t.stopPropagation()})).on(["click","touchend"],[".vp-overlay-cell","nav"],
(function(){return"false"===i.getAttribute("data-background-close")||
(t.events.fire(ec.fl),!1)})),t.events.on(Gs.Qs,(function()
{i.classList.add("hidden")})),t.events.on(ec.Zl,(function()
{i.classList.contains("in")&&i.classList.remove("hidden")})),t.events.fire(ec.Ef),
{}}var hv=[".vp-title a"],dv=[".vp-title a:hover"],vv=["a",".button-link",".vp-
overlay-wrapper .footnote.share a:hover",".vp-title h1",".vp-title
span.user",".menu li:hover",".menu li.active",".vp-outro-link:hover",".vp-outro-
videosTitle a:hover","li.vp-panel-item:hover","li.vp-panel-item-on",".vp-share-
footnote a:hover",".card-link span",".vp-panel-collapsible .vp-panel-
button:hover"],pv=["a:hover",".button-link:hover"],mv=[".vp-overlay-wrapper
.close:hover .fill",".vp-overlay-wrapper .back:hover .fill",".stats-debug-
close:hover .fill",".stats-debug-copy:hover",".card-link:hover .fill"],bv=[".play-
bar .on .fill",".play-bar a:hover .fill",".play-bar button:not(.toggle):hover
.fill",".tiny-bars .fill",".vp-sidedock .on .fill",".controls-outro a:hover
.fill",".card-link .fill",".vp-panel-collapsible .vp-panel-button:hover
.fill"],wv=[".vp-controls .play-bar .vp-cast-button"],gv=[".vp-sidedock
.on:hover .fill"],yv=[".play-bar .on .stroke",".vp-sidedock .on .stroke"],_v=[".vp-
sidedock .on:hover .stroke"],kv=[".vp-sidedock button:hover",".vp-sidedock
button.selected","&.touch-support .vp-sidedock button:active",".vp-controls
.play:hover",".vp-controls .play-bar .played","&.no-playbar .play-bar
button:not(.toggle):hover",".vp-controls.tiny .play-bar
button:not(.toggle):hover",".vp-controls .volume div",".vp-overlay .buttons
li",".vp-overlay .vp-overlay-content button",'.vp-overlay .vp-overlay-content
input[type="submit"]','.vp-overlay .vp-overlay-content a[role="button"]',"li.vp-
panel-item-on:before",".vp-controls .replay:hover",".vp-share-buttons
li","button.vp-share-embedCopy",".vp-outro-button","a.vp-outro-vodButton",".vp-
email-capture-checkIconWrapper",".vp-email-capture-progress-meter",".chapter-
marker",".vp-chapters-active-indicator"],Ev=["li.vp-panel-item-
on:before"],Tv=[".vp-overlay .vp-overlay-content button",'.vp-overlay .vp-overlay-
content input[type="submit"]','.vp-overlay .vp-overlay-content
a[role="button"]',".vp-sidedock button:hover",".vp-sidedock button.selected",".vp-
sidedock button:hover .vod-label",".vp-sidedock button.selected .vod-
label",".play:hover",".vp-share-footnote--embed a",".vp-outro-button",".vp-outro-
button:hover",".vp-outro-wrapper .vp-outro-link:hover","button.vp-share-
embedCopy",".vp-outro-vodWrapper a.vp-outro-vodButton",".vp-outro-vodWrapper a.vp-
outro-vodButton:hover","li.vp-panel-item:hover","li.vp-panel-item-on",".vp-panel-
collapsible .vp-panel-button:hover","input.vp-email-capture-form-button--
next","input.vp-email-capture-form-button--submit"],Sv=[".vp-controls
.play:hover .fill",".vp-sidedock button:hover .fill",".vp-sidedock
button.selected .fill",".play-bar a:hover .fill",".play-bar
button:not(.toggle):hover .fill","&.no-playbar .play-bar
button:not(.toggle):hover .fill",".vp-controls.tiny .play-bar
button:not(.toggle):hover .fill",".vp-sidedock .on .fill",'.vp-share-wrapper
a[role="button"] .fill',".vp-outro-vodButton .fill",".vp-email-capture-
checkIconWrapper .fill",".vp-panel-collapsible .vp-panel-button:hover
.fill"],xv=[".vp-controls .play:hover .stroke",".vp-sidedock button:hover
.stroke",".vp-sidedock button.selected .stroke",".vp-sidedock .on
.stroke"],Av=["li.vp-panel-item-on:before"],Mv=["li.vp-panel-item-
on:before"],Cv=['.vp-overlay-wrapper .vp-overlay a[role="button"]',".vp-sidedock
button:hover",".vp-sidedock button.selected",".play:hover","button.vp-share-
embedCopy",".vp-outro-button",".vp-outro-button:hover",".vp-outro-vodWrapper a.vp-
outro-vodButton",".vp-outro-vodWrapper a.vp-outro-vodButton:hover","input.vp-email-
capture-form-button--next","input.vp-email-capture-form-button--submit"],Rv=[".vp-
controls .play:hover .fill",".vp-sidedock button:hover .fill",".vp-sidedock
button.selected .fill",".vp-controls .play-bar .fullscreen.tiny:hover .fill",".vp-
share-button .fill",".vp-outro-vodButton .fill"],Iv=[".vp-sidedock button:hover
.stroke",".vp-sidedock button.selected .stroke"],Ov=["li.vp-panel-item-
on:before",".vp-email-capture-form-fields-slider .vp-email-capture-form-custom-
field.focus"],jv=['.vp-overlay .vp-overlay-content
input[type="submit"]:active','.vp-overlay a[role="button"]:active',".vp-sidedock
button:active",".vp-outro-vodWrapper a.vp-outro-vodButton:active",".vp-email-
capture-form-button--next:hover",".vp-email-capture-form-button--next:focus",".vp-
email-capture-form-button--submit:hover",".vp-email-capture-form-button--
submit:focus"],Lv=[".vp-email-capture-form-button--next",".vp-email-capture-form-
button--submit"];function Dv(t,n){var
i=n.uuid,e=n.id,r=n.isMobileDevice,o=null;function u(t,n){var
o=".player-".concat(i," "),u=o+t.join(","+o);if(n){var a="".concat(e,"
");u+=",".concat(a).concat(t.join(","+a))}return
r&&(u=u.replace(/:hover/g,":active")),u.replace(/ &/g,"")}return t.events.on(Gs.Ws,
(function(n){var e;try{e=new Kh(n)}catch(t){e=new Kh("00adef")}var r=function(t){o?
function(){for(;o.cssRules.length>0;)o.deleteRule(0)}():function(){var
t=document.createElement("style");t.setAttribute("data-
player",i),document.querySelector("head").appendChild(t),o=t.sheet}();var
n=t.complement,e=new Kh(30,30,30,.9),r=new
Kh(0,0,0,.15).overlayOn(t);e.contrast(n).ratio<3&&n.lighten(5,3,e);var
a,s=t.lightness<40?t.clone().lighten(15,3,t):t.clone().darken(15,3,t);ys(u(hv,!
0),"color:"+t.hex+" !important",o),ys(u(dv,!0),"color:"+n.hex+"
!important",o),ys(u(Ov),"border-
color:"+r.hex,o),ys(u(vv),"color:"+t.hex,o),ys(u(bv),"fill:"+t.hex,o),ys(u(wv),"--
connected-color:"+t.hex,o),ys(u(yv),"stroke:"+t.hex,o),ys(u(kv),"background-
color:"+t.hex,o),ys(u(Ev),"border-
color:"+t.hex,o),ys(u(pv),"color:"+n.hex,o),ys(u(mv),"fill:"+n.hex,o),ys(u(gv),"fil
l:"+s.hex,o),ys(u(_v),"stroke:"+s.hex,o),ys(u(jv),"background-
color:"+r.hex,o),t.luminance>.95&&(n=t.clone().darken(15,3,t),ys(u(Tv),"color:"+n.h
ex,o),ys(u(Sv),"fill:"+n.hex,o),ys(u(xv),"stroke:"+n.hex,o),ys(u(Av),"background-
color:"+n.hex,o),ys(u(Mv),"border-
color:"+n.hex,o),s=n.clone().darken(15,3,n),ys(u(gv),"fill:"+s.hex,o),ys(u(_v),"str
oke:"+s.hex,o)),t.yiq>175&&t.luminance<.95&&(a=s.clone().darken(15,3,s),ys(u(gv),"f
ill:"+a.hex,o),ys(u(_v),"stroke:"+a.hex,o),ys(u(Cv),"color:"+s.hex,o),ys(u(Rv),"fil
l:"+s.hex,o),ys(u(Iv),"stroke:"+s.hex,o));var c=new Kh(t.hex);return
c.alpha=.8,ys(u(Lv),"background-color:"+c.rgba,o),
{main:t.hex,selected:s.hex,sidedockHover:a?s.hex:t.luminance>.95?
n.hex:Kh.white.hex,sidedockSelected:t.luminance>.95?
n.hex:t.hex,sidedockSelectedHover:a?a.hex:s.hex}}
(e);t.config.Wd=r,t.config.embed.color=r.main.replace("#",""),t.events.fire(ec.Bl,t
.config.embed.color)})),t.events.fire(Gs.Ws,t.config.embed.color),{}}function Pv(t)
{var n=null;return t.events.on(Gs.Us,(function(i,e){var
r="https://".concat(t.config.player_url),o="".concat(r,"/video/").concat(t.config.v
ideo.id);switch(i){case"login-like":n=As("".concat(o,"/login/like"),"login",
{width:670,height:545}),t.events.fire(ec.bl,i);break;case"login-watch-
later":n=As("".concat(o,"/login/watch-later"),"login",
{width:670,height:545}),t.events.fire(ec.bl,i);break;case"login-private-
locked":n=As("".concat(o,"/login/private"),"login",
{width:670,height:545}),t.events.fire(ec.bl,i);break;case"purchase":var
u="".concat(r,"/video/").concat(t.config.video.vod.feature_id||
t.config.video.id,"/purchase/vod");(null==e?void
0:e.productId)&&(u+="/".concat(e.productId)),u+="?
referrer=".concat(encodeURIComponent(t.config.request.referrer)),n=As(u,"purchase",
{width:790,height:670}),t.events.fire(ec.bl,i)}})),window.closePopup=function(i)
{if(n){try{n.close(),t.events.fire(ec.yl,i)}catch(t)
{}n=null}},t.config.embed.on_site||(window.confirmPurchase=function(n,i,e){i?
t.loadVideo(n):e&&t.events.fire(ec.Ac)}),t.config.embed.on_site||
(window.confirmLoginAction=function(n,i){t.events.fire(ec.Nl,i)}),{}}function
Nv(t,n,i,e){var r=e[n];return r?
(r=Fv(r=Vv(t,r),i,e.prices),e.expires_in_duration_str&&(r=r.replace("{TIME}",e.expi
res_in_duration_str)),e.available_on_formatted&&(r=r.replace("{DATE}",e.available_o
n_formatted)),r):null}function Fv(t,n,i){var e=i.USD;return n in i&&(e=i[n]),-1!
==t.indexOf("${price}")?t.replace("${price}",e):-1!==t.indexOf("{PRICE}")?
t.replace("{PRICE}",e):t}function Uv(t,n){return!t||0===t.length||-1!
==t.indexOf(n)}function Vv(t,n){return void 0!==t&&void 0!==t[n]?t[n]:n}var
Bv=Object.freeze({__proto__:null,formatVodLabel:Nv,getDisplayPrice:Fv,isAvailableIn
Country:Uv,translateFromRequest:Vv});function Hv(t,n){var i,e,r,o,u,a,s,c,l,f=!
1,h=!1,d=!1,v=!1,p=!1,m=!1,b=!1,w=!1,g=[],y=[],_=null,k=!1,E=!
1,T=null,S=t.config.embed.autoplay&&t.config.request.flags.autohide_controls;functi
on x(){return v||b||w}function A(){f&&(E||(h&&k||x()||S)&&(d||(!p&&!m||x())&&(f=!
1,t.events.fire(ec.Vc,f),(T||n).classList.add("invisible"))))}function M(){if(!f&&!
x()){var i=T||
n;i.classList.add("invisible"),i.classList.remove("hidden"),i.removeAttribute("hidd
en"),n.classList.remove("hidden"),n.removeAttribute("hidden"),n.classList.contains(
"vod")&&n.classList.remove("vod"),setTimeout((function(){f=!
0,t.events.fire(ec.Vc,f),i.classList.remove("invisible")}),0)}}function C(n,i,e)
{var r="data-label-"+e,o="add"!==e||t.config.user.logged_in?r:"data-label-add-
logged-out";n.setAttribute("aria-
label",n.getAttribute(o)),i.classList.add("hidden"),i.setAttribute("hidden",""),i.f
irstChild.innerHTML=n.getAttribute(r)}function R(){var t="BUTTON"===this.tagName?
this:this.querySelector("button"),n=g.indexOf(t);n>=0&&y[n]&&(_&&(window.cancelAnim
ationFrame(_),_=null),y[n].classList.add("invisible"))}function I(){if(i){var
t=i.parentElement;T.insertBefore(t,T.firstChild)}}function O(){var
h;if(1===t.config.view||3===t.config.view||12===t.config.view){var
d=t.config.embed.settings,v=t.config.video.vod&&"purchase_options"in
t.config.video.vod&&t.config.video.vod.purchase_options.length,p=v&&t.config.video.
vod.is_coming_soon,m="ondemand.main"===t.config.embed.context||"Vimeo\\Controller\\
OnDemandController.main"===t.config.embed.context,b=t.config.video.vod&&t.config.us
er.purchased?
1:0,w=v&&d.vod&&Uv(t.config.video.vod.countries,t.config.request.country);w&&p&&m&&
(w=!1);var
_=v&&t.config.video.vod.purchase_options[0],k=null;_&&(k=Nv(t.config.request.dynami
c_translation_map,"label_string",t.config.request.currency,_)),n.innerHTML=Ff.rende
r("sidedock",{loggedIn:!!
t.config.user.logged_in,vodButton:w,purchased:b,vodPurchaseInfo:_,vodDisplayLabel:k
,likeButton:d.like,liked:t.config.user.liked,watchLaterButton:d.watch_later,addedTo
WatchLater:t.config.user.watch_later,collectionsButton:d.collections,shareButton:d.
share,strings:{like:"Like",likeLoggedOut:"Like (this opens in a new
window)",unlike:"Unlike",watchLaterAdd:"Add to Watch
Later",watchLaterAddLoggedOut:"Add to Watch Later (this opens in a new
window)",watchLaterRemove:"Remove from Watch Later",collections:"Add to
collections",share:(null==(h=d.share)?void
0:h.embed_only)?"Embed":"Share"}}),i=n.querySelector(".vod-
button"),w&&(T=n.querySelector(".sidedock-inner"),b&&I());var E=T||n;v&&w&&!
t.config.embed.settings.instant_sidedock?n.classList.add("vod"):Wi.touch&&(f=!
0,t.events.fire(ec.Vc,f),E.classList.remove("hidden"),E.removeAttribute("hidden"),E
.classList.remove("invisible")),e=n.querySelector(".like-
button"),r=n.querySelector(".like-label"),o=n.querySelector(".watch-later-
button"),u=n.querySelector(".watch-later-label"),a=n.querySelector(".collections-
button"),s=n.querySelector(".collections-label"),c=n.querySelector(".share-
button"),l=n.querySelector(".share-label"),g=[i,e,o,c,a],y=[null,r,u,l,s]}}return
O(),function(){var
n=t.config.embed.settings.instant_sidedock,i=t.config.video.vod,e=i&&"purchase_opti
ons"in
i&&i.purchase_options.length,r=i&&Uv(t.config.video.vod.countries,t.config.request.
country);(n||e&&r)&&(S||M())}(),kd(n,".vod-button",(function(){var
n=i.getAttribute("data-product-id");t.events.fire(ec.ol,n)}),R),t.events.on(ec.Xl,
(function(){I(),n.classList.add("sidedock-
outro"),"share"===t.config.embed.outro&&(t.config.embed.settings.share=0,O())})),t.
events.on(ec.Zl,(function(){!function(){if(i){var
t=i.parentElement;n.insertBefore(t,T)}}(),n.classList.remove("sidedock-
outro"),"share"===t.config.embed.outro&&(t.config.embed.settings.share=1,O())})),kd
(n,".like-button",(function(){t.events.fire(ec.nl)}),R),t.events.on(ec.jl,
(function(){e&&(e.classList.add("on"),C(e,r,"remove"))})),t.events.on(ec.Ll,
(function(){e&&(e.classList.remove("on"),C(e,r,"add"))})),kd(n,".watch-later-
button",(function(){t.events.fire(ec.il)}),R),t.events.on(ec.Dl,(function()
{o&&(o.classList.add("on"),C(o,u,"remove"))})),t.events.on(ec.Pl,(function()
{o&&(o.classList.remove("on"),C(o,u,"add"))})),kd(n,".collections-button",
(function(){t.events.fire(ec.ul)}),R),kd(n,".share-button",(function(){return
t.events.fire(t.config.embed.settings.share.embed_only?ec.rl:ec.el),!
1}),R),kl(n).on("blur","button",R).on("mouseleave",".box",R).on(["focus","pointerdo
wn","touchstart","mouseenter"],"button",(function(){var
t=g.indexOf(this);y.forEach((function(n,i){i!
==t&&n&&n.classList.add("invisible")})),t>=0&&y[t]&&(y[t].classList.add("invisible"
),y[t].classList.remove("hidden"),y[t].removeAttribute("hidden",""),_=window.reques
tAnimationFrame((function(){_=window.requestAnimationFrame((function()
{y[t].classList.remove("invisible"),y[t].classList.add("visible")}))})))})).on("tra
nsitionend","label",(function(t)
{"opacity"===t.propertyName&&t.target.classList.contains("invisible")&&(t.target.cl
assList.add("hidden"),t.target.setAttribute("hidden",""),t.target.classList.remove(
"visible"))})),kd(n,"label",(function(){var
t=y.indexOf(this);t>=0&&g[t].click()})),t.events.on([ec.Rl,ec.Ol,ec.Ec],A).on(ec.Il
,M).on(ec.wc,(function(){k=!0,A()})).on(_i.PLAY,(function(){h=!
0})),kl(n).on(["pointerenter","pointerleave","mouseenter","mouseleave"],
(function(t){"pointerType"in t?"mouse"!==t.pointerType&&t.pointerType!
==t.MSPOINTER_TYPE_MOUSE||
(d="pointerenter"===t.type||"MSPointerEnter"===t.type):d="mouseover"===t.type})),kl
(n).on("transitionend",(function(t){var e=T||
n;"opacity"===t.propertyName&&e.classList.contains("invisible")&&(e.classList.add("
hidden"),e.setAttribute("hidden",""),i&&e.contains(i)&&(n.classList.add("hidden"),n
.setAttribute("hidden","")))})),t.events.on(ec.Xc,(function(){d=!1,A()})).on(ec.tl,
(function(t){t||(E=!0)})),t.events.on([ec.If],(function(){p=!0,M()})).on([ec.Of],
(function(){p=!1})),t.events.on(nu,(function(){m=!0,M()})).on(iu,(function(){m=!
1})),t.events.on(ec.sl,(function(){v=!0,d=!1,A()})).on(ec.cl,(function(){v=!
1,M()})),t.events.on(ec.Mf,(function(t){b=t,t&&A()})),t.events.on([ec.Yc,ec.Bc],
(function(t,n){n.isCentered()&&n.isVisible()&&(w=!0,d=!
1,A()),n.isCentered()&&n.isVisible()||(w=!1,M())})),t.events.on(ec.Hl,(function()
{O()})),t.events.on(Gs.Vs,(function(){d=!1,k=!1,A(),h=!1,d=!1,E=!
1})),t.events.fire(ec.yf),{}}function qv(t,n){var i=!0,e=!1,r=!1,o=!1,u=!1,a=!1,s=!
1,c=!0,l=!1,f=!1,h=!1;function d(){i=!1,n.classList.add("invisible")}function v()
{n.classList.remove("hidden"),n.removeAttribute("hidden"),setTimeout((function()
{i=!0,n.classList.remove("invisible")}),0)}function p(){return r||o||u}function m()
{i&&(p()||l?d():a||s&&(c&&e||d()))}function b(){var n;i||(!a||p()?c&&!f&&(l||(s||
p()?(null==(n=t.config.embed)?void 0:n.settings.info_on_pause)&&c&&!
p()&&v():v())):v())}function w(){if(1===t.config.view||3===t.config.view||
12===t.config.view){var i=!!t.config.embed.settings.byline,e=null!
==t.config.video.owner.url,r=t.config.video.owner.url,o=0===t.conf
ig.embed.on_site,u=t.config.embed.settings.spatial_label,a=t.config.request.file_co
decs||t.config.video.file_codecs,s=void 0!
==a,c={ClickTargets:Ws,linkToOwner:e,ownerLink:r,targetBlank:o,showPortrait:!!
t.config.embed.settings.portrait,portraitImg:t.config.video.owner[Wi.devicePixelRat
io>1?"img_2x":"img"],showByline:i,portraitAlt:"Link to video owner's
profile",showTitle:!!t.config.embed.settings.title,showTitleLink:null!
==t.config.video.url,titleLink:t.config.video.url,title:t.config.video.title,is360:
t.config.video.spatial&&u,hasHDR:s&&a.hevc.hdr.length>0,strings:
{}};if(t.config.embed.settings.byline){var
l=t.config.embed.settings.byline_badge,f="";(null==l?void
0:l.type)&&(f=Ff.render("title_byline_badge",
{targetBlank:o,cssClass:l.type,link:l.url||!1,displayBadge:!
t.config.video.live_event})),c.strings.byline="from
"+Ff.render("title_owner_byline",
{ClickTargets:Ws,linkToOwner:e,ownerLink:r,targetBlank:o,owner:t.config.video.owner
.name})+f}t.config.embed.settings.badge&&(c.showPortrait=!
1),t.config.embed.autoplay&&(n.classList.add("hidden"),n.setAttribute("hidden",""))
,n.innerHTML=Ff.render("title",c)}}return
w(),t.events.on([ec.Rl,ec.Ol],m).on(ec.Il,b).on(Ko,(function(){s=!0,c=!
1,m()})).on([ec.Ac,_i.PLAY],(function(){c=!1,f=!1,m()})).on(ec.nr,(function(t,n)
{n||(c=!0,b())})).on(ec.pc,(function(){l=!0,m()})).on(ec.Dc,(function(){h=c,f=!
0})).on(ec.Pc,(function(){h&&(f=!1)})).on(ec.Xc,(function(){m()})).on(ec.tl,
(function(t){t||
b()})),kl(n).on(["pointerenter","pointerleave","mouseenter","mouseleave"],
(function(t){"pointerType"in t?"mouse"!==t.pointerType&&t.pointerType!
==t.MSPOINTER_TYPE_MOUSE||
(e="pointerenter"===t.type||"MSPointerEnter"===t.type):e="mouseover"===t.type})),kl
(n).on("transitionend",(function(t)
{"opacity"===t.propertyName&&n.classList.contains("invisible")&&(n.classList.add("h
idden"),n.setAttribute("hidden",""))}),!1),t.events.on(ec.pc,(function(t)
{m()})),t.events.on([ec.If],(function(){a=!0,b()})).on([ec.Of],(function(){a=!
1,m()})),t.events.on(ec.sl,(function(t){"not-supported"!==t&&"private-unlocked"!
==t&&"help"!==t&&(r=!0,e=!1,m())})).on(ec.cl,(function(){r=!1,e=!
1,setTimeout(b,0)})),t.events.on(ec.Xl,(function(t){o=!0,e=!1,m()})).on(ec.Zl,
(function(){o=!1,e=!1,setTimeout(b,0)})),t.events.on([ec.Yc,ec.Bc],(function(t,n)
{n.isCentered()&&n.isVisible()&&(u=!0,e=!1,m()),n.isCentered()&&n.isVisible()||(u=!
1,e=!1,b())})),t.events.on(ec.Hl,(function()
{w(),3===t.config.view&&b()})),t.events.on(Gs.Vs,(function(){s=!1,c=!0,l=!1,f=!
1,b()})),t.events.fire(ec.gf),{}}function Wv(t,n){function i()
{n.classList.remove("hidden"),n.removeAttribute("hidden"),n.classList.remove("invis
ible")}function e(){kl(n).on("transitionend",(function()
{kl(n).off("transitionend"),n.classList.contains("invisible")&&(n.classList.add("hi
dden"),n.setAttribute("hidden",""))})),n.classList.add("invisible")}return
function(){var r=t.config.embed.settings.badge;if(r){var
o=Wi.devicePixelRatio>1?"img_2x":"img";Wi.svg&&r.svg&&(o="svg"),n.innerHTML=Ff.rend
er("badge",{showPortrait:!1,targetBlank:0===t.config.embed.on_site,badge:
{link:r.link,img:r[o],margin:r.margin||!
1,width:r.width,height:r.height,name:r.name,shadow:r.shadow||!1}}),kd(n,".vp-
badge",(function(){t.events.fire(ec.Jc,r.id)})),t.config.embed.autoplay?
e():i()}else e()}(),{show:i,hide:e}}function zv(t,n){var i=t.events;function e(t)
{t.preventDefault(),i.fire(Gs.Ns,!1)}function r()
{n.classList.add("invisible"),n.classList.remove("hidden"),n.removeAttribute("hidde
n"),setTimeout((function()
{n.classList.remove("invisible")}),0),i.once(ec.mc,o)}function o(t){t>0&&!
n.classList.contains("invisible")&&u()}function u()
{kl(n).on("transitionend",a),n.classList.add("invisible")}function a()
{kl(n).off("transitionend",a),n.classList.add("hidden"),n.setAttribute("hidden","")
}return function(){var t={title:Wi.touch?"Tap to Unmute":"Click to
Unmute"};n.innerHTML=Ff.render("unmute_button",t),kd(n,e),kd(n,".vp-unmute-
button",e),i.once(ec.$c,r),i.on(au.EVENT_ENDED,u)}(),{}}function Gv(t,n){var
i=null,e=!1;function r(){var r=n.querySelector(".vp-badge");if(i=new
Wv(t,r),r.innerHTML)return 16===t.config.embed.settings.badge.id?(i.show(),void
t.events.on(ec.Uc,(function(t){t?i.show():i.hide()}))):void
t.events.on([ec.Ac,_i.PLAY],(function(){e&&i.hide()})).on(Ko,(function(){e=!
0,i.hide()})).on(ec.pc,i.hide).on(ec.sl,(function(t){"not-supported"!==t&&"private-
unlocked"!==t&&"help"!==t&&i.hide()})).on(ec.cl,(function(){e||
i.show()}))}r(),function(){var i=n.querySelector(".vp-unmute");new zv(t,i)}
(),t.events.on(ec.Hl,(function(){r()})),t.events.on(Gs.Vs,(function(){e=!
1,r()}))}var Kv=function(){function t(t){var n=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:
{},i=6,e=76,r=parseInt(e*Wi.devicePixelRatio,10),o=parseFloat(n.timecode);if(isNaN(
o))throw new TypeError("Time must be a number.");if(o<0)throw new TypeError("Time
must be a positive
number.");this.time=o,this.data=n,this.id=n.id,this.displayTime=n.display_time||
i,n.url&&(this.data.url=Pd(n.url)),n.image_url&&(n.image=jc({width:r,height:r,baseU
rl:Pd(n.image_url),crop:!0})),this.renderTemplate()}var n=t.prototype;return
n.renderTemplate=function(){var
t=this,n=document.createElement("div");n.innerHTML=Ff.render("card",this.data),this
.element=n.children[0],this.data.image&&Lc(this.data.image).catch((function(n)
{t.element.querySelector(".js-
cardImageWrap").style.display="none"}))},n.isActive=function(t){return
t>=this.time&&t0&&void 0!==arguments[0]?arguments[0]:function(t,n){return
tn?this.Jd(t,n,i,r-1):t[r]0&&t.apply(void 0,arguments)}};function c()
{v(),u.forEach((function(t,n){t.element.parentNode.removeChild(t.element)})),u=new
Yv,Array.isArray(t.config.embed.cards)&&t.config.embed.cards.length&&(t.config.vide
o.title&&t.config.embed.settings.title&&l(-1,{className:"card--
contentInfo",timecode:0,headline:t.config.video.title,teaser:t.config.embed.setting
s.byline?
t.config.video.owner.name:"",image:t.config.video.owner[Wi.devicePixelRatio>1?"img_
2x":"img"],id:"title-card"}),t.config.embed.cards.forEach((function(t)
{l(t.timecode,t)})))}function l(i,e){var r=u.get(i),a=new
Kv(t,e);if(u.set(i,a),r)return o.replaceChild(a.element,r.element),a;var
s=u.keys().indexOf(i);return
o.insertBefore(a.element,o.children[s]),n.dispatch(function(t)
{return{type:"CARDS_SET_SIZE",payload:t}}(u.size)),a}function f(n)
{t.element.classList.toggle("player-
cardsCarousel",n),t.element.classList.toggle("player-cardsCorner",!
n),e.destroy(),n&&e.setUp()}function h(n,i){n&&(i?n.element.classList.add("card-
animating"):n.element.classList.remove("card-
animating"),n.element.classList.add("card-
active"),kl(n.element.childNodes[1]).on("mouseover",(function(){a=!
0})),kl(n.element.childNodes[1]).on("mouseout",(function(){a=!
1})),e.show(n.element),t.events.fire(ec.vf,n.id,n.data))}function d(t){a||
t.classList.remove("card-active")}function v(){U(i.querySelectorAll(".card-
active")).forEach(d)}return e=new Md(o),n.watch("ui.cards.size",(function(n)
{t.element.classList.toggle("player-
withCards",n>0)})),n.watch("ui.cards.isCarouselVisible",f),n.watch("ui.cards.isCard
sThumbVisible",(function(t){i.classList.toggle("cards-wrapper--
withThumbnails",t)})),f(n.get("ui.cards.isCarouselVisible")),t.events.on(ec.Hl,c),t
.events.on(Gs._addCard,(function(t){var
n=l(t.timecode,t);v(),h(n)})),t.events.on(Gs._removeCard,(function(t){v();var
n=u.get(t.timecode).element;n.parentNode.removeChild(n),u.delete(t.timecode)})),e.o
n("slide",s((function(n){var i=u.values()[n];"title-card"!
==i.id&&t.events.fire(ec.vf,i.id,i.data),t.events.fire(Gs.uc,i.time)}))),e.on("tap"
,s((function(n){var i=u.values()[n];i.data.url&&"title-card"!
==i.id&&(t.events.fire(ec.pf,i.id,i.data),t.backbone.paused||
t.events.fire(ec.xc),window.open(i.data.url))}))),t.events.on(_i.TIME_UPDATE,s((fun
ction(t){var i=function(t){var i=u.values().filter((function(n){return
n.isActive(t)})).slice(-1)[0];if(i)return i;if(n.get("ui.cards.isCarouselVisible"))
{var e=u.values().slice(-1)[0];if(e&&t>e.end)return e}return null}
(t.currentTime);i!==r&&(!i&&a||(a=!1,v(),(r=i)&&"title-card"===r.id?
n.get("ui.cards.isCarouselVisible")&&h(r,!0):h(r,!
0)))}))),t.events.on(ec.pc,s(v)),kd(document,".player-cardsCorner
.card",s((function(n){n.preventDefault();var i=Ds(n.target,o.children),e=u.values()
[i];e.data.url&&"title-card"!
==e.id&&(t.events.fire(ec.pf,e.id,e.data),t.backbone.paused||
t.events.fire(ec.xc),window.open(e.data.url))}))),c(),{}}var
$v={16:"shift",27:"esc",32:"space",37:"left",38:"up",39:"right",40:"down"};function
Xv(t,n,i){var e,r=!!t.config.embed.on_site,o=i.querySelector(".volume"),u=!
1,a=null,s=t.config.video.fps/5,c=Math.max(s,.618*t.config.video.duration),l=s,f=0,
h=!1,d=$f(g,80);function v(){return!r&&(1===t.config.view||3===t.config.view||
12===t.config.view)}function p(){u&&"help"===e&&t.events.fire(ec.fl)}function
m(t){return"number"!=typeof t.which&&(t.which=t.keyCode),t}function b(t)
{if("keypress"===t.type){var n=String.fromCharCode(t.which);return t.shiftKey||
(n=n.toLowerCase()),n}return t.which in $v?
$v[t.which]:String.fromCharCode(t.which).toLowerCase()}function w(n)
{if(t.config.embed.settings.background)return!0;var i=n.target||
n.srcElement;return"INPUT"===i.tagName||"SELECT"===i.tagName||"TEXTAREA"===i.tagNam
e||i.isContentEditable}function g(i,e){if(!n.get(Kc)){h||(e&&!
t.backbone.paused&&t.events.fire(ec.xc),t.events.fire(ec.Dc,!0,"keyboard"),h=!0),!
function(t){var n=t,i=Math.ceil(s),e=Math.ceil(c-s);l=function(t,n,i,e){return
t/=100,i*(--t*t*t+1)+n}(n,i,e)}(f),1==++f&&(l=5*t.config.video.fps);var r=e?
1:l,o="right"===i?r:-r;!function(n){var
i=n/t.config.video.fps;t.events.fire(Gs.Ds,null,i)}
(Math["right"===i?"ceil":"floor"](t.currentTime*t.config.video.fps)+o)}}function
y(t){var n=a.getTabindexItems(),i=n.indexOf(document.activeElement),e="up"===t?i-
1:i+1,r=null;return!(r=e>=n.length?n[0]:e<0?n[n.length-1]:n[e])||(r.focus(),!
1)}function _(){if(a)return!0;if(n.get(Kc)&&!n.get(Qc))return!0;if(!
document.activeElement||document.activeElement===document.body){var
i=t.backbone.paused?ec.Ac:ec.xc;return t.events.fire(i),p(),!1}}function k(){return
a?(a.element.contains(document.activeElement)&&a.button.focus(),a.hide(),!1):u?
(t.events.fire(ec.fl),!1):void 0}function E(){return a?!
a.element.contains(document.activeElement)||
y("up"):Wi.spatialPlayback&&t.config.video.spatial?
(t.backbone.getEffectByName("ThreeSixtyEffect").keyPress("up"),!1):!(!
t.config.embed.on_site||!document.activeElement||
i.contains(document.activeElement))||(p(),t.events.fire(Gs.Ps,.05,!1,!0),!
1)}function T(){return a?!a.element.contains(document.activeElement)||
y("down"):Wi.spatialPlayback&&t.config.video.spatial?
(t.backbone.getEffectByName("ThreeSixtyEffect").keyPress("down"),!1):!(!
t.config.embed.on_site||!document.activeElement||
i.contains(document.activeElement))||(p(),t.events.fire(Gs.Ps,-.05,!1,!0),!
1)}function S(n,i){if(a)return!a.element.contains(document.activeElement)||
y("left"===i?"up":"down");if(p(),Wi.spatialPlayback&&t.config.video.spatial)return
t.backbone.getEffectByName("ThreeSixtyEffect").keyPress(i),!
1;if(document.activeElement&&document.activeElement===o){var
e="left"===i?-.05:.05;return t.events.fire(Gs.Ps,e,!1,!0),!1}n.shiftKey||0===f?
g(i,n.shiftKey):d(i,n.shiftKey)}return t.events.on(ec.sl,(function(t){u=!
0,e=t,"not-supported"!==t&&"email-capture"!==t||(r=!0)})),t.events.on(ec.cl,
(function(){u=!1,e=null})),t.events.on(ec.Bc,(function(t,n){t||a!==n?
t&&(a=n):a=null})),t.events.on(ec.Hl,(function(t){t&&(r=!1)})),function(){var
i={l:ec.nl,w:ec.il,s:ec.el,c:[ec.Cc,!0],h:[ec.Mc,!
0],f:ec.Sc,d:ec.wl,space:_,up:E,down:T,left:S,right:S,esc:k,"?":
[Gs._showOverlay,"help"]};function r(n){if(m(n),function(t){return!(t.ctrlKey||
t.metaKey||t.altKey)&&(t.which in $v?"keydown"===t.type:"keypress"===t.type)}(n)&&!
w(n)&&v()){var r=b(n);if(r in i){if("function"==typeof i[r])return void(!1===i[r]
(n,r)&&(n.preventDefault(),n.stopPropagation()));!1===function(n)
{if(n=Array.isArray(n)?n:[n],u&&"help"===e)
{if(t.events.fire(ec.fl),n[0]===Gs._showOverlay&&"help"===n[1])return!1;if(n[0]!
==Gs.qs)return setTimeout((function(){t.events.fire.apply(null,n)}),250),!1}return
t.events.fire.apply(null,n),!1}
(i[r])&&(n.preventDefault(),n.stopPropagation())}}}t.config.embed.on_site||
(i.v=Gs.qs),document.addEventListener("keydown",r,!
1),document.addEventListener("keypress",r,!1),document.addEventListener("keyup",
(function(i){if(m(i),!w(i)&&v()){var e=b(i);!Wi.spatialPlayback||!
t.config.video.spatial||"left"!==e&&"right"!==e&&"up"!==e&&"down"!==e?
n.get(Kc)||"left"!==e&&"right"!==e||function(n){l=s,f=0;var
i=n.shiftKey;t.events.fire(ec.Pc,i),h=!1}
(i):t.backbone.getEffectByName("ThreeSixtyEffect").keyUp(e)}}),!1)}
(),t.events.on(ec.tf,(function(){r=!1})).on(ec.nf,(function(){r=!
0})),t.config.embed.on_site&&document.querySelector(".player")===i&&(r=!
1),function(){var t,n=!1;document.body.addEventListener("keyup",(function(t){9!
==t.which||document.body.classList.contains("showfocus")||
document.body.classList.add("showfocus")})),document.body.addEventListener("keydown
",(function(i){32!==i.which&&13!==i.which||(n=!
0,clearTimeout(t),t=setTimeout((function(){n=!
1}),200))})),document.body.addEventListener("click",(function(t){n||
document.body.classList.remove("showfocus")}))}(),{pause:function(){r=!
0},unpause:function(){r=!1}}}var Zv=function(){function t(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:
{},i=n.displayTimeout,e=void 0===i?0:i,r=n.label,o=void
0===r?"Alert":r;rt(this),this.$d=t,this.Xd=!
1,this.Zd=null,this.Qd=null,this.tv=o;var u=Math.round(e/1e3);0!
==u&&(this.tv="".concat(o," Will be dismissed in ").concat(u,"
seconds")),this.nv=null,this.iv=e,this.ev(),this.Rn()}var n=t.prototype;return
n.show=function(t){var n=this,i=arguments.length>1&&void 0!==arguments[1]?
arguments[1]:this.iv;if(!0!==this.Xd)
{clearTimeout(this.nv),this.Qd.classList.remove("hidden"),this.Qd.removeAttribute("
hidden"),window.requestAnimationFrame((function(){n.Qd.classList.add("in")}));var
e=this.Qd.querySelector("[data-alert-autofocus]")||this.Qd;e.focus(),this.Xd=!
0,this.fire("show",t),0!==i&&(this.nv=setTimeout((function()
{n.hide("timeout")}),i))}},n.hide=function(t){var n=this;!1!
==this.Xd&&(clearTimeout(this.nv),this.Qd.classList.add("leaving"),window.requestAn
imationFrame((function(){var t=n;n.rv(),kl(n.Qd).on("transitionend",(function n(i)
{"opacity"===i.propertyName&&(t.Qd.classList.remove("leaving"),t.Qd.classList.add("
hidden"),t.Qd.setAttribute("hidden",""),kl(t.Qd).off("transitionend",n))}))})),this
.Xd=!1,this.fire("hide",t))},n.rv=function()
{this.Qd.classList.remove("in")},n.ev=function(){this.Qd||
(this.Qd=document.createElement("div"),this.Qd.classList.add("vp-
alert"),this.Qd.setAttribute("role","alertdialog"),this.Qd.setAttribute("aria-
atomic","true"),this.Qd.classList.add("hidden"),this.Qd.setAttribute("hidden",""),t
his.$d.appendChild(this.Qd),this.rv()),this.Zd instanceof HTMLElement?
(this.Qd.innerHTML="",this.Qd.appendChild(this.Zd)):
(this.Qd.textContent=this.Zd,this.Qd.innerHTML=this.Zd);var
t=document.createElement("button");t.setAttribute("data-
close",""),t.setAttribute("aria-label","Close
alert"),t.classList.add("close"),t.innerHTML=Ff.render("icon_close"),this.Qd.append
Child(t)},n.Rn=function(){var t=this;kl(this.Qd).on("click","[data-close]",
(function(n){t.hide(n)}))},H(t,[{key:"visible",get:function(){return this.Xd}},
{key:"message",get:function(){return this.Zd},set:function(t){t instanceof
HTMLElement&&this.Zd&&t.textContent===this.Zd.textContent||t!
==this.Zd&&(this.Zd=t,this.ev())}}]),t}(),Qv=function(){function t(t,n,i)
{this.player=t,this.backbone=n,this.isBufferingTooLong=!
1,this.isBufferingTooFrequent=!1,this.autoAlertWasDismissed=!1,this.bufferCount=-
1,this.badPlaybackTimer=null,this.ov(i),this.Rh()}var n=t.prototype;return
n.handleBufferStarted=function()
{this.bufferCount+=1,this.av()},n.handleBufferEnded=function()
{clearTimeout(this.badPlaybackTimer),this.badPlaybackTimer=null,this.isBufferingToo
Long=!1},n.Rh=function(){var t=this;this.player.events.on(ec.Cl,(function()
{t.sv()})),this.player.events.on(qs.Os,(function(n)
{t.cv(n)})),this.player.events.on(qs.Ls,(function(n)
{t.lv(n)})),this.player.events.on(qs.Is,this.handleBufferStarted.bind(this)),this.p
layer.events.on(Ti.BUFFER_ENDED,this.handleBufferEnded.bind(this)),this.player.even
ts.on(qs.Rs,(function(){t.autoAlertWasDismissed||
(t.showAlert("stream_studder"),xc.captureBreadcrumb("Alert shown",
{message:"stream_studder"},"video"))})),this.player.events.on(ec.bc,(function(n)
{"auto"===n&&t.alertUI.hide("qualitymenuauto")}))},n.cv=function(t){t||
this.showAlert("warning_alert",{strings:{text:'See a list of browsers
that support 360 viewing.'}})},n.sv=function(){this.showAlert("notice",{strings:
{text:"Debug Payload Copied"}},5e3)},n.lv=function(t){t||
this.showAlert("warning_alert",{strings:{text:'Looking to watch a 360 video? See supported browsers and
settings.'}})},n.showAlert=function(t){var n=arguments.length>1&&void 0!
==arguments[1]?arguments[1]:null,i=arguments.length>2?arguments[2]:void
0;this.alertUI&&!
this.player.config.embed.settings.background&&(this.alertUI.message=Ff.render(t,n),
this.alertUI.show(null,i))},n.ov=function(t){var n=this;this.alertUI=new Zv(t,
{displayTimeout:1e3}),this.alertUI.on("show",(function(t)
{n.player.events.fire(ec.Mf,!0,t)})),this.alertUI.on("hide",(function(t){var
i=t.target,e=i&&"function"==typeof i.getAttribute;if(e)switch(i.getAttribute("data-
context"))
{case"suggestion":n.player.events.fire(Gs.Hs,"auto"),t="suggestion";break;default:t
="close"}(e||"qualitymenuauto"===t)&&(n.autoAlertWasDismissed=!
0),n.player.events.fire(ec.Mf,!1,t)}))},n.av=function(){var
t=this;null===this.badPlaybackTimer&&0!
==this.bufferCount&&(this.badPlaybackTimer=setTimeout((function()
{t.isBufferingTooLong=!0,t.fv()}),1e4))},n.fv=function()
{"MediaSourceScanner"===this.backbone.currentScannerName&&(this.isBufferingTooLong|
|
this.isBufferingTooFrequent)&&(this.backbone.video.currentFile.restrictedStreamInde
xes.length<=0||
(this.isBufferingTooLong,this.isBufferingTooFrequent,this.player.events.fire(qs.Rs)
,this.bufferCount=0,this.badPlaybackTimer=null,this.isBufferingTooFrequent=!
1,this.isBufferingTooLong=!1))},t}();function tp(t,n,i){return i?n?n(t):t:
(t&&t.then||(t=r.resolve(t)),n?t.then(n):t)}function np(t,n){try{var i=t()}catch(t)
{return n(t)}return i&&i.then?i.then(void 0,n):i}function ip(){}var ep=function()
{function t(t,n){this.Yf=t,this.hv=n,this.dv=0,this.vv()}var n=t.prototype;return
n.pv=function(){this.hv.get(Qc)&&(this.Yf.element.querySelector(".vp-live-viewer-
status-wrapper")||(this.ed=document.createElement("d
iv"),this.ed.classList.add("vp-live-viewer-status-
wrapper","invisible"),this.ed.innerHTML=Ff.render("live_status"),this.ed.querySelec
tor(".vp-live-status-
circle").classList.remove("offline"),this.Yf.element.querySelector(".vp-controls-
wrapper").appendChild(this.ed)))},n.mv=function(){var
t=this.Yf.element.querySelector(".vp-live-viewer-status-
wrapper");t&&this.Yf.element.querySelector(".vp-controls-
wrapper").removeChild(t)},n.vv=function(){var t=this;this.hv.watch(il,(function()
{return t.mv()})),this.Yf.events.on(ec.Hl,(function(){t.Yf.config.video.live_event?
t.pv():t.mv()})),this.Yf.events.on(au.STREAM_ONLINE,(function()
{t.pv(),t.bv()})),this.Yf.events.on(ec.Uc,(function(n){var i;null==(i=t.ed)||
i.classList.toggle("invisible",n)}))},n.bv=function(){try{var t=this;if(!
t.hv.get(Qc)||!t.Yf.config.video.live_event.show_viewer_count)return;var
n=setTimeout((function()
{t.bv()}),3e4),i="".concat(t.Yf.config.video.id);"unlisted"===t.Yf.config.video.pri
vacy&&(i+=":".concat(t.Yf.config.video.unlisted_hash));var
e="https://".concat(t.Yf.config.vimeo_api_url,"/videos/").concat(i,"/stats/live"),o
={jwt_token:t.Yf.config.user.vimeo_bucketed_live_client_token};return
rp(np((function(){return tp(t.Yf.updatePhpTokens(),(function(){return
rp(np((function(){return tp(Xe({url:e,searchParams:o}).json(),(function(n)
{n.viewers?(t.dv=0,t.wv(n.viewers.current)):t.dv++}))}),(function(){t.dv+
+,t.gv()&&clearTimeout(n)})))}))}),(function(i){xc.captureException(i),t.dv+
+,t.gv()&&clearTimeout(n)})))}catch(t){return r.reject(t)}},n.wv=function(t)
{this.Yf.config.video.live_event.show_viewer_count&&(this.ed.querySelector(".vp-
live-viewer-count")||(this.Yf.element.querySelector(".vp-live-viewer-
count").style.display="block",this.ed.innerHTML+=Ff.render("live_viewer_count")),U(
this.Yf.element.querySelectorAll(".vp-live-viewer-count-
value")).forEach((function(n){return n.innerHTML=function(t){return
t=parseFloat(t),isNaN(t)||t<0?"0":t<1e3?t.toString():t>=1e3&&t<1e6?
Math.floor(t/1e3)+"."+Math.round(t%1e3/100)+"k":Math.floor(t/1e6)+"."+Math.round(t
%1e6/1e5)+"m"}(t)})))},n.gv=function(){return
this.dv>3&&(U(this.Yf.element.querySelectorAll(".vp-live-viewer-
count")).forEach((function(t){return t.classList.add("hidden")})),!0)},t}
();function rp(t){if(t&&t.then)return
t.then(ip)}t.BigScreen=Wh,t.VimeoPlayer=function(t,n,i,e){Ff.helpers=Bv;var
o=function(t){if(!0===t)return r.resolve(null);var n=!1;return new r((function(i,e)
{t.link.addEventListener("load",(function(){if(!n){n=!0;var e=(new Date).getTime()-
t.startTime;setTimeout((function(){return i(e)}),100)}}),!1)}))}(i),u=new
_d({element:t,delegate:e,cssLoadedPromise:o}),a=u.store;t.classList.add("js-player-
fullscreen");var
s=u.expose,c=null,l=null,f=null,h=null,d=null,v=null,p=t.querySelector(".vp-
controls"),m=t.querySelector(".vp-sidedock"),b=t.querySelector(".vp-
title"),w=t.querySelector(".vp-cards-wrapper"),g=Wi.mobileAndroid||Wi.iPhone||
Wi.windowsPhone||
Wi.browser.bb10,y={tiny:ec.zl,mini:ec.Gl,normal:ec.Kl,none:ec.Kl};function _(n)
{n&&void 0!==y[n]&&(u.events.fire(y[n]),t.classList.toggle("player-
normal","normal"===n),t.classList.toggle("player-
mini","mini"===n),t.classList.toggle("player-tiny","tiny"===n))}function k(n)
{Object.keys(df).forEach((function(i){return
t.classList.toggle("player-".concat(i),n===i)}))}function E(){var
n=u.config.embed.settings,i=(1===u.config.view||u.config.view,n&&!
n.playbar);t.classList.toggle("no-playbar",i),t.classList.toggle("with-
fullscreen",!!n.fullscreen);var e=n.custom_logo;t.classList.toggle("with-custom-
logo",!!e),t.classList.toggle("with-sticky-custom-
logo",e&&e.sticky),t.classList.toggle("hide-controls-mode",!!n.background||
0===n.controls),t.classList.toggle("touch-support",Wi.touch)}function T(t){var
n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u.config.video.url;if(!(!
n||t&&t.metaKey)){if(-
1===n.indexOf("#")&&u.backbone.currentTime>0&&u.backbone.currentTime0&&window.innerHeight>0?
t():i=setTimeout(n,250)};u.events.once(ec.ge,e),u.events.once(ec.lc,e)})),function(
){var t=function(t,n){return u.verifyConfig().then((function(){var
i=u.config.request,e=i.signature,r=i.session,o=i.timestamp,a=i.expires;return
Xe("https://".concat(u.config.player_url,"/video/").concat(u.config.video.id,"/").c
oncat(t,"?
signature=").concat(e,"&session=").concat(r,"&time=").concat(o,"&expires=").concat(
a),{method:n,withCredentials:!0})})).catch((function(i){xc.captureException(i,
{extra:{action:t,method:n}})}))},n=function(t,n){return
u.updatePhpTokens().then((function(){var i="following"===t?
u.config.video.owner.id:u.config.video.id,e=u.config.user.vimeo_api_interaction_tok
ens,r="";if(e)switch(r="?auth=",t)
{case"likes":r+=e.likes;break;case"watchlater":r+=e.watch_later;break;case"followin
g":r+=e.following}var o=u.config.video.unlisted_hash&&"following"!
==t?":".concat(u.config.video.unlisted_hash):"";return
Xe("https://".concat(u.config.vimeo_api_url,"/users/").concat(u.config.user.id,"/")
.concat(t,"/").concat(i).concat(o).concat(r),
{method:n,jwt:u.config.user.vimeo_api_client_token}).catch((function(i)
{xc.captureException(i,{extra:{action:t,method:n}})}))})).catch((function(t)
{xc.captureException(t)}))};u.events.on(ec.ol,(function(t)
{if(u.config.user.purchased)return!
u.config.video.vod.is_feature&&u.config.video.vod.feature_id?void
u.loadVideo(u.config.video.vod.feature_id).then((function(){return
u.events.fire(ec.Ac),u.config.video.vod.feature_id})).catch((function(t)
{xc.captureException(t),u.events.fire(Gs._showOverlay,"error",
{title:"Sorry",message:"There was a problem. Please try again."})})):void
u.events.fire(ec.Ac);u.config.video.vod&&u.config.video.vod.is_coming_soon?
T(null,u.config.video.vod.url):u.performDelegateAction(Xs,(function()
{u.events.fire(Gs.Us,"purchase",{productId:t})}),[t])})),u.events.on(ec.nl,
(function(){u.config.user.logged_in?u.config.user.id!
==u.config.video.owner.id&&(u.config.user.liked?u.performDelegateAction(Ys,
(function(){"disable"!==u.config.video.privacy?
n("likes","DELETE"):t("like","DELETE"),u.config.user.liked=!
1,u.events.fire(ec.Ll)})):u.performDelegateAction(Ks,(function(){"disable"!
==u.config.video.privacy?n("likes","PUT"):t("like","PUT"),u.config.user.liked=!
0,u.events.fire(ec.jl)}))):u.performDelegateAction(Qs,(function()
{u.events.fire(Gs.Us,"login-like")}))})),u.events.on(ec.il,(function()
{(u.config.video.url||"unlisted"===u.config.video.privacy)&&(u.config.user.logged_i
n?u.config.user.watch_later?u.performDelegateAction($s,(function()
{n("watchlater","DELETE"),u.config.user.watch_later=!
1,u.events.fire(ec.Pl)})):u.performDelegateAction(Js,(function()
{n("watchlater","PUT"),u.config.user.watch_later=!
0,u.events.fire(ec.Dl)})):u.performDelegateAction(Qs,(function()
{u.events.fire(Gs.Us,"login-watch-later")})))})),u.events.on(ec.ul,(function()
{u.performDelegateAction(tc,(function(){u.config.video.vod&&u.config.video.vod.url?
T(null,"".concat(u.config.video.vod.url,"#collections")):u.config.video.url&&T(null
,"".concat(u.config.video.url,"#collections"))}))})),u.events.on(ec.el,(function()
{var
t=u.config.embed.settings.share&&u.config.embed.settings.share.embed_only,n=functio
n(){u.events.fire(Gs._showOverlay,"share",t)};Wh.element?
n():u.performDelegateAction(Zs,n)})),u.events.on(ec.rl,(function()
{u.config.embed.settings.share.embed_only&&u.performDelegateAction(Zs,(function()
{u.events.fire(Gs._showOverlay,"share",!0)}))})),u.events.on(ec.al,(function()
{if(u.config.user.logged_in&&u.config.user.id!==u.config.video.owner.id)
{if(u.config.user.following)return
n("following","DELETE"),u.config.user.following=!1,void
u.events.fire(ec.ff);n("following","PUT"),u.config.user.following=!
0,u.events.fire(ec.lf)}}))}(),u.events.on(ec.dc,(function()
{t.classList.add("player-ad")})),u.events.on([ec.vc,Gs.Vs],(function()
{t.classList.remove("player-ad")})),function(){var n=function(){return
function(t,n,i){return t&&t.then||(t=r.resolve(t)),n?t.then(n):t}(d,(function(){var
n=function(){var n=Es(t),i=n.width,e=n.height;return g?
e<=200?"10px":i<450?"12px":i<=1024?"11px":"10px":"10px"}
();p.style.fontSize=n,m.style.fontSize=n,b.style.fontSize=n}))};u.events.on(ec.Zc,n
),u.events.on(ec.tl,n),window.addEventListener("orientationchange",n),g&&(t.classLi
st.add("mobile"),n())}(),a.watch("ui.player.mode",_),S(),function(){function n()
{var n=t;if(e&&e.getFullscreenElement&&"function"==typeof e.getFullscreenElement)
{var i=e.getFullscreenElement();i&&i instanceof
HTMLElement&&i.contains(t)&&i.classList.contains("js-player-
fullscreen")&&(n=i)}return n}u.config.embed.fullscreen=!
0,Wi.iPad&&t.classList.add("no-fullscreen-api-support");var
i=u.config.embed.playsinline&&Wi.iOS>=10,r=Wi.iPad||i;Wh.enabled||r||
(t.classList.add("no-fullscreen-support"),Wi.iOS||(u.config.embed.fullscreen=!
1));var o=!1,a=!1,s=!1;u.events.on([nu,iu],(function(){s=!0})),u.events.on(Gs.Js,
(function(){Wh.enabled||Wh.videoEnabled(t)?(u.events.fire(ec.Xc),a=!
1,Wh.request(n())):u.events.fire(Gs.Zs,!0)})),u.events.on(ec.Sc,(function()
{"picture-in-
picture"===u.backbone.presentationMode&&u.events.fire(Gs.ic),Wh.element?
(u.events.fire(ec.Qc),Wh.exit()):(u.events.fire(ec.Xc),a=!0,Wh.request(n()))}));var
c=Wh.onenter,l=Wh.onexit;if(Wh.onenter=function(t){o||(n().contains(t)?
function(t,i){s?s=!1:o||(o=!0,u.events.fire(ec.Zc,n()===t,a))}
(t):"function"==typeof c&&c(t))},Wh.onexit=function(){o?s?s=!1:o&&(o=!
1,u.events.fire(ec.tl,a),a||u.events.fire(Gs.Zs,!1),a=!1):"function"==typeof
l&&l()},kl(t).on("click","a",(function(t)
{Wh.element===n()&&Wh.exit()})),kl(t).on("gestureend",(function(t){t.sc
ale>1&&u.events.fire(ec.Sc)})),"undefined"!=typeof MSGesture){var f=1,h=new
MSGesture;h.target=t,kl(t).on("pointerdown",(function(t)
{h.addPointer(t.pointerId)})).on(["MSGestureChange"],(function(t)
{f*=t.scale})).on(["MSGestureEnd"],(function(){(!o&&f>=2||
o&&f<1)&&u.events.fire(ec.Sc),f=1}))}}(),kd(t,"a[data-clip-
link]",T),u.events.on(Gs.qs,T),kd(t,"[data-track-click]",(function(t){var
n=t.target.dataset.trackClick;u.events.fire(ec.yc,n)})),x(),u.events.on(ec.Hl,
(function(){E(),x()})),u.events.on(Gs.sc,(function(){v.disable()}))}function M()
{c||(c=new fv(u,a,t.querySelector(".vp-overlay-wrapper")))}function C(){l||(l=new
Dv(u,{uuid:u.uuid,id:t.id,isMobileDevice:!1}))}function R(){f||(f=new Pv(u))}var
I={initializationHandler:function(){return function(){M(),C(),R(),new Wd(u,a,p),new
Gd(u,a,t);var n=new Xv(u,a,t);new Zd(u,t.querySelector(".vp-notification-
wrapper")),new tv(u,a,t.querySelector(".vp-outro-wrapper")),new Hv(u,m),new
qv(u,b),new Gv(u,t),Object.defineProperties(s,{pauseKeyboard:{enumerable:!
0,value:n.pause},unpauseKeyboard:{enumerable:!0,value:n.unpause}})}
(),A(),r.resolve()},postInitializationHandler:function(){return u.backbone&&(new
Jd(t.querySelector(".vp-stats-debug"),u),new Jv(u,a,w),new
Qv(u,u.backbone,t)),r.resolve()},authorizationHandler:function(t){var
n;S(),t(),M(),C();var i="Error",e="Unhandled video privacy";switch(u.config.view)
{case 4:return new r((function(t,n)
{u.events.fire(Gs._showOverlay,"password"),u.events.once(ec.ql,(function(n)
{t(n)}))}));case 2:R();var o="private-locked",a=null;return
u.config.user.logged_in&&(o="error",a={title:"Private Video",message:"Sorry, you
don’t have permission to watch.",modal:!0,logo:!!
u.config.embed.settings.logo,icon:"lock"}),u.events.fire(Gs._showOverlay,o,a),r.rej
ect();case 7:i=u.config.title,e=u.config.message;break;case 10:return
R(),u.events.fire(Gs._showOverlay,"webinar-confirmation"),r.reject();case
11:if(null==(n=u.config.video.webinar)?void 0:n.registration_form)return new
r((function(t,n){u.events.fire(Gs._showOverlay,"email-
capture"),u.events.once(ec.uf,(function(n){t(n)}))}))}return
u.events.fire(Gs._showOverlay,"error",{title:i,message:e,modal:!
0}),r.reject()}};return u.init(n,I).then((function(){return 3!==u.config.view||
u.config.embed.autoplay||u.events.fire(Gs._showOverlay,"private-unlocked"),!
0})).catch((function(n)
{xc.captureException(n),M(),C(),t.classList.remove("loading"),u.events.fire(ec.lc,f
c.id,fc)})),s},t.requestModule=ur,Object.defineProperty(t,"ph",{value:!0})}
(this.window=this.window||{});