@zeniai/web-app-ui 5.1.48-qa → 5.1.50-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 (126) hide show
  1. package/dist/assets/AddressRoutes-BO0Y1XuG.js +1 -0
  2. package/dist/assets/{AddressScreen-CnWN_Byu.js → AddressScreen-cCnouRSn.js} +2 -2
  3. package/dist/assets/{AiCfoScreen-BLL_nNLI.js → AiCfoScreen-DuDTdplv.js} +1 -1
  4. package/dist/assets/{BillPayApprovalRoutes-fwQ-KbdW.js → BillPayApprovalRoutes-B_ArN4m-.js} +1 -1
  5. package/dist/assets/{BillPayRoutes-CXPLgeMx.js → BillPayRoutes-CeSWBsHw.js} +1 -1
  6. package/dist/assets/{BusinessVerificationPageScreen-CQCM86dl.js → BusinessVerificationPageScreen-B8bnbJvI.js} +2 -2
  7. package/dist/assets/{CardsAiCfoScreen-B1gDFQIg.js → CardsAiCfoScreen-BFi-6bPY.js} +1 -1
  8. package/dist/assets/ChargeCardRoutes-3ZPc6bsC.js +71 -0
  9. package/dist/assets/CompanyPassportScreen--e7woif_.js +1 -0
  10. package/dist/assets/ConnectionAuthScreen-DYP_9VcK.js +11 -0
  11. package/dist/assets/CustomerOnboardingAuthScreen-vzmXnBfR.js +1 -0
  12. package/dist/assets/{CustomerOnboardingRoutes-BYPXAjQ4.js → CustomerOnboardingRoutes-DY7mGrS8.js} +4 -4
  13. package/dist/assets/{DashboardRoutes-HvDL4JQ9.js → DashboardRoutes-CWWt-YY9.js} +3 -3
  14. package/dist/assets/{DefaultTenantHome-BgvzypN4.js → DefaultTenantHome-Bi_Nepv1.js} +1 -1
  15. package/dist/assets/DomesticWireDetailScreen-BtjmG_jm.js +18 -0
  16. package/dist/assets/DrawerScreen-Bhvl5Bpw.js +1 -0
  17. package/dist/assets/EntityDetailRoutes-DWUflhpV.js +1 -0
  18. package/dist/assets/{ExpenseAutomationRoutes-BCAAiII0.js → ExpenseAutomationRoutes-5xMDqEkK.js} +3 -3
  19. package/dist/assets/{FeaturePreviewScreen-DJsA6G2u.js → FeaturePreviewScreen-Cs1JStpc.js} +1 -1
  20. package/dist/assets/HubSpotOAuthCallbackScreen-C2hS7TqE.js +1 -0
  21. package/dist/assets/{MagicLinkRoutes-DPMWh3Wi.js → MagicLinkRoutes-DIheMWou.js} +5 -5
  22. package/dist/assets/MagicLinkSignInScreen-BhydWF2v.js +12 -0
  23. package/dist/assets/{MobileAppDrawer-Co1JEy80.js → MobileAppDrawer-bZsvcUIO.js} +1 -1
  24. package/dist/assets/NotFoundScreen-DkPaaWNr.js +1 -0
  25. package/dist/assets/{NotificationRoutes-Bg32ZXm1.js → NotificationRoutes-Debt_KCq.js} +1 -1
  26. package/dist/assets/OAuthConsentScreen-BYk52B4_.js +1 -0
  27. package/dist/assets/PandLWithForecastRoutes-DvAao1a8.js +1 -0
  28. package/dist/assets/{PeopleRoutes-BB-x72kE.js → PeopleRoutes-jjBWyySA.js} +9 -9
  29. package/dist/assets/PerformanceRoutes-K4zUr9LW.js +1 -0
  30. package/dist/assets/{Preview-BohCuc6u.js → Preview-CKm-UT5u.js} +1 -1
  31. package/dist/assets/{QBOConnectionScreen-BQDAvDNh.js → QBOConnectionScreen-Bq-1t6Xi.js} +1 -1
  32. package/dist/assets/ReferralListScreen-_mz3EFDf.js +5 -0
  33. package/dist/assets/ReimbursementApprovalRoutes-DrGF2MTj.js +1 -0
  34. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DTKjwmY6.js → ReimbursementApprovalRuleDetailScreen-BWFBxfUH.js} +1 -1
  35. package/dist/assets/{ReimbursementRoutes-BLhdkUwt.js → ReimbursementRoutes-DY21Vmvy.js} +5 -5
  36. package/dist/assets/{ReportsRoutes-4lWPPfqg.js → ReportsRoutes-WmSJGW8t.js} +1 -1
  37. package/dist/assets/RewardsRoutes-BZ9NRCXj.js +1 -0
  38. package/dist/assets/{ScreenRoutes-Q9t_VXud.js → ScreenRoutes-Cf5Tsx0Z.js} +2 -2
  39. package/dist/assets/{SettingsRoutes-DcAtX4HB.js → SettingsRoutes-C9qtCzkG.js} +8 -8
  40. package/dist/assets/{SetupPagesScreen-CYV12QsA.js → SetupPagesScreen-B_L42KP-.js} +5 -5
  41. package/dist/assets/SignInScreen-ChB2BnS8.js +1 -0
  42. package/dist/assets/SignOutScreen-BwwfTIGJ.js +9 -0
  43. package/dist/assets/{TaskListScreen-DhuFLEvi.js → TaskListScreen-DP-G56Cv.js} +2 -2
  44. package/dist/assets/TaskRoutes-B1qP8Ev_.js +9 -0
  45. package/dist/assets/{TransactionDetailRoutes-Cw9T-pK7.js → TransactionDetailRoutes-q6akxnYr.js} +1 -1
  46. package/dist/assets/{TransactionDetailScreen-Bpr92k5W.js → TransactionDetailScreen-BDokO385.js} +2 -2
  47. package/dist/assets/{TransactionListRoutes-C6ZbEcTu.js → TransactionListRoutes-4uU8xSo5.js} +1 -1
  48. package/dist/assets/{TreasuryRoutes-BvamC7Re.js → TreasuryRoutes-Cwxw4OCX.js} +5 -5
  49. package/dist/assets/{VendorsRoutes-lu3A3G0M.js → VendorsRoutes-CYXZWLCR.js} +10 -10
  50. package/dist/assets/WiseConfirmationScreen-DFk6ctUo.js +12 -0
  51. package/dist/assets/{ZeniAccountRoutes-DpUutqtc.js → ZeniAccountRoutes-Dkb3Uwio.js} +13 -13
  52. package/dist/assets/ZeniAccountStatementScreen-Cp587aU0.js +9 -0
  53. package/dist/assets/{accountMappingHelper-DwVJRdRo.js → accountMappingHelper-D75TOEDA.js} +1 -1
  54. package/dist/assets/{analytics-BUvTITrb.js → analytics-CkXhIYGA.js} +1 -1
  55. package/dist/assets/{analyticsHelper-CakEIbyY.js → analyticsHelper-DcxhhZJu.js} +1 -1
  56. package/dist/assets/{core-wjM80qIn.js → core-B5TeChD4.js} +1 -1
  57. package/dist/assets/{decodeURIComponentSafe-4aj60Fs2.js → decodeURIComponentSafe-DXB7OyA3.js} +1 -1
  58. package/dist/assets/{dnd-BK3JI-SF.js → dnd-CWnSyq9-.js} +1 -1
  59. package/dist/assets/{empty-CUF5cU17.js → empty-D1f-cCDu.js} +1 -1
  60. package/dist/assets/{empty-D8a3KaBg.js → empty-r-IKwqcp.js} +1 -1
  61. package/dist/assets/{emptyVideoElement-DDXARDvi.js → emptyVideoElement-B8V1wuPO.js} +1 -1
  62. package/dist/assets/epic-DuAKKq3W.js +2 -0
  63. package/dist/assets/{getLocaleForTenant-ePVFO9y0.js → getLocaleForTenant-Bixn6PX7.js} +1 -1
  64. package/dist/assets/{index-BVZpKi1S.js → index-B0QsCXA7.js} +2 -2
  65. package/dist/assets/{index-CVCyRaz2.js → index-B2U2XMzI.js} +13002 -12858
  66. package/dist/assets/{index-DApnMePi.js → index-BfRRBBMI.js} +1 -1
  67. package/dist/assets/{index-D3VvkPFN.js → index-CGTF1rlJ.js} +1 -1
  68. package/dist/assets/{index-CWHzFtd9.js → index-C_NwT3-k.js} +1 -1
  69. package/dist/assets/{index-D8Ajpofo.js → index-DDl-KBgR.js} +1 -1
  70. package/dist/assets/{index-DuIPJrPJ.js → index-Kq1a616O.js} +1 -1
  71. package/dist/assets/{index-DypTJFR1.js → index-R3BgB7Uo.js} +1 -1
  72. package/dist/assets/{lexical-DcicQSkI.js → lexical-D7c0ykAW.js} +1 -1
  73. package/dist/assets/{liveblocks-GsPfxkQ7.js → liveblocks-C-n95g0A.js} +1 -1
  74. package/dist/assets/{lottie-C5rIATv6.js → lottie-zNHYqEBz.js} +1 -1
  75. package/dist/assets/{mui-BSDa87ap.js → mui-Da8iY16Z.js} +1 -1
  76. package/dist/assets/{pathToGoBack-CAzQiLsh.js → pathToGoBack-nrN7wX5B.js} +1 -1
  77. package/dist/assets/{pdf-BLNuomMl.js → pdf-BM7gJkYi.js} +4 -4
  78. package/dist/assets/{pdf-lib-BR9HrRu8.js → pdf-lib-BVCnHm-C.js} +1 -1
  79. package/dist/assets/{plaid-50YvjniW.js → plaid-kqYG7b9d.js} +1 -1
  80. package/dist/assets/{pusher-DyWQA0RT.js → pusher-CLZoiBO8.js} +1 -1
  81. package/dist/assets/{react-BKGEXYtN.js → react-B40ow9gH.js} +1 -1
  82. package/dist/assets/{react-CrU6fZvx.js → react-BggCpRGR.js} +1 -1
  83. package/dist/assets/{react-Dj2j64JD.js → react-C-sHFsWu.js} +1 -1
  84. package/dist/assets/{react-uWUXgbgu.js → react-C3y2xvic.js} +1 -1
  85. package/dist/assets/{react-Ci53z-6c.js → react-CbGrXN5I.js} +1 -1
  86. package/dist/assets/{react-DmfWUkEA.js → react-zGBF6iFI.js} +1 -1
  87. package/dist/assets/{recharts-D4VpFd5q.js → recharts--v-RQjOV.js} +1 -1
  88. package/dist/assets/{routePaths-BYsH7YxB.js → routePaths-BhCcxP1S.js} +1 -1
  89. package/dist/assets/{sentry-B2TzMFx9.js → sentry-lku8kjDH.js} +1 -1
  90. package/dist/assets/{url-CcjxrMLZ.js → url-ByXYagPi.js} +1 -1
  91. package/dist/assets/{url-D1xNpCnF.js → url-CRmtHtjd.js} +1 -1
  92. package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-DIXV_4D6.js → useAiCfoDashboardSuggestedQuestionsChips-B4QfsEVQ.js} +1 -1
  93. package/dist/assets/useAskAiCfoHostNavButtonProps-Bt3rxiW7.js +1 -0
  94. package/dist/assets/useCashManagementBanner-BdFPdsZy.js +1 -0
  95. package/dist/assets/{useDeviceId-t80vtq4B.js → useDeviceId-bV7jqaoy.js} +1 -1
  96. package/dist/assets/{useInitialThreadRequest-CCHKjkJV.js → useInitialThreadRequest-j8y2-Pa3.js} +1 -1
  97. package/dist/assets/{utils-BwzhiOdE.js → utils-Dw1Jg_v9.js} +1 -1
  98. package/dist/assets/{withTransactionSidePanel-CYQhrzsL.js → withTransactionSidePanel-BZm11u-w.js} +4 -4
  99. package/dist/assets/{zeni-epic-state-DrcliB1J.js → zeni-epic-state-BzDw8pi_.js} +3 -3
  100. package/dist/index.html +1 -1
  101. package/package.json +3 -3
  102. package/dist/assets/AddressRoutes-zp_f5BIT.js +0 -1
  103. package/dist/assets/ChargeCardRoutes-r0QCF0_O.js +0 -71
  104. package/dist/assets/CompanyPassportScreen-C21kd0sW.js +0 -1
  105. package/dist/assets/ConnectionAuthScreen-Dy-zRzti.js +0 -11
  106. package/dist/assets/CustomerOnboardingAuthScreen-DZRY0rMp.js +0 -1
  107. package/dist/assets/DomesticWireDetailScreen-B4-ngaAr.js +0 -18
  108. package/dist/assets/DrawerScreen-CCOxeY1b.js +0 -1
  109. package/dist/assets/EntityDetailRoutes-DmdWYlHp.js +0 -1
  110. package/dist/assets/HubSpotOAuthCallbackScreen-gYH68XtL.js +0 -1
  111. package/dist/assets/MagicLinkSignInScreen-BHjwFaIK.js +0 -12
  112. package/dist/assets/NotFoundScreen-BzCRT55X.js +0 -1
  113. package/dist/assets/OAuthConsentScreen-CguAVsyN.js +0 -1
  114. package/dist/assets/PandLWithForecastRoutes-D4CBd4Zm.js +0 -1
  115. package/dist/assets/PerformanceRoutes-B2gf_KmS.js +0 -1
  116. package/dist/assets/ReferralListScreen-dGvD_TyP.js +0 -5
  117. package/dist/assets/ReimbursementApprovalRoutes-B_LzfI5s.js +0 -1
  118. package/dist/assets/RewardsRoutes-3GOO5hHW.js +0 -1
  119. package/dist/assets/SignInScreen-CCIcAet0.js +0 -1
  120. package/dist/assets/SignOutScreen-DzR-6ySq.js +0 -9
  121. package/dist/assets/TaskRoutes-BePPWsqJ.js +0 -9
  122. package/dist/assets/WiseConfirmationScreen-CX-Fzehj.js +0 -12
  123. package/dist/assets/ZeniAccountStatementScreen-CeBv1Cnr.js +0 -9
  124. package/dist/assets/epic-sEosDzE-.js +0 -2
  125. package/dist/assets/useAskAiCfoHostNavButtonProps-DdDNWlhJ.js +0 -1
  126. package/dist/assets/useCashManagementBanner-e8VaEdGn.js +0 -1
