@zeniai/web-app-ui 5.0.97-qa → 5.0.98-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 (146) hide show
  1. package/dist/assets/AddressRoutes-DDaIV4eZ.js +1 -0
  2. package/dist/assets/AddressScreen-DxaubiXq.js +9 -0
  3. package/dist/assets/AiCfoScreen-m8Zgq_GS.js +22 -0
  4. package/dist/assets/{BillPayApprovalRoutes-DlCGbj_q.js → BillPayApprovalRoutes-B4r-0-50.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-Bmk03u7F.js → BillPayRoutes-DQzlGeQi.js} +34 -34
  6. package/dist/assets/BusinessVerificationPageScreen-BIrHn3fq.js +9 -0
  7. package/dist/assets/ChargeCardRoutes-Qksh7aEY.js +71 -0
  8. package/dist/assets/CompanyPassportScreen-Bh0KRqU9.js +1 -0
  9. package/dist/assets/ConnectionAuthScreen-9JU_wknG.js +11 -0
  10. package/dist/assets/CustomerOnboardingAuthScreen-Bmz9Q3W4.js +1 -0
  11. package/dist/assets/CustomerOnboardingRoutes-X_ZDpwiP.js +23 -0
  12. package/dist/assets/DashboardRoutes-BogZbtoT.js +20 -0
  13. package/dist/assets/{DefaultTenantHome-9LtjtS-P.js → DefaultTenantHome-Q-dqiquI.js} +1 -1
  14. package/dist/assets/DomesticWireDetailScreen-BY-jUiMw.js +18 -0
  15. package/dist/assets/DrawerScreen-Drpask10.js +1 -0
  16. package/dist/assets/EntityDetailRoutes-CbdIl_vZ.js +1 -0
  17. package/dist/assets/ExpenseAutomationRoutes-DtnWFchZ.js +25 -0
  18. package/dist/assets/FeaturePreviewScreen-DvNQU3gG.js +1 -0
  19. package/dist/assets/HubSpotOAuthCallbackScreen-DQMaXQ2W.js +1 -0
  20. package/dist/assets/{MagicLinkRoutes-Bo-iEeWZ.js → MagicLinkRoutes-TtaU4o7n.js} +10 -10
  21. package/dist/assets/MagicLinkSignInScreen-ZdC4mZB_.js +12 -0
  22. package/dist/assets/MobileAppDrawer-BkelcJG3.js +1 -0
  23. package/dist/assets/NotFoundScreen-Dpz39bup.js +1 -0
  24. package/dist/assets/NotificationRoutes-DMPt7wnb.js +1 -0
  25. package/dist/assets/OAuthConsentScreen-CUDMrd3J.js +1 -0
  26. package/dist/assets/PandLWithForecastRoutes-gaSgTRi0.js +1 -0
  27. package/dist/assets/PeopleRoutes-ulChxGY4.js +22 -0
  28. package/dist/assets/PerformanceRoutes-FHM73Dcm.js +1 -0
  29. package/dist/assets/{Preview-DdxYYDGG.js → Preview-D0x6u8Nz.js} +1 -1
  30. package/dist/assets/{QBOConnectionScreen-m9gEBJ-N.js → QBOConnectionScreen-CPvxeBk6.js} +1 -1
  31. package/dist/assets/ReferralListScreen-D2RlSd8S.js +5 -0
  32. package/dist/assets/ReimbursementApprovalRoutes-ClT51Soc.js +1 -0
  33. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DLndEGC2.js → ReimbursementApprovalRuleDetailScreen-Ck-1sOnS.js} +1 -1
  34. package/dist/assets/ReimbursementRoutes-D9TuG6Wi.js +68 -0
  35. package/dist/assets/ReportsRoutes-B8B68Eos.js +1 -0
  36. package/dist/assets/RewardsRoutes-C2gyLmQq.js +1 -0
  37. package/dist/assets/ScreenRoutes-CrkYMUz1.js +2 -0
  38. package/dist/assets/{SettingsRoutes-7JlhKJPl.js → SettingsRoutes-CpAwrhPW.js} +7 -7
  39. package/dist/assets/{SetupPagesScreen-BjcKrvcG.js → SetupPagesScreen-NIC2w04g.js} +5 -5
  40. package/dist/assets/SignInScreen-_pR-7wM2.js +1 -0
  41. package/dist/assets/SignOutScreen-BPL7WsWD.js +9 -0
  42. package/dist/assets/TaskListScreen-tKxgJp9M.js +9 -0
  43. package/dist/assets/TaskRoutes-CnDOH5U1.js +9 -0
  44. package/dist/assets/TransactionDetailRoutes-AzvoZbPr.js +1 -0
  45. package/dist/assets/TransactionDetailScreen-VjAJduyc.js +5 -0
  46. package/dist/assets/TransactionListRoutes-DAers0Rg.js +1 -0
  47. package/dist/assets/TreasuryRoutes-jwSS6VHf.js +37 -0
  48. package/dist/assets/{VendorsRoutes-D_-kPu3A.js → VendorsRoutes-BVKYJ6yV.js} +21 -21
  49. package/dist/assets/WiseConfirmationScreen-Bp7k95gU.js +12 -0
  50. package/dist/assets/{ZeniAccountRoutes-Ccr4Tu3U.js → ZeniAccountRoutes-9-ipmrl8.js} +12 -12
  51. package/dist/assets/ZeniAccountStatementScreen-CYFmOZM9.js +9 -0
  52. package/dist/assets/{accountMappingHelper-WSkwS3ra.js → accountMappingHelper-pKhoHYRw.js} +1 -1
  53. package/dist/assets/{analytics-CuL7sbHO.js → analytics-D310XSjQ.js} +1 -1
  54. package/dist/assets/{analyticsHelper-BvIxftL-.js → analyticsHelper-StfDTSGk.js} +1 -1
  55. package/dist/assets/{core-1tzDxF_J.js → core-Fwwp8hop.js} +2 -2
  56. package/dist/assets/{decodeURIComponentSafe-CzUHmrek.js → decodeURIComponentSafe-DaWuthXc.js} +1 -1
  57. package/dist/assets/{dnd-UQ1tNXwl.js → dnd-B_nt-Uf4.js} +1 -1
  58. package/dist/assets/{empty-BOAkJrzb.js → empty-BOxndxwD.js} +1 -1
  59. package/dist/assets/{empty-C9qW8SYG.js → empty-CLLWe6m6.js} +1 -1
  60. package/dist/assets/{emptyVideoElement-sDHECpfG.js → emptyVideoElement-Dqc7f16l.js} +1 -1
  61. package/dist/assets/epic-rmzsjdl7.js +2 -0
  62. package/dist/assets/getLocaleForTenant-JJvZDWEQ.js +1 -0
  63. package/dist/assets/{index-CWSZ0WC0.js → index-B-WtQiD1.js} +2 -2
  64. package/dist/assets/{index-kXT-zSFD.js → index-B6b9dX2I.js} +1 -1
  65. package/dist/assets/{index-Clodxfbm.js → index-BcoFhJ4O.js} +15992 -15808
  66. package/dist/assets/{index-ByhRyyQH.js → index-CG4cMKGN.js} +1 -1
  67. package/dist/assets/{index-BGVMDPgW.js → index-CfQpPMgv.js} +1 -1
  68. package/dist/assets/{index-CBCJW_Fr.js → index-D6xVpTbl.js} +1 -1
  69. package/dist/assets/{index-mTD4CI3i.js → index-DkSJ4_OZ.js} +1 -1
  70. package/dist/assets/{index-Bnsr4-4O.js → index-py9Wsjt2.js} +1 -1
  71. package/dist/assets/{lexical-DyD9YeY2.js → lexical-D4DqnnDh.js} +1 -1
  72. package/dist/assets/{liveblocks-CojXceKe.js → liveblocks-D1TxH59e.js} +1 -1
  73. package/dist/assets/{lottie-BiPaRBCF.js → lottie-BGeomX3N.js} +1 -1
  74. package/dist/assets/{mui-eOKzNg_v.js → mui-Dar_oGjJ.js} +1 -1
  75. package/dist/assets/{pathToGoBack-mpRIuZ1b.js → pathToGoBack-CFMq10u8.js} +1 -1
  76. package/dist/assets/{pdf-D54b-lk1.js → pdf-BftxTBXg.js} +4 -4
  77. package/dist/assets/{pdf-lib-CM8t2lAc.js → pdf-lib-oQPUkPP1.js} +1 -1
  78. package/dist/assets/{plaid-C86NKwk4.js → plaid-BGhwh8RZ.js} +1 -1
  79. package/dist/assets/{pusher-De4_Gzo3.js → pusher-B0sMSaHR.js} +1 -1
  80. package/dist/assets/{react-BaURIzol.js → react-BG3-H3hY.js} +1 -1
  81. package/dist/assets/{react-DZce6aRE.js → react-BaMiVVMt.js} +1 -1
  82. package/dist/assets/{react-DkHCBhOd.js → react-C_Slx_Fd.js} +1 -1
  83. package/dist/assets/{react-rQHhpMZd.js → react-DrseuhQt.js} +1 -1
  84. package/dist/assets/{react-DVpsREc7.js → react-qOh0QNtz.js} +1 -1
  85. package/dist/assets/{react-CzDEpfE-.js → react-sGqG8JxF.js} +1 -1
  86. package/dist/assets/{recharts-CprzPz94.js → recharts-DuOI9Nsb.js} +2 -2
  87. package/dist/assets/routePaths-BPSPu97F.js +1 -0
  88. package/dist/assets/{sentry-VbP5SjgI.js → sentry-5pTQe3BK.js} +1 -1
  89. package/dist/assets/{url-DRYQWz1E.js → url-CfkU6Gnm.js} +1 -1
  90. package/dist/assets/{url-CyrVDIC9.js → url-DFizNyrO.js} +1 -1
  91. package/dist/assets/useAiCfoDashboardSuggestedQuestionsChips-CRHV9fCR.js +1 -0
  92. package/dist/assets/useAskAiCfoHostNavButtonProps-HZkyXVvQ.js +1 -0
  93. package/dist/assets/{useDeviceId-gtdjHbsQ.js → useDeviceId-9VsPbMb7.js} +1 -1
  94. package/dist/assets/{useInitialThreadRequest-CrkmLvNT.js → useInitialThreadRequest-Ro9Y0en9.js} +1 -1
  95. package/dist/assets/{utils-BIjucwi9.js → utils-3_hFkWEq.js} +1 -1
  96. package/dist/assets/withTransactionSidePanel-Bez35evJ.js +21 -0
  97. package/dist/assets/zeni-epic-state-i1VxNGkd.js +13 -0
  98. package/dist/index.html +1 -1
  99. package/package.json +5 -4
  100. package/dist/assets/AddressRoutes-CKBiKLfh.js +0 -1
  101. package/dist/assets/AddressScreen-CK1Ta_YK.js +0 -9
  102. package/dist/assets/AiCfoScreen-DW683Vc4.js +0 -22
  103. package/dist/assets/BusinessVerificationPageScreen-CsEjTVow.js +0 -9
  104. package/dist/assets/ChargeCardRoutes-CU4bir9P.js +0 -71
  105. package/dist/assets/CompanyPassportScreen-Dzi4pWa2.js +0 -1
  106. package/dist/assets/ConnectionAuthScreen-ae-Vmyet.js +0 -11
  107. package/dist/assets/CustomerOnboardingAuthScreen-BURphStd.js +0 -1
  108. package/dist/assets/CustomerOnboardingRoutes-wvktQBcr.js +0 -23
  109. package/dist/assets/DashboardRoutes-CU_Igh7p.js +0 -20
  110. package/dist/assets/DomesticWireDetailScreen-DSgvMFWg.js +0 -18
  111. package/dist/assets/DrawerScreen-xF8iV9MW.js +0 -1
  112. package/dist/assets/EntityDetailRoutes-Dp7_VnKE.js +0 -1
  113. package/dist/assets/ExpenseAutomationRoutes-DYD6nYgi.js +0 -25
  114. package/dist/assets/FeaturePreviewScreen-1aYrgMGZ.js +0 -1
  115. package/dist/assets/HubSpotOAuthCallbackScreen-CZyQWLRC.js +0 -1
  116. package/dist/assets/MagicLinkSignInScreen-BJGcr1ZW.js +0 -12
  117. package/dist/assets/MobileAppDrawer-BqOtCLcf.js +0 -1
  118. package/dist/assets/NotFoundScreen-vXVzDDhb.js +0 -1
  119. package/dist/assets/NotificationRoutes-W4-hOU5y.js +0 -1
  120. package/dist/assets/OAuthConsentScreen-Dse6w_x3.js +0 -1
  121. package/dist/assets/PandLWithForecastRoutes-DbodFKpo.js +0 -1
  122. package/dist/assets/PeopleRoutes-DBngdpwx.js +0 -22
  123. package/dist/assets/PerformanceRoutes-Bd8uLb_O.js +0 -1
  124. package/dist/assets/ReferralListScreen-BWmTFW4e.js +0 -5
  125. package/dist/assets/ReimbursementApprovalRoutes-BRfIQTcj.js +0 -1
  126. package/dist/assets/ReimbursementRoutes-C8AaCnjq.js +0 -68
  127. package/dist/assets/ReportsRoutes-DbRbMS3b.js +0 -1
  128. package/dist/assets/RewardsRoutes-BYG96jgN.js +0 -1
  129. package/dist/assets/ScreenRoutes-DB6r1dtT.js +0 -2
  130. package/dist/assets/SignInScreen-CV2aDykc.js +0 -1
  131. package/dist/assets/SignOutScreen-CmLlV6Nz.js +0 -9
  132. package/dist/assets/TaskListScreen-CTaZiDqn.js +0 -9
  133. package/dist/assets/TaskRoutes-CNH15IjJ.js +0 -9
  134. package/dist/assets/TransactionDetailRoutes-B8xTLGZT.js +0 -1
  135. package/dist/assets/TransactionDetailScreen-DwCkIJHD.js +0 -5
  136. package/dist/assets/TransactionListRoutes-2vfC_4zf.js +0 -1
  137. package/dist/assets/TreasuryRoutes-Bx4YIk9E.js +0 -37
  138. package/dist/assets/WiseConfirmationScreen-B8_WXwOG.js +0 -12
  139. package/dist/assets/ZeniAccountStatementScreen-Dm-dkNQ0.js +0 -9
  140. package/dist/assets/epic-CInlKQpK.js +0 -2
  141. package/dist/assets/getLocaleForTenant-yA2GFCvq.js +0 -1
  142. package/dist/assets/routePaths-JcJizzK8.js +0 -1
  143. package/dist/assets/useAskAiCfoHostNavButtonProps-RBoDr0md.js +0 -1
  144. package/dist/assets/useFetchSuggestedQuestionsWhenReady-C9Tf4ZII.js +0 -1
  145. package/dist/assets/withTransactionSidePanel-BZ6hK4KQ.js +0 -21
  146. package/dist/assets/zeni-epic-state-BKNuQ_Od.js +0 -13
