PageSourceSearch

https://weversity.org/assets/react-BtuNKpXW.js

js weversity.org collected 2026-10-02 01:11:08 UTC 52,461 bytes, 37 lines download raw bytes

vendor: 1,220 bytes, line 1
1var at=Object.defineProperty;var Fe=n=>{throw TypeError(n)};var ot=(n,t,e)=>t in n?at(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var pe=(n,t,e)=>ot(n,typeof t!="symbol"?t+"":t,e),Ce=(n,t,e)=>t.has(n)||Fe("Cannot "+e);var O=(n,t,e)=>(Ce(n,t,"read from private field"),e?e.call(n):t.get(n)),L=(n,t,e)=>t.has(n)?Fe("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(n):t.set(n,e),k=(n,t,e,r)=>(Ce(n,t,"write to private field"),r?r.call(n,e):t.set(n,e),e),Oe=(n,t,e)=>(Ce(n,t,"access private method"),e);import{R as ut}from"./vendor-react-DXfu0YkJ.js";import{M as st}from"./index-B6_3PTYU.js";/*! @vimeo/player v2.29.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function qe(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),e.push.apply(e,r)}return e}function De(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?qe(Object(e),!0).forEach(function(r){be(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):qe(Object(e)).forEac
vendor: 6,031 bytes, line 1
1h(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function I(){I=function(){return n};var n={},t=Object.prototype,e=t.hasOwnProperty,r=Object.defineProperty||function(c,l,d){c[l]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function h(c,l,d){return Object.defineProperty(c,l,{value:d,enumerable:!0,configurable:!0,writable:!0}),c[l]}try{h({},"")}catch{h=function(l,d,S){return l[d]=S}}function s(c,l,d,S){var w=l&&l.prototype instanceof M?l:M,_=Object.create(w.prototype),R=new D(S||[]);return r(_,"_invoke",{value:v(c,d,R)}),_}function P(c,l,d){try{return{type:"normal",arg:c.call(l,d)}}catch(S){return{type:"throw",arg:S}}}n.wrap=s;var E={};function M(){}function T(){}function g(){}var N={};h(N,a,function(){return this});var A=Object.getPrototypeOf,j=A&&A(A(x([])));j&&j!==t&&e.call(j,a)&&(N=j);var m=g.prototype=M.prototype=Object.create(N);function p(c){["next","throw","return"].forEach(function(l){h(c,l,function(d){return this._invoke(l,d)})})}function f(c,l){function d(w,_,R,V){var $=P(c[w],c,_);if($.type!=="throw"){var ae=$.arg,de=ae.value;return de&&typeof de=="object"&&e.call(de,"__await")?l.resolve(de.__await).then(function(J){d("next",J,R,V)},function(J){d("throw",J,R,V)}):l.resolve(de).then(function(J){ae.value=J,R(ae)},function(J){return d("throw",J,R,V)})}V($.arg)}var S;r(this,"_invoke",{value:function(w,_){function R(){return new l(function(V,$){d(w,_,V,$)})}return S=S?S.then(R,R):R()}})}function v(c,l,d){var S="suspendedStart";return function(w,_){if(S==="executing")throw new Error("Generator is already running");if(S==="completed"){if(w==="throw")throw _;return Se()}for(d.method=w,d.arg=_;;){var R=d.delegate;if(R){var V=b(R,d);if(V){if(V===E)continue;return V}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(S==="suspendedStart")throw S="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);S="executing";var $=P(c,l,d);if($.type==="normal"){if(S=d.done?"completed":"suspendedYield",$.arg===E)continue;return{value:$.arg,done:d.done}}$.type==="throw"&&(S="completed",d.method="throw",d.arg=$.arg)}}}function b(c,l){var d=l.method,S=c.iterator[d];if(S===void 0)return l.delegate=null,d==="throw"&&c.iterator.return&&(l.method="return",l.arg=void 0,b(c,l),l.method==="throw")||d!=="return"&&(l.method="throw",l.arg=new TypeError("The iterator does not provide a '"+d+"' method")),E;var w=P(S,c.iterator,l.arg);if(w.type==="throw")return l.method="throw",l.arg=w.arg,l.delegate=null,E;var _=w.arg;return _?_.done?(l[c.resultName]=_.value,l.next=c.nextLoc,l.method!=="return"&&(l.method="next",l.arg=void 0),l.delegate=null,E):_:(l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,E)}function C(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 D(c){this.tryEntries=[{tryLoc:"root"}],c.forEach(C,this),this.reset(!0)}function x(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 d=-1,S=function w(){for(;++d<c.length;)if(e.call(c,d))return w.value=c[d],w.done=!1,w;return w.value=void 0,w.done=!0,w};return S.next=S}}return{next:Se}}function Se(){return{value:void 0,done:!0}}return T.prototype=g,r(m,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:T,configurable:!0}),T.displayName=h(g,u,"GeneratorFunction"),n.isGeneratorFunction=function(c){var l=typeof c=="function"&&c.constructor;return!!l&&(l===T||(l.displayName||l.name)==="GeneratorFunction")},n.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,g):(c.__proto__=g,h(c,u,"GeneratorFunction")),c.prototype=Object.create(m),c},n.awrap=function(c){return{__await:c}},p(f.prototype),h(f.prototype,o,function(){return this}),n.AsyncIterator=f,n.async=function(c,l,d,S,w){w===void 0&&(w=Promise);var _=new f(s(c,l,d,S),w);return n.isGeneratorFunction(l)?_:_.next().then(function(R){return R.done?R.value:_.next()})},p(m),h(m,u,"Generator"),h(m,a,function(){return this}),h(m,"toString",function(){return"[object Generator]"}),n.keys=function(c){var l=Object(c),d=[];for(var S in l)d.push(S);return d.reverse(),function w(){for(;d.length;){var _=d.pop();if(_ in l)return w.value=_,w.done=!1,w}return w.done=!0,w}},n.values=x,D.prototype={constructor:D,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"&&e.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 d($,ae){return _.type="throw",_.arg=c,l.next=$,ae&&(l.method="next",l.arg=void 0),!!ae}for(var S=this.tryEntries.length-1;S>=0;--S){var w=this.tryEntries[S],_=w.completion;if(w.tryLoc==="root")return d("end");if(w.tryLoc<=this.prev){var R=e.call(w,"catchLoc"),V=e.call(w,"finallyLoc");if(R&&V){if(this.prev<w.catchLoc)return d(w.catchLoc,!0);if(this.prev<w.finallyLoc)return d(w.finallyLoc)}else if(R){if(this.prev<w.catchLoc)return d(w.catchLoc,!0)}else{if(!V)throw new Error("try statement without catch or finally");if(this.prev<w.finallyLoc)return d(w.finallyLoc)}}}},abrupt:function(c,l){for(var d=this.tryEntries.length-1;d>=0;--d){var S=this.tryEntries[d];if(S.tryLoc<=this.prev&&e.call(S,"finallyLoc")&&this.prev<S.finallyLoc){var w=S;break}}w&&(c==="break"||c==="continue")&&w.tryLoc<=l&&l<=w.finallyLoc&&(w=null);var _=w?w.completion:{};return _.type=c,_.arg=l,w?(this.method="next",this.next=w.finallyLoc,E):this.complete(_)},complete:function(c,l){if(c.type==="throw")throw c.arg;return c.type==="break"||c.type==="continue"?this.next=c.arg:c.t
1ype==="return"?(this.rval=this.arg=c.arg,this.method="return",this.next="end"):c.type==="normal"&&l&&(this.next=l),E},finish:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.finallyLoc===c)return this.complete(d.completion,d.afterLoc),y(d),E}},catch:function(c){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.tryLoc===c){var S=d.completion;if(S.type==="throw"){var w=S.arg;y(d)}return w}}throw new Error("illegal catch attempt")},delegateYield:function(c,l,d){return this.delegate={iterator:x(c),resultName:l,nextLoc:d},this.method==="next"&&(this.arg=void 0),E}},n}function Ve(n,t,e,r,i,a,o){try{var u=n[a](o),h=u.value}catch(s){e(s);return}u.done?t(h):Promise.resolve(h).then(r,i)}function K(n){return function(){var t=this,e=arguments;return new Promise(function(r,i){var a=n.apply(t,e);function o(h){Ve(a,r,i,o,u,"next",h)}function u(h){Ve(a,r,i,o,u,"throw",h)}o(void 0)})}}function Ue(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function lt(n,t){for(var e=0;e<t.length;e++){var r=t[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,Je(r.key),r)}}function Qe(n,t,e){return t&&lt(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function be(n,t,e){return t=Je(t),t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function ct(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),t&&ye(n,t)}function ge(n){return ge=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ge(n)}function ye(n,t){return ye=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},ye(n,t)}function Ye(){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 ke(n,t,e){return Ye()?ke=Reflect.construct.bind():ke=function(i,a,o){var u=[null];u.push.apply(u,a);var h=Function.bind.apply(i,u),s=new h;return o&&ye(s,o.prototype),s},ke.apply(null,arguments)}function ft(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function Le(n){var t=typeof Map=="function"?new Map:void 0;return Le=function(r){if(r===null||!ft(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,i)}function i(){return ke(r,arguments,ge(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),ye(i,r)},Le(n)}function Ee(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ht(n,t){if(t&&(typeof t=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ee(n)}function dt(n){var t=Ye();return function(){var r=ge(n),i;if(t){var a=ge(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return ht(this,i)}}function pt(n,t){if(typeof n!="object"||n===null)return n;var e=n[Symbol.toPrimitive];if(e!==void 0){var r=e.call(n,t);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function Je(n){var t=pt(n,"string");return typeof t=="symbol"?t:String(t)}var Xe=typeof global<"u"&&{}.toString.call(global)==="[object global]";function $e(n,t){return n.indexOf(t.toLowerCase())===0?n:"".concat(t.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function vt(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function mt(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function ie(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function Ke(n){var t=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return t.test(n)}function gt(n){for(var t=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),e=(t&&t[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=r;i<a.length;i++){var o=a[i];if(e.endsWith(o))return e}return"vimeo.com"}function Ze(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=n.id,e=n.url,r=t||e;if(!r)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(mt(r))return"https://vimeo.com/".concat(r);if(ie(r))return r.replace("http:","https:");throw t?new TypeError("“".concat(t,"” is not a valid video id.")):new TypeError("“".concat(r,"” is not a vimeo.com url."))}var xe=function(t,e,r){var i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof e=="string"?[e]:e;
1return o.forEach(function(u){t[i](u,r)}),{cancel:function(){return o.forEach(function(h){return t[a](h,r)})}}},yt=typeof Array.prototype.indexOf<"u",wt=typeof window<"u"&&typeof window.postMessage<"u";if(!Xe&&(!yt||!wt))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var ue=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bt(n,t){return t={exports:{}},n(t,t.exports),t.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(n){if(n.WeakMap)return;var t=Object.prototype.hasOwnProperty,e=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),r=function(a,o,u){e?Object.defineProperty(a,o,{configurable:!0,writable:!0,value:u}):a[o]=u};n.WeakMap=(function(){function a(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id",u("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}r(a.prototype,"delete",function(s){if(o(this,"delete"),!i(s))return!1;var P=s[this._id];return P&&P[0]===s?(delete s[this._id],!0):!1}),r(a.prototype,"get",function(s){if(o(this,"get"),!!i(s)){var P=s[this._id];if(P&&P[0]===s)return P[1]}}),r(a.prototype,"has",function(s){if(o(this,"has"),!i(s))return!1;var P=s[this._id];return!!(P&&P[0]===s)}),r(a.prototype,"set",function(s,P){if(o(this,"set"),!i(s))throw new TypeError("Invalid value used as weak map key");var E=s[this._id];return E&&E[0]===s?(E[1]=P,this):(r(s,this._id,[s,P]),this)});function o(s,P){if(!i(s)||!t.call(s,"_id"))throw new TypeError(P+" method called on incompatible receiver "+typeof s)}function u(s){return s+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return r(a,"_polyfill",!0),a})();function i(a){return Object(a)===a}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:ue);var W=bt(function(n){/*! Native Promise Only
7    v0.8.1 (c) Kyle Simpson
8    MIT License: http://getify.mit-license.org
9*/(function(e,r,i){r[e]=r[e]||i(),n.exports&&(n.exports=r[e])})("Promise",ue,function(){var e,r,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(p){return setImmediate(p)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(p,f,v,b){return Object.defineProperty(p,f,{value:v,writable:!0,configurable:b!==!1})}}catch{e=function(f,v,b){return f[v]=b,f}}i=(function(){var p,f,v;function b(C,y){this.fn=C,this.self=y,this.next=void 0}return{add:function(y,D){v=new b(y,D),f?f.next=v:p=v,f=v,v=void 0},drain:function(){var y=p;for(p=f=r=void 0;y;)y.fn.call(y.self),y=y.next}}})();function u(m,p){i.add(m,p),r||(r=o(i.drain))}function h(m){var p,f=typeof m;return m!=null&&(f=="object"||f=="function")&&(p=m.then),typeof p=="function"?p:!1}
9function s(){for(var m=0;m<this.chain.length;m++)P(this,this.state===1?this.chain[m].success:this.chain[m].failure,this.chain[m]);this.chain.length=0}function P(m,p,f){var v,b;try{p===!1?f.reject(m.msg):(p===!0?v=m.msg:v=p.call(void 0,m.msg),v===f.promise?f.reject(TypeError("Promise-chain cycle")):(b=h(v))?b.call(v,f.resolve,f.reject):f.resolve(v))}catch(C){f.reject(C)}}function E(m){var p,f=this;if(!f.triggered){f.triggered=!0,f.def&&(f=f.def);try{(p=h(m))?u(function(){var v=new g(f);try{p.call(m,function(){E.apply(v,arguments)},function(){M.apply(v,arguments)})}catch(b){M.call(v,b)}}):(f.msg=m,f.state=1,f.chain.length>0&&u(s,f))}catch(v){M.call(new g(f),v)}}}function M(m){var p=this;p.triggered||(p.triggered=!0,p.def&&(p=p.def),p.msg=m,p.state=2,p.chain.length>0&&u(s,p))}function T(m,p,f,v){for(var b=0;b<p.length;b++)(function(y){m.resolve(p[y]).then(function(x){f(y,x)},v)})(b)}function g(m){this.def=m,this.triggered=!1}function N(m){this.promise=m,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function A(m){if(typeof m!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var p=new N(this);this.then=function(v,b){var C={success:typeof v=="function"?v:!0,failure:typeof b=="function"?b:!1};return C.promise=new this.constructor(function(D,x){if(typeof D!="function"||typeof x!="function")throw TypeError("Not a function");C.resolve=D,C.reject=x}),p.chain.push(C),p.state!==0&&u(s,p),C.promise},this.catch=function(v){return this.then(void 0,v)};try{m.call(void 0,function(v){E.call(p,v)},function(v){M.call(p,v)})}catch(f){M.call(p,f)}}var j=e({},"constructor",A,!1);return A.prototype=j,e(j,"__NPO__",0,!1),e(A,"resolve",function(p){var f=this;return p&&typeof p=="object"&&p.__NPO__===1?p:new f(function(b,C){if(typeof b!="function"||typeof C!="function")throw TypeError("Not a function");b(p)})}),e(A,"reject",function(p){return new this(function(v,b){if(typeof v!="function"||typeof b!="function")throw TypeError("Not a function");b(p)})}),e(A,"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(b,C){if(typeof b!="function"||typeof C!="function")throw TypeError("Not a function");var y=p.length,D=Array(y),x=0;T(f,p,function(c,l){D[c]=l,++x===y&&b(D)},C)})}),e(A,"race",function(p){var f=this;return a.call(p)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(b,C){if(typeof b!="function"||typeof C!="function")throw TypeError("Not a function");T(f,p,function(D,x){b(x)},C)})}),A})}),B=new WeakMap;function ve(n,t,e){var r=B.get(n.element)||{};t in r||(r[t]=[]),r[t].push(e),B.set(n.element,r)}function Pe(n,t){var e=B.get(n.element)||{};return e[t]||[]}function Te(n,t,e){var r=B.get(n.element)||{};if(!r[t])return!0;if(!e)return r[t]=[],B.set(n.element,r),!0;var i=r[t].indexOf(e);return i!==-1&&r[t].splice(i,1),B.set(n.element,r),r[t]&&r[t].length===0}function kt(n,t){var e=Pe(n,t);if(e.length<1)return!1;var r=e.shift();return Te(n,t,r),r}function Et(n,t){var e=B.get(n);B.set(t,e),B.delete(n)}function Me(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(t){return console.warn(t),{}}return n}function X(n,t,e){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var r={method:t};e!==void 0&&(r.value=e);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),n.element.contentWindow.postMessage(r,n.origin)}}function Pt(n,t){t=Me(t);var e=[],r;if(t.event){if(t.event==="error"){var i=Pe(n,t.data.method);i.forEach(function(o){var u=new Error(t.data.message);u.name=t.data.name,o.reject(u),Te(n,t.data.method,o)})}e=Pe(n,"event:".concat(t.event)),r=t.data}else if(t.method){var a=kt(n,t.method);a&&(e.push(a),r=t.value)}e.forEach(function(o){try{if(typeof o=="function"){o.call(n,r);return}o.resolve(r)}catch{}})}var Tt=["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 et(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Tt.reduce(function(e,r){var i=n.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(e[r]=i===""?1:i),e},t)}function je(n,t){var e=n.html;if(!t)throw new TypeError("An element must be provided");
9if(t.getAttribute("data-vimeo-initialized")!==null)return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=e,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function tt(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},e=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,i){if(!ie(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var a=gt(n),o="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var u in t)t.hasOwnProperty(u)&&(o+="&".concat(u,"=").concat(encodeURIComponent(t[u])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",o,!0),h.onload=function(){if(h.status===404){i(new Error("“".concat(n,"” was not found.")));return}if(h.status===403){i(new Error("“".concat(n,"” is not embeddable.")));return}try{var s=JSON.parse(h.responseText);if(s.domain_status_code===403){je(s,e),i(new Error("“".concat(n,"” is not embeddable.")));return}r(s)}catch(P){i(P)}},h.onerror=function(){var s=h.status?" (".concat(h.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(s,".")))},h.send()})}function Mt(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,t=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),e=function(i){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(i))};t.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=et(r),a=Ze(i);tt(a,i,r).then(function(o){return je(o,r)}).catch(e)}catch(o){e(o)}})}function St(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var t=function(r){if(ie(r.origin)&&!(!r.data||r.data.event!=="spacechange")){for(var i=n.querySelectorAll("iframe"),a=0;a<i.length;a++)if(i[a].contentWindow===r.source){var o=i[a].parentElement;o.style.paddingBottom="".concat(r.data.data[0].bottom,"px");break}}};window.addEventListener("message",t)}}function Ct(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var t=function(r){if(ie(r.origin)){var i=Me(r.data);if(!(!i||i.event!=="ready"))for(var a=n.querySelectorAll("iframe"),o=0;o<a.length;o++){var u=a[o],h=u.contentWindow===r.source;if(Ke(u.src)&&h){var s=new Ie(u);s.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",t)}}function Ot(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
9=!0;var t=function(i){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(i))},e=function(i){if(ie(i.origin)){var a=Me(i.data);if(!(!a||a.event!=="ready"))for(var o=n.querySelectorAll("iframe"),u=function(){var P=o[h],E=P.contentWindow===i.source;if(Ke(P.src)&&E){var M=new Ie(P);M.getVideoId().then(function(T){var g=new RegExp("[?&]vimeo_t_".concat(T,"=([^&#]*)")).exec(window.location.href);if(g&&g[1]){var N=decodeURI(g[1]);M.setCurrentTime(N)}}).catch(t)}},h=0;h<o.length;h++)u()}};window.addEventListener("message",e)}}function _t(){var n=(function(){for(var r,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,o=i.length,u={};a<o;a++)if(r=i[a],r&&r[1]in document){for(a=0;a<r.length;a++)u[i[0][a]]=r[a];return u}return!1})(),t={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},e={request:function(i){return new Promise(function(a,o){var u=function s(){e.off("fullscreenchange",s),a()};e.on("fullscreenchange",u),i=i||document.documentElement;var h=i[n.requestFullscreen]();h instanceof Promise&&h.then(u).catch(o)})},exit:function(){return new Promise(function(i,a){if(!e.isFullscreen){i();return}var o=function h(){e.off("fullscreenchange",h),i()};e.on("fullscreenchange",o);var u=document[n.exitFullscreen]();u instanceof Promise&&u.then(o).catch(a)})},on:function(i,a){var o=t[i];o&&document.addEventListener(o,a)},off:function(i,a){var o=t[i];o&&document.removeEventListener(o,a)}};return Object.defineProperties(e,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),e}var At={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},Nt=(function(n){ct(e,n);var t=dt(e);function e(r,i){var a,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;return Ue(this,e),a=t.call(this),be(Ee(a),"logger",void 0),be(Ee(a),"speedAdjustment",0),be(Ee(a),"adjustSpeed",(function(){var h=K(I().mark(function s(P,E){var M;return I().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(a.speedAdjustment!==E){g.next=2;break}return g.abrupt("return");case 2:return g.next=4,P.getPlaybackRate();case 4:return g.t0=g.sent,g.t1=a.speedAdjustment,g.t2=g.t0-g.t1,g.t3=E,M=g.t2+g.t3,a.log("New playbackRate:  ".concat(M)),g.next=12,P.setPlaybackRate(M);case 12:a.speedAdjustment=E;case 13:case"end":return g.stop()}},s)}));return function(s,P){return h.apply(this,arguments)}})()),a.logger=u,a.init(i,r,De(De({},At),o)),a}return Qe(e,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(function(){var r=K(I().mark(function a(o,u,h){var s=this,P,E,M;return I().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.waitForTOReadyState(o,"open");case 2:if(h.role!=="viewer"){g.next=10;break}return g.next=5,this.updatePlayer(o,u,h);case 5:P=xe(o,"change",function(){return s.updatePlayer(o,u,h)}),E=this.maintainPlaybackPosition(o,u,h),this.addEventListener("disconnect",function(){E.cancel(),P.cancel()}),g.next=14;break;case 10:return g.next=12,this.updateTimingObject(o,u);case 12:M=xe(u,["seeked","play","pause","ratechange"],function(){return s.updateTimingObject(o,u)},"on","off"),this.addEventListener("disconnect",function(){return M.cancel()});case 14:case"end":return g.stop()}},a,this)}));function i(a,o,u){return r.apply(this,arguments)}return i})()},{key:"updateTimingObject",value:(function(){var r=K(I().mark(function a(o,u){return I().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return s.t0=o,s.next=3,u.getCurrentTime();case 3:return s.t1=s.sent,s.next=6,u.getPaused();case 6:if(!s.sent){s.next=10;break}s.t2=0,s.next=13;break;case 10:return s.next=12,u.getPlaybackRate();case 12:s.t2=s.sent;case 13:s.t3=s.t2,s.t4={position:s.t1,velocity:s.t3},s.t0.update.call(s.t0,s.t4);case 16:case"end":return s.stop()}},a)}));function i(a,o){return r.apply(this,arguments)}return i})()},{key:"updatePlayer",value:(function(){var r=K(I().mark(function a(o,u,h){var s,P,E;return I().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(s=o.query(),P=s.position,E=s.velocity,typeof P=="number"&&u.setCurrentTime(P),typeof E!="number"){T.next=25;break}if(E!==0){T.next=11;break}return T.next=6,u.getPaused();case 6:if(T.t0=T.sent,T.t0!==!1){T.next=9;break}u.pause();case 9:T.next=25;break;case 11:if(!(E>0)){T.next=25;break}return T.next=14,u.getPaused();case 14:if(T.t1=T.sent,T.t1!==!0){T.next=19;break}return T.next=18,u.play().catch((function(){var g=K(I().mark(function N(A){return I().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(!(A.name==="NotAllowedError"&&h.autoPlayMuted)){m.next=5;break}return m.next=3,u.setMuted(!0);case 3:return m.next=5,u.play().catch(function(p){return console.error("Couldn't play the video from TimingSrcConnector. Error:",p)});case 5:case"end":return m.stop()}},N)}));return function(N){return g.apply(this,arguments)}})());case 18:this.updatePlayer(o,u,h);case 19:return T.next=21,u.getPlaybackRate();case 21:if(T.t2=T.sent,T.t3=E,T.t2===T.t3){T.next=25;break}u.setPlaybackRate(E);
9case 25:case"end":return T.stop()}},a,this)}));function i(a,o,u){return r.apply(this,arguments)}return i})()},{key:"maintainPlaybackPosition",value:function(i,a,o){var u=this,h=o.allowedDrift,s=o.maxAllowedDrift,P=o.minCheckInterval,E=o.maxRateAdjustment,M=o.maxTimeToCatchUp,T=Math.min(M,Math.max(P,s))*1e3,g=(function(){var A=K(I().mark(function j(){var m,p,f,v,b;return I().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,m=y.t2-y.t3,p=Math.abs(m),u.log("Drift: ".concat(m)),!(p>s)){y.next=22;break}return y.next=18,u.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),u.log("Resync by currentTime"),y.next=29;break;case 22:if(!(p>h)){y.next=29;break}return f=p/M,v=E,b=f<v?(v-f)/2:v,y.next=28,u.adjustSpeed(a,b*Math.sign(m));case 28:u.log("Resync by playbackRate");case 29:case"end":return y.stop()}},j)}));return function(){return A.apply(this,arguments)}})(),N=setInterval(function(){return g()},T);return{cancel:function(){return clearInterval(N)}}}},{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(o){var u=function h(){i.readyState===a?o():i.addEventListener("readystatechange",h,{once:!0})};u()})}}]),e})(Le(EventTarget)),oe=new WeakMap,_e=new WeakMap,F={},Ie=(function(){function n(t){var e=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Ue(this,n),window.jQuery&&t instanceof jQuery&&(t.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),t=t[0]),typeof document<"u"&&typeof t=="string"&&(t=document.getElementById(t)),!vt(t))throw new TypeError("You must pass either a valid element or a valid id.");if(t.nodeName!=="IFRAME"){var i=t.querySelector("iframe");
9i&&(t=i)}if(t.nodeName==="IFRAME"&&!ie(t.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(oe.has(t))return oe.get(t);this._window=t.ownerDocument.defaultView,this.element=t,this.origin="*";var a=new W(function(u,h){if(e._onMessage=function(E){if(!(!ie(E.origin)||e.element.contentWindow!==E.source)){e.origin==="*"&&(e.origin=E.origin);var M=Me(E.data),T=M&&M.event==="error",g=T&&M.data&&M.data.method==="ready";if(g){var N=new Error(M.data.message);N.name=M.data.name,h(N);return}var A=M&&M.event==="ready",j=M&&M.method==="ping";if(A||j){e.element.setAttribute("data-ready","true"),u();return}Pt(e,M)}},e._window.addEventListener("message",e._onMessage),e.element.nodeName!=="IFRAME"){var s=et(t,r),P=Ze(s);tt(P,s,t).then(function(E){var M=je(E,t);return e.element=M,e._originalElement=t,Et(t,M),oe.set(e.element,e),E}).catch(h)}});if(_e.set(this,a),oe.set(this.element,this),this.element.nodeName==="IFRAME"&&X(this,"ping"),F.isEnabled){var o=function(){return F.exit()};this.fullscreenchangeHandler=function(){F.isFullscreen?ve(e,"event:exitFullscreen",o):Te(e,"event:exitFullscreen",o),e.ready().then(function(){X(e,"fullscreenchange",F.isFullscreen)})},F.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Qe(n,[{key:"callMethod",value:function(e){for(var r=this,i=arguments.length,a=new Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];if(e==null)throw new TypeError("You must pass a method name.");return new W(function(u,h){return r.ready().then(function(){ve(r,e,{resolve:u,reject:h}),X(r,e,a)}).catch(h)})}},{key:"get",value:function(e){var r=this;return new W(function(i,a){return e=$e(e,"get"),r.ready().then(function(){ve(r,e,{resolve:i,reject:a}),X(r,e)}).catch(a)})}},{key:"set",value:function(e,r){var i=this;return new W(function(a,o){if(e=$e(e,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){ve(i,e,{resolve:a,reject:o}),X(i,e,r)}).catch(o)})}},{key:"on",value:function(e,r){if(!e)throw new TypeError("You must pass an event name.");if(!r)throw new TypeError("You must pass a callback function.");if(typeof r!="function")throw new TypeError("The callback must be a function.");var i=Pe(this,"event:".concat(e));i.length===0&&this.callMethod("addEventListener",e).catch(function(){}),ve(this,"event:".concat(e),r)}},{key:"off",value:function(e,r){if(!e)throw new TypeError("You must pass an event name.");if(r&&typeof r!="function")throw new TypeError("The callback must be a function.");
vendor: 4,738 bytes, line 9
9var i=Te(this,"event:".concat(e),r);i&&this.callMethod("removeEventListener",e).catch(function(a){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=_e.get(this)||new W(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return W.resolve(e)}},{key:"addCuePoint",value:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:r})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,r){if(!e)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:r})}},{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 F.isEnabled?F.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return F.isEnabled?F.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return F.isEnabled?W.resolve(F.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 e=this;return new W(function(r){if(_e.delete(e),oe.delete(e.element),e._originalElement&&(oe.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&e.element.nodeName==="IFRAME"&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&e.element.nodeName==="DIV"&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var i=e.element.querySelector("iframe");i&&i.parentNode&&(i.parentNode.parentNode&&e._originalElement&&e._originalElement!==i.parentNode?i.parentNode.parentNode.removeChild(i.parentNode):i.parentNode.removeChild(i))}e._window.removeEventListener("message",e._onMessage),F.isEnabled&&F.off("fullscreenchange",e.fullscreenchangeHandler),r()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{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 W.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new W(function(a,o){return o(new TypeError("Argument must be an array."))});var r=new W(function(a){return a(null)}),i=[e[0]?this.set("colorOne",e[0]):r,e[1]?this.set("colorTwo",e[1]):r,e[2]?this.set("colorThree",e[2]):r,e[3]?this.set("colorFour",e[3]):r];return W.all(i)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{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(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{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(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}
9},{key:"setQuality",value:function(e){return this.set("quality",e)}},{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(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(function(){var t=K(I().mark(function r(i,a){var o=this,u;return I().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(i){s.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return s.next=4,this.ready();case 4:return u=new Nt(this,i,a),X(this,"notifyTimingObjectConnect"),u.addEventListener("disconnect",function(){return X(o,"notifyTimingObjectDisconnect")}),s.abrupt("return",u);case 8:case"end":return s.stop()}},r,this)}));function e(r,i){return t.apply(this,arguments)}return e})()}]),n})();Xe||(F=_t(),Mt(),St(),Ct(),Ot());const Rt="https://player.vimeo.com/video",Lt="https://vimeo.com/event",jt=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function We(n,t={}){var e;const r={src:It(n,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(r["data-config"]=JSON.stringify(t.config)),(e=t.config)!=null&&e.referrerpolicy&&(r.referrerpolicy=t.config.referrerpolicy),`
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${Ft(r)}></iframe>
27  `}function It(n,t){if(!n.src)return;let e=new URL(n.src);const r=n.src.match(jt),i=r==null?void 0:r[1],a=r==null?void 0:r[2],o=e.searchParams.get("h")||(r==null?void 0:r[3]),u={controls:n.controls===""?null:0,autoplay:n.autoplay,loop:n.loop,muted:n.muted,playsinline:n.playsinline,preload:n.preload??"metadata",transparent:!1,autopause:n.autopause,h:o,...t.config};if(i==="event/"){const h=o?`/${o}`:"";return delete u.h,`${Lt}/${a}/embed${h}?${He(u)}`}return`${Rt}/${a}?${He(u)}`}var Z,se,le,H,G,U,q,ee,te,Q,re,Y,ce,fe,z,ne,we,he,rt,nt;class me extends st(globalThis.HTMLElement??class{}){constructor(){super();L(this,he);pe(this,"loadComplete",new Ne);L(this,Z);L(this,se);L(this,le);L(this,H,0);L(this,G,NaN);L(this,U,!1);L(this,q,!this.autoplay);L(this,ee,1);L(this,te,0);L(this,Q,0);L(this,re,!1);L(this,Y,1);L(this,ce,NaN);L(this,fe,NaN);L(this,z,null);L(this,ne,!1);L(this,we,async()=>{k(this,Q,1),this.dispatchEvent(new Event("loadedmetadata")),this.api&&(k(this,U,await this.api.getMuted()),k(this,Y,await this.api.getVolume()),this.dispatchEvent(new Event("volumechange")),k(this,G,await this.api.getDuration()),this.dispatchEvent(new Event("durationchange"))),this.dispatchEvent(new Event("loadcomplete")),this.loadComplete.resolve()});Oe(this,he,nt).call(this,"config")}requestFullscreen(){var e,r;return(r=(e=this.api)==null?void 0:e.requestFullscreen)==null?void 0:r.call(e)}exitFullscreen(){var e,r;return(r=(e=this.api)==null?void 0:e.exitFullscreen)==null?void 0:r.call(e)}requestPictureInPicture(){var e,r;return(r=(e=this.api)==null?void 0:e.requestPictureInPicture)==null?void 0:r.call(e)}exitPictureInPicture(){var e,r;return(r=(e=this.api)==null?void 0:e.exitPictureInPicture)==null?void 0:r.call(e)}get config(){return O(this,z)}set config(e){e??(e=null),JSON.stringify(O(this,z))!==JSON.stringify(e)&&(k(this,z,e),this.load())}async load(){var e;if(O(this,Z))return;await k(this,Z,Promise.resolve()),k(this,Z,null),k(this,H,0),k(this,G,NaN),k(this,U,!1),k(this,q,!this.autoplay),k(this,ee,1),k(this,te,0),k(this,Q,0),k(this,re,!1),k(this,Y,1),k(this,Q,0),k(this,ce,NaN),k(this,fe,NaN),this.dispatchEvent(new Event("emptied"));let r=this.api;if(this.api=null,!this.src)return;O(this,se)&&(this.loadComplete=new Ne),k(this,se,!0),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"),...O(this,z)};if(O(this,le)){this.api=r,await this.api.loadVideo({...i,url:this.src}),await O(this,we).call(this),await this.loadComplete;return}k(this,le,!0),this.shadowRoot||this.attachShadow({mode:"open"});const a=this.shadowRoot.querySelector("iframe");a&&!O(this,ne)?O(this,z)||k(this,z,JSON.parse(a.getAttribute("data-config")||"{}")):this.shadowRoot.innerHTML=We(Dt(this.attributes),this),k(this,ne,!1),(e=r==null?void 0:r.destroy)==null||e.call(r);const u=this.shadowRoot.querySelector("iframe");this.api=new Ie(u),Oe(this,he,rt).call(this),await this.loadComplete}connectedCallback(){var e;O(this,ne)&&this.load(),(e=super.connectedCallback)==null||e.call(this)}disconnectedCallback(){var e,r,i;k(this,ne,!0),k(this,Z,null),k(this,se,null),k(this,le,null),this.loadComplete=new Ne,(r=(e=this.api)==null?void 0:e.destroy)==null||r.call(e),this.api=null,(i=super.disconnectedCallback)==null||i.call(this)}async attributeChangedCallback(e,r,i){if(r!==i){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;k(this,q,!1),this.dispatchEvent(new Event("play")),await this.loadComplete;try{await((e=this.api)==null?void 0:e.play())}catch(r){throw k(this,q,!0),this.dispatchEvent(new Event("pause")),r}}async pause(){var e;return await this.loadComplete,(e=this.api)==null?void 0:e.pause()}get ended(){return O(this,H)>=O(this,G)}get seeking(){return O(this,re)}get readyState(){return O(this,Q)}get videoWidth(){return O(this,ce)}get videoHeight(){return O(this,fe)}get src(){return this.getAttribute("src")}set src(e){this.src!=e&&this.setAttribute("src",e)}get paused(){return O(this,q)}get duration(){return O(this,G)}get autoplay(){return this.hasAttribute("autoplay")}set autoplay(e){this.autoplay!=e&&this.toggleAttribute("autoplay",!!e)}get buffered(){return O(this,te)>0?ze(0,O(this,te)):ze()}get controls(){return this.hasAttribute("controls")}set controls(e){this.controls!=e&&this.toggleAttribute("controls",!!e)}get currentTime(){return O(this,H)}set currentTime(e){this.currentTime!=e&&(k(this,H,e),this.loadComplete.then(()=>{var r;(r=this.api)==null||r.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 O(this,U)}set muted(e){this.muted!=e&&(k(this,U,e),this.loadComplete.then(()=>{var r;(r=this.api)==null||r.setMuted(e).catch(()=>{})}))}get playbackRate(){return O(this,ee)}set playbackRate(e){this.playbackRate!=e&&(k(this,ee,e),this.loadComplete.then(()=>{var r;(r=this.api)==null||r.setPlaybackRate(e).catch(()=>{})}))}get 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 O(this,Y)}set volume(e){this.volume!=e&&(k(this,Y,e),this.loadComplete.then(()=>{var r;(r=this.api)==null||r.setVolume(e).catch(()=>{})}))}}Z=new WeakMap,se=new WeakMap,le=new WeakMap,H=new WeakMap,G=new WeakMap,U=new WeakMap,q=new WeakMap,ee=new WeakMap,te=new WeakMap,Q=new WeakMap,re=new WeakMap,Y=new WeakMap,ce=new WeakMap,fe=new WeakMap,z=new WeakMap,ne=new WeakMap,we=new WeakMap,he=new WeakSet,rt=function(){const e=document.createElement("video");this.textTracks=e.textTracks,this.api.getTextTracks().then(i=>{i.forEach(a=>{e.addTextTrack(a.kind,a.label,a.language)})}),this.textTracks.addEventListener("change",()=>{const i=Array.from(this.textTracks).find(a=>a.mode==="showing");i?this.api.enableTextTrack(i.language,i.kind):this.api.disableTextTrack()});const r=()=>{this.api.off("loaded",r),O(this,we).call(this)};this.api.on("loaded",r),this.api.on("bufferstart",()=>{O(this,q)&&(k(this,q,!1),this.dispatchEvent(new Event("play"))),this.dispatchEvent(new Event("waiting"))}),this.api.on("play",()=>{O(this,q)&&(k(this,q,!1),this.dispatchEvent(new Event("play")))}),this.api.on("playing",()=>{k(this,Q,3),k(this,q,!1),this.dispatchEvent(new Event("playing"))}),this.api.on("seeking",()=>{k(this,re,!0),this.onSeeking(),this.dispatchEvent(new Event("seeking"))}),this.api.on("seeked",async()=>{k(this,re,!1),k(this,H,await this.api.getCurrentTime().catch(()=>O(this,H))),this.dispatchEvent(new Event("seeked"))}),this.api.on("pause",()=>{k(this,q,!0),this.dispatchEvent(new Event("pause"))}),this.api.on("ended",()=>{k(this,q,!0),this.dispatchEvent(new Event("ended"))}),this.api.on("ratechange",({playbackRate:i})=>{k(this,ee,i),this.dispatchEvent(new Event("ratechange"))}),this.api.on("volumechange",async({volume:i})=>{k(this,Y,i),this.api&&k(this,U,await this.api.getMuted()),this.dispatchEvent(new Event("volumechange"))}),this.api.on("durationchange",({duration:i})=>{k(this,G,i),this.dispatchEvent(new Event("durationchange"))}),this.api.on("timeupdate",({seconds:i})=>{const a=Math.round(i*100)/100;k(this,H,a),this.dispatchEvent(new Event("timeupdate"))}),this.api.on("progress",({seconds:i})=>{k(this,te,i),this.dispatchEvent(new Event("progress"))}),this.api.on("resize",({videoWidth:i,videoHeight:a})=>{k(this,ce,i),k(this,fe,a),this.dispatchEvent(new Event("resize"))})},nt=function(e){if(Object.prototype.hasOwnProperty.call(this,e)){const r=this[e];delete this[e],this[e]=r}},pe(me,"getTemplateHTML",We),pe(me,"shadowRootOptions",{mode:"open"}
27),pe(me,"observedAttributes",["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src"]);function Ft(n){let t="";for(const e in n){const r=n[e];r===""?t+=` ${Ae(e)}`:t+=` ${Ae(e)}="${Ae(`${r}`)}"`}return t}function Ae(n){return n.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/`/g,"&#x60;")}function He(n){return String(new URLSearchParams(qt(n)))}function qt(n){let t={};for(let e in n){let r=n[e];r===!0||r===""?t[e]=1:r===!1?t[e]=0:r!=null&&(t[e]=r)}return t}function Dt(n){let t={};for(let e of n)t[e.name]=e.value;return t}class Ne extends Promise{constructor(t=()=>{}){let e,r;super((i,a)=>{t(i,a),e=i,r=a}),this.resolve=e,this.reject=r}}function ze(n,t){return Array.isArray(n)?Re(n):n==null||t==null||n===0&&t===0?Re([[0,0]]):Re([[n,t]])}function Re(n){return Object.defineProperties(n,{start:{value:t=>n[t][0]},end:{value:t=>n[t][1]}}),n}globalThis.customElements&&!globalThis.customElements.get("vimeo-video")&&globalThis.customElements.define("vimeo-video",me);var Vt=me,$t=new Set(["style","children","ref","key","suppressContentEditableWarning","suppressHydrationWarning","dangerouslySetInnerHTML"]),xt={className:"class",htmlFor:"for"};function it(n){return n.toLowerCase()}function Be(n){if(typeof n=="boolean")return n?"":void 0;if(typeof n!="function"&&!(typeof n=="object"&&n!==null))return n}function Wt({react:n,tagName:t,elementClass:e,events:r,displayName:i,defaultProps:a,toAttributeName:o=it,toAttributeValue:u=Be}){const h=Number.parseInt(n.version)>=19,s=n.forwardRef((P,E)=>{var M,T;const g=n.useRef(null),N=n.useRef(new Map),A={},j={},m={},p={};for(const[f,v]of Object.entries(P)){if($t.has(f)){m[f]=v;continue}const b=o(xt[f]??f);if(e.prototype&&f in e.prototype&&!(f in(((M=globalThis.HTMLElement)==null?void 0:M.prototype)??{}))&&!((T=e.observedAttributes)!=null&&T.some(y=>y===b))){p[f]=v;continue}if(f.startsWith("on")){A[f]=v;continue}const C=u(v);if(b&&C!=null&&(j[b]=String(C),h||(m[b]=C)),b&&h){const y=Be(v);C!==y?m[b]=C:m[b]=v}}if(typeof window<"u"){for(const f in A){const v=A[f],b=f.endsWith("Capture"),C=((r==null?void 0:r[f])??f.slice(2).toLowerCase()).slice(0,b?-7:void 0);n.useLayoutEffect(()=>{const y=g==null?void 0:g.current;if(!(!y||typeof v!="function"))return y.addEventListener(C,v,b),()=>{y.removeEventListener(C,v,b)}},[g==null?void 0:g.current,v])}n.useLayoutEffect(()=>{if(g.current===null)return;const f=new Map;for(const v in p)Ge(g.current,v,p[v]),N.current.delete(v),f.set(v,p[v]);for(const[v,b]of N.current)Ge(g.current,v,void 0);N.current=f})}if(typeof window>"u"&&(e!=null&&e.getTemplateHTML)&&(e!=null&&e.shadowRootOptions)){const{mode:f,delegatesFocus:v}=e.shadowRootOptions,b=n.createElement("template",{shadowrootmode:f,shadowrootdelegatesfocus:v,dangerouslySetInnerHTML:{__html:e.getTemplateHTML(j,P)},key:"ce-la-react-ssr-template-shadow-root"});m.children=[b,m.children]}return n.createElement(t,{...a,...m,ref:n.useCallback(f=>{g.current=f,typeof E=="function"?E(f):E!==null&&(E.current=f)},[E])},m.children)});return s.displayName=i??e.name,s}function Ge(n,t,e){var r;n[t]=e,e==null&&t in(((r=globalThis.HTMLElement)==null?void 0:r.prototype)??{})&&n.removeAttribute(t)}var Gt=Wt({react:ut,tagName:"vimeo-video",elementClass:Vt,toAttributeName(n){return n==="muted"?"":n==="defaultMuted"?"muted":it(n)}});/*! 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{Gt as default};

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.