PageSourceSearch

https://aiven.io/remix-chunks/react-BExdP0QD.js

js aiven.io collected 2026-09-24 08:43:03 UTC 50,752 bytes, 38 lines download raw bytes

vendor: 4,281 bytes, line 1
1import{a as Re}from"./typography-C5LMSFAT.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"bb7bd624a8a3321ff6d1587f421551039a69f342"}}catch{}})();try{(function(){var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="50241ccf-efb8-4afc-ae6f-58f3dbebdc7d",r._sentryDebugIdIdentifier="sentry-dbid-50241ccf-efb8-4afc-ae6f-58f3dbebdc7d")})()}catch{}/*! @vimeo/player v2.29.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function ce(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(r);e&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(r,i).enumerable})),t.push.apply(t,n)}return t}function fe(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ce(Object(t),!0).forEach(function(n){X(r,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ce(Object(t)).forEach(function(n){Object.defineProperty(r,n,Object.getOwnPropertyDescriptor(t,n))})}return r}function R(){R=function(){return r};var r={},e=Object.prototype,t=e.hasOwnProperty,n=Object.defineProperty||function(c,l,h){c[l]=h.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function d(c,l,h){return Object.defineProperty(c,l,{value:h,enumerable:!0,configurable:!0,writable:!0}),c[l]}try{d({},"")}catch{d=function(l,h,M){return l[h]=M}}function o(c,l,h,M){var w=l&&l.prototype instanceof T?l:T,C=Object.create(w.prototype),A=new L(M||[]);return n(C,"_invoke",{value:v(c,h,A)}),C}function b(c,l,h){try{return{type:"normal",arg:c.call(l,h)}}catch(M){return{type:"throw",arg:M}}}r.wrap=o;var k={};function T(){}function P(){}function m(){}var _={};d(_,a,function(){return this});var O=Object.getPrototypeOf,N=O&&O(O(q([])));N&&N!==e&&t.call(N,a)&&(_=N);var g=m.prototype=T.prototype=Object.create(_);function p(c){["next","throw","return"].forEach(function(l){d(c,l,function(h){return this._invoke(l,h)})})}function f(c,l){function h(w,C,A,j){var F=b(c[w],c,C);if(F.type!=="throw"){var H=F.arg,U=H.value;return U&&typeof U=="object"&&t.call(U,"__await")?l.resolve(U.__await).then(function($){h("next",$,A,j)},function($){h("throw",$,A,j)}):l.resolve(U).then(function($){H.value=$,A(H)},function($){return h("throw",$,A,j)})}j(F.arg)}var M;n(this,"_invoke",{value:function(w,C){function A(){return new l(function(j,F){h(w,C,j,F)})}return M=M?M.then(A,A):A()}})}function v(c,l,h){var M="suspendedStart";return function(w,C){if(M==="executing")throw new Error("Generator is already running");if(M==="completed"){if(w==="throw")throw C;return ne()}for(h.method=w,h.arg=C;;){var A=h.delegate;if(A){var j=E(A,h);if(j){if(j===k)continue;return j}}if(h.method==="next")h.sent=h._sent=h.arg;else if(h.method==="throw"){if(M==="suspendedStart")throw M="completed",h.arg;h.dispatchException(h.arg)}else h.method==="return"&&h.abrupt("return",h.arg);M="executing";var F=b(c,l,h);if(F.type==="normal"){if(M=h.done?"completed":"suspendedYield",F.arg===k)continue;return{value:F.arg,done:h.done}}F.type==="throw"&&(M="completed",h.method="throw",h.arg=F.arg)}}}function E(c,l){var h=l.method,M=c.iterator[h];if(M===void 0)return l.delegate=null,h==="throw"&&c.iterator.return&&(l.method="return",l.arg=void 0,E(c,l),l.method==="throw")||h!=="return"&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+h+"' method")),k;var w=b(M,c.iterator,l.arg);if(w.type==="throw")return l.method="throw",l.arg=w.arg,l.delegate=null,k;var C=w.arg;return C?C.done?(l[c.resultName]=C.value,l.next=c.nextLoc,l.method!=="return"&&(l.method="next",l.arg=void 0),l.delegate=null,k):C:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,k)}function S(c){var l={tryLoc:c[0]};1 in c&&(l.catchLoc=c[1]),2 in c&&(l.finallyLoc=c[2],l.afterLoc=c[3]),this.tryEntries.push(l)}function y(c){var l=c.completion||{};l.type="normal",delete l.arg,c.completion=l}function L(c){this.tryEntries=[{tryLoc:"root"}
1],c.forEach(S,this),this.reset(!0)}function q(c){if(c){var l=c[a];if(l)return l.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length)){var h=-1,M=function w(){for(;++h<c.length;)if(t.call(c,h))return w.value=c[h],w.done=!1,w;return w.value=void 0,w.done=!0,w};return M.next=M}}return{next:ne}}function ne(){return{value:void 0,done:!0}}return P.prototype=m,n(g,"constructor",{value:m,configurable:!0}),n(m,"constructor",{value:P,configurable:!0}),P.displayName=d(m,s,"GeneratorFunction"),r.isGeneratorFunction=function(c){var l=typeof c=="function"&&c.constructor;return!!l&&(l===P||(l.displayName||l.name)==="GeneratorFunction")},r.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,m):(c.__proto__=m,d(c,s,"GeneratorFunction")),c.prototype=Object.create(g),c},r.awrap=function(c){return{__await:c}},p(f.prototype),d(f.prototype,u,function(){return this}),r.AsyncIterator=f,r.async=function(c,l,h,M,w){w===void 0&&(w=Promise);var C=new f(o(c,l,h,M),w);return r.isGeneratorFunction(l)?C:C.next().then(function(A){return A.done?A.value:C.next()})},p(g),d(g,s,"Generator"),d(g,a,function(){return this}),d(g,"toString",function(){return"[object Generator]"}),r.keys=function(c){var l=Object(c),h=[];for(var M in l)h.push(M);return h.reverse(),function w(){for(;h.length;){var C=h.pop();if(C in l)return w.value=C,w.done=!1,w}return w.done=!0,w}},r.values=q,L.prototype={constructor:L,reset:function(c){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(y),!c)for(var l in this)l.charAt(0)==="t"&&t.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=void 0)},stop:function(){this.done=!0;var c=this.tryEntries[0].completion;if(c.type==="throw")throw c.arg;return this.rval},dispatchException:function(c){if(this.done)throw c;var l=this;function h(F,H){return C.type="throw",C.arg=c,l.next=F,H&&(l.method="next",l.arg=void 0),!!H}for(var M=this.tryEntries.length-1;M>=0;--M){var w=this.tryEntries[M],C=w.completion;if(w.tryLoc==="root")return h("end");if(w.tryLoc<=this.prev){var A=t.call(w,"catchLoc"),j=t.call(w,"finallyLoc");if(A&&j){if(this.prev<w.catchLoc)return h(w.catchLoc,!0);if(this.prev<w.finallyLoc)return h(w.finallyLoc)}else if(A){if(this.prev<w.catchLoc)return h(w.catchLoc,!0)}else{if(!j)throw new Error("try statement without catch or finally");if(this.prev<w.finallyLoc)return h(w.finallyLoc)}}}},abrupt:function(c,l){for(var h=this.tryEntries.length-1;h>=0;--h){var M=this.tryEntries[h];if(M.tryLoc<=this.prev&&t.call(M,"finallyLoc")&&this.prev<M.finallyLoc){var w=M;break}}w&&(c==="break"||c==="continue")&&w.tryLoc<=l&&l<=w.finallyLoc&&(w=null);var C=w?w.completion:{};return C.type=c,C.arg=l,w?(this.method="next",this.next=w.finallyLoc,k):this.complete(C)},complete:function(c,l){if(c.type==="throw")throw c.arg;return c.type==="break"||c.type==="continue"?this.next=c.arg:c.type==="return"?(this.rval=this.arg=c.arg,this.method="return",this.next="end"):c.type==="normal"&&l&&(this.next=l),k},finish:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var h=this.tryEntries[l];if(h.finallyLoc===c)return this.complete(h.completion,h.afterLoc),y(h),k}},catch:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var h=this.tryEntries[l];if(h.tryLoc===c){var M=h.completion;if(M.type==="throw"){var w=M.arg;y(h)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(c,l,h){return this.delegate={iterator:q(c),resultName:l,nextLoc:h},this.method==="next"&&(this.arg=void 0),k}},r}function de(r,e,t,n,i,a,u){try{var s=r[a](u),d=s.value}catch(o){t(o);return}s.done?e(d):Promise.resolve(d).then(n,i)}function W(r){return function(){var e=this,t=arguments;return new Promise(function(n,i){var a=r.apply(e,t);function u(d){de(a,n,i,u,s,"next",d)}function s(d){de(a,n,i,u,s,"throw",d)}u(void 0)})}}function Ee(r,e){if(!(r instanceof e))throw new TypeError("Cannot call a class as a function")}function Ie(r,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(r,Te(n.key),n)}}function ke(r,e,t){return e&&Ie(r.prototype,e),Object.defineProperty(r,"prototype",{writable:!1}),r}function X(r,e,t){return e=Te(e),e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Le(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");r.prototype=Object.create(e&&e.prototype,{constructor:{value:r,writable:!0,configurable:!0}}),Object.defineProperty(r,"prototype",{writable:!1}),e&&J(r,e)}function Y(r){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Y(r)}function J(r,e){return J=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},J(r,e)}function Pe(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function K(r,e,t){return Pe()?K=Reflect.construct.bind():K=function(i,a,u){var s=[null];s.push.apply(s,a);var d=Function.bind.apply(i,s),o=new d;return u&&J(o,u.prototype),o},K.apply(null,arguments)}function je(r){return Function.toString.call(r).indexOf("[native code]")!==-1}function ue(r){var e=typeof Map=="function"?new Map:void 0;return ue=function(n){if(n===null||!je(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(n))return e.get(n);e.set(n,i)}function i(){return K(n,arguments,Y(this).constructor)}return i.prototype=Object.create(n.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),J(i,n)},ue(r)}function Z(r){if(r===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return r}function Fe(r,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(r)}function qe(r){var e=Pe();return function(){var n=Y(r),i;if(e){var a=Y(this).constructor;i=Reflect.construct(n,arguments,a)}else i=n.apply(this,arguments);return Fe(this,i)}}function De(r,e){if(typeof r!="object"||r===null)return r;var t=r[Symbol.toPrimitive];if(t!==void 0){var n=t.call(r,e);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(r)}function Te(r){var e=De(r,"string");return typeof e=="symbol"?e:String(e)}var Me=typeof global<"u"&&{}.toString.call(global)==="[object global]";function he(r,e){return r.indexOf(e.toLowerCase())===0?r:"".concat(e.toLowerCase()).concat(r.substr(0,1).toUpperCase()).concat(r.substr(1))}function Ve(r){return!!(r&&r.nodeType===1&&"nodeName"in r&&r.ownerDocument&&r.ownerDocument.defaultView)}function $e(r){return!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r}function z(r){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(r)}function Se(r){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(r)}function xe(r){for(var e=(r||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),n=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=n;i<a.length;i++){var u=a[i];if(t.endsWith(u))return t}return"vimeo.com"}function Ce(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{}
1,e=r.id,t=r.url,n=e||t;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if($e(n))return"https://vimeo.com/".concat(n);if(z(n))return n.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(n,"” is not a vimeo.com url."))}var pe=function(e,t,n){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",u=typeof t=="string"?[t]:t;return u.forEach(function(s){e[i](s,n)}),{cancel:function(){return u.forEach(function(d){return e[a](d,n)})}}},We=typeof Array.prototype.indexOf<"u",ze=typeof window<"u"&&typeof window.postMessage<"u";if(!Me&&(!We||!ze))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var G=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function He(r,e){return e={exports:{}},r(e,e.exports),e.exports}/*!
2 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
3 * https://github.com/polygonplanet/weakmap-polyfill
4 * Copyright (c) 2015-2021 polygonplanet <[email protected]>
5 * @license MIT
6 */(function(r){if(r.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),n=function(a,u,s){t?Object.defineProperty(a,u,{configurable:!0,writable:!0,value:s}):a[u]=s};r.WeakMap=(function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id",s("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}n(a.prototype,"delete",function(o){if(u(this,"delete"),!i(o))return!1;var b=o[this._id];return b&&b[0]===o?(delete o[this._id],!0):!1}),n(a.prototype,"get",function(o){if(u(this,"get"),!!i(o)){var b=o[this._id];if(b&&b[0]===o)return b[1]}}),n(a.prototype,"has",function(o){if(u(this,"has"),!i(o))return!1;var b=o[this._id];return!!(b&&b[0]===o)}),n(a.prototype,"set",function(o,b){if(u(this,"set"),!i(o))throw new TypeError("Invalid value used as weak map key");var k=o[this._id];return k&&k[0]===o?(k[1]=b,this):(n(o,this._id,[o,b]),this)});function u(o,b){if(!i(o)||!e.call(o,"_id"))throw new TypeError(b+" method called on incompatible receiver "+typeof o)}function s(o){return o+"_"+d()+"."+d()}function d(){return Math.random().toString().substring(2)}return n(a,"_polyfill",!0),a})();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:G);var D=He(function(r){/*! Native Promise Only
7    v0.8.1 (c) Kyle Simpson
8    MIT License: http://getify.mit-license.org
9*/(function(t,n,i){n[t]=n[t]||i(),r.exports&&(r.exports=n[t])})("Promise",G,function(){var t,n,i,a=Object.prototype.toString,u=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(p,f,v,E){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:E!==!1})}}catch{t=function(f,v,E){return f[v]=E,f}}i=(function(){var p,f,v;function E(S,y){this.fn=S,this.self=y,this.next=void 0}return{add:function(y,L){v=new E(y,L),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var y=p;for(p=f=n=void 0;y;)y.fn.call(y.self),y=y.next}}})();function s(g,p){i.add(g,p),n||(n=u(i.drain))}function d(g){var p,f=typeof g;return g!=null&&(f=="object"||f=="function")&&(p=g.then),typeof p=="function"?p:!1}
9function o(){for(var g=0;g<this.chain.length;g++)b(this,this.state===1?this.chain[g].success:this.chain[g].failure,this.chain[g]);this.chain.length=0}function b(g,p,f){var v,E;try{p===!1?f.reject(g.msg):(p===!0?v=g.msg:v=p.call(void 0,g.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(E=d(v))?E.call(v,f.resolve,f.reject):f.resolve(v))}catch(S){f.reject(S)}}function k(g){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=d(g))?s(function(){var v=new m(f);try{p.call(g,function(){k.apply(v,arguments)},function(){T.apply(v,arguments)})}catch(E){T.call(v,E)}}):(f.msg=g,f.state=1,f.chain.length>0&&s(o,f))}catch(v){T.call(new m(f),v)}}}function T(g){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=g,p.state=2,p.chain.length>0&&s(o,p))}function P(g,p,f,v){for(var E=0;E<p.length;E++)(function(y){g.resolve(p[y]).then(function(q){f(y,q)},v)})(E)}function m(g){this.def=g,this.triggered=!1}function _(g){this.promise=g,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function O(g){if(typeof g!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new _(this);this.then=function(v,E){var S={success:typeof v=="function"?v:!0,failure:typeof E=="function"?E:!1};return S.promise=new this.constructor(function(L,q){if(typeof L!="function"||typeof q!="function")throw TypeError("Not a function");S.resolve=L,S.reject=q}),p.chain.push(S),p.state!==0&&s(o,p),S.promise},this.catch=function(v){return this.then(void 0,v)};try{g.call(void 0,function(v){k.call(p,v)},function(v){T.call(p,v)})}catch(f){T.call(p,f)}}var N=t({},"constructor",O,!1);return O.prototype=N,t(N,"__NPO__",0,!1),t(O,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");E(p)})}),t(O,"reject",function(p){return new this(function(v,E){if(typeof v!="function"||typeof E!="function")throw TypeError("Not a function");E(p)})}),t(O,"all",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):p.length===0?f.resolve([]):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");var y=p.length,L=Array(y),q=0;P(f,p,function(c,l){L[c]=l,++q===y&&E(L)},S)})}),t(O,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(E,S){if(typeof E!="function"||typeof S!="function")throw TypeError("Not a function");P(f,p,function(L,q){E(q)},S)})}),O})}),V=new WeakMap;function Q(r,e,t){var n=V.get(r.element)||{};e in n||(n[e]=[]),n[e].push(t),V.set(r.element,n)}function ee(r,e){var t=V.get(r.element)||{};return t[e]||[]}function te(r,e,t){var n=V.get(r.element)||{};if(!n[e])return!0;if(!t)return n[e]=[],V.set(r.element,n),!0;var i=n[e].indexOf(t);return i!==-1&&n[e].splice(i,1),V.set(r.element,n),n[e]&&n[e].length===0}function Be(r,e){var t=ee(r,e);if(t.length<1)return!1;var n=t.shift();return te(r,e,n),n}function Ge(r,e){var t=V.get(r);V.set(e,t),V.delete(r)}function re(r){if(typeof r=="string")try{r=JSON.parse(r)}catch(e){return console.warn(e),{}}return r}function x(r,e,t){if(!(!r.element.contentWindow||!r.element.contentWindow.postMessage)){var n={method:e};t!==void 0&&(n.value=t);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(n=JSON.stringify(n)),r.element.contentWindow.postMessage(n,r.origin)}}function Ue(r,e){e=re(e);var t=[],n;if(e.event){if(e.event==="error"){var i=ee(r,e.data.method);i.forEach(function(u){var s=new Error(e.data.message);s.name=e.data.name,u.reject(s),te(r,e.data.method,u)})}t=ee(r,"event:".concat(e.event)),n=e.data}else if(e.method){var a=Be(r,e.method);a&&(t.push(a),n=e.value)}t.forEach(function(u){try{if(typeof u=="function"){u.call(r,n);return}u.resolve(n)}catch{}})}var Qe=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","preload","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","thumbnail_id","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Oe(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Qe.reduce(function(t,n){var i=r.getAttribute("data-vimeo-".concat(n));return(i||i==="")&&(t[n]=i===""?1:i),t},e)}function se(r,e){var t=r.html;if(!e)throw new TypeError("An element must be provided");
9if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var n=document.createElement("div");return n.innerHTML=t,e.appendChild(n.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function _e(r){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(n,i){if(!z(r))throw new TypeError("“".concat(r,"” is not a vimeo.com url."));var a=xe(r),u="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(r));for(var s in e)e.hasOwnProperty(s)&&(u+="&".concat(s,"=").concat(encodeURIComponent(e[s])));var d="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;d.open("GET",u,!0),d.onload=function(){if(d.status===404){i(new Error("“".concat(r,"” was not found.")));return}if(d.status===403){i(new Error("“".concat(r,"” is not embeddable.")));return}try{var o=JSON.parse(d.responseText);if(o.domain_status_code===403){se(o,t),i(new Error("“".concat(r,"” is not embeddable.")));return}n(o)}catch(b){i(b)}},d.onerror=function(){var o=d.status?" (".concat(d.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(o,".")))},d.send()})}function Ye(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(r.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};e.forEach(function(n){try{if(n.getAttribute("data-vimeo-defer")!==null)return;var i=Oe(n),a=Ce(i);_e(a,i,n).then(function(u){return se(u,n)}).catch(t)}catch(u){t(u)}})}function Je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(n){if(z(n.origin)&&!(!n.data||n.data.event!=="spacechange")){for(var i=r.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===n.source){var u=i[a].parentElement;u.style.paddingBottom="".concat(n.data.data[0].bottom,"px");break}}};window.addEventListener("message",e)}}function Xe(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(n){if(z(n.origin)){var i=re(n.data);if(!(!i||i.event!=="ready"))for(var a=r.querySelectorAll("iframe"),u=0;u<a.length;u++){var s=a[u],d=s.contentWindow===n.source;if(Se(s.src)&&d){var o=new le(s);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function Ke(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
9=!0;var e=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},t=function(i){if(z(i.origin)){var a=re(i.data);if(!(!a||a.event!=="ready"))for(var u=r.querySelectorAll("iframe"),s=function(){var b=u[d],k=b.contentWindow===i.source;if(Se(b.src)&&k){var T=new le(b);T.getVideoId().then(function(P){var m=new RegExp("[?&]vimeo_t_".concat(P,"=([^&#]*)")).exec(window.location.href);if(m&&m[1]){var _=decodeURI(m[1]);T.setCurrentTime(_)}}).catch(e)}},d=0;d<u.length;d++)s()}};window.addEventListener("message",t)}}function Ze(){var r=(function(){for(var n,i=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],a=0,u=i.length,s={};a<u;a++)if(n=i[a],n&&n[1]in document){for(a=0;a<n.length;a++)s[i[0][a]]=n[a];return s}return!1})(),e={fullscreenchange:r.fullscreenchange,fullscreenerror:r.fullscreenerror},t={request:function(i){return new Promise(function(a,u){var s=function o(){t.off("fullscreenchange",o),a()};t.on("fullscreenchange",s),i=i||document.documentElement;var d=i[r.requestFullscreen]();d instanceof Promise&&d.then(s).catch(u)})},exit:function(){return new Promise(function(i,a){if(!t.isFullscreen){i();return}var u=function d(){t.off("fullscreenchange",d),i()};t.on("fullscreenchange",u);var s=document[r.exitFullscreen]();s instanceof Promise&&s.then(u).catch(a)})},on:function(i,a){var u=e[i];u&&document.addEventListener(u,a)},off:function(i,a){var u=e[i];u&&document.removeEventListener(u,a)}};return Object.defineProperties(t,{isFullscreen:{get:function(){return!!document[r.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[r.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[r.fullscreenEnabled]}}}),t}var et={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},tt=(function(r){Le(t,r);var e=qe(t);function t(n,i){var a,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return Ee(this,t),a=e.call(this),X(Z(a),"logger",void 0),X(Z(a),"speedAdjustment",0),X(Z(a),"adjustSpeed",(function(){var d=W(R().mark(function o(b,k){var T;return R().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(a.speedAdjustment!==k){m.next=2;break}return m.abrupt("return");case 2:return m.next=4,b.getPlaybackRate();case 4:return m.t0=m.sent,m.t1=a.speedAdjustment,m.t2=m.t0-m.t1,m.t3=k,T=m.t2+m.t3,a.log("New playbackRate:  ".concat(T)),m.next=12,b.setPlaybackRate(T);case 12:a.speedAdjustment=k;case 13:case"end":return m.stop()}},o)}));return function(o,b){return d.apply(this,arguments)}})()),a.logger=s,a.init(i,n,fe(fe({},et),u)),a}return ke(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(function(){var n=W(R().mark(function a(u,s,d){var o=this,b,k,T;return R().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,this.waitForTOReadyState(u,"open");case 2:if(d.role!=="viewer"){m.next=10;break}return m.next=5,this.updatePlayer(u,s,d);case 5:b=pe(u,"change",function(){return o.updatePlayer(u,s,d)}),k=this.maintainPlaybackPosition(u,s,d),this.addEventListener("disconnect",function(){k.cancel(),b.cancel()}),m.next=14;break;case 10:return m.next=12,this.updateTimingObject(u,s);case 12:T=pe(s,["seeked","play","pause","ratechange"],function(){return o.updateTimingObject(u,s)},"on","off"),this.addEventListener("disconnect",function(){return T.cancel()});case 14:case"end":return m.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i})()},{key:"updateTimingObject",value:(function(){var n=W(R().mark(function a(u,s){return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:return o.t0=u,o.next=3,s.getCurrentTime();case 3:return o.t1=o.sent,o.next=6,s.getPaused();case 6:if(!o.sent){o.next=10;break}o.t2=0,o.next=13;break;case 10:return o.next=12,s.getPlaybackRate();case 12:o.t2=o.sent;case 13:o.t3=o.t2,o.t4={position:o.t1,velocity:o.t3},o.t0.update.call(o.t0,o.t4);case 16:case"end":return o.stop()}},a)}));function i(a,u){return n.apply(this,arguments)}return i})()},{key:"updatePlayer",value:(function(){var n=W(R().mark(function a(u,s,d){var o,b,k;return R().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(o=u.query(),b=o.position,k=o.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof k!="number"){P.next=25;break}if(k!==0){P.next=11;break}return P.next=6,s.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}s.pause();case 9:P.next=25;break;case 11:if(!(k>0)){P.next=25;break}return P.next=14,s.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,s.play().catch((function(){var m=W(R().mark(function _(O){return R().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(!(O.name==="NotAllowedError"&&d.autoPlayMuted)){g.next=5;break}return g.next=3,s.setMuted(!0);case 3:return g.next=5,s.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return g.stop()}},_)}));return function(_){return m.apply(this,arguments)}})());case 18:this.updatePlayer(u,s,d);case 19:return P.next=21,s.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=k,P.t2===P.t3){P.next=25;break}s.setPlaybackRate(k);case 25:case"end":return P.stop()}},a,this)}));function i(a,u,s){return n.apply(this,arguments)}return i})()},{key:"maintainPlaybackPosition",value:function(i,a,u){var s=this,d=u.allowedDrift,o=u.maxAllowedDrift,b=u.minCheckInterval,k=u.maxRateAdjustment,T=u.maxTimeToCatchUp,P=Math.min(T,Math.max(b,o))*1e3,m=(function(){var O=W(R().mark(function N(){var g,p,f,v,E;return R().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(y.t0=i.query().velocity===0,y.t0){y.next=6;break}return y.next=4,a.getPaused();case 4:y.t1=y.sent,y.t0=y.t1===!0;case 6:if(!y.t0){y.next=8;break}return y.abrupt("return");case 8:return y.t2=i.query().position,y.next=11,a.getCurrentTime();case 11:if(y.t3=y.sent,g=y.t2-y.t3,p=Math.abs(g),s.log("Drift: ".concat(g)),!(p>o)){y.next=22;break}return y.next=18,s.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),s.log("Resync by currentTime"),y.next=29;break;case 22:if(!(p>d)){y.next=29;break}return f=p/T,v=k,E=f<v?(v-f)/2:v,y.next=28,s.adjustSpeed(a,E*Math.sign(g));case 28:s.log("Resync by playbackRate");case 29:case"end":return y.stop()}},N)}));return function(){return O.apply(this,arguments)}})(),_=setInterval(function(){return m()},P);return{cancel:function(){return clearInterval(_)}}}},{key:"log",value:function(i){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(i))}},{key:"waitForTOReadyState",value:function(i,a){return new Promise(function(u){var s=function d(){i.readyState===a?u():i.addEventListener("readystatechange",d,{once:!0})};s()})}}]),t})(ue(EventTarget)),B=new WeakMap,ie=new WeakMap,I={},le=(function(){function r(e){var t=this,n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Ee(this,r),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!Ve(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var i=e.querySelector("iframe");
9i&&(e=i)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(B.has(e))return B.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new D(function(s,d){if(t._onMessage=function(k){if(!(!z(k.origin)||t.element.contentWindow!==k.source)){t.origin==="*"&&(t.origin=k.origin);var T=re(k.data),P=T&&T.event==="error",m=P&&T.data&&T.data.method==="ready";if(m){var _=new Error(T.data.message);_.name=T.data.name,d(_);return}var O=T&&T.event==="ready",N=T&&T.method==="ping";if(O||N){t.element.setAttribute("data-ready","true"),s();return}Ue(t,T)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var o=Oe(e,n),b=Ce(o);_e(b,o,e).then(function(k){var T=se(k,e);return t.element=T,t._originalElement=e,Ge(e,T),B.set(t.element,t),k}).catch(d)}});if(ie.set(this,a),B.set(this.element,this),this.element.nodeName==="IFRAME"&&x(this,"ping"),I.isEnabled){var u=function(){return I.exit()};this.fullscreenchangeHandler=function(){I.isFullscreen?Q(t,"event:exitFullscreen",u):te(t,"event:exitFullscreen",u),t.ready().then(function(){x(t,"fullscreenchange",I.isFullscreen)})},I.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return ke(r,[{key:"callMethod",value:function(t){for(var n=this,i=arguments.length,a=new Array(i>1?i-1:0),u=1;u<i;u++)a[u-1]=arguments[u];if(t==null)throw new TypeError("You must pass a method name.");return new D(function(s,d){return n.ready().then(function(){Q(n,t,{resolve:s,reject:d}),x(n,t,a)}).catch(d)})}},{key:"get",value:function(t){var n=this;return new D(function(i,a){return t=he(t,"get"),n.ready().then(function(){Q(n,t,{resolve:i,reject:a}),x(n,t)}).catch(a)})}},{key:"set",value:function(t,n){var i=this;return new D(function(a,u){if(t=he(t,"set"),n==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){Q(i,t,{resolve:a,reject:u}),x(i,t,n)}).catch(u)})}},{key:"on",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if(typeof n!="function")throw new TypeError("The callback must be a function.");var i=ee(this,"event:".concat(t));i.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Q(this,"event:".concat(t),n)}},{key:"off",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&typeof n!="function")throw new TypeError("The callback must be a function.");var i=te(this,"event:".concat(t),n);i&&this.callMethod("removeEventListener",t).catch(function(a){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=ie.get(this)||new D(function(n,i){i(new Error("Unknown player. Probably unloaded."))});return D.resolve(t)}},{key:"addCuePoint",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:n})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return I.isEnabled?I.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return I.isEnabled?I.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return I.isEnabled?D.resolve(I.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new D(function(n){if(ie.delete(t),B.delete(t.element),t._originalElement&&(B.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var i=t.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&t._originalElement&&t._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}t._window.removeEventListener("message",t._onMessage),I.isEnabled&&I.off("fullscreenchange",t.fullscreenchangeHandler),n()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return D.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new D(function(a,u){return u(new TypeError("Argument must be an array."))});var n=new D(function(a){return a(null)}),i=[t[0]?this.set("colorOne",t[0]):n,t[1]?this.set("colorTwo",t[1]):n,t[2]?this.set("colorThree",t[2]):n,t[3]?this.set("colorFour",t[3]):n
9];return D.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:(function(){var e=W(R().mark(function n(i,a){var u=this,s;return R().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(i){o.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return o.next=4,this.ready();case 4:return s=new tt(this,i,a),x(this,"notifyTimingObjectConnect"),s.addEventListener("disconnect",function(){return x(u,"notifyTimingObjectDisconnect")}),o.abrupt("return",s);case 8:case"end":return o.stop()}},n,this)}));function t(n,i){return e.apply(this,arguments)}return t})()}]),r})();Me||(I=Ze(),Ye(),Je(),Xe(),Ke());const rt="https://player.vimeo.com/video",nt="https://vimeo.com/event",it=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function ve(r,e={}){const t={src:at(r,e),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return e.config&&(t["data-config"]=JSON.stringify(e.config)),`
10    <style>
11      :host {
12        display: inline-block;
13        min-width: 300px;
14        min-height: 150px;
15        position: relative;
16      }
17      iframe {
18        position: absolute;
19        top: 0;
20        left: 0;
21      }
22      :host(:not([controls])) {
23        pointer-events: none;
24      }
25    </style>
26    <iframe${ot(t)}></iframe>
27  `}function at(r,e){if(!r.src)return;const t=r.src.match(it),n=t&&t[1],i=t&&t[2],a=t&&t[3],u={controls:r.controls===""?null:0,autoplay:r.autoplay,loop:r.loop,muted:r.muted,playsinline:r.playsinline,preload:r.preload??"metadata",transparent:!1,autopause:r.autopause,h:a,...e.config};return n==="event/"?`${nt}/${i}/embed?${ge(u)}`:`${rt}/${i}?${ge(u)}`}class Ae extends(globalThis.HTMLElement??class{}){static getTemplateHTML=ve;static shadowRootOptions={mode:"open"};static observedAttributes=["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"];loadComplete=new me;#c;#f;#p;#t=0;#r=NaN;#n=!1;#e=!this.autoplay;#o=1;#u=0;#i=0;#s=!1;#a=1;#d=NaN;#h=NaN;#l=null;constructor(){super(),this.#v("config")}requestFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:t.call(e)}exitFullscreen(){var e,t;return(t=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:t.call(e)}requestPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:t.call(e)}exitPictureInPicture(){var e,t;return(t=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:t.call(e)}get config(){return this.#l}set config(e){this.#l=e}async load(){var e;if(this.#c)return;const t=!this.#f;this.#f&&(this.loadComplete=new me),this.#f=!0,await(this.#c=Promise.resolve()),this.#c=null,this.#t=0,this.#r=NaN,this.#n=!1,this.#e=!this.autoplay,this.#o=1,this.#u=0,this.#i=0,this.#s=!1,this.#a=1,this.#i=0,this.#d=NaN,this.#h=NaN,this.dispatchEvent(new Event("emptied"));let n=this.api;if(this.api=null,!this.src)return;this.dispatchEvent(new Event("loadstart"));const i={autoplay:this.autoplay,controls:this.controls,loop:this.loop,muted:this.defaultMuted,playsinline:this.playsInl
27ine,preload:this.preload??"metadata",transparent:!1,autopause:this.hasAttribute("autopause"),...this.#l},a=async()=>{this.#i=1,this.dispatchEvent(new Event("loadedmetadata")),this.api&&(this.#n=await this.api.getMuted(),this.#a=await this.api.getVolume(),this.dispatchEvent(new Event("volumechange")),this.#r=await this.api.getDuration(),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()};if(this.#p){this.api=n,await this.api.loadVideo({...i,url:this.src}),await a(),await this.loadComplete;return}this.#p=!0;let u=(e=this.shadowRoot)==null?void 0:e.querySelector("iframe");t&&u&&(this.#l=JSON.parse(u.getAttribute("data-config")||"{}")),this.shadowRoot||(this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=ve(st(this.attributes),this),u=this.shadowRoot.querySelector("iframe")),this.api=new le(u);const s=document.createElement("video");this.textTracks=s.textTracks,this.api.getTextTracks().then(o=>{o.forEach(b=>{s.addTextTrack(b.kind,b.label,b.language)})}),this.textTracks.addEventListener("change",()=>{const o=Array.from(this.textTracks).find(b=>b.mode==="showing");o?this.api.enableTextTrack(o.language,o.kind):this.api.disableTextTrack()});const d=()=>{this.api.off("loaded",d),a()};this.api.on("loaded",d),this.api.on("bufferstart",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{this.#e&&(this.#e=!1,this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{this.#i=3,this.#e=!1,this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{this.#s=!0,this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",()=>{this.#s=!1,this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{this.#e=!0,this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{this.#e=!0,this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:o})=>{this.#o=o,this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:o})=>{this.#a=o,this.api&&(this.#n=await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:o})=>{this.#r=o,this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:o})=>{this.#t=o,this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:o})=>{this.#u=o,this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:o,videoHeight:b})=>{this.#d=o,this.#h=b,this.dispatchEvent(new Event("resize"))}),await this.loadComplete}async attributeChangedCallback(e,t,n){if(t!==n){switch(e){case"autoplay":case"controls":case"src":{this.load();return}}switch(await this.loadComplete,e){case"loop":{this.api.setLoop(this.loop);break}}}}async play(){var e;this.#e=!1,this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(t){throw this.#e=!0,this.dispatchEvent(new Event("pause")),t}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return this.#t>=this.#r}get seeking(){return this.#s}get readyState(){return this.#i}get videoWidth(){return this.#d}get videoHeight(){return this.#h}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return this.#e}get duration(){return this.#r}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return this.#u>0?ye(0,this.#u):ye()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return this.#t}set currentTime(e){this.currentTime!=e&&(this.#t=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setCurrentTime(e).catch(()=>{})}))}get defaultMuted(){return this.hasAttribute("muted")}set defaultMuted(e){this.defaultMuted!=e&&this.toggleAttribute("muted",!!e)}get loop(){return this.hasAttribute("loop")}set loop(e){this.loop!=e&&this.toggleAttribute("loop",!!e)}get muted(){return this.#n}set muted(e){this.muted!=e&&(this.#n=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setMuted(e).catch(()=>{})}))}get playbackRate(){return this.#o}set playbackRate(e){this.playbackRate!=e&&(this.#o=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setPlaybackRate(e).catch(()=>{})}))}
27get playsInline(){return this.hasAttribute("playsinline")}set playsInline(e){this.playsInline!=e&&this.toggleAttribute("playsinline",!!e)}get poster(){return this.getAttribute("poster")}set poster(e){this.poster!=e&&this.setAttribute("poster",`${e}`)}get volume(){return this.#a}set volume(e){this.volume!=e&&(this.#a=e,this.loadComplete.then(()=>{var t;(t=this.api)==null||t.setVolume(e).catch(()=>{})}))}#v(e){if(Object.prototype.hasOwnProperty.call(this,e)){const t=this[e];delete this[e],this[e]=t}}}function ot(r){let e="";for(const t in r){const n=r[t];n===""?e+=` ${ae(t)}`:e+=` ${ae(t)}="${ae(`${n}`)}"`}return e}function ae(r){return r.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function ge(r){return String(new URLSearchParams(ut(r)))}function ut(r){let e={};for(let t in r){let n=r[t];n===!0||n===""?e[t]=1:n===!1?e[t]=0:n!=null&&(e[t]=n)}return e}function st(r){let e={};for(let t of r)e[t.name]=t.value;return e}class me extends Promise{constructor(e=()=>{}){let t,n;super((i,a)=>{e(i,a),t=i,n=a}),this.resolve=t,this.reject=n}}function ye(r,e){return Array.isArray(r)?oe(r):r==null||e==null||r===0&&e===0?oe([[0,0]]):oe([[r,e]])}function oe(r){return Object.defineProperties(r,{start:{value:e=>r[e][0]},end:{value:e=>r[e][1]}}),r}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",Ae);var lt=Ae,ct=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),ft={className:"class",htmlFor:"for"};function Ne(r){return r.toLowerCase()}function we(r){if(typeof r=="boolean")return r?"":void 0;if(typeof r!="function"&&!(typeof r=="object"&&r!==null))return r}function dt({react:r,tagName:e,elementClass:t,events:n,displayName:i,defaultProps:a,toAttributeName:u=Ne,toAttributeValue:s=we}){const d=Number.parseInt(r.version)>=19,o=r.forwardRef((b,k)=>{var T,P;const m=r.useRef(null),_=r.useRef(new Map),O={},N={},g={},p={};for(const[f,v]of Object.entries(b)){if(ct.has(f)){g[f]=v;continue}const E=u(ft[f]??f);if(t.prototype&&f in t.prototype&&!(f in(((T=globalThis.HTMLElement)==null?void 0:T.prototype)??{}))&&!((P=t.observedAttributes)!=null&&P.some(y=>y===E))){p[f]=v;continue}if(f.startsWith("on")){O[f]=v;continue}const S=s(v);if(E&&S!=null&&(N[E]=String(S),d||(g[E]=S)),E&&d){const y=we(v);S!==y?g[E]=S:g[E]=v}}if(typeof window<"u"){for(const f in O){const v=O[f],E=f.endsWith("Capture"),S=(n?.[f]??f.slice(2).toLowerCase()).slice(0,E?-7:void 0);r.useLayoutEffect(()=>{const y=m?.current;if(!(!y||typeof v!="function"))return y.addEventListener(S,v,E),()=>{y.removeEventListener(S,v,E)}},[m?.current,v])}r.useLayoutEffect(()=>{if(m.current===null)return;const f=new Map;for(const v in p)be(m.current,v,p[v]),_.current.delete(v),f.set(v,p[v]);for(const[v,E]of _.current)be(m.current,v,void 0);_.current=f})}if(typeof window>"u"&&t?.getTemplateHTML&&t?.shadowRootOptions){const{mode:f,delegatesFocus:v}=t.shadowRootOptions,E=r.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:t.getTemplateHTML(N,b)}});g.children=[E,g.children]}return r.createElement(e,{...a,...g,ref:r.useCallback(f=>{m.current=f,typeof k=="function"?k(f):k!==null&&(k.current=f)},[k])})});return o.displayName=i??t.name,o}function be(r,e,t){var n;r[e]=t,t==null&&e in(((n=globalThis.HTMLElement)==null?void 0:n.prototype)??{})&&r.removeAttribute(e)}var pt=dt({react:Re,tagName:"vimeo-video",elementClass:lt,toAttributeName(r){return r==="muted"?"":r==="defaultMuted"?"muted":Ne(r)}});/*! Bundled license information:
28
29ce-la-react/dist/ce-la-react.js:
30  (**
31   * @license
32   * Copyright 2018 Google LLC
33   * SPDX-License-Identifier: BSD-3-Clause
34   *
35   * Modified version of `@lit/react` for vanilla custom elements with support for SSR.
36   *)
37*/export{pt as default};
38//# sourceMappingURL=react-BExdP0QD.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.