@clickview/exchange 0.43.0-rc.2 → 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.
Files changed (284) hide show
  1. package/dist/Actions-BtMRNMuv.cjs +1 -0
  2. package/dist/Actions-DfeKDy3k.js +178 -0
  3. package/dist/AddToLibraryView-BoCLtcWV.js +508 -0
  4. package/dist/AddToLibraryView-MpkcVgoR.cjs +1 -0
  5. package/dist/Badge-3MW5GacP.cjs +1 -0
  6. package/dist/Badge-Ddz0Il5v.js +326 -0
  7. package/dist/BadgeListContainer-CqwUuWKL.js +19 -0
  8. package/dist/BadgeListContainer-DLrBuDpU.cjs +1 -0
  9. package/dist/ButtonGroup-C-z2yWvb.cjs +1 -0
  10. package/dist/ButtonGroup-zaxEq7ZK.js +24 -0
  11. package/dist/Caret-Cpx0uvJ0.js +36 -0
  12. package/dist/Caret-Dgjy7YHO.cjs +1 -0
  13. package/dist/ChevronDownSvg-BI6xUNrZ.cjs +1 -0
  14. package/dist/ChevronDownSvg-BfijmId7.js +13 -0
  15. package/dist/ClassNameHelper-aJ0BDnVo.js +29 -0
  16. package/dist/ClassNameHelper-n4BHW-GR.cjs +1 -0
  17. package/dist/CloseSvg-2PKjla1T.js +13 -0
  18. package/dist/CloseSvg-B7rizkGp.cjs +1 -0
  19. package/dist/CurationStatus-BGjsO3l8.cjs +1 -0
  20. package/dist/CurationStatus-DZn3C9Qe.js +4 -0
  21. package/dist/DevErrorView-Bg1Ufy6-.js +79 -0
  22. package/dist/DevErrorView-CpXfV0V4.cjs +1 -0
  23. package/dist/DialogView-B5FEh3e8.cjs +1 -0
  24. package/dist/DialogView-RcNOylD7.js +22 -0
  25. package/dist/DownloadHelper-ChKHN-Le.cjs +1 -0
  26. package/dist/DownloadHelper-dL46n0Kq.js +32 -0
  27. package/dist/DownloadVideoView-CvDFi8HI.cjs +1 -0
  28. package/dist/DownloadVideoView-HSnwAYLp.js +32 -0
  29. package/dist/DragDropMoveWrapper-B_dy7ady.cjs +1 -0
  30. package/dist/DragDropMoveWrapper-TdzJqiqv.js +462 -0
  31. package/dist/ExchangeAddView-BRLjRe3p.js +63 -0
  32. package/dist/ExchangeAddView-CWfp5W52.cjs +1 -0
  33. package/dist/ExchangeFolderView-4ArEcQvn.js +159 -0
  34. package/dist/ExchangeFolderView-_ldS0uwf.cjs +1 -0
  35. package/dist/ExchangeMostRecentView-BMAosIXz.js +61 -0
  36. package/dist/ExchangeMostRecentView-s1iLfclz.cjs +1 -0
  37. package/dist/ExchangeNotFoundView-C_dtuc6J.cjs +1 -0
  38. package/dist/ExchangeNotFoundView-Cb-rmQH1.js +7 -0
  39. package/dist/ExchangePreviewView-hztBChIE.js +82 -0
  40. package/dist/ExchangePreviewView-kjDv-uqf.cjs +1 -0
  41. package/dist/ExchangeRequests-B3wRfv5Y.cjs +1 -0
  42. package/dist/ExchangeRequests-DV7BD3HZ.js +115 -0
  43. package/dist/ExchangeSearchBar-CNtU_swT.js +32 -0
  44. package/dist/ExchangeSearchBar-Ci1_Sc2S.cjs +1 -0
  45. package/dist/ExchangeSearchResultsView-CEueb9Li.js +1641 -0
  46. package/dist/ExchangeSearchResultsView-CGSIyjiV.cjs +2 -0
  47. package/dist/ExchangeSeriesView-BGBgwgMW.cjs +1 -0
  48. package/dist/ExchangeSeriesView-DMr_mCAH.js +143 -0
  49. package/dist/ExchangeSuggestEditView-B3P-nGFE.js +307 -0
  50. package/dist/ExchangeSuggestEditView-D1m5Z20N.cjs +1 -0
  51. package/dist/ExchangeTabs-CrA22PjN.js +46 -0
  52. package/dist/ExchangeTabs-KgrROs1d.cjs +1 -0
  53. package/dist/ExchangeUtils-BRDE3b9w.cjs +1 -0
  54. package/dist/ExchangeUtils-CCCrn5oQ.js +65 -0
  55. package/dist/ExchangeView-Cui4zZ4D.js +30 -0
  56. package/dist/ExchangeView-Dql8pHzi.cjs +1 -0
  57. package/dist/FormButtons-CDOsf9A-.cjs +1 -0
  58. package/dist/FormButtons-fQkvwYsy.js +20 -0
  59. package/dist/FormFeedback-5Dd3bMCl.js +7 -0
  60. package/dist/FormFeedback-BU7vSBqB.cjs +1 -0
  61. package/dist/FormField-Cb2l2GMO.cjs +5 -0
  62. package/dist/FormField-DYeERWxm.js +3353 -0
  63. package/dist/GiveFeedbackView-0tH6h1s3.js +5436 -0
  64. package/dist/GiveFeedbackView-DirGDc2a.cjs +7 -0
  65. package/dist/GroupSvg-BmwXO6yT.js +53 -0
  66. package/dist/GroupSvg-DVAq4iNX.cjs +1 -0
  67. package/dist/HardCoded-25AFj2sZ.js +51 -0
  68. package/dist/HardCoded-BbbeCQNt.cjs +1 -0
  69. package/dist/HttpErrorHandlers-CBhvfsvb.cjs +1 -0
  70. package/dist/HttpErrorHandlers-DKqNIMOg.js +76 -0
  71. package/dist/IconCircle-BVHFUBGt.cjs +1 -0
  72. package/dist/IconCircle-CxFLsbLY.js +26 -0
  73. package/dist/InstanceRegion-C7aJEkFV.cjs +1 -0
  74. package/dist/InstanceRegion-DQlzs4EK.js +4 -0
  75. package/dist/LazyImage-DBQklqeJ.js +163 -0
  76. package/dist/LazyImage-lv36coda.cjs +1 -0
  77. package/dist/LibraryRequests-BHAZPSUw.js +186 -0
  78. package/dist/LibraryRequests-DKCsJHbr.cjs +1 -0
  79. package/dist/LinkifyHelper-DPHYATPc.js +925 -0
  80. package/dist/LinkifyHelper-EOfbsqdi.cjs +4 -0
  81. package/dist/MasterTypeHelper-Y_SDsEUF.cjs +1 -0
  82. package/dist/MasterTypeHelper-uSKy6GZd.js +16 -0
  83. package/dist/MediaQueries-9caJ2eG6.js +4 -0
  84. package/dist/MediaQueries-CE9Kbs0e.cjs +1 -0
  85. package/dist/PartialLoadingHelper-D42uOdDd.cjs +1 -0
  86. package/dist/PartialLoadingHelper-DIas6hnM.js +29 -0
  87. package/dist/PermissionFilterOption-B-QrMVdA.js +4 -0
  88. package/dist/PermissionFilterOption-BIA__Q_O.cjs +1 -0
  89. package/dist/PillTabSelector-B5V2rqf0.js +64 -0
  90. package/dist/PillTabSelector-yR52s5ix.cjs +14 -0
  91. package/dist/PreviewVideoDetails-BQ0lYYbK.cjs +362 -0
  92. package/dist/PreviewVideoDetails-DJXB4vV3.js +68337 -0
  93. package/dist/ProgramType-DHk-SlRZ.cjs +1 -0
  94. package/dist/ProgramType-FpE5cuZV.js +60 -0
  95. package/dist/RatingRequests-BNPZAxXm.cjs +1 -0
  96. package/dist/RatingRequests-Dr3w3-z8.js +11 -0
  97. package/dist/RedirectView-BK8yU-PU.js +22 -0
  98. package/dist/RedirectView-OEJhJrvf.cjs +1 -0
  99. package/dist/RestrictionHelper-BSceJYz-.js +112 -0
  100. package/dist/RestrictionHelper-C5u_CmoL.cjs +1 -0
  101. package/dist/ScrollHelper-Dg7bDIH7.js +10 -0
  102. package/dist/ScrollHelper-ESsjtyv8.cjs +1 -0
  103. package/dist/SearchFilters-C_yEnumc.js +3046 -0
  104. package/dist/SearchFilters-D3fLjseM.cjs +1 -0
  105. package/dist/SearchSvg-BB6oXs1v.js +13 -0
  106. package/dist/SearchSvg-BU6G1Fs0.cjs +1 -0
  107. package/dist/SharedSearchHelper-BuVD-GvT.js +159 -0
  108. package/dist/SharedSearchHelper-D5GJJwW7.cjs +1 -0
  109. package/dist/TagItem-BBc3HmnI.cjs +1 -0
  110. package/dist/TagItem-BFnSikAz.js +1125 -0
  111. package/dist/TvAdFreeBadge-BDFn2ujd.js +11 -0
  112. package/dist/TvAdFreeBadge-X2iSf6B3.cjs +1 -0
  113. package/dist/TvAdFreeRequestView-CEAvozfO.js +46 -0
  114. package/dist/TvAdFreeRequestView-DgnMCKX4.cjs +1 -0
  115. package/dist/TvAddView-Bv12wfX7.js +276 -0
  116. package/dist/TvAddView-CA7Yappn.cjs +1 -0
  117. package/dist/TvAlreadyAddedView-C240rLQ7.js +56 -0
  118. package/dist/TvAlreadyAddedView-X4KElzJA.cjs +1 -0
  119. package/dist/TvBroadcastContentView-DizJHvTQ.js +52 -0
  120. package/dist/TvBroadcastContentView-g8i0Cy-k.cjs +1 -0
  121. package/dist/TvChannelBadge-B4a1wkQI.cjs +1 -0
  122. package/dist/TvChannelBadge-Doqs12s9.js +11 -0
  123. package/dist/TvChannelView-CSn0VleL.js +177 -0
  124. package/dist/TvChannelView-Ds_F3Mmp.cjs +1 -0
  125. package/dist/TvChannelsView-CM_T5E3j.js +171 -0
  126. package/dist/TvChannelsView-r3NO_BRv.cjs +1 -0
  127. package/dist/TvGuideView-B8vS-8lS.cjs +1 -0
  128. package/dist/TvGuideView-BLlQJiZ3.js +54 -0
  129. package/dist/TvHomeView-C_h4DZw_.cjs +1 -0
  130. package/dist/TvHomeView-CbNg8AyI.js +15 -0
  131. package/dist/TvPreviewView-DhXD3H__.js +114 -0
  132. package/dist/TvPreviewView-hGq7_Bzs.cjs +1 -0
  133. package/dist/TvProgramTimeBadge-BtQKNLz2.js +18 -0
  134. package/dist/TvProgramTimeBadge-DPJu73xG.cjs +1 -0
  135. package/dist/TvProgramsView-Ba9VPnEh.cjs +1 -0
  136. package/dist/TvProgramsView-DO4WnPJx.js +223 -0
  137. package/dist/TvRadioDownloadView-ByABG_YW.js +41 -0
  138. package/dist/TvRadioDownloadView-CitV60kZ.cjs +1 -0
  139. package/dist/TvRequestProgramView-CYc5nAEt.cjs +1 -0
  140. package/dist/TvRequestProgramView-Dm5Bra4d.js +267 -0
  141. package/dist/TvRequests-Bcy68aT5.js +227 -0
  142. package/dist/TvRequests-l_Xv-rcr.cjs +1 -0
  143. package/dist/TvSearchBar-5J6420z2.cjs +1 -0
  144. package/dist/TvSearchBar-KZqcg7G0.js +95 -0
  145. package/dist/TvSearchResultsView-BTONTtMg.cjs +1 -0
  146. package/dist/TvSearchResultsView-CMsq8ehS.js +212 -0
  147. package/dist/TvTabs-CrQVKuod.js +88 -0
  148. package/dist/TvTabs-JuCI2Ea7.cjs +1 -0
  149. package/dist/TypeHelper-Dt2Y9Wc4.js +14 -0
  150. package/dist/TypeHelper-Z2rqPzup.cjs +1 -0
  151. package/dist/UseAlerts-B2BbQeN3.js +39 -0
  152. package/dist/UseAlerts-pIg83NsO.cjs +1 -0
  153. package/dist/UseFetchAll-BaDVJFdj.cjs +1 -0
  154. package/dist/UseFetchAll-DYGA8s5a.js +147 -0
  155. package/dist/UseGetMediaQueryString-BLeJTZt2.cjs +1 -0
  156. package/dist/UseGetMediaQueryString-Dc_jP0rr.js +226 -0
  157. package/dist/UseHandleDialogError-BJHsOnKn.js +9 -0
  158. package/dist/UseHandleDialogError-PbyWsVaT.cjs +1 -0
  159. package/dist/UseHandleObjectError-CBFN1Ill.cjs +1 -0
  160. package/dist/UseHandleObjectError-DAhDbPEo.js +16 -0
  161. package/dist/UseHover-CLOLtbUV.cjs +1 -0
  162. package/dist/UseHover-Cc_d5rRf.js +85 -0
  163. package/dist/UseSelectAllPages-04737Rdu.cjs +1 -0
  164. package/dist/UseSelectAllPages-Cnk3MEAt.js +149 -0
  165. package/dist/VideoHelper-3AKe5Jyy.js +477 -0
  166. package/dist/VideoHelper-BQ7rWUw0.cjs +1 -0
  167. package/dist/VideoList-SNG1hmoL.cjs +49 -0
  168. package/dist/VideoList-s7lvSqSs.js +2622 -0
  169. package/dist/VideoRequests-CpDXl7E_.cjs +1 -0
  170. package/dist/VideoRequests-DlUeYLjl.js +225 -0
  171. package/dist/VideoSortSelect-3JfrvPfj.cjs +1 -0
  172. package/dist/VideoSortSelect-DS9Uvc-S.js +116 -0
  173. package/dist/VisibleOnSvg-BisjF586.cjs +1 -0
  174. package/dist/VisibleOnSvg-WDCQPPvV.js +33 -0
  175. package/dist/app-2U039aX_.js +67680 -0
  176. package/dist/app-DcIbciDa.cjs +454 -0
  177. package/dist/app.js +1 -0
  178. package/dist/en.json +1 -0
  179. package/dist/exchange.css +1 -0
  180. package/dist/getRegionInfo-B_h_jjAy.js +31 -0
  181. package/dist/getRegionInfo-Bs5JKG7h.cjs +1 -0
  182. package/dist/index-CGkY5YVS.cjs +1 -0
  183. package/dist/index-DUgR-v-j.js +885 -0
  184. package/dist/toLocalTime-Bt8Uy4Kq.js +15 -0
  185. package/dist/toLocalTime-DF9SIfIt.cjs +1 -0
  186. package/dist/useBreakpoints-37V489ap.js +66 -0
  187. package/dist/useBreakpoints-B-bcgx-L.cjs +1 -0
  188. package/dist/useGetExchangeActions-BwXrBSH-.cjs +1 -0
  189. package/dist/useGetExchangeActions-C8Y1FNSl.js +176 -0
  190. package/dist/useGetTvActions-CmEBdHbw.cjs +1 -0
  191. package/dist/useGetTvActions-DENrO3wZ.js +54 -0
  192. package/dist/useHandleRegionError-BNRrs6y8.cjs +1 -0
  193. package/dist/useHandleRegionError-BNxhNPKP.js +10 -0
  194. package/dist/usePreviewContext--ihfEi4P.js +14 -0
  195. package/dist/usePreviewContext-DjpFhe3I.cjs +1 -0
  196. package/dist/useSelectedRegion-7_2s4QQF.js +16 -0
  197. package/dist/useSelectedRegion-D3Xsu2Ut.cjs +1 -0
  198. package/dist/useVerifiedEmailRequiredErrorHandler-CSkvs-EW.cjs +1 -0
  199. package/dist/useVerifiedEmailRequiredErrorHandler-DFLs3cQc.js +57 -0
  200. package/package.json +12 -3
  201. package/typings/utils/imports.d.ts +1 -1
  202. package/vite-i18n-plugin.ts +113 -0
  203. package/vite.config.ts +59 -0
  204. package/dist/bundles.json +0 -4
  205. package/dist/css/137-exchange-8c1b8716b3.chunk.css +0 -25
  206. package/dist/css/212-exchange-d71527fc65.chunk.css +0 -1
  207. package/dist/css/226-exchange-9ab9f14b3c.chunk.css +0 -57
  208. package/dist/css/291-exchange-be9d9f0cdb.chunk.css +0 -11
  209. package/dist/css/298-exchange-78ece5c7c5.chunk.css +0 -37
  210. package/dist/css/332-exchange-e4754ae27a.chunk.css +0 -1
  211. package/dist/css/489-exchange-6ecb1e7adc.chunk.css +0 -85
  212. package/dist/css/494-exchange-02d7a0249c.chunk.css +0 -2
  213. package/dist/css/522-exchange-1387f35e92.chunk.css +0 -14
  214. package/dist/css/538-exchange-4cbfe56ba3.chunk.css +0 -1
  215. package/dist/css/589-exchange-fa098d9131.chunk.css +0 -11
  216. package/dist/css/611-exchange-cbf2bb5621.chunk.css +0 -5
  217. package/dist/css/669-exchange-e80e6c6649.chunk.css +0 -10
  218. package/dist/css/68-exchange-b5eaf8af44.chunk.css +0 -35
  219. package/dist/css/75-exchange-6d2304419c.chunk.css +0 -5
  220. package/dist/css/759-exchange-23bb5dd175.chunk.css +0 -8
  221. package/dist/css/858-exchange-06944bdfa4.chunk.css +0 -1
  222. package/dist/css/904-exchange-0eab318199.chunk.css +0 -40
  223. package/dist/css/95-exchange-4cbfe56ba3.chunk.css +0 -1
  224. package/dist/css/lite-exchange-ed6bd260c5.css +0 -14
  225. package/dist/languages/en.json +0 -1
  226. package/dist/scripts/117-e2b3dd7f3e-exchange.chunk.js +0 -1
  227. package/dist/scripts/127-4a3c8f9725-exchange.chunk.js +0 -1
  228. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js +0 -2
  229. package/dist/scripts/136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt +0 -1
  230. package/dist/scripts/137-51b4dab452-exchange.chunk.js +0 -1
  231. package/dist/scripts/156-847dae6ace-exchange.chunk.js +0 -1
  232. package/dist/scripts/170-9db7c3b12e-exchange.chunk.js +0 -1
  233. package/dist/scripts/173-3668db114a-exchange.chunk.js +0 -1
  234. package/dist/scripts/212-6ed71b2797-exchange.chunk.js +0 -1
  235. package/dist/scripts/226-889bef8e6c-exchange.chunk.js +0 -1
  236. package/dist/scripts/267-7daf64f8a1-exchange.chunk.js +0 -1
  237. package/dist/scripts/291-7e85a6e844-exchange.chunk.js +0 -1
  238. package/dist/scripts/298-ed8e8b8328-exchange.chunk.js +0 -1
  239. package/dist/scripts/312-69afcbbc39-exchange.chunk.js +0 -1
  240. package/dist/scripts/325-76baea117f-exchange.chunk.js +0 -1
  241. package/dist/scripts/332-08d48debc2-exchange.chunk.js +0 -1
  242. package/dist/scripts/414-567e121c75-exchange.chunk.js +0 -2
  243. package/dist/scripts/414-567e121c75-exchange.chunk.js.LICENSE.txt +0 -60
  244. package/dist/scripts/442-fcba36183d-exchange.chunk.js +0 -1
  245. package/dist/scripts/455-ceeb969c54-exchange.chunk.js +0 -1
  246. package/dist/scripts/484-08c82c5a88-exchange.chunk.js +0 -1
  247. package/dist/scripts/489-be60742399-exchange.chunk.js +0 -2
  248. package/dist/scripts/489-be60742399-exchange.chunk.js.LICENSE.txt +0 -1
  249. package/dist/scripts/494-abba46b945-exchange.chunk.js +0 -2
  250. package/dist/scripts/494-abba46b945-exchange.chunk.js.LICENSE.txt +0 -1
  251. package/dist/scripts/507-b6e119c8e2-exchange.chunk.js +0 -1
  252. package/dist/scripts/522-ce819dee18-exchange.chunk.js +0 -2
  253. package/dist/scripts/522-ce819dee18-exchange.chunk.js.LICENSE.txt +0 -1
  254. package/dist/scripts/536-b915864d5f-exchange.chunk.js +0 -1
  255. package/dist/scripts/538-ccc01a623f-exchange.chunk.js +0 -2
  256. package/dist/scripts/538-ccc01a623f-exchange.chunk.js.LICENSE.txt +0 -1
  257. package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +0 -1
  258. package/dist/scripts/589-17d73ab116-exchange.chunk.js +0 -1
  259. package/dist/scripts/601-a3c22b0a9f-exchange.chunk.js +0 -1
  260. package/dist/scripts/611-d8bd3e98dc-exchange.chunk.js +0 -1
  261. package/dist/scripts/619-1abac6cb1d-exchange.chunk.js +0 -1
  262. package/dist/scripts/648-485af12c37-exchange.chunk.js +0 -1
  263. package/dist/scripts/659-d08f206e1d-exchange.chunk.js +0 -1
  264. package/dist/scripts/669-a49a0838ff-exchange.chunk.js +0 -1
  265. package/dist/scripts/68-34b81dae8c-exchange.chunk.js +0 -1
  266. package/dist/scripts/725-9ddf1084b6-exchange.chunk.js +0 -1
  267. package/dist/scripts/726-868a877381-exchange.chunk.js +0 -1
  268. package/dist/scripts/75-9780e4300e-exchange.chunk.js +0 -1
  269. package/dist/scripts/759-f1a9db4868-exchange.chunk.js +0 -1
  270. package/dist/scripts/782-2c340d8404-exchange.chunk.js +0 -1
  271. package/dist/scripts/831-8808647fc7-exchange.chunk.js +0 -1
  272. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +0 -2
  273. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js.LICENSE.txt +0 -1
  274. package/dist/scripts/858-70085ed3b1-exchange.chunk.js +0 -1
  275. package/dist/scripts/866-14ce8a3a4d-exchange.chunk.js +0 -1
  276. package/dist/scripts/87-d569a1463e-exchange.chunk.js +0 -1
  277. package/dist/scripts/877-5b357aeb63-exchange.chunk.js +0 -1
  278. package/dist/scripts/904-bd1dfd39e0-exchange.chunk.js +0 -1
  279. package/dist/scripts/925-f70ee1c7f9-exchange.chunk.js +0 -1
  280. package/dist/scripts/937-2e1f1f330e-exchange.chunk.js +0 -1
  281. package/dist/scripts/95-841a847f54-exchange.chunk.js +0 -2
  282. package/dist/scripts/95-841a847f54-exchange.chunk.js.LICENSE.txt +0 -1
  283. package/dist/scripts/bundle-26830afcc1.min.js +0 -2
  284. package/dist/scripts/bundle-26830afcc1.min.js.LICENSE.txt +0 -108