@@ -0,0 +1 @@
1
+ import{j as n}from"./index-BcoFhJ4O.js";import"./mui-Dar_oGjJ.js";import"./sentry-5pTQe3BK.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,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-sDHECpfG.js","assets/sentry-VbP5SjgI.js","assets/index-Bnsr4-4O.js","assets/react-CzDEpfE-.js","assets/react-DZce6aRE.js","assets/react-rQHhpMZd.js","assets/react-BaURIzol.js","assets/react-DkHCBhOd.js","assets/react-DVpsREc7.js","assets/Preview-DdxYYDGG.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-BKNuQ_Od.js";import{b as m,a as l}from"./sentry-VbP5SjgI.js";import"./core-1tzDxF_J.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-sDHECpfG.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-sDHECpfG.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-Bnsr4-4O.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-CzDEpfE-.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-DZce6aRE.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-rQHhpMZd.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BaURIzol.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-DkHCBhOd.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-DVpsREc7.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-DdxYYDGG.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-Dqc7f16l.js","assets/sentry-5pTQe3BK.js","assets/index-py9Wsjt2.js","assets/react-sGqG8JxF.js","assets/react-BaMiVVMt.js","assets/react-DrseuhQt.js","assets/react-BG3-H3hY.js","assets/react-C_Slx_Fd.js","assets/react-qOh0QNtz.js","assets/Preview-D0x6u8Nz.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-i1VxNGkd.js";import{b as m,a as l}from"./sentry-5pTQe3BK.js";import"./core-Fwwp8hop.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-Dqc7f16l.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-Dqc7f16l.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-py9Wsjt2.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-sGqG8JxF.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-BaMiVVMt.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-DrseuhQt.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BG3-H3hY.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-C_Slx_Fd.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-qOh0QNtz.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-D0x6u8Nz.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 +1 @@
1
- import{g as i}from"./sentry-VbP5SjgI.js";import{r as a}from"./index-BGVMDPgW.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]="63071319-eacd-4eee-a227-cdff659934c0",e._sentryDebugIdIdentifier="sentry-dbid-63071319-eacd-4eee-a227-cdff659934c0")}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-5pTQe3BK.js";import{r as a}from"./index-CfQpPMgv.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]="63071319-eacd-4eee-a227-cdff659934c0",e._sentryDebugIdIdentifier="sentry-dbid-63071319-eacd-4eee-a227-cdff659934c0")}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};