/* 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