@zeniai/web-app-ui 5.0.93-qa → 5.0.94-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/AddressRoutes-HF97OiuD.js +1 -0
- package/dist/assets/AddressScreen-D79PPd-o.js +9 -0
- package/dist/assets/AiCfoScreen-CrvwqXvB.js +22 -0
- package/dist/assets/{BillPayApprovalRoutes-Btsu3H48.js → BillPayApprovalRoutes-CHeXH92D.js} +1 -1
- package/dist/assets/{BillPayRoutes-CZNt9nN-.js → BillPayRoutes-BTV6oUW7.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-Bpubo3oO.js → BusinessVerificationPageScreen-COhCODO3.js} +2 -2
- package/dist/assets/ChargeCardRoutes-jlodpUTF.js +71 -0
- package/dist/assets/{CompanyPassportScreen-BN0_lZh1.js → CompanyPassportScreen-oolpa5Ca.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-CpX3K7rD.js → ConnectionAuthScreen-CmfFicXn.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-dJPDlAs9.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-DE5g8gop.js → CustomerOnboardingRoutes-Dc6Ovlz3.js} +4 -4
- package/dist/assets/{DashboardRoutes-LjpSDL97.js → DashboardRoutes-BU1BeRRW.js} +3 -3
- package/dist/assets/{DefaultTenantHome-B3GQtREy.js → DefaultTenantHome-Ch-_hudk.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-xS5yR7KI.js → DomesticWireDetailScreen-C4hZPJdB.js} +3 -3
- package/dist/assets/DrawerScreen-Dhr1itui.js +1 -0
- package/dist/assets/EntityDetailRoutes-DtAVASvN.js +1 -0
- package/dist/assets/{ExpenseAutomationRoutes-0uEo0sF6.js → ExpenseAutomationRoutes-Dt21PcAV.js} +1 -1
- package/dist/assets/FeaturePreviewScreen-1ynGY-A8.js +1 -0
- package/dist/assets/{HubSpotOAuthCallbackScreen-V8qKg5-6.js → HubSpotOAuthCallbackScreen-DI3niet7.js} +1 -1
- package/dist/assets/{MagicLinkRoutes-Cew60Z39.js → MagicLinkRoutes-CcECDB6W.js} +9 -9
- package/dist/assets/MagicLinkSignInScreen-C-0tiAXs.js +12 -0
- package/dist/assets/{MobileAppDrawer-CPI95lgy.js → MobileAppDrawer-D38LtL34.js} +1 -1
- package/dist/assets/NotFoundScreen-Dz0534r9.js +1 -0
- package/dist/assets/{NotificationRoutes-CQtvYBtP.js → NotificationRoutes-B-vlIUTm.js} +1 -1
- package/dist/assets/OAuthConsentScreen-CbMZbxsS.js +1 -0
- package/dist/assets/PandLWithForecastRoutes-Z2m1-YQn.js +1 -0
- package/dist/assets/PeopleRoutes-B-Kt1ScJ.js +22 -0
- package/dist/assets/PerformanceRoutes-BzPr2Nnu.js +1 -0
- package/dist/assets/{Preview-D3Uiphuo.js → Preview-CX79dadf.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-iMpRDnN4.js → QBOConnectionScreen-DiKCakpQ.js} +1 -1
- package/dist/assets/{ReferralListScreen-yxuUKjxd.js → ReferralListScreen-kpr6aOuh.js} +2 -2
- package/dist/assets/ReimbursementApprovalRoutes-Det6cqdB.js +1 -0
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CBzX3JSO.js → ReimbursementApprovalRuleDetailScreen-DpJeZp5O.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-B8qr_kkC.js → ReimbursementRoutes-DTIV_kcP.js} +4 -4
- package/dist/assets/{ReportsRoutes-D1LUbrVF.js → ReportsRoutes-3VuypKeW.js} +1 -1
- package/dist/assets/RewardsRoutes-B2QW-eU5.js +1 -0
- package/dist/assets/ScreenRoutes-0jsh5TOL.js +2 -0
- package/dist/assets/{SettingsRoutes-BATsExuY.js → SettingsRoutes-BihUnYT-.js} +7 -7
- package/dist/assets/{SetupPagesScreen-BVkXSSWw.js → SetupPagesScreen-rBBoQAuI.js} +5 -5
- package/dist/assets/SignInScreen-DyfaUAWP.js +1 -0
- package/dist/assets/SignOutScreen-B4hTTXUy.js +9 -0
- package/dist/assets/{TaskListScreen-BadjlUfo.js → TaskListScreen-B7mkcqsp.js} +2 -2
- package/dist/assets/{TaskRoutes-sUZt1FTw.js → TaskRoutes-BIYOSzTN.js} +2 -2
- package/dist/assets/{TransactionDetailRoutes-BsU_4MLZ.js → TransactionDetailRoutes-BCR0Vehv.js} +1 -1
- package/dist/assets/{TransactionDetailScreen-BQ6sw9a7.js → TransactionDetailScreen-Hfy201z1.js} +2 -2
- package/dist/assets/{TransactionListRoutes-Cy_qlp5W.js → TransactionListRoutes-Cbfw3Mig.js} +1 -1
- package/dist/assets/{TreasuryRoutes-BRpP2lkX.js → TreasuryRoutes-Nis2HK0P.js} +6 -6
- package/dist/assets/{VendorsRoutes-CTRK7ynr.js → VendorsRoutes-D8Pby__-.js} +15 -15
- package/dist/assets/WiseConfirmationScreen-CQq7U1h7.js +12 -0
- package/dist/assets/{ZeniAccountRoutes-BFhwnSRQ.js → ZeniAccountRoutes-DXX67VtM.js} +11 -11
- package/dist/assets/ZeniAccountStatementScreen-B4C2kMj5.js +9 -0
- package/dist/assets/{accountMappingHelper-BOtLSvYe.js → accountMappingHelper-ClJz5V9X.js} +1 -1
- package/dist/assets/{analytics-CoOmPlNt.js → analytics-NZ6ROu06.js} +1 -1
- package/dist/assets/{analyticsHelper-BocYRaaP.js → analyticsHelper-DrdSzHTB.js} +1 -1
- package/dist/assets/{core-B_XHMrqe.js → core-D-NK-UK9.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-D2C9TGj8.js → decodeURIComponentSafe-C48GZJfu.js} +1 -1
- package/dist/assets/{dnd-CtoU_fHu.js → dnd-C49i2BE4.js} +1 -1
- package/dist/assets/{empty-B3mnnOau.js → empty-CtUkBjnR.js} +1 -1
- package/dist/assets/{empty-Cdv-ZWIg.js → empty-DH2H1-Nx.js} +1 -1
- package/dist/assets/{emptyVideoElement-roYGDErm.js → emptyVideoElement-BCGqnPYV.js} +1 -1
- package/dist/assets/{epic-CAXHXwTI.js → epic-D64Ymfe0.js} +1 -1
- package/dist/assets/getLocaleForTenant-DL4YoPxV.js +1 -0
- package/dist/assets/{index-BfaZdimW.js → index-AU1I47Je.js} +1 -1
- package/dist/assets/{index-DnWe9s1s.js → index-Bx6iIwrK.js} +1 -1
- package/dist/assets/{index-_X_wZ3pf.js → index-CTaHBGA6.js} +1 -1
- package/dist/assets/{index-BiyNQ4T-.js → index-Cii2mjSS.js} +1 -1
- package/dist/assets/{index-BHo5Qa5_.js → index-CppZNJwq.js} +1 -1
- package/dist/assets/{index-IhJ3VQPC.js → index-DCy8xCNa.js} +1 -1
- package/dist/assets/{index-hGk2kzA3.js → index-DUe_bU79.js} +2 -2
- package/dist/assets/{index-DcF25xRC.js → index-DrTnWXwv.js} +13303 -13262
- package/dist/assets/{lexical-Dx9Jj1SY.js → lexical-Bp-0qESw.js} +1 -1
- package/dist/assets/{liveblocks-DyzG7jl-.js → liveblocks-D6iO1SmY.js} +1 -1
- package/dist/assets/{lottie-CqwrfSWf.js → lottie-BWZi4J-8.js} +1 -1
- package/dist/assets/{mui-CfonSYhg.js → mui-DqRlPgPp.js} +1 -1
- package/dist/assets/{pathToGoBack-B-fIvw6x.js → pathToGoBack-DvdlIQjg.js} +1 -1
- package/dist/assets/{pdf-CsFFdLdL.js → pdf-BpZ3cLIj.js} +4 -4
- package/dist/assets/{pdf-lib-BT18iM_Z.js → pdf-lib-CNmHIzRc.js} +1 -1
- package/dist/assets/{plaid-B7Pmnnvt.js → plaid-BzyOi-ir.js} +1 -1
- package/dist/assets/{pusher-wr2FxlsB.js → pusher-BMtiLftw.js} +1 -1
- package/dist/assets/{react-Bvcd48RT.js → react-BJh7Ho8n.js} +1 -1
- package/dist/assets/{react-Ymya1N-w.js → react-CmUCRpgB.js} +1 -1
- package/dist/assets/{react-DDIv_AwX.js → react-D3MVFA0D.js} +1 -1
- package/dist/assets/{react-CH1Ok2Rn.js → react-Djxq7qii.js} +1 -1
- package/dist/assets/{react-B2o52OqD.js → react-DxEGkukB.js} +1 -1
- package/dist/assets/{react-BdDGVOeS.js → react-TFItAO3U.js} +1 -1
- package/dist/assets/{recharts-CaK7MRaR.js → recharts-Dt8dM4EI.js} +2 -2
- package/dist/assets/{routePaths-Dgf8Lpxl.js → routePaths-B-3pox1f.js} +1 -1
- package/dist/assets/{sentry-Cdif28fl.js → sentry-DJeJwz74.js} +1 -1
- package/dist/assets/{url-DOMbcgX5.js → url-Cab0ioG_.js} +1 -1
- package/dist/assets/{url-x3nND-T-.js → url-CawXuWkK.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-ChY2Lwaz.js → useAiCfoDashboardSuggestedQuestionsChips-C7uJDZF1.js} +1 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BxaFyJbc.js +1 -0
- package/dist/assets/{useDeviceId-B_i0E4gh.js → useDeviceId-CYAkkrZp.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-B1Dx2jH5.js → useInitialThreadRequest-D-JPWLWk.js} +1 -1
- package/dist/assets/{utils-DMgIZDY7.js → utils-CGva6Exy.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-9CO_VCKb.js → withTransactionSidePanel-CMaq9uFn.js} +3 -3
- package/dist/assets/{zeni-epic-state-D9HDY_8v.js → zeni-epic-state-22WFBgK9.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/dist/assets/AddressRoutes-tQsdf2VE.js +0 -1
- package/dist/assets/AddressScreen-sxiJIRy-.js +0 -9
- package/dist/assets/AiCfoScreen-CCHEYuBL.js +0 -22
- package/dist/assets/ChargeCardRoutes-DcKS_cxy.js +0 -71
- package/dist/assets/CustomerOnboardingAuthScreen-C5p6u6fC.js +0 -1
- package/dist/assets/DrawerScreen-DOrBrG-6.js +0 -1
- package/dist/assets/EntityDetailRoutes-pbHs2RhY.js +0 -1
- package/dist/assets/FeaturePreviewScreen-2-p5K2P0.js +0 -1
- package/dist/assets/MagicLinkSignInScreen-C10R5m-o.js +0 -12
- package/dist/assets/NotFoundScreen-BUqotHFB.js +0 -1
- package/dist/assets/OAuthConsentScreen-DkF2l_Ng.js +0 -1
- package/dist/assets/PandLWithForecastRoutes-Cg8SffI2.js +0 -1
- package/dist/assets/PeopleRoutes-BnLCJA6K.js +0 -22
- package/dist/assets/PerformanceRoutes-Bqj2LPVg.js +0 -1
- package/dist/assets/ReimbursementApprovalRoutes-RL8S1isL.js +0 -1
- package/dist/assets/RewardsRoutes-B8Zxnta2.js +0 -1
- package/dist/assets/ScreenRoutes-BYm6h7dp.js +0 -2
- package/dist/assets/SignInScreen-KM09ZzEo.js +0 -1
- package/dist/assets/SignOutScreen-yw_T1K5k.js +0 -9
- package/dist/assets/WiseConfirmationScreen-DdfNZb9c.js +0 -12
- package/dist/assets/ZeniAccountStatementScreen-aPQ0-Az6.js +0 -9
- package/dist/assets/getLocaleForTenant-EkX2Npfp.js +0 -1
- package/dist/assets/useAskAiCfoHostNavButtonProps-BYtw9cd1.js +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as O,c as x,b as g}from"./sentry-
|
|
1
|
+
import{a as O,c as x,b as g}from"./sentry-DJeJwz74.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new n.Error().stack;r&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[r]="98d1b1d5-c052-499a-8aaa-8303e6d33533",n._sentryDebugIdIdentifier="sentry-dbid-98d1b1d5-c052-499a-8aaa-8303e6d33533")}catch{}})();function k(n,r){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);r&&(t=t.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),e.push.apply(e,t)}return e}function y(n){for(var r=1;r<arguments.length;r++){var e=arguments[r]!=null?arguments[r]:{};r%2?k(Object(e),!0).forEach(function(t){I(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):k(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}function I(n,r,e){return r in n?Object.defineProperty(n,r,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[r]=e,n}function w(n,r){return function(e){if(Array.isArray(e))return e}(n)||function(e,t){var l=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(l!=null){var o,i,u=[],a=!0,d=!1;try{for(l=l.call(e);!(a=(o=l.next()).done)&&(u.push(o.value),!t||u.length!==t);a=!0);}catch(c){d=!0,i=c}finally{try{a||l.return==null||l.return()}finally{if(d)throw i}}return u}}(n,r)||function(e,t){if(e){if(typeof e=="string")return S(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);if(l==="Object"&&e.constructor&&(l=e.constructor.name),l==="Map"||l==="Set")return Array.from(e);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return S(e,t)}}(n,r)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2
2
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function S(n,r){(r==null||r>n.length)&&(r=n.length);for(var e=0,t=new Array(r);e<r;e++)t[e]=n[e];return t}var b=typeof globalThis<"u"?globalThis:typeof window<"u"?window:x!==void 0?x:typeof self<"u"?self:{};function T(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function D(n,r){return n(r={exports:{}},r.exports),r.exports}var v=D(function(n,r){var e=b&&b.__rest||function(o,i){var u={};for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&i.indexOf(a)<0&&(u[a]=o[a]);if(o!=null&&typeof Object.getOwnPropertySymbols=="function"){var d=0;for(a=Object.getOwnPropertySymbols(o);d<a.length;d++)i.indexOf(a[d])<0&&Object.prototype.propertyIsEnumerable.call(o,a[d])&&(u[a[d]]=o[a[d]])}return u};Object.defineProperty(r,"__esModule",{value:!0}),r.scripts=void 0,r.scripts={};var t=function(o){var i=document.querySelector('script[src="'+o+'"]');if(i)return r.scripts[o]={loading:!1,error:null,scriptEl:i}};r.default=function(o){var i=o.src,u=o.checkForExisting,a=u!==void 0&&u,d=e(o,["src","checkForExisting"]),c=i?r.scripts[i]:void 0;!c&&a&&i&&l&&(c=t(i));var p=(0,g.useState)(c?c.loading:!!i),E=p[0],A=p[1],m=(0,g.useState)(c?c.error:null),h=m[0],C=m[1];return(0,g.useEffect)(function(){if(l&&i&&E&&!h){var s;!(c=r.scripts[i])&&a&&(c=t(i)),c?s=c.scriptEl:((s=document.createElement("script")).src=i,Object.keys(d).forEach(function(f){s[f]===void 0?s.setAttribute(f,d[f]):s[f]=d[f]}),c=r.scripts[i]={loading:!0,error:null,scriptEl:s});var j=function(){c&&(c.loading=!1),A(!1)},P=function(f){c&&(c.error=f),C(f)};return s.addEventListener("load",j),s.addEventListener("error",P),document.body.appendChild(s),function(){s.removeEventListener("load",j),s.removeEventListener("error",P)}}},[i]),[E,h]};var l=typeof window<"u"&&window.document!==void 0});T(v),v.scripts;var L=D(function(n,r){var e=b&&b.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(r,"__esModule",{value:!0}),r.scripts=r.default=void 0,Object.defineProperty(r,"default",{enumerable:!0,get:function(){return e(v).default}}),Object.defineProperty(r,"scripts",{enumerable:!0,get:function(){return v.scripts}})}),N=T(L);L.scripts;var _,F=function(n){var r={plaid:null,open:!1,onExitCallback:null};if(typeof window>"u"||!window.Plaid)throw new Error("Plaid not loaded");var e,t,l,o,i=(e=n,t="publicKey",l="key",o={},delete Object.assign(o,e,I({},l,e[t]))[t],o);return r.plaid=window.Plaid.create(y(y({},i),{},{onExit:function(u,a){r.open=!1,i.onExit&&i.onExit(u,a),r.onExitCallback&&r.onExitCallback()}})),{open:function(){r.plaid&&(r.open=!0,r.onExitCallback=null,r.plaid.open())},exit:function(u,a){r.open&&r.plaid?(r.onExitCallback=a,r.plaid.exit(u),u&&u.force&&(r.open=!1)):a&&a()},destroy:function(){r.plaid&&(r.plaid.destroy(),r.plaid=null)}}},R=function(){},K=function(n){var r=w(N({src:"https://cdn.plaid.com/link/v2/stable/link-initialize.js",checkForExisting:!0}),2),e=r[0],t=r[1],l=w(O.useState(null),2),o=l[0],i=l[1],u=w(O.useState(!1),2),a=u[0],d=u[1],c=(n.product||[]).slice().sort().join(",");return O.useEffect(function(){if(!e&&(n.token||n.publicKey)){if(!t&&window.Plaid){o?.exit({force:!0},function(){return o.destroy()});var p=F(y(y({},n),{},{onLoad:function(){d(!0),n.onLoad&&n.onLoad()}}));return i(p),function(){return p.exit({force:!0},function(){return p.destroy()})}}console.error("Error loading Plaid",t)}},[e,t,n.publicKey,n.token,c]),{error:t,ready:o!=null&&(!e||a),exit:o?o.exit:R,open:o?o.open:function(){n.token||console.warn("react-plaid-link: You cannot call open() without a valid token supplied to usePlaidLink. This is a no-op.")}}};(function(n){n.OPEN="OPEN",n.EXIT="EXIT",n.HANDOFF="HANDOFF",n.SELECT_INSTITUTION="SELECT_INSTITUTION",n.ERROR="ERROR"})(_||(_={}));export{K as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./sentry-
|
|
1
|
+
import"./sentry-DJeJwz74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7747574b-b419-4fe0-9547-9ada7b4cc335",e._sentryDebugIdIdentifier="sentry-dbid-7747574b-b419-4fe0-9547-9ada7b4cc335")}catch{}})();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as $}from"./sentry-
|
|
1
|
+
import{b as $}from"./sentry-DJeJwz74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="c2e9a849-5489-4b54-8a96-5046acbf703c",e._sentryDebugIdIdentifier="sentry-dbid-c2e9a849-5489-4b54-8a96-5046acbf703c")}catch{}})();const B=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting","waitingforkey","resize","enterpictureinpicture","leavepictureinpicture","webkitbeginfullscreen","webkitendfullscreen","webkitpresentationmodechanged"],T=globalThis.document?.createElement("template");T&&(T.innerHTML=`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{c as ee,b as Re}from"./sentry-Cdif28fl.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="91e1f775-cdfd-4ce0-b16f-1ddc2d109154",n._sentryDebugIdIdentifier="sentry-dbid-91e1f775-cdfd-4ce0-b16f-1ddc2d109154")}catch{}})();function le(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 he(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?le(Object(e),!0).forEach(function(r){X(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):le(Object(e)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function N(){N=function(){return n};var n={},t=Object.prototype,e=t.hasOwnProperty,r=Object.defineProperty||function(h,c,p){h[c]=p.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(h,c,p){return Object.defineProperty(h,c,{value:p,enumerable:!0,configurable:!0,writable:!0}),h[c]}try{u({},"")}catch{u=function(c,p,E){return c[p]=E}}function v(h,c,p,E){var g=c&&c.prototype instanceof y?c:y,j=Object.create(g.prototype),C=new O(E||[]);return r(j,"_invoke",{value:f(h,p,C)}),j}function b(h,c,p){try{return{type:"normal",arg:h.call(c,p)}}catch(E){return{type:"throw",arg:E}}}n.wrap=v;var w={};function y(){}function T(){}function x(){}var P={};u(P,o,function(){return this});var A=Object.getPrototypeOf,S=A&&A(A(q([])));S&&S!==t&&e.call(S,o)&&(P=S);var _=x.prototype=y.prototype=Object.create(P);function M(h){["next","throw","return"].forEach(function(c){u(h,c,function(p){return this._invoke(c,p)})})}function l(h,c){function p(g,j,C,R){var F=b(h[g],h,j);if(F.type!=="throw"){var B=F.arg,$=B.value;return $&&typeof $=="object"&&e.call($,"__await")?c.resolve($.__await).then(function(W){p("next",W,C,R)},function(W){p("throw",W,C,R)}):c.resolve($).then(function(W){B.value=W,C(B)},function(W){return p("throw",W,C,R)})}R(F.arg)}var E;r(this,"_invoke",{value:function(g,j){function C(){return new c(function(R,F){p(g,j,R,F)})}return E=E?E.then(C,C):C()}})}function f(h,c,p){var E="suspendedStart";return function(g,j){if(E==="executing")throw new Error("Generator is already running");if(E==="completed"){if(g==="throw")throw j;return J()}for(p.method=g,p.arg=j;;){var C=p.delegate;if(C){var R=d(C,p);if(R){if(R===w)continue;return R}}if(p.method==="next")p.sent=p._sent=p.arg;else if(p.method==="throw"){if(E==="suspendedStart")throw E="completed",p.arg;p.dispatchException(p.arg)}else p.method==="return"&&p.abrupt("return",p.arg);E="executing";var F=b(h,c,p);if(F.type==="normal"){if(E=p.done?"completed":"suspendedYield",F.arg===w)continue;return{value:F.arg,done:p.done}}F.type==="throw"&&(E="completed",p.method="throw",p.arg=F.arg)}}}function d(h,c){var p=c.method,E=h.iterator[p];if(E===void 0)return c.delegate=null,p==="throw"&&h.iterator.return&&(c.method="return",c.arg=void 0,d(h,c),c.method==="throw")||p!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+p+"' method")),w;var g=b(E,h.iterator,c.arg);if(g.type==="throw")return c.method="throw",c.arg=g.arg,c.delegate=null,w;var j=g.arg;return j?j.done?(c[h.resultName]=j.value,c.next=h.nextLoc,c.method!=="return"&&(c.method="next",c.arg=void 0),c.delegate=null,w):j:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,w)}function k(h){var c={tryLoc:h[0]};1 in h&&(c.catchLoc=h[1]),2 in h&&(c.finallyLoc=h[2],c.afterLoc=h[3]),this.tryEntries.push(c)}function m(h){var c=h.completion||{};c.type="normal",delete c.arg,h.completion=c}function O(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(k,this),this.reset(!0)}function q(h){if(h){var c=h[o];if(c)return c.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var p=-1,E=function g(){for(;++p<h.length;)if(e.call(h,p))return g.value=h[p],g.done=!1,g;return g.value=void 0,g.done=!0,g};return E.next=E}}return{next:J}}function J(){return{value:void 0,done:!0}}return T.prototype=x,r(_,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:T,configurable:!0}),T.displayName=u(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(h){var c=typeof h=="function"&&h.constructor;return!!c&&(c===T||(c.displayName||c.name)==="GeneratorFunction")},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,x):(h.__proto__=x,u(h,s,"GeneratorFunction")),h.prototype=Object.create(_),h},n.awrap=function(h){return{__await:h}},M(l.prototype),u(l.prototype,a,function(){return this}),n.AsyncIterator=l,n.async=function(h,c,p,E,g){g===void 0&&(g=Promise);var j=new l(v(h,c,p,E),g);return n.isGeneratorFunction(c)?j:j.next().then(function(C){return C.done?C.value:j.next()})},M(_),u(_,s,"Generator"),u(_,o,function(){return this}),u(_,"toString",function(){return"[object Generator]"}),n.keys=function(h){var c=Object(h),p=[];for(var E in c)p.push(E);return p.reverse(),function g(){for(;p.length;){var j=p.pop();if(j in c)return g.value=j,g.done=!1,g}return g.done=!0,g}},n.values=q,O.prototype={constructor:O,reset:function(h){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(m),!h)for(var c in this)c.charAt(0)==="t"&&e.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=void 0)},stop:function(){this.done=!0;var h=this.tryEntries[0].completion;if(h.type==="throw")throw h.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var c=this;function p(F,B){return j.type="throw",j.arg=h,c.next=F,B&&(c.method="next",c.arg=void 0),!!B}for(var E=this.tryEntries.length-1;E>=0;--E){var g=this.tryEntries[E],j=g.completion;if(g.tryLoc==="root")return p("end");if(g.tryLoc<=this.prev){var C=e.call(g,"catchLoc"),R=e.call(g,"finallyLoc");if(C&&R){if(this.prev<g.catchLoc)return p(g.catchLoc,!0);if(this.prev<g.finallyLoc)return p(g.finallyLoc)}else if(C){if(this.prev<g.catchLoc)return p(g.catchLoc,!0)}else{if(!R)throw new Error("try statement without catch or finally");if(this.prev<g.finallyLoc)return p(g.finallyLoc)}}}},abrupt:function(h,c){for(var p=this.tryEntries.length-1;p>=0;--p){var E=this.tryEntries[p];if(E.tryLoc<=this.prev&&e.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var g=E;break}}g&&(h==="break"||h==="continue")&&g.tryLoc<=c&&c<=g.finallyLoc&&(g=null);var j=g?g.completion:{};return j.type=h,j.arg=c,g?(this.method="next",this.next=g.finallyLoc,w):this.complete(j)},complete:function(h,c){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&c&&(this.next=c),w},finish:function(h){for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c];if(p.finallyLoc===h)return this.complete(p.completion,p.afterLoc),m(p),w}},catch:function(h){for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c];if(p.tryLoc===h){var E=p.completion;if(E.type==="throw"){var g=E.arg;m(p)}return g}}throw new Error("illegal catch attempt")},delegateYield:function(h,c,p){return this.delegate={iterator:q(h),resultName:c,nextLoc:p},this.method==="next"&&(this.arg=void 0),w}},n}function fe(n,t,e,r,i,o,a){try{var s=n[o](a),u=s.value}catch(v){return void e(v)}s.done?t(u):Promise.resolve(u).then(r,i)}function H(n){return function(){var t=this,e=arguments;return new Promise(function(r,i){var o=n.apply(t,e);function a(u){fe(o,r,i,a,s,"next",u)}function s(u){fe(o,r,i,a,s,"throw",u)}a(void 0)})}}function Pe(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function je(n,t,e){return t&&function(r,i){for(var o=0;o<i.length;o++){var a=i[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,Oe(a.key),a)}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function X(n,t,e){return(t=Oe(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function Y(n){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Y(n)}function Q(n,t){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},Q(n,t)}function _e(){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 ae(n,t,e){return ae=_e()?Reflect.construct.bind():function(r,i,o){var a=[null];a.push.apply(a,i);var s=new(Function.bind.apply(r,a));return o&&Q(s,o.prototype),s},ae.apply(null,arguments)}function ue(n){var t=typeof Map=="function"?new Map:void 0;return ue=function(e){if(e===null||(r=e,Function.toString.call(r).indexOf("[native code]")===-1))return e;var r;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return ae(e,arguments,Y(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Q(i,e)},ue(n)}function Z(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Fe(n){var t=_e();return function(){var e,r=Y(n);if(t){var i=Y(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(o)}(this,e)}}function Oe(n){var t=function(e,r){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var o=i.call(e,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n,"string");return typeof t=="symbol"?t:String(t)}var Ae=ee!==void 0&&{}.toString.call(ee)==="[object global]";function de(n,t){return n.indexOf(t.toLowerCase())===0?n:"".concat(t.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function z(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function pe(n){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(n)}function Ce(){var n,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.id,r=t.url,i=e||r;if(!i)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(n=i,!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n)return"https://vimeo.com/".concat(i);if(z(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var ve=function(n,t,e){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof t=="string"?[t]:t;return o.forEach(function(a){n[r](a,e)}),{cancel:function(){return o.forEach(function(a){return n[i](a,e)})}}},Ie=Array.prototype.indexOf!==void 0,qe=typeof window<"u"&&window.postMessage!==void 0;if(!(Ae||Ie&&qe))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:ee!==void 0?ee:typeof self<"u"?self:{};(function(n){if(!n.WeakMap){var t=Object.prototype.hasOwnProperty,e=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),r=function(o,a,s){e?Object.defineProperty(o,a,{configurable:!0,writable:!0,value:s}):o[a]=s};n.WeakMap=function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+s()+"."+s()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function a(u,v){if(!i(u)||!t.call(u,"_id"))throw new TypeError(v+" method called on incompatible receiver "+typeof u)}function s(){return Math.random().toString().substring(2)}return r(o.prototype,"delete",function(u){if(a(this,"delete"),!i(u))return!1;var v=u[this._id];return!(!v||v[0]!==u)&&(delete u[this._id],!0)}),r(o.prototype,"get",function(u){if(a(this,"get"),i(u)){var v=u[this._id];return v&&v[0]===u?v[1]:void 0}}),r(o.prototype,"has",function(u){if(a(this,"has"),!i(u))return!1;var v=u[this._id];return!(!v||v[0]!==u)}),r(o.prototype,"set",function(u,v){if(a(this,"set"),!i(u))throw new TypeError("Invalid value used as weak map key");var b=u[this._id];return b&&b[0]===u?(b[1]=v,this):(r(u,this._id,[u,v]),this)}),r(o,"_polyfill",!0),o}()}function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Me);var me,re,I=(me=function(n){var t,e,r;r=function(){var i,o,a,s=Object.prototype.toString,u=typeof setImmediate<"u"?function(l){return setImmediate(l)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(l,f,d,k){return Object.defineProperty(l,f,{value:d,writable:!0,configurable:k!==!1})}}catch{i=function(f,d,k){return f[d]=k,f}}function v(l,f){a.add(l,f),o||(o=u(a.drain))}function b(l){var f,d=typeof l;return l==null||d!="object"&&d!="function"||(f=l.then),typeof f=="function"&&f}function w(){for(var l=0;l<this.chain.length;l++)y(this,this.state===1?this.chain[l].success:this.chain[l].failure,this.chain[l]);this.chain.length=0}function y(l,f,d){var k,m;try{f===!1?d.reject(l.msg):(k=f===!0?l.msg:f.call(void 0,l.msg))===d.promise?d.reject(TypeError("Promise-chain cycle")):(m=b(k))?m.call(k,d.resolve,d.reject):d.resolve(k)}catch(O){d.reject(O)}}function T(l){var f,d=this;if(!d.triggered){d.triggered=!0,d.def&&(d=d.def);try{(f=b(l))?v(function(){var k=new A(d);try{f.call(l,function(){T.apply(k,arguments)},function(){x.apply(k,arguments)})}catch(m){x.call(k,m)}}):(d.msg=l,d.state=1,d.chain.length>0&&v(w,d))}catch(k){x.call(new A(d),k)}}}function x(l){var f=this;f.triggered||(f.triggered=!0,f.def&&(f=f.def),f.msg=l,f.state=2,f.chain.length>0&&v(w,f))}function P(l,f,d,k){for(var m=0;m<f.length;m++)(function(O){l.resolve(f[O]).then(function(q){d(O,q)},k)})(m)}function A(l){this.def=l,this.triggered=!1}function S(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function _(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var f=new S(this);this.then=function(d,k){var m={success:typeof d!="function"||d,failure:typeof k=="function"&&k};return m.promise=new this.constructor(function(O,q){if(typeof O!="function"||typeof q!="function")throw TypeError("Not a function");m.resolve=O,m.reject=q}),f.chain.push(m),f.state!==0&&v(w,f),m.promise},this.catch=function(d){return this.then(void 0,d)};try{l.call(void 0,function(d){T.call(f,d)},function(d){x.call(f,d)})}catch(d){x.call(f,d)}}a=function(){var l,f,d;function k(m,O){this.fn=m,this.self=O,this.next=void 0}return{add:function(m,O){d=new k(m,O),f?f.next=d:l=d,f=d,d=void 0},drain:function(){var m=l;for(l=f=o=void 0;m;)m.fn.call(m.self),m=m.next}}}();var M=i({},"constructor",_,!1);return _.prototype=M,i(M,"__NPO__",0,!1),i(_,"resolve",function(l){return l&&typeof l=="object"&&l.__NPO__===1?l:new this(function(f,d){if(typeof f!="function"||typeof d!="function")throw TypeError("Not a function");f(l)})}),i(_,"reject",function(l){return new this(function(f,d){if(typeof f!="function"||typeof d!="function")throw TypeError("Not a function");d(l)})}),i(_,"all",function(l){var f=this;return s.call(l)!="[object Array]"?f.reject(TypeError("Not an array")):l.length===0?f.resolve([]):new f(function(d,k){if(typeof d!="function"||typeof k!="function")throw TypeError("Not a function");var m=l.length,O=Array(m),q=0;P(f,l,function(J,h){O[J]=h,++q===m&&d(O)},k)})}),i(_,"race",function(l){var f=this;return s.call(l)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(d,k){if(typeof d!="function"||typeof k!="function")throw TypeError("Not a function");P(f,l,function(m,O){d(O)},k)})}),_},(e=Me)[t="Promise"]=e[t]||r(),n.exports&&(n.exports=e[t])},me(re={exports:{}},re.exports),re.exports),V=new WeakMap;function G(n,t,e){var r=V.get(n.element)||{};t in r||(r[t]=[]),r[t].push(e),V.set(n.element,r)}function K(n,t){return(V.get(n.element)||{})[t]||[]}function te(n,t,e){var r=V.get(n.element)||{};if(!r[t])return!0;if(!e)return r[t]=[],V.set(n.element,r),!0;var i=r[t].indexOf(e);return i!==-1&&r[t].splice(i,1),V.set(n.element,r),r[t]&&r[t].length===0}function ne(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(t){return console.warn(t),{}}return n}function D(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 Ve(n,t){var e,r=[];if((t=ne(t)).event)t.event==="error"&&K(n,t.data.method).forEach(function(o){var a=new Error(t.data.message);a.name=t.data.name,o.reject(a),te(n,t.data.method,o)}),r=K(n,"event:".concat(t.event)),e=t.data;else if(t.method){var i=function(o,a){var s=K(o,a);if(s.length<1)return!1;var u=s.shift();return te(o,a,u),u}(n,t.method);i&&(r.push(i),e=t.value)}r.forEach(function(o){try{if(typeof o=="function")return void o.call(n,e);o.resolve(e)}catch{}})}var We=["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 Ne(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return We.reduce(function(e,r){var i=n.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(e[r]=i===""?1:i),e},t)}function ce(n,t){var e=n.html;if(!t)throw new TypeError("An element must be provided");if(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 Le(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(!z(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var o=function(v){for(var b=(v||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),w=(b&&b[1]||"").replace("player.",""),y=0,T=[".videoji.hk",".vimeo.work",".videoji.cn"];y<T.length;y++){var x=T[y];if(w.endsWith(x))return w}return"vimeo.com"}(n),a="https://".concat(o,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var s in t)t.hasOwnProperty(s)&&(a+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var u="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;u.open("GET",a,!0),u.onload=function(){if(u.status!==404)if(u.status!==403)try{var v=JSON.parse(u.responseText);if(v.domain_status_code===403)return ce(v,e),void i(new Error("“".concat(n,"” is not embeddable.")));r(v)}catch(b){i(b)}else i(new Error("“".concat(n,"” is not embeddable.")));else i(new Error("“".concat(n,"” was not found.")))},u.onerror=function(){var v=u.status?" (".concat(u.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},u.send()})}var De={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},He=function(){(function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),a&&Q(o,a)})(i,ue(EventTarget));var n,t,e,r=Fe(i);function i(o,a){var s,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments.length>3?arguments[3]:void 0;return Pe(this,i),X(Z(s=r.call(this)),"logger",void 0),X(Z(s),"speedAdjustment",0),X(Z(s),"adjustSpeed",function(){var b=H(N().mark(function w(y,T){var x;return N().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(s.speedAdjustment!==T){P.next=2;break}return P.abrupt("return");case 2:return P.next=4,y.getPlaybackRate();case 4:return P.t0=P.sent,P.t1=s.speedAdjustment,P.t2=P.t0-P.t1,P.t3=T,x=P.t2+P.t3,s.log("New playbackRate: ".concat(x)),P.next=12,y.setPlaybackRate(x);case 12:s.speedAdjustment=T;case 13:case"end":return P.stop()}},w)}));return function(w,y){return b.apply(this,arguments)}}()),s.logger=v,s.init(a,o,he(he({},De),u)),s}return je(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(e=H(N().mark(function o(a,s,u){var v,b,w,y=this;return N().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.waitForTOReadyState(a,"open");case 2:if(u.role!=="viewer"){T.next=10;break}return T.next=5,this.updatePlayer(a,s,u);case 5:v=ve(a,"change",function(){return y.updatePlayer(a,s,u)}),b=this.maintainPlaybackPosition(a,s,u),this.addEventListener("disconnect",function(){b.cancel(),v.cancel()}),T.next=14;break;case 10:return T.next=12,this.updateTimingObject(a,s);case 12:w=ve(s,["seeked","play","pause","ratechange"],function(){return y.updateTimingObject(a,s)},"on","off"),this.addEventListener("disconnect",function(){return w.cancel()});case 14:case"end":return T.stop()}},o,this)})),function(o,a,s){return e.apply(this,arguments)})},{key:"updateTimingObject",value:(t=H(N().mark(function o(a,s){return N().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=a,u.next=3,s.getCurrentTime();case 3:return u.t1=u.sent,u.next=6,s.getPaused();case 6:if(!u.sent){u.next=10;break}u.t2=0,u.next=13;break;case 10:return u.next=12,s.getPlaybackRate();case 12:u.t2=u.sent;case 13:u.t3=u.t2,u.t4={position:u.t1,velocity:u.t3},u.t0.update.call(u.t0,u.t4);case 16:case"end":return u.stop()}},o)})),function(o,a){return t.apply(this,arguments)})},{key:"updatePlayer",value:(n=H(N().mark(function o(a,s,u){var v,b,w;return N().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(v=a.query(),b=v.position,w=v.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof w!="number"){y.next=25;break}if(w!==0){y.next=11;break}return y.next=6,s.getPaused();case 6:if(y.t0=y.sent,y.t0!==!1){y.next=9;break}s.pause();case 9:y.next=25;break;case 11:if(!(w>0)){y.next=25;break}return y.next=14,s.getPaused();case 14:if(y.t1=y.sent,y.t1!==!0){y.next=19;break}return y.next=18,s.play().catch(function(){var T=H(N().mark(function x(P){return N().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(P.name!=="NotAllowedError"||!u.autoPlayMuted){A.next=5;break}return A.next=3,s.setMuted(!0);case 3:return A.next=5,s.play().catch(function(S){return console.error("Couldn't play the video from TimingSrcConnector. Error:",S)});case 5:case"end":return A.stop()}},x)}));return function(x){return T.apply(this,arguments)}}());case 18:this.updatePlayer(a,s,u);case 19:return y.next=21,s.getPlaybackRate();case 21:if(y.t2=y.sent,y.t3=w,y.t2===y.t3){y.next=25;break}s.setPlaybackRate(w);case 25:case"end":return y.stop()}},o,this)})),function(o,a,s){return n.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(o,a,s){var u=this,v=s.allowedDrift,b=s.maxAllowedDrift,w=s.minCheckInterval,y=s.maxRateAdjustment,T=s.maxTimeToCatchUp,x=1e3*Math.min(T,Math.max(w,b)),P=function(){var S=H(N().mark(function _(){var M,l,f,d,k;return N().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(m.t0=o.query().velocity===0,m.t0){m.next=6;break}return m.next=4,a.getPaused();case 4:m.t1=m.sent,m.t0=m.t1===!0;case 6:if(!m.t0){m.next=8;break}return m.abrupt("return");case 8:return m.t2=o.query().position,m.next=11,a.getCurrentTime();case 11:if(m.t3=m.sent,M=m.t2-m.t3,l=Math.abs(M),u.log("Drift: ".concat(M)),!(l>b)){m.next=22;break}return m.next=18,u.adjustSpeed(a,0);case 18:a.setCurrentTime(o.query().position),u.log("Resync by currentTime"),m.next=29;break;case 22:if(!(l>v)){m.next=29;break}return k=(f=l/T)<(d=y)?(d-f)/2:d,m.next=28,u.adjustSpeed(a,k*Math.sign(M));case 28:u.log("Resync by playbackRate");case 29:case"end":return m.stop()}},_)}));return function(){return S.apply(this,arguments)}}(),A=setInterval(function(){return P()},x);return{cancel:function(){return clearInterval(A)}}}},{key:"log",value:function(o){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(o))}},{key:"waitForTOReadyState",value:function(o,a){return new Promise(function(s){(function u(){o.readyState===a?s():o.addEventListener("readystatechange",u,{once:!0})})()})}}]),i}(),U=new WeakMap,ie=new WeakMap,L={},se=function(){function n(e){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Pe(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)),!function(u){return!!(u&&u.nodeType===1&&"nodeName"in u&&u.ownerDocument&&u.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var o=e.querySelector("iframe");o&&(e=o)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(U.has(e))return U.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new I(function(u,v){if(r._onMessage=function(w){if(z(w.origin)&&r.element.contentWindow===w.source){r.origin==="*"&&(r.origin=w.origin);var y=ne(w.data);if(y&&y.event==="error"&&y.data&&y.data.method==="ready"){var T=new Error(y.data.message);return T.name=y.data.name,void v(T)}var x=y&&y.event==="ready",P=y&&y.method==="ping";if(x||P)return r.element.setAttribute("data-ready","true"),void u();Ve(r,y)}},r._window.addEventListener("message",r._onMessage),r.element.nodeName!=="IFRAME"){var b=Ne(e,i);Le(Ce(b),b,e).then(function(w){var y,T,x,P=ce(w,e);return r.element=P,r._originalElement=e,y=e,T=P,x=V.get(y),V.set(T,x),V.delete(y),U.set(r.element,r),w}).catch(v)}});if(ie.set(this,a),U.set(this.element,this),this.element.nodeName==="IFRAME"&&D(this,"ping"),L.isEnabled){var s=function(){return L.exit()};this.fullscreenchangeHandler=function(){L.isFullscreen?G(r,"event:exitFullscreen",s):te(r,"event:exitFullscreen",s),r.ready().then(function(){D(r,"fullscreenchange",L.isFullscreen)})},L.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var t;return je(n,[{key:"callMethod",value:function(e){for(var r=this,i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(e==null)throw new TypeError("You must pass a method name.");return new I(function(s,u){return r.ready().then(function(){G(r,e,{resolve:s,reject:u}),D(r,e,o)}).catch(u)})}},{key:"get",value:function(e){var r=this;return new I(function(i,o){return e=de(e,"get"),r.ready().then(function(){G(r,e,{resolve:i,reject:o}),D(r,e)}).catch(o)})}},{key:"set",value:function(e,r){var i=this;return new I(function(o,a){if(e=de(e,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){G(i,e,{resolve:o,reject:a}),D(i,e,r)}).catch(a)})}},{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.");K(this,"event:".concat(e)).length===0&&this.callMethod("addEventListener",e).catch(function(){}),G(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.");te(this,"event:".concat(e),r)&&this.callMethod("removeEventListener",e).catch(function(i){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=ie.get(this)||new I(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return I.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 L.isEnabled?L.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return L.isEnabled?L.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return L.isEnabled?I.resolve(L.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 I(function(r){if(ie.delete(e),U.delete(e.element),e._originalElement&&(U.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),L.isEnabled&&L.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 I.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 I(function(o,a){return a(new TypeError("Argument must be an array."))});var r=new I(function(o){return o(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 I.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")}},{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:(t=H(N().mark(function e(r,i){var o,a=this;return N().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(r){s.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return s.next=4,this.ready();case 4:return o=new He(this,r,i),D(this,"notifyTimingObjectConnect"),o.addEventListener("disconnect",function(){return D(a,"notifyTimingObjectDisconnect")}),s.abrupt("return",o);case 8:case"end":return s.stop()}},e,this)})),function(e,r){return t.apply(this,arguments)})}]),n}();Ae||(L=function(){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"]],o=0,a=i.length,s={};o<a;o++)if((r=i[o])&&r[1]in document){for(o=0;o<r.length;o++)s[i[0][o]]=r[o];return s}return!1}(),t={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},e={request:function(r){return new Promise(function(i,o){var a=function u(){e.off("fullscreenchange",u),i()};e.on("fullscreenchange",a);var s=(r=r||document.documentElement)[n.requestFullscreen]();s instanceof Promise&&s.then(a).catch(o)})},exit:function(){return new Promise(function(r,i){if(e.isFullscreen){var o=function s(){e.off("fullscreenchange",s),r()};e.on("fullscreenchange",o);var a=document[n.exitFullscreen]();a instanceof Promise&&a.then(o).catch(i)}else r()})},on:function(r,i){var o=t[r];o&&document.addEventListener(o,i)},off:function(r,i){var o=t[r];o&&document.removeEventListener(o,i)}};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}(),function(){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(r){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(r))};t.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=Ne(r);Le(Ce(i),i,r).then(function(o){return ce(o,r)}).catch(e)}catch(o){e(o)}})}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(z(t.origin)&&t.data&&t.data.event==="spacechange"){for(var e=n.querySelectorAll("iframe"),r=0;r<e.length;r++)if(e[r].contentWindow===t.source){e[r].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}}}))}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(z(t.origin)){var e=ne(t.data);if(e&&e.event==="ready")for(var r=n.querySelectorAll("iframe"),i=0;i<r.length;i++){var o=r[i],a=o.contentWindow===t.source;pe(o.src)&&a&&new se(o).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(e){if(z(e.origin)){var r=ne(e.data);if(r&&r.event==="ready")for(var i=n.querySelectorAll("iframe"),o=function(){var s=i[a],u=s.contentWindow===e.source;if(pe(s.src)&&u){var v=new se(s);v.getVideoId().then(function(b){var w=new RegExp("[?&]vimeo_t_".concat(b,"=([^&#]*)")).exec(window.location.href);if(w&&w[1]){var y=decodeURI(w[1]);v.setCurrentTime(y)}}).catch(t)}},a=0;a<i.length;a++)o()}})}}());const ze=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function ye(n,t={}){const e={src:Be(n,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(e["data-config"]=JSON.stringify(t.config)),`
|
|
1
|
+
import{c as ee,b as Re}from"./sentry-DJeJwz74.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="91e1f775-cdfd-4ce0-b16f-1ddc2d109154",n._sentryDebugIdIdentifier="sentry-dbid-91e1f775-cdfd-4ce0-b16f-1ddc2d109154")}catch{}})();function le(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 he(n){for(var t=1;t<arguments.length;t++){var e=arguments[t]!=null?arguments[t]:{};t%2?le(Object(e),!0).forEach(function(r){X(n,r,e[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):le(Object(e)).forEach(function(r){Object.defineProperty(n,r,Object.getOwnPropertyDescriptor(e,r))})}return n}function N(){N=function(){return n};var n={},t=Object.prototype,e=t.hasOwnProperty,r=Object.defineProperty||function(h,c,p){h[c]=p.value},i=typeof Symbol=="function"?Symbol:{},o=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function u(h,c,p){return Object.defineProperty(h,c,{value:p,enumerable:!0,configurable:!0,writable:!0}),h[c]}try{u({},"")}catch{u=function(c,p,E){return c[p]=E}}function v(h,c,p,E){var g=c&&c.prototype instanceof y?c:y,j=Object.create(g.prototype),C=new O(E||[]);return r(j,"_invoke",{value:f(h,p,C)}),j}function b(h,c,p){try{return{type:"normal",arg:h.call(c,p)}}catch(E){return{type:"throw",arg:E}}}n.wrap=v;var w={};function y(){}function T(){}function x(){}var P={};u(P,o,function(){return this});var A=Object.getPrototypeOf,S=A&&A(A(q([])));S&&S!==t&&e.call(S,o)&&(P=S);var _=x.prototype=y.prototype=Object.create(P);function M(h){["next","throw","return"].forEach(function(c){u(h,c,function(p){return this._invoke(c,p)})})}function l(h,c){function p(g,j,C,R){var F=b(h[g],h,j);if(F.type!=="throw"){var B=F.arg,$=B.value;return $&&typeof $=="object"&&e.call($,"__await")?c.resolve($.__await).then(function(W){p("next",W,C,R)},function(W){p("throw",W,C,R)}):c.resolve($).then(function(W){B.value=W,C(B)},function(W){return p("throw",W,C,R)})}R(F.arg)}var E;r(this,"_invoke",{value:function(g,j){function C(){return new c(function(R,F){p(g,j,R,F)})}return E=E?E.then(C,C):C()}})}function f(h,c,p){var E="suspendedStart";return function(g,j){if(E==="executing")throw new Error("Generator is already running");if(E==="completed"){if(g==="throw")throw j;return J()}for(p.method=g,p.arg=j;;){var C=p.delegate;if(C){var R=d(C,p);if(R){if(R===w)continue;return R}}if(p.method==="next")p.sent=p._sent=p.arg;else if(p.method==="throw"){if(E==="suspendedStart")throw E="completed",p.arg;p.dispatchException(p.arg)}else p.method==="return"&&p.abrupt("return",p.arg);E="executing";var F=b(h,c,p);if(F.type==="normal"){if(E=p.done?"completed":"suspendedYield",F.arg===w)continue;return{value:F.arg,done:p.done}}F.type==="throw"&&(E="completed",p.method="throw",p.arg=F.arg)}}}function d(h,c){var p=c.method,E=h.iterator[p];if(E===void 0)return c.delegate=null,p==="throw"&&h.iterator.return&&(c.method="return",c.arg=void 0,d(h,c),c.method==="throw")||p!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+p+"' method")),w;var g=b(E,h.iterator,c.arg);if(g.type==="throw")return c.method="throw",c.arg=g.arg,c.delegate=null,w;var j=g.arg;return j?j.done?(c[h.resultName]=j.value,c.next=h.nextLoc,c.method!=="return"&&(c.method="next",c.arg=void 0),c.delegate=null,w):j:(c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,w)}function k(h){var c={tryLoc:h[0]};1 in h&&(c.catchLoc=h[1]),2 in h&&(c.finallyLoc=h[2],c.afterLoc=h[3]),this.tryEntries.push(c)}function m(h){var c=h.completion||{};c.type="normal",delete c.arg,h.completion=c}function O(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(k,this),this.reset(!0)}function q(h){if(h){var c=h[o];if(c)return c.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var p=-1,E=function g(){for(;++p<h.length;)if(e.call(h,p))return g.value=h[p],g.done=!1,g;return g.value=void 0,g.done=!0,g};return E.next=E}}return{next:J}}function J(){return{value:void 0,done:!0}}return T.prototype=x,r(_,"constructor",{value:x,configurable:!0}),r(x,"constructor",{value:T,configurable:!0}),T.displayName=u(x,s,"GeneratorFunction"),n.isGeneratorFunction=function(h){var c=typeof h=="function"&&h.constructor;return!!c&&(c===T||(c.displayName||c.name)==="GeneratorFunction")},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,x):(h.__proto__=x,u(h,s,"GeneratorFunction")),h.prototype=Object.create(_),h},n.awrap=function(h){return{__await:h}},M(l.prototype),u(l.prototype,a,function(){return this}),n.AsyncIterator=l,n.async=function(h,c,p,E,g){g===void 0&&(g=Promise);var j=new l(v(h,c,p,E),g);return n.isGeneratorFunction(c)?j:j.next().then(function(C){return C.done?C.value:j.next()})},M(_),u(_,s,"Generator"),u(_,o,function(){return this}),u(_,"toString",function(){return"[object Generator]"}),n.keys=function(h){var c=Object(h),p=[];for(var E in c)p.push(E);return p.reverse(),function g(){for(;p.length;){var j=p.pop();if(j in c)return g.value=j,g.done=!1,g}return g.done=!0,g}},n.values=q,O.prototype={constructor:O,reset:function(h){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(m),!h)for(var c in this)c.charAt(0)==="t"&&e.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=void 0)},stop:function(){this.done=!0;var h=this.tryEntries[0].completion;if(h.type==="throw")throw h.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var c=this;function p(F,B){return j.type="throw",j.arg=h,c.next=F,B&&(c.method="next",c.arg=void 0),!!B}for(var E=this.tryEntries.length-1;E>=0;--E){var g=this.tryEntries[E],j=g.completion;if(g.tryLoc==="root")return p("end");if(g.tryLoc<=this.prev){var C=e.call(g,"catchLoc"),R=e.call(g,"finallyLoc");if(C&&R){if(this.prev<g.catchLoc)return p(g.catchLoc,!0);if(this.prev<g.finallyLoc)return p(g.finallyLoc)}else if(C){if(this.prev<g.catchLoc)return p(g.catchLoc,!0)}else{if(!R)throw new Error("try statement without catch or finally");if(this.prev<g.finallyLoc)return p(g.finallyLoc)}}}},abrupt:function(h,c){for(var p=this.tryEntries.length-1;p>=0;--p){var E=this.tryEntries[p];if(E.tryLoc<=this.prev&&e.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var g=E;break}}g&&(h==="break"||h==="continue")&&g.tryLoc<=c&&c<=g.finallyLoc&&(g=null);var j=g?g.completion:{};return j.type=h,j.arg=c,g?(this.method="next",this.next=g.finallyLoc,w):this.complete(j)},complete:function(h,c){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&c&&(this.next=c),w},finish:function(h){for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c];if(p.finallyLoc===h)return this.complete(p.completion,p.afterLoc),m(p),w}},catch:function(h){for(var c=this.tryEntries.length-1;c>=0;--c){var p=this.tryEntries[c];if(p.tryLoc===h){var E=p.completion;if(E.type==="throw"){var g=E.arg;m(p)}return g}}throw new Error("illegal catch attempt")},delegateYield:function(h,c,p){return this.delegate={iterator:q(h),resultName:c,nextLoc:p},this.method==="next"&&(this.arg=void 0),w}},n}function fe(n,t,e,r,i,o,a){try{var s=n[o](a),u=s.value}catch(v){return void e(v)}s.done?t(u):Promise.resolve(u).then(r,i)}function H(n){return function(){var t=this,e=arguments;return new Promise(function(r,i){var o=n.apply(t,e);function a(u){fe(o,r,i,a,s,"next",u)}function s(u){fe(o,r,i,a,s,"throw",u)}a(void 0)})}}function Pe(n,t){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}function je(n,t,e){return t&&function(r,i){for(var o=0;o<i.length;o++){var a=i[o];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(r,Oe(a.key),a)}}(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),n}function X(n,t,e){return(t=Oe(t))in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function Y(n){return Y=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Y(n)}function Q(n,t){return Q=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,r){return e.__proto__=r,e},Q(n,t)}function _e(){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 ae(n,t,e){return ae=_e()?Reflect.construct.bind():function(r,i,o){var a=[null];a.push.apply(a,i);var s=new(Function.bind.apply(r,a));return o&&Q(s,o.prototype),s},ae.apply(null,arguments)}function ue(n){var t=typeof Map=="function"?new Map:void 0;return ue=function(e){if(e===null||(r=e,Function.toString.call(r).indexOf("[native code]")===-1))return e;var r;if(typeof e!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return ae(e,arguments,Y(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),Q(i,e)},ue(n)}function Z(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Fe(n){var t=_e();return function(){var e,r=Y(n);if(t){var i=Y(this).constructor;e=Reflect.construct(r,arguments,i)}else e=r.apply(this,arguments);return function(o,a){if(a&&(typeof a=="object"||typeof a=="function"))return a;if(a!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Z(o)}(this,e)}}function Oe(n){var t=function(e,r){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var o=i.call(e,r);if(typeof o!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(n,"string");return typeof t=="symbol"?t:String(t)}var Ae=ee!==void 0&&{}.toString.call(ee)==="[object global]";function de(n,t){return n.indexOf(t.toLowerCase())===0?n:"".concat(t.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function z(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function pe(n){return/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/.test(n)}function Ce(){var n,t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=t.id,r=t.url,i=e||r;if(!i)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(n=i,!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n)return"https://vimeo.com/".concat(i);if(z(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var ve=function(n,t,e){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",o=typeof t=="string"?[t]:t;return o.forEach(function(a){n[r](a,e)}),{cancel:function(){return o.forEach(function(a){return n[i](a,e)})}}},Ie=Array.prototype.indexOf!==void 0,qe=typeof window<"u"&&window.postMessage!==void 0;if(!(Ae||Ie&&qe))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Me=typeof globalThis<"u"?globalThis:typeof window<"u"?window:ee!==void 0?ee:typeof self<"u"?self:{};(function(n){if(!n.WeakMap){var t=Object.prototype.hasOwnProperty,e=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),r=function(o,a,s){e?Object.defineProperty(o,a,{configurable:!0,writable:!0,value:s}):o[a]=s};n.WeakMap=function(){function o(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+s()+"."+s()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function a(u,v){if(!i(u)||!t.call(u,"_id"))throw new TypeError(v+" method called on incompatible receiver "+typeof u)}function s(){return Math.random().toString().substring(2)}return r(o.prototype,"delete",function(u){if(a(this,"delete"),!i(u))return!1;var v=u[this._id];return!(!v||v[0]!==u)&&(delete u[this._id],!0)}),r(o.prototype,"get",function(u){if(a(this,"get"),i(u)){var v=u[this._id];return v&&v[0]===u?v[1]:void 0}}),r(o.prototype,"has",function(u){if(a(this,"has"),!i(u))return!1;var v=u[this._id];return!(!v||v[0]!==u)}),r(o.prototype,"set",function(u,v){if(a(this,"set"),!i(u))throw new TypeError("Invalid value used as weak map key");var b=u[this._id];return b&&b[0]===u?(b[1]=v,this):(r(u,this._id,[u,v]),this)}),r(o,"_polyfill",!0),o}()}function i(o){return Object(o)===o}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:Me);var me,re,I=(me=function(n){var t,e,r;r=function(){var i,o,a,s=Object.prototype.toString,u=typeof setImmediate<"u"?function(l){return setImmediate(l)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(l,f,d,k){return Object.defineProperty(l,f,{value:d,writable:!0,configurable:k!==!1})}}catch{i=function(f,d,k){return f[d]=k,f}}function v(l,f){a.add(l,f),o||(o=u(a.drain))}function b(l){var f,d=typeof l;return l==null||d!="object"&&d!="function"||(f=l.then),typeof f=="function"&&f}function w(){for(var l=0;l<this.chain.length;l++)y(this,this.state===1?this.chain[l].success:this.chain[l].failure,this.chain[l]);this.chain.length=0}function y(l,f,d){var k,m;try{f===!1?d.reject(l.msg):(k=f===!0?l.msg:f.call(void 0,l.msg))===d.promise?d.reject(TypeError("Promise-chain cycle")):(m=b(k))?m.call(k,d.resolve,d.reject):d.resolve(k)}catch(O){d.reject(O)}}function T(l){var f,d=this;if(!d.triggered){d.triggered=!0,d.def&&(d=d.def);try{(f=b(l))?v(function(){var k=new A(d);try{f.call(l,function(){T.apply(k,arguments)},function(){x.apply(k,arguments)})}catch(m){x.call(k,m)}}):(d.msg=l,d.state=1,d.chain.length>0&&v(w,d))}catch(k){x.call(new A(d),k)}}}function x(l){var f=this;f.triggered||(f.triggered=!0,f.def&&(f=f.def),f.msg=l,f.state=2,f.chain.length>0&&v(w,f))}function P(l,f,d,k){for(var m=0;m<f.length;m++)(function(O){l.resolve(f[O]).then(function(q){d(O,q)},k)})(m)}function A(l){this.def=l,this.triggered=!1}function S(l){this.promise=l,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function _(l){if(typeof l!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var f=new S(this);this.then=function(d,k){var m={success:typeof d!="function"||d,failure:typeof k=="function"&&k};return m.promise=new this.constructor(function(O,q){if(typeof O!="function"||typeof q!="function")throw TypeError("Not a function");m.resolve=O,m.reject=q}),f.chain.push(m),f.state!==0&&v(w,f),m.promise},this.catch=function(d){return this.then(void 0,d)};try{l.call(void 0,function(d){T.call(f,d)},function(d){x.call(f,d)})}catch(d){x.call(f,d)}}a=function(){var l,f,d;function k(m,O){this.fn=m,this.self=O,this.next=void 0}return{add:function(m,O){d=new k(m,O),f?f.next=d:l=d,f=d,d=void 0},drain:function(){var m=l;for(l=f=o=void 0;m;)m.fn.call(m.self),m=m.next}}}();var M=i({},"constructor",_,!1);return _.prototype=M,i(M,"__NPO__",0,!1),i(_,"resolve",function(l){return l&&typeof l=="object"&&l.__NPO__===1?l:new this(function(f,d){if(typeof f!="function"||typeof d!="function")throw TypeError("Not a function");f(l)})}),i(_,"reject",function(l){return new this(function(f,d){if(typeof f!="function"||typeof d!="function")throw TypeError("Not a function");d(l)})}),i(_,"all",function(l){var f=this;return s.call(l)!="[object Array]"?f.reject(TypeError("Not an array")):l.length===0?f.resolve([]):new f(function(d,k){if(typeof d!="function"||typeof k!="function")throw TypeError("Not a function");var m=l.length,O=Array(m),q=0;P(f,l,function(J,h){O[J]=h,++q===m&&d(O)},k)})}),i(_,"race",function(l){var f=this;return s.call(l)!="[object Array]"?f.reject(TypeError("Not an array")):new f(function(d,k){if(typeof d!="function"||typeof k!="function")throw TypeError("Not a function");P(f,l,function(m,O){d(O)},k)})}),_},(e=Me)[t="Promise"]=e[t]||r(),n.exports&&(n.exports=e[t])},me(re={exports:{}},re.exports),re.exports),V=new WeakMap;function G(n,t,e){var r=V.get(n.element)||{};t in r||(r[t]=[]),r[t].push(e),V.set(n.element,r)}function K(n,t){return(V.get(n.element)||{})[t]||[]}function te(n,t,e){var r=V.get(n.element)||{};if(!r[t])return!0;if(!e)return r[t]=[],V.set(n.element,r),!0;var i=r[t].indexOf(e);return i!==-1&&r[t].splice(i,1),V.set(n.element,r),r[t]&&r[t].length===0}function ne(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(t){return console.warn(t),{}}return n}function D(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 Ve(n,t){var e,r=[];if((t=ne(t)).event)t.event==="error"&&K(n,t.data.method).forEach(function(o){var a=new Error(t.data.message);a.name=t.data.name,o.reject(a),te(n,t.data.method,o)}),r=K(n,"event:".concat(t.event)),e=t.data;else if(t.method){var i=function(o,a){var s=K(o,a);if(s.length<1)return!1;var u=s.shift();return te(o,a,u),u}(n,t.method);i&&(r.push(i),e=t.value)}r.forEach(function(o){try{if(typeof o=="function")return void o.call(n,e);o.resolve(e)}catch{}})}var We=["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 Ne(n){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return We.reduce(function(e,r){var i=n.getAttribute("data-vimeo-".concat(r));return(i||i==="")&&(e[r]=i===""?1:i),e},t)}function ce(n,t){var e=n.html;if(!t)throw new TypeError("An element must be provided");if(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 Le(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(!z(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var o=function(v){for(var b=(v||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),w=(b&&b[1]||"").replace("player.",""),y=0,T=[".videoji.hk",".vimeo.work",".videoji.cn"];y<T.length;y++){var x=T[y];if(w.endsWith(x))return w}return"vimeo.com"}(n),a="https://".concat(o,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var s in t)t.hasOwnProperty(s)&&(a+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var u="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;u.open("GET",a,!0),u.onload=function(){if(u.status!==404)if(u.status!==403)try{var v=JSON.parse(u.responseText);if(v.domain_status_code===403)return ce(v,e),void i(new Error("“".concat(n,"” is not embeddable.")));r(v)}catch(b){i(b)}else i(new Error("“".concat(n,"” is not embeddable.")));else i(new Error("“".concat(n,"” was not found.")))},u.onerror=function(){var v=u.status?" (".concat(u.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},u.send()})}var De={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},He=function(){(function(o,a){if(typeof a!="function"&&a!==null)throw new TypeError("Super expression must either be null or a function");o.prototype=Object.create(a&&a.prototype,{constructor:{value:o,writable:!0,configurable:!0}}),Object.defineProperty(o,"prototype",{writable:!1}),a&&Q(o,a)})(i,ue(EventTarget));var n,t,e,r=Fe(i);function i(o,a){var s,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},v=arguments.length>3?arguments[3]:void 0;return Pe(this,i),X(Z(s=r.call(this)),"logger",void 0),X(Z(s),"speedAdjustment",0),X(Z(s),"adjustSpeed",function(){var b=H(N().mark(function w(y,T){var x;return N().wrap(function(P){for(;;)switch(P.prev=P.next){case 0:if(s.speedAdjustment!==T){P.next=2;break}return P.abrupt("return");case 2:return P.next=4,y.getPlaybackRate();case 4:return P.t0=P.sent,P.t1=s.speedAdjustment,P.t2=P.t0-P.t1,P.t3=T,x=P.t2+P.t3,s.log("New playbackRate: ".concat(x)),P.next=12,y.setPlaybackRate(x);case 12:s.speedAdjustment=T;case 13:case"end":return P.stop()}},w)}));return function(w,y){return b.apply(this,arguments)}}()),s.logger=v,s.init(a,o,he(he({},De),u)),s}return je(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(e=H(N().mark(function o(a,s,u){var v,b,w,y=this;return N().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return T.next=2,this.waitForTOReadyState(a,"open");case 2:if(u.role!=="viewer"){T.next=10;break}return T.next=5,this.updatePlayer(a,s,u);case 5:v=ve(a,"change",function(){return y.updatePlayer(a,s,u)}),b=this.maintainPlaybackPosition(a,s,u),this.addEventListener("disconnect",function(){b.cancel(),v.cancel()}),T.next=14;break;case 10:return T.next=12,this.updateTimingObject(a,s);case 12:w=ve(s,["seeked","play","pause","ratechange"],function(){return y.updateTimingObject(a,s)},"on","off"),this.addEventListener("disconnect",function(){return w.cancel()});case 14:case"end":return T.stop()}},o,this)})),function(o,a,s){return e.apply(this,arguments)})},{key:"updateTimingObject",value:(t=H(N().mark(function o(a,s){return N().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=a,u.next=3,s.getCurrentTime();case 3:return u.t1=u.sent,u.next=6,s.getPaused();case 6:if(!u.sent){u.next=10;break}u.t2=0,u.next=13;break;case 10:return u.next=12,s.getPlaybackRate();case 12:u.t2=u.sent;case 13:u.t3=u.t2,u.t4={position:u.t1,velocity:u.t3},u.t0.update.call(u.t0,u.t4);case 16:case"end":return u.stop()}},o)})),function(o,a){return t.apply(this,arguments)})},{key:"updatePlayer",value:(n=H(N().mark(function o(a,s,u){var v,b,w;return N().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(v=a.query(),b=v.position,w=v.velocity,typeof b=="number"&&s.setCurrentTime(b),typeof w!="number"){y.next=25;break}if(w!==0){y.next=11;break}return y.next=6,s.getPaused();case 6:if(y.t0=y.sent,y.t0!==!1){y.next=9;break}s.pause();case 9:y.next=25;break;case 11:if(!(w>0)){y.next=25;break}return y.next=14,s.getPaused();case 14:if(y.t1=y.sent,y.t1!==!0){y.next=19;break}return y.next=18,s.play().catch(function(){var T=H(N().mark(function x(P){return N().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:if(P.name!=="NotAllowedError"||!u.autoPlayMuted){A.next=5;break}return A.next=3,s.setMuted(!0);case 3:return A.next=5,s.play().catch(function(S){return console.error("Couldn't play the video from TimingSrcConnector. Error:",S)});case 5:case"end":return A.stop()}},x)}));return function(x){return T.apply(this,arguments)}}());case 18:this.updatePlayer(a,s,u);case 19:return y.next=21,s.getPlaybackRate();case 21:if(y.t2=y.sent,y.t3=w,y.t2===y.t3){y.next=25;break}s.setPlaybackRate(w);case 25:case"end":return y.stop()}},o,this)})),function(o,a,s){return n.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(o,a,s){var u=this,v=s.allowedDrift,b=s.maxAllowedDrift,w=s.minCheckInterval,y=s.maxRateAdjustment,T=s.maxTimeToCatchUp,x=1e3*Math.min(T,Math.max(w,b)),P=function(){var S=H(N().mark(function _(){var M,l,f,d,k;return N().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(m.t0=o.query().velocity===0,m.t0){m.next=6;break}return m.next=4,a.getPaused();case 4:m.t1=m.sent,m.t0=m.t1===!0;case 6:if(!m.t0){m.next=8;break}return m.abrupt("return");case 8:return m.t2=o.query().position,m.next=11,a.getCurrentTime();case 11:if(m.t3=m.sent,M=m.t2-m.t3,l=Math.abs(M),u.log("Drift: ".concat(M)),!(l>b)){m.next=22;break}return m.next=18,u.adjustSpeed(a,0);case 18:a.setCurrentTime(o.query().position),u.log("Resync by currentTime"),m.next=29;break;case 22:if(!(l>v)){m.next=29;break}return k=(f=l/T)<(d=y)?(d-f)/2:d,m.next=28,u.adjustSpeed(a,k*Math.sign(M));case 28:u.log("Resync by playbackRate");case 29:case"end":return m.stop()}},_)}));return function(){return S.apply(this,arguments)}}(),A=setInterval(function(){return P()},x);return{cancel:function(){return clearInterval(A)}}}},{key:"log",value:function(o){var a;(a=this.logger)===null||a===void 0||a.call(this,"TimingSrcConnector: ".concat(o))}},{key:"waitForTOReadyState",value:function(o,a){return new Promise(function(s){(function u(){o.readyState===a?s():o.addEventListener("readystatechange",u,{once:!0})})()})}}]),i}(),U=new WeakMap,ie=new WeakMap,L={},se=function(){function n(e){var r=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Pe(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)),!function(u){return!!(u&&u.nodeType===1&&"nodeName"in u&&u.ownerDocument&&u.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var o=e.querySelector("iframe");o&&(e=o)}if(e.nodeName==="IFRAME"&&!z(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(U.has(e))return U.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new I(function(u,v){if(r._onMessage=function(w){if(z(w.origin)&&r.element.contentWindow===w.source){r.origin==="*"&&(r.origin=w.origin);var y=ne(w.data);if(y&&y.event==="error"&&y.data&&y.data.method==="ready"){var T=new Error(y.data.message);return T.name=y.data.name,void v(T)}var x=y&&y.event==="ready",P=y&&y.method==="ping";if(x||P)return r.element.setAttribute("data-ready","true"),void u();Ve(r,y)}},r._window.addEventListener("message",r._onMessage),r.element.nodeName!=="IFRAME"){var b=Ne(e,i);Le(Ce(b),b,e).then(function(w){var y,T,x,P=ce(w,e);return r.element=P,r._originalElement=e,y=e,T=P,x=V.get(y),V.set(T,x),V.delete(y),U.set(r.element,r),w}).catch(v)}});if(ie.set(this,a),U.set(this.element,this),this.element.nodeName==="IFRAME"&&D(this,"ping"),L.isEnabled){var s=function(){return L.exit()};this.fullscreenchangeHandler=function(){L.isFullscreen?G(r,"event:exitFullscreen",s):te(r,"event:exitFullscreen",s),r.ready().then(function(){D(r,"fullscreenchange",L.isFullscreen)})},L.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var t;return je(n,[{key:"callMethod",value:function(e){for(var r=this,i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];if(e==null)throw new TypeError("You must pass a method name.");return new I(function(s,u){return r.ready().then(function(){G(r,e,{resolve:s,reject:u}),D(r,e,o)}).catch(u)})}},{key:"get",value:function(e){var r=this;return new I(function(i,o){return e=de(e,"get"),r.ready().then(function(){G(r,e,{resolve:i,reject:o}),D(r,e)}).catch(o)})}},{key:"set",value:function(e,r){var i=this;return new I(function(o,a){if(e=de(e,"set"),r==null)throw new TypeError("There must be a value to set.");return i.ready().then(function(){G(i,e,{resolve:o,reject:a}),D(i,e,r)}).catch(a)})}},{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.");K(this,"event:".concat(e)).length===0&&this.callMethod("addEventListener",e).catch(function(){}),G(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.");te(this,"event:".concat(e),r)&&this.callMethod("removeEventListener",e).catch(function(i){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=ie.get(this)||new I(function(r,i){i(new Error("Unknown player. Probably unloaded."))});return I.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 L.isEnabled?L.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return L.isEnabled?L.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return L.isEnabled?I.resolve(L.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 I(function(r){if(ie.delete(e),U.delete(e.element),e._originalElement&&(U.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),L.isEnabled&&L.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 I.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 I(function(o,a){return a(new TypeError("Argument must be an array."))});var r=new I(function(o){return o(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 I.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")}},{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:(t=H(N().mark(function e(r,i){var o,a=this;return N().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:if(r){s.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return s.next=4,this.ready();case 4:return o=new He(this,r,i),D(this,"notifyTimingObjectConnect"),o.addEventListener("disconnect",function(){return D(a,"notifyTimingObjectDisconnect")}),s.abrupt("return",o);case 8:case"end":return s.stop()}},e,this)})),function(e,r){return t.apply(this,arguments)})}]),n}();Ae||(L=function(){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"]],o=0,a=i.length,s={};o<a;o++)if((r=i[o])&&r[1]in document){for(o=0;o<r.length;o++)s[i[0][o]]=r[o];return s}return!1}(),t={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},e={request:function(r){return new Promise(function(i,o){var a=function u(){e.off("fullscreenchange",u),i()};e.on("fullscreenchange",a);var s=(r=r||document.documentElement)[n.requestFullscreen]();s instanceof Promise&&s.then(a).catch(o)})},exit:function(){return new Promise(function(r,i){if(e.isFullscreen){var o=function s(){e.off("fullscreenchange",s),r()};e.on("fullscreenchange",o);var a=document[n.exitFullscreen]();a instanceof Promise&&a.then(o).catch(i)}else r()})},on:function(r,i){var o=t[r];o&&document.addEventListener(o,i)},off:function(r,i){var o=t[r];o&&document.removeEventListener(o,i)}};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}(),function(){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(r){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(r))};t.forEach(function(r){try{if(r.getAttribute("data-vimeo-defer")!==null)return;var i=Ne(r);Le(Ce(i),i,r).then(function(o){return ce(o,r)}).catch(e)}catch(o){e(o)}})}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(z(t.origin)&&t.data&&t.data.event==="spacechange"){for(var e=n.querySelectorAll("iframe"),r=0;r<e.length;r++)if(e[r].contentWindow===t.source){e[r].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}}}))}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(z(t.origin)){var e=ne(t.data);if(e&&e.event==="ready")for(var r=n.querySelectorAll("iframe"),i=0;i<r.length;i++){var o=r[i],a=o.contentWindow===t.source;pe(o.src)&&a&&new se(o).callMethod("appendVideoMetadata",window.location.href)}}}))}(),function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(e){if(z(e.origin)){var r=ne(e.data);if(r&&r.event==="ready")for(var i=n.querySelectorAll("iframe"),o=function(){var s=i[a],u=s.contentWindow===e.source;if(pe(s.src)&&u){var v=new se(s);v.getVideoId().then(function(b){var w=new RegExp("[?&]vimeo_t_".concat(b,"=([^&#]*)")).exec(window.location.href);if(w&&w[1]){var y=decodeURI(w[1]);v.setCurrentTime(y)}}).catch(t)}},a=0;a<i.length;a++)o()}})}}());const ze=/vimeo\.com\/(video\/|event\/)?(\d+)(?:\/([\w-]+))?/;function ye(n,t={}){const e={src:Be(n,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(e["data-config"]=JSON.stringify(t.config)),`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as H}from"./sentry-
|
|
1
|
+
import{b as H}from"./sentry-DJeJwz74.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new s.Error().stack;t&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[t]="a3d086e3-f921-4307-9afe-563b3f278947",s._sentryDebugIdIdentifier="sentry-dbid-a3d086e3-f921-4307-9afe-563b3f278947")}catch{}})();const R=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})/,D=/(?:youtu\.be\/|youtube(?:-nocookie)?\.com\/.*?[?&]list=)([\w_-]+)/;function S(s,t={}){var e;const i={src:O(s,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; gyroscope; picture-in-picture"};return(e=t.config)!=null&&e.referrerpolicy&&(i.referrerpolicy=t.config.referrerpolicy),t.config&&(i["data-config"]=JSON.stringify(t.config)),`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as $}from"./sentry-
|
|
1
|
+
import{b as $}from"./sentry-DJeJwz74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3f026519-7935-40e5-9915-4f17ccdcef1d",e._sentryDebugIdIdentifier="sentry-dbid-3f026519-7935-40e5-9915-4f17ccdcef1d")}catch{}})();const _=/open\.spotify\.com\/(\w+)\/(\w+)/i;function M(e,t={}){return`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as P}from"./sentry-
|
|
1
|
+
import{b as P}from"./sentry-DJeJwz74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4eceecad-2fcb-4b2b-884c-ed0680c02168",e._sentryDebugIdIdentifier="sentry-dbid-4eceecad-2fcb-4b2b-884c-ed0680c02168")}catch{}})();const L="https://player.twitch.tv",W=/(?:www\.|go\.)?twitch\.tv\/(?:videos?\/|\?video=)(\d+)($|\?)/,_=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/,j="Idle",B="Ended",D=2,z=3,q=4,F=10,J=11;function k(e,t={}){const n={src:x(e,t),frameborder:"0",width:"100%",height:"100%",allow:"accelerometer; fullscreen; autoplay; encrypted-media; picture-in-picture;",sandbox:"allow-modals allow-scripts allow-same-origin allow-popups allow-popups-to-escape-sandbox",scrolling:"no"};return t.config&&(n["data-config"]=JSON.stringify(t.config)),`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display: inline-block;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as P}from"./sentry-
|
|
1
|
+
import{b as P}from"./sentry-DJeJwz74.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="dafb4366-bd09-4758-a9ea-7aa580e8481b",e._sentryDebugIdIdentifier="sentry-dbid-dafb4366-bd09-4758-a9ea-7aa580e8481b")}catch{}})();const O=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,h={INIT:-1,ENDED:0,PLAYING:1,PAUSED:2,BUFFERING:3},x={[h.INIT]:"emptied",[h.PAUSED]:"pause",[h.ENDED]:"ended",[h.PLAYING]:"play",[h.BUFFERING]:"waiting"};function M(e,t={}){const n={src:H(e,t),frameborder:0,width:"100%",height:"100%",allow:"accelerometer; autoplay; fullscreen; encrypted-media; gyroscope; picture-in-picture"};return t.config&&(n["data-config"]=JSON.stringify(t.config)),`
|
|
2
2
|
<style>
|
|
3
3
|
:host {
|
|
4
4
|
display:inline-block;
|