@zeniai/web-app-ui 5.2.6-dev → 5.2.6-prod

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 (105) hide show
  1. package/dist/assets/AddressRoutes-B11BWz9A.js +1 -0
  2. package/dist/assets/{AddressScreen-_QOTUIVr.js → AddressScreen-C1s7NWDx.js} +1 -1
  3. package/dist/assets/{AiCfoScreen-CX7E8Peo.js → AiCfoScreen-Dp4ShYbp.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-ClmCpYFd.js → BillPayApprovalRoutes-B2aIkKau.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-DoSwk72T.js → BillPayRoutes-4G3mhWaD.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-CzDFv09Y.js → BusinessVerificationPageScreen-Dv6OHSFD.js} +1 -1
  7. package/dist/assets/{CardsAiCfoScreen-eeV0SveA.js → CardsAiCfoScreen-D3cCxHW4.js} +1 -1
  8. package/dist/assets/{ChargeCardRoutes-D-2cGFR8.js → ChargeCardRoutes-DGi3hSwm.js} +1 -1
  9. package/dist/assets/{CompanyPassportScreen-Dgc1b90N.js → CompanyPassportScreen-DF5d8NUa.js} +1 -1
  10. package/dist/assets/{ConnectionAuthScreen-BJNKfgFC.js → ConnectionAuthScreen-HqiWg1VC.js} +1 -1
  11. package/dist/assets/CustomerOnboardingAuthScreen-D9TGaoAG.js +1 -0
  12. package/dist/assets/{CustomerOnboardingRoutes-CU2s9JFJ.js → CustomerOnboardingRoutes-BPRzngBR.js} +1 -1
  13. package/dist/assets/{DashboardRoutes-D_nR7gnV.js → DashboardRoutes-B7uS0X5y.js} +1 -1
  14. package/dist/assets/{DefaultTenantHome-CAghXBT6.js → DefaultTenantHome--j5odGQE.js} +1 -1
  15. package/dist/assets/{DomesticWireDetailScreen-BrMTJ0LT.js → DomesticWireDetailScreen-DSRP-CLA.js} +1 -1
  16. package/dist/assets/{DrawerScreen-DbaoUmyp.js → DrawerScreen-Cjm_n2i4.js} +1 -1
  17. package/dist/assets/{EntityDetailRoutes-RWRqdoUW.js → EntityDetailRoutes-CSfMVzjI.js} +1 -1
  18. package/dist/assets/{ExpenseAutomationRoutes-Bg1lugdX.js → ExpenseAutomationRoutes-N4_vNJpb.js} +1 -1
  19. package/dist/assets/{FeaturePreviewScreen-BfuOs-n9.js → FeaturePreviewScreen-Cyx3f191.js} +1 -1
  20. package/dist/assets/{HubSpotOAuthCallbackScreen-Tm6-OaLw.js → HubSpotOAuthCallbackScreen-B8DXCYB7.js} +1 -1
  21. package/dist/assets/{MagicLinkRoutes-BPFrOlQS.js → MagicLinkRoutes-CZlt6pdT.js} +1 -1
  22. package/dist/assets/{MagicLinkSignInScreen-_-oIW3R9.js → MagicLinkSignInScreen-BHAH1gLA.js} +1 -1
  23. package/dist/assets/{MobileAppDrawer-BVsx0d52.js → MobileAppDrawer-B0d8DjDW.js} +1 -1
  24. package/dist/assets/NotFoundScreen-d1rjMqeE.js +1 -0
  25. package/dist/assets/{NotificationRoutes-m7aisVZh.js → NotificationRoutes-C_o1dpat.js} +1 -1
  26. package/dist/assets/{OAuthConsentScreen-Dr5xHicR.js → OAuthConsentScreen-EI72GMvs.js} +1 -1
  27. package/dist/assets/{PandLWithForecastRoutes-DWPW45GW.js → PandLWithForecastRoutes-Dj2eHfCD.js} +1 -1
  28. package/dist/assets/{PeopleRoutes-CeN9aIQp.js → PeopleRoutes-DWSpE3po.js} +1 -1
  29. package/dist/assets/{PerformanceRoutes-Dhkh0POj.js → PerformanceRoutes-CVAB-XyH.js} +1 -1
  30. package/dist/assets/{Preview-B54tVRwE.js → Preview-cu61JPQA.js} +1 -1
  31. package/dist/assets/{QBOConnectionScreen-DaV3loZh.js → QBOConnectionScreen-zYBPrktU.js} +1 -1
  32. package/dist/assets/{ReimbursementApprovalRoutes-D6a0suIn.js → ReimbursementApprovalRoutes-DKOqqw6J.js} +1 -1
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-LSfhRsMC.js → ReimbursementApprovalRuleDetailScreen-CDu793NT.js} +1 -1
  34. package/dist/assets/{ReimbursementRoutes-Bh9_hMkC.js → ReimbursementRoutes-CNTZ5rhB.js} +1 -1
  35. package/dist/assets/{ReportsRoutes-vW__-mqO.js → ReportsRoutes-BvFjbiv_.js} +1 -1
  36. package/dist/assets/{RewardsRoutes-DTUZ1AWT.js → RewardsRoutes-eLeA1pP8.js} +1 -1
  37. package/dist/assets/{ScreenRoutes-foz6ng2P.js → ScreenRoutes-_kIhb2Vm.js} +2 -2
  38. package/dist/assets/{SettingsRoutes-fWbhF4uP.js → SettingsRoutes-CbEKkb0t.js} +1 -1
  39. package/dist/assets/{SetupPagesScreen-B8WYHzUu.js → SetupPagesScreen-dZPczJbV.js} +1 -1
  40. package/dist/assets/{SignInScreen-CHWWmIOt.js → SignInScreen-Czcu63oR.js} +1 -1
  41. package/dist/assets/{SignOutScreen-xt4AkWg7.js → SignOutScreen-DMy0EcTT.js} +1 -1
  42. package/dist/assets/{TaskListScreen-BNNdSA1G.js → TaskListScreen-Inp8gff6.js} +1 -1
  43. package/dist/assets/{TaskRoutes-Brk_g9vS.js → TaskRoutes-kduIpKWg.js} +1 -1
  44. package/dist/assets/{TransactionDetailRoutes-D6y-8FuE.js → TransactionDetailRoutes--GPRS3dt.js} +1 -1
  45. package/dist/assets/{TransactionDetailScreen-CHtoQtM9.js → TransactionDetailScreen-OoYWWqNu.js} +1 -1
  46. package/dist/assets/{TransactionListRoutes-DqRETwf-.js → TransactionListRoutes-nvKtuBtP.js} +1 -1
  47. package/dist/assets/{TreasuryRoutes-Bgqikq-u.js → TreasuryRoutes-BXoLztQc.js} +1 -1
  48. package/dist/assets/{VendorsRoutes-CHFxSJdV.js → VendorsRoutes-DxP1NV5b.js} +1 -1
  49. package/dist/assets/{WiseConfirmationScreen-XYoM1z3h.js → WiseConfirmationScreen-CwvRXxNr.js} +1 -1
  50. package/dist/assets/{ZeniAccountRoutes-Chw_TTRS.js → ZeniAccountRoutes-BBo6GzMk.js} +1 -1
  51. package/dist/assets/{ZeniAccountStatementScreen-C6Lownq7.js → ZeniAccountStatementScreen-D2Iot37-.js} +1 -1
  52. package/dist/assets/{accountMappingHelper-Cb6Phjli.js → accountMappingHelper--Fr1sRub.js} +1 -1
  53. package/dist/assets/{analytics-CMhYvjgp.js → analytics-BJExxbwc.js} +1 -1
  54. package/dist/assets/{analyticsHelper-D86wGf3h.js → analyticsHelper-Blc9zWJE.js} +1 -1
  55. package/dist/assets/{core-BjRnoVdN.js → core-BJ2hvem7.js} +1 -1
  56. package/dist/assets/{decodeURIComponentSafe-8RHUrhvv.js → decodeURIComponentSafe-D-dduCwh.js} +1 -1
  57. package/dist/assets/{dnd-DD1NomKe.js → dnd-DZ9CRV59.js} +1 -1
  58. package/dist/assets/{empty-BxET7kap.js → empty-C58nz7T4.js} +1 -1
  59. package/dist/assets/{empty-Lyk-jq4r.js → empty-mhhptQt_.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-6B6_1DjQ.js → emptyVideoElement-DKuz-T4y.js} +1 -1
  61. package/dist/assets/{epic-Bndm1KHn.js → epic-BJfU2jNb.js} +1 -1
  62. package/dist/assets/{getLocaleForTenant-B67NSzYh.js → getLocaleForTenant-CL6-EEpd.js} +1 -1
  63. package/dist/assets/{index-BgcyTzzQ.js → index-CHu6S232.js} +2 -2
  64. package/dist/assets/{index-DG5dsziC.js → index-Cb2H8bRb.js} +7 -7
  65. package/dist/assets/{index-BfsWyp4D.js → index-DP4JOHKc.js} +1 -1
  66. package/dist/assets/{index-CQBqRx-l.js → index-DRUqAoda.js} +1 -1
  67. package/dist/assets/{index-DlX43o9f.js → index-DS4arKmw.js} +1 -1
  68. package/dist/assets/{index-0VsUkhux.js → index-De1lB-0i.js} +1 -1
  69. package/dist/assets/{index-BT-czevE.js → index-Dvw5M8XH.js} +1 -1
  70. package/dist/assets/{index-DaCvER1D.js → index-yq2hIdUD.js} +1 -1
  71. package/dist/assets/{lexical-CkYiXWk9.js → lexical-XHlNR9IH.js} +1 -1
  72. package/dist/assets/{liveblocks-BxpjjfmG.js → liveblocks-BmXELsn-.js} +1 -1
  73. package/dist/assets/{lottie-iCzPfqr5.js → lottie-Bnlt89v4.js} +1 -1
  74. package/dist/assets/{mui-CdxnWIp4.js → mui-B3F8TWde.js} +1 -1
  75. package/dist/assets/{pathToGoBack-ne1S9CXU.js → pathToGoBack-DkWeLnko.js} +1 -1
  76. package/dist/assets/{pdf-C9PyNDT1.js → pdf-De5tezT3.js} +3 -3
  77. package/dist/assets/{pdf-lib-AYWezrZl.js → pdf-lib-V8KKPtc-.js} +1 -1
  78. package/dist/assets/{plaid-DtXw88Ai.js → plaid-BJIJT42b.js} +1 -1
  79. package/dist/assets/{pusher-BKAtqq4a.js → pusher-CFpeN8C-.js} +1 -1
  80. package/dist/assets/{react-DT4sGgUJ.js → react-BLbhzBRI.js} +1 -1
  81. package/dist/assets/{react-CpTVGU-U.js → react-BMRZbJyU.js} +1 -1
  82. package/dist/assets/{react-BoUZ92nm.js → react-CJOW3T6s.js} +1 -1
  83. package/dist/assets/{react-nOMx_HSn.js → react-Cx5Xm5nk.js} +1 -1
  84. package/dist/assets/{react-BU5_UEj2.js → react-DZGJrM0B.js} +1 -1
  85. package/dist/assets/{react-C9kbZlRC.js → react-pmYrldRZ.js} +1 -1
  86. package/dist/assets/{recharts-CFinCL-a.js → recharts-oBt1fY2y.js} +1 -1
  87. package/dist/assets/{routePaths-C7myDwxn.js → routePaths-DOpTNS7B.js} +1 -1
  88. package/dist/assets/{sentry-B06otMHd.js → sentry-C2-xEC_Q.js} +1 -1
  89. package/dist/assets/{url-CX7iFnba.js → url-CknUO84a.js} +1 -1
  90. package/dist/assets/{url-C1h0szFu.js → url-DDcxEA7v.js} +1 -1
  91. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-TpXXYr6r.js → useAiCfoDashboardSuggestedQuestionsChips-BwLMNzEC.js} +1 -1
  92. package/dist/assets/{useAskAiCfoHostNavButtonProps-CFgUcHmD.js → useAskAiCfoHostNavButtonProps-BOzbn95k.js} +1 -1
  93. package/dist/assets/{useCashManagementBanner-FLL8Hs1-.js → useCashManagementBanner-Cj5KQWn0.js} +1 -1
  94. package/dist/assets/{useChargeCardPusherEvents-DT2ptjCA.js → useChargeCardPusherEvents-Cd4kJm1v.js} +1 -1
  95. package/dist/assets/{useDeviceId-BTkaAWDK.js → useDeviceId-Bm2mCSyU.js} +1 -1
  96. package/dist/assets/{useEmailConnectResultRefresh-DG9AkHtd.js → useEmailConnectResultRefresh-BgBSgX9b.js} +1 -1
  97. package/dist/assets/{useInitialThreadRequest-Dc7yU2XH.js → useInitialThreadRequest-BdYNCiJn.js} +1 -1
  98. package/dist/assets/{utils-CaYSR2MR.js → utils-JA-6PgLD.js} +1 -1
  99. package/dist/assets/{withTransactionSidePanel-tBE2uHP9.js → withTransactionSidePanel-r761w2FA.js} +1 -1
  100. package/dist/assets/{zeni-epic-state-BkEKIYbX.js → zeni-epic-state-DloJeuBO.js} +3 -3
  101. package/dist/index.html +1 -1
  102. package/package.json +1 -1
  103. package/dist/assets/AddressRoutes-CRqr9Fgx.js +0 -1
  104. package/dist/assets/CustomerOnboardingAuthScreen-B5MRHJlf.js +0 -1
  105. package/dist/assets/NotFoundScreen-6c0jfbLt.js +0 -1