@@ -0,0 +1,1125 @@
1
+ import { I as me, aq as R, o as Ie, c as K, bn as be, ay as E, L as z, ab as b, bo as f, j as l, at as W, ac as te, ad as re, M as Pe, R as ge, ao as ae, G as ye } from "./app-2U039aX_.js";
2
+ import { H as g } from "./HardCoded-25AFj2sZ.js";
3
+ import { I as Le } from "./InstanceRegion-DQlzs4EK.js";
4
+ import { M as pe } from "./MasterTypeHelper-uSKy6GZd.js";
5
+ var ee = /* @__PURE__ */ ((e) => (e.LatestReleases = "latest-releases", e.ExploreAllTopics = "explore-all-topics", e.ClassificationLatestReleases = "classification-latest-releases", e.ClassificationDirectory = "classification-directory", e))(ee || {}), t = /* @__PURE__ */ ((e) => (e.Discover = "discover", e.Classification = "classification", e.ClassificationDirectory = "classification-directory", e.ClassificationCurriculum = "classification-curriculum", e.MoviesAndTv = "movies-and-tv", e.Company = "company", e.Search = "search", e))(t || {});
6
+ const Ee = [
7
+ "sort",
8
+ // "sort" isn't even a filter but it tends to go with our filters in our designs
9
+ "classification",
10
+ "presentation",
11
+ "audience",
12
+ "yearGroup",
13
+ "moviesAndTv",
14
+ "type",
15
+ "rating",
16
+ "interactives",
17
+ "clips",
18
+ "classroom",
19
+ "hasResources",
20
+ "hasSubtitles",
21
+ "productionYear",
22
+ "isHd",
23
+ "producedByClickView",
24
+ "duration",
25
+ "tagOrClassification",
26
+ "status",
27
+ "isAdmin",
28
+ "bulkActionType",
29
+ "userType",
30
+ "filter",
31
+ "channel",
32
+ "dateBroadcast",
33
+ "categoryId",
34
+ "hasInteractives",
35
+ "jobStatus",
36
+ "source",
37
+ "customerStatus",
38
+ "specialEventType",
39
+ "customerType"
40
+ ], Re = {
41
+ type: !0
42
+ }, We = Ee.reduce((e, a) => ({
43
+ ...e,
44
+ [a]: !Re[a]
45
+ }), {});
46
+ var O = /* @__PURE__ */ ((e) => (e.MyVideos = "my-videos", e.School = "school", e.ExchangeArchive = "exchange-archive", e.ClickView = "clickview", e))(O || {}), j = /* @__PURE__ */ ((e) => (e.Video = "video", e.Series = "series", e.Playlist = "playlist", e.Classification = "classification", e.Clip = "clip", e.Interactive = "interactive", e.Company = "company", e.Category = "category", e))(j || {});
47
+ const oe = {
48
+ MULTI_PRESENTATION_THRESHOLD: 2
49
+ };
50
+ var ve = /* @__PURE__ */ ((e) => (e.CLICKVIEW_CURATED = "is_clickview_curated", e.MOVIES_AND_TV = "is_movies_and_tv", e.STREAMABLE_CURATED = "is_streamable_learning_curated", e))(ve || {});
51
+ const Me = "_tagList_ihahv_1", Ae = "_badgeBase_ihahv_5", De = "_disabled_ihahv_8", xe = "_partialTag_ihahv_16", Oe = "_removeBadge_ihahv_19", Ne = "_removeBadgeText_ihahv_23", He = "_close_ihahv_26", H = {
52
+ tagList: Me,
53
+ badgeBase: Ae,
54
+ disabled: De,
55
+ partialTag: xe,
56
+ removeBadge: Oe,
57
+ removeBadgeText: Ne,
58
+ close: He
59
+ }, de = "onboarding:persona", U = "onboarding:usage:intention", X = "onboarding:had:job:title", le = "onboarding:videos:v2";
60
+ function ie(e, a) {
61
+ return e ? `${e}:${a}` : a;
62
+ }
63
+ function T(e, a) {
64
+ const i = R.get(a), s = ie(e, a);
65
+ return i !== null && (R.remove(a), R.set(s, i)), R.get(s);
66
+ }
67
+ function V(e, a, i) {
68
+ R.set(ie(e, a), i);
69
+ }
70
+ function Te(e, a) {
71
+ R.get(a) !== null && R.remove(a), R.remove(ie(e, a));
72
+ }
73
+ const k = {
74
+ getPersona(e) {
75
+ return T(e, de);
76
+ },
77
+ updatePersona(e, a) {
78
+ const i = me.getPersonaFromJobTitle(a);
79
+ V(e, de, i || "teacher");
80
+ },
81
+ getUsageIntention(e) {
82
+ return T(e, U);
83
+ },
84
+ updateUsageIntention(e, a) {
85
+ V(e, U, a);
86
+ },
87
+ removeUsageIntention(e) {
88
+ Te(e, U);
89
+ },
90
+ getJobTitleRedirect(e, a) {
91
+ return typeof T(e, X) != "boolean" && V(e, X, !!a), !T(e, X);
92
+ },
93
+ getOnboardingVideoSelections(e) {
94
+ return T(e, le);
95
+ },
96
+ setOnboardingVideoSelections(e, a) {
97
+ V(e, le, a);
98
+ }
99
+ };
100
+ function je(e, a) {
101
+ const i = "2024-03-26", s = "2024-11-28", r = "2024-12-11";
102
+ return e.some((c) => c.id.toString() === g.PresentationIds.AU_TERTIARY.toString() || c.id.toString() === g.PresentationIds.UK_TERTIARY.toString()) ? s : E.isBefore(a == null ? void 0 : a.dateCreated, i) ? r : i;
103
+ }
104
+ const G = {
105
+ getOnboardingPathway(e) {
106
+ const {
107
+ jobTitle: a,
108
+ userSettings: i,
109
+ presentations: s,
110
+ curriculums: r,
111
+ preferredPresentation: o,
112
+ preferredSubjects: c,
113
+ hasPlaylist: u,
114
+ appLink: v,
115
+ appLinks: I,
116
+ masterUser: m,
117
+ customer: S,
118
+ currentUser: h,
119
+ hasPermissions: M
120
+ } = e, D = k.getPersona(h == null ? void 0 : h.id);
121
+ !D && a && k.updatePersona(h == null ? void 0 : h.id, a), D && D !== me.getPersonaFromJobTitle(a) && k.updatePersona(h == null ? void 0 : h.id, a);
122
+ const N = {
123
+ jobTitle: a,
124
+ hasPlaylist: u,
125
+ masterUser: m,
126
+ customer: S,
127
+ presentations: s || [],
128
+ curriculums: r || [],
129
+ preferredPresentation: o,
130
+ preferredSubjects: c,
131
+ instanceRegion: h == null ? void 0 : h.instanceRegion,
132
+ hasPermissions: M,
133
+ userSettings: i
134
+ };
135
+ let P = G.getCurrentScreen(v, I);
136
+ const fe = Object.values(p), x = {};
137
+ let w = null, J = null, q = 0, F = 0, Z = !0;
138
+ return fe.forEach((_) => {
139
+ var ne;
140
+ if (!_.predicate(N))
141
+ return;
142
+ J || (J = _.id);
143
+ const $ = be.get(i, _.setting);
144
+ $ || (Z = !1), !P && !$ && (P = _.id), q++, x[_.id] = {
145
+ isComplete: $,
146
+ next: null,
147
+ previous: w,
148
+ number: q,
149
+ includeInProgressBar: !1
150
+ }, _.includeInProgressBar(N) && (F++, x[_.id].progressBarNumber = F, x[_.id].includeInProgressBar = !0), (ne = _.branches) != null && ne.length && _.branches.forEach((_e) => {
151
+ x[_e] = {
152
+ next: _.id,
153
+ previous: _.id,
154
+ includeInProgressBar: !1
155
+ };
156
+ }), w && (x[w].next = _.id), w = _.id;
157
+ }), !P && !Z && (P = J), {
158
+ screens: x,
159
+ currentScreen: P,
160
+ totalScreens: q,
161
+ totalScreensInProgressBar: F,
162
+ hasCompletedAllSteps: Z
163
+ };
164
+ },
165
+ getNextAppLink(e, a) {
166
+ const i = e.screens[e.currentScreen], s = i == null ? void 0 : i.next;
167
+ return s ? a[s] : null;
168
+ },
169
+ getPreviousAppLink(e, a) {
170
+ const i = e.screens[e.currentScreen], s = i == null ? void 0 : i.previous;
171
+ return s ? a[s] : null;
172
+ },
173
+ // Get the current screen that the user is on based on the current app route
174
+ getCurrentScreen(e, a) {
175
+ const i = Object.entries(a).find(([, s]) => s.action === e.action);
176
+ return i ? K.first(i) : null;
177
+ },
178
+ getProgress(e) {
179
+ var u, v, I;
180
+ const a = (u = e.screens[e.currentScreen]) == null ? void 0 : u.number, i = (v = e.screens[e.currentScreen]) == null ? void 0 : v.progressBarNumber, s = e.totalScreens, r = e.totalScreensInProgressBar, o = i / r * 100, c = (a - 1) / s * 100;
181
+ return {
182
+ showProgressBar: (I = e.screens[e.currentScreen]) == null ? void 0 : I.includeInProgressBar,
183
+ currentStepNumber: a,
184
+ currentStepProgressBarNumber: i,
185
+ totalScreens: s,
186
+ totalScreensInProgressBar: r,
187
+ progressBarPercentage: o,
188
+ overallPercentage: c
189
+ };
190
+ },
191
+ hasNonBdmTrial(e) {
192
+ return e(Ie.ViewTrialUpgrade);
193
+ },
194
+ getOnboardingScreenStates(e) {
195
+ const a = [], i = [];
196
+ return Object.keys(e.screens).forEach((s) => {
197
+ e.screens[s].isComplete ? a.push(s) : i.push(s);
198
+ }), {
199
+ completedScreens: a,
200
+ incompleteScreens: i
201
+ };
202
+ },
203
+ shouldRedirectToOnboarding(e, a, i, s) {
204
+ var r, o;
205
+ return (e == null ? void 0 : e.dateCreated) >= je(s, a) ? !0 : G.hasNonBdmTrial(i) ? k.getJobTitleRedirect(e == null ? void 0 : e.id, (o = (r = e == null ? void 0 : e.userProfile) == null ? void 0 : r.metadata) == null ? void 0 : o.jobTitle) : !1;
206
+ }
207
+ };
208
+ var C = /* @__PURE__ */ ((e) => (e[e.Level_1 = 1] = "Level_1", e[e.Level_2 = 2] = "Level_2", e[e.Level_3 = 3] = "Level_3", e[e.Level_4 = 4] = "Level_4", e))(C || {}), he = /* @__PURE__ */ ((e) => (e.Root = "root", e))(he || {}), Ce = /* @__PURE__ */ ((e) => (e.Subject = "Subject", e.CurriculumAudience = "CurriculumAudience", e.CurriculumSubject = "CurriculumSubject", e.CurriculumArea = "CurriculumArea", e.CurriculumLeaf = "CurriculumLeaf", e.CurriculumMetadata = "CurriculumMetadata", e))(Ce || {}), A = /* @__PURE__ */ ((e) => (e.Normal = "normal", e.Pedagogy = "pedagogy", e.Hidden = "hidden", e.Skill = "skill", e.Curation = "curation", e))(A || {});
209
+ const Be = "subjects.utils", Q = z.encloseNamespace(Be), B = {
210
+ isPresentation(e) {
211
+ return "learningLevel" in e;
212
+ },
213
+ isTopicClassification(e) {
214
+ return (e == null ? void 0 : e.type) === Ce.Subject;
215
+ },
216
+ getMappedPresentationLevel(e) {
217
+ return typeof e == "string" ? C[e] : e;
218
+ },
219
+ getMappedPresentationBackgroundColourClass(e) {
220
+ switch (B.getMappedPresentationLevel(e)) {
221
+ case C.Level_1:
222
+ return "bg-indigo";
223
+ case C.Level_3:
224
+ return "bg-blue";
225
+ case C.Level_4:
226
+ return "bg-navy";
227
+ default:
228
+ case C.Level_2:
229
+ return "bg-green";
230
+ }
231
+ },
232
+ // TODO: This should maybe live on the presentation metadata at some point instead.
233
+ getMappedPresentationBackgroundColourCode(e) {
234
+ switch (B.getMappedPresentationLevel(e)) {
235
+ case C.Level_1:
236
+ return "#7A76E8";
237
+ case C.Level_3:
238
+ return "#38A2E8";
239
+ case C.Level_4:
240
+ return "#1B2D71";
241
+ default:
242
+ case C.Level_2:
243
+ return "#5DC786";
244
+ }
245
+ },
246
+ getPresentationLevelImage(e, a) {
247
+ switch (B.getMappedPresentationLevel(e)) {
248
+ case C.Level_1: {
249
+ if (a === "topic-banner")
250
+ return g.Images.Level_1.TOPIC_BANNER;
251
+ if (a === "new-release-banner")
252
+ return g.Images.Level_1.NEW_RELEASES_BANNER;
253
+ if (a === "cover")
254
+ return g.Images.Level_1.TOPIC_COVER;
255
+ if (a === "tall-poster")
256
+ return g.Images.Level_1.TOPIC_TALL_POSTER;
257
+ }
258
+ case C.Level_2: {
259
+ if (a === "topic-banner")
260
+ return g.Images.Level_2.TOPIC_BANNER;
261
+ if (a === "new-release-banner")
262
+ return g.Images.Level_2.NEW_RELEASES_BANNER;
263
+ if (a === "cover")
264
+ return g.Images.Level_2.TOPIC_COVER;
265
+ if (a === "tall-poster")
266
+ return g.Images.Level_2.TOPIC_TALL_POSTER;
267
+ }
268
+ default:
269
+ case C.Level_3: {
270
+ if (a === "topic-banner")
271
+ return g.Images.Level_3.TOPIC_BANNER;
272
+ if (a === "new-release-banner")
273
+ return g.Images.Level_3.NEW_RELEASES_BANNER;
274
+ if (a === "cover")
275
+ return g.Images.Level_3.TOPIC_COVER;
276
+ if (a === "tall-poster")
277
+ return g.Images.Level_3.TOPIC_TALL_POSTER;
278
+ }
279
+ case C.Level_4: {
280
+ if (a === "topic-banner")
281
+ return g.Images.Level_4.TOPIC_BANNER;
282
+ if (a === "cover")
283
+ return g.Images.Level_4.TOPIC_COVER;
284
+ }
285
+ }
286
+ },
287
+ getExploreAllTopicsTitle(e, a) {
288
+ return a < oe.MULTI_PRESENTATION_THRESHOLD ? Q("exploreAllTopicsHeading") : Q("exploreAllTopicsDynamicHeading", { presentationName: e });
289
+ },
290
+ getExploreAllTopicsBreadcrumb(e, a) {
291
+ return a < oe.MULTI_PRESENTATION_THRESHOLD ? Q("exploreAllTopicsHeading") : e;
292
+ },
293
+ isFollowing(e) {
294
+ var a, i;
295
+ return ((i = (a = e == null ? void 0 : e.followers) == null ? void 0 : a.data) == null ? void 0 : i.length) === 1;
296
+ },
297
+ isTopLevelTopic(e) {
298
+ var a;
299
+ return !!((a = e == null ? void 0 : e.parentIds) != null && a.includes(he.Root));
300
+ },
301
+ canHaveVideoListTab(e) {
302
+ var a;
303
+ return (a = e == null ? void 0 : e.widgets) == null ? void 0 : a.some((i) => {
304
+ var s;
305
+ return (s = i.metadata) == null ? void 0 : s.showInTableOfContents;
306
+ });
307
+ },
308
+ getActiveTopicTab(e, a) {
309
+ return B.isTopLevelTopic(e) ? a === t.Classification ? "new-releases" : "all-topics" : a === t.Classification ? "curated-topic" : "curriculum";
310
+ },
311
+ getCounts(e) {
312
+ var i;
313
+ const a = ((i = e == null ? void 0 : e.metadata) == null ? void 0 : i.childClassificationCount) ?? 0;
314
+ return e != null && e.externalMetadata ? {
315
+ childClassificationCount: a,
316
+ dashboardVideoCount: e.externalMetadata.dashboardVideoCount || 0,
317
+ childDashboardVideoCount: e.externalMetadata.childDashboardVideoCount || 0,
318
+ dashboardResourceCount: e.externalMetadata.dashboardResourceCount || 0,
319
+ childDashboardResourceCount: e.externalMetadata.childDashboardResourceCount || 0,
320
+ dashboardNewVideosCount: e.externalMetadata.dashboardNewVideosCount || 0,
321
+ childDashboardNewVideoCount: e.externalMetadata.childDashboardNewVideoCount || 0
322
+ } : {
323
+ childClassificationCount: a,
324
+ dashboardVideoCount: 0,
325
+ childDashboardVideoCount: 0,
326
+ dashboardResourceCount: 0,
327
+ childDashboardResourceCount: 0,
328
+ dashboardNewVideosCount: 0,
329
+ childDashboardNewVideoCount: 0
330
+ };
331
+ },
332
+ isTertiary(e) {
333
+ return (e == null ? void 0 : e.toString()) === g.PresentationIds.AU_TERTIARY.toString() || (e == null ? void 0 : e.toString()) === g.PresentationIds.UK_TERTIARY.toString();
334
+ },
335
+ isNewZealandTopic(e) {
336
+ return (e == null ? void 0 : e.toString()) === g.PresentationIds.NZ_PRIMARY.toString() || (e == null ? void 0 : e.toString()) === g.PresentationIds.NZ_SECONDARY.toString();
337
+ },
338
+ isMtv(e) {
339
+ var a;
340
+ return (a = e == null ? void 0 : e.tags) != null && a.data ? e.tags.data.some((i) => i.tagType === A.Curation && i.name === ve.MOVIES_AND_TV) : !1;
341
+ },
342
+ sortByLearningLevel(e, a, i) {
343
+ const s = i.find((u) => {
344
+ var v;
345
+ return (u == null ? void 0 : u.id.toString()) === ((v = e == null ? void 0 : e.presentationId) == null ? void 0 : v.toString());
346
+ }), r = i.find((u) => {
347
+ var v;
348
+ return (u == null ? void 0 : u.id.toString()) === ((v = a == null ? void 0 : a.presentationId) == null ? void 0 : v.toString());
349
+ }), o = C[s == null ? void 0 : s.learningLevel], c = C[r == null ? void 0 : r.learningLevel];
350
+ return o - c;
351
+ }
352
+ }, we = {
353
+ 9: { JpZ05O1: { name: "English", videoIds: ["12293130", "30361411", "56866418", "58438459", "47329278", "33204878"] }, nK2le8E: { name: "Personal Development and Health", videoIds: ["8789599", "60153074", "3713674", "15492556", "3716135", "53092493"] }, yKGO31z: { name: "Business and Economics", videoIds: ["47366972", "3715870", "18845095", "36235981", "53428226", "51407674"] }, m0LrOj4: { name: "Geography", videoIds: ["67277770", "3716182", "5803343", "21143528", "3716292", "3922246"] }, v47nvEK: { name: "History", videoIds: ["3926454", "3716774", "3713871", "3716594", "3716183", "3713847"] }, j03MPwr: { name: "Legal Studies", videoIds: ["3102514", "1980904", "1969843", "3716210", "3714860", "2787675"] }, bbJR9Zn: { name: "Languages", videoIds: ["5449905", "42463035", "6820509", "6027576", "47076421", "5455635"] }, "8L21E3O": { name: "Mathematics", videoIds: ["3715870", "3715019", "51005229", "3714949", "3716177", "3715365"] }, "2jDy2M7": { name: "Religion and Philosophy", videoIds: ["3716229", "3716171", "41056701", "16574869", "3716175", "50917953"] }, qdo988Y: { name: "Biological Sciences", videoIds: ["3714819", "3716265", "4683666", "3715984", "38041517", "3779793"] }, "0OPpqqo": { name: "Chemical Sciences", videoIds: ["52947827", "52948049", "3715160", "4427422", "57870424", "47323862"] }, dlMrOdE: { name: "Physical Sciences", videoIds: ["11746875", "3716307", "39316775", "6746382", "6812332", "6344597"] }, "0OZyLGy": { name: "Technologies", videoIds: ["3714027", "6863817", "3716153", "34149622", "22733300", "10345707"] }, "0OZyLYy": { name: "The Arts", videoIds: ["3713730", "3716727", "3937998", "32102569", "3716167", "32998073"] }, Jp6k7by: { name: "Aboriginal and Torres Strait Islander Studies", videoIds: ["39653785", "56866418", "3713730", "3716831", "35848459", "3716863"] }, "4GRgpve": { name: "Careers and Vocational Education", videoIds: ["8191834", "8194999", "8194478", "8686941", "8696292", "16168801"] }, Rb4dbm1: { name: "Civics and Citizenship", videoIds: ["5803343", "37938448", "13106949", "22372922", "47303205", "1521314"] }, DdKR5WL: { name: "Earth and Space Sciences", videoIds: ["3716182", "5803343", "3716621", "4006484", "3716170", "21148006"] }, "0wOxDvl": { name: "Physical Education", videoIds: ["3714278", "3714277", "3714263", "3714261", "7709983", "3714262"] }, "7m2JLPq": { name: "Psychology", videoIds: ["3714892", "3714373", "3714890", "3714891", "6590889", "3717555"] }, nENmdK1: { name: "Sociology", videoIds: ["3714506", "50807954", "3714583", "38169050", "6590951", "57771705"] } },
354
+ 12: { v45P37g: { name: "Expressive Arts", videoIds: ["8924670", "49585075", "38370221", "47484152", "54095899", "32102465"] }, GxyLnJn: { name: "Languages", videoIds: ["7486323", "36991396", "5449905", "40919815", "48278510", "50466413"] }, "7PWYrDW": { name: "Literacy and English", videoIds: ["41906926", "49581979", "61250", "52429859", "32970218", "41938064"] }, eKpbY50: { name: "Numeracy and Mathematics", videoIds: ["3711988", "42637723", "6682722", "58026826", "13078019", "4991116"] }, k3MlbL9: { name: "PSHE", videoIds: ["7593354", "4169937", "9900606", "37428010", "50180637", "37857897"] }, wLDW2LL: { name: "Religious and Philosophical Education", videoIds: ["8739794", "8733823", "8734696", "39428437", "49159932", "49159889"] }, nKGonKL: { name: "Sciences", videoIds: ["3711985", "36554684", "4108673", "3712066", "7310225", "48022765"] }, eKpbEMy: { name: "Social Studies", videoIds: ["38091407", "52436848", "8139170", "8733988", "52601783", "51668932"] }, MgqLxwk: { name: "Technologies", videoIds: ["47529961", "4108924", "3711985", "51668853", "49834298", "37137391"] }, Yv56NaM: { name: "Biological Systems", videoIds: ["3779793", "3713221", "3713363", "3713562", "3713236", "3716289"] }, "8Lv5Na0": { name: "Citizenship", videoIds: ["3959296", "3713237", "62336", "7586599", "48522943", "22372630"] }, v4MYJ94: { name: "Forces, Electricity and Waves", videoIds: ["3713221", "3713695", "3713298", "3713562", "3713342", "3713279"] }, "1d5Opwv": { name: "Materials and Substances", videoIds: ["3713221", "3713562", "3716289", "7334569", "3713286", "3716279"] }, raqjNz4: { name: "Music", videoIds: ["50466237", "49808227", "38134895", "30324910", "49535315", "6412547"] }, eKp93yo: { name: "People, Past Events and Societies", videoIds: ["52436848", "8139170", "48666851", "49159889", "54092899", "51668932"] }, "2jlKbrd": { name: "People, Place and Environment", videoIds: ["50800706", "16206702", "81764274", "80349361", "51668517", "37938665"] }, xA2zYyP: { name: "Planet Earth and Space", videoIds: ["3713858", "3716170", "48022455", "3713237", "3713221", "3713761"] }, "3bNnxmn": { name: "Study and Research Skills", videoIds: ["3715013", "5952919", "5892164", "8999934", "219449", "51724289"] } },
355
+ 13: { GxAzY0z: { name: "Arts", videoIds: ["6412547", "53550381", "40919555", "50977326", "53108637", "49858623"] }, Jpy1Edb: { name: "Computer Science and Technology", videoIds: ["39382930", "40907539", "48236013", "48233767", "48236100", "3712674"] }, NqgPKaG: { name: "English Language Arts", videoIds: ["38945464", "39388174", "52673932", "38945448", "60062676", "48235940"] }, bbJ74ed: { name: "Health", videoIds: ["39430062", "40919434", "39362080", "39383081", "58025600", "40919494"] }, Dda6pW3: { name: "Math", videoIds: ["49532295", "38943192", "49532442", "39382723", "39388252", "38944700"] }, j0a4Arj: { name: "Physical Education", videoIds: ["40919406", "48235838", "50652589", "40919430", "48236078", "50652575"] }, "8LnP7p8": { name: "Social and Emotional Learning", videoIds: ["39451488", "48235859", "39337317", "40964136", "42314985", "39382748"] }, "4Gl1DaK": { name: "World Languages", videoIds: ["40919719", "40919802", "40919815", "40919186", "40915325", "49858537"] }, Jpy1EP2: { name: "Civics and Government", videoIds: ["50807954", "50800622", "57355287", "38945573", "40919591", "57978641"] }, ZAl67rb: { name: "Earth and Space Science", videoIds: ["7336963", "3713237", "3713761", "3712190", "3779809", "39414730"] }, ze5PRD9: { name: "Economics", videoIds: ["57978515", "52673893", "39386335", "80309108", "52673959", "80309197"] }, GxAzYW1: { name: "Geography", videoIds: ["39382727", "39430086", "39342430", "40919446", "79131743", "57200758"] }, R0L3j6g: { name: "History", videoIds: ["57948887", "84615538", "49690616", "40911809", "51668864", "50735582"] }, "9DPWnaO": { name: "Life Science", videoIds: ["3713236", "7335448", "3713268", "53044818", "50976630", "50977361"] }, nKzp19Y: { name: "Physical Science", videoIds: ["3713221", "3713695", "3713298", "38945712", "39382930", "84609116"] }, "7P7n8AR": { name: "Religion", videoIds: ["50800564", "38945207", "38945680", "54093273", "50180383", "49159058"] } },
356
+ 14: { "2jrkdLY": { name: "Arts", videoIds: ["38916908", "6412547", "40919390", "40919482", "38817643", "38817665"] }, g42EN1v: { name: "Computer Science and Technology", videoIds: ["40919434", "38917550", "50878197", "40907190", "40907208", "39382881"] }, "5ROzG7l": { name: "English Language Arts", videoIds: ["39387902", "40912179", "60062676", "40916580", "40919438", "48234159"] }, ze5J1AE: { name: "Health", videoIds: ["39362404", "39430062", "51152651", "40919426", "40919486", "48234499"] }, v4qnrzg: { name: "Math", videoIds: ["39361909", "51005193", "51730147", "48715611", "39382600", "49532478"] }, "1dRa6vd": { name: "Physical Education", videoIds: ["40918377", "51617459", "49533964", "42463003", "51182678", "50652593"] }, xyLWk6w: { name: "Social and Emotional Learning", videoIds: ["40964136", "53746175", "48172750", "48171641", "50417923", "50418083"] }, DdaRGrq: { name: "World Languages", videoIds: ["40915666", "40915325", "42486037", "40915698", "40915345", "48040254"] }, yrKZA3y: { name: "Careers and Technical Education", videoIds: ["48172750", "52328920", "22422792", "47488746", "51187200", "84960065"] }, R0LRx1g: { name: "Chemical Science", videoIds: ["7334569", "50876056", "52318636", "58196676", "50837270", "47251669"] }, "7P7y5bR": { name: "Civics and Government", videoIds: ["50800622", "54089250", "40919577", "81573693", "53737737", "57978641"] }, g42ENM9: { name: "Earth and Space Science", videoIds: ["39430086", "39414730", "39414759", "50875964", "40919857", "51264326"] }, LqGREZL: { name: "Economics", videoIds: ["57978515", "53737737", "51408524", "51409809", "51779414", "48463897"] }, obMmqy5: { name: "Geography", videoIds: ["48234876", "81930059", "39931606", "71810304", "47321866", "48236170"] }, ZAlrZ11: { name: "Life Science", videoIds: ["48022455", "3713236", "36554448", "9203166", "40914938", "51863288"] }, obMmqWk: { name: "Physical Science", videoIds: ["3713695", "3713298", "3713342", "3713279", "7345732", "48233477"] }, "5ROzG0o": { name: "Religion and Ethics", videoIds: ["57377971", "57355136", "57375306", "57379661", "39904894", "78287556"] }, nEN5zAj: { name: "Science and Engineering Practices", videoIds: ["3713221", "51724079", "50876282", "3713711", "9203166", "40917307"] }, xyLWk4p: { name: "U.S. History", videoIds: ["50168351", "53577428", "53551209", "54090633", "49690616", "69402165"] }, p3yr17b: { name: "World History", videoIds: ["51415052", "51668932", "81936739", "40913381", "50917975", "82655889"] } },
357
+ 15: { yKZ43dw: { name: "Arts", videoIds: ["38817665", "39999270", "38808751", "40911271", "40911232", "51581800"] }, p3y82WO: { name: "Career and Technical Education", videoIds: ["52328915", "52328920", "47488746", "47488362", "52436904", "40917538"] }, KAERnwR: { name: "Computer Science and Technology", videoIds: ["40915847", "40916210", "51262040", "39912587", "51250029", "58318543"] }, LqGrPwA: { name: "English Language Arts", videoIds: ["40914651", "40918236", "77544344", "51581321", "39319556", "40912204"] }, "8LnamD8": { name: "Health", videoIds: ["51154979", "48235793", "46984526", "39894691", "59279809", "50996991"] }, Jpyo7W2: { name: "Math", videoIds: ["47595827", "51730147", "49532658", "48715416", "48234988", "48715584"] }, "5RO2ml5": { name: "Physical Education", videoIds: ["49533951", "40918509", "40918377", "51655191", "50652593", "40908770"] }, ze5d6l9: { name: "Social and Emotional Learning", videoIds: ["48171596", "48171968", "48171765", "50418083", "50418241", "48235802"] }, KAERnDz: { name: "World Languages", videoIds: ["42486037", "48234348", "40919186", "40919098", "40918945", "40915898"] }, "7P7p05W": { name: "Business and Economics", videoIds: ["51407674", "57978515", "77649088", "51100707", "58123778", "51407769"] }, laYDvoG: { name: "Chemistry", videoIds: ["48233332", "40916556", "52318636", "58196676", "52948049", "52938235"] }, LqGrPEj: { name: "Civics and Government", videoIds: ["50800622", "50871477", "40919577", "81574026", "77829152", "80399681"] }, wLj3A04: { name: "Earth and Space Science", videoIds: ["39927128", "40919857", "39926995", "40915159", "51292616", "51264452"] }, "4GldpJG": { name: "Geography", videoIds: ["51264452", "40914544", "48449463", "81930059", "51182016", "51240873"] }, dleKgE2: { name: "Life Sciences", videoIds: ["40909818", "40910549", "50834178", "40919211", "40908887", "50834330"] }, "2jre2Oe": { name: "Physics", videoIds: ["6762513", "40913948", "85029481", "81269747", "82339649", "82340162"] }, W12y493: { name: "Psychology", videoIds: ["40908799", "81539973", "40908929", "81539825", "77911442", "81540071"] }, yKZ432M: { name: "Religion and Philosophy", videoIds: ["57377971", "57375306", "57379661", "57379674", "39904894", "78287556"] }, "69xJOgr": { name: "Science and Engineering Practices", videoIds: ["50876282", "9203166", "40917307", "57355599", "39592894", "50962824"] }, jl7Elwx: { name: "Sociology", videoIds: ["81389320", "81388819", "77911225", "47329600", "47329600", "36508642"] }, Ax2KeMo: { name: "U.S. History", videoIds: ["53487293", "50168351", "77827742", "50793077", "50168007", "51168977"] }, laYDvwm: { name: "World History", videoIds: ["78902422", "39394547", "52993554", "50917975", "51414677", "38907954"] } },
358
+ 16: { KAEY5GK: { name: "Art and Design", videoIds: ["8924670", "49585075", "38370221", "47484152", "54095899", "32102465"] }, "6wa2YwO": { name: "Citizenship", videoIds: ["57355388", "52601783", "48522943", "22372630", "53108585", "41992024"] }, R0LK746: { name: "Computing", videoIds: ["26617482", "38132678", "26619390", "36895952", "41565288", "36895909"] }, "9DPkNz6": { name: "Design and Technology", videoIds: ["47529961", "4108924", "3711985", "51668853", "49834298", "37137391"] }, "2jDnan9": { name: "Drama", videoIds: ["51240522", "230268", "37018426", "41939112", "51582282", "46916103"] }, E06dg2Z: { name: "English", videoIds: ["41906926", "49581979", "61250", "52429859", "32970218", "41938064"] }, "8LnO2Rd": { name: "Geography", videoIds: ["67225999", "3713237", "4402476", "50800706", "51666994", "48105073"] }, bbJ9Ayb: { name: "History", videoIds: ["52436848", "8139170", "8733988", "48666851", "51668932", "51731292"] }, Dda4KYL: { name: "Languages", videoIds: ["7486323", "36991396", "5449905", "40919815", "48278510", "50466413"] }, Ax2Jyoa: { name: "Mathematics", videoIds: ["3711988", "42637723", "6682722", "58026826", "13078019", "4991116"] }, bbJ9Ap0: { name: "Music", videoIds: ["50466237", "6412547", "49535315", "49808227", "30324910", "64333"] }, NqgMRWy: { name: "Physical Education", videoIds: ["38132665", "39294835", "48118056", "57372274", "53108623", "47431467"] }, Yvm5eyp: { name: "PSHE", videoIds: ["7593354", "4169937", "9900606", "37428010", "50180637", "37857897"] }, "8LnO2Je": { name: "Religious Education", videoIds: ["8739794", "8733823", "8734696", "39428437", "49159932", "49159889"] }, "3kmoJ72": { name: "Science", videoIds: ["3711985", "36554684", "4108673", "3712066", "7310225", "48022765"] } },
359
+ 18: { yKP9gOD: { name: "Civics and Citizenship", videoIds: ["7735265", "7735497", "50679052", "51452628", "13106949", "13107690"] }, "7P6JOYb": { name: "Economics and Business Studies", videoIds: ["53428624", "37455700", "57355319", "53428628", "43961148", "57966130"] }, j0jRJ1Z: { name: "English", videoIds: ["8416974", "8417845", "3712691", "32127566", "6673418", "52675027"] }, nKDmYEl: { name: "Geography", videoIds: ["58600977", "6980722", "34591272", "4402447", "34597058", "51437590"] }, WAe601Z: { name: "History", videoIds: ["3713735", "6430651", "3716829", "43772092", "51391809", "56980377"] }, v4893Yy: { name: "Languages", videoIds: ["5449905", "32345978", "39623583", "6820509", "39255442", "39254760"] }, nKDmYkl: { name: "Mathematics", videoIds: ["3713828", "10749459", "32102562", "6689791", "3713607", "48278618"] }, "0OeG09l": { name: "Religion", videoIds: ["8740724", "8733239", "8739706", "8734693", "8733792", "33320133"] }, KAmPJqP: { name: "Technologies", videoIds: ["26619390", "4131606", "38132678", "50720784", "57230386", "51181861"] }, MgOve7k: { name: "The Arts", videoIds: ["50466237", "6412334", "8100020", "3716220", "49808227", "32787298"] }, NqkJ495: { name: "Biological Sciences", videoIds: ["3713221", "3713363", "3711972", "5321193", "45248896", "51271242"] }, NqkJ4xy: { name: "Chemical Sciences", videoIds: ["3712073", "48022232", "3712074", "50800545", "50720770", "50962883"] }, KAmPJOL: { name: "Earth and Space Sciences", videoIds: ["3716182", "34591272", "34590945", "6683633", "6683711", "3713739"] }, p0Nm2AY: { name: "Personal Development and Health", videoIds: ["23645932", "7593792", "7593365", "36875667", "7587057", "9900524"] }, D12Mz8e: { name: "Physical Education", videoIds: ["81770378", "38132665", "58025996", "82328353", "47219168", "53093878"] }, Oz83dm5: { name: "Physical Sciences", videoIds: ["36554689", "3713221", "3713695", "3713298", "84609116", "36554677"] } },
360
+ 24: { qdarDYp: { name: "Business and Economics", videoIds: ["51623323", "47366972", "37709668", "37709732", "3716149", "8973838"] }, eKnGDa0: { name: "English", videoIds: ["36191688", "33204878", "36395402", "5758602", "35997069", "23851791"] }, Yv5dzw5: { name: "Expressive Arts", videoIds: ["3716191", "3716247", "48134757", "32998073", "3716167", "35601583"] }, ra6m0d1: { name: "Geography", videoIds: ["74135484", "9375166", "5711759", "16206702", "3922246", "48476601"] }, E0dZqyR: { name: "History", videoIds: ["3926454", "9978142", "4684604", "8372779", "3716183", "4648523"] }, "9DkAaKy": { name: "Languages", videoIds: ["5449905", "42463035", "6820509", "42209168", "47076421", "5455635"] }, "8LOYpl0": { name: "Numeracy and Mathematics", videoIds: ["3716176", "3715070", "51730710", "3715047", "4553884", "48091307"] }, m0d5D7r: { name: "Physical Education", videoIds: ["7609298", "3714120", "3714279", "49160029", "3714263", "51667687"] }, g4WgD5l: { name: "PSE", videoIds: ["59279784", "3716135", "53259069", "53259054", "983611", "16132648"] }, eKnGDdP: { name: "Religious, Moral and Philosophical Education", videoIds: ["3716229", "3716171", "39379918", "33305783", "3716175", "3716237"] }, "2jDd3kx": { name: "Technologies", videoIds: ["50917033", "58307508", "3716153", "74135484", "48083353", "35004434"] }, "4GRN4Eq": { name: "Biology", videoIds: ["3714819", "3716182", "5803343", "3716265", "4683666", "3779793"] }, "6wma2KO": { name: "Career Education and Skills for Work", videoIds: ["8191834", "8194999", "8686941", "8696292", "8687327", "9312222"] }, LqAlv96: { name: "Chemistry", videoIds: ["3713221", "3717296", "3716700", "3717051", "3716289", "7334569"] }, "8LOYpZR": { name: "Computing and ICT", videoIds: ["3716153", "26619390", "58307508", "26618525", "48490433", "51731678"] }, "3b9r3ka": { name: "Law", videoIds: ["3714675", "22372859", "5270400", "36503787", "22220755", "57828397"] }, Gx5kpRO: { name: "Media Studies", videoIds: ["3716135", "3716275", "47244475", "3716274", "47244664", "47244504"] }, "6w5zqYO": { name: "Modern Studies", videoIds: ["3716292", "5803343", "3716190", "3713994", "3713237", "47366972"] }, g78nMPW: { name: "Physics", videoIds: ["6746382", "9831360", "3716170", "6812332", "34941552", "6762513"] }, "3ko2eAw": { name: "Psychology", videoIds: ["6590889", "3714392", "3714377", "39438648", "3717555", "6590951"] } },
361
+ 47: { LqKNnNw: { name: "Business and Economics", videoIds: ["51623323", "47366972", "37709668", "37709732", "3716149", "8973838"] }, "7PgZvEA": { name: "Careers", videoIds: ["9315247", "9312222", "47104083", "3715120", "3714944", "47159767"] }, la7zdgw: { name: "English", videoIds: ["53466594", "77444242", "17989642", "30340068", "24419904", "33204878"] }, wLKkMwD: { name: "Expressive Arts", videoIds: ["3716191", "3716247", "48134757", "32998073", "3716167", "35601583"] }, wLKkMEp: { name: "Geography", videoIds: ["74135484", "22687577", "5711759", "16206702", "3922246", "19105359"] }, OzZ6vg4: { name: "History", videoIds: ["3926454", "9978142", "4684604", "8372779", "3716183", "4648523"] }, YvJby7P: { name: "Mathematics", videoIds: ["3716176", "3715070", "51730710", "3715047", "4553884", "34497285"] }, v41jLmK: { name: "Modern Foreign Languages", videoIds: ["5449905", "42463035", "6820509", "42209168", "47076421", "5455635"] }, aPG3mRe: { name: "Physical Education", videoIds: ["7609298", "3714120", "3714279", "49160029", "3714263", "51667687"] }, Gxp3jze: { name: "PSHE", videoIds: ["59279784", "3716135", "53259069", "53259054", "983611", "16132648"] }, qd2K0qY: { name: "Religion", videoIds: ["3716229", "3716171", "39379918", "33305783", "3716175", "3716237"] }, nKvyqe1: { name: "Technology", videoIds: ["50917033", "58307508", "3716153", "74135484", "48083353", "35004434"] }, la7z0eL: { name: "Biology", videoIds: ["3714819", "3716182", "5803343", "4683666", "3779793", "3716169"] }, wLKkGZY: { name: "Chemistry", videoIds: ["5795485", "3717296", "3716700", "6737003", "6737780", "9030741"] }, r4YknOP: { name: "Citizenship", videoIds: ["5803343", "3716190", "3716293", "79799081", "3716210", "79620772"] }, "4GzZbpL": { name: "Computing and ICT", videoIds: ["58308441", "58307508", "48490433", "48490093", "48611300", "59323845"] }, yKjEMbw: { name: "Law", videoIds: ["22372859", "54577039", "79799081", "79620772", "5270400", "79799099"] }, "6wGZWer": { name: "Media Studies", videoIds: ["33204878", "47283314", "3716275", "47244475", "3716274", "47283102"] }, YvJbwpe: { name: "Physics", videoIds: ["6746382", "9831360", "6812332", "34941552", "6762513", "37711980"] }, "2jak8l9": { name: "Psychology", videoIds: ["38169050", "3717591", "57771705", "6599207", "3717590", "57771703"] }, "8ymN4z8": { name: "Sociology", videoIds: ["6590951", "15923455", "6599693", "3714530", "36503787", "36508642"] } },
362
+ 81: { K6nGJr9: { name: "Arts and Design", videoIds: ["32998073", "10916108", "3714100", "32102569", "67277770", "3714465"] }, "2m2bo9d": { name: "Business and Marketing", videoIds: ["18654895", "8973838", "12955878", "3715697", "47583323", "22563804"] }, AOe31wj: { name: "Careers and Work", videoIds: ["8194999", "8973940", "3715805", "38132141", "45692655", "52874679"] }, xA28NqR: { name: "Community and Youth Services", videoIds: ["58155906", "3714331", "3714510", "4144817", "43307103", "80005094"] }, vY2odPv: { name: "Education and Training", videoIds: ["3715013", "49093031", "3714891", "24103433", "3714590", "51181808"] }, Jj7AgRb: { name: "Events, Hospitality, Retail and Tourism", videoIds: ["3713992", "34061952", "52183441", "35409925", "3716333", "77936874"] }, nEeNnbE: { name: "Foundation Skills and Personal Development", videoIds: ["33174549", "42500607", "9264932", "5952919", "22713942", "48155206"] }, m6eW7Nr: { name: "Health and Healthcare", videoIds: ["3714892", "9375166", "3714611", "3714331", "4144817", "3714592"] }, kZWnqG6: { name: "Information and Communications Technology", videoIds: ["3716153", "7897881", "10584560", "7869408", "58308441", "58307508"] }, xA28NgY: { name: "Mathematics", videoIds: ["26063133", "3715838", "3715050", "23853803", "23848364", "25658497"] }, OqMG72A: { name: "Science", videoIds: ["38041517", "38043803", "22232723", "6812332", "3714819", "3714462"] }, "8ymN5wd": { name: "Services, Trades and Engineering", videoIds: ["52874679", "39319138", "26063133", "20290415", "3715837", "3715359"] }, Jj7Agyy: { name: "Society and Culture", videoIds: ["18569471", "3714314", "3714937", "49306628", "3714486", "45334884"] } },
363
+ 82: { vY2o59g: { name: "Arts and Design", videoIds: ["32102504", "12598560", "32998073", "83017577", "23740459", "3716167"] }, Jj7AK52: { name: "Business and Finance", videoIds: ["50247134", "8973838", "18654895", "12598127", "71418012", "51623323"] }, l5vPyNm: { name: "Careers and Work", videoIds: ["9312222", "8191834", "45664204", "8973940", "47579402", "52251343"] }, r42NqxG: { name: "Community and Youth Services", videoIds: ["53259063", "16132648", "47207659", "3714506", "63984885", "57771705"] }, l5vPybd: { name: "Computing, Technology and Digital", videoIds: ["33204878", "3716153", "35046405", "10345707", "58308441", "48611300"] }, odelM2D: { name: "Construction, Trades and Services", videoIds: ["26063133", "48689684", "10565525", "4146135", "3715345", "23988515"] }, dqgkNyd: { name: "Education and Training", videoIds: ["3715013", "9080279", "3714506", "3714892", "57771705", "42500607"] }, "7m0271k": { name: "Engineering, Manufacturing and Electrotechnology", videoIds: ["58308441", "39319138", "26066739", "20290415", "20306169", "3716293"] }, vY2oqWG: { name: "English Literature and Language", videoIds: ["33204878", "31993108", "9227475", "49066628", "60059964", "5790748"] }, Eol2zjR: { name: "Functional Skills and Personal Development", videoIds: ["9312222", "9316945", "42515350", "5668137", "9560804", "5952919"] }, "4rp97l9": { name: "Health and Care", videoIds: ["10896257", "58127362", "59279784", "49948105", "45818245", "47198490"] }, yr33MLG: { name: "Hospitality and Food", videoIds: ["22733300", "3714027", "52183441", "23853803", "35409925", "35410496"] }, G1Ea5n5: { name: "Languages", videoIds: ["9227475", "45258243", "82093433", "82093931", "60060323", "82092337"] }, "3b9N8dE": { name: "Mathematics", videoIds: ["26158674", "26444801", "48155206", "52415295", "50288809", "51005229"] }, "4rppnP7": { name: "Retail and Sales", videoIds: ["7181915", "22552850", "3715808", "22710596", "7183122", "3716322"] }, RbG4Dm1: { name: "Science", videoIds: ["4683666", "45819014", "26686718", "57887823", "13023269", "6812332"] }, W19xRxz: { name: "Social Sciences", videoIds: ["47575902", "3715869", "36220305", "5270400", "50269716", "3714426"] }, "8ymNvoR": { name: "Sport and Leisure", videoIds: ["3714261", "7609298", "57736364", "32051772", "3714278", "3714126"] }, l5vPyM3: { name: "Travel and Tourism", videoIds: ["77720073", "3716190", "3713902", "3716136", "78706124", "39406754"] } },
364
+ 96: { jlvNeWR: { name: "Continuity and Change", videoIds: ["86615390", "3713876", "3713847", "47221954", "54089199", "54093263"] }, g7nMm5W: { name: "English", videoIds: ["80158955", "81989077", "83846323", "9227475", "3716165", "41906817"] }, xAz6MEr: { name: "Health", videoIds: ["84954526", "81072555", "3713123", "47177036", "47106673", "53093908"] }, ek8mbq8: { name: "Identity, Culture and Organisation", videoIds: ["85058309", "33204878", "16574869", "42463035", "47303205", "3716220"] }, xAz6MMz: { name: "Learning Languages", videoIds: ["42463035", "6820509", "36689369", "37642890", "6810760", "47076421"] }, zMgokW2: { name: "Living World", videoIds: ["84615984", "3713221", "3713363", "45248896", "7735364", "51271242"] }, "3br3wk2": { name: "Material World", videoIds: ["3713221", "7334569", "50877364", "64098768", "41939159", "50877778"] }, PGlOJd7: { name: "Mathematics and Statistics", videoIds: ["80553902", "25923580", "43936635", "48278518", "42636988", "48155955"] }, p0PjPqO: { name: "Physical Education", videoIds: ["84301769", "53093878", "38133887", "51731303", "49580107", "50652578"] }, Nzm0ZmN: { name: "Physical World", videoIds: ["87005330", "3713297", "3713298", "48022996", "3713279", "48117006"] }, l53E1xJ: { name: "Place and Environment", videoIds: ["81074045", "3716795", "3713237", "51474669", "51444188", "38071125"] }, vYz6PzG: { name: "Planet Earth and Beyond", videoIds: ["84733189", "7336963", "3713212", "47303205", "48117006", "50800584"] }, odnWyjD: { name: "Religion and Philosophy", videoIds: ["16574869", "3715985", "16630757", "16588366", "16611019", "41056701"] }, "5b4Aa90": { name: "Study and Research Skills", videoIds: ["83894192", "83894453", "8985721", "47241826", "47146893", "51724079"] }, jlvNy46: { name: "Technology", videoIds: ["80734963", "26619390", "26617482", "3716155", "10584560", "7391744"] }, zMgoGJR: { name: "The Arts", videoIds: ["3716727", "32998073", "3713842", "3716220", "49582171", "38133111"] }, "2mgJG06": { name: "The Economic World", videoIds: ["80309108", "80309197", "22372745", "53428624", "35629137", "52197899"] } },
365
+ 97: { ZJv1MwP: { name: "Agricultural and Horticultural Science", videoIds: ["3714041", "3714045", "58745804", "35226384", "35396244", "35312243"] }, "2mgJOwe": { name: "Biology", videoIds: ["86393409", "5803343", "4683666", "3779793", "38041517", "26340757"] }, "8yRAlM5": { name: "Business Studies", videoIds: ["8191834", "18654895", "8973838", "8973352", "45664204", "12955878"] }, JjaxboE: { name: "Chemistry", videoIds: ["86392392", "3717296", "45727359", "57887823", "22232723", "7889149"] }, zMgolY5: { name: "Earth and Space Science", videoIds: ["86393854", "80477860", "3716170", "7336963", "3715871", "23614105"] }, "2mgJOn6": { name: "Economics", videoIds: ["3716292", "47366972", "3716149", "42604877", "50217751", "50247062"] }, l53Eo7W: { name: "English", videoIds: ["82359369", "3716185", "5596313", "3716233", "9560804", "23851791"] }, K6aqKL9: { name: "Geography", videoIds: ["80484980", "84539107", "86393854", "5803343", "3716200", "3922246"] }, "69zDgGr": { name: "Health Education", videoIds: ["83101516", "3714819", "58673657", "42500607", "3716135", "3713123"] }, vYz6rr4: { name: "History", videoIds: ["81504973", "3716774", "3926454", "3716189", "4984056", "18569471"] }, ek8mdr8: { name: "Learning Languages", videoIds: ["84613432", "42463035", "5449905", "6820509", "47075377", "6810442"] }, PGlOK4n: { name: "Legal Studies", videoIds: ["80660282", "81504973", "81504911", "47303205", "78731895", "53708941"] }, W1Epqgz: { name: "Mathematics and Statistics", videoIds: ["79705668", "86387151", "3715870", "3714976", "26066739", "26158674"] }, p0Pvw1Y: { name: "Media Studies", videoIds: ["84603846", "33204878", "3716529", "3937998", "60034238", "3716275"] }, "69zDexn": { name: "Physical Education", videoIds: ["79061490", "84301775", "79062447", "3714278", "3714261", "57736364"] }, vYz6wzo: { name: "Physics", videoIds: ["86392981", "86014106", "6746382", "6747369", "6812332", "11746875"] }, kZJ8w49: { name: "Psychology", videoIds: ["42500607", "3714892", "42500587", "42500472", "39438648", "16132408"] }, "3br3vDa": { name: "Religion and Philosophy", videoIds: ["16574869", "3716175", "16630757", "16588366", "3715102", "41056701"] }, g7nML2K: { name: "Social Studies", videoIds: ["80660282", "7707302", "5216877", "3716210", "22372922", "67277770"] }, vYz6wdN: { name: "Sociology", videoIds: ["6590951", "57771705", "6605596", "15923455", "57771703", "36503891"] }, "0wzWnml": { name: "Study and Research Skills", videoIds: ["83894192", "85464744", "8985721", "5952919", "77911106", "80399453"] }, K6aqWxL: { name: "Technology", videoIds: ["83017625", "3714027", "3716153", "26617069", "7897881", "10550689"] }, agN12dl: { name: "The Arts", videoIds: ["32998073", "10916108", "3716167", "3716192", "3716206", "3716220"] }, wNzd0gG: { name: "Vocational Education and Careers", videoIds: ["85795501", "8191834", "16168801", "16237850", "45664204", "47241826"] } }
366
+ }, Ve = we, ce = {
367
+ CreatePlaylist: (e) => !(e.hasPlaylist || e.preferredPresentation && !Ve[e.preferredPresentation.id])
368
+ }, ke = "onboarding.constants", d = z.encloseNamespace(ke), p = {
369
+ /**
370
+ * The welcome video screen plays an introductory video for new users.
371
+ */
372
+ "welcome-video": {
373
+ id: "welcome-video",
374
+ getPageTitle: () => d("welcomeVideoPageTitle"),
375
+ predicate: (e) => G.shouldRedirectToOnboarding(
376
+ e.masterUser,
377
+ e.customer,
378
+ e.hasPermissions,
379
+ e.presentations
380
+ ) ? e.instanceRegion === Le.US : !1,
381
+ setting: f.HasCompletedOnboardingStepWelcomeVideo,
382
+ analyticsLocation: b.OnboardingWelcomeVideoScreen,
383
+ includeInProgressBar: () => !1,
384
+ getWidgetHeading: () => d("selectRoleHeading"),
385
+ getWidgetDescription: () => d("selectRoleMessage")
386
+ },
387
+ "select-role": {
388
+ id: "select-role",
389
+ getPageTitle: () => d("selectRolePageTitle"),
390
+ predicate: (e) => {
391
+ var a, i;
392
+ return G.hasNonBdmTrial(e.hasPermissions) ? !!(!e.jobTitle || (i = (a = e.userSettings) == null ? void 0 : a[f.HasCompletedOnboardingStepSelectRole]) != null && i.value) : !0;
393
+ },
394
+ setting: f.HasCompletedOnboardingStepSelectRole,
395
+ analyticsLocation: b.OnboardingSelectRoleScreen,
396
+ includeInProgressBar: () => !0,
397
+ getWidgetHeading: () => d("selectRoleHeading"),
398
+ getWidgetDescription: () => d("selectRoleMessage")
399
+ },
400
+ "usage-intention": {
401
+ id: "usage-intention",
402
+ getPageTitle: () => d("usageIntentionPageTitle"),
403
+ predicate: () => !0,
404
+ setting: f.HasCompletedOnboardingStepUsageIntention,
405
+ analyticsLocation: b.OnboardingUsageIntentionScreen,
406
+ includeInProgressBar: () => !0,
407
+ getWidgetHeading: () => d("usageIntentionHeading"),
408
+ getWidgetDescription: () => d("usageIntentionMessage")
409
+ },
410
+ "subjects-summary": {
411
+ id: "subjects-summary",
412
+ getPageTitle: () => d("subjectsSummaryPageTitle"),
413
+ predicate: (e) => {
414
+ var a, i, s, r, o, c, u;
415
+ return !(!((a = e.preferredSubjects) != null && a.length) || (s = (i = e.userSettings) == null ? void 0 : i[f.HasCompletedOnboardingStepSubjects]) != null && s.value || (o = (r = e.userSettings) == null ? void 0 : r[f.HasCompletedOnboardingStepSelectCurriculum]) != null && o.value || (u = (c = e.userSettings) == null ? void 0 : c[f.HasCompletedOnboardingStepSchoolLevel]) != null && u.value);
416
+ },
417
+ setting: f.HasCompletedOnboardingStepSubjectsSummary,
418
+ analyticsLocation: b.OnboardingSubjectsSummaryScreen,
419
+ includeInProgressBar: () => !0,
420
+ getWidgetHeading: () => d("subjectsHeading"),
421
+ getWidgetDescription: () => d("subjectsMessage"),
422
+ branches: ["school-level", "subjects", "select-curriculum"]
423
+ },
424
+ "school-level": {
425
+ id: "school-level",
426
+ getPageTitle: () => d("schoolLevelPageTitle"),
427
+ predicate: (e) => {
428
+ var i, s;
429
+ return !(p["subjects-summary"].predicate(e) || ((i = e.presentations) == null ? void 0 : i.length) < 2 || ((s = e.presentations) == null ? void 0 : s.some((r) => B.getMappedPresentationLevel(r.learningLevel) === C.Level_4)));
430
+ },
431
+ setting: f.HasCompletedOnboardingStepSchoolLevel,
432
+ analyticsLocation: b.OnboardingSchoolLevelScreen,
433
+ includeInProgressBar: (e) => !p["subjects-summary"].predicate(e),
434
+ getWidgetHeading: (e) => d(e ? "schoolLevelHeadingKdm" : "schoolLevelHeading"),
435
+ getWidgetDescription: (e) => d(e ? "schoolLevelMessageKdm" : "schoolLevelMessage")
436
+ },
437
+ "select-curriculum": {
438
+ id: "select-curriculum",
439
+ getPageTitle: () => d("selectCurriculumPageTitle"),
440
+ predicate: (e) => {
441
+ var a;
442
+ return !(p["subjects-summary"].predicate(e) || ((a = e.curriculums) == null ? void 0 : a.length) < 2);
443
+ },
444
+ setting: f.HasCompletedOnboardingStepSelectCurriculum,
445
+ analyticsLocation: b.OnboardingSelectCurriculumScreen,
446
+ includeInProgressBar: (e) => !p["subjects-summary"].predicate(e),
447
+ getWidgetHeading: () => d("selectCurriculumHeading"),
448
+ getWidgetDescription: () => d("selectCurriculumMessage")
449
+ },
450
+ subjects: {
451
+ id: "subjects",
452
+ getPageTitle: () => d("subjectsPageTitle"),
453
+ predicate: (e) => !p["subjects-summary"].predicate(e),
454
+ setting: f.HasCompletedOnboardingStepSubjects,
455
+ analyticsLocation: b.OnboardingSubjectsScreen,
456
+ includeInProgressBar: (e) => !p["subjects-summary"].predicate(e),
457
+ getWidgetHeading: (e) => d(e ? "subjectsHeadingKdm" : "subjectsHeading"),
458
+ getWidgetDescription: () => d("subjectsMessage")
459
+ },
460
+ "select-videos": {
461
+ id: "select-videos",
462
+ getPageTitle: () => d("selectVideosPageTitle"),
463
+ predicate: ce.CreatePlaylist,
464
+ setting: f.HasCompletedOnboardingStepSelectVideos,
465
+ analyticsLocation: b.OnboardingSelectVideosScreen,
466
+ includeInProgressBar: () => !0,
467
+ getWidgetHeading: () => d("selectVideosHeading"),
468
+ getWidgetDescription: (e) => d(e ? "selectVideosMessageKdm" : "selectVideosMessage")
469
+ },
470
+ "create-playlist": {
471
+ id: "create-playlist",
472
+ getPageTitle: () => d("createPlaylistPageTitle"),
473
+ predicate: ce.CreatePlaylist,
474
+ setting: f.HasCompletedOnboardingStepCreatePlaylist,
475
+ analyticsLocation: b.OnboardingCreatePlaylistScreen,
476
+ includeInProgressBar: () => !0,
477
+ getWidgetHeading: () => d("createPlaylistHeading"),
478
+ getWidgetDescription: () => d("createPlaylistMessage")
479
+ }
480
+ };
481
+ var L = /* @__PURE__ */ ((e) => (e.ThumbnailHeroMedia = "thumbnail_hero_media", e.ThumbnailFeaturedMedia = "thumbnail_featured_media", e.ThumbnailSlidingListSmall = "thumbnail_sliding_list_small", e.ThumbnailSlidingListSmallV2 = "thumbnail_sliding_list_small_v2", e.ThumbnailSlidingListLarge = "thumbnail_sliding_list_large", e.ThumbnailFixedListMediaSmall = "thumbnail_fixed_list_media_small", e.ThumbnailFixedListMediaLarge = "thumbnail_fixed_list_media_large", e.ThumbnailFixedListFolderSmall = "thumbnail_fixed_list_folder_small", e.ThumbnailVerticalList = "thumbnail_vertical_list", e.PopoutThumbnailSlidingListLarge = "popout_thumbnail_sliding_list_large", e.PopoutThumbnailSlidingListSmall = "popout_thumbnail_sliding_list_small", e.FeaturedThumbnailSlidingList = "featured_thumbnail_sliding_list", e.ThumbnailFixedListXLarge = "thumbnail_fixed_list_xlarge", e.CoverSlidingPillListSmall = "cover_sliding_pill_list_small", e.CoverFixedPillListLarge = "cover_fixed_pill_list_large", e.StatsCoverFixedPillListLarge = "stats_cover_fixed_pill_list_large", e.CoverFixedPillListXSmall = "cover_fixed_pill_list_xsmall", e.ThumbnailFixedListLarge = "thumbnail_fixed_list_large", e.ThumbnailFixedListSmall = "thumbnail_fixed_list_small", e.EditableCoverFixedPillListSmall = "editable_cover_fixed_pill_list_small", e.HeroBanner = "hero_banner", e.HeroThumbnailSmall = "hero_thumbnail_small", e.HeroBlockColourSmall = "hero_block_colour_small", e.CurriculumResourcesAccordion = "curriculum_resources_accordion", e.CurriculumCodeSearchResults = "curriculum_code_search_results", e.CoverFixedTileList = "cover_fixed_tile_list", e.PosterSlidingListLarge = "poster_sliding_list_large", e.PosterSlidingListMedium = "poster_sliding_list_medium", e.PosterSlidingListSmall = "poster_sliding_list_small", e.PosterFixedListLarge = "poster_fixed_list_large", e.HeroBannerSmall = "hero_banner_small", e.Heading = "heading", e.AuthorReviewer = "author_reviewer", e.Question = "question", e.QuestionAccordion = "question_accordion", e.OnboardingSteps = "onboarding_steps", e.CircleLogoSlidingList = "circle_logo_sliding_list", e.FilterSlidingPillListSmall = "filter_sliding_pill_list_small", e.EventIconSlidingList = "event_icon_sliding_list", e.TagSlidingList = "tag_sliding_list", e.SearchSuggestionsBlurb = "search_suggestions_blurb", e))(L || {}), n = /* @__PURE__ */ ((e) => (e.CuratedMedia = "curated_media", e.PlaylistMedia = "playlist_media", e.SeriesMedia = "series_media", e.ClassificationMedia = "classification_media", e.LatestReleasedVideos = "latest_released_videos", e.ContinueWatching = "continue_watching_videos", e.CompanyLatestReleasedVideo = "company_latest_released_video", e.CompanyVideos = "company_videos", e.ClassificationLatestReleasedVideo = "classification_latest_released_video", e.ClassificationLatestReleasedVideosV2 = "classification_latest_released_videos_v2", e.CompanyClassificationVideos = "company_classification_videos", e.ClassificationDashboardMedia = "classification_dashboard_media", e.ClassificationDashboardExternalMedia = "classification_dashboard_external_media", e.SeasonalClassificationMedia = "seasonal_classification_media", e.TrendingClassificationsMedia = "trending_classifications_media", e.ClassificationCurriculumMedia = "classification_curriculum_media", e.CuratedClassifications = "curated_classifications", e.Classifications = "classifications", e.ClassificationLatestReleasedVideos = "classification_latest_released_videos", e.SpecialEventClassifications = "special_event_classifications", e.LatestReleasedClassifications = "latest_released_classifications", e.TrendingClassifications = "trending_classifications", e.CuratedSeries = "curated_series", e.CuratedPlaylists = "curated_playlists", e.Blurb = "blurb", e.DynamicBlurb = "dynamic_blurb", e.AuthorReviewer = "author_reviewer", e.Faq = "faq", e.CuratedCompanies = "curated_companies", e.Ratings = "ratings", e.Presentations = "presentations", e.UpcomingLivestreams = "upcoming_livestreams", e.CuratedMultimedia = "curated_multimedia", e.ClassificationPlaylists = "classification_playlists", e.ClassificationSeries = "classification_series", e.ClassificationFeaturedVideo = "classification_featured_video", e.ClassificationPinnedVideos = "classification_pinned_videos", e.SearchRelevantTopics = "search_relevant_topics", e.SearchCompanies = "search_companies", e.SearchTopResults = "search_top_results", e.SearchSeries = "search_series", e.SearchPlaylists = "search_playlists", e.SearchMyVideosFolder = "search_my_videos_folders", e.SearchMySchoolLibraryFolder = "search_my_school_library_folders", e.SearchMyVideos = "search_my_videos", e.SearchMySchoolLibraryVideos = "search_my_school_library_videos", e.SearchExchangeArchive = "search_exchange_archive", e.SearchRelatedResults = "search_related_results", e.SearchTags = "search_tags", e.SearchCurriculumCode = "search_curriculum_code", e.SearchSuggestions = "search_suggestions", e))(n || {});
482
+ const y = {
483
+ onSelectCuratedObject(e, a) {
484
+ const i = {
485
+ ...a.values.data,
486
+ objectIds: K.addOrRemoveImmutable(a.values.data.objectIds || [], e.id)
487
+ };
488
+ a.setFieldValue("data", i), a.setTouched({
489
+ ...a.touched,
490
+ data: {
491
+ objectIds: !0
492
+ }
493
+ });
494
+ },
495
+ onRemoveCuratedObject(e, a) {
496
+ const i = {
497
+ ...a.values.data,
498
+ objectIds: a.values.data.objectIds.filter((s) => s !== e)
499
+ };
500
+ a.setFieldValue("data", i);
501
+ },
502
+ getDashboardTarget(e) {
503
+ return e.targetType === t.Discover ? `discover:presentation:${e.presentationId}` : e.targetType === t.Classification ? `classification:${e.classificationId}` : e.targetType === t.ClassificationDirectory ? `classification:${e.classificationId}:directory` : e.targetType === t.ClassificationCurriculum ? `classification:${e.classificationId}:curriculum` : e.targetType === t.MoviesAndTv ? `moviesAndTv:presentation:${e.presentationId}` : e.targetType === t.Company ? `company:${e.companyId}:presentation:${e.presentationId}` : null;
504
+ },
505
+ getUnknownDashboardTarget(e) {
506
+ const {
507
+ presentationId: a,
508
+ companyId: i,
509
+ targetType: s,
510
+ classificationId: r
511
+ } = e;
512
+ if (s === t.Discover)
513
+ return y.getDashboardTarget({
514
+ targetType: t.Discover,
515
+ presentationId: a
516
+ });
517
+ if (s === t.MoviesAndTv)
518
+ return y.getDashboardTarget({
519
+ targetType: t.MoviesAndTv,
520
+ presentationId: a
521
+ });
522
+ if (s === t.Company)
523
+ return y.getDashboardTarget({
524
+ targetType: t.Company,
525
+ presentationId: a,
526
+ companyId: i
527
+ });
528
+ if (s === t.Classification)
529
+ return y.getDashboardTarget({
530
+ targetType: t.Classification,
531
+ classificationId: r
532
+ });
533
+ if (s === t.ClassificationDirectory)
534
+ return y.getDashboardTarget({
535
+ targetType: t.ClassificationDirectory,
536
+ classificationId: r
537
+ });
538
+ if (s === t.ClassificationCurriculum)
539
+ return y.getDashboardTarget({
540
+ targetType: t.ClassificationCurriculum,
541
+ classificationId: r
542
+ });
543
+ },
544
+ getDashboardTargetInfo(e) {
545
+ var s;
546
+ const a = y.getDashboardTargetType(e), i = (s = e == null ? void 0 : e.target) == null ? void 0 : s.split(":");
547
+ return a === t.Discover ? {
548
+ targetType: t.Discover,
549
+ presentationId: i[2]
550
+ } : a === t.Classification ? {
551
+ targetType: t.Classification,
552
+ classificationId: i[1]
553
+ } : a === t.ClassificationDirectory ? {
554
+ targetType: t.ClassificationDirectory,
555
+ classificationId: i[1]
556
+ } : a === t.ClassificationCurriculum ? {
557
+ targetType: t.ClassificationCurriculum,
558
+ classificationId: i[1]
559
+ } : a === t.MoviesAndTv ? {
560
+ targetType: t.MoviesAndTv,
561
+ presentationId: i[2]
562
+ } : a === t.Company ? {
563
+ targetType: t.Company,
564
+ companyId: i[1],
565
+ presentationId: i[3]
566
+ } : null;
567
+ },
568
+ getDashboardTargetType(e) {
569
+ return e != null && e.target ? e.target.startsWith("discover") ? t.Discover : e.target.startsWith("classification") ? e.target.endsWith("directory") ? t.ClassificationDirectory : e.target.endsWith("curriculum") ? t.ClassificationCurriculum : t.Classification : e.target.startsWith("moviesAndTv") ? t.MoviesAndTv : e.target.startsWith("company") ? t.Company : null : null;
570
+ },
571
+ isType(e, a) {
572
+ return y.getDashboardTargetType(e) === a;
573
+ },
574
+ isCuratedDashboard(e) {
575
+ const a = e, i = y.getDashboardTargetType(a);
576
+ return i === t.Discover || i === t.Classification || i === t.ClassificationDirectory || i === t.ClassificationCurriculum || i === t.MoviesAndTv || i === t.Company;
577
+ },
578
+ getLatestReleasedTimeRange() {
579
+ const e = /* @__PURE__ */ new Date(), a = E.format(E.endOf(E.subtract(e, 2, "month"), "day"), "YYYY-MM-DD"), i = E.format(E.endOf(e, "day"), "YYYY-MM-DD");
580
+ return { from: a, to: i };
581
+ },
582
+ getWidgetParams(e, a, i, s, r) {
583
+ const o = {};
584
+ return s && (o.audienceId = s), e === n.ClassificationCurriculumMedia && (o.curriculumPresentationId = r), {
585
+ ...o,
586
+ ...se[e].getCustomParams(a, i)
587
+ };
588
+ },
589
+ isSystemGeneratedDashboard(e) {
590
+ const a = /* @__PURE__ */ new Set([
591
+ n.ClassificationFeaturedVideo,
592
+ n.ClassificationPinnedVideos,
593
+ n.ClassificationPlaylists,
594
+ n.ClassificationSeries
595
+ ]);
596
+ return e == null ? void 0 : e.some((i) => a.has(i.widgetId));
597
+ },
598
+ isClassificationDashboard(e) {
599
+ return [
600
+ t.Classification,
601
+ t.ClassificationDirectory,
602
+ t.ClassificationCurriculum
603
+ ].includes(e == null ? void 0 : e.targetType);
604
+ }
605
+ }, se = {
606
+ [n.CuratedMedia]: {
607
+ getCustomParams: () => ({})
608
+ },
609
+ [n.PlaylistMedia]: {
610
+ getCustomParams: () => ({})
611
+ },
612
+ [n.SeriesMedia]: {
613
+ getCustomParams: (e) => {
614
+ switch (e) {
615
+ case L.ThumbnailFixedListMediaLarge:
616
+ return { limit: 2 };
617
+ case L.ThumbnailHeroMedia:
618
+ case L.ThumbnailFeaturedMedia:
619
+ return { limit: 1 };
620
+ default:
621
+ return { limit: 12 };
622
+ }
623
+ },
624
+ getCollectionAppLink: (e, a) => {
625
+ var i;
626
+ return (i = e == null ? void 0 : e.series) == null ? void 0 : i.call(e, K.first(a));
627
+ }
628
+ },
629
+ [n.ClassificationMedia]: {
630
+ getCustomParams: () => ({})
631
+ },
632
+ [n.LatestReleasedVideos]: {
633
+ getCustomParams: () => y.getLatestReleasedTimeRange()
634
+ },
635
+ [n.ContinueWatching]: {
636
+ getCustomParams: () => ({}),
637
+ getCollectionAppLink: (e) => {
638
+ var a;
639
+ return (a = e == null ? void 0 : e.watchHistory) == null ? void 0 : a.call(e);
640
+ }
641
+ },
642
+ [n.CompanyLatestReleasedVideo]: {
643
+ getCustomParams: () => ({})
644
+ },
645
+ [n.CompanyVideos]: {
646
+ getCustomParams: () => ({})
647
+ },
648
+ [n.ClassificationLatestReleasedVideo]: {
649
+ getCustomParams: () => ({})
650
+ },
651
+ [n.ClassificationLatestReleasedVideosV2]: {
652
+ getCustomParams: () => ({
653
+ limit: 12
654
+ }),
655
+ minContent: 4
656
+ },
657
+ [n.SeasonalClassificationMedia]: {
658
+ getCustomParams: () => ({
659
+ limit: 12
660
+ }),
661
+ minContent: 4
662
+ },
663
+ [n.CompanyClassificationVideos]: {
664
+ getCustomParams: () => ({}),
665
+ minContent: 4
666
+ },
667
+ [n.TrendingClassificationsMedia]: {
668
+ getCustomParams: () => ({
669
+ limit: 12
670
+ }),
671
+ minContent: 4
672
+ },
673
+ [n.CuratedClassifications]: {
674
+ getCustomParams: () => ({})
675
+ },
676
+ [n.TrendingClassifications]: {
677
+ getCustomParams: () => ({
678
+ limit: 6
679
+ }),
680
+ minContent: 3
681
+ },
682
+ [n.Classifications]: {
683
+ getCustomParams: (e, a) => {
684
+ if (a === t.Discover) {
685
+ if (e === L.EditableCoverFixedPillListSmall)
686
+ return {
687
+ canBePreferred: !0,
688
+ isFollowing: !0
689
+ };
690
+ if ([L.PosterSlidingListSmall, L.CoverFixedPillListXSmall].includes(e))
691
+ return {
692
+ canBePreferred: !0
693
+ };
694
+ }
695
+ return {};
696
+ }
697
+ },
698
+ [n.ClassificationLatestReleasedVideos]: {
699
+ getCustomParams: () => y.getLatestReleasedTimeRange()
700
+ },
701
+ [n.SpecialEventClassifications]: {
702
+ getCustomParams: () => ({
703
+ from: E.format(/* @__PURE__ */ new Date(), "YYYY-MM-DD")
704
+ })
705
+ },
706
+ [n.LatestReleasedClassifications]: {
707
+ getCustomParams: () => ({
708
+ limit: 6
709
+ }),
710
+ minContent: 3
711
+ },
712
+ [n.CuratedSeries]: {
713
+ getCustomParams: () => ({})
714
+ },
715
+ [n.CuratedPlaylists]: {
716
+ getCustomParams: () => ({})
717
+ },
718
+ [n.Blurb]: {
719
+ getCustomParams: () => ({})
720
+ },
721
+ [n.DynamicBlurb]: {
722
+ getCustomParams: (e) => e === L.OnboardingSteps ? {
723
+ customerSetting: [f.HasNewOnboarding],
724
+ userSettings: [
725
+ ...Object.values(p).map((a) => a.setting),
726
+ f.HasCompletedOnboardingV2,
727
+ f.HasExitedOnboarding
728
+ ]
729
+ } : {}
730
+ },
731
+ [n.AuthorReviewer]: {
732
+ getCustomParams: () => ({})
733
+ },
734
+ [n.Faq]: {
735
+ getCustomParams: () => ({})
736
+ },
737
+ [n.CuratedCompanies]: {
738
+ getCustomParams: () => ({})
739
+ },
740
+ [n.Ratings]: {
741
+ getCustomParams: () => ({})
742
+ },
743
+ [n.Presentations]: {
744
+ getCustomParams: () => ({})
745
+ },
746
+ [n.UpcomingLivestreams]: {
747
+ getCustomParams: () => ({
748
+ from: E.format(/* @__PURE__ */ new Date(), "YYYY-MM-DD")
749
+ })
750
+ },
751
+ [n.CuratedMultimedia]: {
752
+ getCustomParams: () => ({})
753
+ },
754
+ [n.ClassificationPlaylists]: {
755
+ getCustomParams: () => ({})
756
+ },
757
+ [n.ClassificationSeries]: {
758
+ getCustomParams: () => ({})
759
+ },
760
+ [n.ClassificationFeaturedVideo]: {
761
+ getCustomParams: () => ({})
762
+ },
763
+ [n.ClassificationPinnedVideos]: {
764
+ getCustomParams: () => ({})
765
+ },
766
+ [n.ClassificationDashboardExternalMedia]: {
767
+ getCustomParams: () => ({})
768
+ },
769
+ [n.ClassificationDashboardMedia]: {
770
+ getCustomParams: () => ({})
771
+ },
772
+ [n.SearchRelevantTopics]: {
773
+ getCustomParams: () => ({}),
774
+ getCollectionAppLink: (e) => e.searchHome({
775
+ focus: [n.SearchRelevantTopics],
776
+ type: [j.Classification]
777
+ })
778
+ },
779
+ [n.SearchCompanies]: {
780
+ getCustomParams: () => ({}),
781
+ getCollectionAppLink: (e) => e.searchHome({
782
+ focus: [n.SearchCompanies],
783
+ type: [j.Company]
784
+ })
785
+ },
786
+ [n.SearchSeries]: {
787
+ getCustomParams: () => ({}),
788
+ getCollectionAppLink: (e) => e.searchHome({
789
+ focus: [n.SearchSeries],
790
+ type: [j.Series]
791
+ })
792
+ },
793
+ [n.SearchPlaylists]: {
794
+ getCustomParams: () => ({}),
795
+ getCollectionAppLink: (e) => e.searchHome({
796
+ focus: [n.SearchPlaylists],
797
+ type: [j.Playlist]
798
+ })
799
+ },
800
+ [n.SearchMyVideosFolder]: {
801
+ getCustomParams: () => ({}),
802
+ getCollectionAppLink: (e) => e.searchHome({
803
+ focus: [n.SearchMyVideosFolder],
804
+ source: [O.MyVideos]
805
+ })
806
+ },
807
+ [n.SearchMySchoolLibraryFolder]: {
808
+ getCustomParams: () => ({}),
809
+ getCollectionAppLink: (e) => e.searchHome({
810
+ focus: [n.SearchMySchoolLibraryFolder],
811
+ source: [O.School]
812
+ })
813
+ },
814
+ [n.SearchMyVideos]: {
815
+ getCustomParams: () => ({}),
816
+ getCollectionAppLink: (e) => e.searchHome({
817
+ focus: [n.SearchMyVideos],
818
+ source: [O.MyVideos]
819
+ })
820
+ },
821
+ [n.SearchMySchoolLibraryVideos]: {
822
+ getCustomParams: () => ({}),
823
+ getCollectionAppLink: (e) => e.searchHome({
824
+ focus: [n.SearchMySchoolLibraryVideos],
825
+ source: [O.School]
826
+ })
827
+ },
828
+ [n.SearchExchangeArchive]: {
829
+ getCustomParams: () => ({}),
830
+ getCollectionAppLink: (e) => e.searchHome({
831
+ focus: [n.SearchExchangeArchive],
832
+ source: [O.ExchangeArchive]
833
+ })
834
+ },
835
+ [n.SearchRelatedResults]: {
836
+ getCustomParams: () => ({})
837
+ },
838
+ [n.SearchTopResults]: {
839
+ getCustomParams: () => ({})
840
+ },
841
+ [n.ClassificationCurriculumMedia]: {
842
+ getCustomParams: () => ({})
843
+ },
844
+ [n.SearchTags]: {
845
+ getCustomParams: () => ({})
846
+ },
847
+ [n.SearchCurriculumCode]: {
848
+ getCustomParams: () => ({})
849
+ },
850
+ [n.SearchSuggestions]: {
851
+ getCustomParams: () => ({})
852
+ }
853
+ };
854
+ function Ye(e) {
855
+ return /* @__PURE__ */ l.jsx("svg", { ...e, children: /* @__PURE__ */ l.jsx(
856
+ "path",
857
+ {
858
+ d: "m13.026 4.377 8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0M12 5 3.5 19h17zm0 13a1 1 0 1 1 0-2 1 1 0 0 1 0 2m.75-3.677a.69.69 0 0 1-.7.677.69.69 0 0 1-.7-.677V8.677c0-.374.313-.677.7-.677s.7.303.7.677z",
859
+ fill: "currentColor"
860
+ }
861
+ ) });
862
+ }
863
+ var Y = /* @__PURE__ */ ((e) => (e[e.Draft = 0] = "Draft", e[e.Published = 1] = "Published", e[e.Archived = 2] = "Archived", e))(Y || {});
864
+ const Se = {
865
+ /**
866
+ * Used by both the FixedWidget and DynamicWidget
867
+ */
868
+ getSliderAnalyticsOptions: () => ({
869
+ actionType: re.Click,
870
+ location: b.SlidingList,
871
+ entity: te.Widget,
872
+ descriptor: W.Slide
873
+ }),
874
+ /**
875
+ * Used by both the FixedWidget and DynamicWidget
876
+ */
877
+ getSliderItemAnalyticsOptions: () => ({
878
+ location: b.SlidingListItem
879
+ }),
880
+ getSliderHeadingAnalyticsOptions: () => ({
881
+ actionType: re.Click,
882
+ location: b.SlidingList,
883
+ entity: te.Widget,
884
+ descriptor: W.Title
885
+ }),
886
+ useGetContent(e, a, i, s, r) {
887
+ return ge.useMemo(() => {
888
+ if (!e)
889
+ return { content: null, unfilteredContent: null };
890
+ if (!Array.isArray(e))
891
+ return { content: e, unfilteredContent: e };
892
+ const o = (s == null ? void 0 : s.reduce((m, S) => (m[S.id] = S, m), {})) ?? {}, c = r.reduce((m, S) => (m[S] = !0, m), {}), u = [...e], v = u.sort((m, S) => {
893
+ var D, N;
894
+ if (!("id" in m) || !("id" in S))
895
+ return 0;
896
+ const h = ((D = o[m.id]) == null ? void 0 : D.index) ?? u.findIndex((P) => "id" in P && P.id === m.id), M = ((N = o[S.id]) == null ? void 0 : N.index) ?? u.findIndex((P) => "id" in P && P.id === S.id);
897
+ return h < M ? -1 : h > M ? 1 : 0;
898
+ });
899
+ return Se.isBelowContentMinimum(v, a) && !i ? {
900
+ content: [],
901
+ unfilteredContent: v
902
+ } : {
903
+ content: v.filter((m) => {
904
+ var S;
905
+ return !((S = o["id" in m && m.id]) != null && S.hidden || c["id" in m && m.id]);
906
+ }),
907
+ unfilteredContent: v
908
+ };
909
+ }, [e, s]);
910
+ },
911
+ isBelowContentMinimum(e, a) {
912
+ var s;
913
+ const i = ((s = se[a]) == null ? void 0 : s.minContent) || 0;
914
+ return (e == null ? void 0 : e.length) < i;
915
+ },
916
+ getCustomAppLink(e) {
917
+ var a, i, s, r, o, c;
918
+ return !("metadata" in e) || !("appLinks" in e) || !("appLink" in e.metadata) ? null : ((a = e.metadata) == null ? void 0 : a.appLink) === ee.LatestReleases && "latestReleases" in e.appLinks ? (s = (i = e.appLinks) == null ? void 0 : i.latestReleases) == null ? void 0 : s.call(i) : ((r = e.metadata) == null ? void 0 : r.appLink) === ee.ExploreAllTopics && "allTopics" in e.appLinks && "presentation" in e ? (c = (o = e.appLinks) == null ? void 0 : o.allTopics) == null ? void 0 : c.call(o, e.presentation.id) : null;
919
+ },
920
+ getWidgetStatus(e) {
921
+ let a = e.status;
922
+ if (typeof a == "string")
923
+ switch (a) {
924
+ case "Archived":
925
+ a = Y.Archived;
926
+ break;
927
+ case "Published":
928
+ a = Y.Published;
929
+ break;
930
+ case "Draft":
931
+ a = Y.Draft;
932
+ break;
933
+ }
934
+ return a;
935
+ },
936
+ formatResponseData(e, a) {
937
+ const i = e.content;
938
+ if (!i)
939
+ return e;
940
+ if ("author" in i)
941
+ return e.content = [i], e;
942
+ switch ("data" in i ? e.content = i.data : Array.isArray(i) || (e.content = [i]), e.widgetId) {
943
+ case n.ClassificationSeries:
944
+ e.content = e.content.filter((s) => {
945
+ var r;
946
+ return "tallPoster" in s && !!((r = s.tallPoster) != null && r.id);
947
+ });
948
+ break;
949
+ case n.ClassificationPlaylists:
950
+ e.content = e.content.filter((s) => {
951
+ var r;
952
+ return "cover" in s && !!((r = s.cover) != null && r.id);
953
+ });
954
+ break;
955
+ case n.ContinueWatching:
956
+ e.content = e.content.map((s) => "object" in s && s.object);
957
+ default:
958
+ break;
959
+ case n.Presentations:
960
+ e.content = e.content.filter((s) => {
961
+ var r;
962
+ return "id" in s && s.id.toString() !== ((r = a == null ? void 0 : a.id) == null ? void 0 : r.toString());
963
+ });
964
+ break;
965
+ }
966
+ return e;
967
+ },
968
+ isWidgetInTableOfContents(e) {
969
+ return !!(e != null && e.showInTableOfContents);
970
+ },
971
+ /**
972
+ * Widget container view won't render a widget with no content typically,
973
+ * but some widgets (such as blurbs) have no content, but should render anyway.
974
+ */
975
+ hasNoContent(e) {
976
+ return e === n.Blurb;
977
+ },
978
+ /**
979
+ * If any widgets should be hidden on smaller screen sizes, add them here.
980
+ * If this needs to be more flexible at some point, it should be added to
981
+ * the widget settings and metadata object.
982
+ */
983
+ canDisplayOnScreenSize(e, a, i) {
984
+ return a === n.Blurb && i === L.HeroBannerSmall ? !e.xs && !e.sm : !0;
985
+ },
986
+ isCompanyWidget(e) {
987
+ switch (e) {
988
+ case n.CompanyLatestReleasedVideo:
989
+ case n.CompanyVideos:
990
+ case n.UpcomingLivestreams:
991
+ return !0;
992
+ default:
993
+ return !1;
994
+ }
995
+ },
996
+ getVideoContent(e) {
997
+ const a = K.first(e);
998
+ return pe.isType(a, Pe.Series) ? a.videos.data : e;
999
+ },
1000
+ showRemoveButton(e) {
1001
+ return e === n.ContinueWatching;
1002
+ }
1003
+ }, Ge = "_seeMore_1mor5_1", Ke = {
1004
+ seeMore: Ge
1005
+ }, ze = "shared.widgetHeader", Je = z.encloseNamespace(ze);
1006
+ function ue(e) {
1007
+ return /* @__PURE__ */ l.jsx("div", { className: `ms-3 ${Ke.seeMore}`, children: /* @__PURE__ */ l.jsx(
1008
+ ae,
1009
+ {
1010
+ appLink: e.appLink,
1011
+ analyticsData: e.analyticsData,
1012
+ analyticsOptions: {
1013
+ location: b.SlidingList,
1014
+ ...e.analyticsOptions,
1015
+ descriptor: W.SeeMore
1016
+ },
1017
+ className: `text-decoration-none ${e.appLink ? "curated-widget-link" : ""}`,
1018
+ children: /* @__PURE__ */ l.jsx("p", { className: "hover-text-underline text-dark curated-widget-heading", children: Je("seeAll") })
1019
+ }
1020
+ ) });
1021
+ }
1022
+ function ea(e) {
1023
+ var r;
1024
+ const a = !!e.description;
1025
+ if (!e.name && !e.description)
1026
+ return /* @__PURE__ */ l.jsx(l.Fragment, {});
1027
+ const i = Se.isBelowContentMinimum(e.content, e.widgetTypeId), s = ((r = se[e.widgetTypeId]) == null ? void 0 : r.minContent) ?? 0;
1028
+ return /* @__PURE__ */ l.jsxs("div", { className: "curated-widget-header", children: [
1029
+ /* @__PURE__ */ l.jsxs("div", { className: "d-flex justify-content-between", children: [
1030
+ !!e.name && /* @__PURE__ */ l.jsxs("div", { className: "d-flex align-items-center", children: [
1031
+ /* @__PURE__ */ l.jsx(
1032
+ ae,
1033
+ {
1034
+ appLink: e.appLink,
1035
+ analyticsData: e.analyticsData,
1036
+ className: `text-decoration-none ${e.appLink ? "curated-widget-link text-reset" : ""}`,
1037
+ onClick: e.onClick,
1038
+ children: /* @__PURE__ */ l.jsxs("h2", { className: "h4 curated-widget-heading", children: [
1039
+ e.isPreviewing && i && /* @__PURE__ */ l.jsx(
1040
+ ye,
1041
+ {
1042
+ svg: Ye,
1043
+ title: `Widget is below the minimum content threshold of ${s} and won't be displayed.`,
1044
+ tooltipSpanHack: !0,
1045
+ tooltipSpanHackClassName: "d-inline text-danger me-1"
1046
+ }
1047
+ ),
1048
+ e.name
1049
+ ] })
1050
+ }
1051
+ ),
1052
+ !!ge.isValidElement(e.badgeComponent) && e.badgeComponent
1053
+ ] }),
1054
+ !!e.appLink && !a && !!e.showSeeMoreLink && /* @__PURE__ */ l.jsx(ue, { ...e })
1055
+ ] }),
1056
+ a && /* @__PURE__ */ l.jsxs("div", { className: "d-flex justify-content-between align-items-end", children: [
1057
+ /* @__PURE__ */ l.jsx("p", { className: "description curated-widget-description", children: /* @__PURE__ */ l.jsx("span", { children: e.description }) }),
1058
+ !!e.appLink && !!e.showSeeMoreLink && /* @__PURE__ */ l.jsx(ue, { ...e })
1059
+ ] })
1060
+ ] });
1061
+ }
1062
+ const qe = "shared.tags", Fe = z.encloseNamespace(qe);
1063
+ function Ze(e, a) {
1064
+ switch (e) {
1065
+ case A.Pedagogy:
1066
+ case A.Skill:
1067
+ return "pedagogy-tag text-white";
1068
+ case A.Hidden:
1069
+ return "hidden-tag fw-normal";
1070
+ case A.Normal:
1071
+ return a ? "" : "bg-gray-100 fw-normal";
1072
+ default:
1073
+ return "";
1074
+ }
1075
+ }
1076
+ function aa(e) {
1077
+ var h, M;
1078
+ const { tag: a, appLink: i, onClick: s, disabled: r, tagClass: o = "tag" } = e, c = a.name.toLowerCase(), u = (h = a.tagType) == null ? void 0 : h.toLowerCase(), v = u === A.Normal && e.themeColours && !!((M = e.themeColours) != null && M.secondary);
1079
+ let I = `${H.badgeBase} rounded-pill py-1 px-2 my-1 me-1 ${o} ${Ze(u, v)}`, m = "text-truncate text-nowrap";
1080
+ v && (I += " text-white"), (i || s) && !r && (I += " cursor-pointer"), r && (I += " " + H.disabled), e.onRemove && (I += " " + H.removeBadge, m += ` ${H.removeBadgeText} d-inline-flex align-items-center lh-1`), i || (I += " d-inline-block");
1081
+ const S = v ? { backgroundColor: e.themeColours.secondary } : {};
1082
+ return i ? /* @__PURE__ */ l.jsx(
1083
+ ae,
1084
+ {
1085
+ onClick: s,
1086
+ appLink: i,
1087
+ className: I,
1088
+ title: c,
1089
+ style: S,
1090
+ children: /* @__PURE__ */ l.jsx("span", { className: m, children: c })
1091
+ }
1092
+ ) : /* @__PURE__ */ l.jsx(
1093
+ "button",
1094
+ {
1095
+ onClick: s,
1096
+ className: I,
1097
+ title: c,
1098
+ style: S,
1099
+ "aria-label": `${Fe("ariaFilter")} ${c}`,
1100
+ children: /* @__PURE__ */ l.jsxs("span", { className: m, children: [
1101
+ c,
1102
+ e.onRemove && /* @__PURE__ */ l.jsx(
1103
+ "button",
1104
+ {
1105
+ onClick: e.onRemove,
1106
+ className: `${H.close} btn-close font-size-normal`,
1107
+ role: "button",
1108
+ "aria-label": "Close"
1109
+ }
1110
+ )
1111
+ ] })
1112
+ }
1113
+ );
1114
+ }
1115
+ export {
1116
+ ve as C,
1117
+ We as F,
1118
+ O as S,
1119
+ oe as T,
1120
+ ea as W,
1121
+ A as a,
1122
+ Se as b,
1123
+ aa as c,
1124
+ H as s
1125
+ };