@zeniai/web-app-ui 5.3.60-qa → 5.3.61-qa
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AccountMappingScreen-DDL0Aczb.js → AccountMappingScreen-OaD-Ww7N.js} +1 -1
- package/dist/assets/{ActualMatchingMatchDetailScreen-BF0QqOvV.js → ActualMatchingMatchDetailScreen-C71W3EXR.js} +1 -1
- package/dist/assets/AddressRoutes-BVz7TQgL.js +1 -0
- package/dist/assets/{AddressScreen-DFtmrD7U.js → AddressScreen-DyDl-tRh.js} +1 -1
- package/dist/assets/{AiCfoScreen-BCo_gQ1S.js → AiCfoScreen-DO4viMbN.js} +1 -1
- package/dist/assets/{AppDrawer-BFM_cX2w.js → AppDrawer-BoBT503t.js} +1 -1
- package/dist/assets/{BillPayApprovalRoutes-CVaNwI19.js → BillPayApprovalRoutes-UWoiHhFS.js} +1 -1
- package/dist/assets/{BillPayRoutes-CNF3RPdV.js → BillPayRoutes-GFA8LUX-.js} +1 -1
- package/dist/assets/{BusinessVerificationPageScreen-DGOdZpSF.js → BusinessVerificationPageScreen-DjqyigwM.js} +1 -1
- package/dist/assets/{CardsAiCfoScreen-DldtBxQ_.js → CardsAiCfoScreen-cEaT6Zqk.js} +1 -1
- package/dist/assets/{ChargeCardRoutes-CiXY3RRi.js → ChargeCardRoutes-D4YlLVsI.js} +1 -1
- package/dist/assets/{CompanyPassportScreen-yvWlb-a3.js → CompanyPassportScreen-CHnMtfXr.js} +1 -1
- package/dist/assets/{ConnectionAuthScreen-U-SNJMCs.js → ConnectionAuthScreen-DoG98aIj.js} +1 -1
- package/dist/assets/CustomerOnboardingAuthScreen-sNk7vsur.js +1 -0
- package/dist/assets/{CustomerOnboardingRoutes-Cv97cHav.js → CustomerOnboardingRoutes-CkVSR1Hr.js} +1 -1
- package/dist/assets/{DashboardRoutes-B8KMVxUd.js → DashboardRoutes-mW-tjMuc.js} +1 -1
- package/dist/assets/{DefaultTenantHome-DPfMVRsH.js → DefaultTenantHome-BWjmQO2E.js} +1 -1
- package/dist/assets/{DomesticWireDetailScreen-BmgDMFrt.js → DomesticWireDetailScreen-Cs9T_IgO.js} +1 -1
- package/dist/assets/{DrawerScreen-BXnpyAh5.js → DrawerScreen-CO5oDn6f.js} +1 -1
- package/dist/assets/{EntityDetailRoutes-wEtrNr5d.js → EntityDetailRoutes-QbthrUVk.js} +1 -1
- package/dist/assets/{ExpenseAutomationRoutes-DylNvqtJ.js → ExpenseAutomationRoutes-DOepnh8G.js} +1 -1
- package/dist/assets/{FeaturePreviewScreen-Cl4Z6Gbf.js → FeaturePreviewScreen-DWBL39rh.js} +1 -1
- package/dist/assets/{HubSpotOAuthCallbackScreen-ecjnmYBQ.js → HubSpotOAuthCallbackScreen-DAce4xun.js} +1 -1
- package/dist/assets/{InboxNotificationsProvider-UxuF5z6s.js → InboxNotificationsProvider-B4UF_uUg.js} +1 -1
- package/dist/assets/InvoicingRoutes-BNkUMYuP.js +2 -0
- package/dist/assets/{MagicLinkRoutes-l_QpBC-t.js → MagicLinkRoutes-phTux1TG.js} +1 -1
- package/dist/assets/{MagicLinkSignInScreen-UK3TjkXM.js → MagicLinkSignInScreen-D-3VGahG.js} +1 -1
- package/dist/assets/{MobileAppDrawer-DVlDM_SD.js → MobileAppDrawer-CHFdUHPo.js} +1 -1
- package/dist/assets/NotFoundScreen-BPIsWBDH.js +1 -0
- package/dist/assets/{NotificationRoutes-_Ove4RR9.js → NotificationRoutes-YZJK1G-i.js} +1 -1
- package/dist/assets/{OAuthConsentScreen-D2IPS06S.js → OAuthConsentScreen-BgBHYWlo.js} +1 -1
- package/dist/assets/{PandLWithForecastRoutes-CmYUpd30.js → PandLWithForecastRoutes-gJp3CGBo.js} +1 -1
- package/dist/assets/{PaymentLinkScreen-C8Dbjcao.js → PaymentLinkScreen-DCGfHELs.js} +1 -1
- package/dist/assets/{PeopleRoutes-CXOp-Iev.js → PeopleRoutes-BWFloBGz.js} +1 -1
- package/dist/assets/{PerformanceRoutes-DV6FEtim.js → PerformanceRoutes-DE0kFKjY.js} +1 -1
- package/dist/assets/{Preview-DgfrPJAF.js → Preview-Co3i0Xrb.js} +1 -1
- package/dist/assets/{QBOConnectionScreen-BIShDDrG.js → QBOConnectionScreen-DYxxHcdI.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRoutes-uc6i1fez.js → ReimbursementApprovalRoutes-CMbfshMX.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRuleDetailScreen-DVlg53Ne.js → ReimbursementApprovalRuleDetailScreen-CrWl9trk.js} +1 -1
- package/dist/assets/{ReimbursementRoutes-oLl-lj6X.js → ReimbursementRoutes-ChwPWyQv.js} +1 -1
- package/dist/assets/{ReportsRoutes-DBsPdRcb.js → ReportsRoutes-CYsPWlxq.js} +1 -1
- package/dist/assets/{RewardsRoutes-B1QRSS1A.js → RewardsRoutes-C-TWFvBa.js} +1 -1
- package/dist/assets/{ScheduleDetailsPrepaidExpensesScreen-BHR4u0iT.js → ScheduleDetailsPrepaidExpensesScreen-DTNyy-6E.js} +1 -1
- package/dist/assets/{ScreenRoutes-S_qs6Ml3.js → ScreenRoutes-DP4Wjips.js} +2 -2
- package/dist/assets/{SettingsRoutes-BtIC2MT_.js → SettingsRoutes-CDD6OVir.js} +1 -1
- package/dist/assets/{SetupPagesScreen-Bj4KorET.js → SetupPagesScreen-BlUoKvnc.js} +1 -1
- package/dist/assets/{SignInScreen-C1tZOgxI.js → SignInScreen-3WOvV3S5.js} +1 -1
- package/dist/assets/{SignOutScreen-C5m60sU2.js → SignOutScreen-CKL0FwKr.js} +1 -1
- package/dist/assets/{TaskListScreen-D4Iho4zL.js → TaskListScreen-UsJ67eRj.js} +1 -1
- package/dist/assets/{TaskRoutes-Df2WVA2J.js → TaskRoutes-CH6htYb8.js} +1 -1
- package/dist/assets/TransactionDetailRoutes-D6Gttu9Z.js +1 -0
- package/dist/assets/{TransactionDetailScreen-7QFpL4Os.js → TransactionDetailScreen-CN2_Ei-4.js} +1 -1
- package/dist/assets/{TransactionListRoutes-Cc05N7SO.js → TransactionListRoutes-BBUdWZ4f.js} +1 -1
- package/dist/assets/{TreasuryRoutes-wyXdfXNp.js → TreasuryRoutes-BqcgWSjx.js} +1 -1
- package/dist/assets/{VendorsRoutes-AS-OWQI1.js → VendorsRoutes-jSHZV8MZ.js} +1 -1
- package/dist/assets/{WiseConfirmationScreen-C3-YNa28.js → WiseConfirmationScreen-Bf_MMExc.js} +1 -1
- package/dist/assets/{ZeniAccountRoutes-BfugNyQM.js → ZeniAccountRoutes-CBtuSj8X.js} +1 -1
- package/dist/assets/{ZeniAccountStatementScreen-CX_Zwdtn.js → ZeniAccountStatementScreen-CcOG7C5Z.js} +1 -1
- package/dist/assets/{accountMappingHelper-Bd8dBAx8.js → accountMappingHelper-Ci74NLEW.js} +1 -1
- package/dist/assets/{analytics-CN354g1T.js → analytics-8lQ_GaR7.js} +1 -1
- package/dist/assets/{analyticsHelper-BF8AFXo5.js → analyticsHelper-Bi6R9Hrj.js} +1 -1
- package/dist/assets/{core-gskLGwvQ.js → core-B-8b0iz9.js} +1 -1
- package/dist/assets/{decodeURIComponentSafe-BrjSQ2T7.js → decodeURIComponentSafe-hAviH84T.js} +1 -1
- package/dist/assets/{dnd-BpQOVH8W.js → dnd-CtOxA7uX.js} +1 -1
- package/dist/assets/{empty-BhQrXt4B.js → empty-CyiOIGJw.js} +1 -1
- package/dist/assets/{empty-FEXz4SGC.js → empty-ZUR8mjP1.js} +1 -1
- package/dist/assets/{emptyVideoElement-D7dHKwRE.js → emptyVideoElement-Dch9mr3K.js} +1 -1
- package/dist/assets/{epic-DRT8s5zn.js → epic-C_YIXfJm.js} +1 -1
- package/dist/assets/{expenseAutomationHelper-DjpsZY3T.js → expenseAutomationHelper-BzOPc0En.js} +1 -1
- package/dist/assets/{getLocaleForTenant-BQnSwWzl.js → getLocaleForTenant-BYXijL7f.js} +1 -1
- package/dist/assets/{index-BnH1nwkV.js → index-BUsi93tT.js} +2 -2
- package/dist/assets/{index-9iGc-VCi.js → index-Bg2deWZq.js} +8 -8
- package/dist/assets/{index-DoALHuep.js → index-Ce-G0Vp2.js} +1 -1
- package/dist/assets/{index-CES-kGHe.js → index-CgYr_9vs.js} +1 -1
- package/dist/assets/{index-BSb1Spas.js → index-CzpjeHcU.js} +1 -1
- package/dist/assets/{index-l0JDz3aN.js → index-DeS-5gfC.js} +1 -1
- package/dist/assets/{index-DkwmHck7.js → index-b65XjN06.js} +1 -1
- package/dist/assets/{index-DoPFANFI.js → index-haVo7C6B.js} +1 -1
- package/dist/assets/{lexical-CeoJXP_S.js → lexical-BVt4M34U.js} +1 -1
- package/dist/assets/{liveblocks-Bb2PSW9x.js → liveblocks-BjcYyeQ6.js} +1 -1
- package/dist/assets/{lottie-C6kuyXrg.js → lottie-BdAYiWcR.js} +1 -1
- package/dist/assets/{mui-B7hsDY4Q.js → mui-C33Oegsm.js} +1 -1
- package/dist/assets/{pathToGoBack-feIsVMKv.js → pathToGoBack-Bgu6njoM.js} +1 -1
- package/dist/assets/{pdf-nyOleBBB.js → pdf-BkfulyEw.js} +3 -3
- package/dist/assets/{pdf-lib-DHKxm0iN.js → pdf-lib-D8o-uP9K.js} +1 -1
- package/dist/assets/{plaid-lbMcoGfS.js → plaid-Bt28AVCt.js} +1 -1
- package/dist/assets/{pusher-9tGNqr8g.js → pusher-BWEmmbE9.js} +1 -1
- package/dist/assets/{react-CO_MezWn.js → react-B7GqIpoL.js} +1 -1
- package/dist/assets/{react-BKOV6yjY.js → react-BAH__mX9.js} +1 -1
- package/dist/assets/{react-FoyHSSWz.js → react-CIEK2Ei-.js} +1 -1
- package/dist/assets/{react-BlugNq5G.js → react-DT9gMpbF.js} +1 -1
- package/dist/assets/{react-oC35W2hT.js → react-Dqb011PB.js} +1 -1
- package/dist/assets/{react-NCf-4gX_.js → react-Ls8UDl46.js} +1 -1
- package/dist/assets/{recharts-DbIMJ9R8.js → recharts-DkYxIsLi.js} +1 -1
- package/dist/assets/{routePaths-CLHAVe0V.js → routePaths-Cz0AF8Dx.js} +1 -1
- package/dist/assets/{sentry-BSKiJ3ep.js → sentry-DZ9rNYfw.js} +1 -1
- package/dist/assets/{stripSplatSuffix-CgrkzEUz.js → stripSplatSuffix-Te2Zqy4u.js} +1 -1
- package/dist/assets/{url-Y0CBg9uE.js → url-BjdrSaU1.js} +1 -1
- package/dist/assets/{url-Bb2AUtKQ.js → url-DY2r7CPa.js} +1 -1
- package/dist/assets/{useActualMatchingMatchDetail-CyYqijbA.js → useActualMatchingMatchDetail-BzNeeZZT.js} +1 -1
- package/dist/assets/{useAiCfoDashboardSuggestedQuestionsChips-DNGyjeFt.js → useAiCfoDashboardSuggestedQuestionsChips-CI6Qx_-n.js} +1 -1
- package/dist/assets/{useAskAiCfoHostNavButtonProps-dr1KTiaF.js → useAskAiCfoHostNavButtonProps-BZHyrLWc.js} +1 -1
- package/dist/assets/{useChargeCardPusherEvents-BG8Zkab0.js → useChargeCardPusherEvents-1CQ78Q4X.js} +1 -1
- package/dist/assets/{useDeviceId-3gpQ0Gy5.js → useDeviceId-gFU5q5zf.js} +1 -1
- package/dist/assets/{useEmailConnectResultRefresh-gAkg_sP_.js → useEmailConnectResultRefresh-BkOsYAaQ.js} +1 -1
- package/dist/assets/{useInitialThreadRequest-BMzDNvJ9.js → useInitialThreadRequest-C3Htu0iZ.js} +1 -1
- package/dist/assets/{useTaskManagerAccess-BcE_8o_a.js → useTaskManagerAccess-C6qhVozS.js} +1 -1
- package/dist/assets/{useTaskManagerPusherEvents-CtMYtedI.js → useTaskManagerPusherEvents-Da1LpD5U.js} +1 -1
- package/dist/assets/{utils-Bz1KP99q.js → utils-D3rZq_G4.js} +1 -1
- package/dist/assets/{withTransactionSidePanel-Ck4eAlnu.js → withTransactionSidePanel-iXTpLDC6.js} +1 -1
- package/dist/assets/{zeni-epic-state-otDwAjBf.js → zeni-epic-state-95zxmizy.js} +3 -3
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/AddressRoutes-85sg2BTg.js +0 -1
- package/dist/assets/CustomerOnboardingAuthScreen-CyPpyRU1.js +0 -1
- package/dist/assets/InvoicingRoutes-C1J6fKJ-.js +0 -2
- package/dist/assets/NotFoundScreen-SpQh5g9X.js +0 -1
- package/dist/assets/TransactionDetailRoutes-VO4UrCCw.js +0 -1
package/dist/assets/{expenseAutomationHelper-DjpsZY3T.js → expenseAutomationHelper-BzOPc0En.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{UJ as c}from"./zeni-epic-state-
|
|
1
|
+
import{UJ as c}from"./zeni-epic-state-95zxmizy.js";import"./sentry-DZ9rNYfw.js";import{q as d,g as i}from"./core-B-8b0iz9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="c022f259-22b9-44c4-960d-dab1c3893633",e._sentryDebugIdIdentifier="sentry-dbid-c022f259-22b9-44c4-960d-dab1c3893633")}catch{}})();const a=/^(0?[1-9]|1[0-2])-\d{4}$/;function l(e){if(e!=null&&e!=="")return c(e)}function g(e){const{selectedPeriod:n,selectedTab:s,tenantEmailDomain:t}=e,o=l(s);if(t!=null&&t!==""&&o!=null&&(function(r){return r!=null&&a.test(r)})(n))return`/${t}/month_end_close_checks/review/${o}/${n}`}const y=()=>{const e=u();return d("/:tenantEmailDomain/month_end_close_checks/review/:selectedTab/:selectedPeriod/*")!=null||e},u=()=>i().state?.message==="expenseAutomation";export{l as a,g as m,y as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a1 as n}from"./index-
|
|
1
|
+
import{a1 as n}from"./index-Bg2deWZq.js";import"./mui-C33Oegsm.js";import"./sentry-DZ9rNYfw.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]="227db5e8-bf87-42bb-b403-87b09e52f245",e._sentryDebugIdIdentifier="sentry-dbid-227db5e8-bf87-42bb-b403-87b09e52f245")}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-
|
|
2
|
-
import{_ as u}from"./zeni-epic-state-
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/emptyVideoElement-Dch9mr3K.js","assets/sentry-DZ9rNYfw.js","assets/index-b65XjN06.js","assets/react-Ls8UDl46.js","assets/react-BAH__mX9.js","assets/react-B7GqIpoL.js","assets/react-CIEK2Ei-.js","assets/react-DT9gMpbF.js","assets/react-Dqb011PB.js","assets/Preview-Co3i0Xrb.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as u}from"./zeni-epic-state-95zxmizy.js";import{R as m,a as l}from"./sentry-DZ9rNYfw.js";import"./core-B-8b0iz9.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]="04320b5c-ebfc-4ac3-868e-08b65dab5160",e._sentryDebugIdIdentifier="sentry-dbid-04320b5c-ebfc-4ac3-868e-08b65dab5160")}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-Dch9mr3K.js")),__vite__mapDeps([0,1]))))},{key:"dash",name:"dash.js",canPlay:s.dash,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./emptyVideoElement-Dch9mr3K.js")),__vite__mapDeps([0,1]))))},{key:"mux",name:"Mux",canPlay:s.mux,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./index-b65XjN06.js")),__vite__mapDeps([2,1]))))},{key:"youtube",name:"YouTube",canPlay:s.youtube,player:l.lazy((()=>u((()=>import("./react-Ls8UDl46.js")),__vite__mapDeps([3,1]))))},{key:"vimeo",name:"Vimeo",canPlay:s.vimeo,player:l.lazy((()=>u((()=>import("./react-BAH__mX9.js")),__vite__mapDeps([4,1]))))},{key:"wistia",name:"Wistia",canPlay:s.wistia,canEnablePIP:()=>!0,player:l.lazy((()=>u((()=>import("./react-B7GqIpoL.js")),__vite__mapDeps([5,1]))))},{key:"spotify",name:"Spotify",canPlay:s.spotify,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-CIEK2Ei-.js")),__vite__mapDeps([6,1]))))},{key:"twitch",name:"Twitch",canPlay:s.twitch,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-DT9gMpbF.js")),__vite__mapDeps([7,1]))))},{key:"tiktok",name:"TikTok",canPlay:s.tiktok,canEnablePIP:()=>!1,player:l.lazy((()=>u((()=>import("./react-Dqb011PB.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,v,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{(v=(c=t.current).exitPictureInPicture)==null||v.call(c),(h=document.exitPictureInPicture)==null||h.call(document)}catch{}}}),[o]),!y)return null;const b={},E=["onReady","onStart"];for(const r in e)r.startsWith("on")&&!E.includes(r)&&(b[r]=e[r]);return m.createElement(y,{...b,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-Co3i0Xrb.js")),__vite__mapDeps([9,1])))),_=[],V=({children:e})=>e;var re=((e,a)=>{const n=m.forwardRef(((o,y)=>{const t={...K,...o},{src:p,slot:b,className:E,style:r,width:i,height:c,fallback:v,wrapper:h}=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=h??V,U=v===!1?V:l.Suspense;return m.createElement(C,{slot:b,className:E,style:{width:i,height:c,...r}},m.createElement(U,{fallback:v},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[..._,...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:b,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=>{_.push(o)},n.removeCustomPlayers=()=>{_.length=0},n.canPlay=o=>{if(o){for(const y of[..._,...e])if(y.canPlay(o))return!0}return!1},n.canEnablePIP=o=>{var y;if(o){for(const t of[..._,...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};
|