@@ -1 +1 @@
1
- import{U as a}from"./index-DG5dsziC.js";import"./mui-CdxnWIp4.js";import"./sentry-B06otMHd.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]="ba62256a-a25e-4a91-8577-afe9acf121aa",e._sentryDebugIdIdentifier="sentry-dbid-ba62256a-a25e-4a91-8577-afe9acf121aa")}catch{}})();function f(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}`),a(o)??"en"}return"en"}export{f as t};
1
+ import{U as a}from"./index-Cb2H8bRb.js";import"./mui-B3F8TWde.js";import"./sentry-C2-xEC_Q.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]="ba62256a-a25e-4a91-8577-afe9acf121aa",e._sentryDebugIdIdentifier="sentry-dbid-ba62256a-a25e-4a91-8577-afe9acf121aa")}catch{}})();function f(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}`),a(o)??"en"}return"en"}export{f as t};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-6B6_1DjQ.js","assets/sentry-B06otMHd.js","assets/index-BfsWyp4D.js","assets/react-DT4sGgUJ.js","assets/react-BoUZ92nm.js","assets/react-BU5_UEj2.js","assets/react-CpTVGU-U.js","assets/react-C9kbZlRC.js","assets/react-nOMx_HSn.js","assets/Preview-B54tVRwE.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-BkEKIYbX.js";import{b as m,a as l}from"./sentry-B06otMHd.js";import"./core-BjRnoVdN.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-6B6_1DjQ.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-6B6_1DjQ.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-BfsWyp4D.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-DT4sGgUJ.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-BoUZ92nm.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-BU5_UEj2.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-CpTVGU-U.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-C9kbZlRC.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-nOMx_HSn.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-B54tVRwE.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-DKuz-T4y.js","assets/sentry-C2-xEC_Q.js","assets/index-DP4JOHKc.js","assets/react-BLbhzBRI.js","assets/react-CJOW3T6s.js","assets/react-DZGJrM0B.js","assets/react-BMRZbJyU.js","assets/react-pmYrldRZ.js","assets/react-Cx5Xm5nk.js","assets/Preview-cu61JPQA.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-DloJeuBO.js";import{b as m,a as l}from"./sentry-C2-xEC_Q.js";import"./core-BJ2hvem7.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-DKuz-T4y.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-DKuz-T4y.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-DP4JOHKc.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-BLbhzBRI.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-CJOW3T6s.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-DZGJrM0B.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BMRZbJyU.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-pmYrldRZ.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-Cx5Xm5nk.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-cu61JPQA.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};