/* VimeoPlayer - v3.42.3 - 2021-10-04 - 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,enumerable: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.toStringTag])}(t))throw new TypeError(t+" is not a symbol");return t},A=Object.create,x=Object.defineProperties,C=Object.defineProperty,M=Object.prototype,I=A(null);if("function"==typeof Symbol){o=Symbol;try{String(o()),s=!0}catch(t){}}var R=function(){var t=A(null);return function(n){for(var i,e,r=0;t[n+(r||"")];)++r;return t[n+=r||""]=!0,C(M,i="@@"+n,T.gs(null,(function(t){e||(e=!0,C(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=A(a.prototype),n=void 0===n?"":String(n),x(i,{U:T("",n),F:T("",R(n))}))};x(u,{for:T((function(t){return I[t]?I[t]:I[t]=u(String(t))})),keyFor:T((function(t){var n;for(n in S(t),I)if(I[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"))}),x(a.prototype,{constructor:T(u),toString:T("",(function(){return this.F}))}),x(u.prototype,{toString:T((function(){return"Symbol ("+S(this).U+")"})),valueOf:T((function(){return S(this)}))}),C(u.prototype,u.toPrimitive,T("",(function(){var t=S(this);return"symbol"==typeof t?t:t.toString()}))),C(u.prototype,u.toStringTag,T("c","Symbol")),C(a.prototype,u.toStringTag,T("c",u.prototype[u.toStringTag])),C(a.prototype,u.toPrimitive,T("c",u.prototype[u.toPrimitive]));var L=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[L.iterator]=function(){return this},new e}),Array.prototype[L.iterator]||(Array.prototype[L.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[L.iterator]=function(){return this},new e});var j=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}}},N=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}(),P=window.Array.from,U=[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 P&&P(U)===U&&(P=!1);var F=P||function(t){return[].slice.call(t,0)};function V(t){return(V="function"==typeof L&&"symbol"==typeof L.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof L&&t.constructor===L&&t!==L.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[L.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 mt(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 bt(){return void 0!==window.performance&&"function"==typeof window.performance.now?window.performance.now():Date.now()}function wt(t){return bt()-t}function gt(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 yt(t){var n=document.createElement("a");return n.href=t,n}function _t(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 kt(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 Et(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 Tt(t){return t}var St=Math.max;function At(t,n,i){return n=St(void 0===n?t.length-1:n,0),function(){for(var e=arguments,r=-1,o=St(e.length-n,0),u=Array(o);++r0){if(++n>=800)return arguments[0]}else n=0;return t.apply(void 0,arguments)}}(Qt);function en(t,n){return nn(At(t,n,Tt),t+"")}function rn(t,n){return t===n||t!=t&&n!=n}function on(t,n){for(var i=t.length;i--;)if(rn(t[i][0],n))return i;return-1}var un=Array.prototype.splice;function an(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n-1},an.prototype.set=function(t,n){var i=this.Y,e=on(i,t);return e<0?(++this.size,i.push([t,n])):i[e][1]=n,this};var sn=Xt(It,"Map"),cn=Xt(Object,"create"),ln=Object.prototype.hasOwnProperty,fn=Object.prototype.hasOwnProperty;function hn(t){var n=-1,i=null==t?0:t.length;for(this.clear();++n-1&&t%1==0&&t<=9007199254740991}function qn(t){return null!=t&&Hn(t.length)&&!Vt(t)}var Wn="object"==(void 0===t?"undefined":V(t))&&t&&!t.nodeType&&t,zn=Wn&&"object"==("undefined"==typeof module?"undefined":V(module))&&module&&!module.nodeType&&module,Gn=zn&&zn.exports===Wn?It.Buffer:void 0,Yn=(Gn?Gn.isBuffer:void 0)||function(){return!1},Kn=Function.prototype,Jn=Object.prototype,$n=Kn.toString,Xn=Jn.hasOwnProperty,Zn=$n.call(Object);function Qn(t){if(!jn(t)||"[object Object]"!=Ut(t))return!1;var n=Rn(t);if(null===n)return!0;var i=Xn.call(n,"constructor")&&n.constructor;return"function"==typeof i&&i instanceof i&&$n.call(i)==Zn}var ti={};function ni(t){return function(n){return t(n)}}ti["[object Float32Array]"]=ti["[object Float64Array]"]=ti["[object Int8Array]"]=ti["[object Int16Array]"]=ti["[object Int32Array]"]=ti["[object Uint8Array]"]=ti["[object Uint8ClampedArray]"]=ti["[object Uint16Array]"]=ti["[object Uint32Array]"]=!0,ti["[object Arguments]"]=ti["[object Array]"]=ti["[object ArrayBuffer]"]=ti["[object Boolean]"]=ti["[object DataView]"]=ti["[object Date]"]=ti["[object Error]"]=ti["[object Function]"]=ti["[object Map]"]=ti["[object Number]"]=ti["[object Object]"]=ti["[object RegExp]"]=ti["[object Set]"]=ti["[object String]"]=ti["[object WeakMap]"]=!1;var ii="object"==(void 0===t?"undefined":V(t))&&t&&!t.nodeType&&t,ei=ii&&"object"==("undefined"==typeof module?"undefined":V(module))&&module&&!module.nodeType&&module,ri=ei&&ei.exports===ii&&Ct.process,oi=function(){try{return ei&&ei.require&&ei.require("util").types||ri&&ri.binding&&ri.binding("util")}catch(t){}}(),ui=oi&&oi.isTypedArray,ai=ui?ni(ui):function(t){return jn(t)&&Hn(t.length)&&!!ti[Ut(t)]};function si(t,n){if(("constructor"!==n||"function"!=typeof t[n])&&"__proto__"!=n)return t[n]}var ci=Object.prototype.hasOwnProperty;function li(t,n,i){var e=t[n];ci.call(t,n)&&rn(e,i)&&(void 0!==i||n in t)||mn(t,n,i)}function fi(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(!Ft(i))return!1;var e=V(n);return!!("number"==e?qn(i)&&di(n,i.length):"string"==e&&n in i)&&rn(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(Ti.LOADED_METADATA,(function(n){t.fire(Ti.LOADED_METADATA,n)})),n.addEventListener("webkitplaybacktargetavailabilitychanged",(function(n){switch(n.availability){case"available":t.K||(t.K=!0,t.fire(Ai.AIRPLAY_AVAILABLE));break;case"not-available":t.K&&(t.K=!1,t.fire(Ai.AIRPLAY_UNAVAILABLE))}})),n.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",(function(n){if(n.target.webkitCurrentPlaybackTargetIsWireless)return t.J=!0,void t.fire(Ai.AIRPLAY_ACTIVATED);t.J=!1,t.fire(Ai.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(Ti.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