@@ -1 +1 @@
1
- import{O as n}from"./index-CVCyRaz2.js";import"./mui-BSDa87ap.js";import"./sentry-B2TzMFx9.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]="a025e12a-3c46-468d-b708-a59b1cf4a11b",e._sentryDebugIdIdentifier="sentry-dbid-a025e12a-3c46-468d-b708-a59b1cf4a11b")}catch{}})();function l(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{l as t};
1
+ import{X as n}from"./index-B2U2XMzI.js";import"./mui-Da8iY16Z.js";import"./sentry-lku8kjDH.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]="72d89815-ad40-4b04-9f92-6858de587b42",e._sentryDebugIdIdentifier="sentry-dbid-72d89815-ad40-4b04-9f92-6858de587b42")}catch{}})();function l(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{l as t};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-DDXARDvi.js","assets/sentry-B2TzMFx9.js","assets/index-DuIPJrPJ.js","assets/react-Ci53z-6c.js","assets/react-CrU6fZvx.js","assets/react-uWUXgbgu.js","assets/react-DmfWUkEA.js","assets/react-Dj2j64JD.js","assets/react-BKGEXYtN.js","assets/Preview-BohCuc6u.js"])))=>i.map(i=>d[i]);
2
- import{_ as u}from"./zeni-epic-state-DrcliB1J.js";import{b as m,a as l}from"./sentry-B2TzMFx9.js";import"./core-wjM80qIn.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-DDXARDvi.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-DDXARDvi.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-DuIPJrPJ.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-Ci53z-6c.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-CrU6fZvx.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-uWUXgbgu.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-DmfWUkEA.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-Dj2j64JD.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-BKGEXYtN.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-BohCuc6u.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-B8V1wuPO.js","assets/sentry-lku8kjDH.js","assets/index-Kq1a616O.js","assets/react-CbGrXN5I.js","assets/react-BggCpRGR.js","assets/react-C3y2xvic.js","assets/react-zGBF6iFI.js","assets/react-C-sHFsWu.js","assets/react-B40ow9gH.js","assets/Preview-CKm-UT5u.js"])))=>i.map(i=>d[i]);
2
+ import{_ as u}from"./zeni-epic-state-BzDw8pi_.js";import{b as m,a as l}from"./sentry-lku8kjDH.js";import"./core-B5TeChD4.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-B8V1wuPO.js"),__vite__mapDeps([0,1])))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./emptyVideoElement-B8V1wuPO.js"),__vite__mapDeps([0,1])))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./index-Kq1a616O.js"),__vite__mapDeps([2,1])))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy(()=>u(()=>import("./react-CbGrXN5I.js"),__vite__mapDeps([3,1])))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy(()=>u(()=>import("./react-BggCpRGR.js"),__vite__mapDeps([4,1])))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy(()=>u(()=>import("./react-C3y2xvic.js"),__vite__mapDeps([5,1])))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-zGBF6iFI.js"),__vite__mapDeps([6,1])))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-C-sHFsWu.js"),__vite__mapDeps([7,1])))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy(()=>u(()=>import("./react-B40ow9gH.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-CKm-UT5u.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};