vendor: 8,984 bytes, line 1
1import xe from"./BSnKHEL8.js";import{_ as Ve,j as ee,w as qe,u as me,c as $e,k as Ue,r as G,l as We,m as ze,a as ve,b as B,n as ge,h as ye,T as we,o as se,p as Ge,d as be,f as ce,e as Be,v as He,q as ke,s as le}from"#entry";import{S as Qe}from"./DkkuzaFX.js";import{u as Ye,a as Je}from"./Chx3igEn.js";/*! @vimeo/player v2.30.0 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Xe(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,i,a,o,u=[],f=!0,l=!1;try{if(a=(t=t.call(n)).next,e!==0)for(;!(f=(r=a.call(t)).done)&&(u.push(r.value),u.length!==e);f=!0);}catch(y){l=!0,i=y}finally{try{if(!f&&t.return!=null&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw i}}return u}}function Pe(n,e){var t=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);e&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(n,i).enumerable})),t.push.apply(t,r)}return t}function Ee(n){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?Pe(Object(t),!0).forEach(function(r){te(n,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(t)):Pe(Object(t)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(t,r))})}return n}function F(){F=function(){return n};var n={},e=Object.prototype,t=e.hasOwnProperty,r=Object.defineProperty||function(c,s,d){c[s]=d.value},i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",o=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function f(c,s,d){return Object.defineProperty(c,s,{value:d,enumerable:!0,configurable:!0,writable:!0}),c[s]}try{f({},"")}catch{f=function(s,d,T){return s[d]=T}}function l(c,s,d,T){var v=s&&s.prototype instanceof E?s:E,M=Object.create(v.prototype),A=new R(T||[]);return r(M,"_invoke",{value:k(c,d,A)}),M}function y(c,s,d){try{return{type:"normal",arg:c.call(s,d)}}catch(T){return{type:"throw",arg:T}}}n.wrap=l;var w={};function E(){}function P(){}function g(){}var j={};f(j,a,function(){return this});var O=Object.getPrototypeOf,C=O&&O(O(L([])));C&&C!==e&&t.call(C,a)&&(j=C);var p=g.prototype=E.prototype=Object.create(j);function h(c){["next","throw","return"].forEach(function(s){f(c,s,function(d){return this._invoke(s,d)})})}function m(c,s){function d(v,M,A,N){var D=y(c[v],c,M);if(D.type!=="throw"){var z=D.arg,Y=z.value;return Y&&typeof Y=="object"&&t.call(Y,"__await")?s.resolve(Y.__await).then(function($){d("next",$,A,N)},function($){d("throw",$,A,N)}):s.resolve(Y).then(function($){z.value=$,A(z)},function($){return d("throw",$,A,N)})}N(D.arg)}var T;r(this,"_invoke",{value:function(v,M){function A(){return new s(function(N,D){d(v,M,N,D)})}return T=T?T.then(A,A):A()}})}function k(c,s,d){var T="suspendedStart";return function(v,M){if(T==="executing")throw new Error("Generator is already running");if(T==="completed"){if(v==="throw")throw M;return ue()}for(d.method=v,d.arg=M;;){var A=d.delegate;if(A){var N=_(A,d);if(N){if(N===w)continue;return N}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(T==="suspendedStart")throw T="completed",d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);T="executing";var D=y(c,s,d);if(D.type==="normal"){if(T=d.done?"completed":"suspendedYield",D.arg===w)continue;return{value:D.arg,done:d.done}}D.type==="throw"&&(T="completed",d.method="throw",d.arg=D.arg)}}}function _(c,s){var d=s.method,T=c.iterator[d];if(T===void 0)return s.delegate=null,d==="throw"&&c.iterator.return&&(s.method="return",s.arg=void 0,_(c,s),s.method==="throw")||d!=="return"&&(s.method="throw",s.arg=new TypeError("The iterator does not provide a '"+d+"' method")),w;var v=y(T,c.iterator,s.arg);if(v.type==="throw")return s.method="throw",s.arg=v.arg,s.delegate=null,w;var M=v.arg;return M?M.done?(s[c.resultName]=M.value,s.next=c.nextLoc,s.method!=="return"&&(s.method="next",s.arg=void 0),s.delegate=null,w):M:(s.method="throw",s.arg=new TypeError("iterator result is not an object"),s.delegate=null,w)}function S(c){var s={tryLoc:c[0]};1 in c&&(s.catchLoc=c[1]),2 in c&&(s.finallyLoc=c[2],s.afterLoc=c[3]),this.tryEntries.push(s)}function b(c){var s=c.completion||{};s.type="normal",delete s.arg,c.completion=s}function R(c){this.tryEntries=[{tryLoc:"root"}],c.forEach(S,this),this.reset(!0)}function L(c){if(c){var s=c[a];if(s)return s.call(c);if(typeof c.next=="function")return c;if(!isNaN(c.length)){var d=-1,T=function v(){for(;++d<c.length;)if(t.call(c,d))return v.value=c[d],v.done=!1,v;return v.value=void 0,v.done=!0,v};return T.next=T}}return{next:ue}}function ue(){return{value:void 0,done:!0}}return P.prototype=g,r(p,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:P,configurable:!0}),P.displayName=f(g,u,"GeneratorFunction"),n.isGeneratorFunction=function(c){var s=typeof c=="function"&&c.constructor;return!!s&&(s===P||(s.displayName||s.name)==="GeneratorFunction")},n.mark=function(c){return Object.setPrototypeOf?Object.setPrototypeOf(c,g):(c.__proto__=g,f(c,u,"GeneratorFunction")),c.prototype=Object.create(p),c},n.awrap=function(c){return{__await:c}},h(m.prototype),f(m.prototype,o,function(){return this}),n.AsyncIterator=m,n.async=function(c,s,d,T,v){v===void 0&&(v=Promise);var M=new m(l(c,s,d,T),v);return n.isGeneratorFunction(s)?M:M.next().then(function(A){return A.done?A.value:M.next()})},h(p),f(p,u,"Generator"),f(p,a,function(){return this}),f(p,"toString",function(){return"[object Generator]"}),n.keys=function(c){var s=Object(c),d=[];for(var T in s)d.push(T);return d.reverse(),function v(){for(;d.length;){var M=d.pop();if(M in s)return v.value=M,v.done=!1,v}return v.done=!0,v}},n.values=L,R.prototype={constructor:R,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(b),!c)for(var s in this)s.charAt(0)==="t"&&t.call(this,s)&&!isNaN(+s.slice(1))&&(this[s]=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 s=this;function d(D,z){return M.type="throw",M.arg=c,s.next=D,z&&(s.method="next",s.arg=void 0),!!z}for(var T=this.tryEntries.length-1;T>=0;--T){var v=this.tryEntries[T],M=v.completion;if(v.tryLoc==="root")return d("end");if(v.tryLoc<=this.prev){var A=t.call(v,"catchLoc"),N=t.call(v,"finallyLoc");if(A&&N){if(this.prev<v.catchLoc)return d(v.catchLoc,!0);if(this.prev<v.finallyLoc)return d(v.finallyLoc)}else if(A){if(this.prev<v.catchLoc)return d(v.catchLoc,!0)}else{if(!N)throw new Error("try statement without catch or finally");if(this.prev<v.finallyLoc)return d(v.finallyLoc)}}}},abrupt:function(c,s){for(var d=this.tryEntries.length-1;d>=0;--d){var T=this.tryEntries[d];if(T.tryLoc<=this.prev&&t.call(T,"finallyLoc")&&this.prev<T.finallyLoc){var v=T;break}}v&&(c==="break"||c==="continue")&&v.tryLoc<=s&&s<=v.finallyLoc&&(v=null);var M=v?v.completion:{};return M.type=c,M.arg=s,v?(this.method="next",this.next=v.finallyLoc,w):this.complete(M)},complete:function(c,s){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"&&s&&(this.next=s),w},finish:function(c){for(var s=this.tryEntries.length-1;s>=0;--s){var d=this.tryEntries[s];if(d.finallyLoc===c)return this.complete(d.completion,d.afterLoc),b(d),w}},catch:function(c){for(var s=this.tryEntries.length-1;s>=0;--s){var d=this.tryEntries[s];if(d.tryLoc===c){var T=d.completion;if(T.type==="throw"){var v=T.arg;b(d)}return v}}throw new Error("illegal catch attempt")},delegateYield:function(c,s,d){return this.delegate={iterator:L(c),resultName:s,nextLoc:d},this.method==="next"&&(this.arg=void 0),w}},n}function Te(n,e,t,r,i,a,o){try{var u=n[a](o),f=u.value}catch(l){t(l);return}u.done?e(f):Promise.resolve(f).then(r,i)}function W(n){return function(){var e=this,t=arguments;return new Promise(function(r,i){var a=n.apply(e,t);function o(f){Te(a,r,i,o,u,"next",f)}function u(f){Te(a,r,i,o,u,"throw",f)}o(void 0)})}}function Oe(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,Fe(r.key),r)}}function Ae(n,e,t){return e&&_e(n.prototype,e),t&&_e(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function te(n,e,t){return e=Fe(e),e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function Ke(n,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),e&&K(n,e)}
1function X(n){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},X(n)}function K(n,e){return K=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,i){return r.__proto__=i,r},K(n,e)}function je(){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 re(n,e,t){return je()?re=Reflect.construct.bind():re=function(i,a,o){var u=[null];u.push.apply(u,a);var f=Function.bind.apply(i,u),l=new f;return o&&K(l,o.prototype),l},re.apply(null,arguments)}function Ze(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function de(n){var e=typeof Map=="function"?new Map:void 0;return de=function(r){if(r===null||!Ze(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(r))return e.get(r);e.set(r,i)}function i(){return re(r,arguments,X(this).constructor)}return i.prototype=Object.create(r.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),K(i,r)},de(n)}function ne(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function et(n,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 ne(n)}function tt(n){var e=je();return function(){var r=X(n),i;if(e){var a=X(this).constructor;i=Reflect.construct(r,arguments,a)}else i=r.apply(this,arguments);return et(this,i)}}function rt(n,e){return nt(n)||Xe(n,e)||it(n,e)||at()}function nt(n){if(Array.isArray(n))return n}function it(n,e){if(n){if(typeof n=="string")return Me(n,e);var t=Object.prototype.toString.call(n).slice(8,-1);if(t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set")return Array.from(n);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Me(n,e)}}function Me(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t<e;t++)r[t]=n[t];return r}function at(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ot(n,e){if(typeof n!="object"||n===null)return n;var t=n[Symbol.toPrimitive];if(t!==void 0){var r=t.call(n,e);if(typeof r!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function Fe(n){var e=ot(n,"string");return typeof e=="symbol"?e:String(e)}var ut=typeof global<"u"&&{}.toString.call(global)==="[object global]",st=typeof Bun<"u",ct=typeof Deno<"u",Ie=ut||st||ct;function Se(n,e){return n.indexOf(e.toLowerCase())===0?n:"".concat(e.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function lt(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function ft(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function V(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function Re(n){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(n)}function dt(n){for(var e=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),r=[".videoji.hk",".vimeo.work",".videoji.cn"],i=0,a=r;i<a.length;i++){var o=a[i];if(t.endsWith(o))return t}return"vimeo.com"}function Ne(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=n.id,t=n.url,r=e||t;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(ft(r))return"https://vimeo.com/".concat(r);if(V(r))return r.replace("http:","https:");throw e?new TypeError("â".concat(e,"â is not a valid video id.")):new TypeError("â".concat(r,"â is not a vimeo.com url."))}var Ce=function(e,t,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 t=="string"?[t]:t;return o.forEach(function(u){e[i](u,r)}),{cancel:function(){return o.forEach(function(f){return e[a](f,r)})}}};function oe(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:document;if(!n||!e||typeof e.querySelectorAll!="function")return null;for(var t=e.querySelectorAll("iframe"),r=0;r<t.length;r++)if(t[r]&&t[r].contentWindow===n)return t[r];return null}var ht=typeof Array.prototype.indexOf<"u",pt=typeof window<"u"&&typeof window.postMessage<"u";if(!Ie&&(!ht||!pt))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Q=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(n,e){return e={exports:{}},n(e,e.exports),e.exports}/*! 3 * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill 4 * https://github.com/polygonplanet/weakmap-polyfill 5 * Copyright (c) 2015-2021 polygonplanet <[email protected]> 6 * @license MIT 7 */(function(n){if(n.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}})(),r=function(a,o,u){t?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(l){if(o(this,"delete"),!i(l))return!1;var y=l[this._id];
7return y&&y[0]===l?(delete l[this._id],!0):!1}),r(a.prototype,"get",function(l){if(o(this,"get"),!!i(l)){var y=l[this._id];if(y&&y[0]===l)return y[1]}}),r(a.prototype,"has",function(l){if(o(this,"has"),!i(l))return!1;var y=l[this._id];return!!(y&&y[0]===l)}),r(a.prototype,"set",function(l,y){if(o(this,"set"),!i(l))throw new TypeError("Invalid value used as weak map key");var w=l[this._id];return w&&w[0]===l?(w[1]=y,this):(r(l,this._id,[l,y]),this)});function o(l,y){if(!i(l)||!e.call(l,"_id"))throw new TypeError(y+" method called on incompatible receiver "+typeof l)}function u(l){return l+"_"+f()+"."+f()}function f(){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:Q);var x=mt(function(n){/*! Native Promise Only 8 v0.8.1 (c) Kyle Simpson 9 MIT License: http://getify.mit-license.org 10*/(function(t,r,i){r[t]=r[t]||i(),n.exports&&(n.exports=r[t])})("Promise",Q,function(){var t,r,i,a=Object.prototype.toString,o=typeof setImmediate<"u"?function(h){return setImmediate(h)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(h,m,k,_){return Object.defineProperty(h,m,{value:k,writable:!0,configurable:_!==!1})}}catch{t=function(m,k,_){return m[k]=_,m}}i=(function(){var h,m,k;function _(S,b){this.fn=S,this.self=b,this.next=void 0}return{add:function(b,R){k=new _(b,R),m?m.next=k:h=k,m=k,k=void 0},drain:function(){var b=h;for(h=m=r=void 0;b;)b.fn.call(b.self),b=b.next}}})();function u(p,h){i.add(p,h),r||(r=o(i.drain))}function f(p){var h,m=typeof p;return p!=null&&(m=="object"||m=="function")&&(h=p.then),typeof h=="function"?h:!1}function l(){for(var p=0;p<this.chain.length;p++)y(this,this.state===1?this.chain[p].success:this.chain[p].failure,this.chain[p]);this.chain.length=0}function y(p,h,m){var k,_;try{h===!1?m.reject(p.msg):(h===!0?k=p.msg:k=h.call(void 0,p.msg),k===m.promise?m.reject(TypeError("Promise-chain cycle")):(_=f(k))?_.call(k,m.resolve,m.reject):m.resolve(k))}catch(S){m.reject(S)}}function w(p){var h,m=this;if(!m.triggered){m.triggered=!0,m.def&&(m=m.def);try{(h=f(p))?u(function(){var k=new g(m);try{h.call(p,function(){w.apply(k,arguments)},function(){E.apply(k,arguments)})}catch(_){E.call(k,_)}}):(m.msg=p,m.state=1,m.chain.length>0&&u(l,m))}catch(k){E.call(new g(m),k)}}}function E(p){var h=this;h.triggered||(h.triggered=!0,h.def&&(h=h.def),h.msg=p,h.state=2,h.chain.length>0&&u(l,h))}function P(p,h,m,k){for(var _=0;_<h.length;_++)(function(b){p.resolve(h[b]).then(function(L){m(b,L)},k)})(_)}function g(p){this.def=p,this.triggered=!1}function j(p){this.promise=p,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function O(p){if(typeof p!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var h=new j(this);this.then=function(k,_){var S={success:typeof k=="function"?k:!0,failure:typeof _=="function"?_:!1};return S.promise=new this.constructor(function(R,L){if(typeof R!="function"||typeof L!="function")throw TypeError("Not a function");S.resolve=R,S.reject=L}),h.chain.push(S),h.state!==0&&u(l,h),S.promise},this.catch=function(k){return this.then(void 0,k)};try{p.call(void 0,function(k){w.call(h,k)},function(k){E.call(h,k)})}catch(m){E.call(h,m)}}var C=t({},"constructor",O,!1);return O.prototype=C,t(C,"__NPO__",0,!1),t(O,"resolve",function(h){var m=this;return h&&typeof h=="object"&&h.__NPO__===1?h:new m(function(_,S){if(typeof _!="function"||typeof S!="function")throw TypeError("Not a function");_(h)})}),t(O,"reject",function(h){return new this(function(k,_){if(typeof k!="function"||typeof _!="function")throw TypeError("Not a function");_(h)})}),t(O,"all",function(h){var m=this;return a.call(h)!="[object Array]"?m.reject(TypeError("Not an array")):h.length===0?m.resolve([]):new m(function(_,S){if(typeof _!="function"||typeof S!="function")throw TypeError("Not a function");var b=h.length,R=Array(b),L=0;P(m,h,function(c,s){R[c]=s,++L===b&&_(R)},S)})}),t(O,"race",function(h){var m=this;return a.call(h)!="[object Array]"?m.reject(TypeError("Not an array")):new m(function(_,S){if(typeof _!="function"||typeof S!="function")throw TypeError("Not a function");P(m,h,function(R,L){_(L)},S)})}),O})}),q=new WeakMap;function J(n,e,t){var r=q.get(n.element)||{};e in r||(r[e]=[]),r[e].push(t),q.set(n.element,r)}function ie(n,e){var t=q.get(n.element)||{};return t[e]||[]}function ae(n,e,t){var r=q.get(n.element)||{};if(!r[e])return!0;
10if(!t)return r[e]=[],q.set(n.element,r),!0;var i=r[e].indexOf(t);return i!==-1&&r[e].splice(i,1),q.set(n.element,r),r[e]&&r[e].length===0}function vt(n,e){var t=ie(n,e);if(t.length<1)return!1;var r=t.shift();return ae(n,e,r),r}function gt(n,e){var t=q.get(n);q.set(e,t),q.delete(n)}function Z(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(e){return console.warn(e),{}}return n}function U(n,e,t){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var r={method:e};t!==void 0&&(r.value=t);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 yt(n,e){e=Z(e);var t=[],r;if(e.event){if(e.event==="error"){var i=ie(n,e.data.method);i.forEach(function(o){var u=new Error(e.data.message);u.name=e.data.name,o.reject(u),ae(n,e.data.method,o)})}t=ie(n,"event:".concat(e.event)),r=e.data}else if(e.method){var a=vt(n,e.method);a&&(t.push(a),r=e.value)}t.forEach(function(o){try{if(typeof o=="function"){o.call(n,r);return}o.resolve(r)}catch{}})}var wt=["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 De(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return wt.reduce(function(t,r){var i=n.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(t[r]=i===""?1:i),t},e)}function he(n,e){var t=n.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=t,e.appendChild(r.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function Le(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,i){if(!V(n))throw new TypeError("â".concat(n,"â is not a vimeo.com url."));var a=dt(n),o="https://".concat(a,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var u in e)e.hasOwnProperty(u)&&(o+="&".concat(u,"=").concat(encodeURIComponent(e[u])));var f="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;f.open("GET",o,!0),f.onload=function(){if(f.status===404){i(new Error("â".concat(n,"â was not found.")));return}
10if(f.status===403){i(new Error("â".concat(n,"â is not embeddable.")));return}try{var l=JSON.parse(f.responseText);if(l.domain_status_code===403){he(l,t),i(new Error("â".concat(n,"â is not embeddable.")));return}r(l)}catch(y){i(y)}},f.onerror=function(){var l=f.status?" (".concat(f.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(l,".")))},f.send()})}function bt(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(n.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(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=De(r),a=Ne(i);Le(a,i,r).then(function(o){return he(o,r)}).catch(t)}catch(o){t(o)}})}function kt(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(r){if(V(r.origin)&&!(!r.data||r.data.event!=="spacechange")){var i=r.source?oe(r.source,n):null;if(i){var a=i.parentElement;a.style.paddingBottom="".concat(r.data.data[0].bottom,"px")}}};window.addEventListener("message",e)}}function Pt(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(r){if(V(r.origin)){var i=Z(r.data);if(!(!i||i.event!=="ready")){var a=r.source?oe(r.source,n):null;if(a&&Re(a.src)){var o=new pe(a);o.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",e)}}function Et(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam
10=!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(V(i.origin)){var a=Z(i.data);if(!(!a||a.event!=="ready")){var o=i.source?oe(i.source,n):null;if(o&&Re(o.src)){var u=new pe(o);u.getVideoId().then(function(f){var l=new RegExp("[?&]vimeo_t_".concat(f,"=([^&#]*)")).exec(window.location.href);if(l&&l[1]){var y=decodeURI(l[1]);u.setCurrentTime(y)}}).catch(e)}}}};window.addEventListener("message",t)}}function Tt(){if(!window.VimeoDRMEmbedsUpdated){window.VimeoDRMEmbedsUpdated=!0;var n=function(t){if(V(t.origin)){var r=Z(t.data);if(!(!r||r.event!=="drminitfailed")){var i=t.source?oe(t.source):null;if(i){var a=i.getAttribute("allow")||"",o=a.includes("encrypted-media");if(!o){i.setAttribute("allow","".concat(a,"; encrypted-media"));var u=new URL(i.getAttribute("src"));u.searchParams.set("forcereload","drm"),i.setAttribute("src",u.toString());return}}}}};window.addEventListener("message",n)}}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})(),e={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},t={request:function(i){return new Promise(function(a,o){var u=function l(){t.off("fullscreenchange",l),a()};t.on("fullscreenchange",u),i=i||document.documentElement;var f=i[n.requestFullscreen]();f instanceof Promise&&f.then(u).catch(o)})},exit:function(){return new Promise(function(i,a){if(!t.isFullscreen){i();return}var o=function f(){t.off("fullscreenchange",f),i()};t.on("fullscreenchange",o);var u=document[n.exitFullscreen]();u instanceof Promise&&u.then(o).catch(a)})},on:function(i,a){var o=e[i];o&&document.addEventListener(o,a)},off:function(i,a){var o=e[i];o&&document.removeEventListener(o,a)}};return Object.defineProperties(t,{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]}}}),t}var Mt={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},St=(function(n){Ke(t,n);var e=tt(t);function t(r,i){var a,o=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},u=arguments.length>3?arguments[3]:void 0;return Oe(this,t),a=e.call(this),te(ne(a),"logger",void 0),te(ne(a),"speedAdjustment",0),te(ne(a),"adjustSpeed",(function(){var f=W(F().mark(function l(y,w){var E;return F().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:if(a.speedAdjustment!==w){g.next=2;break}return g.abrupt("return");case 2:return g.next=4,y.getPlaybackRate();case 4:return g.t0=g.sent,g.t1=a.speedAdjustment,g.t2=g.t0-g.t1,g.t3=w,E=g.t2+g.t3,a.log("New playbackRate: ".concat(E)),g.next=12,y.setPlaybackRate(E);case 12:a.speedAdjustment=w;case 13:case"end":return g.stop()}},l)}));return function(l,y){return f.apply(this,arguments)}})()),a.logger=u,a.init(i,r,Ee(Ee({},Mt),o)),a}return Ae(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(function(){var r=W(F().mark(function a(o,u,f){var l=this,y,w,E;return F().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,this.waitForTOReadyState(o,"open");case 2:if(f.role!=="viewer"){g.next=10;break}return g.next=5,this.updatePlayer(o,u,f);case 5:y=Ce(o,"change",function(){return l.updatePlayer(o,u,f)}),w=this.maintainPlaybackPosition(o,u,f),this.addEventListener("disconnect",function(){w.cancel(),y.cancel()}),g.next=14;break;case 10:return g.next=12,this.updateTimingObject(o,u);case 12:E=Ce(u,["seeked","play","pause","ratechange"],function(){return l.updateTimingObject(o,u)},"on","off"),this.addEventListener("disconnect",function(){return E.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=W(F().mark(function a(o,u){var f,l,y,w,E;return F().wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return g.next=2,Promise.all([u.getCurrentTime(),u.getPaused(),u.getPlaybackRate()]);case 2:f=g.sent,l=rt(f,3),y=l[0],w=l[1],E=l[2],o.update({position:y,velocity:w?0:E});case 8:case"end":return g.stop()}},a)}));function i(a,o){return r.apply(this,arguments)}return i})()},{key:"updatePlayer",value:(function(){var r=W(F().mark(function a(o,u,f){var l,y,w;return F().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(l=o.query(),y=l.position,w=l.velocity,typeof y=="number"&&u.setCurrentTime(y),typeof w!="number"){P.next=25;break}if(w!==0){P.next=11;break}return P.next=6,u.getPaused();case 6:if(P.t0=P.sent,P.t0!==!1){P.next=9;break}u.pause();case 9:P.next=25;break;case 11:if(!(w>0)){P.next=25;break}return P.next=14,u.getPaused();case 14:if(P.t1=P.sent,P.t1!==!0){P.next=19;break}return P.next=18,u.play().catch((function(){var g=W(F().mark(function j(O){return F().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(!(O.name==="NotAllowedError"&&f.autoPlayMuted)){p.next=5;break}return p.next=3,u.setMuted(!0);case 3:return p.next=5,u.play().catch(function(h){return console.error("Couldn't play the video from TimingSrcConnector. Error:",h)});case 5:case"end":return p.stop()}},j)}));return function(j){return g.apply(this,arguments)}})());case 18:this.updatePlayer(o,u,f);case 19:return P.next=21,u.getPlaybackRate();case 21:if(P.t2=P.sent,P.t3=w,P.t2===P.t3){P.next=25;break}u.setPlaybackRate(w);case 25:case"end":return P.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,f=o.allowedDrift,l=o.maxAllowedDrift,y=o.minCheckInterval,w=o.maxRateAdjustment,E=o.maxTimeToCatchUp,P=Math.min(E,Math.max(y,l))*1e3,g=(function(){var O=W(F().mark(function C(){var p,h,m,k,_;return F().wrap(function(b){for(;;)switch(b.prev=b.next){case 0:if(b.t0=i.query().velocity===0,b.t0){b.next=6;break}return b.next=4,a.getPaused();case 4:b.t1=b.sent,b.t0=b.t1===!0;case 6:if(!b.t0){b.next=8;break}return b.abrupt("return");case 8:return b.t2=i.query().position,b.next=11,a.getCurrentTime();case 11:if(b.t3=b.sent,p=b.t2-b.t3,h=Math.abs(p),u.log("Drift: ".concat(p)),!(h>l)){b.next=22;break}return b.next=18,u.adjustSpeed(a,0);case 18:a.setCurrentTime(i.query().position),u.log("Resync by currentTime"),b.next=29;break;case 22:if(!(h>f)){b.next=29;break}return m=h/E,k=w,_=m<k?(k-m)/2:k,b.next=28,u.adjustSpeed(a,_*Math.sign(p));case 28:u.log("Resync by playbackRate");case 29:case"end":return b.stop()}},C)}));return function(){return O.apply(this,arguments)}})(),j=setInterval(function(){return g()},P);return{cancel:function(){return clearInterval(j)}}}},{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 f(){i.readyState===a?o():i.addEventListener("readystatechange",f,{once:!0})};u()})}}]),t})(de(EventTarget)),H=new WeakMap,fe=new WeakMap,I={},pe=(function(){function n(e){var t=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Oe(this,n),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)),!lt(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var i=e.querySelector("iframe");
10i&&(e=i)}if(e.nodeName==="IFRAME"&&!V(e.getAttribute("src")||""))throw new Error("The player element passed isnât a Vimeo embed.");if(H.has(e))return H.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new x(function(u,f){if(t._onMessage=function(w){if(!(!V(w.origin)||t.element.contentWindow!==w.source)){t.origin==="*"&&(t.origin=w.origin);var E=Z(w.data),P=E&&E.event==="error",g=P&&E.data&&E.data.method==="ready";if(g){var j=new Error(E.data.message);j.name=E.data.name,f(j);return}var O=E&&E.event==="ready",C=E&&E.method==="ping";if(O||C){t.element.setAttribute("data-ready","true"),u();return}yt(t,E)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var l=De(e,r),y=Ne(l);Le(y,l,e).then(function(w){var E=he(w,e);return t.element=E,t._originalElement=e,gt(e,E),H.set(t.element,t),w}).catch(f)}});if(fe.set(this,a),H.set(this.element,this),this.element.nodeName==="IFRAME"&&U(this,"ping"),I.isEnabled){var o=function(){return I.exit()};this.fullscreenchangeHandler=function(){I.isFullscreen?J(t,"event:exitFullscreen",o):ae(t,"event:exitFullscreen",o),t.ready().then(function(){U(t,"fullscreenchange",I.isFullscreen)})},I.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Ae(n,[{key:"callMethod",value:function(t){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(t==null)throw new TypeError("You must pass a method name.");return new x(function(u,f){return r.ready().then(function(){J(r,t,{resolve:u,reject:f}),a.length===0?a={}:a.length===1&&(a=a[0]),U(r,t,a)}).catch(f)})}},{key:"get",value:function(t){var r=this;return new x(function(i,a){return t=Se(t,"get"),r.ready().then(function(){J(r,t,{resolve:i,reject:a}),U(r,t)}).catch(a)})}},{key:"set",value:function(t,r){var i=this;return new x(function(a,o){if(t=Se(t,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){J(i,t,{resolve:a,reject:o}),U(i,t,r)}).catch(o)})}},{key:"on",value:function(t,r){if(!t)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=ie(this,"event:".concat(t));i.length===0&&this.callMethod("addEventListener",t).catch(function(){}),J(this,"event:".concat(t),r)}},{key:"off",value:function(t,r){if(!t)throw new TypeError("You must pass an event name.");if(r&&typeof r!="function")throw new TypeError("The callback must be a function.");var i=ae(this,"event:".concat(t),r);i&&this.callMethod("removeEventListener",t).catch(function(a){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=fe.get(this)||new x(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return x.resolve(t)}},{key:"addCuePoint",value:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:r})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,r){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:r})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"selectAudioTrack",value:function(t,r){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("selectAudioTrack",{language:t,kind:r})}},{key:"selectDefaultAudioTrack",value:function(){return this.callMethod("selectDefaultAudioTrack")}},{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?x.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 x(function(r){if(fe.delete(t),H.delete(t.element),t._originalElement&&(H.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),r()})}},{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 x.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 x(function(a,o){return o(new TypeError("Argument must be an array."))});var r=new x(function(a){return a(null)}),i=[t[0]?this.set("colorOne",t[0]):r,t[1]?this.set("colorTwo",t[1]):r,t[2]?this.set("colorThree",t[2]):r,t[3]?this.set("colorFour",t[3]):r];return x.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")}
10},{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:"getAudioTracks",value:function(){return this.get("audioTracks")}},{key:"getEnabledAudioTrack",value:function(){return this.get("enabledAudioTrack")}},{key:"getDefaultAudioTrack",value:function(){return this.get("defaultAudioTrack")}},{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(F().mark(function r(i,a){var o=this,u;return F().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:if(i){l.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return l.next=4,this.ready();case 4:return u=new St(this,i,a),U(this,"notifyTimingObjectConnect"),u.addEventListener("disconnect",function(){return U(o,"notifyTimingObjectDisconnect")}),l.abrupt("return",u);case 8:case"end":return l.stop()}},r,this)}));function t(r,i){return e.apply(this,arguments)}return t})()}],[{key:"isVimeoUrl",value:function(t){return V(t)}}]),n})();Ie||(I=_t(),bt(),kt(),Pt(),Et(),Tt());const Ct={class:"index page-full"},Ot={class:"intro-text h3"},At=["src"],jt=`*[_type == "home"][0]{ 11 "videoFileUrl": videoFile.asset->url, 12 vimeoUrl 13}`,Ft="unleashing the power of storytelling",It="to ignite emotions",Rt="through immersive & visual stories",Nt={__name:"index",async setup(n){let e,t;ee.registerPlugin(Qe);const{client:r}=Ye(),{data:i}=([e,t]=qe(()=>Je("home",()=>r.fetch(jt))),e=await e,t(),e);me({title:"Chris Macari â Filmmaker & Director | Films, Commercials & Music Videos",link:[{rel:"canonical",href:"https://chrismacarifilms.com/"}]}),me({meta:[{name:"description",content:"Chris Macari is a filmmaker and director crafting compelling films, commercials, and music videos. Explore his portfolio of cinematic storytelling and visual narratives."},{property:"og:title",content:"Chris Macari â Filmmaker & Director"},{property:"og:description",content:"Filmmaker and director crafting compelling films, commercials, and music videos. Explore his portfolio of cinematic storytelling."},{property:"og:url",content:"https://chrismacarifilms.com/"},{property:"og:image",content:"https://chrismacarifilms.com/meta.jpg"},{name:"twitter:title",content:"Chris Macari â Filmmaker & Director"},{name:"twitter:description",content:"Filmmaker and director crafting compelling films, commercials, and music videos."},{name:"twitter:image",content:"https://chrismacarifilms.com/meta.jpg"}]});const a=$e(()=>{let C=i.value?.vimeoUrl||"https://vimeo.com/855549364";return C=`https://player.vimeo.com/video/${C.split("/").pop()}`,C+"?muted=0&title=0&background=1&byline=0&portrait=0&autopause=false&autoplay=1&loop=1&transparent=1&gesture=media"}),{onCursorEnter:o}=Ue(),u=G(!1),f=G(null),l=G(null),y=G(null),w=G(null),E=G(null);We(()=>{O(),P()}),ze(()=>ke.finished,C=>{C&&(o(),le("sound off"))},{immediate:!0});const P=()=>{f.value&&(l.value=new pe(f.value))},g=C=>{l?.value?.play(),l?.value?.setMuted(!1),u.value=!0,le("sound on")},j=C=>{l?.value?.pause(),l?.value?.setMuted(!0),u.value=!1,le("sound off")};function O(){ee.to(y.value,{duration:1,scrambleText:{text:Ft,chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuüvwxyz ",speed:.5,revealDelay:0},ease:"none"}),ee.to(w.value,{duration:1.25,delay:.05,scrambleText:{text:It,chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuüvwxyz ",speed:.5,revealDelay:0},ease:"none"}),ee.to(E.value,{duration:1.5,delay:.1,scrambleText:{text:Rt,chars:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuüvwxyz ",speed:.5,revealDelay:0},ease:"none"})}return(C,p)=>{const h=xe;return se(),ve("div",Ct,[p[0]||(p[0]=B("h1",{class:"sr-only"},"Chris Macari â Filmmaker & Director",-1)),ge(we,{name:"fade"},{default:ye(()=>[ce(i)?.videoFileUrl?Ge((se(),Be(h,{key:0,class:"showreel","video-src":ce(i).videoFileUrl,onClick:g},null,8,["video-src"])),[[He,ce(ke).finished&&!u.value]]):be("",!0)]),_:1}),B("div",Ot,[B("pre",{ref_key:"pre",ref:y},null,512),B("pre",{ref_key:"pre2",ref:w},null,512),B("pre",{ref_key:"pre3",ref:E},null,512)]),ge(we,{name:"fade"},{default:ye(()=>[u.value?(se(),ve("div",{key:0,class:"showreel-model",onClick:j},[B("iframe",{src:a.value,frameborder:"0",allowfullscreen:"",allowtransparency:"",allow:"autoplay",ref_key:"iframe",ref:f},null,8,At)])):be("",!0)]),_:1})])}}},qt=Ve(Nt,[["__scopeId","data-v-22c76d6a"]]);export{qt 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.