@zeniai/web-app-ui 5.1.12-qa → 5.1.13-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.
Files changed (124) hide show
  1. package/dist/assets/AddressRoutes-Cwp-lkfX.js +1 -0
  2. package/dist/assets/{AddressScreen-CtZRi7JY.js → AddressScreen-DV_3Y5Dd.js} +2 -2
  3. package/dist/assets/{AiCfoScreen-C7HVQg9b.js → AiCfoScreen-DCIpTDLP.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-CLeruo74.js → BillPayApprovalRoutes--jcW2FLc.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-P0BtUUpO.js → BillPayRoutes-BTkfIcjr.js} +18 -18
  6. package/dist/assets/{BusinessVerificationPageScreen-j28FWpYG.js → BusinessVerificationPageScreen-BIP8wMM3.js} +2 -2
  7. package/dist/assets/{ChargeCardRoutes-B58f6g9K.js → ChargeCardRoutes-Bdv6G4pt.js} +9 -9
  8. package/dist/assets/{CompanyPassportScreen-B4IJk_BM.js → CompanyPassportScreen-B0NKP79f.js} +1 -1
  9. package/dist/assets/ConnectionAuthScreen-PbL1UVqW.js +11 -0
  10. package/dist/assets/CustomerOnboardingAuthScreen-Dgl_tiqQ.js +1 -0
  11. package/dist/assets/{CustomerOnboardingRoutes-BxZcF-ai.js → CustomerOnboardingRoutes-BL0b6UDv.js} +4 -4
  12. package/dist/assets/{DashboardRoutes-CqXQl5ev.js → DashboardRoutes-Bk3-k8aA.js} +1 -1
  13. package/dist/assets/{DefaultTenantHome-D-W16Wsf.js → DefaultTenantHome-DFkDTU6K.js} +1 -1
  14. package/dist/assets/{DomesticWireDetailScreen-TGihqlr6.js → DomesticWireDetailScreen-DcF3JBva.js} +3 -3
  15. package/dist/assets/DrawerScreen-CAppKc33.js +1 -0
  16. package/dist/assets/EntityDetailRoutes-8to1KFrP.js +1 -0
  17. package/dist/assets/ExpenseAutomationRoutes-DeHhHdWL.js +25 -0
  18. package/dist/assets/{FeaturePreviewScreen-BILrlScp.js → FeaturePreviewScreen-CVjTHQhr.js} +1 -1
  19. package/dist/assets/HubSpotOAuthCallbackScreen-c7cP9QeX.js +1 -0
  20. package/dist/assets/MagicLinkRoutes-DwiC1JFw.js +72 -0
  21. package/dist/assets/MagicLinkSignInScreen-Dh_yynFR.js +12 -0
  22. package/dist/assets/{MobileAppDrawer-D_jeo3BW.js → MobileAppDrawer-JTau2gld.js} +1 -1
  23. package/dist/assets/NotFoundScreen-wLs1xbOk.js +1 -0
  24. package/dist/assets/{NotificationRoutes-Ce3DZ4Q3.js → NotificationRoutes-_k0Aq1Fs.js} +1 -1
  25. package/dist/assets/OAuthConsentScreen-CY4uNiVL.js +1 -0
  26. package/dist/assets/PandLWithForecastRoutes-CpEu_HR9.js +1 -0
  27. package/dist/assets/PeopleRoutes-D7HYauVQ.js +22 -0
  28. package/dist/assets/PerformanceRoutes-m-6V-xwr.js +1 -0
  29. package/dist/assets/{Preview-C9GZcn0S.js → Preview-ClpnAHT1.js} +1 -1
  30. package/dist/assets/{QBOConnectionScreen-VI6CMung.js → QBOConnectionScreen-DkwRHnzC.js} +1 -1
  31. package/dist/assets/ReferralListScreen-BH-Gp8hT.js +5 -0
  32. package/dist/assets/ReimbursementApprovalRoutes-BWXI6Sq3.js +1 -0
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Z02v8zzJ.js → ReimbursementApprovalRuleDetailScreen-Bo4KnnNL.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-YDgzKK2x.js → ReimbursementRoutes-Bh1fIujo.js} +4 -4
  35. package/dist/assets/{ReportsRoutes-BRGg0YRm.js → ReportsRoutes-Dn3ZLb7S.js} +1 -1
  36. package/dist/assets/RewardsRoutes-CVa89vUN.js +1 -0
  37. package/dist/assets/ScreenRoutes-DI_Y6zjP.js +2 -0
  38. package/dist/assets/{SettingsRoutes-CK6bzB56.js → SettingsRoutes-cLe5LZ2H.js} +8 -8
  39. package/dist/assets/{SetupPagesScreen-BchrJQ1D.js → SetupPagesScreen-wxhfN3Z8.js} +5 -5
  40. package/dist/assets/{SignInScreen-BHJtAtnO.js → SignInScreen-Dizp0xaJ.js} +1 -1
  41. package/dist/assets/SignOutScreen-B7TyW1JW.js +9 -0
  42. package/dist/assets/{TaskListScreen-C8s3hHtj.js → TaskListScreen-BZEaHlUV.js} +2 -2
  43. package/dist/assets/{TaskRoutes-DKcWRzXz.js → TaskRoutes-C-m0qJMN.js} +1 -1
  44. package/dist/assets/{TransactionDetailRoutes-BJNu0o_F.js → TransactionDetailRoutes-C0jV8U26.js} +1 -1
  45. package/dist/assets/{TransactionDetailScreen-vSU5T5di.js → TransactionDetailScreen-edCe6TAq.js} +2 -2
  46. package/dist/assets/{TransactionListRoutes-CS9AXxwo.js → TransactionListRoutes-C9KgxSvA.js} +1 -1
  47. package/dist/assets/TreasuryRoutes-CtrqvH2f.js +37 -0
  48. package/dist/assets/{VendorsRoutes-CsjisgXc.js → VendorsRoutes-Bmiim9sy.js} +22 -22
  49. package/dist/assets/WiseConfirmationScreen-wMbV2aWQ.js +12 -0
  50. package/dist/assets/{ZeniAccountRoutes-DAlO7i5X.js → ZeniAccountRoutes-45Uq5BHn.js} +11 -11
  51. package/dist/assets/ZeniAccountStatementScreen-dmAnBRff.js +9 -0
  52. package/dist/assets/{accountMappingHelper-CoTsapNN.js → accountMappingHelper-BHoN3wIo.js} +1 -1
  53. package/dist/assets/{analytics-BQSUMK-V.js → analytics-CcPtShGs.js} +1 -1
  54. package/dist/assets/analyticsHelper-BP1tYnOZ.js +1 -0
  55. package/dist/assets/{core--UMTXYXd.js → core-C75ogUO0.js} +1 -1
  56. package/dist/assets/{decodeURIComponentSafe-DEckEj61.js → decodeURIComponentSafe-DQFLVwZI.js} +1 -1
  57. package/dist/assets/{dnd-CrDjRdvw.js → dnd-DG0pRIc_.js} +1 -1
  58. package/dist/assets/{empty-BvFpsN6P.js → empty-D2ItSKax.js} +1 -1
  59. package/dist/assets/{empty-DBnfEhrT.js → empty-D7ifHjqQ.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-Blak_EMa.js → emptyVideoElement-B5gglY5n.js} +1 -1
  61. package/dist/assets/epic-DObSEDwz.js +2 -0
  62. package/dist/assets/{getLocaleForTenant-D1wKgPQF.js → getLocaleForTenant-BmcbxAro.js} +1 -1
  63. package/dist/assets/{index-CRUoZ6mU.js → index-BMDwKfYX.js} +1 -1
  64. package/dist/assets/{index-bCbf48GS.js → index-BvOiqfCI.js} +2 -2
  65. package/dist/assets/{index-B83r6-Hw.js → index-Bym7ptuo.js} +10564 -10572
  66. package/dist/assets/{index-wZttjj4y.js → index-C44DvqIE.js} +1 -1
  67. package/dist/assets/{index-BBayJl5h.js → index-CKhAKU0q.js} +1 -1
  68. package/dist/assets/{index-f7yFTkwB.js → index-CR1BQVe9.js} +1 -1
  69. package/dist/assets/{index-BAH3vwQm.js → index-DVeiidBt.js} +1 -1
  70. package/dist/assets/{index-Dp11lQyJ.js → index-DXbmjv79.js} +1 -1
  71. package/dist/assets/{lexical-FwDdy2_K.js → lexical-CTPa-QlE.js} +1 -1
  72. package/dist/assets/{liveblocks-CKF6AsnI.js → liveblocks-DuKyMpLV.js} +1 -1
  73. package/dist/assets/{lottie-xqEGcYYf.js → lottie-Bo62fehS.js} +1 -1
  74. package/dist/assets/{mui-BoNzUXWA.js → mui-B2yeqyWI.js} +1 -1
  75. package/dist/assets/{pathToGoBack-BTCvwVNH.js → pathToGoBack-DYpgrcVb.js} +1 -1
  76. package/dist/assets/{pdf-BycyAh5O.js → pdf-Dtw1D9Kk.js} +3 -3
  77. package/dist/assets/{pdf-lib-CdIPzwx2.js → pdf-lib-D0jHZCU0.js} +1 -1
  78. package/dist/assets/{plaid-BDVTR9l1.js → plaid-CcJBdEKU.js} +1 -1
  79. package/dist/assets/{pusher-CTCZlAuL.js → pusher-Z7AHhnA8.js} +1 -1
  80. package/dist/assets/{react-B6XwuO1t.js → react-B4Ecs7tk.js} +1 -1
  81. package/dist/assets/{react-C2i1Wjm3.js → react-BA8wVqyP.js} +1 -1
  82. package/dist/assets/{react-3OfP2-SI.js → react-CFD0b_tj.js} +1 -1
  83. package/dist/assets/{react-hfKKVmm2.js → react-CHlpM8wD.js} +1 -1
  84. package/dist/assets/{react-BX3EUG5V.js → react-Cs5E-_WR.js} +1 -1
  85. package/dist/assets/{react-BayjIerx.js → react-CztHJcoC.js} +1 -1
  86. package/dist/assets/{recharts-CBXeh2nX.js → recharts-Dl2dfnxR.js} +1 -1
  87. package/dist/assets/{routePaths-qK1tVdTY.js → routePaths-JaK4Z9pA.js} +1 -1
  88. package/dist/assets/{sentry-DqNJ7dOS.js → sentry-BQi4rXy4.js} +1 -1
  89. package/dist/assets/{url-B18czEzO.js → url-DjAMINLQ.js} +1 -1
  90. package/dist/assets/{url-YuIx4x9N.js → url-DjEXgApI.js} +1 -1
  91. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-Dfldh-Ay.js → useAiCfoDashboardSuggestedQuestionsChips-DsGQtVKH.js} +1 -1
  92. package/dist/assets/useAskAiCfoHostNavButtonProps-BAHB5Jbs.js +1 -0
  93. package/dist/assets/{useDeviceId-BumFTNNI.js → useDeviceId-CYUqfkz1.js} +1 -1
  94. package/dist/assets/{useInitialThreadRequest-iaqBawv2.js → useInitialThreadRequest-dWot1qf-.js} +1 -1
  95. package/dist/assets/{utils-bsJBKa54.js → utils-f-RGxaD7.js} +1 -1
  96. package/dist/assets/{withTransactionSidePanel-BjMslcok.js → withTransactionSidePanel-CdFMp5ya.js} +2 -2
  97. package/dist/assets/{zeni-epic-state-D90Y6qLC.js → zeni-epic-state-zpzwT5a-.js} +6 -6
  98. package/dist/index.html +1 -1
  99. package/package.json +4 -4
  100. package/dist/assets/AddressRoutes-CI8XliA-.js +0 -1
  101. package/dist/assets/ConnectionAuthScreen-D16lOBRG.js +0 -11
  102. package/dist/assets/CustomerOnboardingAuthScreen-CEXwAEDo.js +0 -1
  103. package/dist/assets/DrawerScreen-BSN1Uotx.js +0 -1
  104. package/dist/assets/EntityDetailRoutes-BpMVBmlL.js +0 -1
  105. package/dist/assets/ExpenseAutomationRoutes-DoFLHeKp.js +0 -25
  106. package/dist/assets/HubSpotOAuthCallbackScreen-BdfMCPas.js +0 -1
  107. package/dist/assets/MagicLinkRoutes-DHdDz4h_.js +0 -72
  108. package/dist/assets/MagicLinkSignInScreen-9DlJuwI0.js +0 -12
  109. package/dist/assets/NotFoundScreen-X9Bkphs0.js +0 -1
  110. package/dist/assets/OAuthConsentScreen-HqEbynE1.js +0 -1
  111. package/dist/assets/PandLWithForecastRoutes-CCLyJfpO.js +0 -1
  112. package/dist/assets/PeopleRoutes-DfFBX3zu.js +0 -22
  113. package/dist/assets/PerformanceRoutes-DVL6VB7n.js +0 -1
  114. package/dist/assets/ReferralListScreen-Co0N57Yj.js +0 -5
  115. package/dist/assets/ReimbursementApprovalRoutes-grbDV0bZ.js +0 -1
  116. package/dist/assets/RewardsRoutes-DXw_GaGl.js +0 -1
  117. package/dist/assets/ScreenRoutes-C2EPWfOi.js +0 -2
  118. package/dist/assets/SignOutScreen-DTiP1AHp.js +0 -9
  119. package/dist/assets/TreasuryRoutes-ByN2UX2C.js +0 -37
  120. package/dist/assets/WiseConfirmationScreen-CT4-a8u9.js +0 -12
  121. package/dist/assets/ZeniAccountStatementScreen-BSTFsdjg.js +0 -9
  122. package/dist/assets/analyticsHelper-B73M7ozn.js +0 -1
  123. package/dist/assets/epic-Dvm7TU8-.js +0 -2
  124. package/dist/assets/useAskAiCfoHostNavButtonProps-BggEKa3O.js +0 -1
