@clickview/exchange 0.43.1-dev.0 → 0.43.1-dev.1
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/bundles.json +4 -0
- package/dist/css/Actions-BPdg7JW4.css +1 -0
- package/dist/css/AddToLibraryView-BBV1d-ZI.css +1 -0
- package/dist/css/Caret-C2R4QydJ.css +1 -0
- package/dist/css/ExchangeSearchBar-DL_jCfRl.css +1 -0
- package/dist/css/ExchangeSearchResultsView-fap4f8w8.css +1 -0
- package/dist/css/FormField-CY0yvCW4.css +1 -0
- package/dist/css/GiveFeedbackView-CifDVjr-.css +1 -0
- package/dist/css/IconCircle-jbMisi9r.css +1 -0
- package/dist/css/LazyImage-CC5F5C8O.css +1 -0
- package/dist/css/LinkifyHelper-DI4l_5OJ.css +1 -0
- package/dist/css/PillTabSelector-DlOtoSz0.css +1 -0
- package/dist/css/PreviewVideoDetails-CLoNhAp2.css +1 -0
- package/dist/css/ProgramType-B57G3PZD.css +1 -0
- package/dist/css/RestrictionHelper-BiRz4h1c.css +1 -0
- package/dist/css/SearchFilters-DKLFGlDI.css +1 -0
- package/dist/css/TagItem-DD13UQOa.css +1 -0
- package/dist/css/TvAdFreeBadge-DnhNnDZN.css +1 -0
- package/dist/css/TvAddView-fs02hBfZ.css +1 -0
- package/dist/css/TvAlreadyAddedView-Dkh6sNpi.css +1 -0
- package/dist/css/TvBroadcastContentView-CDiJwtuL.css +1 -0
- package/dist/css/TvChannelBadge-BDOTXlob.css +1 -0
- package/dist/css/TvChannelView-DRlDmMhN.css +1 -0
- package/dist/css/TvChannelsView-w4TLT4f5.css +1 -0
- package/dist/css/TvProgramTimeBadge-zFa1fH-z.css +1 -0
- package/dist/css/TvProgramsView-Bt3pBBLn.css +1 -0
- package/dist/css/TvSearchBar-Ci6HCTb5.css +1 -0
- package/dist/css/TvSearchResultsView-DGyCCqtO.css +1 -0
- package/dist/css/UseFetchAll-BIeUeS4h.css +1 -0
- package/dist/css/UseGetMediaQueryString-CrSv-tYo.css +1 -0
- package/dist/css/UseSelectAllPages-C7XoyEPr.css +1 -0
- package/dist/css/VideoList-DJ07F3NX.css +1 -0
- package/dist/{exchange.css → css/app-B9KW71K5.css} +1 -1
- package/dist/css/useBreakpoints-CCsCPLDG.css +1 -0
- package/dist/en.json +1 -1
- package/dist/scripts/Actions-DU6xcKNt.js +1 -0
- package/dist/scripts/AddToLibraryView-BbpiFnD1.js +1 -0
- package/dist/scripts/Badge-kRGAgSgq.js +1 -0
- package/dist/scripts/BadgeListContainer-B-qdl_Qj.js +1 -0
- package/dist/scripts/ButtonGroup-Pz8uSjml.js +1 -0
- package/dist/scripts/Caret-BRrDlj-2.js +1 -0
- package/dist/scripts/ChevronDownSvg-PWL_4rOb.js +1 -0
- package/dist/scripts/ClassNameHelper-C1RD6ZYU.js +1 -0
- package/dist/scripts/CloseSvg-MoBnROf1.js +1 -0
- package/dist/scripts/CurationStatus-BlDVEZsX.js +1 -0
- package/dist/scripts/DevErrorView-CK5-Rxy-.js +1 -0
- package/dist/scripts/DialogView-im7-qx9i.js +1 -0
- package/dist/scripts/DownloadHelper-tNp3R89-.js +1 -0
- package/dist/scripts/DownloadVideoView-Dcsxo22U.js +1 -0
- package/dist/scripts/DragDropMoveWrapper-Dsd-8vE3.js +1 -0
- package/dist/scripts/ExchangeAddView-CwHPqfoQ.js +1 -0
- package/dist/scripts/ExchangeFolderView-BpMNAmMQ.js +1 -0
- package/dist/scripts/ExchangeMostRecentView-DQH8FDqI.js +1 -0
- package/dist/scripts/ExchangeNotFoundView-BxjMr4v3.js +1 -0
- package/dist/scripts/ExchangePreviewView-Od2pV8fa.js +1 -0
- package/dist/scripts/ExchangeRequests-CaMKspLi.js +1 -0
- package/dist/scripts/ExchangeSearchBar-BetVWbNL.js +1 -0
- package/dist/scripts/ExchangeSearchResultsView-GbfK9RDh.js +2 -0
- package/dist/scripts/ExchangeSeriesView-b1ayep0S.js +1 -0
- package/dist/scripts/ExchangeSuggestEditView-3CoGs1xA.js +1 -0
- package/dist/scripts/ExchangeTabs-CQC3f-18.js +1 -0
- package/dist/scripts/ExchangeUtils-BXtQ6ui-.js +1 -0
- package/dist/scripts/ExchangeView-DCrYAO5x.js +1 -0
- package/dist/scripts/FormButtons-Bgi1UFwH.js +1 -0
- package/dist/scripts/FormFeedback-CSSo249E.js +1 -0
- package/dist/scripts/FormField-BefWo_kh.js +5 -0
- package/dist/scripts/GiveFeedbackView-C05VDJBO.js +7 -0
- package/dist/scripts/GroupSvg-CF5_JUEf.js +1 -0
- package/dist/scripts/HardCoded-NS2B_WZd.js +1 -0
- package/dist/scripts/HttpErrorHandlers-CXQ82gVO.js +1 -0
- package/dist/scripts/IconCircle-Bl2iLV5f.js +1 -0
- package/dist/scripts/InstanceRegion-CJ3oIQlG.js +1 -0
- package/dist/scripts/LazyImage-BuPwkT8t.js +1 -0
- package/dist/scripts/LibraryRequests-CIFsh_TC.js +1 -0
- package/dist/scripts/LinkifyHelper-DXhtCX0t.js +4 -0
- package/dist/scripts/MasterTypeHelper-C89Dh71u.js +1 -0
- package/dist/scripts/MediaQueries-_sYSSSUN.js +1 -0
- package/dist/scripts/PartialLoadingHelper-jX9dOBvb.js +1 -0
- package/dist/scripts/PermissionFilterOption-pkzD5BEm.js +1 -0
- package/dist/scripts/PillTabSelector-0Eg1sgXj.js +14 -0
- package/dist/scripts/PreviewVideoDetails-DYcfSG9C.js +362 -0
- package/dist/scripts/ProgramType-ClR23Av6.js +1 -0
- package/dist/scripts/RatingRequests-DE77YS3s.js +1 -0
- package/dist/scripts/RedirectView-Bd2ocWHW.js +1 -0
- package/dist/scripts/RestrictionHelper-FFW66EYt.js +1 -0
- package/dist/scripts/ScrollHelper-DdBBQJML.js +1 -0
- package/dist/scripts/SearchFilters-FlVReO0V.js +1 -0
- package/dist/scripts/SearchSvg-BVG6NbDK.js +1 -0
- package/dist/scripts/SharedSearchHelper-OTwt6mVX.js +1 -0
- package/dist/scripts/TagItem-D-T5Jgxc.js +1 -0
- package/dist/scripts/TvAdFreeBadge-CK6vQXKI.js +1 -0
- package/dist/scripts/TvAdFreeRequestView-DI72pb_f.js +1 -0
- package/dist/scripts/TvAddView-B1D9QlK5.js +1 -0
- package/dist/scripts/TvAlreadyAddedView-DFqGZwQO.js +1 -0
- package/dist/scripts/TvBroadcastContentView-BdIK-pK2.js +1 -0
- package/dist/scripts/TvChannelBadge-pBwnbFcb.js +1 -0
- package/dist/scripts/TvChannelView-fMD7YYjb.js +1 -0
- package/dist/scripts/TvChannelsView-eH68B1en.js +1 -0
- package/dist/scripts/TvGuideView-CTuQRLzy.js +1 -0
- package/dist/scripts/TvHomeView-B_wgL0pd.js +1 -0
- package/dist/scripts/TvPreviewView-DG7HOmV0.js +1 -0
- package/dist/scripts/TvProgramTimeBadge-spEPk9Ci.js +1 -0
- package/dist/scripts/TvProgramsView-CIGHzdBW.js +1 -0
- package/dist/scripts/TvRadioDownloadView-BBjF31yx.js +1 -0
- package/dist/scripts/TvRequestProgramView-D4tAgJGb.js +1 -0
- package/dist/scripts/TvRequests-DGpJhsk0.js +1 -0
- package/dist/scripts/TvSearchBar-DeJpQCLg.js +1 -0
- package/dist/scripts/TvSearchResultsView-C2maqf2-.js +1 -0
- package/dist/scripts/TvTabs-CwSo_jRg.js +1 -0
- package/dist/scripts/TypeHelper-B668bf5B.js +1 -0
- package/dist/scripts/UseAlerts-CvkkojNb.js +1 -0
- package/dist/scripts/UseFetchAll-gFCX5FgS.js +1 -0
- package/dist/scripts/UseGetMediaQueryString-CtMZxiJN.js +1 -0
- package/dist/scripts/UseHandleDialogError-DyBOBdQw.js +1 -0
- package/dist/scripts/UseHandleObjectError-BX2Mxo9Q.js +1 -0
- package/dist/scripts/UseHover-CvNCFvZV.js +1 -0
- package/dist/scripts/UseSelectAllPages-lGahuUoo.js +1 -0
- package/dist/scripts/VideoHelper-CCZMG1XL.js +1 -0
- package/dist/scripts/VideoList-DqqHxoXh.js +49 -0
- package/dist/scripts/VideoRequests-vwphYsR4.js +1 -0
- package/dist/scripts/VideoSortSelect-DVdIHmhA.js +1 -0
- package/dist/scripts/VisibleOnSvg-BuD3Reup.js +1 -0
- package/dist/scripts/app-Lrh8TPTe.js +147 -0
- package/dist/scripts/getRegionInfo-BBAErHX7.js +1 -0
- package/dist/scripts/index-C9eYzTFT.js +1 -0
- package/dist/scripts/toLocalTime-pPGBAyPL.js +1 -0
- package/dist/scripts/useBreakpoints-BALX55hP.js +1 -0
- package/dist/scripts/useGetExchangeActions-BtGC0q85.js +1 -0
- package/dist/scripts/useGetTvActions-Cx_DXvlg.js +1 -0
- package/dist/scripts/useHandleRegionError-CaGlG48W.js +1 -0
- package/dist/scripts/usePreviewContext-B5fK7PxW.js +1 -0
- package/dist/scripts/useSelectedRegion-h9Rl12Z2.js +1 -0
- package/dist/scripts/useVerifiedEmailRequiredErrorHandler-BON6gc7P.js +1 -0
- package/package.json +1 -1
- package/vite-bundle-manifest.ts +41 -0
- package/vite.config.ts +22 -7
- package/dist/Actions-BtMRNMuv.cjs +0 -1
- package/dist/Actions-DfeKDy3k.js +0 -178
- package/dist/AddToLibraryView-BoCLtcWV.js +0 -508
- package/dist/AddToLibraryView-MpkcVgoR.cjs +0 -1
- package/dist/Badge-3MW5GacP.cjs +0 -1
- package/dist/Badge-Ddz0Il5v.js +0 -326
- package/dist/BadgeListContainer-CqwUuWKL.js +0 -19
- package/dist/BadgeListContainer-DLrBuDpU.cjs +0 -1
- package/dist/ButtonGroup-C-z2yWvb.cjs +0 -1
- package/dist/ButtonGroup-zaxEq7ZK.js +0 -24
- package/dist/Caret-Cpx0uvJ0.js +0 -36
- package/dist/Caret-Dgjy7YHO.cjs +0 -1
- package/dist/ChevronDownSvg-BI6xUNrZ.cjs +0 -1
- package/dist/ChevronDownSvg-BfijmId7.js +0 -13
- package/dist/ClassNameHelper-aJ0BDnVo.js +0 -29
- package/dist/ClassNameHelper-n4BHW-GR.cjs +0 -1
- package/dist/CloseSvg-2PKjla1T.js +0 -13
- package/dist/CloseSvg-B7rizkGp.cjs +0 -1
- package/dist/CurationStatus-BGjsO3l8.cjs +0 -1
- package/dist/CurationStatus-DZn3C9Qe.js +0 -4
- package/dist/DevErrorView-Bg1Ufy6-.js +0 -79
- package/dist/DevErrorView-CpXfV0V4.cjs +0 -1
- package/dist/DialogView-B5FEh3e8.cjs +0 -1
- package/dist/DialogView-RcNOylD7.js +0 -22
- package/dist/DownloadHelper-ChKHN-Le.cjs +0 -1
- package/dist/DownloadHelper-dL46n0Kq.js +0 -32
- package/dist/DownloadVideoView-CvDFi8HI.cjs +0 -1
- package/dist/DownloadVideoView-HSnwAYLp.js +0 -32
- package/dist/DragDropMoveWrapper-B_dy7ady.cjs +0 -1
- package/dist/DragDropMoveWrapper-TdzJqiqv.js +0 -462
- package/dist/ExchangeAddView-BRLjRe3p.js +0 -63
- package/dist/ExchangeAddView-CWfp5W52.cjs +0 -1
- package/dist/ExchangeFolderView-4ArEcQvn.js +0 -159
- package/dist/ExchangeFolderView-_ldS0uwf.cjs +0 -1
- package/dist/ExchangeMostRecentView-BMAosIXz.js +0 -61
- package/dist/ExchangeMostRecentView-s1iLfclz.cjs +0 -1
- package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +0 -1
- package/dist/ExchangeNotFoundView-Cb-rmQH1.js +0 -7
- package/dist/ExchangePreviewView-hztBChIE.js +0 -82
- package/dist/ExchangePreviewView-kjDv-uqf.cjs +0 -1
- package/dist/ExchangeRequests-B3wRfv5Y.cjs +0 -1
- package/dist/ExchangeRequests-DV7BD3HZ.js +0 -115
- package/dist/ExchangeSearchBar-CNtU_swT.js +0 -32
- package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +0 -1
- package/dist/ExchangeSearchResultsView-CEueb9Li.js +0 -1641
- package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +0 -2
- package/dist/ExchangeSeriesView-BGBgwgMW.cjs +0 -1
- package/dist/ExchangeSeriesView-DMr_mCAH.js +0 -143
- package/dist/ExchangeSuggestEditView-B3P-nGFE.js +0 -307
- package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +0 -1
- package/dist/ExchangeTabs-CrA22PjN.js +0 -46
- package/dist/ExchangeTabs-KgrROs1d.cjs +0 -1
- package/dist/ExchangeUtils-BRDE3b9w.cjs +0 -1
- package/dist/ExchangeUtils-CCCrn5oQ.js +0 -65
- package/dist/ExchangeView-Cui4zZ4D.js +0 -30
- package/dist/ExchangeView-Dql8pHzi.cjs +0 -1
- package/dist/FormButtons-CDOsf9A-.cjs +0 -1
- package/dist/FormButtons-fQkvwYsy.js +0 -20
- package/dist/FormFeedback-5Dd3bMCl.js +0 -7
- package/dist/FormFeedback-BU7vSBqB.cjs +0 -1
- package/dist/FormField-Cb2l2GMO.cjs +0 -5
- package/dist/FormField-DYeERWxm.js +0 -3353
- package/dist/GiveFeedbackView-0tH6h1s3.js +0 -5436
- package/dist/GiveFeedbackView-DirGDc2a.cjs +0 -7
- package/dist/GroupSvg-BmwXO6yT.js +0 -53
- package/dist/GroupSvg-DVAq4iNX.cjs +0 -1
- package/dist/HardCoded-25AFj2sZ.js +0 -51
- package/dist/HardCoded-BbbeCQNt.cjs +0 -1
- package/dist/HttpErrorHandlers-CBhvfsvb.cjs +0 -1
- package/dist/HttpErrorHandlers-DKqNIMOg.js +0 -76
- package/dist/IconCircle-BVHFUBGt.cjs +0 -1
- package/dist/IconCircle-CxFLsbLY.js +0 -26
- package/dist/InstanceRegion-C7aJEkFV.cjs +0 -1
- package/dist/InstanceRegion-DQlzs4EK.js +0 -4
- package/dist/LazyImage-DBQklqeJ.js +0 -163
- package/dist/LazyImage-lv36coda.cjs +0 -1
- package/dist/LibraryRequests-BHAZPSUw.js +0 -186
- package/dist/LibraryRequests-DKCsJHbr.cjs +0 -1
- package/dist/LinkifyHelper-DPHYATPc.js +0 -925
- package/dist/LinkifyHelper-EOfbsqdi.cjs +0 -4
- package/dist/MasterTypeHelper-Y_SDsEUF.cjs +0 -1
- package/dist/MasterTypeHelper-uSKy6GZd.js +0 -16
- package/dist/MediaQueries-9caJ2eG6.js +0 -4
- package/dist/MediaQueries-CE9Kbs0e.cjs +0 -1
- package/dist/PartialLoadingHelper-D42uOdDd.cjs +0 -1
- package/dist/PartialLoadingHelper-DIas6hnM.js +0 -29
- package/dist/PermissionFilterOption-B-QrMVdA.js +0 -4
- package/dist/PermissionFilterOption-BIA__Q_O.cjs +0 -1
- package/dist/PillTabSelector-B5V2rqf0.js +0 -64
- package/dist/PillTabSelector-yR52s5ix.cjs +0 -14
- package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +0 -362
- package/dist/PreviewVideoDetails-DJXB4vV3.js +0 -68337
- package/dist/ProgramType-DHk-SlRZ.cjs +0 -1
- package/dist/ProgramType-FpE5cuZV.js +0 -60
- package/dist/RatingRequests-BNPZAxXm.cjs +0 -1
- package/dist/RatingRequests-Dr3w3-z8.js +0 -11
- package/dist/RedirectView-BK8yU-PU.js +0 -22
- package/dist/RedirectView-OEJhJrvf.cjs +0 -1
- package/dist/RestrictionHelper-BSceJYz-.js +0 -112
- package/dist/RestrictionHelper-C5u_CmoL.cjs +0 -1
- package/dist/ScrollHelper-Dg7bDIH7.js +0 -10
- package/dist/ScrollHelper-ESsjtyv8.cjs +0 -1
- package/dist/SearchFilters-C_yEnumc.js +0 -3046
- package/dist/SearchFilters-D3fLjseM.cjs +0 -1
- package/dist/SearchSvg-BB6oXs1v.js +0 -13
- package/dist/SearchSvg-BU6G1Fs0.cjs +0 -1
- package/dist/SharedSearchHelper-BuVD-GvT.js +0 -159
- package/dist/SharedSearchHelper-D5GJJwW7.cjs +0 -1
- package/dist/TagItem-BBc3HmnI.cjs +0 -1
- package/dist/TagItem-BFnSikAz.js +0 -1125
- package/dist/TvAdFreeBadge-BDFn2ujd.js +0 -11
- package/dist/TvAdFreeBadge-X2iSf6B3.cjs +0 -1
- package/dist/TvAdFreeRequestView-CEAvozfO.js +0 -46
- package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +0 -1
- package/dist/TvAddView-Bv12wfX7.js +0 -276
- package/dist/TvAddView-CA7Yappn.cjs +0 -1
- package/dist/TvAlreadyAddedView-C240rLQ7.js +0 -56
- package/dist/TvAlreadyAddedView-X4KElzJA.cjs +0 -1
- package/dist/TvBroadcastContentView-DizJHvTQ.js +0 -52
- package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +0 -1
- package/dist/TvChannelBadge-B4a1wkQI.cjs +0 -1
- package/dist/TvChannelBadge-Doqs12s9.js +0 -11
- package/dist/TvChannelView-CSn0VleL.js +0 -177
- package/dist/TvChannelView-Ds_F3Mmp.cjs +0 -1
- package/dist/TvChannelsView-CM_T5E3j.js +0 -171
- package/dist/TvChannelsView-r3NO_BRv.cjs +0 -1
- package/dist/TvGuideView-B8vS-8lS.cjs +0 -1
- package/dist/TvGuideView-BLlQJiZ3.js +0 -54
- package/dist/TvHomeView-C_h4DZw_.cjs +0 -1
- package/dist/TvHomeView-CbNg8AyI.js +0 -15
- package/dist/TvPreviewView-DhXD3H__.js +0 -114
- package/dist/TvPreviewView-hGq7_Bzs.cjs +0 -1
- package/dist/TvProgramTimeBadge-BtQKNLz2.js +0 -18
- package/dist/TvProgramTimeBadge-DPJu73xG.cjs +0 -1
- package/dist/TvProgramsView-Ba9VPnEh.cjs +0 -1
- package/dist/TvProgramsView-DO4WnPJx.js +0 -223
- package/dist/TvRadioDownloadView-ByABG_YW.js +0 -41
- package/dist/TvRadioDownloadView-CitV60kZ.cjs +0 -1
- package/dist/TvRequestProgramView-CYc5nAEt.cjs +0 -1
- package/dist/TvRequestProgramView-Dm5Bra4d.js +0 -267
- package/dist/TvRequests-Bcy68aT5.js +0 -227
- package/dist/TvRequests-l_Xv-rcr.cjs +0 -1
- package/dist/TvSearchBar-5J6420z2.cjs +0 -1
- package/dist/TvSearchBar-KZqcg7G0.js +0 -95
- package/dist/TvSearchResultsView-BTONTtMg.cjs +0 -1
- package/dist/TvSearchResultsView-CMsq8ehS.js +0 -212
- package/dist/TvTabs-CrQVKuod.js +0 -88
- package/dist/TvTabs-JuCI2Ea7.cjs +0 -1
- package/dist/TypeHelper-Dt2Y9Wc4.js +0 -14
- package/dist/TypeHelper-Z2rqPzup.cjs +0 -1
- package/dist/UseAlerts-B2BbQeN3.js +0 -39
- package/dist/UseAlerts-pIg83NsO.cjs +0 -1
- package/dist/UseFetchAll-BaDVJFdj.cjs +0 -1
- package/dist/UseFetchAll-DYGA8s5a.js +0 -147
- package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +0 -1
- package/dist/UseGetMediaQueryString-Dc_jP0rr.js +0 -226
- package/dist/UseHandleDialogError-BJHsOnKn.js +0 -9
- package/dist/UseHandleDialogError-PbyWsVaT.cjs +0 -1
- package/dist/UseHandleObjectError-CBFN1Ill.cjs +0 -1
- package/dist/UseHandleObjectError-DAhDbPEo.js +0 -16
- package/dist/UseHover-CLOLtbUV.cjs +0 -1
- package/dist/UseHover-Cc_d5rRf.js +0 -85
- package/dist/UseSelectAllPages-04737Rdu.cjs +0 -1
- package/dist/UseSelectAllPages-Cnk3MEAt.js +0 -149
- package/dist/VideoHelper-3AKe5Jyy.js +0 -477
- package/dist/VideoHelper-BQ7rWUw0.cjs +0 -1
- package/dist/VideoList-SNG1hmoL.cjs +0 -49
- package/dist/VideoList-s7lvSqSs.js +0 -2622
- package/dist/VideoRequests-CpDXl7E_.cjs +0 -1
- package/dist/VideoRequests-DlUeYLjl.js +0 -225
- package/dist/VideoSortSelect-3JfrvPfj.cjs +0 -1
- package/dist/VideoSortSelect-DS9Uvc-S.js +0 -116
- package/dist/VisibleOnSvg-BisjF586.cjs +0 -1
- package/dist/VisibleOnSvg-WDCQPPvV.js +0 -33
- package/dist/app-2U039aX_.js +0 -67680
- package/dist/app-DcIbciDa.cjs +0 -454
- package/dist/app.js +0 -1
- package/dist/getRegionInfo-B_h_jjAy.js +0 -31
- package/dist/getRegionInfo-Bs5JKG7h.cjs +0 -1
- package/dist/index-CGkY5YVS.cjs +0 -1
- package/dist/index-DUgR-v-j.js +0 -885
- package/dist/toLocalTime-Bt8Uy4Kq.js +0 -15
- package/dist/toLocalTime-DF9SIfIt.cjs +0 -1
- package/dist/useBreakpoints-37V489ap.js +0 -66
- package/dist/useBreakpoints-B-bcgx-L.cjs +0 -1
- package/dist/useGetExchangeActions-BwXrBSH-.cjs +0 -1
- package/dist/useGetExchangeActions-C8Y1FNSl.js +0 -176
- package/dist/useGetTvActions-CmEBdHbw.cjs +0 -1
- package/dist/useGetTvActions-DENrO3wZ.js +0 -54
- package/dist/useHandleRegionError-BNRrs6y8.cjs +0 -1
- package/dist/useHandleRegionError-BNxhNPKP.js +0 -10
- package/dist/usePreviewContext--ihfEi4P.js +0 -14
- package/dist/usePreviewContext-DjpFhe3I.cjs +0 -1
- package/dist/useSelectedRegion-7_2s4QQF.js +0 -16
- package/dist/useSelectedRegion-D3Xsu2Ut.cjs +0 -1
- package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +0 -1
- package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +0 -57
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ay as t } from "./app-2U039aX_.js";
|
|
2
|
-
const i = {
|
|
3
|
-
"AUS Eastern Standard Time": "Australia/Sydney",
|
|
4
|
-
"W. Australia Standard Time": "Australia/Perth",
|
|
5
|
-
"E. Australia Standard Time": "Australia/Brisbane",
|
|
6
|
-
"Cen. Australia Standard Time": "Australia/Adelaide",
|
|
7
|
-
"New Zealand Standard Time": "Pacific/Auckland",
|
|
8
|
-
"GMT Standard Time": "Europe/London"
|
|
9
|
-
};
|
|
10
|
-
function d(a, e) {
|
|
11
|
-
return t.getUtcTimeByTimezone(a, "YYYY-MM-DDTHH:mm:ss", i[e]);
|
|
12
|
-
}
|
|
13
|
-
export {
|
|
14
|
-
d as t
|
|
15
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./app-DcIbciDa.cjs"),i={"AUS Eastern Standard Time":"Australia/Sydney","W. Australia Standard Time":"Australia/Perth","E. Australia Standard Time":"Australia/Brisbane","Cen. Australia Standard Time":"Australia/Adelaide","New Zealand Standard Time":"Pacific/Auckland","GMT Standard Time":"Europe/London"};function r(a,e){return t.DateHelper.getUtcTimeByTimezone(a,"YYYY-MM-DDTHH:mm:ss",i[e])}exports.toLocalTime=r;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { X as b, ar as h, j as m, ao as k, ap as s, R as y, bp as d } from "./app-2U039aX_.js";
|
|
2
|
-
import { L as C } from "./LazyImage-DBQklqeJ.js";
|
|
3
|
-
const x = "_image_1himm_1", N = "_thumbnail_1himm_13", T = "_tallPoster_1himm_16", L = "_cover_1himm_19", v = "_banner_1himm_22", I = "_poster_1himm_25", j = "_pdf_1himm_28", P = "_link_1himm_31", i = {
|
|
4
|
-
image: x,
|
|
5
|
-
thumbnail: N,
|
|
6
|
-
tallPoster: T,
|
|
7
|
-
cover: L,
|
|
8
|
-
banner: v,
|
|
9
|
-
poster: I,
|
|
10
|
-
pdf: j,
|
|
11
|
-
link: P
|
|
12
|
-
};
|
|
13
|
-
function p(e) {
|
|
14
|
-
let t = i.image, a = "";
|
|
15
|
-
return e.imageType === s.Thumbnails && (a = `thumbnail ${i.thumbnail}`), e.imageType === s.TallPosters && (a = i.tallPoster), e.imageType === s.Covers && (a = i.cover), e.imageType === s.Banners && (a = i.banner), e.imageType === s.Posters && (a = i.poster), e.imageType === s.Pdf && (a = i.pdf), e.imageType === s.Link && (a = i.link), a && (t += ` ${a}`), e.className && (t += ` ${e.className}`), t;
|
|
16
|
-
}
|
|
17
|
-
function O(e) {
|
|
18
|
-
const {
|
|
19
|
-
data: t,
|
|
20
|
-
imageOptions: a,
|
|
21
|
-
appLink: r,
|
|
22
|
-
preload: c,
|
|
23
|
-
preventLoad: o,
|
|
24
|
-
analyticsOptions: g,
|
|
25
|
-
analyticsData: _,
|
|
26
|
-
imageClassName: f,
|
|
27
|
-
alt: u
|
|
28
|
-
} = e;
|
|
29
|
-
let n = "";
|
|
30
|
-
typeof t == "string" ? n = t : b.isObject(t) && (n = t.url);
|
|
31
|
-
const l = n && a ? h.createUrl(n, a) : n;
|
|
32
|
-
return /* @__PURE__ */ m.jsx("div", { className: p(e), style: e.imageStyle, children: /* @__PURE__ */ m.jsxs(
|
|
33
|
-
k,
|
|
34
|
-
{
|
|
35
|
-
appLink: r,
|
|
36
|
-
analyticsData: _,
|
|
37
|
-
analyticsOptions: g,
|
|
38
|
-
onClick: e.onClick,
|
|
39
|
-
preventFocus: e.preventFocus,
|
|
40
|
-
className: e.appLinkClassName,
|
|
41
|
-
children: [
|
|
42
|
-
e.children,
|
|
43
|
-
l && /* @__PURE__ */ m.jsx(
|
|
44
|
-
C,
|
|
45
|
-
{
|
|
46
|
-
src: l,
|
|
47
|
-
alt: u,
|
|
48
|
-
forceLoad: c,
|
|
49
|
-
preventLoad: o,
|
|
50
|
-
extraClasses: f,
|
|
51
|
-
errorFallbackImageSrc: e.errorFallbackImageSrc,
|
|
52
|
-
errorFallbackImageClassName: e.errorFallbackImageClassName,
|
|
53
|
-
onLoad: e.onLoad
|
|
54
|
-
}
|
|
55
|
-
)
|
|
56
|
-
]
|
|
57
|
-
}
|
|
58
|
-
) });
|
|
59
|
-
}
|
|
60
|
-
function R() {
|
|
61
|
-
return y.useContext(d);
|
|
62
|
-
}
|
|
63
|
-
export {
|
|
64
|
-
O as B,
|
|
65
|
-
R as u
|
|
66
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const a=require("./app-DcIbciDa.cjs"),y=require("./LazyImage-lv36coda.cjs"),f="_image_1himm_1",h="_thumbnail_1himm_13",k="_tallPoster_1himm_16",I="_cover_1himm_19",T="_banner_1himm_22",b="_poster_1himm_25",d="_pdf_1himm_28",x="_link_1himm_31",n={image:f,thumbnail:h,tallPoster:k,cover:I,banner:T,poster:b,pdf:d,link:x};function p(e){let i=n.image,t="";return e.imageType===a.ImageType.Thumbnails&&(t=`thumbnail ${n.thumbnail}`),e.imageType===a.ImageType.TallPosters&&(t=n.tallPoster),e.imageType===a.ImageType.Covers&&(t=n.cover),e.imageType===a.ImageType.Banners&&(t=n.banner),e.imageType===a.ImageType.Posters&&(t=n.poster),e.imageType===a.ImageType.Pdf&&(t=n.pdf),e.imageType===a.ImageType.Link&&(t=n.link),t&&(i+=` ${t}`),e.className&&(i+=` ${e.className}`),i}function C(e){const{data:i,imageOptions:t,appLink:l,preload:r,preventLoad:c,analyticsOptions:o,analyticsData:g,imageClassName:u,alt:_}=e;let s="";typeof i=="string"?s=i:a.ObjectHelper.isObject(i)&&(s=i.url);const m=s&&t?a.ImageHelper.createUrl(s,t):s;return a.jsxRuntimeExports.jsx("div",{className:p(e),style:e.imageStyle,children:a.jsxRuntimeExports.jsxs(a.AppLink,{appLink:l,analyticsData:g,analyticsOptions:o,onClick:e.onClick,preventFocus:e.preventFocus,className:e.appLinkClassName,children:[e.children,m&&a.jsxRuntimeExports.jsx(y.LazyImage,{src:m,alt:_,forceLoad:r,preventLoad:c,extraClasses:u,errorFallbackImageSrc:e.errorFallbackImageSrc,errorFallbackImageClassName:e.errorFallbackImageClassName,onLoad:e.onLoad})]})})}function N(){return a.React.useContext(a.BreakpointsContext)}exports.BaseImage=C;exports.useBreakpoints=N;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./app-DcIbciDa.cjs"),b=require("./LibraryRequests-DKCsJHbr.cjs"),m=require("./VideoHelper-BQ7rWUw0.cjs"),P=require("./BadgeListContainer-DLrBuDpU.cjs");var C=(t=>(t.Developer="Curator Devs",t.Content="Content",t.Curator="Curators",t.Support="Support",t.SalesSupport="Sales Support",t.GraphicDesigner="Graphic Designers",t.MetadataEditor="Metadata Editors",t.ResourcingManager="Resourcing Managers",t.SeniorContentManager="Senior Content Manager",t.Marketing="Marketing",t.Sales="Sales Representatives",t.StreamableCurator="Streamable Curator",t.SupportExtraPermission="Support - Extra Permissions",t.SeoManager="SEO Manager",t.ContentReviewer="Content Reviewer",t))(C||{});const T="shared.hooks",L=e.LanguageService.encloseNamespace(T);function U(t,o,s,p){const r=e.UrlHelper.safeUrlConcat(t,"manage"),c=e.UrlHelper.safeUrlConcat(t,"exchange"),n=(i,l,y)=>e.UrlHelper.safeUrlConcat(i,`${l}/${y}`);switch(o){case e.MasterType.Subject:return e.UrlHelper.safeUrlConcat(r,`subjects/presentations/${p}/classifications/${s}/edit`);case e.MasterType.Video:return n(r,"videos",s);case e.MasterType.Playlist:return n(r,"playlists",s);case e.MasterType.Series:return n(r,"series",s);case e.MasterType.Company:return n(r,"companies",s);case e.MasterType.Interactive:return n(r,"interactives",s);case e.MasterType.Clip:return n(r,"clips",s);case e.MasterType.Category:return n(c,"categories",s)}}function V(){return L("openInCurationStudio")}function w(){var c,n;const t=e.useBasicFetch(e.UserRequests.currentUser()),{data:o}=e.useBasicFetch(((c=t.data)==null?void 0:c.id)&&e.UserRequests.groups((n=t.data)==null?void 0:n.id)),s=e.useBasicFetch(e.ConfigRequests.config()),p=[C.Curator,C.Content,C.Developer];function r(){return p.some(i=>o==null?void 0:o.data.find(l=>l.name===i))}return{openInCurationStudioLabel:V(),isUserCurator:r(),getOpenInCurationStudioLink:(i,l,y)=>{var a;return U((a=s.data)==null?void 0:a.curatorUrl,i,l,y)}}}var E=(t=>(t[t.PlayPage=0]="PlayPage",t))(E||{});function M(t){const o=e.useGetResponseFunc(),s=e.useGetFetch();function p(n){return t.type!==0?null:m.VideoHelper.getVideoRequest(n.id,n.typeId,t.shareId)}function r(n){const i=p(n);o(i.key).shouldFetch&&s(i)}function c(n){const i=p(n);return o(i.key).hasCompleted}return{hydrate:r,isHydrated:c}}const I="exchange.exchangeHooks",d=e.LanguageService.encloseNamespace(I),R={lazyPlaceholder:!0};function D(t){const{hasPermissions:o}=e.usePermissions(),{isUserCurator:s,openInCurationStudioLabel:p,getOpenInCurationStudioLink:r}=w(),c=e.useBasicFetch(e.ConfigRequests.config()),n=e.useBasicFetch(o(e.PermissionName.ViewLibraries)&&b.LibraryRequests.libraryRequestLibraries()),{hydrate:i,isHydrated:l}=M({type:E.PlayPage});function y(a){var S,A,k;const u=t==="preview",h={id:a.id,name:a.name},g=u?e.LocationContext.VideoItemPreview:e.LocationContext.VideoListItem,f=[{order:10,label:u?d("openInClickView"):"",svg:e.NewWindowSvg,tooltip:u?"":d("openInClickView"),className:u?"btn btn-dark me-2":"",button:!0,href:c.data&&e.UrlHelper$1.safeUrlConcat(c.data.liteUrl,`/videos/${a.id}`),analyticsData:h,analyticsOptions:{actionType:e.UserAction.Click,entity:e.EntityType.Video,descriptor:e.VideoActionDescriptor.OpenInClickView,location:g,workflowPhase:e.WorkflowPhase.Start}},{order:20,label:u?d("addVideo"):null,svg:u?void 0:P.AddVideoSvg,tooltip:u?"":d("addVideo"),button:!u,appLink:{application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.ADD,args:[a.id]},analyticsData:h,analyticsOptions:{actionType:e.UserAction.Click,entity:e.EntityType.Video,descriptor:e.VideoActionDescriptor.AddToWorkspace,location:g,workflowPhase:e.WorkflowPhase.Start}},{order:30,label:d("suggest"),className:"",appLink:{application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.SUGGEST_EDIT,args:[a.id],params:{location:g}},analyticsData:h,analyticsOptions:{actionType:e.UserAction.Click,entity:e.EntityType.Video,descriptor:e.VideoActionDescriptor.SuggestEdit,location:g,workflowPhase:e.WorkflowPhase.Start}}];return l(a)?((S=a._canAddToLibrary)!=null&&S.value&&((A=n.data)!=null&&A.length)&&f.push({order:25,label:d("addToLibrary"),className:"",appLink:{application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.ADD_TO_LIBRARY,args:[a.id]},analyticsData:h,analyticsOptions:{actionType:e.UserAction.Create,entity:e.EntityType.LibraryRequest,workflowPhase:e.WorkflowPhase.Start,location:g}}),(k=a._canDownload)!=null&&k.value&&f.push({order:40,label:d("download"),className:"",appLink:{application:e.AppChannels.EXCHANGE,action:e.Actions.Exchange.DOWNLOAD_VIDEO,args:[a.id]},analyticsData:h,analyticsOptions:{actionType:e.UserAction.Download,entity:e.EntityType.Video,workflowPhase:e.WorkflowPhase.Start,location:g}}),s&&f.push({order:50,label:p,openInNewTab:!0,href:r(e.MasterType.Video,a.id)}),f):[...f,R]}return{getVideoActions:y,fetchMoreActions:a=>i(a)}}exports.useCurationStudio=w;exports.useGetExchangeActions=D;
|
|
@@ -1,176 +0,0 @@
|
|
|
1
|
-
import { a1 as b, a3 as O, aA as D, U as k, M as l, L as R, aE as T, ah as M, n as x, o as v, ab as U, aa as S, aF as P, ac as m, ad as C, aG as H, aH as q, a as w, b as E } from "./app-2U039aX_.js";
|
|
2
|
-
import { L as _ } from "./LibraryRequests-BHAZPSUw.js";
|
|
3
|
-
import { V as $ } from "./VideoHelper-3AKe5Jyy.js";
|
|
4
|
-
import { A as F } from "./BadgeListContainer-CqwUuWKL.js";
|
|
5
|
-
var L = /* @__PURE__ */ ((e) => (e.Developer = "Curator Devs", e.Content = "Content", e.Curator = "Curators", e.Support = "Support", e.SalesSupport = "Sales Support", e.GraphicDesigner = "Graphic Designers", e.MetadataEditor = "Metadata Editors", e.ResourcingManager = "Resourcing Managers", e.SeniorContentManager = "Senior Content Manager", e.Marketing = "Marketing", e.Sales = "Sales Representatives", e.StreamableCurator = "Streamable Curator", e.SupportExtraPermission = "Support - Extra Permissions", e.SeoManager = "SEO Manager", e.ContentReviewer = "Content Reviewer", e))(L || {});
|
|
6
|
-
const W = "shared.hooks", X = R.encloseNamespace(W);
|
|
7
|
-
function j(e, i, n, p) {
|
|
8
|
-
const s = k.safeUrlConcat(e, "manage"), r = k.safeUrlConcat(e, "exchange"), a = (o, c, h) => k.safeUrlConcat(o, `${c}/${h}`);
|
|
9
|
-
switch (i) {
|
|
10
|
-
case l.Subject:
|
|
11
|
-
return k.safeUrlConcat(s, `subjects/presentations/${p}/classifications/${n}/edit`);
|
|
12
|
-
case l.Video:
|
|
13
|
-
return a(s, "videos", n);
|
|
14
|
-
case l.Playlist:
|
|
15
|
-
return a(s, "playlists", n);
|
|
16
|
-
case l.Series:
|
|
17
|
-
return a(s, "series", n);
|
|
18
|
-
case l.Company:
|
|
19
|
-
return a(s, "companies", n);
|
|
20
|
-
case l.Interactive:
|
|
21
|
-
return a(s, "interactives", n);
|
|
22
|
-
case l.Clip:
|
|
23
|
-
return a(s, "clips", n);
|
|
24
|
-
case l.Category:
|
|
25
|
-
return a(r, "categories", n);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function B() {
|
|
29
|
-
return X("openInCurationStudio");
|
|
30
|
-
}
|
|
31
|
-
function z() {
|
|
32
|
-
var r, a;
|
|
33
|
-
const e = b(O.currentUser()), { data: i } = b(
|
|
34
|
-
((r = e.data) == null ? void 0 : r.id) && O.groups((a = e.data) == null ? void 0 : a.id)
|
|
35
|
-
), n = b(D.config()), p = [L.Curator, L.Content, L.Developer];
|
|
36
|
-
function s() {
|
|
37
|
-
return p.some((o) => i == null ? void 0 : i.data.find((c) => c.name === o));
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
openInCurationStudioLabel: B(),
|
|
41
|
-
isUserCurator: s(),
|
|
42
|
-
getOpenInCurationStudioLink: (o, c, h) => {
|
|
43
|
-
var t;
|
|
44
|
-
return j((t = n.data) == null ? void 0 : t.curatorUrl, o, c, h);
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
var N = /* @__PURE__ */ ((e) => (e[e.PlayPage = 0] = "PlayPage", e))(N || {});
|
|
49
|
-
function Y(e) {
|
|
50
|
-
const i = T(), n = M();
|
|
51
|
-
function p(a) {
|
|
52
|
-
return e.type !== 0 ? null : $.getVideoRequest(a.id, a.typeId, e.shareId);
|
|
53
|
-
}
|
|
54
|
-
function s(a) {
|
|
55
|
-
const o = p(a);
|
|
56
|
-
i(o.key).shouldFetch && n(o);
|
|
57
|
-
}
|
|
58
|
-
function r(a) {
|
|
59
|
-
const o = p(a);
|
|
60
|
-
return i(o.key).hasCompleted;
|
|
61
|
-
}
|
|
62
|
-
return { hydrate: s, isHydrated: r };
|
|
63
|
-
}
|
|
64
|
-
const J = "exchange.exchangeHooks", d = R.encloseNamespace(J), K = {
|
|
65
|
-
lazyPlaceholder: !0
|
|
66
|
-
};
|
|
67
|
-
function ae(e) {
|
|
68
|
-
const { hasPermissions: i } = x(), { isUserCurator: n, openInCurationStudioLabel: p, getOpenInCurationStudioLink: s } = z(), r = b(D.config()), a = b(
|
|
69
|
-
i(v.ViewLibraries) && _.libraryRequestLibraries()
|
|
70
|
-
), { hydrate: o, isHydrated: c } = Y({
|
|
71
|
-
type: N.PlayPage
|
|
72
|
-
});
|
|
73
|
-
function h(t) {
|
|
74
|
-
var A, I, V;
|
|
75
|
-
const u = e === "preview", f = { id: t.id, name: t.name }, g = u ? U.VideoItemPreview : U.VideoListItem, y = [{
|
|
76
|
-
order: 10,
|
|
77
|
-
label: u ? d("openInClickView") : "",
|
|
78
|
-
svg: q,
|
|
79
|
-
tooltip: u ? "" : d("openInClickView"),
|
|
80
|
-
className: u ? "btn btn-dark me-2" : "",
|
|
81
|
-
button: !0,
|
|
82
|
-
href: r.data && H.safeUrlConcat(r.data.liteUrl, `/videos/${t.id}`),
|
|
83
|
-
analyticsData: f,
|
|
84
|
-
analyticsOptions: {
|
|
85
|
-
actionType: C.Click,
|
|
86
|
-
entity: m.Video,
|
|
87
|
-
descriptor: P.OpenInClickView,
|
|
88
|
-
location: g,
|
|
89
|
-
workflowPhase: S.Start
|
|
90
|
-
}
|
|
91
|
-
}, {
|
|
92
|
-
order: 20,
|
|
93
|
-
label: u ? d("addVideo") : null,
|
|
94
|
-
svg: u ? void 0 : F,
|
|
95
|
-
tooltip: u ? "" : d("addVideo"),
|
|
96
|
-
button: !u,
|
|
97
|
-
appLink: {
|
|
98
|
-
application: E.EXCHANGE,
|
|
99
|
-
action: w.Exchange.ADD,
|
|
100
|
-
args: [t.id]
|
|
101
|
-
},
|
|
102
|
-
analyticsData: f,
|
|
103
|
-
analyticsOptions: {
|
|
104
|
-
actionType: C.Click,
|
|
105
|
-
entity: m.Video,
|
|
106
|
-
descriptor: P.AddToWorkspace,
|
|
107
|
-
location: g,
|
|
108
|
-
workflowPhase: S.Start
|
|
109
|
-
}
|
|
110
|
-
}, {
|
|
111
|
-
order: 30,
|
|
112
|
-
label: d("suggest"),
|
|
113
|
-
className: "",
|
|
114
|
-
appLink: {
|
|
115
|
-
application: E.EXCHANGE,
|
|
116
|
-
action: w.Exchange.SUGGEST_EDIT,
|
|
117
|
-
args: [t.id],
|
|
118
|
-
params: { location: g }
|
|
119
|
-
},
|
|
120
|
-
analyticsData: f,
|
|
121
|
-
analyticsOptions: {
|
|
122
|
-
actionType: C.Click,
|
|
123
|
-
entity: m.Video,
|
|
124
|
-
descriptor: P.SuggestEdit,
|
|
125
|
-
location: g,
|
|
126
|
-
workflowPhase: S.Start
|
|
127
|
-
}
|
|
128
|
-
}];
|
|
129
|
-
return c(t) ? ((A = t._canAddToLibrary) != null && A.value && ((I = a.data) != null && I.length) && y.push({
|
|
130
|
-
order: 25,
|
|
131
|
-
label: d("addToLibrary"),
|
|
132
|
-
className: "",
|
|
133
|
-
appLink: {
|
|
134
|
-
application: E.EXCHANGE,
|
|
135
|
-
action: w.Exchange.ADD_TO_LIBRARY,
|
|
136
|
-
args: [t.id]
|
|
137
|
-
},
|
|
138
|
-
analyticsData: f,
|
|
139
|
-
analyticsOptions: {
|
|
140
|
-
actionType: C.Create,
|
|
141
|
-
entity: m.LibraryRequest,
|
|
142
|
-
workflowPhase: S.Start,
|
|
143
|
-
location: g
|
|
144
|
-
}
|
|
145
|
-
}), (V = t._canDownload) != null && V.value && y.push({
|
|
146
|
-
order: 40,
|
|
147
|
-
label: d("download"),
|
|
148
|
-
className: "",
|
|
149
|
-
appLink: {
|
|
150
|
-
application: E.EXCHANGE,
|
|
151
|
-
action: w.Exchange.DOWNLOAD_VIDEO,
|
|
152
|
-
args: [t.id]
|
|
153
|
-
},
|
|
154
|
-
analyticsData: f,
|
|
155
|
-
analyticsOptions: {
|
|
156
|
-
actionType: C.Download,
|
|
157
|
-
entity: m.Video,
|
|
158
|
-
workflowPhase: S.Start,
|
|
159
|
-
location: g
|
|
160
|
-
}
|
|
161
|
-
}), n && y.push({
|
|
162
|
-
order: 50,
|
|
163
|
-
label: p,
|
|
164
|
-
openInNewTab: !0,
|
|
165
|
-
href: s(l.Video, t.id)
|
|
166
|
-
}), y) : [...y, K];
|
|
167
|
-
}
|
|
168
|
-
return {
|
|
169
|
-
getVideoActions: h,
|
|
170
|
-
fetchMoreActions: (t) => o(t)
|
|
171
|
-
};
|
|
172
|
-
}
|
|
173
|
-
export {
|
|
174
|
-
ae as a,
|
|
175
|
-
z as u
|
|
176
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./app-DcIbciDa.cjs"),u=require("./BadgeListContainer-DLrBuDpU.cjs"),p="tv.addRequests",n=t.LanguageService.encloseNamespace(p);function v(d,c,o){const l=t.useBasicFetch(t.ConfigRequests.config());return function(i){var r;if(!c)return[];const e=d==="preview",s={id:i.id,name:i.title},a=e?t.LocationContext.VideoItemPreview:t.LocationContext.VideoListItem;return[{label:e?n("addVideo"):"",svg:e?void 0:u.AddVideoSvg,tooltip:e?"":n("addVideo"),className:e?"btn btn-dark me-2 text-nowrap":"btn",button:!0,onClick:()=>{t.AppLinkHelper.trigger({application:t.AppChannels.TV,action:t.Actions.Tv.ADD,args:[c.code,i.id],params:{currentTime:Math.floor(+(o==null?void 0:o.currentTime()))||void 0}})},analyticsData:s,analyticsOptions:{actionType:t.UserAction.Click,entity:t.EntityType.Video,descriptor:t.VideoActionDescriptor.AddToWorkspace,location:a,workflowPhase:t.WorkflowPhase.Start}},{label:n("editVideo"),href:t.UrlHelper.urlBuilder(`${(r=l.data)==null?void 0:r.cloudEditorUrl}/tv/${i.globalId}`,{product:t.ProductId.Exchange}),openInNewTab:!0,analyticsData:s,analyticsOptions:{actionType:t.UserAction.Click,entity:t.EntityType.Video,location:a,descriptor:t.VideoActionDescriptor.EditVideo}}]}}exports.useGetTvActions=v;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { a1 as A, aA as m, ab as d, aa as T, aF as r, ac as l, ad as p, L as V, U as b, A as g, a as f, b as h, a4 as k } from "./app-2U039aX_.js";
|
|
2
|
-
import { A as w } from "./BadgeListContainer-CqwUuWKL.js";
|
|
3
|
-
const C = "tv.addRequests", a = V.encloseNamespace(C);
|
|
4
|
-
function I(u, i, o) {
|
|
5
|
-
const v = A(m.config());
|
|
6
|
-
return function(e) {
|
|
7
|
-
var c;
|
|
8
|
-
if (!i)
|
|
9
|
-
return [];
|
|
10
|
-
const t = u === "preview", n = { id: e.id, name: e.title }, s = t ? d.VideoItemPreview : d.VideoListItem;
|
|
11
|
-
return [{
|
|
12
|
-
label: t ? a("addVideo") : "",
|
|
13
|
-
svg: t ? void 0 : w,
|
|
14
|
-
tooltip: t ? "" : a("addVideo"),
|
|
15
|
-
className: t ? "btn btn-dark me-2 text-nowrap" : "btn",
|
|
16
|
-
button: !0,
|
|
17
|
-
onClick: () => {
|
|
18
|
-
g.trigger({
|
|
19
|
-
application: h.TV,
|
|
20
|
-
action: f.Tv.ADD,
|
|
21
|
-
args: [i.code, e.id],
|
|
22
|
-
params: {
|
|
23
|
-
currentTime: Math.floor(+(o == null ? void 0 : o.currentTime())) || void 0
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
},
|
|
27
|
-
analyticsData: n,
|
|
28
|
-
analyticsOptions: {
|
|
29
|
-
actionType: p.Click,
|
|
30
|
-
entity: l.Video,
|
|
31
|
-
descriptor: r.AddToWorkspace,
|
|
32
|
-
location: s,
|
|
33
|
-
workflowPhase: T.Start
|
|
34
|
-
}
|
|
35
|
-
}, {
|
|
36
|
-
label: a("editVideo"),
|
|
37
|
-
href: b.urlBuilder(
|
|
38
|
-
`${(c = v.data) == null ? void 0 : c.cloudEditorUrl}/tv/${e.globalId}`,
|
|
39
|
-
{ product: k.Exchange }
|
|
40
|
-
),
|
|
41
|
-
openInNewTab: !0,
|
|
42
|
-
analyticsData: n,
|
|
43
|
-
analyticsOptions: {
|
|
44
|
-
actionType: p.Click,
|
|
45
|
-
entity: l.Video,
|
|
46
|
-
location: s,
|
|
47
|
-
descriptor: r.EditVideo
|
|
48
|
-
}
|
|
49
|
-
}];
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
export {
|
|
53
|
-
I as u
|
|
54
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("./app-DcIbciDa.cjs"),e=require("./HttpErrorHandlers-CBhvfsvb.cjs");function i(r,a){t.React.useEffect(()=>{r.hasCompleted&&(r.data||(r.hasError&&e.handleHttpError(r.statusCode),a?t.ErrorHelper.throw(new t.UnspecifiedDialogError):e.handleHttpError(t.HttpStatus.BadRequest)))},[r.hasCompleted,r.data])}exports.useHandleRegionError=i;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { R as e, q as o, bs as i, aR as f } from "./app-2U039aX_.js";
|
|
2
|
-
import { h as a } from "./HttpErrorHandlers-DKqNIMOg.js";
|
|
3
|
-
function s(t, r) {
|
|
4
|
-
e.useEffect(() => {
|
|
5
|
-
t.hasCompleted && (t.data || (t.hasError && a(t.statusCode), r ? o.throw(new i()) : a(f.BadRequest)));
|
|
6
|
-
}, [t.hasCompleted, t.data]);
|
|
7
|
-
}
|
|
8
|
-
export {
|
|
9
|
-
s as u
|
|
10
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Y as r, aL as n } from "./app-2U039aX_.js";
|
|
2
|
-
function v(e, t) {
|
|
3
|
-
const [o, i] = r(
|
|
4
|
-
`exchange:preview:${e}`,
|
|
5
|
-
t ? n.getPreviousRoute() : void 0
|
|
6
|
-
);
|
|
7
|
-
return {
|
|
8
|
-
previewContext: o,
|
|
9
|
-
clearPreviewContext: () => i(void 0)
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
export {
|
|
13
|
-
v as u
|
|
14
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./app-DcIbciDa.cjs");function n(t,i){const[o,r]=e.useViewModel(`exchange:preview:${t}`,i?e.ContextService.getPreviousRoute():void 0);return{previewContext:o,clearPreviewContext:()=>r(void 0)}}exports.usePreviewContext=n;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { a1 as g, u as d, Y as u, c4 as c } from "./app-2U039aX_.js";
|
|
2
|
-
import { u as l } from "./UseHandleObjectError-DAhDbPEo.js";
|
|
3
|
-
import { T as f } from "./TvRequests-Bcy68aT5.js";
|
|
4
|
-
function w() {
|
|
5
|
-
var t;
|
|
6
|
-
const e = g(f.regions());
|
|
7
|
-
l(e);
|
|
8
|
-
const { tvRegion: n, isLoadingSettings: s } = d(null), [r, a] = u("tv:region", { region: null }, { storage: c.LocalStorage });
|
|
9
|
-
function i(o) {
|
|
10
|
-
a({ region: o.code });
|
|
11
|
-
}
|
|
12
|
-
return !((t = e.data) != null && t.length) || s ? { isLoading: !0, region: null, setRegion: i } : r.region && e.data.find((o) => o.code.toLowerCase() === r.region.toLowerCase()) ? { isLoading: !1, region: r.region.toUpperCase(), setRegion: i } : n && e.data.find((o) => o.code.toLowerCase() === n.toLowerCase()) ? { isLoading: !1, region: n.toUpperCase(), setRegion: i } : { isLoading: !1, region: e.data[0].code, setRegion: i };
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
w as u
|
|
16
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const i=require("./app-DcIbciDa.cjs"),u=require("./UseHandleObjectError-CBFN1Ill.cjs"),d=require("./TvRequests-l_Xv-rcr.cjs");function c(){var s;const e=i.useBasicFetch(d.TvRequests.regions());u.useHandleObjectError(e);const{tvRegion:r,isLoadingSettings:a}=i.useSettings(null),[t,g]=i.useViewModel("tv:region",{region:null},{storage:i.StorageType.LocalStorage});function n(o){g({region:o.code})}return!((s=e.data)!=null&&s.length)||a?{isLoading:!0,region:null,setRegion:n}:t.region&&e.data.find(o=>o.code.toLowerCase()===t.region.toLowerCase())?{isLoading:!1,region:t.region.toUpperCase(),setRegion:n}:r&&e.data.find(o=>o.code.toLowerCase()===r.toLowerCase())?{isLoading:!1,region:r.toUpperCase(),setRegion:n}:{isLoading:!1,region:e.data[0].code,setRegion:n}}exports.useSelectedRegion=c;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const e=require("./app-DcIbciDa.cjs"),l=require("./UseAlerts-pIg83NsO.cjs"),c="shared.verifiedEmailError";class h extends e.DialogError{constructor(r,t,s){super("VerifiedEmailRequiredError"),this.message=r,this.liteUrl=t,this.hasLite=s}get name(){return"VerifiedEmailRequiredError"}get dialogOptions(){const r=e.UrlHelper.safeUrlConcat(this.liteUrl,"settings/account");return{title:e.LanguageService.getPhrase(c,"heading"),text:this.hasLite?`${this.message} ${e.LanguageService.getPhrase(c,"visitSettings",{href:r})}`:this.message,buttons:[{text:e.LanguageService.getPhrase(c,"close"),className:"btn btn-dark",success:!0}]}}}const g=()=>{var a;const i=e.useBasicFetch(e.UserRequests.currentUser()),r=e.useBasicFetch(((a=i.data)==null?void 0:a.isAuthenticated)&&e.ProductRequests.userProducts()),t=!r.hasCompleted;return{hasProduct:n=>{var o;return t||r.hasError||!((o=r.data)!=null&&o.length)?!1:r.data.some(u=>u.id===n)},products:r,isLoadingProducts:t}};function f(){const i=l.useAlerts(),{hasProduct:r,isLoadingProducts:t}=g(),s=e.useBasicFetch(e.ConfigRequests.config());function a(n,o,u){var d;if(!n.responseJSON||((d=n.responseJSON)==null?void 0:d.type)!=="no-email"){i.error(o);return}e.ErrorHelper.throw(new h(u,s.data.liteUrl,r(e.ProductId.Primary)))}return{handleGenerateReportError:a,loading:!s.hasCompleted||t}}exports.useVerifiedEmailRequiredErrorHandler=f;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { D as h, U as g, L as u, a1 as d, a3 as m, a8 as f, aA as p, q as E, a4 as P } from "./app-2U039aX_.js";
|
|
2
|
-
import { u as U } from "./UseAlerts-B2BbQeN3.js";
|
|
3
|
-
const c = "shared.verifiedEmailError";
|
|
4
|
-
class q extends h {
|
|
5
|
-
constructor(e, r, s) {
|
|
6
|
-
super("VerifiedEmailRequiredError"), this.message = e, this.liteUrl = r, this.hasLite = s;
|
|
7
|
-
}
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
get name() {
|
|
10
|
-
return "VerifiedEmailRequiredError";
|
|
11
|
-
}
|
|
12
|
-
// @ts-ignore
|
|
13
|
-
get dialogOptions() {
|
|
14
|
-
const e = g.safeUrlConcat(this.liteUrl, "settings/account");
|
|
15
|
-
return {
|
|
16
|
-
title: u.getPhrase(c, "heading"),
|
|
17
|
-
text: this.hasLite ? `${this.message} ${u.getPhrase(c, "visitSettings", { href: e })}` : this.message,
|
|
18
|
-
buttons: [{
|
|
19
|
-
text: u.getPhrase(c, "close"),
|
|
20
|
-
className: "btn btn-dark",
|
|
21
|
-
success: !0
|
|
22
|
-
}]
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
const R = () => {
|
|
27
|
-
var a;
|
|
28
|
-
const t = d(m.currentUser()), e = d(((a = t.data) == null ? void 0 : a.isAuthenticated) && f.userProducts()), r = !e.hasCompleted;
|
|
29
|
-
return {
|
|
30
|
-
hasProduct: (i) => {
|
|
31
|
-
var o;
|
|
32
|
-
return r || e.hasError || !((o = e.data) != null && o.length) ? !1 : e.data.some((n) => n.id === i);
|
|
33
|
-
},
|
|
34
|
-
products: e,
|
|
35
|
-
isLoadingProducts: r
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
function S() {
|
|
39
|
-
const t = U(), { hasProduct: e, isLoadingProducts: r } = R(), s = d(p.config());
|
|
40
|
-
function a(i, o, n) {
|
|
41
|
-
var l;
|
|
42
|
-
if (!i.responseJSON || ((l = i.responseJSON) == null ? void 0 : l.type) !== "no-email") {
|
|
43
|
-
t.error(o);
|
|
44
|
-
return;
|
|
45
|
-
}
|
|
46
|
-
E.throw(
|
|
47
|
-
new q(n, s.data.liteUrl, e(P.Primary))
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
handleGenerateReportError: a,
|
|
52
|
-
loading: !s.hasCompleted || r
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
export {
|
|
56
|
-
S as u
|
|
57
|
-
};
|