@clickview/exchange 0.43.0 → 0.43.1-dev.0
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/Actions-BtMRNMuv.cjs +1 -0
- package/dist/Actions-DfeKDy3k.js +178 -0
- package/dist/AddToLibraryView-BoCLtcWV.js +508 -0
- package/dist/AddToLibraryView-MpkcVgoR.cjs +1 -0
- package/dist/Badge-3MW5GacP.cjs +1 -0
- package/dist/Badge-Ddz0Il5v.js +326 -0
- package/dist/BadgeListContainer-CqwUuWKL.js +19 -0
- package/dist/BadgeListContainer-DLrBuDpU.cjs +1 -0
- package/dist/ButtonGroup-C-z2yWvb.cjs +1 -0
- package/dist/ButtonGroup-zaxEq7ZK.js +24 -0
- package/dist/Caret-Cpx0uvJ0.js +36 -0
- package/dist/Caret-Dgjy7YHO.cjs +1 -0
- package/dist/ChevronDownSvg-BI6xUNrZ.cjs +1 -0
- package/dist/ChevronDownSvg-BfijmId7.js +13 -0
- package/dist/ClassNameHelper-aJ0BDnVo.js +29 -0
- package/dist/ClassNameHelper-n4BHW-GR.cjs +1 -0
- package/dist/CloseSvg-2PKjla1T.js +13 -0
- package/dist/CloseSvg-B7rizkGp.cjs +1 -0
- package/dist/CurationStatus-BGjsO3l8.cjs +1 -0
- package/dist/CurationStatus-DZn3C9Qe.js +4 -0
- package/dist/DevErrorView-Bg1Ufy6-.js +79 -0
- package/dist/DevErrorView-CpXfV0V4.cjs +1 -0
- package/dist/DialogView-B5FEh3e8.cjs +1 -0
- package/dist/DialogView-RcNOylD7.js +22 -0
- package/dist/DownloadHelper-ChKHN-Le.cjs +1 -0
- package/dist/DownloadHelper-dL46n0Kq.js +32 -0
- package/dist/DownloadVideoView-CvDFi8HI.cjs +1 -0
- package/dist/DownloadVideoView-HSnwAYLp.js +32 -0
- package/dist/DragDropMoveWrapper-B_dy7ady.cjs +1 -0
- package/dist/DragDropMoveWrapper-TdzJqiqv.js +462 -0
- package/dist/ExchangeAddView-BRLjRe3p.js +63 -0
- package/dist/ExchangeAddView-CWfp5W52.cjs +1 -0
- package/dist/ExchangeFolderView-4ArEcQvn.js +159 -0
- package/dist/ExchangeFolderView-_ldS0uwf.cjs +1 -0
- package/dist/ExchangeMostRecentView-BMAosIXz.js +61 -0
- package/dist/ExchangeMostRecentView-s1iLfclz.cjs +1 -0
- package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +1 -0
- package/dist/ExchangeNotFoundView-Cb-rmQH1.js +7 -0
- package/dist/ExchangePreviewView-hztBChIE.js +82 -0
- package/dist/ExchangePreviewView-kjDv-uqf.cjs +1 -0
- package/dist/ExchangeRequests-B3wRfv5Y.cjs +1 -0
- package/dist/ExchangeRequests-DV7BD3HZ.js +115 -0
- package/dist/ExchangeSearchBar-CNtU_swT.js +32 -0
- package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +1 -0
- package/dist/ExchangeSearchResultsView-CEueb9Li.js +1641 -0
- package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +2 -0
- package/dist/ExchangeSeriesView-BGBgwgMW.cjs +1 -0
- package/dist/ExchangeSeriesView-DMr_mCAH.js +143 -0
- package/dist/ExchangeSuggestEditView-B3P-nGFE.js +307 -0
- package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +1 -0
- package/dist/ExchangeTabs-CrA22PjN.js +46 -0
- package/dist/ExchangeTabs-KgrROs1d.cjs +1 -0
- package/dist/ExchangeUtils-BRDE3b9w.cjs +1 -0
- package/dist/ExchangeUtils-CCCrn5oQ.js +65 -0
- package/dist/ExchangeView-Cui4zZ4D.js +30 -0
- package/dist/ExchangeView-Dql8pHzi.cjs +1 -0
- package/dist/FormButtons-CDOsf9A-.cjs +1 -0
- package/dist/FormButtons-fQkvwYsy.js +20 -0
- package/dist/FormFeedback-5Dd3bMCl.js +7 -0
- package/dist/FormFeedback-BU7vSBqB.cjs +1 -0
- package/dist/FormField-Cb2l2GMO.cjs +5 -0
- package/dist/FormField-DYeERWxm.js +3353 -0
- package/dist/GiveFeedbackView-0tH6h1s3.js +5436 -0
- package/dist/GiveFeedbackView-DirGDc2a.cjs +7 -0
- package/dist/GroupSvg-BmwXO6yT.js +53 -0
- package/dist/GroupSvg-DVAq4iNX.cjs +1 -0
- package/dist/HardCoded-25AFj2sZ.js +51 -0
- package/dist/HardCoded-BbbeCQNt.cjs +1 -0
- package/dist/HttpErrorHandlers-CBhvfsvb.cjs +1 -0
- package/dist/HttpErrorHandlers-DKqNIMOg.js +76 -0
- package/dist/IconCircle-BVHFUBGt.cjs +1 -0
- package/dist/IconCircle-CxFLsbLY.js +26 -0
- package/dist/InstanceRegion-C7aJEkFV.cjs +1 -0
- package/dist/InstanceRegion-DQlzs4EK.js +4 -0
- package/dist/LazyImage-DBQklqeJ.js +163 -0
- package/dist/LazyImage-lv36coda.cjs +1 -0
- package/dist/LibraryRequests-BHAZPSUw.js +186 -0
- package/dist/LibraryRequests-DKCsJHbr.cjs +1 -0
- package/dist/LinkifyHelper-DPHYATPc.js +925 -0
- package/dist/LinkifyHelper-EOfbsqdi.cjs +4 -0
- package/dist/MasterTypeHelper-Y_SDsEUF.cjs +1 -0
- package/dist/MasterTypeHelper-uSKy6GZd.js +16 -0
- package/dist/MediaQueries-9caJ2eG6.js +4 -0
- package/dist/MediaQueries-CE9Kbs0e.cjs +1 -0
- package/dist/PartialLoadingHelper-D42uOdDd.cjs +1 -0
- package/dist/PartialLoadingHelper-DIas6hnM.js +29 -0
- package/dist/PermissionFilterOption-B-QrMVdA.js +4 -0
- package/dist/PermissionFilterOption-BIA__Q_O.cjs +1 -0
- package/dist/PillTabSelector-B5V2rqf0.js +64 -0
- package/dist/PillTabSelector-yR52s5ix.cjs +14 -0
- package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +362 -0
- package/dist/PreviewVideoDetails-DJXB4vV3.js +68337 -0
- package/dist/ProgramType-DHk-SlRZ.cjs +1 -0
- package/dist/ProgramType-FpE5cuZV.js +60 -0
- package/dist/RatingRequests-BNPZAxXm.cjs +1 -0
- package/dist/RatingRequests-Dr3w3-z8.js +11 -0
- package/dist/RedirectView-BK8yU-PU.js +22 -0
- package/dist/RedirectView-OEJhJrvf.cjs +1 -0
- package/dist/RestrictionHelper-BSceJYz-.js +112 -0
- package/dist/RestrictionHelper-C5u_CmoL.cjs +1 -0
- package/dist/ScrollHelper-Dg7bDIH7.js +10 -0
- package/dist/ScrollHelper-ESsjtyv8.cjs +1 -0
- package/dist/SearchFilters-C_yEnumc.js +3046 -0
- package/dist/SearchFilters-D3fLjseM.cjs +1 -0
- package/dist/SearchSvg-BB6oXs1v.js +13 -0
- package/dist/SearchSvg-BU6G1Fs0.cjs +1 -0
- package/dist/SharedSearchHelper-BuVD-GvT.js +159 -0
- package/dist/SharedSearchHelper-D5GJJwW7.cjs +1 -0
- package/dist/TagItem-BBc3HmnI.cjs +1 -0
- package/dist/TagItem-BFnSikAz.js +1125 -0
- package/dist/TvAdFreeBadge-BDFn2ujd.js +11 -0
- package/dist/TvAdFreeBadge-X2iSf6B3.cjs +1 -0
- package/dist/TvAdFreeRequestView-CEAvozfO.js +46 -0
- package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +1 -0
- package/dist/TvAddView-Bv12wfX7.js +276 -0
- package/dist/TvAddView-CA7Yappn.cjs +1 -0
- package/dist/TvAlreadyAddedView-C240rLQ7.js +56 -0
- package/dist/TvAlreadyAddedView-X4KElzJA.cjs +1 -0
- package/dist/TvBroadcastContentView-DizJHvTQ.js +52 -0
- package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +1 -0
- package/dist/TvChannelBadge-B4a1wkQI.cjs +1 -0
- package/dist/TvChannelBadge-Doqs12s9.js +11 -0
- package/dist/TvChannelView-CSn0VleL.js +177 -0
- package/dist/TvChannelView-Ds_F3Mmp.cjs +1 -0
- package/dist/TvChannelsView-CM_T5E3j.js +171 -0
- package/dist/TvChannelsView-r3NO_BRv.cjs +1 -0
- package/dist/TvGuideView-B8vS-8lS.cjs +1 -0
- package/dist/TvGuideView-BLlQJiZ3.js +54 -0
- package/dist/TvHomeView-C_h4DZw_.cjs +1 -0
- package/dist/TvHomeView-CbNg8AyI.js +15 -0
- package/dist/TvPreviewView-DhXD3H__.js +114 -0
- package/dist/TvPreviewView-hGq7_Bzs.cjs +1 -0
- package/dist/TvProgramTimeBadge-BtQKNLz2.js +18 -0
- package/dist/TvProgramTimeBadge-DPJu73xG.cjs +1 -0
- package/dist/TvProgramsView-Ba9VPnEh.cjs +1 -0
- package/dist/TvProgramsView-DO4WnPJx.js +223 -0
- package/dist/TvRadioDownloadView-ByABG_YW.js +41 -0
- package/dist/TvRadioDownloadView-CitV60kZ.cjs +1 -0
- package/dist/TvRequestProgramView-CYc5nAEt.cjs +1 -0
- package/dist/TvRequestProgramView-Dm5Bra4d.js +267 -0
- package/dist/TvRequests-Bcy68aT5.js +227 -0
- package/dist/TvRequests-l_Xv-rcr.cjs +1 -0
- package/dist/TvSearchBar-5J6420z2.cjs +1 -0
- package/dist/TvSearchBar-KZqcg7G0.js +95 -0
- package/dist/TvSearchResultsView-BTONTtMg.cjs +1 -0
- package/dist/TvSearchResultsView-CMsq8ehS.js +212 -0
- package/dist/TvTabs-CrQVKuod.js +88 -0
- package/dist/TvTabs-JuCI2Ea7.cjs +1 -0
- package/dist/TypeHelper-Dt2Y9Wc4.js +14 -0
- package/dist/TypeHelper-Z2rqPzup.cjs +1 -0
- package/dist/UseAlerts-B2BbQeN3.js +39 -0
- package/dist/UseAlerts-pIg83NsO.cjs +1 -0
- package/dist/UseFetchAll-BaDVJFdj.cjs +1 -0
- package/dist/UseFetchAll-DYGA8s5a.js +147 -0
- package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +1 -0
- package/dist/UseGetMediaQueryString-Dc_jP0rr.js +226 -0
- package/dist/UseHandleDialogError-BJHsOnKn.js +9 -0
- package/dist/UseHandleDialogError-PbyWsVaT.cjs +1 -0
- package/dist/UseHandleObjectError-CBFN1Ill.cjs +1 -0
- package/dist/UseHandleObjectError-DAhDbPEo.js +16 -0
- package/dist/UseHover-CLOLtbUV.cjs +1 -0
- package/dist/UseHover-Cc_d5rRf.js +85 -0
- package/dist/UseSelectAllPages-04737Rdu.cjs +1 -0
- package/dist/UseSelectAllPages-Cnk3MEAt.js +149 -0
- package/dist/VideoHelper-3AKe5Jyy.js +477 -0
- package/dist/VideoHelper-BQ7rWUw0.cjs +1 -0
- package/dist/VideoList-SNG1hmoL.cjs +49 -0
- package/dist/VideoList-s7lvSqSs.js +2622 -0
- package/dist/VideoRequests-CpDXl7E_.cjs +1 -0
- package/dist/VideoRequests-DlUeYLjl.js +225 -0
- package/dist/VideoSortSelect-3JfrvPfj.cjs +1 -0
- package/dist/VideoSortSelect-DS9Uvc-S.js +116 -0
- package/dist/VisibleOnSvg-BisjF586.cjs +1 -0
- package/dist/VisibleOnSvg-WDCQPPvV.js +33 -0
- package/dist/app-2U039aX_.js +67680 -0
- package/dist/app-DcIbciDa.cjs +454 -0
- package/dist/app.js +1 -0
- package/dist/en.json +1 -0
- package/dist/exchange.css +1 -0
- package/dist/getRegionInfo-B_h_jjAy.js +31 -0
- package/dist/getRegionInfo-Bs5JKG7h.cjs +1 -0
- package/dist/index-CGkY5YVS.cjs +1 -0
- package/dist/index-DUgR-v-j.js +885 -0
- package/dist/toLocalTime-Bt8Uy4Kq.js +15 -0
- package/dist/toLocalTime-DF9SIfIt.cjs +1 -0
- package/dist/useBreakpoints-37V489ap.js +66 -0
- package/dist/useBreakpoints-B-bcgx-L.cjs +1 -0
- package/dist/useGetExchangeActions-BwXrBSH-.cjs +1 -0
- package/dist/useGetExchangeActions-C8Y1FNSl.js +176 -0
- package/dist/useGetTvActions-CmEBdHbw.cjs +1 -0
- package/dist/useGetTvActions-DENrO3wZ.js +54 -0
- package/dist/useHandleRegionError-BNRrs6y8.cjs +1 -0
- package/dist/useHandleRegionError-BNxhNPKP.js +10 -0
- package/dist/usePreviewContext--ihfEi4P.js +14 -0
- package/dist/usePreviewContext-DjpFhe3I.cjs +1 -0
- package/dist/useSelectedRegion-7_2s4QQF.js +16 -0
- package/dist/useSelectedRegion-D3Xsu2Ut.cjs +1 -0
- package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +1 -0
- package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +57 -0
- package/package.json +12 -3
- package/typings/utils/imports.d.ts +1 -1
- package/vite-i18n-plugin.ts +113 -0
- package/vite.config.ts +59 -0
- package/dist/bundles.json +0 -4
- package/dist/css/137-exchange-8c1b8716b3.chunk.css +0 -25
- package/dist/css/212-exchange-d71527fc65.chunk.css +0 -1
- package/dist/css/226-exchange-9ab9f14b3c.chunk.css +0 -57
- package/dist/css/291-exchange-be9d9f0cdb.chunk.css +0 -11
- package/dist/css/298-exchange-78ece5c7c5.chunk.css +0 -37
- package/dist/css/332-exchange-e4754ae27a.chunk.css +0 -1
- package/dist/css/489-exchange-6ecb1e7adc.chunk.css +0 -85
- package/dist/css/494-exchange-02d7a0249c.chunk.css +0 -2
- package/dist/css/522-exchange-1387f35e92.chunk.css +0 -14
- package/dist/css/538-exchange-4cbfe56ba3.chunk.css +0 -1
- package/dist/css/589-exchange-fa098d9131.chunk.css +0 -11
- package/dist/css/611-exchange-cbf2bb5621.chunk.css +0 -5
- package/dist/css/669-exchange-e80e6c6649.chunk.css +0 -10
- package/dist/css/68-exchange-b5eaf8af44.chunk.css +0 -35
- package/dist/css/75-exchange-6d2304419c.chunk.css +0 -5
- package/dist/css/759-exchange-23bb5dd175.chunk.css +0 -8
- package/dist/css/858-exchange-06944bdfa4.chunk.css +0 -1
- package/dist/css/904-exchange-0eab318199.chunk.css +0 -40
- package/dist/css/95-exchange-4cbfe56ba3.chunk.css +0 -1
- package/dist/css/lite-exchange-ed6bd260c5.css +0 -14
- package/dist/languages/en.json +0 -1
- package/dist/scripts/117-259130ac0e-exchange.chunk.js +0 -1
- package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +0 -1
- package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +0 -2
- package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/137-51b4dab452-exchange.chunk.js +0 -1
- package/dist/scripts/156-847dae6ace-exchange.chunk.js +0 -1
- package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +0 -1
- package/dist/scripts/173-3668db114a-exchange.chunk.js +0 -1
- package/dist/scripts/212-6ed71b2797-exchange.chunk.js +0 -1
- package/dist/scripts/226-889bef8e6c-exchange.chunk.js +0 -1
- package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +0 -1
- package/dist/scripts/291-7e85a6e844-exchange.chunk.js +0 -1
- package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +0 -1
- package/dist/scripts/312-69afcbbc39-exchange.chunk.js +0 -1
- package/dist/scripts/325-76baea117f-exchange.chunk.js +0 -1
- package/dist/scripts/332-08d48debc2-exchange.chunk.js +0 -1
- package/dist/scripts/414-567e121c75-exchange.chunk.js +0 -2
- package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +0 -60
- package/dist/scripts/442-fcba36183d-exchange.chunk.js +0 -1
- package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
- package/dist/scripts/484-08c82c5a88-exchange.chunk.js +0 -1
- package/dist/scripts/489-8554f0ce7a-exchange.chunk.js +0 -2
- package/dist/scripts/489-8554f0ce7a-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/494-abba46b945-exchange.chunk.js +0 -2
- package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +0 -1
- package/dist/scripts/522-ce819dee18-exchange.chunk.js +0 -2
- package/dist/scripts/522-ce819dee18-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/536-b915864d5f-exchange.chunk.js +0 -1
- package/dist/scripts/538-ccc01a623f-exchange.chunk.js +0 -2
- package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +0 -1
- package/dist/scripts/589-17d73ab116-exchange.chunk.js +0 -1
- package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
- package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +0 -1
- package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +0 -1
- package/dist/scripts/648-485af12c37-exchange.chunk.js +0 -1
- package/dist/scripts/659-d08f206e1d-exchange.chunk.js +0 -1
- package/dist/scripts/669-a49a0838ff-exchange.chunk.js +0 -1
- package/dist/scripts/68-34b81dae8c-exchange.chunk.js +0 -1
- package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +0 -1
- package/dist/scripts/726-868a877381-exchange.chunk.js +0 -1
- package/dist/scripts/75-9780e4300e-exchange.chunk.js +0 -1
- package/dist/scripts/759-f1a9db4868-exchange.chunk.js +0 -1
- package/dist/scripts/782-2c340d8404-exchange.chunk.js +0 -1
- package/dist/scripts/831-8808647fc7-exchange.chunk.js +0 -1
- package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +0 -2
- package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/858-70085ed3b1-exchange.chunk.js +0 -1
- package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +0 -1
- package/dist/scripts/87-d569a1463e-exchange.chunk.js +0 -1
- package/dist/scripts/877-5b357aeb63-exchange.chunk.js +0 -1
- package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +0 -1
- package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +0 -1
- package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +0 -1
- package/dist/scripts/95-841a847f54-exchange.chunk.js +0 -2
- package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +0 -1
- package/dist/scripts/bundle-15f20b2d26.min.js +0 -2
- package/dist/scripts/bundle-15f20b2d26.min.js.LICENSE.txt +0 -108
|
@@ -0,0 +1,1641 @@
|
|
|
1
|
+
import { j as t, ao as v, ar as ue, an as w, as as _e, Q as Ne, B as y, at as C, ac as L, ad as P, ab as k, au as b, A as Ie, av as Ve, a9 as pe, R as z, aw as Te, O as $e, I as Oe, ax as De, L as he, ay as we, ap as ge, r as Fe, a as O, b as D, c as Re, T as le, ai as Ee, aj as q, ak as qe, a1 as T, a3 as He, ah as Ue, az as Me, S as J, U as H, H as U, l as Ge } from "./app-2U039aX_.js";
|
|
2
|
+
import { B as ne, u as R } from "./useBreakpoints-37V489ap.js";
|
|
3
|
+
import { V as F } from "./VideoHelper-3AKe5Jyy.js";
|
|
4
|
+
import { c as Be } from "./ClassNameHelper-aJ0BDnVo.js";
|
|
5
|
+
import { I as ze, C as We } from "./IconCircle-CxFLsbLY.js";
|
|
6
|
+
import { g as xe, B as ye, I as W, a as E } from "./UseSelectAllPages-Cnk3MEAt.js";
|
|
7
|
+
import { M as Xe } from "./MasterTypeHelper-uSKy6GZd.js";
|
|
8
|
+
import { S as Qe, T as Ye, a as Ze } from "./TagItem-BFnSikAz.js";
|
|
9
|
+
import { b as X, c as ce, d as Je, T as Ke, e as et, f as tt, A as Q, g as at, M as it, h as fe, C as st, I as nt, u as ct, a as lt } from "./VideoList-s7lvSqSs.js";
|
|
10
|
+
import { B as N, a as I } from "./Badge-Ddz0Il5v.js";
|
|
11
|
+
import { B as je } from "./BadgeListContainer-CqwUuWKL.js";
|
|
12
|
+
import { V as rt, S as ot } from "./LinkifyHelper-DPHYATPc.js";
|
|
13
|
+
import { R as Y, V as K, u as dt, I as mt, P as ut } from "./UseGetMediaQueryString-Dc_jP0rr.js";
|
|
14
|
+
import { a as ht } from "./UseHover-Cc_d5rRf.js";
|
|
15
|
+
import { A as gt } from "./Actions-DfeKDy3k.js";
|
|
16
|
+
import { F as _, a as re, b as $, S as xt } from "./SearchFilters-C_yEnumc.js";
|
|
17
|
+
import { E as yt } from "./ExchangeSearchBar-CNtU_swT.js";
|
|
18
|
+
import { a as ft } from "./useGetExchangeActions-C8Y1FNSl.js";
|
|
19
|
+
import { R as jt } from "./RatingRequests-Dr3w3-z8.js";
|
|
20
|
+
import { E as ae } from "./ExchangeRequests-DV7BD3HZ.js";
|
|
21
|
+
import { h as vt } from "./HttpErrorHandlers-DKqNIMOg.js";
|
|
22
|
+
import { u as Lt } from "./UseAlerts-B2BbQeN3.js";
|
|
23
|
+
import { S as Ct } from "./SharedSearchHelper-BuVD-GvT.js";
|
|
24
|
+
const kt = "_appLink_1diix_1", At = "_name_1diix_4", bt = "_selectedMask_1diix_7", Pt = "_widgetItem_1diix_15", St = "_hasThemeColor_1diix_19", _t = "_text_1diix_26", Nt = "_imagePanel_1diix_29", It = "_selected_1diix_7", Vt = "_image_1diix_29", pt = "_large_1diix_59", Tt = "_comingSoonPanel_1diix_69", $t = "_newVideos_1diix_75", j = {
|
|
25
|
+
appLink: kt,
|
|
26
|
+
name: At,
|
|
27
|
+
selectedMask: bt,
|
|
28
|
+
widgetItem: Pt,
|
|
29
|
+
hasThemeColor: St,
|
|
30
|
+
text: _t,
|
|
31
|
+
imagePanel: Nt,
|
|
32
|
+
selected: It,
|
|
33
|
+
image: Vt,
|
|
34
|
+
large: pt,
|
|
35
|
+
comingSoonPanel: Tt,
|
|
36
|
+
newVideos: $t
|
|
37
|
+
}, ve = "shared.subjectWidgetItem", Ot = ({ name: e, multiline: a, noUnderLine: i }) => {
|
|
38
|
+
let s = `${j.comingSoonPanel}
|
|
39
|
+
d-flex flex-column align-items-center justify-content-center px-3 text-center`, n = "";
|
|
40
|
+
return a ? n += ` ${j.clamped} clamp-2` : (s += " text-nowrap", n += " text-truncate"), /* @__PURE__ */ t.jsxs("div", { className: s, children: [
|
|
41
|
+
/* @__PURE__ */ t.jsx("small", { className: "text-secondary", children: /* @__PURE__ */ t.jsx(y, { namespace: ve, phrase: "comingSoon" }) }),
|
|
42
|
+
/* @__PURE__ */ t.jsx("p", { className: `${i ? "" : j.name} h6`, children: /* @__PURE__ */ t.jsx("span", { className: n, children: e }) })
|
|
43
|
+
] });
|
|
44
|
+
}, Dt = ({ name: e, multiline: a, subtitle: i, noUnderLine: s, newVideosCount: n }) => {
|
|
45
|
+
let c = "px-3 d-flex flex-column justify-content-center", l = `${s ? "" : j.name} h6`;
|
|
46
|
+
return a ? l += ` ${n ? "clamp-2" : "clamp-3"} text-start` : (c += " text-nowrap text-truncate", l += " text-truncate mb-0"), /* @__PURE__ */ t.jsxs("div", { className: c, children: [
|
|
47
|
+
i && /* @__PURE__ */ t.jsx("div", { className: `text-secondary clamp-1 ${j.text}`, children: i }),
|
|
48
|
+
/* @__PURE__ */ t.jsx("div", { className: l, title: e, children: e }),
|
|
49
|
+
!!n && /* @__PURE__ */ t.jsx("div", { className: `fw-semibold d-inline-block rounded-pill px-2 mt-1 bg-light-green w-fit h-fit text-green ${j.newVideos}`, children: /* @__PURE__ */ t.jsx(y, { namespace: ve, phrase: "newVideos", options: { smartCount: n } }) })
|
|
50
|
+
] });
|
|
51
|
+
};
|
|
52
|
+
ie.defaultProps = {
|
|
53
|
+
showFallbackBackgroundColour: !0
|
|
54
|
+
};
|
|
55
|
+
function ie(e) {
|
|
56
|
+
var l;
|
|
57
|
+
const a = ue.createUrl(e.coverUrl, { size: e.isLarge ? w.Medium : w.Small });
|
|
58
|
+
let i;
|
|
59
|
+
Xe.isClassification(e.data) && (i = e.data);
|
|
60
|
+
const s = {
|
|
61
|
+
name: e.data.name,
|
|
62
|
+
multiline: e.isLarge || e.multiline,
|
|
63
|
+
subtitle: e.subtitle,
|
|
64
|
+
noUnderLine: e.highlightOnHover,
|
|
65
|
+
newVideosCount: e.showNewVideosCount ? (l = i == null ? void 0 : i.externalMetadata) == null ? void 0 : l.childDashboardNewVideoCount : 0
|
|
66
|
+
}, n = {
|
|
67
|
+
backgroundImage: a ? `url('${a}')` : null,
|
|
68
|
+
backgroundColor: e.coverBgColor
|
|
69
|
+
}, c = xe(e.data.name, ye);
|
|
70
|
+
return /* @__PURE__ */ t.jsxs(
|
|
71
|
+
"div",
|
|
72
|
+
{
|
|
73
|
+
className: `${e.themeColor ? j.hasThemeColor : "border"} d-flex position-relative ${e.className} ${j.widgetItem} ${e.isSelected ? "border-success border-2" : ""} ${e.highlightOnHover && !e.themeColor ? "bg-light-blue-hover" : ""}`,
|
|
74
|
+
style: e.themeColor ? { "--themeColor": e.themeColor } : {},
|
|
75
|
+
id: `${e.data.id}-${_e.getRandomInt()}`,
|
|
76
|
+
children: [
|
|
77
|
+
e.isSelected && /* @__PURE__ */ t.jsx("div", { className: `${j.selectedMask} border-2` }),
|
|
78
|
+
/* @__PURE__ */ t.jsxs("div", { className: `${j.imagePanel} ${e.isLarge ? j.large : ""}`, children: [
|
|
79
|
+
e.isSelected && !e.hideCheckmark && /* @__PURE__ */ t.jsx("div", { className: j.selected, children: /* @__PURE__ */ t.jsx(ze, { svg: We, svgSize: Ne.Large, textVariant: "white", variant: "green" }) }),
|
|
80
|
+
a && /* @__PURE__ */ t.jsx(
|
|
81
|
+
"div",
|
|
82
|
+
{
|
|
83
|
+
className: Be(
|
|
84
|
+
j.image,
|
|
85
|
+
e.imageClassName,
|
|
86
|
+
!e.coverBgColor && e.showFallbackBackgroundColour && c
|
|
87
|
+
),
|
|
88
|
+
style: n
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
!e.hideFallback && /* @__PURE__ */ t.jsx(
|
|
92
|
+
W,
|
|
93
|
+
{
|
|
94
|
+
type: E.Subject,
|
|
95
|
+
extraClasses: e.isLarge ? j.large : ""
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
] }),
|
|
99
|
+
e.isComingSoon ? /* @__PURE__ */ t.jsx(Ot, { ...s }) : /* @__PURE__ */ t.jsx(Dt, { ...s })
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
function Le(e) {
|
|
105
|
+
var i;
|
|
106
|
+
const a = e.getChildAppLink ? e.getChildAppLink(e.data) : null;
|
|
107
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, { children: a ? /* @__PURE__ */ t.jsx(
|
|
108
|
+
v,
|
|
109
|
+
{
|
|
110
|
+
className: j.appLink,
|
|
111
|
+
appLink: a,
|
|
112
|
+
analyticsData: e.analyticsData,
|
|
113
|
+
analyticsOptions: e.analyticsOptions,
|
|
114
|
+
appLinkOptions: (i = e.getChildAppLinkOptions) == null ? void 0 : i.call(e),
|
|
115
|
+
children: /* @__PURE__ */ t.jsx(ie, { ...e })
|
|
116
|
+
}
|
|
117
|
+
) : /* @__PURE__ */ t.jsx(ie, { ...e }) });
|
|
118
|
+
}
|
|
119
|
+
function wt(e) {
|
|
120
|
+
var s, n, c, l;
|
|
121
|
+
const a = {
|
|
122
|
+
...e.analyticsData,
|
|
123
|
+
id: (s = e.data) == null ? void 0 : s.id,
|
|
124
|
+
name: (n = e.data) == null ? void 0 : n.name
|
|
125
|
+
}, i = {
|
|
126
|
+
location: k.ClassificationListItem,
|
|
127
|
+
...e.analyticsOptions,
|
|
128
|
+
actionType: P.Click,
|
|
129
|
+
entity: L.Company,
|
|
130
|
+
descriptor: C.Cover
|
|
131
|
+
};
|
|
132
|
+
return /* @__PURE__ */ t.jsx(
|
|
133
|
+
Le,
|
|
134
|
+
{
|
|
135
|
+
...e,
|
|
136
|
+
analyticsData: a,
|
|
137
|
+
analyticsOptions: i,
|
|
138
|
+
coverUrl: (c = e.data.logo) == null ? void 0 : c.url,
|
|
139
|
+
coverBgColor: (l = e.data.metadata) == null ? void 0 : l.colour
|
|
140
|
+
}
|
|
141
|
+
);
|
|
142
|
+
}
|
|
143
|
+
function Ft(e) {
|
|
144
|
+
return /* @__PURE__ */ t.jsx(b, { as: "li", sm: 6, md: e.useLargeStyle ? 6 : 4, lg: e.useLargeStyle ? 4 : 3, children: /* @__PURE__ */ t.jsx("div", { className: "position-relative px-1 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
145
|
+
wt,
|
|
146
|
+
{
|
|
147
|
+
data: e.item,
|
|
148
|
+
getChildAppLink: e.appLinks.getCompanyAppLink,
|
|
149
|
+
getChildAppLinkOptions: () => {
|
|
150
|
+
var a, i;
|
|
151
|
+
return (i = (a = e.appLinks).getCompanyAppLinkOptions) == null ? void 0 : i.call(a, e.item);
|
|
152
|
+
},
|
|
153
|
+
analyticsData: {
|
|
154
|
+
itemIndex: e.itemIndex,
|
|
155
|
+
search: {
|
|
156
|
+
query: e.queryParams.query,
|
|
157
|
+
score: e.item._score,
|
|
158
|
+
maxScore: e.item._maxScore,
|
|
159
|
+
featured: e.item._featured
|
|
160
|
+
},
|
|
161
|
+
pagePositionIndex: 0
|
|
162
|
+
},
|
|
163
|
+
isLarge: e.useLargeStyle
|
|
164
|
+
}
|
|
165
|
+
) }) });
|
|
166
|
+
}
|
|
167
|
+
const Rt = "_videoList_laz3z_1", Z = {
|
|
168
|
+
videoList: Rt
|
|
169
|
+
}, M = "search.exchangeVideoGroup", oe = 3;
|
|
170
|
+
function Et(e) {
|
|
171
|
+
const a = e.item.showCount >= oe ? oe : e.item.showCount;
|
|
172
|
+
function i() {
|
|
173
|
+
return e.pagePositionIndex === 0 ? "border-bottom pb-1 mb-3" : "border-top border-bottom pt-3 mt-2 pb-1 mb-3";
|
|
174
|
+
}
|
|
175
|
+
const s = Ie.getCurrentAppLink(), n = s.params ?? {};
|
|
176
|
+
let c = (n == null ? void 0 : n.source) ?? [];
|
|
177
|
+
c && !Array.isArray(c) && (c = [c]);
|
|
178
|
+
const l = {
|
|
179
|
+
...s,
|
|
180
|
+
params: {
|
|
181
|
+
...n,
|
|
182
|
+
source: [...c, Qe.ExchangeArchive]
|
|
183
|
+
}
|
|
184
|
+
}, r = {
|
|
185
|
+
query: e.queryParams.query,
|
|
186
|
+
itemIndex: e.itemIndex,
|
|
187
|
+
pagePositionIndex: e.pagePositionIndex
|
|
188
|
+
}, o = {
|
|
189
|
+
entity: L.SearchResults,
|
|
190
|
+
location: k.ExchangeSearchGroupItem,
|
|
191
|
+
actionType: P.Click,
|
|
192
|
+
descriptor: Ve.ExchangeArchive
|
|
193
|
+
};
|
|
194
|
+
return /* @__PURE__ */ t.jsxs("div", { className: i(), children: [
|
|
195
|
+
/* @__PURE__ */ t.jsx(
|
|
196
|
+
v,
|
|
197
|
+
{
|
|
198
|
+
appLink: l,
|
|
199
|
+
analyticsData: r,
|
|
200
|
+
analyticsOptions: o,
|
|
201
|
+
children: /* @__PURE__ */ t.jsx("h2", { className: "h4", children: /* @__PURE__ */ t.jsx(y, { namespace: M, phrase: "heading" }) })
|
|
202
|
+
}
|
|
203
|
+
),
|
|
204
|
+
/* @__PURE__ */ t.jsxs("p", { children: [
|
|
205
|
+
/* @__PURE__ */ t.jsx(y, { namespace: M, phrase: "message" }),
|
|
206
|
+
" ",
|
|
207
|
+
/* @__PURE__ */ t.jsx(
|
|
208
|
+
v,
|
|
209
|
+
{
|
|
210
|
+
appLink: e.appLinks.searchSettings,
|
|
211
|
+
className: "text-info",
|
|
212
|
+
analyticsData: r,
|
|
213
|
+
analyticsOptions: {
|
|
214
|
+
...o,
|
|
215
|
+
descriptor: C.Settings
|
|
216
|
+
},
|
|
217
|
+
children: /* @__PURE__ */ t.jsx(y, { namespace: M, phrase: "searchSettings" })
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
|
+
"."
|
|
221
|
+
] }),
|
|
222
|
+
/* @__PURE__ */ t.jsx("div", { className: `position-relative ${Z.videoList}`, children: e.item.videos.slice(0, a).map((h, u) => /* @__PURE__ */ t.jsx(
|
|
223
|
+
X,
|
|
224
|
+
{
|
|
225
|
+
video: h,
|
|
226
|
+
getVideoAppLink: e.appLinks.getVideoAppLink,
|
|
227
|
+
presentationAudiences: e.audiences,
|
|
228
|
+
analyticsData: {
|
|
229
|
+
search: {
|
|
230
|
+
query: e.queryParams.query,
|
|
231
|
+
score: h._score,
|
|
232
|
+
maxScore: h._maxScore,
|
|
233
|
+
featured: h._featured
|
|
234
|
+
},
|
|
235
|
+
pagePositionIndex: e.pagePositionIndex
|
|
236
|
+
},
|
|
237
|
+
hasPermissions: e.hasPermissions,
|
|
238
|
+
commonVideoProps: e.commonVideoProps
|
|
239
|
+
},
|
|
240
|
+
u
|
|
241
|
+
)) }),
|
|
242
|
+
/* @__PURE__ */ t.jsx("div", { className: "text-center py-2", children: /* @__PURE__ */ t.jsx(
|
|
243
|
+
v,
|
|
244
|
+
{
|
|
245
|
+
className: "text-secondary",
|
|
246
|
+
appLink: l,
|
|
247
|
+
analyticsData: r,
|
|
248
|
+
analyticsOptions: o,
|
|
249
|
+
children: /* @__PURE__ */ t.jsx(y, { namespace: M, phrase: "seeMore" })
|
|
250
|
+
}
|
|
251
|
+
) })
|
|
252
|
+
] });
|
|
253
|
+
}
|
|
254
|
+
const qt = "_guidance_1fvpd_30", Ht = "_responsiveGuidance_1fvpd_41", Ut = "_description_1fvpd_56", Mt = "_details_1fvpd_82", G = {
|
|
255
|
+
guidance: qt,
|
|
256
|
+
responsiveGuidance: Ht,
|
|
257
|
+
description: Ut,
|
|
258
|
+
details: Mt
|
|
259
|
+
};
|
|
260
|
+
Ce.defaultProps = {
|
|
261
|
+
newDurationStyle: !0,
|
|
262
|
+
badgePosition: "thumbnail"
|
|
263
|
+
};
|
|
264
|
+
function Ce(e) {
|
|
265
|
+
var c, l, r, o, h, u;
|
|
266
|
+
const a = (l = (c = e.video) == null ? void 0 : c.subjectPresentationAudiences) == null ? void 0 : l.data, i = ce(a, e.presentationAudiences), s = pe.mergeOptions(e.analyticsOptions, {
|
|
267
|
+
location: k.ClassificationHero,
|
|
268
|
+
entity: F.getAnalyticsEntity(e.video)
|
|
269
|
+
}), n = z.useRef(null);
|
|
270
|
+
return e.video ? /* @__PURE__ */ t.jsxs(Y, { children: [
|
|
271
|
+
/* @__PURE__ */ t.jsx(b, { xs: 12, md: 6, children: /* @__PURE__ */ t.jsx("div", { ref: n, children: /* @__PURE__ */ t.jsx(
|
|
272
|
+
Je,
|
|
273
|
+
{
|
|
274
|
+
analyticsOptions: s,
|
|
275
|
+
video: e.video,
|
|
276
|
+
appLink: (r = e.getVideoAppLink) == null ? void 0 : r.call(e, e.video, {}),
|
|
277
|
+
imageOptions: { size: w.Medium },
|
|
278
|
+
textPosition: Ke.Independent,
|
|
279
|
+
type: "static",
|
|
280
|
+
audience: e.badgePosition === "thumbnail" ? i : null,
|
|
281
|
+
hideRating: e.badgePosition === "thumbnail" ? !!i : !0,
|
|
282
|
+
commonVideoProps: e.commonVideoProps
|
|
283
|
+
}
|
|
284
|
+
) }) }),
|
|
285
|
+
/* @__PURE__ */ t.jsxs(b, { xs: 12, md: 6, className: `${G.details} position-relative`, children: [
|
|
286
|
+
/* @__PURE__ */ t.jsxs("div", { className: "d-flex justify-content-between", children: [
|
|
287
|
+
/* @__PURE__ */ t.jsxs("div", { className: "overflow-hidden", children: [
|
|
288
|
+
/* @__PURE__ */ t.jsx(
|
|
289
|
+
rt,
|
|
290
|
+
{
|
|
291
|
+
type: e.commonVideoProps.subTextType,
|
|
292
|
+
appLink: (h = (o = e.commonVideoProps).getSubTextAppLink) == null ? void 0 : h.call(o, e.video),
|
|
293
|
+
analyticsData: e.analyticsData,
|
|
294
|
+
analyticsOptions: s,
|
|
295
|
+
video: e.video,
|
|
296
|
+
className: "text-reset clamp-1"
|
|
297
|
+
}
|
|
298
|
+
),
|
|
299
|
+
/* @__PURE__ */ t.jsx(
|
|
300
|
+
et,
|
|
301
|
+
{
|
|
302
|
+
yearGroups: e.commonVideoProps.yearGroups,
|
|
303
|
+
video: e.video,
|
|
304
|
+
analyticsData: e.analyticsData,
|
|
305
|
+
analyticsOptions: s,
|
|
306
|
+
appLink: (u = e.getVideoAppLink) == null ? void 0 : u.call(e, e.video, {}),
|
|
307
|
+
titleSize: "h4",
|
|
308
|
+
showNewVideoIndicator: e.showNewVideoIndicator,
|
|
309
|
+
showPadlock: !e.commonVideoProps.hasStudentExperience,
|
|
310
|
+
titleClassName: e.titleClassName,
|
|
311
|
+
clampLevel: 2
|
|
312
|
+
}
|
|
313
|
+
)
|
|
314
|
+
] }),
|
|
315
|
+
/* @__PURE__ */ t.jsx(
|
|
316
|
+
tt,
|
|
317
|
+
{
|
|
318
|
+
analyticsData: e.analyticsData,
|
|
319
|
+
analyticsOptions: s,
|
|
320
|
+
video: e.video
|
|
321
|
+
}
|
|
322
|
+
)
|
|
323
|
+
] }),
|
|
324
|
+
e.badgePosition === "info-panel" && /* @__PURE__ */ t.jsxs(je, { className: "pb-1", children: [
|
|
325
|
+
!e.hideInteractiveBadge && /* @__PURE__ */ t.jsx(N, { type: I.Interactive, data: e.video.interactives }),
|
|
326
|
+
/* @__PURE__ */ t.jsx(N, { type: I.Rating, data: e.video.rating }),
|
|
327
|
+
/* @__PURE__ */ t.jsx(N, { type: I.ProductionYear, data: e.video.productionYear })
|
|
328
|
+
] }),
|
|
329
|
+
/* @__PURE__ */ t.jsx("p", { className: "mb-1", children: /* @__PURE__ */ t.jsx("span", { className: G.description, children: e.video.description }) }),
|
|
330
|
+
e.badgePosition === "info-panel" && /* @__PURE__ */ t.jsx(
|
|
331
|
+
Q,
|
|
332
|
+
{
|
|
333
|
+
audience: i,
|
|
334
|
+
className: "mt-1",
|
|
335
|
+
border: "dark"
|
|
336
|
+
}
|
|
337
|
+
),
|
|
338
|
+
e.showVideoGuidance && /* @__PURE__ */ t.jsx(
|
|
339
|
+
at,
|
|
340
|
+
{
|
|
341
|
+
video: e.video,
|
|
342
|
+
analyticsData: e.analyticsData,
|
|
343
|
+
analyticsOptions: s,
|
|
344
|
+
containerClassName: `d-flex ${G.guidance}`,
|
|
345
|
+
responsiveClassName: G.responsiveGuidance,
|
|
346
|
+
commonVideoProps: e.commonVideoProps
|
|
347
|
+
}
|
|
348
|
+
)
|
|
349
|
+
] })
|
|
350
|
+
] }) : /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
351
|
+
}
|
|
352
|
+
function Gt(e) {
|
|
353
|
+
return /* @__PURE__ */ t.jsx("div", { className: "pb-3", children: /* @__PURE__ */ t.jsx(
|
|
354
|
+
Ce,
|
|
355
|
+
{
|
|
356
|
+
video: e.item,
|
|
357
|
+
presentationAudiences: e.audiences,
|
|
358
|
+
getVideoAppLink: (a, i) => e.appLinks.getVideoAppLink(a, i),
|
|
359
|
+
analyticsData: {
|
|
360
|
+
search: {
|
|
361
|
+
query: e.queryParams.query,
|
|
362
|
+
score: e.item._score,
|
|
363
|
+
maxScore: e.item._maxScore,
|
|
364
|
+
featured: e.item._featured
|
|
365
|
+
},
|
|
366
|
+
pagePositionIndex: e.pagePositionIndex
|
|
367
|
+
},
|
|
368
|
+
hideInteractiveBadge: !0,
|
|
369
|
+
showVideoGuidance: F.showVideoGuidance(e.hasPermissions),
|
|
370
|
+
commonVideoProps: e.commonVideoProps
|
|
371
|
+
}
|
|
372
|
+
) });
|
|
373
|
+
}
|
|
374
|
+
const Bt = "_playlistItem_euqll_1", zt = "_playlistItemGradient_euqll_4", Wt = "_playlistMetadata_euqll_13", Xt = "_ownerAvatarContainer_euqll_24", p = {
|
|
375
|
+
playlistItem: Bt,
|
|
376
|
+
playlistItemGradient: zt,
|
|
377
|
+
playlistMetadata: Wt,
|
|
378
|
+
ownerAvatarContainer: Xt
|
|
379
|
+
};
|
|
380
|
+
var Qt = ["second", "minute", "hour", "day", "week", "month", "year"];
|
|
381
|
+
function Yt(e, a) {
|
|
382
|
+
if (a === 0)
|
|
383
|
+
return ["just now", "right now"];
|
|
384
|
+
var i = Qt[Math.floor(a / 2)];
|
|
385
|
+
return e > 1 && (i += "s"), [e + " " + i + " ago", "in " + e + " " + i];
|
|
386
|
+
}
|
|
387
|
+
var Zt = ["秒", "分钟", "小时", "天", "周", "个月", "年"];
|
|
388
|
+
function Jt(e, a) {
|
|
389
|
+
if (a === 0)
|
|
390
|
+
return ["刚刚", "片刻后"];
|
|
391
|
+
var i = Zt[~~(a / 2)];
|
|
392
|
+
return [e + " " + i + "前", e + " " + i + "后"];
|
|
393
|
+
}
|
|
394
|
+
var se = {}, ke = function(e, a) {
|
|
395
|
+
se[e] = a;
|
|
396
|
+
}, Kt = function(e) {
|
|
397
|
+
return se[e] || se.en_US;
|
|
398
|
+
}, ee = [
|
|
399
|
+
60,
|
|
400
|
+
60,
|
|
401
|
+
24,
|
|
402
|
+
7,
|
|
403
|
+
365 / 7 / 12,
|
|
404
|
+
12
|
|
405
|
+
];
|
|
406
|
+
function ea(e) {
|
|
407
|
+
return e instanceof Date ? e : !isNaN(e) || /^\d+$/.test(e) ? new Date(parseInt(e)) : (e = (e || "").trim().replace(/\.\d+/, "").replace(/-/, "/").replace(/-/, "/").replace(/(\d)T(\d)/, "$1 $2").replace(/Z/, " UTC").replace(/([+-]\d\d):?(\d\d)/, " $1$2"), new Date(e));
|
|
408
|
+
}
|
|
409
|
+
function ta(e, a) {
|
|
410
|
+
var i = e < 0 ? 1 : 0;
|
|
411
|
+
e = Math.abs(e);
|
|
412
|
+
for (var s = e, n = 0; e >= ee[n] && n < ee.length; n++)
|
|
413
|
+
e /= ee[n];
|
|
414
|
+
return e = Math.floor(e), n *= 2, e > (n === 0 ? 9 : 1) && (n += 1), a(e, n, s)[i].replace("%s", e.toString());
|
|
415
|
+
}
|
|
416
|
+
function aa(e, a) {
|
|
417
|
+
var i = /* @__PURE__ */ new Date();
|
|
418
|
+
return (+i - +ea(e)) / 1e3;
|
|
419
|
+
}
|
|
420
|
+
var ia = function(e, a, i) {
|
|
421
|
+
var s = aa(e);
|
|
422
|
+
return ta(s, Kt(a));
|
|
423
|
+
};
|
|
424
|
+
ke("en_US", Yt);
|
|
425
|
+
ke("zh_CN", Jt);
|
|
426
|
+
const sa = "playlists.playlistCount";
|
|
427
|
+
function na(e) {
|
|
428
|
+
var n, c, l;
|
|
429
|
+
if (!e)
|
|
430
|
+
return !1;
|
|
431
|
+
const a = ((n = e.videos) == null ? void 0 : n.count) ?? 0, i = ((c = e.interactives) == null ? void 0 : c.count) ?? 0, s = ((l = e.clips) == null ? void 0 : l.count) ?? 0;
|
|
432
|
+
return a + i + s;
|
|
433
|
+
}
|
|
434
|
+
function ca(e) {
|
|
435
|
+
const a = na(e.playlist);
|
|
436
|
+
return a === !1 || Number.isNaN(a) ? /* @__PURE__ */ t.jsx(t.Fragment, {}) : /* @__PURE__ */ t.jsx("span", { className: "text-shadow font-size-sm", children: /* @__PURE__ */ t.jsx(y, { namespace: sa, phrase: "count", options: { smartCount: a } }) });
|
|
437
|
+
}
|
|
438
|
+
const la = "_avatar_obb0e_1", ra = {
|
|
439
|
+
avatar: la
|
|
440
|
+
};
|
|
441
|
+
function oa() {
|
|
442
|
+
return /* @__PURE__ */ t.jsx("div", { className: ra.avatar, children: /* @__PURE__ */ t.jsx(Te, {}) });
|
|
443
|
+
}
|
|
444
|
+
function da(e) {
|
|
445
|
+
var n, c, l;
|
|
446
|
+
const { _liteOwner: a } = e.playlist;
|
|
447
|
+
if ((n = e.playlist._isClickViewCurated) != null && n.value)
|
|
448
|
+
return /* @__PURE__ */ t.jsx(oa, {});
|
|
449
|
+
if (!(a != null && a.id) || !((c = e.currentUser) != null && c.id))
|
|
450
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
451
|
+
if (a.id.toString() === e.currentUser.id.toString())
|
|
452
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
453
|
+
const s = typeof a.avatar == "string" ? a.avatar : (l = a.avatar) == null ? void 0 : l.url;
|
|
454
|
+
return /* @__PURE__ */ t.jsx(
|
|
455
|
+
$e,
|
|
456
|
+
{
|
|
457
|
+
imageUrl: s,
|
|
458
|
+
imageCdnUrl: e.imageCdnUrl,
|
|
459
|
+
initials: Oe.getInitials(a.name, a.surname)
|
|
460
|
+
}
|
|
461
|
+
);
|
|
462
|
+
}
|
|
463
|
+
const ma = "playlists.playlistList";
|
|
464
|
+
Ae.defaultProps = {
|
|
465
|
+
itemStyle: "square"
|
|
466
|
+
};
|
|
467
|
+
function Ae(e) {
|
|
468
|
+
var h, u;
|
|
469
|
+
const a = ue.createUrl(e.data.cover && e.data.cover.url, {
|
|
470
|
+
size: w.Medium,
|
|
471
|
+
resizeType: De.Cover
|
|
472
|
+
}), i = e.data.subjectPresentationAudiences && e.data.subjectPresentationAudiences.data, s = ce(i, e.presentationAudiences);
|
|
473
|
+
let n = p.playlistItem;
|
|
474
|
+
const c = !!a || !!e.showFallbackImage;
|
|
475
|
+
c && (n += ` ${p.playlistItemGradient}`), !c && e.bgColourClassNames && (n += ` ${p.playlistItem} ${xe(e.data.name, e.bgColourClassNames)}`), e.itemStyle === "round" && (n += " rounded-3 overflow-hidden"), e.itemStyle === "round-left" && (n += " rounded-start-lg overflow-hidden");
|
|
476
|
+
const l = {
|
|
477
|
+
...e.analyticsData,
|
|
478
|
+
id: (h = e.data) == null ? void 0 : h.id,
|
|
479
|
+
name: (u = e.data) == null ? void 0 : u.name
|
|
480
|
+
}, r = {
|
|
481
|
+
...e.analyticsOptions,
|
|
482
|
+
entity: L.Playlist
|
|
483
|
+
}, o = () => {
|
|
484
|
+
var m;
|
|
485
|
+
return !e.data.contentModifiedDate || (m = e.data._isClickViewCurated) != null && m.value ? "" : he.getPhrase(ma, "lastUpdated", {
|
|
486
|
+
timeago: ia(we.convertUTCToLocal(e.data.contentModifiedDate))
|
|
487
|
+
});
|
|
488
|
+
};
|
|
489
|
+
return /* @__PURE__ */ t.jsx(
|
|
490
|
+
v,
|
|
491
|
+
{
|
|
492
|
+
appLink: e.appLink,
|
|
493
|
+
analyticsData: l,
|
|
494
|
+
analyticsOptions: r,
|
|
495
|
+
title: o(),
|
|
496
|
+
children: /* @__PURE__ */ t.jsxs(ne, { data: a, alt: e.data.name, className: n, children: [
|
|
497
|
+
!!e.showFallbackImage && /* @__PURE__ */ t.jsx(W, { type: E.Playlist }),
|
|
498
|
+
/* @__PURE__ */ t.jsxs("div", { className: `text-white ${p.playlistMetadata}`, children: [
|
|
499
|
+
!!e.showCount && /* @__PURE__ */ t.jsx(ca, { playlist: e.data }),
|
|
500
|
+
/* @__PURE__ */ t.jsx("h5", { className: `mb-0 ${e.titleClassName || ""}`, children: /* @__PURE__ */ t.jsx("span", { className: "text-shadow clamp-2", children: e.data.name }) }),
|
|
501
|
+
!!i && !!i.length && !!s && /* @__PURE__ */ t.jsx(
|
|
502
|
+
Q,
|
|
503
|
+
{
|
|
504
|
+
className: `${e.audienceLabelClass ? e.audienceLabelClass : ""} mt-1`,
|
|
505
|
+
audience: s,
|
|
506
|
+
border: "white"
|
|
507
|
+
}
|
|
508
|
+
)
|
|
509
|
+
] }),
|
|
510
|
+
!!e.showOwner && !!e.imageCdnUrl && /* @__PURE__ */ t.jsx("div", { className: p.ownerAvatarContainer, children: /* @__PURE__ */ t.jsx(
|
|
511
|
+
da,
|
|
512
|
+
{
|
|
513
|
+
playlist: e.data,
|
|
514
|
+
currentUser: e.currentUser,
|
|
515
|
+
imageCdnUrl: e.imageCdnUrl
|
|
516
|
+
}
|
|
517
|
+
) })
|
|
518
|
+
] })
|
|
519
|
+
}
|
|
520
|
+
);
|
|
521
|
+
}
|
|
522
|
+
P.Click, L.Playlist, k.PlaylistListItem, C.Cover;
|
|
523
|
+
const ua = "_videoList_sz480_1", ha = {
|
|
524
|
+
videoList: ua
|
|
525
|
+
}, ga = "search.playlistWithVideos";
|
|
526
|
+
function xa() {
|
|
527
|
+
const e = R();
|
|
528
|
+
return e.xl || e.xxl ? 3 : 2;
|
|
529
|
+
}
|
|
530
|
+
function ya(e) {
|
|
531
|
+
const a = xa(), i = e.playlist.videos.data.slice(0, a), s = {
|
|
532
|
+
actionType: P.Click,
|
|
533
|
+
entity: L.Playlist,
|
|
534
|
+
location: k.PlaylistWithVideos
|
|
535
|
+
}, n = {
|
|
536
|
+
...e.analyticsData,
|
|
537
|
+
id: e.playlist.id,
|
|
538
|
+
name: e.playlist.name
|
|
539
|
+
};
|
|
540
|
+
return /* @__PURE__ */ t.jsx("div", { className: "ps-2 py-2", children: /* @__PURE__ */ t.jsxs(Y, { className: "g-0 border rounded-3", children: [
|
|
541
|
+
/* @__PURE__ */ t.jsx(b, { xs: 4, lg: 3, className: "pe-3", children: /* @__PURE__ */ t.jsx(
|
|
542
|
+
Ae,
|
|
543
|
+
{
|
|
544
|
+
appLink: e.playlistAppLink,
|
|
545
|
+
analyticsData: e.analyticsData,
|
|
546
|
+
analyticsOptions: {
|
|
547
|
+
...s,
|
|
548
|
+
descriptor: C.Cover
|
|
549
|
+
},
|
|
550
|
+
data: e.playlist,
|
|
551
|
+
presentationAudiences: e.presentationAudiences,
|
|
552
|
+
bgColourClassNames: ye,
|
|
553
|
+
itemStyle: "round-left",
|
|
554
|
+
imageCdnUrl: e.commonVideoProps.imageCdnUrl,
|
|
555
|
+
currentUser: e.currentUser,
|
|
556
|
+
showCount: !1,
|
|
557
|
+
showOwner: !0
|
|
558
|
+
}
|
|
559
|
+
) }),
|
|
560
|
+
/* @__PURE__ */ t.jsx(b, { xs: 8, lg: 9, children: /* @__PURE__ */ t.jsxs("div", { className: "d-flex justify-content-between", children: [
|
|
561
|
+
/* @__PURE__ */ t.jsx("div", { className: `pt-3 mb-n2 ${ha.videoList}`, children: i == null ? void 0 : i.map((c) => {
|
|
562
|
+
const l = {
|
|
563
|
+
...n,
|
|
564
|
+
videoId: c.id,
|
|
565
|
+
videoName: c.name
|
|
566
|
+
};
|
|
567
|
+
return /* @__PURE__ */ t.jsx("div", { className: "mb-2", children: /* @__PURE__ */ t.jsx(
|
|
568
|
+
X,
|
|
569
|
+
{
|
|
570
|
+
video: c,
|
|
571
|
+
getVideoAppLink: e.getVideoAppLink,
|
|
572
|
+
analyticsData: l,
|
|
573
|
+
analyticsOptions: {
|
|
574
|
+
entity: L.Video,
|
|
575
|
+
location: k.PlaylistWithVideos
|
|
576
|
+
},
|
|
577
|
+
size: "sm",
|
|
578
|
+
hasPermissions: e.hasPermissions,
|
|
579
|
+
hideVideoGuidance: !0,
|
|
580
|
+
commonVideoProps: e.commonVideoProps
|
|
581
|
+
}
|
|
582
|
+
) }, c.id);
|
|
583
|
+
}) }),
|
|
584
|
+
/* @__PURE__ */ t.jsx("div", { className: "text-end pt-3 pe-3", children: /* @__PURE__ */ t.jsx(
|
|
585
|
+
v,
|
|
586
|
+
{
|
|
587
|
+
className: "info-link fw-semibold",
|
|
588
|
+
appLink: e.playlistAppLink,
|
|
589
|
+
analyticsData: n,
|
|
590
|
+
analyticsOptions: {
|
|
591
|
+
...s,
|
|
592
|
+
descriptor: C.Link
|
|
593
|
+
},
|
|
594
|
+
children: /* @__PURE__ */ t.jsx(y, { namespace: ga, phrase: "seeAllVideos" })
|
|
595
|
+
}
|
|
596
|
+
) })
|
|
597
|
+
] }) })
|
|
598
|
+
] }) });
|
|
599
|
+
}
|
|
600
|
+
function fa(e) {
|
|
601
|
+
return /* @__PURE__ */ t.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ t.jsx(
|
|
602
|
+
ya,
|
|
603
|
+
{
|
|
604
|
+
playlist: e.item,
|
|
605
|
+
playlistAppLink: e.appLinks.getPlaylistAppLink(e.item),
|
|
606
|
+
presentationAudiences: e.audiences,
|
|
607
|
+
analyticsData: {
|
|
608
|
+
search: {
|
|
609
|
+
query: e.queryParams.query,
|
|
610
|
+
score: e.item._score,
|
|
611
|
+
maxScore: e.item._maxScore,
|
|
612
|
+
featured: e.item._featured
|
|
613
|
+
},
|
|
614
|
+
pagePositionIndex: e.pagePositionIndex
|
|
615
|
+
},
|
|
616
|
+
currentUser: e.currentUser,
|
|
617
|
+
preloadImage: !0,
|
|
618
|
+
getVideoAppLink: e.appLinks.getVideoAppLink,
|
|
619
|
+
hasPermissions: e.hasPermissions,
|
|
620
|
+
commonVideoProps: e.commonVideoProps
|
|
621
|
+
}
|
|
622
|
+
) });
|
|
623
|
+
}
|
|
624
|
+
const ja = "_labelContainer_dqih5_1", va = "_labelContainerOverlay_dqih5_15", La = "_hoverActive_dqih5_23", Ca = "_mask_dqih5_37", ka = "_largeHoverTitle_dqih5_50", Aa = "_smallHoverTitle_dqih5_69", ba = "_largeHoverDescription_dqih5_99", Pa = "_hasTableOfContents_dqih5_141", Sa = "_smallHoverDescription_dqih5_194", A = {
|
|
625
|
+
labelContainer: ja,
|
|
626
|
+
labelContainerOverlay: va,
|
|
627
|
+
hoverActive: La,
|
|
628
|
+
mask: Ca,
|
|
629
|
+
largeHoverTitle: ka,
|
|
630
|
+
smallHoverTitle: Aa,
|
|
631
|
+
largeHoverDescription: ba,
|
|
632
|
+
hasTableOfContents: Pa,
|
|
633
|
+
smallHoverDescription: Sa
|
|
634
|
+
};
|
|
635
|
+
function _a(e) {
|
|
636
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `py-3 mx-2 px-2 rounded bg-white text-center ${A.mask} d-flex flex-column align-items-center`, children: [
|
|
637
|
+
/* @__PURE__ */ t.jsx("h3", { className: `fw-semibold mb-0 ${A.hoverTitle} ${e.isSmall ? A.smallHoverTitle : A.largeHoverTitle}`, children: /* @__PURE__ */ t.jsx("span", { className: "clamp-3", children: e.series.name }) }),
|
|
638
|
+
!!e.series.description && /* @__PURE__ */ t.jsx("p", { className: `${e.hasTableOfContents ? A.hasTableOfContents : ""} ${A.hoverDescription} ${e.isSmall ? A.smallHoverDescription : A.largeHoverDescription} mb-0`, children: e.series.description }),
|
|
639
|
+
/* @__PURE__ */ t.jsx("div", { className: `${A.labelContainerOverlay}`, children: e.mergedAudience ? /* @__PURE__ */ t.jsx(Q, { audience: e.mergedAudience, border: "dark", className: "mt-2 w-fit" }) : /* @__PURE__ */ t.jsx(N, { type: I.Rating, data: e.series.rating, className: "mt-2" }) })
|
|
640
|
+
] });
|
|
641
|
+
}
|
|
642
|
+
function Na(e) {
|
|
643
|
+
const [a, i] = ht({ className: A.hoverActive }), s = e.series && e.series.subjectPresentationAudiences && e.series.subjectPresentationAudiences.data || [], n = ce(s, e.presentationAudiences), c = !!(s && s.length && n);
|
|
644
|
+
return /* @__PURE__ */ t.jsx("div", { ref: a, children: /* @__PURE__ */ t.jsxs(
|
|
645
|
+
ne,
|
|
646
|
+
{
|
|
647
|
+
data: e.series.tallPoster,
|
|
648
|
+
alt: e.series.name,
|
|
649
|
+
imageType: ge.TallPosters,
|
|
650
|
+
preload: e.preloadImage,
|
|
651
|
+
imageOptions: { size: w.Large },
|
|
652
|
+
imageClassName: e.imageClass ? e.imageClass : "rounded-3",
|
|
653
|
+
children: [
|
|
654
|
+
i && /* @__PURE__ */ t.jsx(
|
|
655
|
+
_a,
|
|
656
|
+
{
|
|
657
|
+
isSmall: e.isSmall,
|
|
658
|
+
series: e.series,
|
|
659
|
+
mergedAudience: s && s.length ? n : null,
|
|
660
|
+
hasTableOfContents: e.hasTableOfContents
|
|
661
|
+
}
|
|
662
|
+
),
|
|
663
|
+
/* @__PURE__ */ t.jsx(W, { type: E.Series }),
|
|
664
|
+
/* @__PURE__ */ t.jsx("div", { className: `position-absolute text-white text-shadow ${A.labelContainer}`, children: c ? /* @__PURE__ */ t.jsx(Q, { audience: n, border: "white" }) : /* @__PURE__ */ t.jsx(N, { type: I.Rating, data: e.series.rating }) })
|
|
665
|
+
]
|
|
666
|
+
}
|
|
667
|
+
) });
|
|
668
|
+
}
|
|
669
|
+
const Ia = "_videoList_sz480_1", Va = {
|
|
670
|
+
videoList: Ia
|
|
671
|
+
}, pa = "search.seriesWithVideos";
|
|
672
|
+
function Ta() {
|
|
673
|
+
const e = R();
|
|
674
|
+
return e.xl || e.xxl ? 5 : e.lg || e.md ? 4 : 3;
|
|
675
|
+
}
|
|
676
|
+
function $a(e) {
|
|
677
|
+
const a = Ta(), i = e.series.videos.data.slice(0, a), s = {
|
|
678
|
+
actionType: P.Click,
|
|
679
|
+
entity: L.Series,
|
|
680
|
+
location: k.SeriesWithVideos
|
|
681
|
+
}, n = {
|
|
682
|
+
...e.analyticsData,
|
|
683
|
+
id: e.series.id,
|
|
684
|
+
name: e.series.name
|
|
685
|
+
};
|
|
686
|
+
return /* @__PURE__ */ t.jsx("div", { className: "ps-2 py-2", children: /* @__PURE__ */ t.jsxs(Y, { className: "g-0 border rounded-3", children: [
|
|
687
|
+
/* @__PURE__ */ t.jsx(b, { xs: 4, lg: 3, className: "pe-3", children: /* @__PURE__ */ t.jsx(
|
|
688
|
+
v,
|
|
689
|
+
{
|
|
690
|
+
appLink: e.seriesAppLink,
|
|
691
|
+
className: "position-relative",
|
|
692
|
+
analyticsData: n,
|
|
693
|
+
analyticsOptions: {
|
|
694
|
+
...s,
|
|
695
|
+
descriptor: C.TallPoster
|
|
696
|
+
},
|
|
697
|
+
children: /* @__PURE__ */ t.jsx(
|
|
698
|
+
Na,
|
|
699
|
+
{
|
|
700
|
+
series: e.series,
|
|
701
|
+
presentationAudiences: e.presentationAudiences,
|
|
702
|
+
preloadImage: e.preloadImage,
|
|
703
|
+
imageClass: "rounded-start-lg"
|
|
704
|
+
}
|
|
705
|
+
)
|
|
706
|
+
}
|
|
707
|
+
) }),
|
|
708
|
+
/* @__PURE__ */ t.jsx(b, { xs: 8, lg: 9, children: /* @__PURE__ */ t.jsxs("div", { className: "d-flex justify-content-between", children: [
|
|
709
|
+
/* @__PURE__ */ t.jsx("div", { className: `pt-3 mb-n2 ${Va.videoList}`, children: i == null ? void 0 : i.map((c) => {
|
|
710
|
+
const l = {
|
|
711
|
+
...n,
|
|
712
|
+
videoId: c.id,
|
|
713
|
+
videoName: c.name
|
|
714
|
+
};
|
|
715
|
+
return c = {
|
|
716
|
+
...c,
|
|
717
|
+
series: e.series
|
|
718
|
+
}, /* @__PURE__ */ t.jsx("div", { className: "mb-2", children: /* @__PURE__ */ t.jsx(
|
|
719
|
+
X,
|
|
720
|
+
{
|
|
721
|
+
video: c,
|
|
722
|
+
getVideoAppLink: e.getVideoAppLink,
|
|
723
|
+
analyticsData: l,
|
|
724
|
+
analyticsOptions: {
|
|
725
|
+
entity: L.Video,
|
|
726
|
+
location: k.SeriesWithVideos
|
|
727
|
+
},
|
|
728
|
+
size: "sm",
|
|
729
|
+
hasPermissions: e.hasPermissions,
|
|
730
|
+
hideVideoGuidance: !0,
|
|
731
|
+
commonVideoProps: e.commonVideoProps
|
|
732
|
+
}
|
|
733
|
+
) }, c.id);
|
|
734
|
+
}) }),
|
|
735
|
+
/* @__PURE__ */ t.jsx("div", { className: "text-end pt-3 pe-3", children: /* @__PURE__ */ t.jsx(
|
|
736
|
+
v,
|
|
737
|
+
{
|
|
738
|
+
className: "info-link fw-semibold",
|
|
739
|
+
appLink: e.seriesAppLink,
|
|
740
|
+
analyticsData: n,
|
|
741
|
+
analyticsOptions: {
|
|
742
|
+
...s,
|
|
743
|
+
descriptor: C.Link
|
|
744
|
+
},
|
|
745
|
+
children: /* @__PURE__ */ t.jsx(y, { namespace: pa, phrase: "seeAllVideos" })
|
|
746
|
+
}
|
|
747
|
+
) })
|
|
748
|
+
] }) })
|
|
749
|
+
] }) });
|
|
750
|
+
}
|
|
751
|
+
function Oa(e) {
|
|
752
|
+
return /* @__PURE__ */ t.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ t.jsx(
|
|
753
|
+
$a,
|
|
754
|
+
{
|
|
755
|
+
presentationAudiences: e.audiences,
|
|
756
|
+
series: e.item,
|
|
757
|
+
seriesAppLink: e.appLinks.getSeriesAppLink(e.item),
|
|
758
|
+
getVideoAppLink: e.appLinks.getVideoAppLink,
|
|
759
|
+
analyticsData: {
|
|
760
|
+
search: {
|
|
761
|
+
query: e.queryParams.query,
|
|
762
|
+
score: e.item._score,
|
|
763
|
+
maxScore: e.item._maxScore,
|
|
764
|
+
featured: e.item._featured
|
|
765
|
+
},
|
|
766
|
+
pagePositionIndex: e.pagePositionIndex
|
|
767
|
+
},
|
|
768
|
+
preloadImage: !0,
|
|
769
|
+
hasPermissions: e.hasPermissions,
|
|
770
|
+
commonVideoProps: e.commonVideoProps
|
|
771
|
+
}
|
|
772
|
+
) });
|
|
773
|
+
}
|
|
774
|
+
const Da = "search.collectionVideoList";
|
|
775
|
+
function wa() {
|
|
776
|
+
const e = R();
|
|
777
|
+
return e.xs ? 2 : e.sm ? 1 : 3;
|
|
778
|
+
}
|
|
779
|
+
function Fa(e) {
|
|
780
|
+
const a = wa(), i = {
|
|
781
|
+
analyticsData: e.analyticsData,
|
|
782
|
+
analyticsOptions: e.analyticsOptions
|
|
783
|
+
};
|
|
784
|
+
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
785
|
+
/* @__PURE__ */ t.jsx("ul", { className: "list-unstyled my-1", children: e.videos.slice(0, a).map((s) => {
|
|
786
|
+
var c;
|
|
787
|
+
const n = !!s.episodeNumber && !!((c = s.season) != null && c.id);
|
|
788
|
+
return /* @__PURE__ */ t.jsx("li", { className: "d-flex align-items-center", children: /* @__PURE__ */ t.jsxs(
|
|
789
|
+
v,
|
|
790
|
+
{
|
|
791
|
+
...i,
|
|
792
|
+
className: "clamp-1",
|
|
793
|
+
appLink: e.getVideoAppLink(s),
|
|
794
|
+
children: [
|
|
795
|
+
n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
796
|
+
/* @__PURE__ */ t.jsx(ot, { video: s }),
|
|
797
|
+
" "
|
|
798
|
+
] }),
|
|
799
|
+
s.name
|
|
800
|
+
]
|
|
801
|
+
}
|
|
802
|
+
) }, `${e.collectionId}:${s.id}`);
|
|
803
|
+
}) }),
|
|
804
|
+
/* @__PURE__ */ t.jsx(
|
|
805
|
+
v,
|
|
806
|
+
{
|
|
807
|
+
...i,
|
|
808
|
+
className: "info-link",
|
|
809
|
+
appLink: e.appLink,
|
|
810
|
+
children: /* @__PURE__ */ t.jsx(y, { namespace: Da, phrase: "seeAll" })
|
|
811
|
+
}
|
|
812
|
+
)
|
|
813
|
+
] });
|
|
814
|
+
}
|
|
815
|
+
const Ra = "_overlay_1tsto_1", Ea = {
|
|
816
|
+
overlay: Ra
|
|
817
|
+
}, qa = "search.collectionThumbnail";
|
|
818
|
+
function be(e) {
|
|
819
|
+
var h, u, m;
|
|
820
|
+
const a = R(), s = K.getSize(a, "md") === "sm", n = !!((u = (h = e.collection.videos) == null ? void 0 : h.data) != null && u.length), c = n && e.collection.videos.data.find((d) => {
|
|
821
|
+
var x;
|
|
822
|
+
return !!((x = d.thumbnail) != null && x.url);
|
|
823
|
+
});
|
|
824
|
+
function l() {
|
|
825
|
+
const d = {
|
|
826
|
+
...e.analyticsData,
|
|
827
|
+
id: e.collection.id,
|
|
828
|
+
name: e.collection.name
|
|
829
|
+
};
|
|
830
|
+
return c && (d.videoId = c.id, d.videoName = c.name), d;
|
|
831
|
+
}
|
|
832
|
+
const r = l(), o = e.collectionType === "series";
|
|
833
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `row g-0 ${s ? "" : "py-2"}`, children: [
|
|
834
|
+
/* @__PURE__ */ t.jsx(b, { ...K.getThumbnailColumns(), className: `flex-column align-items-flex-start ${s ? "pb-2 pe-2" : "mb-1 px-2"}`, children: /* @__PURE__ */ t.jsx("div", { className: `position-relative overflow-hidden ${s ? "rounded" : "rounded-3"}`, children: /* @__PURE__ */ t.jsxs(
|
|
835
|
+
ne,
|
|
836
|
+
{
|
|
837
|
+
data: c == null ? void 0 : c.thumbnail,
|
|
838
|
+
appLink: e.appLink,
|
|
839
|
+
imageType: ge.Thumbnails,
|
|
840
|
+
analyticsData: r,
|
|
841
|
+
analyticsOptions: {
|
|
842
|
+
...e.analyticsOptions,
|
|
843
|
+
descriptor: C.Thumbnail
|
|
844
|
+
},
|
|
845
|
+
children: [
|
|
846
|
+
/* @__PURE__ */ t.jsx(it, { type: e.maskType }),
|
|
847
|
+
/* @__PURE__ */ t.jsx(W, { type: e.imageFallbackType }),
|
|
848
|
+
/* @__PURE__ */ t.jsx("div", { className: `d-flex flex-column align-items-center justify-content-center text-white h-100 ${Ea.overlay}`, children: /* @__PURE__ */ t.jsx(y, { namespace: qa, phrase: "seeAll" }) })
|
|
849
|
+
]
|
|
850
|
+
}
|
|
851
|
+
) }) }),
|
|
852
|
+
/* @__PURE__ */ t.jsxs(b, { ...K.getDetailsColumns(), className: s ? "pb-2" : "px-2", children: [
|
|
853
|
+
!e.isPlugin && /* @__PURE__ */ t.jsx(
|
|
854
|
+
gt,
|
|
855
|
+
{
|
|
856
|
+
actions: e.getCollectionActions(
|
|
857
|
+
e.collection,
|
|
858
|
+
e.showActions,
|
|
859
|
+
e.collectionType,
|
|
860
|
+
e.analyticsOptions
|
|
861
|
+
),
|
|
862
|
+
className: "float-end mt-n1",
|
|
863
|
+
actionsDropdownClassName: "btn btn-link ms-1"
|
|
864
|
+
}
|
|
865
|
+
),
|
|
866
|
+
/* @__PURE__ */ t.jsx(
|
|
867
|
+
v,
|
|
868
|
+
{
|
|
869
|
+
appLink: e.appLink,
|
|
870
|
+
analyticsData: r,
|
|
871
|
+
analyticsOptions: {
|
|
872
|
+
...e.analyticsOptions,
|
|
873
|
+
descriptor: C.Title
|
|
874
|
+
},
|
|
875
|
+
children: /* @__PURE__ */ t.jsx("h5", { className: "m-0 mb-1", children: /* @__PURE__ */ t.jsx("span", { className: "clamp-1", children: e.collection.name }) })
|
|
876
|
+
}
|
|
877
|
+
),
|
|
878
|
+
o && !e.hideBadges && /* @__PURE__ */ t.jsxs(je, { children: [
|
|
879
|
+
/* @__PURE__ */ t.jsx(N, { type: I.Rating, data: e.collection.rating }),
|
|
880
|
+
/* @__PURE__ */ t.jsx(N, { type: I.ProductionYear, data: (m = e.collection.metadata) == null ? void 0 : m.year })
|
|
881
|
+
] }),
|
|
882
|
+
n && /* @__PURE__ */ t.jsx(
|
|
883
|
+
Fa,
|
|
884
|
+
{
|
|
885
|
+
collectionId: e.collection.id,
|
|
886
|
+
videos: e.collection.videos.data,
|
|
887
|
+
appLink: e.appLink,
|
|
888
|
+
analyticsData: r,
|
|
889
|
+
analyticsOptions: {
|
|
890
|
+
...e.analyticsOptions,
|
|
891
|
+
descriptor: C.Link
|
|
892
|
+
},
|
|
893
|
+
getVideoAppLink: e.getVideoAppLink
|
|
894
|
+
}
|
|
895
|
+
)
|
|
896
|
+
] })
|
|
897
|
+
] });
|
|
898
|
+
}
|
|
899
|
+
function Ha(e) {
|
|
900
|
+
return /* @__PURE__ */ t.jsx("div", { className: `position-relative ${Z.videoList}`, children: /* @__PURE__ */ t.jsx(
|
|
901
|
+
be,
|
|
902
|
+
{
|
|
903
|
+
analyticsData: {
|
|
904
|
+
search: {
|
|
905
|
+
query: e.queryParams.query,
|
|
906
|
+
score: e.item._score,
|
|
907
|
+
maxScore: e.item._maxScore,
|
|
908
|
+
featured: e.item._featured
|
|
909
|
+
},
|
|
910
|
+
pagePositionIndex: e.pagePositionIndex
|
|
911
|
+
},
|
|
912
|
+
analyticsOptions: {
|
|
913
|
+
entity: L.Playlist,
|
|
914
|
+
actionType: P.Click,
|
|
915
|
+
location: k.PlaylistListItem
|
|
916
|
+
},
|
|
917
|
+
appLink: e.appLinks.getPlaylistAppLink(e.item),
|
|
918
|
+
showActions: e.showActions,
|
|
919
|
+
collection: e.item,
|
|
920
|
+
collectionType: "playlist",
|
|
921
|
+
maskType: fe.Playlist,
|
|
922
|
+
imageFallbackType: E.PlaylistThumbnail,
|
|
923
|
+
isPlugin: e.commonVideoProps.isPlugin,
|
|
924
|
+
getVideoAppLink: e.appLinks.getVideoAppLink,
|
|
925
|
+
getCollectionActions: e.appLinks.getCollectionActions
|
|
926
|
+
}
|
|
927
|
+
) });
|
|
928
|
+
}
|
|
929
|
+
function Ua(e) {
|
|
930
|
+
return /* @__PURE__ */ t.jsx("div", { className: `position-relative ${Z.videoList}`, children: /* @__PURE__ */ t.jsx(
|
|
931
|
+
be,
|
|
932
|
+
{
|
|
933
|
+
analyticsData: {
|
|
934
|
+
search: {
|
|
935
|
+
query: e.queryParams.query,
|
|
936
|
+
score: e.item._score,
|
|
937
|
+
maxScore: e.item._maxScore,
|
|
938
|
+
featured: e.item._featured
|
|
939
|
+
},
|
|
940
|
+
pagePositionIndex: e.pagePositionIndex
|
|
941
|
+
},
|
|
942
|
+
analyticsOptions: {
|
|
943
|
+
entity: L.Series,
|
|
944
|
+
actionType: P.Click,
|
|
945
|
+
location: k.SeriesListItem
|
|
946
|
+
},
|
|
947
|
+
appLink: e.appLinks.getSeriesAppLink(e.item),
|
|
948
|
+
collectionType: "series",
|
|
949
|
+
collection: e.item,
|
|
950
|
+
showActions: e.showActions,
|
|
951
|
+
maskType: fe.Series,
|
|
952
|
+
imageFallbackType: E.SeriesThumbnail,
|
|
953
|
+
hideBadges: !0,
|
|
954
|
+
isPlugin: e.commonVideoProps.isPlugin,
|
|
955
|
+
getVideoAppLink: e.appLinks.getVideoAppLink,
|
|
956
|
+
getCollectionActions: e.appLinks.getCollectionActions
|
|
957
|
+
}
|
|
958
|
+
) });
|
|
959
|
+
}
|
|
960
|
+
var Pe = /* @__PURE__ */ ((e) => (e.Draft = "Draft", e.ComingSoon = "ComingSoon", e.Published = "Published", e))(Pe || {});
|
|
961
|
+
function Ma(e, a) {
|
|
962
|
+
var s;
|
|
963
|
+
if ((a == null ? void 0 : a.length) >= Ye.MULTI_PRESENTATION_THRESHOLD)
|
|
964
|
+
return (s = a == null ? void 0 : a.find((n) => n.id === e)) == null ? void 0 : s.name;
|
|
965
|
+
}
|
|
966
|
+
function Ga(e) {
|
|
967
|
+
var c, l, r, o, h, u, m, d, x, g, f, V;
|
|
968
|
+
const a = ((c = e.data) == null ? void 0 : c.status) === Pe.ComingSoon, i = Ma(e.data.presentationId, e == null ? void 0 : e.availablePresentations), s = {
|
|
969
|
+
...e.analyticsData,
|
|
970
|
+
id: ((l = e.analyticsData) == null ? void 0 : l.id) || ((r = e.data) == null ? void 0 : r.id),
|
|
971
|
+
name: (o = e.data) == null ? void 0 : o.name,
|
|
972
|
+
presentationId: ((h = e.analyticsData) == null ? void 0 : h.presentationId) || e.data.presentationId,
|
|
973
|
+
comingSoon: !!a
|
|
974
|
+
}, n = {
|
|
975
|
+
location: k.ClassificationListItem,
|
|
976
|
+
entity: L.Classification,
|
|
977
|
+
...e.analyticsOptions,
|
|
978
|
+
actionType: P.Click,
|
|
979
|
+
descriptor: C.Cover
|
|
980
|
+
};
|
|
981
|
+
return /* @__PURE__ */ t.jsx(
|
|
982
|
+
Le,
|
|
983
|
+
{
|
|
984
|
+
...e,
|
|
985
|
+
analyticsData: s,
|
|
986
|
+
analyticsOptions: n,
|
|
987
|
+
coverUrl: (u = e.data.cover) == null ? void 0 : u.url,
|
|
988
|
+
coverBgColor: (d = (m = e.data) == null ? void 0 : m.metadata) == null ? void 0 : d.backgroundColor,
|
|
989
|
+
subtitle: ((x = e.getSubtitle) == null ? void 0 : x.call(e, e.data)) || i,
|
|
990
|
+
isComingSoon: a,
|
|
991
|
+
themeColor: (g = e.shouldHighlight) != null && g.call(e, e.data) ? ((V = (f = e.data) == null ? void 0 : f.metadata) == null ? void 0 : V.backgroundColor) ?? "" : ""
|
|
992
|
+
}
|
|
993
|
+
);
|
|
994
|
+
}
|
|
995
|
+
const Ba = Fe.memo(Ga);
|
|
996
|
+
P.Click, L.UserSetting, C.Tile;
|
|
997
|
+
P.Click, L.Url, C.Tile;
|
|
998
|
+
function za(e) {
|
|
999
|
+
return /* @__PURE__ */ t.jsx(b, { as: "li", sm: 6, md: e.useLargeStyle ? 6 : 4, lg: e.useLargeStyle ? 4 : 3, children: /* @__PURE__ */ t.jsx("div", { className: "position-relative px-1 mb-2", children: /* @__PURE__ */ t.jsx(
|
|
1000
|
+
Ba,
|
|
1001
|
+
{
|
|
1002
|
+
data: e.item,
|
|
1003
|
+
getChildAppLink: e.appLinks.getClassificationAppLink,
|
|
1004
|
+
getChildAppLinkOptions: () => {
|
|
1005
|
+
var a, i;
|
|
1006
|
+
return (i = (a = e.appLinks).getClassificationAppLinkOptions) == null ? void 0 : i.call(a, e.item);
|
|
1007
|
+
},
|
|
1008
|
+
availablePresentations: e.availablePresentations,
|
|
1009
|
+
analyticsData: {
|
|
1010
|
+
itemIndex: e.itemIndex,
|
|
1011
|
+
search: {
|
|
1012
|
+
query: e.queryParams.query,
|
|
1013
|
+
score: e.item._score,
|
|
1014
|
+
maxScore: e.item._maxScore,
|
|
1015
|
+
featured: e.item._featured
|
|
1016
|
+
},
|
|
1017
|
+
pagePositionIndex: 0
|
|
1018
|
+
},
|
|
1019
|
+
isLarge: e.useLargeStyle,
|
|
1020
|
+
highlightOnHover: e.commonVideoProps.showNewVideoIndicator
|
|
1021
|
+
}
|
|
1022
|
+
) }) });
|
|
1023
|
+
}
|
|
1024
|
+
function Wa(e) {
|
|
1025
|
+
function a(s) {
|
|
1026
|
+
return F.isClip(s) ? st : F.isInteractive(s) ? nt : X;
|
|
1027
|
+
}
|
|
1028
|
+
const i = a(e.item);
|
|
1029
|
+
return /* @__PURE__ */ t.jsx("div", { className: `position-relative ${Z.videoList}`, children: /* @__PURE__ */ t.jsx(
|
|
1030
|
+
i,
|
|
1031
|
+
{
|
|
1032
|
+
video: e.item,
|
|
1033
|
+
getVideoAppLink: e.appLinks.getVideoAppLink,
|
|
1034
|
+
getPreviewQuestionsAppLink: e.appLinks.getPreviewQuestionsAppLink,
|
|
1035
|
+
presentationAudiences: e.audiences,
|
|
1036
|
+
analyticsData: {
|
|
1037
|
+
search: {
|
|
1038
|
+
query: e.queryParams.query,
|
|
1039
|
+
score: e.item._score,
|
|
1040
|
+
maxScore: e.item._maxScore,
|
|
1041
|
+
featured: e.item._featured
|
|
1042
|
+
},
|
|
1043
|
+
pagePositionIndex: e.pagePositionIndex
|
|
1044
|
+
},
|
|
1045
|
+
hasPermissions: e.hasPermissions,
|
|
1046
|
+
commonVideoProps: e.commonVideoProps
|
|
1047
|
+
}
|
|
1048
|
+
) });
|
|
1049
|
+
}
|
|
1050
|
+
const Xa = "shared.mixedSearchResults", Qa = 8, Ya = z.memo(function(e) {
|
|
1051
|
+
var c, l, r, o, h, u;
|
|
1052
|
+
const a = R(), i = a.xs || a.sm;
|
|
1053
|
+
if (!((c = e.results) != null && c.length) && !((l = e.topics) != null && l.totalResults) && !((r = e.companies) != null && r.totalResults))
|
|
1054
|
+
return /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
1055
|
+
const s = [
|
|
1056
|
+
...((o = e.companies) == null ? void 0 : o.results) ?? [],
|
|
1057
|
+
...((h = e.topics) == null ? void 0 : h.results) ?? []
|
|
1058
|
+
], n = {
|
|
1059
|
+
useLargeStyle: s.length < 4,
|
|
1060
|
+
...e
|
|
1061
|
+
};
|
|
1062
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "position-relative", children: [
|
|
1063
|
+
/* @__PURE__ */ t.jsx("p", { role: "status", className: "visually-hidden", children: /* @__PURE__ */ t.jsx(y, { namespace: Xa, phrase: "ariaSearch" }) }),
|
|
1064
|
+
!!s.length && /* @__PURE__ */ t.jsx(Y, { as: "ul", className: "list-unstyled g-0 pb-3 mx-n1", children: s.slice(0, Qa).map((m, d) => {
|
|
1065
|
+
switch (m.type.toLowerCase()) {
|
|
1066
|
+
case "company":
|
|
1067
|
+
return /* @__PURE__ */ t.jsx(
|
|
1068
|
+
Ft,
|
|
1069
|
+
{
|
|
1070
|
+
item: m,
|
|
1071
|
+
itemIndex: d,
|
|
1072
|
+
...n
|
|
1073
|
+
},
|
|
1074
|
+
d
|
|
1075
|
+
);
|
|
1076
|
+
case "subject":
|
|
1077
|
+
return /* @__PURE__ */ t.jsx(
|
|
1078
|
+
za,
|
|
1079
|
+
{
|
|
1080
|
+
item: m,
|
|
1081
|
+
itemIndex: d,
|
|
1082
|
+
...n
|
|
1083
|
+
},
|
|
1084
|
+
d
|
|
1085
|
+
);
|
|
1086
|
+
}
|
|
1087
|
+
}) }),
|
|
1088
|
+
(u = e.results) == null ? void 0 : u.map((m, d) => {
|
|
1089
|
+
var g, f;
|
|
1090
|
+
const x = s.length ? d + 1 : d;
|
|
1091
|
+
if ("isExchangeVideoGroup" in m && m.isExchangeVideoGroup)
|
|
1092
|
+
return /* @__PURE__ */ t.jsx(
|
|
1093
|
+
Et,
|
|
1094
|
+
{
|
|
1095
|
+
item: m,
|
|
1096
|
+
pagePositionIndex: x,
|
|
1097
|
+
...n
|
|
1098
|
+
},
|
|
1099
|
+
d
|
|
1100
|
+
);
|
|
1101
|
+
switch ((g = m.type) == null ? void 0 : g.toLowerCase()) {
|
|
1102
|
+
case "interactive":
|
|
1103
|
+
case "clip":
|
|
1104
|
+
case "video":
|
|
1105
|
+
return d === 0 && m._featured && F.isVideo(m) ? /* @__PURE__ */ t.jsx(
|
|
1106
|
+
Gt,
|
|
1107
|
+
{
|
|
1108
|
+
item: m,
|
|
1109
|
+
pagePositionIndex: x,
|
|
1110
|
+
...n
|
|
1111
|
+
},
|
|
1112
|
+
d
|
|
1113
|
+
) : /* @__PURE__ */ t.jsx(
|
|
1114
|
+
Wa,
|
|
1115
|
+
{
|
|
1116
|
+
item: m,
|
|
1117
|
+
pagePositionIndex: x,
|
|
1118
|
+
...n
|
|
1119
|
+
},
|
|
1120
|
+
d
|
|
1121
|
+
);
|
|
1122
|
+
case "playlist":
|
|
1123
|
+
return i ? /* @__PURE__ */ t.jsx(
|
|
1124
|
+
Ha,
|
|
1125
|
+
{
|
|
1126
|
+
item: m,
|
|
1127
|
+
pagePositionIndex: x,
|
|
1128
|
+
...n
|
|
1129
|
+
},
|
|
1130
|
+
d
|
|
1131
|
+
) : /* @__PURE__ */ t.jsx(
|
|
1132
|
+
fa,
|
|
1133
|
+
{
|
|
1134
|
+
item: m,
|
|
1135
|
+
pagePositionIndex: x,
|
|
1136
|
+
...n
|
|
1137
|
+
},
|
|
1138
|
+
d
|
|
1139
|
+
);
|
|
1140
|
+
case "series":
|
|
1141
|
+
return i || !((f = m.tallPoster) != null && f.id) ? /* @__PURE__ */ t.jsx(
|
|
1142
|
+
Ua,
|
|
1143
|
+
{
|
|
1144
|
+
item: m,
|
|
1145
|
+
pagePositionIndex: x,
|
|
1146
|
+
...n
|
|
1147
|
+
},
|
|
1148
|
+
d
|
|
1149
|
+
) : /* @__PURE__ */ t.jsx(
|
|
1150
|
+
Oa,
|
|
1151
|
+
{
|
|
1152
|
+
item: m,
|
|
1153
|
+
pagePositionIndex: x,
|
|
1154
|
+
...n
|
|
1155
|
+
},
|
|
1156
|
+
d
|
|
1157
|
+
);
|
|
1158
|
+
}
|
|
1159
|
+
})
|
|
1160
|
+
] });
|
|
1161
|
+
}), te = "search.searchSubstitute";
|
|
1162
|
+
function Za(e) {
|
|
1163
|
+
return e.substitute ? /* @__PURE__ */ t.jsxs("div", { className: "pb-3", children: [
|
|
1164
|
+
/* @__PURE__ */ t.jsxs("p", { className: "mb-1 h6", children: [
|
|
1165
|
+
/* @__PURE__ */ t.jsx(y, { namespace: te, phrase: "showingFor" }),
|
|
1166
|
+
" ",
|
|
1167
|
+
/* @__PURE__ */ t.jsx(
|
|
1168
|
+
v,
|
|
1169
|
+
{
|
|
1170
|
+
className: "info-link",
|
|
1171
|
+
appLink: e.getAppLink(e.substitute, e.queryParams),
|
|
1172
|
+
appLinkOptions: { replace: !0 },
|
|
1173
|
+
children: e.substitute
|
|
1174
|
+
}
|
|
1175
|
+
)
|
|
1176
|
+
] }),
|
|
1177
|
+
/* @__PURE__ */ t.jsxs("p", { className: "mb-0 h6 fw-normal", children: [
|
|
1178
|
+
/* @__PURE__ */ t.jsx(y, { namespace: te, phrase: "searchInsteadFor" }),
|
|
1179
|
+
/* @__PURE__ */ t.jsx(
|
|
1180
|
+
v,
|
|
1181
|
+
{
|
|
1182
|
+
className: "info-link",
|
|
1183
|
+
appLink: e.getAppLink(e.queryParams.query, { ...e.queryParams, allowSubstitute: "false" }),
|
|
1184
|
+
children: e.queryParams.query
|
|
1185
|
+
}
|
|
1186
|
+
),
|
|
1187
|
+
/* @__PURE__ */ t.jsx(y, { namespace: te, phrase: "endOriginal" })
|
|
1188
|
+
] })
|
|
1189
|
+
] }) : /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
1190
|
+
}
|
|
1191
|
+
const Ja = "search.searchSuggestions";
|
|
1192
|
+
Se.defaultProps = {
|
|
1193
|
+
suggestions: [],
|
|
1194
|
+
queryParams: {}
|
|
1195
|
+
};
|
|
1196
|
+
function Se(e) {
|
|
1197
|
+
var a;
|
|
1198
|
+
return (a = e.suggestions) != null && a.length ? /* @__PURE__ */ t.jsxs("div", { className: "d-flex align-items-center mb-3", children: [
|
|
1199
|
+
/* @__PURE__ */ t.jsx(y, { namespace: Ja, phrase: "didYouMean" }),
|
|
1200
|
+
" ",
|
|
1201
|
+
e.suggestions.map((i, s) => /* @__PURE__ */ t.jsxs(z.Fragment, { children: [
|
|
1202
|
+
s !== 0 && /* @__PURE__ */ t.jsx("span", { className: "mx-1", children: "•" }),
|
|
1203
|
+
/* @__PURE__ */ t.jsx(
|
|
1204
|
+
v,
|
|
1205
|
+
{
|
|
1206
|
+
className: "info-link",
|
|
1207
|
+
appLink: e.getAppLink(i, e.queryParams),
|
|
1208
|
+
appLinkOptions: { replace: !0 },
|
|
1209
|
+
children: i
|
|
1210
|
+
}
|
|
1211
|
+
)
|
|
1212
|
+
] }, `${i}:${s}`))
|
|
1213
|
+
] }) : /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
1214
|
+
}
|
|
1215
|
+
const S = {
|
|
1216
|
+
useOnFilterChange(e, a) {
|
|
1217
|
+
const i = { ...a };
|
|
1218
|
+
delete i.query;
|
|
1219
|
+
const s = Object.keys(i).map((n) => i[n]).sort((n, c) => n - c);
|
|
1220
|
+
z.useEffect(() => {
|
|
1221
|
+
e();
|
|
1222
|
+
}, [s.join(":")]);
|
|
1223
|
+
},
|
|
1224
|
+
getCollectionActions(e, a, i, s) {
|
|
1225
|
+
return a ? [] : [];
|
|
1226
|
+
},
|
|
1227
|
+
getSeriesAppLink(e) {
|
|
1228
|
+
return e != null && e.id ? {
|
|
1229
|
+
application: D.EXCHANGE,
|
|
1230
|
+
action: O.Exchange.SERIES,
|
|
1231
|
+
args: [e.id, le.slugify(e.name)]
|
|
1232
|
+
} : null;
|
|
1233
|
+
},
|
|
1234
|
+
getVideoAppLink(e) {
|
|
1235
|
+
return e != null && e.id ? {
|
|
1236
|
+
application: D.EXCHANGE,
|
|
1237
|
+
action: O.Exchange.PREVIEW,
|
|
1238
|
+
args: [e.id, le.slugify(e.name)]
|
|
1239
|
+
} : null;
|
|
1240
|
+
},
|
|
1241
|
+
getAppliedIndices(e = {}) {
|
|
1242
|
+
const { type: a } = e;
|
|
1243
|
+
if (a) {
|
|
1244
|
+
if (!Array.isArray(a))
|
|
1245
|
+
return [a];
|
|
1246
|
+
if (a.length)
|
|
1247
|
+
return a;
|
|
1248
|
+
}
|
|
1249
|
+
return ["video"];
|
|
1250
|
+
},
|
|
1251
|
+
getNestedCategoryIds(e, a) {
|
|
1252
|
+
const i = (n) => {
|
|
1253
|
+
const c = [], l = a.find((o) => +o.data.id == +n);
|
|
1254
|
+
if (!(l != null && l.children.length))
|
|
1255
|
+
return [n];
|
|
1256
|
+
const r = (o) => {
|
|
1257
|
+
o && (o.data && c.push(o.data.id), o.children.length && o.children.forEach((h) => {
|
|
1258
|
+
r(h);
|
|
1259
|
+
}));
|
|
1260
|
+
};
|
|
1261
|
+
return r(l), c;
|
|
1262
|
+
};
|
|
1263
|
+
if (!Array.isArray(e))
|
|
1264
|
+
return i(e);
|
|
1265
|
+
const s = [...e].map((n) => i(n));
|
|
1266
|
+
return Re.flatten(s);
|
|
1267
|
+
},
|
|
1268
|
+
buildBackendFilterParams(e, a, i = [], s) {
|
|
1269
|
+
const n = a == null ? void 0 : a.categoryId, c = n && this.getNestedCategoryIds(n, s), l = re.buildBackendFilterParams(
|
|
1270
|
+
{ ...a, categoryId: c },
|
|
1271
|
+
i,
|
|
1272
|
+
null,
|
|
1273
|
+
!1,
|
|
1274
|
+
[]
|
|
1275
|
+
);
|
|
1276
|
+
return l[`${$.FILTER_PARAM_PREFIX}library`] = e, l;
|
|
1277
|
+
},
|
|
1278
|
+
getBackendFilters(e) {
|
|
1279
|
+
if (!e.hasDataLoaded)
|
|
1280
|
+
return null;
|
|
1281
|
+
const { queryParams: a, ratings: i, exchange: s, categories: n } = e, c = S.buildBackendFilterParams(
|
|
1282
|
+
s.data.id,
|
|
1283
|
+
a,
|
|
1284
|
+
i.data,
|
|
1285
|
+
n.data
|
|
1286
|
+
), l = S.getAppliedIndices(a);
|
|
1287
|
+
return {
|
|
1288
|
+
queryParams: a,
|
|
1289
|
+
backendFilters: c,
|
|
1290
|
+
appliedIndices: l
|
|
1291
|
+
};
|
|
1292
|
+
},
|
|
1293
|
+
getFilters(e, a) {
|
|
1294
|
+
if (!e.hasDataLoaded || !a.hasCompleted)
|
|
1295
|
+
return null;
|
|
1296
|
+
const { categories: i, ratings: s } = e, n = [
|
|
1297
|
+
_.Categories(i.data),
|
|
1298
|
+
_.Rating(s.data, null),
|
|
1299
|
+
_.HasResources(),
|
|
1300
|
+
_.HasSubtitles(),
|
|
1301
|
+
_.TagOrClassification(a.data)
|
|
1302
|
+
], c = re.getMoreFilters([
|
|
1303
|
+
_.ProductionYear(),
|
|
1304
|
+
_.IsHD(),
|
|
1305
|
+
_.Duration()
|
|
1306
|
+
]);
|
|
1307
|
+
return {
|
|
1308
|
+
mainFilters: n,
|
|
1309
|
+
moreFilters: c
|
|
1310
|
+
};
|
|
1311
|
+
},
|
|
1312
|
+
getAppLink(e, a) {
|
|
1313
|
+
return {
|
|
1314
|
+
application: D.EXCHANGE,
|
|
1315
|
+
action: O.Exchange.SEARCH,
|
|
1316
|
+
params: {
|
|
1317
|
+
...a,
|
|
1318
|
+
query: e
|
|
1319
|
+
}
|
|
1320
|
+
};
|
|
1321
|
+
}
|
|
1322
|
+
}, Ka = "exchange.searchResultsEmptyState";
|
|
1323
|
+
function ei(e) {
|
|
1324
|
+
return /* @__PURE__ */ t.jsx(Ee.Provider, { value: Ka, children: /* @__PURE__ */ t.jsxs(q, { children: [
|
|
1325
|
+
/* @__PURE__ */ t.jsx(q.Image, { src: qe.EmptyStates.SEARCH }),
|
|
1326
|
+
/* @__PURE__ */ t.jsx(q.Heading, { children: e.query ? /* @__PURE__ */ t.jsx(y, { phrase: "headingWithQuery", options: { query: e.query } }) : /* @__PURE__ */ t.jsx(y, { phrase: "headingWithoutQuery" }) }),
|
|
1327
|
+
/* @__PURE__ */ t.jsxs(q.Info, { children: [
|
|
1328
|
+
/* @__PURE__ */ t.jsx(y, { phrase: "info" }),
|
|
1329
|
+
/* @__PURE__ */ t.jsx(
|
|
1330
|
+
v,
|
|
1331
|
+
{
|
|
1332
|
+
className: "info-link",
|
|
1333
|
+
appLink: { application: D.EXCHANGE, action: O.Exchange.INDEX },
|
|
1334
|
+
children: /* @__PURE__ */ t.jsx(y, { phrase: "topicsAppLink" })
|
|
1335
|
+
}
|
|
1336
|
+
)
|
|
1337
|
+
] })
|
|
1338
|
+
] }) });
|
|
1339
|
+
}
|
|
1340
|
+
function ti(e) {
|
|
1341
|
+
const a = T(He.currentUser()), i = T(ae.exchange()), s = T(jt.ratings()), n = T(ae.categories()), c = a.hasCompleted && i.hasCompleted && s.hasCompleted && n.hasCompleted;
|
|
1342
|
+
return {
|
|
1343
|
+
queryParams: e,
|
|
1344
|
+
currentUser: a,
|
|
1345
|
+
exchange: i,
|
|
1346
|
+
ratings: s,
|
|
1347
|
+
categories: n,
|
|
1348
|
+
hasDataLoaded: c
|
|
1349
|
+
};
|
|
1350
|
+
}
|
|
1351
|
+
const ai = "exchange.searchResultsView2";
|
|
1352
|
+
function ii(e) {
|
|
1353
|
+
var m, d, x;
|
|
1354
|
+
const { queryParams: a, appliedIndices: i, backendFilters: s } = e, n = Lt(), c = Ue(), l = Me((m = r()) == null ? void 0 : m.key);
|
|
1355
|
+
function r(g) {
|
|
1356
|
+
return e.hasDataLoaded && ae.search(a.query, i, s, g);
|
|
1357
|
+
}
|
|
1358
|
+
function o(g) {
|
|
1359
|
+
c(r(g));
|
|
1360
|
+
}
|
|
1361
|
+
function h(g, f) {
|
|
1362
|
+
if (g === 1)
|
|
1363
|
+
return vt(f);
|
|
1364
|
+
n.error(he.getPhrase(ai, "error"));
|
|
1365
|
+
}
|
|
1366
|
+
return {
|
|
1367
|
+
...dt(
|
|
1368
|
+
r,
|
|
1369
|
+
o,
|
|
1370
|
+
h,
|
|
1371
|
+
(g) => g.results
|
|
1372
|
+
),
|
|
1373
|
+
fetchNext: o,
|
|
1374
|
+
substituteQuery: (d = l.data) == null ? void 0 : d.substituteQuery,
|
|
1375
|
+
suggestions: (x = l.data) == null ? void 0 : x.suggestions
|
|
1376
|
+
};
|
|
1377
|
+
}
|
|
1378
|
+
const de = {
|
|
1379
|
+
video: J.VIDEO_COLLECTION,
|
|
1380
|
+
series: "rating,tallPoster",
|
|
1381
|
+
playlist: "videos[count(),thumbnail]{limit:1},interactives[count(),_thumbnail]{limit:1},clips[count(),_thumbnail]{limit:1}",
|
|
1382
|
+
classification: `cover,thumbnail,tags{tagtype:${Ze.Curation}}`,
|
|
1383
|
+
clip: J.CLIP_COLLECTION,
|
|
1384
|
+
interactive: J.INTERACTIVE_COLLECTION,
|
|
1385
|
+
company: "logo",
|
|
1386
|
+
category: "libraries[_logo],thumbnail"
|
|
1387
|
+
};
|
|
1388
|
+
function me(e) {
|
|
1389
|
+
var n, c;
|
|
1390
|
+
let a = e.totalResults;
|
|
1391
|
+
const i = ((n = e == null ? void 0 : e.results) == null ? void 0 : n.filter((l) => {
|
|
1392
|
+
var r, o, h, u, m, d, x, g;
|
|
1393
|
+
if (l._index !== "series" && l._index !== "playlist")
|
|
1394
|
+
return !0;
|
|
1395
|
+
if (l._index === "playlist") {
|
|
1396
|
+
const f = l;
|
|
1397
|
+
return (o = (r = f.clips) == null ? void 0 : r.data) != null && o.length || (u = (h = f.interactives) == null ? void 0 : h.data) != null && u.length || (d = (m = f.videos) == null ? void 0 : m.data) != null && d.length ? !0 : (a--, !1);
|
|
1398
|
+
}
|
|
1399
|
+
return ((g = (x = l.videos) == null ? void 0 : x.data) == null ? void 0 : g.length) === 0 ? (a--, !1) : !0;
|
|
1400
|
+
})) ?? [];
|
|
1401
|
+
e.results = i, e.totalResults = a;
|
|
1402
|
+
const s = (c = i[0]) == null ? void 0 : c._score;
|
|
1403
|
+
return {
|
|
1404
|
+
...e,
|
|
1405
|
+
results: Ct.mapMaxScoreToSearchResults(i, s)
|
|
1406
|
+
};
|
|
1407
|
+
}
|
|
1408
|
+
function B(e) {
|
|
1409
|
+
return Object.entries(e).reduce((a, [, i]) => {
|
|
1410
|
+
let s = i;
|
|
1411
|
+
return typeof i == "object" ? s = B(i) : ["number", "boolean", "string"].includes(typeof i) && (s = i.toString()), a.length ? `${a},${s}` : s;
|
|
1412
|
+
}, "");
|
|
1413
|
+
}
|
|
1414
|
+
const si = {
|
|
1415
|
+
searchDashboard(e, a, i = []) {
|
|
1416
|
+
const s = i.sort((u, m) => u.id.localeCompare(m.id)).map((u) => [u.id, u == null ? void 0 : u.cursor]), n = B(a), c = `search:v5:dashboard:${e}:${s}:${n}`, {
|
|
1417
|
+
[`${$.FILTER_PARAM_PREFIX}indicesFilters`]: l,
|
|
1418
|
+
isLearner: r,
|
|
1419
|
+
...o
|
|
1420
|
+
} = a, h = {
|
|
1421
|
+
widgets: i,
|
|
1422
|
+
indices: l,
|
|
1423
|
+
filters: Object.entries(o).reduce((u, [m, d]) => ({ ...u, [m.replace("filters.", "")]: d }), {}),
|
|
1424
|
+
query: e,
|
|
1425
|
+
includeAllIndices: !1,
|
|
1426
|
+
isLearner: !!r
|
|
1427
|
+
};
|
|
1428
|
+
return {
|
|
1429
|
+
url: "{gateway}/v5/search/widgets",
|
|
1430
|
+
publicUrl: "/api/search/v5/widgets",
|
|
1431
|
+
type: U.POST,
|
|
1432
|
+
data: h,
|
|
1433
|
+
key: c
|
|
1434
|
+
};
|
|
1435
|
+
},
|
|
1436
|
+
searchDashboardWidget(e, a, i, s = []) {
|
|
1437
|
+
const n = s.sort((d, x) => d.id.localeCompare(x.id)).map((d) => [d.id, d == null ? void 0 : d.cursor]), c = B(i), l = `search:v5:dashboard:${e}:widget:${a}:${n}:${c}`, {
|
|
1438
|
+
[`${$.FILTER_PARAM_PREFIX}indicesFilters`]: r,
|
|
1439
|
+
isLearner: o,
|
|
1440
|
+
excludeVideoIds: h,
|
|
1441
|
+
...u
|
|
1442
|
+
} = i, m = {
|
|
1443
|
+
widgets: s,
|
|
1444
|
+
indices: r,
|
|
1445
|
+
filters: Object.entries(u).reduce((d, [x, g]) => ({ ...d, [x.replace("filters.", "")]: g }), {}),
|
|
1446
|
+
query: a,
|
|
1447
|
+
includeAllIndices: !1,
|
|
1448
|
+
isLearner: !!o,
|
|
1449
|
+
ogql: de,
|
|
1450
|
+
excludeVideoIds: h
|
|
1451
|
+
};
|
|
1452
|
+
return {
|
|
1453
|
+
url: `{gateway}/v5/search/widgets/${e}`,
|
|
1454
|
+
publicUrl: `/api/search/v5/widgets/${e}`,
|
|
1455
|
+
type: U.POST,
|
|
1456
|
+
data: m,
|
|
1457
|
+
key: l
|
|
1458
|
+
};
|
|
1459
|
+
},
|
|
1460
|
+
searchV5(e, a, i = []) {
|
|
1461
|
+
const s = i.sort((u, m) => u.id.localeCompare(m.id)).map((u) => [u.id, u == null ? void 0 : u.cursor]), n = B(a), c = `search:v5:${e}:${s}:${n}`, {
|
|
1462
|
+
[`${$.FILTER_PARAM_PREFIX}indicesFilters`]: l,
|
|
1463
|
+
isLearner: r,
|
|
1464
|
+
...o
|
|
1465
|
+
} = a, h = {
|
|
1466
|
+
widgets: i,
|
|
1467
|
+
indices: l,
|
|
1468
|
+
filters: Object.entries(o).reduce((u, [m, d]) => ({ ...u, [m.replace("filters.", "")]: d }), {}),
|
|
1469
|
+
query: e,
|
|
1470
|
+
includeAllIndices: !1,
|
|
1471
|
+
isLearner: !!r,
|
|
1472
|
+
ogql: de
|
|
1473
|
+
};
|
|
1474
|
+
return {
|
|
1475
|
+
url: "{gateway}/v5/search",
|
|
1476
|
+
publicUrl: "/api/search/v5",
|
|
1477
|
+
type: U.POST,
|
|
1478
|
+
data: h,
|
|
1479
|
+
key: c
|
|
1480
|
+
};
|
|
1481
|
+
},
|
|
1482
|
+
searchV4(e) {
|
|
1483
|
+
const { query: a, indices: i, filters: s = {}, sorts: n = {}, allowSubstitute: c = !0, cursor: l, limit: r } = e;
|
|
1484
|
+
let o = `search:v4:${a}:${c}:${i}:${l}`;
|
|
1485
|
+
o += Object.keys(s).map((g) => {
|
|
1486
|
+
const f = s[g];
|
|
1487
|
+
return Array.isArray(f) ? f.join(";") : f;
|
|
1488
|
+
}).join(";");
|
|
1489
|
+
const {
|
|
1490
|
+
[`${$.FILTER_PARAM_PREFIX}excludeLibraryExclusive`]: h,
|
|
1491
|
+
isLearner: u,
|
|
1492
|
+
...m
|
|
1493
|
+
} = s, x = {
|
|
1494
|
+
searchType: "content",
|
|
1495
|
+
indices: i.map((g) => g !== "video" || !h ? { index: g } : { index: g, filters: { excludeLibraryExclusive: h } }),
|
|
1496
|
+
filters: Object.entries(m).reduce((g, [f, V]) => ({ ...g, [f.replace("filters.", "")]: V }), {}),
|
|
1497
|
+
sorts: n,
|
|
1498
|
+
query: a,
|
|
1499
|
+
allowSubstitute: c,
|
|
1500
|
+
cursor: l ?? void 0,
|
|
1501
|
+
isLearner: !!u,
|
|
1502
|
+
limit: r
|
|
1503
|
+
};
|
|
1504
|
+
return {
|
|
1505
|
+
url: "{gateway}/v4/search",
|
|
1506
|
+
publicUrl: "/api/search/v4",
|
|
1507
|
+
type: U.POST,
|
|
1508
|
+
data: x,
|
|
1509
|
+
key: o,
|
|
1510
|
+
formatData: me
|
|
1511
|
+
};
|
|
1512
|
+
},
|
|
1513
|
+
search(e) {
|
|
1514
|
+
const { query: a, indices: i, filters: s, allowSubstitute: n, cursor: c, limit: l, success: r, error: o } = e;
|
|
1515
|
+
let h = `search:${a}:${n}:${i}:${c}`;
|
|
1516
|
+
h += Object.keys(s).map((m) => {
|
|
1517
|
+
const d = s[m];
|
|
1518
|
+
return Array.isArray(d) ? d.join(";") : d;
|
|
1519
|
+
}).join(";");
|
|
1520
|
+
const u = Object.assign({}, {
|
|
1521
|
+
index: i,
|
|
1522
|
+
cursor: c ?? void 0,
|
|
1523
|
+
query: a,
|
|
1524
|
+
allowSubstitute: n,
|
|
1525
|
+
limit: l,
|
|
1526
|
+
...s
|
|
1527
|
+
});
|
|
1528
|
+
return {
|
|
1529
|
+
url: H.urlBuilder("{gateway}/v3/search", u),
|
|
1530
|
+
publicUrl: H.urlBuilder("/api/search", u),
|
|
1531
|
+
key: h,
|
|
1532
|
+
formatData: me,
|
|
1533
|
+
success: r,
|
|
1534
|
+
error: o
|
|
1535
|
+
};
|
|
1536
|
+
},
|
|
1537
|
+
tagsAndClassifications(e, a, i = {}, s, n, c) {
|
|
1538
|
+
const l = {
|
|
1539
|
+
index: a,
|
|
1540
|
+
cursor: s,
|
|
1541
|
+
query: e,
|
|
1542
|
+
...i
|
|
1543
|
+
};
|
|
1544
|
+
let r = `filter:options:${e}:${a.join(":")}:${s}`;
|
|
1545
|
+
return r += Object.keys(i).map((o) => {
|
|
1546
|
+
const h = i[o];
|
|
1547
|
+
return Array.isArray(h) ? h.join(";") : h;
|
|
1548
|
+
}).join(";"), {
|
|
1549
|
+
url: H.urlBuilder("{gateway}/v3/search/tags-and-classifications", l),
|
|
1550
|
+
publicUrl: H.urlBuilder("/api/search/tags-and-classifications", l),
|
|
1551
|
+
key: r,
|
|
1552
|
+
success: n,
|
|
1553
|
+
error: c,
|
|
1554
|
+
normalize: !1
|
|
1555
|
+
};
|
|
1556
|
+
}
|
|
1557
|
+
};
|
|
1558
|
+
function ni(e) {
|
|
1559
|
+
return T(e && si.tagsAndClassifications(
|
|
1560
|
+
e.queryParams.query,
|
|
1561
|
+
e.appliedIndices,
|
|
1562
|
+
e.backendFilters
|
|
1563
|
+
));
|
|
1564
|
+
}
|
|
1565
|
+
function Ii(e) {
|
|
1566
|
+
var d;
|
|
1567
|
+
const { queryParams: a = {} } = e, i = ft("video-list"), s = ti(a), { commonVideoProps: n } = ct(), c = S.getBackendFilters(s), l = ni(c), r = ii({ ...c, ...s }), o = S.getFilters(s, l);
|
|
1568
|
+
Ge({ title: a.query ?? "" });
|
|
1569
|
+
const h = s.hasDataLoaded && o, u = r.hasFirstPageCompleted && // Topic and Company requests won't exist if they aren't being fetched
|
|
1570
|
+
l.hasCompleted && !!o, m = (d = r.items) == null ? void 0 : d.length;
|
|
1571
|
+
return h ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
1572
|
+
/* @__PURE__ */ t.jsx(yt, { query: a.query }),
|
|
1573
|
+
/* @__PURE__ */ t.jsx(
|
|
1574
|
+
Za,
|
|
1575
|
+
{
|
|
1576
|
+
substitute: r.substituteQuery,
|
|
1577
|
+
queryParams: a,
|
|
1578
|
+
getAppLink: S.getAppLink
|
|
1579
|
+
}
|
|
1580
|
+
),
|
|
1581
|
+
!r.substituteQuery && /* @__PURE__ */ t.jsx(
|
|
1582
|
+
Se,
|
|
1583
|
+
{
|
|
1584
|
+
suggestions: r == null ? void 0 : r.suggestions,
|
|
1585
|
+
queryParams: a,
|
|
1586
|
+
getAppLink: S.getAppLink
|
|
1587
|
+
}
|
|
1588
|
+
),
|
|
1589
|
+
/* @__PURE__ */ t.jsx(
|
|
1590
|
+
xt,
|
|
1591
|
+
{
|
|
1592
|
+
queryParams: a,
|
|
1593
|
+
mainFilters: o == null ? void 0 : o.mainFilters,
|
|
1594
|
+
moreFilters: o == null ? void 0 : o.moreFilters,
|
|
1595
|
+
analyticsOptions: {
|
|
1596
|
+
entity: L.SearchResults,
|
|
1597
|
+
location: k.SearchFilters
|
|
1598
|
+
},
|
|
1599
|
+
appLink: { application: D.EXCHANGE, action: O.Exchange.SEARCH },
|
|
1600
|
+
isFetchingOptions: l.isFetching
|
|
1601
|
+
}
|
|
1602
|
+
),
|
|
1603
|
+
u ? /* @__PURE__ */ t.jsxs("section", { children: [
|
|
1604
|
+
m ? /* @__PURE__ */ t.jsx(lt.Provider, { value: i, children: /* @__PURE__ */ t.jsx(
|
|
1605
|
+
Ya,
|
|
1606
|
+
{
|
|
1607
|
+
queryParams: a.query,
|
|
1608
|
+
results: r.items,
|
|
1609
|
+
audiences: null,
|
|
1610
|
+
currentUser: s.currentUser.data,
|
|
1611
|
+
availablePresentations: null,
|
|
1612
|
+
showActions: !0,
|
|
1613
|
+
companies: null,
|
|
1614
|
+
hasPermissions: () => !1,
|
|
1615
|
+
appLinks: {
|
|
1616
|
+
getCollectionActions: S.getCollectionActions,
|
|
1617
|
+
getSeriesAppLink: S.getSeriesAppLink,
|
|
1618
|
+
getVideoAppLink: S.getVideoAppLink,
|
|
1619
|
+
getClassificationAppLink: () => null,
|
|
1620
|
+
getClassificationAppLinkOptions: () => null,
|
|
1621
|
+
getPlaylistAppLink: () => null,
|
|
1622
|
+
getCompanyAppLink: () => null,
|
|
1623
|
+
getPreviewQuestionsAppLink: () => null
|
|
1624
|
+
},
|
|
1625
|
+
commonVideoProps: n
|
|
1626
|
+
}
|
|
1627
|
+
) }) : /* @__PURE__ */ t.jsx(ei, { query: a.query }),
|
|
1628
|
+
r.hasMore && /* @__PURE__ */ t.jsx(
|
|
1629
|
+
mt,
|
|
1630
|
+
{
|
|
1631
|
+
isFetching: r.isFetching,
|
|
1632
|
+
fetchNext: r.fetchNext,
|
|
1633
|
+
nextCursor: r.nextCursor
|
|
1634
|
+
}
|
|
1635
|
+
)
|
|
1636
|
+
] }) : /* @__PURE__ */ t.jsx("div", { className: "mx-n2", children: /* @__PURE__ */ t.jsx(ut, {}) })
|
|
1637
|
+
] }) : /* @__PURE__ */ t.jsx(t.Fragment, {});
|
|
1638
|
+
}
|
|
1639
|
+
export {
|
|
1640
|
+
Ii as ExchangeSearchResultsView
|
|
1641
|
+
};
|