@@ -1 +1 @@
1
- import{j as n}from"./index-B83r6-Hw.js";import"./mui-BoNzUXWA.js";import"./sentry-DqNJ7dOS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b6b8e9af-f8bc-404b-b199-bcf35ce4c4cd",e._sentryDebugIdIdentifier="sentry-dbid-b6b8e9af-f8bc-404b-b199-bcf35ce4c4cd")}catch{}})();function r(e){if(e.companyLocaleInfo!=null&&e.companyLocaleInfo.languageCode.length>0&&e.companyLocaleInfo.companyIncCountryCode.length>0){const o=`${e.companyLocaleInfo.languageCode.toLowerCase()}-${e.companyLocaleInfo.companyIncCountryCode.toUpperCase()}`;return console.warn(`localeID ${o}`),n(o)??"en"}return"en"}export{r as t};
1
+ import{y as n}from"./index-Bym7ptuo.js";import"./mui-B2yeqyWI.js";import"./sentry-BQi4rXy4.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="c03165ec-959d-4207-93a2-531ba6c5d6ee",e._sentryDebugIdIdentifier="sentry-dbid-c03165ec-959d-4207-93a2-531ba6c5d6ee")}catch{}})();function r(e){if(e.companyLocaleInfo!=null&&e.companyLocaleInfo.languageCode.length>0&&e.companyLocaleInfo.companyIncCountryCode.length>0){const o=`${e.companyLocaleInfo.languageCode.toLowerCase()}-${e.companyLocaleInfo.companyIncCountryCode.toUpperCase()}`;return console.warn(`localeID ${o}`),n(o)??"en"}return"en"}export{r as t};
@@ -1 +1 @@
1
- import{g as i}from"./sentry-DqNJ7dOS.js";import{r as a}from"./index-BAH3vwQm.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]="88d42917-845f-4f7e-a295-f60bdab14bc2",e._sentryDebugIdIdentifier="sentry-dbid-88d42917-845f-4f7e-a295-f60bdab14bc2")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(r,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=a();const u=s({__proto__:null,default:i(d)},[d]);export{u as i};
1
+ import{g as i}from"./sentry-BQi4rXy4.js";import{r as a}from"./index-DVeiidBt.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]="88d42917-845f-4f7e-a295-f60bdab14bc2",e._sentryDebugIdIdentifier="sentry-dbid-88d42917-845f-4f7e-a295-f60bdab14bc2")}catch{}})();function s(e,t){for(var o=0;o<t.length;o++){const r=t[o];if(typeof r!="string"&&!Array.isArray(r)){for(const n in r)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(r,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>r[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=a();const u=s({__proto__:null,default:i(d)},[d]);export{u as i};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-Blak_EMa.js","assets/sentry-DqNJ7dOS.js","assets/index-f7yFTkwB.js","assets/react-BX3EUG5V.js","assets/react-B6XwuO1t.js","assets/react-3OfP2-SI.js","assets/react-BayjIerx.js","assets/react-C2i1Wjm3.js","assets/react-hfKKVmm2.js","assets/Preview-C9GZcn0S.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-D90Y6qLC.js";import{b as m,a as l}from"./sentry-DqNJ7dOS.js";import"./core--UMTXYXd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3d9e141a-7cf1-4f01-a977-d8388ac8f14c",e._sentryDebugIdIdentifier="sentry-dbid-3d9e141a-7cf1-4f01-a977-d8388ac8f14c")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,O=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,z=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,M=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Y=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,Z=/vimeo\.com\/(?!progressive_redirect).+/,B=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,F=/open\.spotify\.com\/(\w+)\/(\w+)/i,G=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,H=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,w=(e,a)=>{if(Array.isArray(e)){for(const n of e)if(typeof n=="string"&&w(n,a)||w(n.src,a))return!0;return!1}return a(e)},s={html:e=>w(e,a=>N.test(a)||O.test(a)),hls:e=>w(e,a=>z.test(a)),dash:e=>w(e,a=>q.test(a)),mux:e=>M.test(e),youtube:e=>Y.test(e),vimeo:e=>Z.test(e)&&!O.test(e)&&!z.test(e),wistia:e=>B.test(e),spotify:e=>F.test(e),twitch:e=>G.test(e),tiktok:e=>H.test(e)};var J=m.forwardRef((e,a)=>{const n=N.test(`${e.src}`)?"audio":"video";return m.createElement(n,{...e,ref:a},e.children)}),L=[{key:"hls",name:"hls.js",canPlay:s.hls,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-Blak_EMa.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-Blak_EMa.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-f7yFTkwB.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-BX3EUG5V.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-B6XwuO1t.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-3OfP2-SI.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BayjIerx.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-C2i1Wjm3.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-hfKKVmm2.js"),__vite__mapDeps([8,1])))},{key:"html",name:"html",canPlay:s.html,canEnablePIP:()=>!0,player:J}];const K={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},S=m.forwardRef((e,a)=>{const{playing:n,pip:o}=e,y=e.activePlayer,t=l.useRef(null),p=l.useRef(!0);if(l.useEffect(()=>{var r,i;t.current&&(t.current.paused&&n===!0&&t.current.play(),t.current.paused||n!==!1||t.current.pause(),t.current.playbackRate=(r=e.playbackRate)!=null?r:1,t.current.volume=(i=e.volume)!=null?i:1)}),l.useEffect(()=>{var r,i,c,h,_;if(t.current&&globalThis.document){if(o&&!document.pictureInPictureElement)try{(i=(r=t.current).requestPictureInPicture)==null||i.call(r)}catch{}if(!o&&document.pictureInPictureElement)try{(h=(c=t.current).exitPictureInPicture)==null||h.call(c),(_=document.exitPictureInPicture)==null||_.call(document)}catch{}}},[o]),!y)return null;const v={},E=["onReady","onStart"];for(const r in e)r.startsWith("on")&&!E.includes(r)&&(v[r]=e[r]);return m.createElement(y,{...v,style:e.style,className:e.className,slot:e.slot,ref:l.useCallback(r=>{t.current=r,typeof a=="function"?a(r):a!==null&&(a.current=r)},[a]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:r=>{var i,c;p.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,r)},onPlay:r=>{var i,c;p.current&&(p.current=!1,(i=e.onStart)==null||i.call(e,r)),(c=e.onPlay)==null||c.call(e,r)}},e.children)});S.displayName="Player";var Q=S;const X=l.lazy(()=>u(()=>import("./Preview-C9GZcn0S.js"),__vite__mapDeps([9,1]))),b=[],V=({children:e})=>e;var re=((e,a)=>{const n=m.forwardRef((o,y)=>{const t={...K,...o},{src:p,slot:v,className:E,style:r,width:i,height:c,fallback:h,wrapper:_}=t,[k,g]=l.useState(!!t.light);l.useEffect(()=>{t.light?g(!0):g(!1)},[t.light]);const $=f=>{var d;g(!1),(d=t.onClickPreview)==null||d.call(t,f)},C=_??V,U=h===!1?V:l.Suspense;return m.createElement(C,{slot:v,className:E,style:{width:i,height:c,...r}},m.createElement(U,{fallback:h},k?(f=>{if(!f)return null;const{light:d,playIcon:I,previewTabIndex:P,oEmbedUrl:R,previewAriaLabel:T}=t;return m.createElement(X,{src:f,light:d,playIcon:I,previewTabIndex:P,previewAriaLabel:T,oEmbedUrl:R,onClickPreview:$})})(p):(f=>{var d,I;const P=(x=>{for(const D of[...b,...e])if(x&&D.canPlay(x))return D;return a||null})(f);if(!P)return null;const{style:R,width:T,height:j,wrapper:A}=t,W=(d=t.config)==null?void 0:d[P.key];return m.createElement(Q,{...t,ref:y,activePlayer:(I=P.player)!=null?I:P,slot:A?void 0:v,className:A?void 0:E,style:A?{display:"block",width:"100%",height:"100%"}:{display:"block",width:T,height:j,...R},config:W})})(p)))});return n.displayName="ReactPlayer",n.addCustomPlayer=o=>{b.push(o)},n.removeCustomPlayers=()=>{b.length=0},n.canPlay=o=>{if(o){for(const y of[...b,...e])if(y.canPlay(o))return!0}return!1},n.canEnablePIP=o=>{var y;if(o){for(const t of[...b,...e])if(t.canPlay(o)&&((y=t.canEnablePIP)!=null&&y.call(t)))return!0}return!1},n})(L,L[L.length-1]);export{re as default};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-B5gglY5n.js","assets/sentry-BQi4rXy4.js","assets/index-CR1BQVe9.js","assets/react-Cs5E-_WR.js","assets/react-B4Ecs7tk.js","assets/react-CFD0b_tj.js","assets/react-CztHJcoC.js","assets/react-BA8wVqyP.js","assets/react-CHlpM8wD.js","assets/Preview-ClpnAHT1.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-zpzwT5a-.js";import{b as m,a as l}from"./sentry-BQi4rXy4.js";import"./core-C75ogUO0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="3d9e141a-7cf1-4f01-a977-d8388ac8f14c",e._sentryDebugIdIdentifier="sentry-dbid-3d9e141a-7cf1-4f01-a977-d8388ac8f14c")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,O=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,z=/\.(m3u8)($|\?)/i,q=/\.(mpd)($|\?)/i,M=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Y=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,Z=/vimeo\.com\/(?!progressive_redirect).+/,B=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,F=/open\.spotify\.com\/(\w+)\/(\w+)/i,G=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,H=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,w=(e,a)=>{if(Array.isArray(e)){for(const n of e)if(typeof n=="string"&&w(n,a)||w(n.src,a))return!0;return!1}return a(e)},s={html:e=>w(e,a=>N.test(a)||O.test(a)),hls:e=>w(e,a=>z.test(a)),dash:e=>w(e,a=>q.test(a)),mux:e=>M.test(e),youtube:e=>Y.test(e),vimeo:e=>Z.test(e)&&!O.test(e)&&!z.test(e),wistia:e=>B.test(e),spotify:e=>F.test(e),twitch:e=>G.test(e),tiktok:e=>H.test(e)};var J=m.forwardRef((e,a)=>{const n=N.test(`${e.src}`)?"audio":"video";return m.createElement(n,{...e,ref:a},e.children)}),L=[{key:"hls",name:"hls.js",canPlay:s.hls,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-B5gglY5n.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-B5gglY5n.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-CR1BQVe9.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-Cs5E-_WR.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-B4Ecs7tk.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-CFD0b_tj.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-CztHJcoC.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BA8wVqyP.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-CHlpM8wD.js"),__vite__mapDeps([8,1])))},{key:"html",name:"html",canPlay:s.html,canEnablePIP:()=>!0,player:J}];const K={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},S=m.forwardRef((e,a)=>{const{playing:n,pip:o}=e,y=e.activePlayer,t=l.useRef(null),p=l.useRef(!0);if(l.useEffect(()=>{var r,i;t.current&&(t.current.paused&&n===!0&&t.current.play(),t.current.paused||n!==!1||t.current.pause(),t.current.playbackRate=(r=e.playbackRate)!=null?r:1,t.current.volume=(i=e.volume)!=null?i:1)}),l.useEffect(()=>{var r,i,c,h,_;if(t.current&&globalThis.document){if(o&&!document.pictureInPictureElement)try{(i=(r=t.current).requestPictureInPicture)==null||i.call(r)}catch{}if(!o&&document.pictureInPictureElement)try{(h=(c=t.current).exitPictureInPicture)==null||h.call(c),(_=document.exitPictureInPicture)==null||_.call(document)}catch{}}},[o]),!y)return null;const v={},E=["onReady","onStart"];for(const r in e)r.startsWith("on")&&!E.includes(r)&&(v[r]=e[r]);return m.createElement(y,{...v,style:e.style,className:e.className,slot:e.slot,ref:l.useCallback(r=>{t.current=r,typeof a=="function"?a(r):a!==null&&(a.current=r)},[a]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:r=>{var i,c;p.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,r)},onPlay:r=>{var i,c;p.current&&(p.current=!1,(i=e.onStart)==null||i.call(e,r)),(c=e.onPlay)==null||c.call(e,r)}},e.children)});S.displayName="Player";var Q=S;const X=l.lazy(()=>u(()=>import("./Preview-ClpnAHT1.js"),__vite__mapDeps([9,1]))),b=[],V=({children:e})=>e;var re=((e,a)=>{const n=m.forwardRef((o,y)=>{const t={...K,...o},{src:p,slot:v,className:E,style:r,width:i,height:c,fallback:h,wrapper:_}=t,[k,g]=l.useState(!!t.light);l.useEffect(()=>{t.light?g(!0):g(!1)},[t.light]);const $=f=>{var d;g(!1),(d=t.onClickPreview)==null||d.call(t,f)},C=_??V,U=h===!1?V:l.Suspense;return m.createElement(C,{slot:v,className:E,style:{width:i,height:c,...r}},m.createElement(U,{fallback:h},k?(f=>{if(!f)return null;const{light:d,playIcon:I,previewTabIndex:P,oEmbedUrl:R,previewAriaLabel:T}=t;return m.createElement(X,{src:f,light:d,playIcon:I,previewTabIndex:P,previewAriaLabel:T,oEmbedUrl:R,onClickPreview:$})})(p):(f=>{var d,I;const P=(x=>{for(const D of[...b,...e])if(x&&D.canPlay(x))return D;return a||null})(f);if(!P)return null;const{style:R,width:T,height:j,wrapper:A}=t,W=(d=t.config)==null?void 0:d[P.key];return m.createElement(Q,{...t,ref:y,activePlayer:(I=P.player)!=null?I:P,slot:A?void 0:v,className:A?void 0:E,style:A?{display:"block",width:"100%",height:"100%"}:{display:"block",width:T,height:j,...R},config:W})})(p)))});return n.displayName="ReactPlayer",n.addCustomPlayer=o=>{b.push(o)},n.removeCustomPlayers=()=>{b.length=0},n.canPlay=o=>{if(o){for(const y of[...b,...e])if(y.canPlay(o))return!0}return!1},n.canEnablePIP=o=>{var y;if(o){for(const t of[...b,...e])if(t.canPlay(o)&&((y=t.canEnablePIP)!=null&&y.call(t)))return!0}return!1},n})(L,L[L.length-1]);export{re as default};