@clickview/lite 0.0.25-rc.0 → 0.0.25
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/css/0.chunk.css.map +1 -0
- package/dist/css/1.chunk.css +223 -0
- package/dist/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css +106 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/15.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/19.chunk.css.map +1 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/20.chunk.css.map +1 -0
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/24.chunk.css.map +1 -0
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/27.chunk.css.map +1 -0
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css +17 -0
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/39.chunk.css +6 -0
- package/dist/css/39.chunk.css.map +1 -0
- package/dist/css/4.chunk.css.map +1 -0
- package/dist/css/40.chunk.css +6 -0
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css +40 -0
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css +14 -0
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css +38 -0
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css +14 -0
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css +38 -0
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css +52 -0
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/5.chunk.css.map +1 -0
- package/dist/css/50.chunk.css +52 -0
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +52 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/53.chunk.css.map +1 -0
- package/dist/css/54.chunk.css.map +1 -0
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css +14 -0
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/57.chunk.css +14 -0
- package/dist/css/57.chunk.css.map +1 -0
- package/dist/css/58.chunk.css +43 -0
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css +14 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +43 -0
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/7.chunk.css +94 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/79.chunk.css +58 -0
- package/dist/css/79.chunk.css.map +1 -0
- package/dist/css/8.chunk.css +54 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/82.chunk.css +28 -0
- package/dist/css/82.chunk.css.map +1 -0
- package/dist/css/83.chunk.css +11 -0
- package/dist/css/83.chunk.css.map +1 -0
- package/dist/css/84.chunk.css +152 -0
- package/dist/css/84.chunk.css.map +1 -0
- package/dist/css/85.chunk.css +21 -0
- package/dist/css/85.chunk.css.map +1 -0
- package/dist/css/86.chunk.css +17 -0
- package/dist/css/86.chunk.css.map +1 -0
- package/dist/css/87.chunk.css +21 -0
- package/dist/css/87.chunk.css.map +1 -0
- package/dist/css/88.chunk.css +5 -0
- package/dist/css/88.chunk.css.map +1 -0
- package/dist/css/90.chunk.css +38 -0
- package/dist/css/90.chunk.css.map +1 -0
- package/dist/css/lite-app.css.map +1 -0
- package/dist/libs/common/src/react/utils/ArrayHelper.d.ts +1 -1
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +1 -1
- package/dist/libs/shared/src/components/file-select-button/FileSelectButton.d.ts +15 -0
- package/dist/libs/shared/src/components/thumbnails/video/VideoThumbnailWatchProgressBar.d.ts +8 -0
- package/dist/libs/shared/src/components/video-list/components/video-item-badges/VideoItemBadges.d.ts +7 -0
- package/dist/libs/shared/src/components/video-list/components/video-item-description/UseTruncateText.d.ts +9 -0
- package/dist/libs/shared/src/components/widgets/items/resource-widget-item/ResourceWidgetItem.d.ts +12 -0
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +8 -0
- package/dist/libs/shared/src/flight-requests/ResourceRequests.d.ts +11 -0
- package/dist/libs/shared/src/hooks/useGetCollectionItems.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +3 -0
- package/dist/projects/lite/src/apps/upload/views/my-uploads/DismissibleAlert.d.ts +2 -0
- package/dist/projects/lite/src/apps/upload/views/my-uploads/MyUploadsView.d.ts +6 -0
- package/dist/projects/lite/src/shared/components/clips/ClipItem.d.ts +8 -0
- package/dist/projects/lite/src/shared/components/clips/Clips.d.ts +7 -0
- package/dist/projects/lite/src/shared/components/interactives/InteractiveItem.d.ts +7 -0
- package/dist/projects/lite/src/shared/components/interactives/Interactives.d.ts +7 -0
- package/dist/projects/lite/src/shared/components/play-page/Buttons.d.ts +7 -0
- package/dist/projects/lite/src/shared/views/preview-pdf/PreviewPdfView.d.ts +7 -0
- package/dist/scripts/0-702db3d74c.chunk.js +1 -0
- package/dist/scripts/0-b02efe11fb.chunk.js +1 -0
- package/dist/scripts/0-bf0af5f75c.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +355 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/1-4f19a5caea.chunk.js +17 -0
- package/dist/scripts/1-d1ce3fe6e8.chunk.js +17 -0
- package/dist/scripts/1-fcddc988fa.chunk.js +17 -0
- package/dist/scripts/1.chunk.js +1031 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/10.chunk.js +619 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/11-32e30d10ce.chunk.js +1 -0
- package/dist/scripts/11-6e7f935551.chunk.js +1 -0
- package/dist/scripts/11.chunk.js +445 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/12-72a5373486.chunk.js +1 -0
- package/dist/scripts/12-7e1380d9fa.chunk.js +1 -0
- package/dist/scripts/12-fa7004b555.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +1533 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-1cd85ad3ee.chunk.js +1 -0
- package/dist/scripts/13-4245983c0a.chunk.js +1 -0
- package/dist/scripts/13-95937e4149.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +469 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-3d60b8ee85.chunk.js +1 -0
- package/dist/scripts/14-62608fc1de.chunk.js +1 -0
- package/dist/scripts/14-eba60049a5.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +930 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/15-379cb5f586.chunk.js +1 -0
- package/dist/scripts/15-90226fb996.chunk.js +1 -0
- package/dist/scripts/15-d811a90e8d.chunk.js +1 -0
- package/dist/scripts/15.chunk.js +437 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/16-00e83a6d12.chunk.js +1 -0
- package/dist/scripts/16-885363ce46.chunk.js +1 -0
- package/dist/scripts/16-913b2535ea.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +633 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/17-6d597b8323.chunk.js +1 -0
- package/dist/scripts/17-c62d5aa7f2.chunk.js +1 -0
- package/dist/scripts/17-d6c19ccb60.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +356 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18-33efcac0c6.chunk.js +1 -0
- package/dist/scripts/18-5affadddcc.chunk.js +1 -0
- package/dist/scripts/18-69049350eb.chunk.js +1 -0
- package/dist/scripts/18.chunk.js +339 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19-2380200cfb.chunk.js +1 -0
- package/dist/scripts/19-d394ae9543.chunk.js +1 -0
- package/dist/scripts/19-f0550464de.chunk.js +1 -0
- package/dist/scripts/19.chunk.js +506 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/2-53e37c2047.chunk.js +1 -0
- package/dist/scripts/2-6aad743aee.chunk.js +1 -0
- package/dist/scripts/2-c47e1da13a.chunk.js +1 -0
- package/dist/scripts/2.chunk.js +18851 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/20-81a48ca4fa.chunk.js +1 -0
- package/dist/scripts/20-ca85f0514e.chunk.js +1 -0
- package/dist/scripts/20-e20c4c0645.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +1942 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/21-8b195ab041.chunk.js +1 -0
- package/dist/scripts/21-ef4a226771.chunk.js +1 -0
- package/dist/scripts/21-f6ff589cb4.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +1544 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/22-8a60335dfb.chunk.js +1 -0
- package/dist/scripts/22-99c04e164f.chunk.js +1 -0
- package/dist/scripts/22-f458cb647a.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +1338 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-028eb81a43.chunk.js +1 -0
- package/dist/scripts/23-633a2d5b09.chunk.js +1 -0
- package/dist/scripts/23-bb1e2bfb90.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +749 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/24-68f8df3eca.chunk.js +1 -0
- package/dist/scripts/24-7924828128.chunk.js +1 -0
- package/dist/scripts/24-a254eb1f32.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +1207 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-7ad07f87d4.chunk.js +1 -0
- package/dist/scripts/25-93218e513e.chunk.js +1 -0
- package/dist/scripts/25-db170bd5e3.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +750 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/26-93c9661292.chunk.js +1 -0
- package/dist/scripts/26-a4a0b97207.chunk.js +1 -0
- package/dist/scripts/26-f3dcacfe4f.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +826 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-35820f00f1.chunk.js +1 -0
- package/dist/scripts/27-8a4d69f288.chunk.js +1 -0
- package/dist/scripts/27-e844268f38.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +658 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-0730152b25.chunk.js +1 -0
- package/dist/scripts/28-22cbd36128.chunk.js +1 -0
- package/dist/scripts/28-853bc5de1f.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +692 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-965aa23b96.chunk.js +1 -0
- package/dist/scripts/29-b164ecafe9.chunk.js +1 -0
- package/dist/scripts/29-d6f6b32986.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +562 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/3-02219d10d4.chunk.js +7 -0
- package/dist/scripts/3-0ce5d8bff2.chunk.js +7 -0
- package/dist/scripts/3-a1bd8c9016.chunk.js +7 -0
- package/dist/scripts/3.chunk.js +800 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30-13106255a1.chunk.js +1 -0
- package/dist/scripts/30-2cfcf52ea1.chunk.js +1 -0
- package/dist/scripts/30-77202cb6be.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +767 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/31-1307509953.chunk.js +1 -0
- package/dist/scripts/31-e3ee095203.chunk.js +1 -0
- package/dist/scripts/31-e6a8291d2f.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +468 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-40ed1dd894.chunk.js +1 -0
- package/dist/scripts/32-7030dc98ed.chunk.js +1 -0
- package/dist/scripts/32-8ec5bb19f5.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +441 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-47b0ac90bd.chunk.js +1 -0
- package/dist/scripts/33-8740c874b3.chunk.js +1 -0
- package/dist/scripts/33-93b8d74603.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +829 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/34-2de007b628.chunk.js +1 -0
- package/dist/scripts/34-81e4464339.chunk.js +1 -0
- package/dist/scripts/34-ada5bfd254.chunk.js +1 -0
- package/dist/scripts/34.chunk.js +622 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/35-0ff2658139.chunk.js +1 -0
- package/dist/scripts/35-3eb6fe74fc.chunk.js +1 -0
- package/dist/scripts/35-d2fb66920b.chunk.js +1 -0
- package/dist/scripts/35.chunk.js +962 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/36-0532d93a26.chunk.js +1 -0
- package/dist/scripts/36-3bfbb52684.chunk.js +1 -0
- package/dist/scripts/36-bc85df33de.chunk.js +1 -0
- package/dist/scripts/36.chunk.js +545 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/37-10fe5a06a5.chunk.js +1 -0
- package/dist/scripts/37-3e5e429c93.chunk.js +1 -0
- package/dist/scripts/37-e26652840b.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +627 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38-0b6a6b9619.chunk.js +1 -0
- package/dist/scripts/38-31744f9ae7.chunk.js +1 -0
- package/dist/scripts/38-76dc0e356d.chunk.js +1 -0
- package/dist/scripts/38.chunk.js +943 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39-4b26fafe13.chunk.js +1 -0
- package/dist/scripts/39-5df3077ac3.chunk.js +1 -0
- package/dist/scripts/39-6549f483c6.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +585 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-3b38074599.chunk.js +1 -0
- package/dist/scripts/4-9e83a22d7a.chunk.js +1 -0
- package/dist/scripts/4-d5bec07430.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +403 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/40-6e3500fafc.chunk.js +1 -0
- package/dist/scripts/40-8e6e9d285f.chunk.js +1 -0
- package/dist/scripts/40-fa1b51a3e0.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +273 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/41-2b44a2e66f.chunk.js +1 -0
- package/dist/scripts/41-2e358dbf59.chunk.js +1 -0
- package/dist/scripts/41-cde309348b.chunk.js +1 -0
- package/dist/scripts/41.chunk.js +252 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42-4f9c639481.chunk.js +1 -0
- package/dist/scripts/42-680fb45a87.chunk.js +1 -0
- package/dist/scripts/42-9e75f420d8.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +464 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/43-1141245420.chunk.js +1 -0
- package/dist/scripts/43-3818cf7ed2.chunk.js +1 -0
- package/dist/scripts/43-cb8bdb3d8f.chunk.js +1 -0
- package/dist/scripts/43.chunk.js +345 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/44-0648e8e28f.chunk.js +1 -0
- package/dist/scripts/44-9bc4201e0f.chunk.js +1 -0
- package/dist/scripts/44-f4e93786c0.chunk.js +1 -0
- package/dist/scripts/44.chunk.js +537 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/45-23e64d06ed.chunk.js +1 -0
- package/dist/scripts/45-586cefa5b3.chunk.js +1 -0
- package/dist/scripts/45-5ded8ca3db.chunk.js +1 -0
- package/dist/scripts/45.chunk.js +221 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-273127f163.chunk.js +1 -0
- package/dist/scripts/46-2afd7ee1fb.chunk.js +1 -0
- package/dist/scripts/46-8b4730ff48.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +230 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/47-86e38a1468.chunk.js +1 -0
- package/dist/scripts/47-ab30686138.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +408 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/48-54817c0e78.chunk.js +1 -0
- package/dist/scripts/48-54db253a8c.chunk.js +1 -0
- package/dist/scripts/48-d9cd99d55e.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +241 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/49-0826d62735.chunk.js +1 -0
- package/dist/scripts/49-702676e587.chunk.js +1 -0
- package/dist/scripts/49-f43a08f90b.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +249 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/5-202373c80b.chunk.js +1 -0
- package/dist/scripts/5-52c2070b12.chunk.js +1 -0
- package/dist/scripts/5-974660e17b.chunk.js +1 -0
- package/dist/scripts/5.chunk.js +1161 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/50-8069668f8a.chunk.js +1 -0
- package/dist/scripts/50-af699c531e.chunk.js +1 -0
- package/dist/scripts/50-e94493066c.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +132 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/51-6177cd4126.chunk.js +1 -0
- package/dist/scripts/51-907ccc689c.chunk.js +1 -0
- package/dist/scripts/51-aa7b835007.chunk.js +1 -0
- package/dist/scripts/51.chunk.js +230 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52-805f7fe04d.chunk.js +1 -0
- package/dist/scripts/52-96d9beee16.chunk.js +1 -0
- package/dist/scripts/52-dd5dd9f7f7.chunk.js +1 -0
- package/dist/scripts/52.chunk.js +318 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53-b24c780288.chunk.js +1 -0
- package/dist/scripts/53-be20bb20c9.chunk.js +1 -0
- package/dist/scripts/53-d75ca53045.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +212 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/54-2e75bad46f.chunk.js +1 -0
- package/dist/scripts/54-fdfdb33705.chunk.js +1 -0
- package/dist/scripts/54.chunk.js +108 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/55-306c5a0e4d.chunk.js +1 -0
- package/dist/scripts/55-ed637c4847.chunk.js +1 -0
- package/dist/scripts/55-eea39b3205.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +69 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/56-20237748ba.chunk.js +1 -0
- package/dist/scripts/56-2ed3b5764b.chunk.js +1 -0
- package/dist/scripts/56-db73243d04.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +209 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/57-d5c787b4e3.chunk.js +1 -0
- package/dist/scripts/57-dfacc1ad90.chunk.js +1 -0
- package/dist/scripts/57-e51101c8a1.chunk.js +1 -0
- package/dist/scripts/57.chunk.js +211 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/58-4d5ed35434.chunk.js +1 -0
- package/dist/scripts/58-9a32a6fb2d.chunk.js +1 -0
- package/dist/scripts/58-bb756b517d.chunk.js +1 -0
- package/dist/scripts/58.chunk.js +113 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/59-18ef4c5afb.chunk.js +1 -0
- package/dist/scripts/59-ad37f90eca.chunk.js +1 -0
- package/dist/scripts/59-da8a8c97a9.chunk.js +1 -0
- package/dist/scripts/59.chunk.js +108 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/6-0a53c42432.chunk.js +1 -0
- package/dist/scripts/6-6ac39034e0.chunk.js +1 -0
- package/dist/scripts/6-8ada925fb7.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +423 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/60-5713de53e2.chunk.js +1 -0
- package/dist/scripts/60-81ac7ce262.chunk.js +1 -0
- package/dist/scripts/60-f95d0a0a90.chunk.js +1 -0
- package/dist/scripts/60.chunk.js +110 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/61-41c8cb7e0f.chunk.js +1 -0
- package/dist/scripts/61-7d2ad17963.chunk.js +1 -0
- package/dist/scripts/61-8ce5227508.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +161 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/62-62d450716a.chunk.js +1 -0
- package/dist/scripts/62-a0a69501ac.chunk.js +1 -0
- package/dist/scripts/62.chunk.js +145 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/63-91623df29f.chunk.js +1 -0
- package/dist/scripts/63-c921b87f3f.chunk.js +1 -0
- package/dist/scripts/63-d423dd59f5.chunk.js +1 -0
- package/dist/scripts/63.chunk.js +139 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/64-87c1cf6985.chunk.js +1 -0
- package/dist/scripts/64-c0e959f4bb.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +142 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/65-2322082836.chunk.js +1 -0
- package/dist/scripts/65-37ba4bad15.chunk.js +1 -0
- package/dist/scripts/65-f94e7ab2ef.chunk.js +1 -0
- package/dist/scripts/65.chunk.js +170 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/66-6d5356f6ce.chunk.js +1 -0
- package/dist/scripts/66-dc4b036321.chunk.js +1 -0
- package/dist/scripts/66-faeadaa25e.chunk.js +1 -0
- package/dist/scripts/66.chunk.js +172 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67-edfc0ba1e9.chunk.js +1 -0
- package/dist/scripts/67.chunk.js +173 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/69.chunk.js +102 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/7-096f5703bd.chunk.js +1 -0
- package/dist/scripts/7-5ac5be64dd.chunk.js +1 -0
- package/dist/scripts/7-81162e12a2.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +2629 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/70.chunk.js +60 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/71.chunk.js +65 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/72.chunk.js +37 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +65 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +67 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +104 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +123 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +1001 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +36 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +1001 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/8-7dc2d39ce2.chunk.js +1 -0
- package/dist/scripts/8-95563e3d36.chunk.js +1 -0
- package/dist/scripts/8-a89310bd50.chunk.js +1 -0
- package/dist/scripts/8.chunk.js +24 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +36 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +619 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +437 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +633 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +1938 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +692 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +829 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +622 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +962 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +943 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/9-9865a75c99.chunk.js +1 -0
- package/dist/scripts/9.chunk.js +327 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +345 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +108 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +110 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/93.chunk.js +165 -0
- package/dist/scripts/93.chunk.js.map +1 -0
- package/dist/scripts/94.chunk.js +102 -0
- package/dist/scripts/94.chunk.js.map +1 -0
- package/dist/scripts/95.chunk.js +65 -0
- package/dist/scripts/95.chunk.js.map +1 -0
- package/dist/scripts/96.chunk.js +65 -0
- package/dist/scripts/96.chunk.js.map +1 -0
- package/dist/scripts/97.chunk.js +67 -0
- package/dist/scripts/97.chunk.js.map +1 -0
- package/dist/scripts/98.chunk.js +104 -0
- package/dist/scripts/98.chunk.js.map +1 -0
- package/dist/scripts/99.chunk.js +123 -0
- package/dist/scripts/99.chunk.js.map +1 -0
- package/dist/scripts/bundle-0958accd59.min.js +15 -0
- package/dist/scripts/bundle-9ed1e126dd.min.js +15 -0
- package/dist/scripts/{bundle-09bb583faa.min.js → bundle-a520bd54ca.min.js} +1 -1
- package/dist/scripts/bundle-fef50e5bb9.min.js +15 -0
- package/dist/scripts/bundle.js +47069 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/pdf.worker.entry.worker.js +46239 -0
- package/dist/scripts/pdf.worker.entry.worker.js.map +1 -0
- package/dist/scripts/polyfills-1f23e4a487.min.js +1 -0
- package/dist/scripts/polyfills-384beac1bd.min.js +1 -0
- package/dist/scripts/polyfills-8a0101e5f1.min.js +1 -0
- package/dist/scripts/polyfills.js +15254 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +2 -2
- /package/dist/scripts/{0-6bc17823fd.chunk.js → 0-1d51c87483.chunk.js} +0 -0
- /package/dist/scripts/{11-f67b6c11a7.chunk.js → 11-e2f313f85e.chunk.js} +0 -0
- /package/dist/scripts/{12-c3f4ba1831.chunk.js → 12-c7f5866361.chunk.js} +0 -0
- /package/dist/scripts/{13-d44a1e6204.chunk.js → 13-ec41bdbbbe.chunk.js} +0 -0
- /package/dist/scripts/{14-bbf4ab8ab9.chunk.js → 14-03b4af57e1.chunk.js} +0 -0
- /package/dist/scripts/{15-bdef10f60a.chunk.js → 15-3da33fa6d0.chunk.js} +0 -0
- /package/dist/scripts/{16-691b35dc8c.chunk.js → 16-9fdbeac822.chunk.js} +0 -0
- /package/dist/scripts/{17-4e3899d62b.chunk.js → 17-2b6bf7febc.chunk.js} +0 -0
- /package/dist/scripts/{18-6afc6b44f3.chunk.js → 18-d3af229f1f.chunk.js} +0 -0
- /package/dist/scripts/{19-7f2d561cf2.chunk.js → 19-17ffa1078f.chunk.js} +0 -0
- /package/dist/scripts/{2-a578d78153.chunk.js → 2-f455e81583.chunk.js} +0 -0
- /package/dist/scripts/{20-fe4b732b3b.chunk.js → 20-81c863da2f.chunk.js} +0 -0
- /package/dist/scripts/{21-850a6abb96.chunk.js → 21-c28f436ec9.chunk.js} +0 -0
- /package/dist/scripts/{22-be37ecc01d.chunk.js → 22-fe35a069b2.chunk.js} +0 -0
- /package/dist/scripts/{23-9ace914ea0.chunk.js → 23-62d1922569.chunk.js} +0 -0
- /package/dist/scripts/{24-007409325f.chunk.js → 24-765209316d.chunk.js} +0 -0
- /package/dist/scripts/{25-9d70dbe4ec.chunk.js → 25-663dfb4e48.chunk.js} +0 -0
- /package/dist/scripts/{26-e280e72009.chunk.js → 26-ef5709d204.chunk.js} +0 -0
- /package/dist/scripts/{27-c8f5fd76cb.chunk.js → 27-400831ca44.chunk.js} +0 -0
- /package/dist/scripts/{28-015dd3e4d4.chunk.js → 28-930e7d5870.chunk.js} +0 -0
- /package/dist/scripts/{29-91d67f4584.chunk.js → 29-e0f2036314.chunk.js} +0 -0
- /package/dist/scripts/{3-aa01c4304a.chunk.js → 3-f64ba09964.chunk.js} +0 -0
- /package/dist/scripts/{30-f16ad621da.chunk.js → 30-c93abab057.chunk.js} +0 -0
- /package/dist/scripts/{31-3f405d0372.chunk.js → 31-9d4e38eb3e.chunk.js} +0 -0
- /package/dist/scripts/{32-7a75602cc0.chunk.js → 32-88a7177e95.chunk.js} +0 -0
- /package/dist/scripts/{33-8d70bde32b.chunk.js → 33-85222ccf93.chunk.js} +0 -0
- /package/dist/scripts/{34-3f095c24f3.chunk.js → 34-6113635e43.chunk.js} +0 -0
- /package/dist/scripts/{35-58407394d5.chunk.js → 35-329132fe49.chunk.js} +0 -0
- /package/dist/scripts/{36-552740daf0.chunk.js → 36-0d6e16e354.chunk.js} +0 -0
- /package/dist/scripts/{37-d79eda4acb.chunk.js → 37-010a76757b.chunk.js} +0 -0
- /package/dist/scripts/{38-a6c89ffb8f.chunk.js → 38-d60741eca8.chunk.js} +0 -0
- /package/dist/scripts/{39-4a615de1ce.chunk.js → 39-b38f2afcd9.chunk.js} +0 -0
- /package/dist/scripts/{4-d296a64d17.chunk.js → 4-0dd0a25c20.chunk.js} +0 -0
- /package/dist/scripts/{40-5330a64b5d.chunk.js → 40-2b7ac55647.chunk.js} +0 -0
- /package/dist/scripts/{41-c268bfb400.chunk.js → 41-9a07dd3c06.chunk.js} +0 -0
- /package/dist/scripts/{42-0e2ebfa151.chunk.js → 42-a612da3a86.chunk.js} +0 -0
- /package/dist/scripts/{43-e1d3a1f0e5.chunk.js → 43-d2fb4006f3.chunk.js} +0 -0
- /package/dist/scripts/{44-8a44b614a8.chunk.js → 44-b959741f1f.chunk.js} +0 -0
- /package/dist/scripts/{45-9418f81185.chunk.js → 45-21e213d97e.chunk.js} +0 -0
- /package/dist/scripts/{46-4ab8038e30.chunk.js → 46-3847eb7655.chunk.js} +0 -0
- /package/dist/scripts/{47-b6a95ef8b0.chunk.js → 47-c4c6264df4.chunk.js} +0 -0
- /package/dist/scripts/{48-e4150407ee.chunk.js → 48-92bbddf27d.chunk.js} +0 -0
- /package/dist/scripts/{49-8fd6a45338.chunk.js → 49-6a65a3f865.chunk.js} +0 -0
- /package/dist/scripts/{5-3842bd1f2d.chunk.js → 5-e47ccdc9aa.chunk.js} +0 -0
- /package/dist/scripts/{50-ab1c16848b.chunk.js → 50-76d7668c64.chunk.js} +0 -0
- /package/dist/scripts/{51-7ce29a119d.chunk.js → 51-caf124fbb7.chunk.js} +0 -0
- /package/dist/scripts/{52-12e0feca43.chunk.js → 52-d3494312ce.chunk.js} +0 -0
- /package/dist/scripts/{53-a5250a2064.chunk.js → 53-7d97e2f664.chunk.js} +0 -0
- /package/dist/scripts/{54-ff24fa0c07.chunk.js → 54-603f252394.chunk.js} +0 -0
- /package/dist/scripts/{55-cd780b71b1.chunk.js → 55-4874473c9d.chunk.js} +0 -0
- /package/dist/scripts/{56-687e915081.chunk.js → 56-ca513946cf.chunk.js} +0 -0
- /package/dist/scripts/{57-5c9b7a7950.chunk.js → 57-e76b06192a.chunk.js} +0 -0
- /package/dist/scripts/{58-636a388c0c.chunk.js → 58-a8612894ef.chunk.js} +0 -0
- /package/dist/scripts/{59-cc88e95d77.chunk.js → 59-f42476f89d.chunk.js} +0 -0
- /package/dist/scripts/{6-7bee1cd6c9.chunk.js → 6-bf7446464f.chunk.js} +0 -0
- /package/dist/scripts/{60-1672f666ce.chunk.js → 60-41208378cc.chunk.js} +0 -0
- /package/dist/scripts/{61-b2bdee9283.chunk.js → 61-85e73cde67.chunk.js} +0 -0
- /package/dist/scripts/{62-d7cbe9da67.chunk.js → 62-94874205ae.chunk.js} +0 -0
- /package/dist/scripts/{63-2126404b54.chunk.js → 63-870238c0d7.chunk.js} +0 -0
- /package/dist/scripts/{64-1f651e86b3.chunk.js → 64-d280e018c4.chunk.js} +0 -0
- /package/dist/scripts/{65-c3472b12c9.chunk.js → 65-3c772a4624.chunk.js} +0 -0
- /package/dist/scripts/{66-c6406c845f.chunk.js → 66-a6ac298fa2.chunk.js} +0 -0
- /package/dist/scripts/{7-e39bfefa23.chunk.js → 7-0917af7a17.chunk.js} +0 -0
- /package/dist/scripts/{8-244738cbaf.chunk.js → 8-0853e12e22.chunk.js} +0 -0
- /package/dist/scripts/{polyfills-46d3c7a509.min.js → polyfills-2723daf478.min.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("_"),require("Backbone"),require("Handlebars"),require("ReactBootstrap"),require("Marionette"),require("ReactRedux"),require("moment"),require("ReactDOM"),require("FontAwesome"),require("ReactCustomScrollbars"),require("DOMPurify"),require("Redux"),require("ReactTransitionGroup"),require("Bloodhound"),require("Polyglot"),require("reactDropzone"),require("SortableHOC"),require("ReactIntersectionObserver"),require("Autosuggest"),require("ImmersiveReader"),require("marked")):"function"==typeof define&&define.amd?define(["React","_","Backbone","Handlebars","ReactBootstrap","Marionette","ReactRedux","moment","ReactDOM","FontAwesome","ReactCustomScrollbars","DOMPurify","Redux","ReactTransitionGroup","Bloodhound","Polyglot","reactDropzone","SortableHOC","ReactIntersectionObserver","Autosuggest","ImmersiveReader","marked"],t):"object"==typeof exports?exports["@clickview/lite"]=t(require("React"),require("_"),require("Backbone"),require("Handlebars"),require("ReactBootstrap"),require("Marionette"),require("ReactRedux"),require("moment"),require("ReactDOM"),require("FontAwesome"),require("ReactCustomScrollbars"),require("DOMPurify"),require("Redux"),require("ReactTransitionGroup"),require("Bloodhound"),require("Polyglot"),require("reactDropzone"),require("SortableHOC"),require("ReactIntersectionObserver"),require("Autosuggest"),require("ImmersiveReader"),require("marked")):e["@clickview/lite"]=t(e.React,e._,e.Backbone,e.Handlebars,e.ReactBootstrap,e.Marionette,e.ReactRedux,e.moment,e.ReactDOM,e.FontAwesome,e.ReactCustomScrollbars,e.DOMPurify,e.Redux,e.ReactTransitionGroup,e.Bloodhound,e.Polyglot,e.reactDropzone,e.SortableHOC,e.ReactIntersectionObserver,e.Autosuggest,e.ImmersiveReader,e.marked)}(window,(function(e,t,n,r,o,i,a,c,u,s,l,f,p,h,d,y,v,g,m,b,w,S){return function(e){function t(t){for(var n,r,i=t[0],a=t[1],c=0,u=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(s&&s(t);u.length;)u.shift()()}var n={},r={9:0},o={9:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,2:1,3:1,4:1,5:1,6:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,47:1,51:1,53:1,54:1,55:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="css/"+e+".chunk.css",a=i.p+o,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var s=(f=c[u]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===a))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){var f;if((s=(f=l[u]).getAttribute("data-href"))===o||s===a)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var o=t&&t.target&&t.target.src||a,i=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[e],p.parentNode.removeChild(p),n(i)},p.href=a,document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=a);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"scripts/"+e+"-"+{0:"6bc17823fd",1:"b20a2dd250",2:"a578d78153",3:"aa01c4304a",4:"d296a64d17",5:"3842bd1f2d",6:"7bee1cd6c9",7:"e39bfefa23",8:"244738cbaf",11:"f67b6c11a7",12:"c3f4ba1831",13:"d44a1e6204",14:"bbf4ab8ab9",15:"bdef10f60a",16:"691b35dc8c",17:"4e3899d62b",18:"6afc6b44f3",19:"7f2d561cf2",20:"fe4b732b3b",21:"850a6abb96",22:"be37ecc01d",23:"9ace914ea0",24:"007409325f",25:"9d70dbe4ec",26:"e280e72009",27:"c8f5fd76cb",28:"015dd3e4d4",29:"91d67f4584",30:"f16ad621da",31:"3f405d0372",32:"7a75602cc0",33:"8d70bde32b",34:"3f095c24f3",35:"58407394d5",36:"552740daf0",37:"d79eda4acb",38:"a6c89ffb8f",39:"4a615de1ce",40:"5330a64b5d",41:"c268bfb400",42:"0e2ebfa151",43:"e1d3a1f0e5",44:"8a44b614a8",45:"9418f81185",46:"4ab8038e30",47:"b6a95ef8b0",48:"e4150407ee",49:"8fd6a45338",50:"ab1c16848b",51:"7ce29a119d",52:"12e0feca43",53:"a5250a2064",54:"ff24fa0c07",55:"cd780b71b1",56:"687e915081",57:"5c9b7a7950",58:"636a388c0c",59:"cc88e95d77",60:"1672f666ce",61:"b2bdee9283",62:"d7cbe9da67",63:"2126404b54",64:"1f651e86b3",65:"c3472b12c9",66:"c6406c845f"}[e]+".chunk.js"}(e);var s=new Error;c=function(t){u.onerror=u.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}o[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var u=0;u<a.length;u++)t(a[u]);var s=c;return i(i.s=817)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(187);n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return r.b})),n.d(t,"c",(function(){return r.c})),n.d(t,"d",(function(){return r.d})),n.d(t,"e",(function(){return r.e})),n.d(t,"f",(function(){return r.f})),n.d(t,"g",(function(){return r.g})),n.d(t,"h",(function(){return r.h})),n.d(t,"i",(function(){return r.i})),n.d(t,"j",(function(){return r.j})),n.d(t,"k",(function(){return r.k})),n.d(t,"l",(function(){return r.l})),n.d(t,"m",(function(){return r.m})),n.d(t,"n",(function(){return r.n})),n.d(t,"o",(function(){return r.o}));n(182)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r={DEFAULT:"default:application",PLAYLISTS:"playlists:application",DASHBOARD:"dashboard:application",SUBJECT:"subject:application",EMBED:"embed:application",NOTIFICATIONS:"notifications:application",SEARCH:"search:application",CONTENT_UPDATES:"content:updates:application",USER_MANAGER:"user:manager:application",UPLOAD:"upload:application",CLASSROOMS:"classrooms:application",SETTINGS:"settings:application",WATCH_HISTORY:"watch:history:application"},o={COMBINE_UPLOADS:"combine:uploads:service"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(413),o=n(1),i=n(188),a=n(54),c=n(11),u=n(52),s=n(19),l=n(82);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(v,e);var t,n,a,f=y(v);function v(){return p(this,v),f.apply(this,arguments)}return t=v,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"setConfig",value:function(e){this.polyglot=new r({locale:e.locale,phrases:e.phrases.rootElement||e.phrases}),this.cache={}}},{key:"getPhrase",value:function(e,t,n){var r="".concat(e,".").concat(t);if(this.polyglot||c.c.throw(new s.a("LanguageService config must be set.")),!this.polyglot.has(r)){if(!l.a.isDevelopment){var a=window.trackJs;return a&&a.console.error("No phrase set for ".concat(r," in language config")),""}c.c.throw(new s.a("No phrase set for ".concat(r," in language config.")))}if(!n||o.isEmpty(n)){var u=this.cache[r];if(u)return u;var f=this.polyglot.t(r);return this.cache[r]=f,f}var p=o.omit(n,"smartCount"),h={};for(var d in p)h[d]=i.sanitize(p[d]);o.isNumber(n.smartCount)&&(h.smart_count=n.smartCount);var y="".concat(r,":").concat(o.values(Object.assign({},h)).join(":")),v=this.cache[y];if(v)return v;var g=this.polyglot.t(r,h);return this.cache[y]=g,g}},{key:"encloseNamespace",value:function(e){var t=this;return function(n,r){return t.getPhrase(e,n,r)}}},{key:"name",get:function(){return u.a.LANGUAGE}}])&&h(t.prototype,n),a&&h(t,a),v}(a.a).Instance},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(1),o=n(19),i=n(54),a=n(11);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,e);var t,n,i,c=l(f);function f(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(e=c.call(this)).constructors={},e.destructors={},e.instances={},e.singletonInstances={},e.referenceCounts={},e}return t=f,i=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"registerDataService",value:function(e,t){var n=this;this.validateConstructor(e);var r=e.prototype.name;return this.referenceCounts[r]=0,this.constructors[r]=function(){return new e({dataProvider:n.getInstance(t.dataProvider),cache:n.getInstance(t.cache),bootstrapData:t.bootstrapData,defaultErrorHandler:t.defaultErrorHandler,alertService:t.alertService})},this.destructors[r]=function(){n.instances[r]?n.instances[r].destroy():a.c.throw(new o.a("Trying to destroy a ".concat(r," instance that has already been destroyed"))),n.releaseInstance(t.dataProvider),n.releaseInstance(t.cache)},this}},{key:"registerInstance",value:function(e,t){var n=this;this.validateConstructor(e);var o=e.prototype.name;return this.referenceCounts[o]=0,this.constructors[o]=function(){return new e(t)},this.destructors[o]=function(){return r.isFunction(n.instances[o].destroy)&&n.instances[o].destroy()},this}},{key:"registerSingleton",value:function(e){var t=e.name;return this.singletonInstances[t]=e,this}},{key:"getInstance",value:function(e,t){var n=this;return this.singletonInstances[e]?this.singletonInstances[e]:(this.constructors[e]||a.c.throw(new o.a("".concat(e," was not registered with ").concat(this.name))),this.referenceCounts[e]++,t&&this.listenTo(t,"destroy",(function(){return n.releaseInstance(e)})),this.instances[e]||(this.instances[e]=this.constructors[e]()),this.instances[e])}},{key:"releaseInstance",value:function(e){var t=this;if(this.instances[e])return window.setTimeout((function(){t.referenceCounts[e]--,t.referenceCounts[e]<1&&(t.destructors[e](),delete t.instances[e])}),0),this}},{key:"validateConstructor",value:function(e){var t=e.prototype.name;t||a.c.throw(new o.a("Classes registered with ".concat(this.name," must have a unique name property."))),this.constructors[t]&&a.c.throw(new o.a("A class with the name: ".concat(t," has already been registered with ").concat(this.name)))}},{key:"name",get:function(){return"InstanceManager"}}])&&u(t.prototype,n),i&&u(t,i),f}(i.a).Instance},function(e,t){e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={Default:{ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",SERIES:"series",PLAY_VIDEO:"play:video",FAVOURITE_VIDEOS:"favourite:videos",MY_VIDEOS:"my:videos",EDIT_VIDEO:"edit:video",EDIT_UPLOAD:"edit:upload",SHARE:"share",LOG_OUT:"log:out",LOG_IN:"log:in"},Playlists:{HOME:"index",PLAYLIST:"playlist",NEW_PLAYLIST:"new:playlist",EDIT_PLAYLIST:"edit:playlist",DELETE_PLAYLIST:"delete:playlist",ADD_TO_PLAYLIST:"add:to:playlist",REMOVE_VIDEO_FROM_PLAYLIST:"remove:video:from:playlist"},Dashboard:{HOME:"index",DASHBOARD:"dashboard"},Subjects:{CLASSIFICATION:"classification",PREFERENCES:"preferences"},Notifications:{HOME:"index"},Search:{HOME:"index"},ContentUpdates:{CONTENT_UPDATES:"content:updates",CLASSIFICATION_UPDATE:"classification:update"},UserManager:{STUDENTS:"student:manager",TEACHERS:"teacher:manager",REMOVE_USERS:"remove:users",NEW_STUDENT:"new:student",EDIT_STUDENT:"edit:student",NEW_TEACHER:"new:teacher",EDIT_TEACHER:"edit:teacher",STUDENT_UPLOAD_REVIEW:"student:upload:review",TEACHER_UPLOAD_REVIEW:"teacher:upload:review"},Upload:{EDIT_UPLOAD:"edit:upload",CANCEL_UPLOAD:"cancel:upload"},Classrooms:{HOME:"index",CLASSROOM:"classroom",NEW_CLASSROOM:"new:classroom",EDIT_CLASSROOM:"edit:classroom",DELETE_CLASSROOM:"delete:classroom",MANAGE_CLASSROOM:"manage:classroom",ADD_STUDENTS:"add:students",REMOVE_STUDENTS:"remove:students",NEW_GROUP:"new:group",EDIT_GROUP:"edit:group",DELETE_GROUP:"delete:group"},Settings:{HOME:"index"},WatchHistory:{HOME:"index"}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return w})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return C}));var r=n(9),o=n(16),i=n(82),a=n(29);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function p(e){var t=v();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return y(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)})(e)}function y(e,t,n){return(y=v()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){f(n,e);var t=p(n);function n(e){return l(this,n),t.call(this,e)}return n}(d(Error)),w=function(e){f(n,e);var t=p(n);function n(){return l(this,n),t.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"SilentError"}}]),n}(b),S=function(e){f(n,e);var t=p(n);function n(){return l(this,n),t.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"CoreError"}}]),n}(d(Error)),C={throw:function(e){if(r.Radio.channel(o.a.SHELL).trigger(a.a.ERROR,e),!(e instanceof w||i.a.isDevelopment))throw e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r={Config:"ConfigDataService",User:"UserDataService",Language:"LanguageDataService",Video:"VideoDataService",VideoUpload:"VideoUpload",Library:"LibraryDataService",Search:"SearchDataService",Series:"SeriesDataService",Notification:"NotificationDataService",NotificationSocket:"NotificationSocketService"},o={ImageUrl:"ImageUrlService",PendingItems:"PendingItemsService",Alerts:"AlertService",VideoUpload:"VideoUploadService",ResourceUpload:"ResourceUploadService",SubtitleUpload:"SubtitleUploadService",VideoMixin:"VideoMixinService",ContextualSearch:"ContextualSearchService",Context:"ContextService",Notification:"NotificationService",AppOptions:"AppOptionsService"}},function(e,t,n){"use strict";var r,o,i=n(125),a=n(1),c=n(258),u=n.n(c),s=n(259),l=n.n(s),f=n(260),p=n.n(f),h=n(261),d=n.n(h),y=(n(262),n(263),n(264)),v=n.n(y),g=n(265),m=n.n(g),b=n(266),w=n.n(b),S=n(267),C=n.n(S),O=n(268),k=n.n(O),E=n(269),P=n.n(E),R=n(270),_=n.n(R),T=n(271),x=n.n(T),A=n(272),L=n.n(A),j=n(273),N=n.n(j),I=n(274),D=n.n(I),U=n(275),M=n.n(U),F=n(276),V=n.n(F),H=n(277),z=n.n(H),B=n(278),q=n.n(B),W=n(279),J=n.n(W),G=n(280),Y=n.n(G),K=n(281),Q=n.n(K),Z=n(282),X=n.n(Z),$=n(283),ee=n.n($),te=n(284),ne=n.n(te),re=(n(285),n(286)),oe=n.n(re),ie=n(287),ae=n.n(ie),ce=n(288),ue=n.n(ce),se=(n(289),n(290),n(291)),le=n.n(se),fe=n(292),pe=n.n(fe),he=n(293),de=n.n(he),ye=n(294),ve=n.n(ye),ge=n(295),me=n.n(ge),be=n(296),we=n.n(be),Se=(n(297),n(298)),Ce=n.n(Se),Oe=n(299),ke=n.n(Oe),Ee=n(300),Pe=n.n(Ee),Re=n(301),_e=n.n(Re),Te=n(302),xe=n.n(Te),Ae=n(303),Le=n.n(Ae),je=n(304),Ne=n.n(je),Ie=(n(305),n(306)),De=n.n(Ie),Ue=n(307),Me=n.n(Ue),Fe=n(308),Ve=n.n(Fe),He=n(309),ze=n.n(He),Be=n(310),qe=n.n(Be),We=n(311),Je=n.n(We),Ge=n(312),Ye=n.n(Ge),Ke=n(313),Qe=n.n(Ke),Ze=n(314),Xe=n.n(Ze),$e=n(315),et=n.n($e),tt=n(316),nt=n.n(tt),rt=n(317),ot=n.n(rt),it=n(318),at=n.n(it),ct=n(319),ut=n.n(ct),st=n(320),lt=n.n(st),ft=n(321),pt=n.n(ft),ht=(n(322),n(323),n(324),n(325)),dt=n.n(ht),yt=(n(326),n(327),n(328),n(329),n(330)),vt=n.n(yt),gt=n(331),mt=n.n(gt),bt=(n(332),n(333),n(334),n(335)),wt=n.n(bt),St=n(336),Ct=n.n(St),Ot=n(337),kt=n.n(Ot),Et=n(338),Pt=n.n(Et),Rt=n(339),_t=n.n(Rt),Tt=n(340),xt=n.n(Tt),At=n(341),Lt=n.n(At),jt=(n(342),n(343),n(344),n(345)),Nt=n.n(jt),It=n(346),Dt=n.n(It),Ut=[u.a,p.a,d.a,v.a,C.a,k.a,P.a,_.a,w.a,l.a,x.a,L.a,N.a,D.a,M.a,m.a,V.a,z.a,q.a,J.a,ne.a,Y.a,Q.a,X.a,ee.a,oe.a,de.a,et.a,ot.a,nt.a,pt.a,at.a,ut.a,lt.a,_e.a,Le.a,xe.a,ae.a,ue.a,ke.a,Pe.a,Ce.a,le.a,ve.a,Me.a,Ve.a,me.a,we.a,ze.a,pe.a,De.a,qe.a,Je.a,Ne.a,Ye.a,Xe.a,Qe.a,vt.a,mt.a,dt.a,kt.a,Ct.a,wt.a,Pt.a,xt.a,_t.a,Lt.a,Dt.a,Nt.a];function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.AddToPlaylists="add-to-playlist",e.Caret="caret",e.Delete="delete",e.Edit="edit",e.NoEdit="no-edit",e.Close="close",e.Folder="folder",e.Resources="resources",e.More="more",e.Bell="bell",e.Plus="plus",e.Search="search",e.Share="share",e.Share2="share2",e.Upload="upload",e.Preview="preview",e.CircleCheck="circle-check",e.Down="down",e.Right="right",e.UpDown="up-down",e.ChevronUp="chevron-up",e.ChevronDown="chevron-down",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.VisibleOff="visible-off",e.VisibleOn="visible-on",e.PublisherArchive="publisher-archive",e.Play="play",e.PlayCircle="play-circle",e.ArrowLeft="arrow-left",e.CheckCircleOutline="check-circle-o",e.CheckCircle="check-circle",e.Check="check",e.Lock="lock",e.Link="link",e.Info="info",e.Question="question",e.Star="star",e.StarOutline="star-o",e.Archive="archive",e.Warning="warning",e.WarningOutline="warning-o",e.NewWindow="new-window",e.File="file",e.FilePDF="file-pdf",e.FileExcel="file-excel",e.FilePowerpoint="file-ppt",e.FileWord="file-word",e.FileImg="file-img",e.FileZip="file-zip",e.Enter="enter",e.Calendar="calendar",e.CloseCaption="close-caption",e.CloseCaptionBadge="close-caption-badge",e.Playlist="playlist",e.Handle="handle",e.Subject="subject",e.Series="series",e.EditClickView="edit-clickview",e.Heart="heart",e.HeartOutline="heart-outline",e.WhiteWave="white-wave",e.Cog="cog",e.Video="video",e.Compass="compass",e.History="history",e.Tag="tag",e.Email="email",e.YearLevel="year-level",e.Subjects="subjects"}(r||(r={}));var Ft;function Vt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}a.extend(i.config,{autoReplaceSvg:!1,autoAddCss:!1,familyPrefix:"cv",autoA11y:!0,observeMutations:!1,replacementClass:"cv-svg",keepOriginalSource:!1}),(o=i.library).add.apply(o,function(e){if(Array.isArray(e))return Mt(e)}(Ft=Ut)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(Ft)||function(e,t){if(e){if("string"==typeof e)return Mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mt(e,t):void 0}}(Ft)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n.d(t,"a",(function(){return Ht})),n.d(t,"b",(function(){return zt}));var Ht=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"getSvg",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.faIconLookup(e,t),r=this.getIcon(n,t);if(r&&(!r||r.html.length))return r.html.pop()}},{key:"getIcon",value:function(e,t){return i.icon(e,t.iconOptions||{})}},{key:"faIconLookup",value:function(e,t){var n=t.prefix,r=void 0===n?"cv":n;return i.findIconDefinition({prefix:r,iconName:e})}}])&&Vt(t.prototype,n),r&&Vt(t,r),e}().Instance,zt=r},function(e,t,n){"use strict";var r=n(185);n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var r={CONFIG:"config:data:service",USER:"user:data:service",LANGUAGE:"language:data:service",LIBRARY:"library:data:service",SEARCH:"search:data:service",SERIES:"series:data:service",NOTIFICATIONS:"notifications:data:service",NOTIFICATIONS_SOCKET:"notifications:socket:service"},o={PENDING_ITEMS:"pending:items:service",VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",CONTEXTUAL_SEARCH:"contextual:search:service"},i={NOTIFICATIONS:"notifications:application"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"b",(function(){return d}));var r=n(6),o=n(100),i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},c=function(){function e(){}return e.isRequired=function(e,t){if(null==e)throw new Error("The '"+t+"' argument is required.")},e.isIn=function(e,t,n){if(!(e in t))throw new Error("Unknown "+n+" value: "+e+".")},e}(),u=function(){function e(){}return Object.defineProperty(e,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),e}();function s(e,t){var n="";return l(e)?(n="Binary data of length "+e.byteLength,t&&(n+=". Content: '"+function(e){var t=new Uint8Array(e),n="";return t.forEach((function(e){n+="0x"+(e<16?"0":"")+e.toString(16)+" "})),n.substr(0,n.length-1)}(e)+"'")):"string"==typeof e&&(n="String data of length "+e.length,t&&(n+=". Content: '"+e+"'")),n}function l(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function f(e,t,n,o,c,u,f){return i(this,void 0,void 0,(function(){var i,p,h,d,y;return a(this,(function(a){switch(a.label){case 0:return c?[4,c()]:[3,2];case 1:(h=a.sent())&&((i={}).Authorization="Bearer "+h,p=i),a.label=2;case 2:return e.log(r.a.Trace,"("+t+" transport) sending data. "+s(u,f)+"."),d=l(u)?"arraybuffer":"text",[4,n.post(o,{content:u,headers:p,responseType:d})];case 3:return y=a.sent(),e.log(r.a.Trace,"("+t+" transport) request complete. Response status: "+y.statusCode+"."),[2]}}))}))}function p(e){return void 0===e?new d(r.a.Information):null===e?o.a.instance:e.log?e:new d(e)}var h=function(){function e(e,t){this.subject=e,this.observer=t}return e.prototype.dispose=function(){var e=this.subject.observers.indexOf(this.observer);e>-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(e){}))},e}(),d=function(){function e(e){this.minimumLogLevel=e,this.outputConsole=console}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case r.a.Critical:case r.a.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r.a[e]+": "+t)}},e}()},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return l}));var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(s,e);var t,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return t=s,(n=[{key:"name",get:function(){return"DevError"}}])&&i(t.prototype,n),r&&i(t,r),s}(n(11).a)},,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"}(r||(r={}))},,function(e,t,n){e.exports={leftNav:"_3jVyN",leftNavExpanded:"Q3CCb",leftNavAnchor:"_3A_-8",leftNavCollapsed:"_2idO9",bgGrey:"jefGP",leftNavText:"_3qbRh",leftNavBottom:"_1OHHF",partialLeftNavItem:"_131rM",iconGrey:"_2C2dq",leftNavIcon:"_13OIc",discover:"_2dE5b",active:"_3209B",playlists:"_2l2O2",myVideos:"_9xxGp",favouritedVideos:"mqsI_",classrooms:"Zgkg3",classroom:"_2K3g7",watchHistory:"ZMi6H",settings:"YTaso",highlightText:"_3uRuV"}},,function(e,t){e.exports=r},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n(12),o=Object.assign(Object.assign({},r.b),{CombineUploads:"combine:uploads:service"}),i=Object.assign(Object.assign({},r.a),{Settings:"SettingsDataService",FlightUser:"FlightUserDataService"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SEARCH:"search:app:variables",NOTIFICATIONS:"notifications:app:variables",SUBJECTS:"subjects:app:variables"}},function(e,t){e.exports=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SUBJECT_PLAYLISTS:"subject:playlists",CURRENT_USER:"current:user",WORKSPACE:"workspace",CONFIG:"config",LOCALE:"locale",PHRASES:"phrases",SEARCH_FILTERS:"search:filters",SERIES:"series",NOTIFICATIONS:"notifications",SUGGEST_EDIT:"suggest:edit"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o={debounce:function(e,t,n){return r.debounce(e,t,n)},throttle:function(e,t,n){return r.throttle(e,t,n)},isFunction:function(e){return r.isFunction(e)},useIdentity:function(){return r.identity},memoize:function(e,t){return r.memoize(e,t)}}},,,function(e,t){e.exports=i},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c}));var r,o=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){function t(t,n){var r=this,o=this.constructor.prototype;return(r=e.call(this,t)||this).statusCode=n,r.__proto__=o,r}return o(t,e),t}(Error),a=function(e){function t(t){void 0===t&&(t="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return o(t,e),t}(Error),c=function(e){function t(t){void 0===t&&(t="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return o(t,e),t}(Error)},function(e,t,n){"use strict";var r=n(1),o=n(2),i=n(19),a=n(3),c=n(16),u=n(190);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=new(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(a,e);var t,n,r,i=h(a);function a(){var e;return l(this,a),(e=i.apply(this,arguments)).contextHistory=[],e}return t=a,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(c.a.SHELL,o.a.EventNames.ROUTE,this.setContext)}},{key:"setContext",value:function(e){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return u.a.Context}}])&&f(t.prototype,n),r&&f(t,r),a}(o.a.Service)),g=n(126);function m(){var e=v.getCurrentContext().appLink;return r.isObject(e)||o.a.ErrorHelper.throw(new i.a("Applink does not exist. Check current context.")),e.application.replace(":","-")}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.location,n=e.entity,r=e.workflowPhase,a=void 0===r?null:r,c=e.descriptor,u=void 0===c?null:c;return t||o.a.ErrorHelper.throw(new i.a("location must be set.")),n||o.a.ErrorHelper.throw(new i.a("entity must be set.")),{productArea:m(),location:t,entity:n,descriptor:u,workflowPhase:a}}function w(){return o.a.LocationUtils.GetCurrentPath()+o.a.LocationUtils.GetCurrentQueryString()}n.d(t,"a",(function(){return S}));var S={logUserAction:function(e,t){if(function(e){return!(!r.isArray(e)||!r.every(e,(function(e){return r.isObject(e)})))||!!r.isObject(e)}(e)&&r.isObject(t)){var n=S.buildUserActionEvent(t),o=n.userAction,i=n.action,a=n.eventVersion;g.a.log(o,e,i,a)}},logNavigate:function(e,t){var n=Object.assign({currentLocation:w(),appLink:e},t);g.a.log(a.n.Navigate,n)},mergeOptions:function(e,t){return r.extend({},e,t)},buildActionContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(e)},buildUserActionEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.actionType,n=e.eventVersion,r=t,o=b(e);return{userAction:r,action:o,eventVersion:n}},buildCurrentLocation:function(){return w()},buildSearchEvent:function(e,t){return{data:{query:e},action:b({entity:a.d.Video,location:a.j.SearchBar,descriptor:t})}},buildInstantSearchEvent:function(e,t,n){var r;n===a.l.Series&&(r=a.d.Series),n===a.l.Folder&&(r=a.d.Folder),n===a.l.Tags&&(r=a.d.Tag),n===a.l.Video&&(r=a.d.Video);var o={instant:{},query:e};return t.id&&(o.instant.selectedId=t.id),t.name&&(o.instant.selectedName=t.name),{data:o,action:b({entity:r,location:a.j.SearchBar})}},mapInteractionType:function(e){switch(e){case a.h.DragDrop:return a.i.DragDrop;case a.h.FileSelect:return a.i.FileSelect;default:return}}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e,t,n,o){var i=e;return"string"==typeof e&&(i=r.Radio.channel(e)),o.call(this,i,t,n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return d}));var r=n(1),o=n(9),i=n(78),a=n(16),c=n(29),u=/((\(\?)?:\w+)|(\*\w+)/,s=/[\(\)]/g,l=/\(\/\)/g,f=/\/$/,p={routingStarted:function(){o.Radio.channel(a.a.SHELL).trigger(c.a.ROUTING_START)},routingEnded:function(){p.hasActiveRoute()&&o.Radio.channel(a.a.SHELL).trigger(c.a.ROUTING_END)},hasActiveRoute:function(){return o.Radio.channel(a.a.SHELL).request(c.a.HAS_ACTIVE_ROUTE)}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.usedHelper=!0;var n=e.application,r=e.action;o.Radio.channel(n).trigger(r,e,t)},d={getHref:function(e){if(!e)return"";var t=e.application,n=e.action,r=e.args,i=e.params,u=o.Radio.channel(a.a.SHELL);return"/".concat(u.request(c.a.ROUTE_LOOKUP,"".concat(t,":").concat(n),r,i))},buildRoute:function(e,t){if(!t)return e;var n=t.args,o=t.params;if(r.each(n,(function(t){e=e.replace(u,t||"")})),e=(e=(e=e.replace(l,"")).replace(s,"")).replace(f,""),!o)return e;var a=i.a.SerializeQueryParams(o);return a.length?"".concat(e,"?").concat(a):e},trigger:function(e,t){e&&(p.hasActiveRoute()?o.Radio.channel(a.a.SHELL).once("routing:end",(function(){h(e,t)})):h(e,t))},getCurrentAppLink:function(){return o.Radio.channel(a.a.SHELL).request(c.a.CURRENT_ROUTE)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={UPLOAD_COMPLETE:"upload:complete",FILES_SELECTED:"files:selected",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",PENDING_ITEM_READY_TO_WATCH:"pending:item:ready:to:watch",PENDING_ITEM_STATUS_CHANGE:"pending:item:status:change",PROCESSING_CANCELLED:"processing:cancelled",UNLOCK_NAV:"upload:unlock:nav"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(192),o="categories{libraries.typeid:".concat(r.a.CustomMediaObjectCollection,"}"),i={VIDEO_COLLECTION:"series,season,rating,thumbnail,".concat(o,",libraries,tags,clips{limit:100},")+"interactives{limit:1},subtitles{limit:1},resources{limit:1},links{limit:1}",SHARED_PLAYLIST_VIDEO_COLLECTION:"series,season,rating,thumbnail,".concat(o,",libraries,tags,clips{limit:100},")+"interactives{limit:100},subtitles{limit:1},resources{limit:1},links{limit:1}",SERIES:"tallposter,rating",FOLDER:"banner,thumbnail",CLASSIFICATION:"banner,cover",PLAYLIST:"cover,banner,owner,videos[thumbnail,count()]{orderby:orderindex,limit:1},followers[count()]{limit:0}",PLAYLIST_COLLECTION:"videos[thumbnail,count()]{orderby:orderindex,limit:1},thumbnail,cover,owner[avatar],subjectpresentationaudiences"},a={SubjectPresentationActiveAudienceFilter:function(e){return"subjectpresentationaudiences.id:[".concat(e.join(","),"]")},SubjectPresentationAudienceFilter:function(e){return"subjectpresentationaudiences{presentationId:".concat(e,"}")},ClassificationWithFollowersAndMemberCount:function(e){return i.CLASSIFICATION+",followers{id:".concat(e,"},videos[count()]{limit:0}")+",playlists[count()]{limit:0},series[count()]{limit:0}"}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(1),o=n(414),i=n.n(o),a=/&/g,c=/[\W]+/g,u=/\s+/g,s={className:"info-link"},l={escapeExpression:function(e){return window.Handlebars.escapeExpression(e)},escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify:function(e){if(e)return e.toLowerCase().replace(a,"and").replace(c," ").trim().replace(u,"-").substr(0,80)},linkifyText:function(e,t){if(e){var n=t?r.extend({},s,t):s;return i()(e,n)}},isEqual:function(e,t){return!!e&&!!t&&e.toString()===t.toString()},toTitleCase:function(e){return e.split(" ").map((function(e){return(e[0]?e[0].toUpperCase():"")+(e.substr(1)?e.substr(1).toLowerCase():"")})).join(" ")}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return m}));var r,o,i=n(1),a=n(9),c=n(121),u=n(72),s=n(54),l=n(16),f=n(52);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info"}(r||(r={})),function(e){e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI"}(o||(o={}));var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,r,o=y(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),o.call(this,e)}return t=s,(n=[{key:"initialize",value:function(){this.alertCollection=new c.a,this.listenTo(l.a.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}},{key:"showAlerts",value:function(){var e=a.Radio.channel(l.a.ALERT),t={collection:this.alertCollection};this.options.alertViewCtor&&(t=i.extend({},t,{ctor:this.options.alertViewCtor})),e.trigger("show:alert",t)}},{key:"removeAlert",value:function(e){this.alertCollection.remove(e),this.showAlerts()}},{key:"createAlert",value:function(e){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),e.id||(e=i.extend({},e,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new u.a(e)),this.showAlerts()}},{key:"clearAllAlerts",value:function(){this.alertCollection.reset(null)}},{key:"success",value:function(e){var t=this;return"string"==typeof e?i.bind((function(){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,{message:e}))}),this):e.useXHR?i.bind((function(e,n){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,{message:n}))}),this):i.bind((function(){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,e))}),this)}},{key:"error",value:function(e){var t=this;return"string"==typeof e?i.bind((function(){return t.createAlert(i.extend({},t.options.defaultErrorAlert,{message:e}))}),this):e.useXHR?i.bind((function(e){return t.createAlert(i.extend({},t.options.defaultErrorAlert,{message:e.message}))}),this):i.bind((function(){return t.createAlert(i.extend({},t.options.defaultErrorAlertIL_DEFAULT,e))}),this)}},{key:"generateUniqueAlertId",value:function(){return i.uniqueId("alert_")}},{key:"name",get:function(){return f.a.ALERT}},{key:"defaults",get:function(){return{maxAlerts:3}}}])&&h(t.prototype,n),r&&h(t,r),s}(s.a)},,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.ExchangeVideoAvailable="exchange-video-available",e.WorkspaceVideoAvailable="workspace-video-available",e.Marketing="marketing",e.EditedVideoAvailable="edited-video-available",e.VideoRequestAvailable="pay-tv-video-available",e.VideoRequestDenied="pay-tv-video-denied",e.VideoReviewReminder="term-update-review-reminder",e.VideoReviewAddedToLibrary="term-update-review-videos-added-to-library",e.CustomLibraryVideoAvailable="custom-library-video-available",e.VideoProcessingFailed="video-processing-failed",e.StaffRequest="new-staff-request",e.StaffRequestFulfilled="staff-request-fulfilment",e.ChapterMergeSuccess="media-concatenate-success",e.SuggestEdit="suggest-an-edit"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(2),i=n(40);function a(e){var t=e.appLink,n=e.className,a=e.children,c=e.tag,u=void 0===c?"a":c;if(!t)return r.createElement("span",{className:n||""},a);var s=o.a.AppLinkHelper.getHref(t),l=e.onClick;l||(l=function(n){n.preventDefault(),e.analyticsData&&e.analyticsOptions&&i.a.logUserAction(Object.assign({href:s},e.analyticsData),e.analyticsOptions),o.a.AppLinkHelper.trigger(t)});var f={onClick:l,href:s,className:n};return r.createElement(u,Object.assign({},f),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={ALERT:"AlertService",SCROLL:"ScrollService",LANGUAGE:"LanguageService"}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(38),o=n(42),i=n(11);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,e);var t,n,r,a=l(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=a.call(this,e)).name||i.c.throw(new i.b("Your service must be named.")),t}return t=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(t.prototype,n),r&&c(t,r),f}(r.Object)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u}));var r,o=n(0),i=n(35),a=n(13),c=n(156);function u(e){var t=e.svgName,n=e.className,u=void 0===n?"d-inline-block svg-container":n,s=e.tagName,l=void 0===s?"span":s,f=e.size,p=void 0===f?r.Standard:f,h=e.onClick,d=e.title,y=e.tooltipPlacement,v=void 0===y?"right":y,g=l,m={dangerouslySetInnerHTML:{__html:a.a.getSvg(t)},className:"".concat(u," ").concat(p),onClick:i.a.isFunction(h)?h:null};return d?o.createElement(c.a,{title:d,placement:v},o.createElement(g,Object.assign({},m))):o.createElement(g,Object.assign({},m))}!function(e){e.Standard="std",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg"}(r||(r={}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o={isEmpty:function(e){return r.isEmpty(e)},values:function(e){return r.values(e)},keys:function(e){return r.keys(e)},deepClone:function(e){return(r.isArray(e)?r.map:r.mapObject)(e,(function(e){return r.isObject(e)||r.isArray(e)?o.deepClone(e):e}))},getEnumKeys:function(e){return Object.keys(e).filter((function(e){return!(parseInt(e)>=0)}))},isObject:function(e){return r.isObject(e)},isEqual:function(e,t){return r.isEqual(e,t)},omit:function(e,t){return r.omit(e,t)}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(1),o=n(9),i=n(54),a=n(11),c=n(19);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(l,e);var t,n,i,u=h(l);function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=u.call(this,e),r.result(y(t),"name")||a.c.throw(new c.a("Must provide a name when extending BaseDataService")),r.result(y(t),"channelName")||a.c.throw(new c.a("Must provide a channelName for ".concat(r.result(y(t),"name"))));var n=[].concat(s(t.defaultProps),s(t.props||[]));return t.dataRequestSignatures={},t.mergeOptions(e,n),t}return t=l,(n=[{key:"getCursors",value:function(e){var t=this.cache.get(e);return t?t.cursors:{}}},{key:"clearCacheAndGet",value:function(e){var t=this,n=e.callback,o=e.errorCallback,i=e.eventPrefix,a=this.getEventNames(i),c=a.syncEvent,u=a.errorEvent,s=this.cache.get(i);if(s&&s.openRequest)return this.listenToOnce(this.getChannel(),c,(function(e){r.isFunction(o)&&t.stopListening(t.getChannel(),u,o),r.isFunction(n)&&n(e)})),void this.listenToOnce(this.getChannel(),u,(function(){r.isFunction(n)&&t.stopListening(t.getChannel(),c,n),r.isFunction(o)&&o()}));this.cache.remove(e.eventPrefix),this.get(e)}},{key:"get",value:function(e){var t=this,n=e.callback,o=e.errorCallback,i=e.eventPrefix,a=e.resource,c=e.formatData,u=e.expiryTime,s=e.successHandler,l=e.errorHandler,f=e.bootstrapName,p=this.getEventNames(i),h=p.syncEvent,d=p.requestEvent,y=p.successEvent,v=p.errorEvent,g=this.getChannel(),m=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[f]&&(this.cacheData(i,this.bootstrapData[f],c,{openRequest:!1,timestamp:m}),delete this.bootstrapData[f]);var b,w=this.cache.get(i);w&&(b=w.data);var S=w&&w.openRequest,C=this.isExpired(i,u);if(S&&(this.listenToOnce(g,h,(function(e){r.isFunction(o)&&t.stopListening(t.getChannel(),v,o),r.isFunction(n)&&n(e)})),this.listenToOnce(g,v,(function(){r.isFunction(n)&&t.stopListening(t.getChannel(),h,n),r.isFunction(o)&&o()}))),this.cache.has(i)&&!C||(g.trigger(d),this.listenToResponse({eventPrefix:i,formatData:c,cacheOptions:{timestamp:m},callback:n,errorCallback:o,successHandler:s,errorHandler:l}),this.cacheData(i,null,null,{openRequest:!0,timestamp:m}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:y,errorEvent:v})),b&&r.isFunction(n)&&!C&&n(b),b)return b}},{key:"create",value:function(e){var t=e.eventPrefix,n=e.resource,r=e.data,o=e.formatData,i=e.callback,a=e.errorCallback,c=e.invalidationKeys,u=e.successHandler,s=e.errorHandler,l=this.getEventNames(e.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,d=this.getChannel(),y=this.getTransportChannel();d.trigger(f),this.listenToResponse({eventPrefix:t,formatData:o,invalidationKeys:c,callback:i,errorCallback:a,successHandler:u,errorHandler:s}),this.dataProvider.create(n,r,{channel:y,successEvent:p,errorEvent:h})}},{key:"update",value:function(e){var t=e.data,n=e.callback,r=e.errorCallback,o=e.resource,i=e.formatData,a=e.eventPrefix,c=e.invalidationKeys,u=e.errorHandler,s=e.successHandler,l=this.getEventNames(e.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,d=this.getChannel(),y=this.getTransportChannel();d.trigger(f),this.listenToResponse({eventPrefix:a,formatData:i,invalidationKeys:c,callback:n,errorCallback:r,successHandler:s,errorHandler:u}),this.dataProvider.update(o,t,{channel:y,successEvent:p,errorEvent:h})}},{key:"delete",value:function(e){var t=e.eventPrefix,n=e.resource,r=e.callback,o=e.errorCallback,i=e.invalidationKeys,a=e.successHandler,c=e.errorHandler,u=this.getEventNames(t),s=u.successEvent,l=u.errorEvent,f=this.getTransportChannel();this.listenToResponse({eventPrefix:t,invalidationKeys:i,callback:r,errorCallback:o,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:a,errorHandler:c}),this.dataProvider.delete(n,{channel:f,successEvent:s,errorEvent:l})}},{key:"listenToResponse",value:function(e){var t=this,n=e.eventPrefix,o=e.formatData,i=e.callback,a=e.errorCallback,c=e.successHandler,u=e.errorHandler,s=e.invalidationKeys,l=e.cacheOptions,f=void 0===l?{}:l,p=this.getEventNames(n),h=p.syncEvent,d=(p.requestEvent,p.successEvent),y=p.errorEvent,v=p.successAlertEvent,g=p.errorAlertEvent,m=this.getChannel(),b=this.getTransportChannel(),w=this.getAlertChannel();r.isFunction(i)&&this.listenToOnce(m,h,i),r.isFunction(a)&&this.listenToOnce(m,y,a),this.stopListening(w,v),this.stopListening(w,g),r.isFunction(c)&&this.listenToOnce(w,v,c),r.isFunction(u)&&this.listenToOnce(w,g,u),!r.isFunction(u)&&!1!==u&&r.isFunction(this.defaultErrorHandler)&&this.listenToOnce(w,g,this.defaultErrorHandler),this.hasRequestSignature(n)||(this.setRequestSignature(n),this.listenTo(b,d,(function(e){t.stopListening(m,y,a);for(var r=arguments.length,i=new Array(r>1?r-1:0),c=1;c<r;c++)i[c-1]=arguments[c];w.trigger.apply(w,[v,e].concat(i));var u=f.noCache?t.formatData(e,o):t.cacheData(n,e,o);f.clearCacheKey&&t.cache.remove(n),m.trigger(h,u),s&&s.length&&t.cache.invalidate(s,(function(e){return m.trigger("".concat(e,":invalidate"))}))})),this.listenTo(b,y,(function(){var e;t.stopListening(m,h,i);var r=(e=t.dataProvider).parseError.apply(e,arguments);w.trigger(g,r),m.trigger(y,r),f.noCache||t.cacheData(n,null,null)})))}},{key:"cacheData",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.openRequest,i=void 0!==o&&o,a=r.timestamp;a||(a=this.currentTimestamp());var c=this.processPagination(t),u=this.formatData(t,n);return this.cache.set(e,{data:u,timestamp:a,cursors:c,openRequest:i}),u}},{key:"processPagination",value:function(e){if(e){var t=e.pagination;if(t)return t.cursors?t.cursors:r.isUndefined(t.offset)||r.isUndefined(t.pageSize)?t.page?this.convertLegacyPaginationToCursors(t):void 0:this.convertOffsetPaginationToCursors(t)}}},{key:"formatData",value:function(e,t){return r.isFunction(t)?t(e):e}},{key:"chain",value:function(){var e=this,t=[],n=function(e,t){r.isFunction(e)&&e(t)},o=function(r,o){return t.push((function(){var i=r.callback;r.callback=function(e){n(i,e),n(t.shift())},e[o](r)})),i},i={func:function(e){return t.push((function(){e(t.shift()||function(){})})),i},get:function(e){return o(e,"get")},create:function(e){return o(e,"create")},update:function(e){return o(e,"update")},delete:function(e){return o(e,"delete")},run:function(){n(t.shift())}};return i}},{key:"invalidateCache",value:function(e){e&&e.length&&this.cache.invalidate(e)}},{key:"currentTimestamp",value:function(){return(new Date).valueOf()}},{key:"isExpired",value:function(e,t){if(!t)return!1;var n=this.cache.get(e);if(!n||!n.timestamp)return!0;var r=1e3*t;return n.timestamp<this.currentTimestamp()-r}},{key:"getEventNames",value:function(e){return{syncEvent:"".concat(e,":sync"),requestEvent:"".concat(e,":request"),successEvent:"".concat(e,":success"),errorEvent:"".concat(e,":error"),successAlertEvent:"".concat(e,":success:alert"),errorAlertEvent:"".concat(e,":error:alert")}}},{key:"getTransportChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":transport"))}},{key:"getAlertChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":alert"))}},{key:"setRequestSignature",value:function(e){this.dataRequestSignatures[e]=e}},{key:"hasRequestSignature",value:function(e){return!!this.dataRequestSignatures[e]}},{key:"convertOffsetPaginationToCursors",value:function(e){var t=e.offset,n=e.pageSize,o=e.totalItems,i=o>0&&t<o&&t+n,a=o>0&&t>0&&Math.max(t-n,0),c={};if(i&&i<o&&(c.next=i.toString()),r.isNumber(a)&&(c.previous=a.toString()),!r.isEmpty(c))return c}},{key:"convertLegacyPaginationToCursors",value:function(e){var t=e.page,n=e.totalPages,o=r.isNumber(t)&&t>0&&t<n&&t+1,i=r.isNumber(t)&&t>1&&t-1,a={};if(o&&o<=n&&(a.next=o.toString()),i&&(a.previous=i.toString()),!r.isEmpty(a))return a}},{key:"defaultProps",get:function(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}}])&&f(t.prototype,n),i&&f(t,i),l}(i.a)},function(e,t){e.exports=a},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(1),o=n(112),i=n(19),a=n(54),c=n(72),u=n(145),s=n(11);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(d,e);var t,n,a,l=h(d);function d(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(e=l.call(this)).viewObjects={},e}return t=d,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"updateViewModel",value:function(e,t){var n=this.mergeData(t,e.toJSON());return e instanceof u.a&&e.set(n,{silent:!0}),e instanceof c.a&&!(e instanceof u.a)&&e.set(n,{silent:!0}),e}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.update,o=void 0!==r&&r,i=this.viewObjects[e];if(i&&o)return this.updateViewModel(i,t);if(i)return i;var a=this.getLocalData(e,n);return this.set(e,t,a,n)}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=r.ctor,i=r.storage,a=this.mergeData(t,n),u=o?new o(a):new c.a(a);return this.viewObjects[e]=u,i&&!n?(this.setLocalData(e,u,null,r),this.setupChangeListeners(e,u,r)):i&&n&&this.setupChangeListeners(e,u,r),u}},{key:"clear",value:function(e){var t=this.viewObjects[e];return!!t&&(this.stopListening(t),t.trigger("destroy"),delete this.viewObjects[e],!0)}},{key:"getLocalData",value:function(e,t){var n=t.storage;if(n)return this.getStorageHelper(n.type).get(e)}},{key:"setLocalData",value:function(e,t,n,r){var o,i=r.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),t instanceof c.a&&(o=t.pick(i.persistProps)),this.getStorageHelper(i.type).set(e,o))}},{key:"setupChangeListeners",value:function(e,t,n){var o=this,i=n.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),r.each(i.persistProps,(function(i){o.listenTo(t,"change:".concat(i),r.partial(o.setLocalData,e,r,r,n))})))}},{key:"mergeData",value:function(e,t){return t?r.isObject(e)&&r.isObject(t)?r.extend(e,t):void s.c.throw(new i.a("defaultValues and existingData are not of the same datatype and cannot be merged")):e}},{key:"getStorageHelper",value:function(e){switch(e){case o.c.LocalStorage:return o.a;case o.c.SessionStorage:return o.b}}},{key:"name",get:function(){return"ViewModelService"}}])&&f(t.prototype,n),a&&f(t,a),d}(a.a).Instance},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SHORT:120,STANDARD:600}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(5),o=n(10);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={getDiscoverAppLinks:function(){var e=r.a.DASHBOARD;return Object.keys(o.a.Dashboard).map((function(t){return{application:e,action:o.a.Dashboard[t]}}))},getPlaylistAppLinks:function(){var e=r.a.PLAYLISTS;return Object.keys(o.a.Playlists).map((function(t){return{application:e,action:o.a.Playlists[t]}}))},getMyVideosAppLinks:function(){var e=r.a.UPLOAD,t=Object.keys(o.a.Upload).map((function(t){return{application:e,action:o.a.Upload[t]}}));return t.push({application:r.a.DEFAULT,action:o.a.Default.MY_VIDEOS}),t},getFavouritedVideosAppLinks:function(){return[{application:r.a.DEFAULT,action:o.a.Default.FAVOURITE_VIDEOS}]},getWatchHistoryAppLinks:function(){var e=r.a.WATCH_HISTORY;return Object.keys(o.a.WatchHistory).map((function(t){return{application:e,action:o.a.WatchHistory[t]}}))},getClassroomsAppLinks:function(){return[{application:r.a.CLASSROOMS,action:o.a.Classrooms.HOME}]},getClassroomAppLinks:function(){var e=r.a.CLASSROOMS;return Object.keys(o.a.Classrooms).filter((function(e){return e!==o.a.Classrooms.HOME})).map((function(t){return{application:e,action:o.a.Classrooms[t]}}))},getSettingsAppLinks:function(){var e=Object.keys(o.a.Settings).map((function(e){return{application:r.a.SETTINGS,action:o.a.Settings[e]}}));return[].concat(i(e),[{application:r.a.SUBJECT,action:o.a.Subjects.PREFERENCES}])}}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(1),o=n(9),i=n(42);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(p,e);var t,n,o,a=f(p);function p(){return c(this,p),a.apply(this,arguments)}return t=p,(n=[{key:"mixin",value:function(e){for(var t in e){if(this.hasOwnProperty(t)){var n=this[t];return void(this[t]=r.extend({},n,e[t]))}this[t]=e[t]}}},{key:"addValidation",value:function(e){this.mixin({validation:e})}},{key:"validate",value:function(e,t){s(h(p.prototype),"validate",this).call(this,e,t)}},{key:"listenTo",value:function(){return i.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],s(h(p.prototype),"listenTo",this))}}])&&u(t.prototype,n),o&&u(t,o),p}(o.Model)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n(0),o=n(7),i=n(57),a=r.createContext(""),c=r.memo((function(e){var t=e.phrase,n=e.namespace,i=e.options,c=r.useContext(a),u=n||c,s=o.a.getPhrase(u,t,i);return r.createElement("span",{dangerouslySetInnerHTML:{__html:s}})}),(function(e,t){return e.namespace===t.namespace&&e.phrase===t.phrase&&i.a.isEqual(e.options,t.options)}))},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=function(e,t,n){this.statusCode=e,this.statusText=t,this.content=n},i=function(){function e(){}return e.prototype.get=function(e,t){return this.send(r({},t,{method:"GET",url:e}))},e.prototype.post=function(e,t){return this.send(r({},t,{method:"POST",url:e}))},e.prototype.delete=function(e,t){return this.send(r({},t,{method:"DELETE",url:e}))},e.prototype.getCookieString=function(e){return""},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(1),o=n(9),i=n(43),a=n(29),c=n(16),u={GetQuery:function(){return u.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery:function(e){if(e){var t=u.GetQuery(),n=u.SerializeQueryParams(r.extend(t,e));n&&(n="?".concat(n)),u.UpdateUrl("".concat(u.GetCurrentPath()).concat(n),null,{replace:!0,trigger:!1})}},UpdateUrl:function(e,t,n){var r=i.a.buildRoute(e,t);o.history.navigate(r,n),o.Radio.channel(c.a.SHELL).trigger(a.a.URL_CHANGE,t,n)},SerializeQueryParams:function(e){return e?"string"==typeof e?e:$.param(e,!0):""},DeserializeQueryParams:function(e){return e?r.reduce(e.split("&"),(function(e,t){var n=t.split("="),r=n[0],o=n.length>0?decodeURIComponent(n[1]):"";return e[r]?e[r]instanceof Array?(e[r].push(o),e):(e[r]=[e[r],o],e):(e[r]=o,e)}),{}):{}},StartHistory:function(){o.History.started&&o.history.stop(),o.history.start({pushState:!0})},PageLoad:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?window.open(e,"_blank"):window.location.href=e},Redirect:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(){return t?window.location.replace(e):window.location.href=e};i.b.hasActiveRoute()?o.Radio.channel(c.a.SHELL).once("routing:end",n):n()},Reload:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.location.reload(e)},GetCurrentPath:function(){return window.location.pathname},GetCurrentQueryString:function(){return window.location.search},GetCurrentUrl:function(){return window.location.href},GetCurrentReferrer:function(){return document.referrer},SetPageTitle:function(e){document.title=e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=/\/$/,i={urlBuilder:function(e,t){var n=r.map(t,(function(e,t){return t&&Array.isArray(e)?e.map((function(e){return"".concat(t,"=").concat(encodeURIComponent(e))})).join("&"):t&&void 0!==e?"".concat(t,"=").concat(encodeURIComponent(e)):""})),o=r.reduce(n,(function(e,t){return t?e?"".concat(e,"&").concat(t):t:e}));return o?"".concat(e,"?").concat(o):e},buildFilter:function(e){var t=[];if(e.limit&&t.push("limit:".concat(e.limit)),e.cursor&&t.push("page:".concat(e.cursor)),e.before&&t.push("dateCreated:...".concat(e.before)),t.length)return t.join(",")},makeHttps:function(e){return r.isString(e)?-1===e.indexOf("http://")?e:e=e.replace("http://","https://"):e},safeUrlConcat:function(e,t){if(e){var n=e;return e.endsWith("/")||(n+="/"),t?n+=t.startsWith("/")?t.slice(1):t:n}},removeTrailingSlash:function(e){if("string"==typeof e)return e.replace(o,"")}}},,,function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,"a",(function(){return o}));var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.variables={}}var t,n,o;return t=e,o=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"get",value:function(e){return this.variables[e]}},{key:"setUpVariables",value:function(e){this.variables=e}},{key:"name",get:function(){return"EnvironmentVariables"}},{key:"isDevelopment",get:function(){return this.variables.isDevelopment}}])&&r(t.prototype,n),o&&r(t,o),e}().Instance},function(e,t,n){e.exports={alertItem:"_3ppPT",alertBox:"_2gPqV",alertList:"_1_wrK",icon:"_2gpnl",alertContent:"_1akpi",heading:"_3jnJY"}},function(e,t,n){e.exports={content:"_1SX2l",collapsedNavContent:"_3LJFz",openNavContent:"_34Pt4",hiddenNavContent:"_1gZ0J",mask:"mE2Dq",fixedBottomRightContainer:"Sgmex"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Newest="newest",e.Oldest="oldest",e.RecentlyUpdated="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa"}(r||(r={}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(61),o=n(193),i=function(e,t){var n=Object(r.useDispatch)(),i=Object(r.useSelector)((function(t){return t.viewModelData[e]}));function a(t,r){n({type:o.a.UPDATE,payload:{viewModelKey:e,dataOrKey:t,keyData:r}})}return void 0!==t&&void 0===i&&a(t),[i,a]}},function(e,t){e.exports=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(16),i=n(12);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=new(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(p,e);var t,n,a,f=l(p);function p(){var e;return c(this,p),(e=f.apply(this,arguments)).routeHistory=[],e.contextHistory=[],e}return t=p,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.setContext),this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.updateRouteHistory)}},{key:"setContext",value:function(e){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"getPreviousContext",value:function(){if(this.contextHistory.length&&!(this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}},{key:"updateRouteHistory",value:function(e){(r.a.AppLinkHelper.getHref(e)||"/"===r.a.LocationUtils.GetCurrentPath())&&(this.routeHistory.length>=3&&this.routeHistory.unshift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:e}))}},{key:"getCurrentRoute",value:function(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}},{key:"getPreviousRoute",value:function(){if(this.routeHistory.length&&!(this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return i.b.Context}}])&&u(t.prototype,n),a&&u(t,a),p}(r.a.Service))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SEARCH_BAR_LOCATION:"search:bar:location",WEB_PLAYER_DATA:"web:player:data",BULK_TEACHER_UPLOAD:"bulk:teacher:upload",BULK_STUDENT_UPLOAD:"bulk:student:upload"}},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.prototype.log=function(e,t){},e.instance=new e,e}()},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Inlet="event:inlet",e.Outlet="event:outlet"}(r||(r={}))},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Unknown=0]="Unknown",e[e.BadRequest=1]="BadRequest",e[e.Unauthorized=2]="Unauthorized",e[e.Forbidden=3]="Forbidden",e[e.NotFound=4]="NotFound",e[e.InternalServer=5]="InternalServer"}(r||(r={}))},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Received=1]="Received",e[e.Seen=2]="Seen",e[e.Read=3]="Read"}(r||(r={}))},function(e,t){e.exports=u},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Error=-1]="Error",e[e.Processing=1]="Processing",e[e.Completed=2]="Completed"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){var t=o(Object(r.useState)(window.matchMedia(e).matches),2),n=t[0],i=t[1];return Object(r.useEffect)((function(){var t=window.matchMedia(e);t.matches!==n&&i(t.matches);var r=function(){return i(t.matches)};return t.addListener(r),function(){return t.removeListener(r)}}),[e]),n}},,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var p;n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return g})),function(e){e.LocalStorage="localStorage",e.SessionStorage="sesstionStorage"}(p||(p={}));var h=function(){function e(t){s(this,e),this.cachePrefix="_cv:",this.expireTime=3600,this.hasSupport=this.hasBrowserSupport(),this.type=t.type,this.hasSupport&&(this.storage=window[this.type])}return f(e,[{key:"get",value:function(e){if(this.hasSupport){var t=this.storage.getItem(e);try{return JSON.parse(t)}catch(e){return t}}}},{key:"set",value:function(e,t){if(this.hasSupport)try{return this.storage.removeItem(e),"string"!=typeof t?(this.storage.setItem(e,JSON.stringify(t)),!0):(this.storage.setItem(e,t),!0)}catch(e){return!1}}},{key:"remove",value:function(e){if(this.hasSupport)return this.storage.removeItem(e)}},{key:"length",value:function(){if(this.hasSupport)return this.storage.length}},{key:"clear",value:function(){if(this.hasSupport)return this.storage.clear()}},{key:"cacheSet",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.expireTime;this.cacheClean();var r={time:this.getCurrentTime()+1e3*n,data:null!=t&&t};return this.set("".concat(this.cachePrefix).concat(e),r)}},{key:"cacheGet",value:function(e){var t="".concat(this.cachePrefix).concat(e),n=this.get(t);return n?this.isExpired(n)?(this.remove(t),null):n.data:null}},{key:"cacheExists",value:function(e){var t="".concat(this.cachePrefix).concat(e),n=this.get(t);return!!n&&(!this.isExpired(n)||(this.remove(t),!1))}},{key:"cacheRemove",value:function(e){return this.remove("".concat(this.cachePrefix).concat(e))}},{key:"cacheFlush",value:function(){this.cacheClean()}},{key:"cacheClean",value:function(){if(this.hasSupport)for(var e=0;e<this.storage.length;e++){var t=this.storage.key(e);if(0===t.indexOf(this.cachePrefix)){var n=this.get(t);n&&n.time&&this.isExpired(n)&&this.remove(t)}}}},{key:"isExpired",value:function(e){return e.time<this.getCurrentTime()}},{key:"getCurrentTime",value:function(){return(new Date).getTime()}},{key:"hasBrowserSupport",value:function(){try{return this.type in window&&null!==window[this.type]}catch(e){return!1}}}]),e}(),d=function(e){o(n,e);var t=a(n);function n(){return s(this,n),t.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.LocalStorage}))}}]),n}(h),y=function(e){o(n,e);var t=a(n);function n(){return s(this,n),t.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.SessionStorage}))}}]),n}(h),v=d.Instance,g=y.Instance},function(e,t,n){e.exports={svgContainer:"_1ZcbC",searchContextTag:"_1RLqh",tagFocus:"_179a5",searchContextContainer:"_3nPVB"}},function(e,t,n){e.exports={nav:"_3RLQ9",logoContainer:"UIlc9",searchBar:"_2E7RQ",actionButtons:"_2HygL",hamburger:"_2BRko",searchBarNavContainer:"_2bUnK"}},function(e,t,n){"use strict";var r,o,i,a;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),function(e){e.Small="small",e.Medium="medium",e.Large="large"}(r||(r={})),function(e){e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos",e[e.Covers=4]="Covers",e[e.Posters=5]="Posters",e[e.TallPosters=6]="TallPosters",e[e.HeroBanners=7]="HeroBanners"}(o||(o={})),function(e){e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover"}(i||(i={})),function(e){e[e.None=0]="None",e[e.ImageAPIv1=1]="ImageAPIv1",e[e.FileAPIv1=2]="FileAPIv1",e[e.ImageAPIv2=3]="ImageAPIv2"}(a||(a={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(7);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f="shared.notFoundError",p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,r,i=u(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,o.a.getPhrase(f,"title"))}return t=s,(n=[{key:"name",get:function(){return"NotFoundError"}},{key:"heading",get:function(){return o.a.getPhrase(f,"heading")}},{key:"description",get:function(){return o.a.getPhrase(f,"description")}}])&&a(t.prototype,n),r&&a(t,r),s}(r.a.SilentError)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(9),o=n(42);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,e);var t,n,r,i=l(f);function f(){return a(this,f),i.apply(this,arguments)}return t=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(t.prototype,n),r&&c(t,r),f}(r.Collection)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={type:n(102).a.Unknown,message:"",code:0}},function(e,t,n){"use strict";var r,o,i,a,c,u,s,l,f,p,h,d,y,v,g,m,b,w,S,C,O;n.d(t,"n",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"j",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"k",(function(){return u})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"a",(function(){return m})),n.d(t,"m",(function(){return b})),n.d(t,"e",(function(){return w})),n.d(t,"h",(function(){return S})),n.d(t,"l",(function(){return C})),n.d(t,"f",(function(){return O})),function(e){e.Stream="cv_product_stream",e.StreamRaw="cv_product_stream_raw",e.WebPlayerStream="cv_product_webplayer_stream",e.StreamProgress="cv_product_stream_progress",e.Login="cv_product_login",e.LoginSsoRedirect="cv_product_login_sso_redirect",e.LoginFailed="cv_product_login_failed",e.Search="cv_product_search",e.InstantSearch="cv_product_search",e.SearchEmptyResult="cv_product_search_empty_result",e.Filter="cv_product_search_filter",e.SearchLanding="cv_product_search_landing",e.Share="cv_product_share",e.WorkspaceAdd="cv_product_tv_add",e.Rename="cv_product_rename",e.Move="cv_product_move",e.Sort="cv_product_sort",e.Create="cv_product_create",e.Delete="cv_product_delete",e.Associate="cv_product_associate",e.Dissociate="cv_product_dissociate",e.Edit="cv_product_edit",e.Approve="cv_product_approve",e.Reject="cv_product_reject",e.Disable="cv_product_disable",e.Upload="cv_product_upload",e.Download="cv_product_download",e.Navigate="cv_product_navigate",e.Click="cv_product_click",e.Suggest="cv_product_suggest",e.EditAssoc="cv_product_edit_assoc",e.Play="cv_product_play",e.Favourite="cv_product_favourite",e.Follow="cv_product_follow",e.Prefer="cv_product_prefer",e.SetAccess="cv_product_set_access",e.AddToLocalCache="cv_product_add_to_lc",e.ResolveWarning="cv_product_resolve_warning",e.DismissWarning="cv_product_dismiss_warning"}(r||(r={})),function(e){e.Folder="folder",e.Video="video",e.Rating="rating",e.Series="series",e.Library="library",e.Resource="resource",e.Tag="tag",e.Subtitle="subtitle",e.Chapter="chapter",e.Restriction="restriction",e.Interactive="interactive",e.PDF="pdf",e.CustomerSetting="customer_setting",e.UserSetting="user_setting",e.StaffRequest="staff_request",e.Logo="logo",e.Pagination="pagination",e.Thumbnail="thumbnail",e.Banner="banner",e.Link="link",e.Playlist="playlist",e.Person="person",e.Company="company",e.Classroom="classroom",e.ClassroomGroup="classroom_group",e.Classification="classification",e.ShareLink="share_link",e.Upload="upload",e.SearchResults="search_results",e.Audience="audience",e.User="user",e.Clip="clip",e.UserChannel="user_channel",e.Widget="widget",e.Url="url"}(o||(o={})),function(e){e.TopNav="top_nav",e.LeftNav="left_nav",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.VideoItemPreview="video_item_preview",e.VideoDetails="video_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.StaffRequestDetails="staff_request_details",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.TeacherManager="teacher_manager",e.TeacherManagerListItem="teacher_manager_list_item",e.StudentManager="student_manager",e.StudentManagerListItem="student_manager_list_item",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ClassroomOverview="classroom_overview",e.ClassroomOverviewStudentListItem="classroom_overview_student_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.PlayPage="play_page",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.MyUploads="my_uploads",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.Dashboard="dashboard"}(i||(i={})),function(e){e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard"}(a||(a={})),function(e){e.PageLoad="page_load"}(c||(c={})),function(e){e.Single="single",e.Bulk="bulk",e.All="all"}(u||(u={})),function(e){e.ProductionYear="production_year",e.Alphabetical="alphabetical"}(s||(s={})),function(e){e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset"}(l||(l={})),function(e){e.Submit="submit",e.ShowAll="show_all",e.Recent="recent",e.SearchIcon="search_icon"}(f||(f={})),function(e){e.Start="start",e.Finish="finish",e.Terminate="terminate",e.Play="play",e.Pause="pause",e.Playback="playback",e.NextChapter="next_chapter",e.PreviousChapter="previous_chapter",e.FullScreenEnter="full_screen_enter",e.FullScreenExit="full_screen_exit"}(p||(p={})),function(e){e.TogglePreview="toggle_preview",e.NavigateHome="navigate_home",e.OpenInStaffView="open_in_staff_view",e.Title="title",e.ToggleHideValidListings="toggle_hide_valid_listings",e.LaunchImmersiveReader="launch_immersive_reader",e.CopyEmbedHtml="copy_embed_html",e.Close="close",e.Open="open",e.Button="button",e.Link="link",e.Tile="tile",e.Thumbnail="thumbnail",e.Cover="cover",e.TallPoster="tall_poster",e.Slide="slide"}(h||(h={})),function(e){e.FeatureUserChannelVideo="feature_user_channel_video",e.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",e.ShareClip="share_clip",e.ViewOriginalVideo="view_original_video",e.ShareInteractive="share_interactive",e.DeleteInteractiveVideo="delete_interactive_video",e.CopyInteractiveVideo="copy_interactive_video",e.EditInteractiveVideo="edit_interactive_video",e.PrintAsWorksheet="print_as_worksheet",e.PreviewInteractiveVideo="preview_interactive_video",e.ViewResults="view_results",e.MoveToAnotherFolder="move_to_another_folder",e.CreateInteractiveVideo="create_interactive_video",e.ShareVideo="share_video",e.EditVideo="edit_video",e.DownloadVideo="download_video",e.AddToExchange="add_to_exchange",e.AddToUserChannel="add_to_user_channel",e.CreateClip="create_clip",e.FlagVideo="flag_video",e.AddToLibrary="add_to_library",e.AddToWorkspace="add_to_workspace",e.AddToPlaylist="add_to_playlist",e.RemoveFromPlaylist="remove_from_playlist",e.AddCurriculumLink="add_curriculum_link",e.ViewCurriculumLinks="view_curriculum_links",e.OpenInCurator="open_in_curator",e.ManageVideoAccess="manage_video_access",e.Approve="approve",e.AddToLocalCache="add_to_local_cache",e.OpenInLibraryEditor="open_in_library_editor",e.PlayClip="play_clip",e.EditClip="edit_clip",e.DeleteClip="delete_clip"}(d||(d={})),function(e){e.LibraryReview="library_review"}(y||(y={})),function(e){e.FileSelect="file_select",e.DragDrop="drag_drop"}(v||(v={})),function(e){e.Edit="edit"}(g||(g={})),function(e){e.Image="image",e.User="user",e.Playlist="playlist"}(m||(m={})),function(e){e.On="on",e.Off="off"}(b||(b={})),function(e){e.EntityRemoved="cv_entity_removed",e.ValueUpdated="cv_value_updated"}(w||(w={})),function(e){e.FileSelect="file_select",e.DragDrop="drag_drop"}(S||(S={})),function(e){e.Video="videos",e.Folder="categories",e.Series="series",e.Tags="tags"}(C||(C={})),function(e){e[e.V1=1]="V1"}(O||(O={}))},function(e,t,n){"use strict";var r=n(0),o=n(2),i=" - ClickView",a=function(e){e&&o.a.LocationUtils.SetPageTitle(function(e){return e.length+i.length<=60?e+i:e.substring(0,57)+"..."+i}(e))};function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var s=r.createContext({}),l=function(e){var t=e.children,n=e.defaultTitle,o=void 0===n?"":n,i=c(r.useState(o),2),u=i[0],l=i[1],f=c(r.useState(o),2),p=f[0],h=f[1];return r.useEffect((function(){return a(u)}),[u]),r.createElement(s.Provider,{value:{setPageTitle:function(e){e!==u&&(u!==p&&h(u),l(e))},revertPageTitle:function(){l(p)}}},t)}},function(e,t){e.exports=s},function(e,t,n){"use strict";var r=n(9),o=n(101),i=n(191),a=n(2),c=n(19);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=n(3).f.V1,l=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.data=n,this.actionContext=r,this.eventVersion=o||s}var t,n,r;return t=e,(n=[{key:"isType",value:function(e){return e===this.type}},{key:"enrich",value:function(e,t){this.validateKey(e),this[e]=t}},{key:"get",value:function(e){if(e&&this[e])return this[e]}},{key:"validateKey",value:function(e){"type"!==e&&"data"!==e||a.a.ErrorHelper.throw(new c.a("".concat(e," is not a valid key"))),this[e]&&a.a.ErrorHelper.throw(new c.a("Event already contains an enrichment named ".concat(e)))}}])&&u(t.prototype,n),r&&u(t,r),e}();n.d(t,"a",(function(){return f}));var f={log:function(e,t,n,a){r.Radio.channel(i.a.ANALYTICS).trigger(o.a.Inlet,new l(e,t,n,a))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),o=n(57);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={first:function(e){return r.first(e)},firstFew:function(e,t){return r.first(e,t)},last:function(e){return r.last(e)},lastFew:function(e,t){return r.last(e,t)},max:function(e,t){return r.max(e,t)},cloneAndReplaceAtIdx:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=e&&e.length?e.slice():[];return t+1>o.length&&(o=[].concat(i(o),i(Array(t+1-o.length).fill(r)))),o.splice(t,1,n),o},moveItem:function(e,t,n){var r=e.slice();return r.splice(n,0,r.splice(t,1)[0]),r},isEmpty:function(e){return e&&!e.length},findIndex:function(e,t){return r.findIndex(e,t)},findWhere:function(e,t){return r.findWhere(e,t)},where:function(e,t){return r.where(e,t)},groupBy:function(e,t){return r.groupBy(e,t)},flatten:function(e,t){return r.flatten(e,t)},intersection:function(){return r.intersection.apply(r,arguments)},addOrRemove:function(e,t){var n=e.indexOf(t);return-1===n?e.push(t):e.splice(n,1),e},addOrRemoveImmutable:function(e,t){var n=e.indexOf(t),r=o.a.deepClone(e);return-1===n?[].concat(i(r),[t]):[].concat(i(r.slice(0,n)),i(r.slice(n+1)))},sortBy:function(e,t){return r.sortBy(e,t)},chunk:function(e,t){return r.chunk(e,t)},uniq:function(e){return r.uniq(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u}));var r=n(7),o=n(13);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,c="shared.videoActionsHelper";!function(e){e[e.AddToPlaylist=0]="AddToPlaylist",e[e.RemoveFromPlaylist=1]="RemoveFromPlaylist",e[e.Share=2]="Share",e[e.Edit=3]="Edit"}(a||(a={}));var u=function(){var e;return i(e={},a.AddToPlaylist,{label:r.a.getPhrase(c,"addToPlaylist"),svgName:o.b.AddToPlaylists}),i(e,a.RemoveFromPlaylist,{label:r.a.getPhrase(c,"removeFromPlaylist"),svgName:o.b.Delete}),i(e,a.Share,{label:r.a.getPhrase(c,"share"),svgName:o.b.Share2}),i(e,a.Edit,{label:r.a.getPhrase(c,"edit"),svgName:o.b.Edit}),e}},,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return P})),n.d(t,"a",(function(){return R}));var r=n(1),o=n(9),i=n(38),a=n(42),c=n(19),u=n(16),s=n(82),l=n(11),f=n(43);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function m(e,t,n){return(m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=k(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){b(n,e);var t=S(n);function n(e){var o;y(this,n),o=t.call(this,e);var i=[].concat(h(o.defaultProps),h(o.props||[]));return o.mergeOptions(e,i),r.result(O(o),"name")||l.c.throw(new l.b("Error: View with cid:".concat(o.cid," requires a name."))),o}return g(n,[{key:"_setOptions",value:function(e){this.options=r.extend({},r.result(this,"defaults"),e)}},{key:"_setAttributes",value:function(e){var t,n,o;s.a.isDevelopment&&r.extend(e,(t={},n="cv-classname",o=this.name,n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t)),this.$el.attr(e)}},{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"resetClassName",value:function(){this.$el.attr("class",r.result(this,"className"))}},{key:"serializeData",value:function(){var e=this,t=m(k(n.prototype),"serializeData",this).call(this),o=r.result(this,"viewOptions"),i=r.extend({},t,{options:o});return n.ViewDataExtensions.length?r.extend.apply(r,[i].concat(h(r.map(n.ViewDataExtensions,(function(t){return t instanceof Function?t(e):t}))))):i}},{key:"viewOptions",value:function(){return this.options}},{key:"undelegateAppLinks",value:function(){this.$el&&this.$el.off(".appLinks".concat(this.cid))}},{key:"renderAppLinks",value:function(){var e=this,t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),r.each(r.keys(t),(function(n){var r=n,o=t[n],i=f.a.getHref(o);"[this]"===r&&(r=null);var a=r?e.$el.find(n):e.$el;(a.is("a")||a.is("button"))&&(i&&"/"!==i&&a.attr("href",i),e.delegate("click.appLinks".concat(e.cid),r,(function(e){e.preventDefault(),f.a.trigger(o)})))})))}},{key:"hasPartialLoadingRegions",value:function(){return void 0!==this._hasPartialLoadingRegions||(this._hasPartialLoadingRegions=r.some(this.regions,(function(e){return r.has(e,"partialLoading")}))),this._hasPartialLoadingRegions}},{key:"renderPartialLoading",value:function(e){o.Radio.channel(u.a.SHELL).trigger("render:partial:loading",this,e)}},{key:"listenTo",value:function(){return a.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],m(k(n.prototype),"listenTo",this))}},{key:"render",value:function(){if(this._isDestroyed)return this;var e=this.processRequriedResources(!0);return e&&(e=this.triggerMethod("before:render",this)),!1!==e&&(e=!0),!1===(e=e&&this.processRequriedResources(!1))?(this._partialLoadingRendered||!this.hasPartialLoadingRegions()||(this._partialLoadingRendered=!0,this._reInitRegions(),this._renderTemplate(),this.renderPartialLoading()),this):((this._isRendered||this._partialLoadingRendered)&&this._reInitRegions(),this.setTitle(),this._renderTemplate(),this.bindUIElements(),this.renderAppLinks(),this._partialLoadingRendered=!1,this._isRendered=!0,this.triggerMethod("render",this),this)}},{key:"processRequriedResources",value:function(e){return!0}},{key:"setTitle",value:function(){}},{key:"defaultProps",get:function(){return["shell","layoutService"]}},{key:"ui",get:function(){return this.uiStorage||(this.uiStorage=this.elements),this.uiStorage},set:function(e){this.uiStorage=e}},{key:"elements",get:function(){return null}}],[{key:"AddViewDataExtension",value:function(e){n.ViewDataExtensions.push(e)}}]),n}(i.View);E.ViewDataExtensions=[];var P=function(e){b(n,e);var t=S(n);function n(e){var r;return y(this,n),(r=t.call(this,e)).boundListeners={},r.resourceInstances={},r}return g(n,[{key:"processRequriedResources",value:function(e){var t=this,n=r.keys(this.requiredResources);if(!n.length)return!0;var o=this,i=!0;return r.each(n,(function(n){var r=t.requiredResources[n];if(r.beforeOnBeforeRender===e){var a=r.dataServiceName;t.resourceInstances[a]||(t.resourceInstances[a]=r.getInstance(t)),t.boundListeners["".concat(a,":").concat(r.eventName)]||(t.listenTo(t.resourceInstances[a].channelName,r.eventName,t.render),t.boundListeners["".concat(a,":").concat(r.eventName)]=!0),o[n]=r.getData(t.resourceInstances[a]),i=i&&!!o[n]}})),i}},{key:"setTitle",value:function(){r.isString(this.title)||!1===this.title||l.c.throw(new c.a("Must define a title for ".concat(this.name,"."))),o.Radio.channel(u.a.SHELL).trigger("set:page:title",this.title)}}]),n}(E),R=function(e){b(n,e);var t=S(n);function n(){return y(this,n),t.apply(this,arguments)}return n}(E)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(1),o=n(72),i=n(121);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(y,e);var t,n,p,d=f(y);function y(){return c(this,y),d.apply(this,arguments)}return t=y,(n=[{key:"set",value:function(e,t,n){var o,i;if(null===e)return this;for(o in"object"===a(e)?(i=e,n=t):(i={})[e]=t,n||(n={}),i)r.has(this.associations,o)&&(i[o]=this.setAssociation(o,i[o],n));return s(h(y.prototype),"set",this).call(this,i,n)}},{key:"get",value:function(e){var t=e.indexOf(".");if(-1===t)return s(h(y.prototype),"get",this).call(this,e);var n=e.substr(0,t),o=this.attributes[n];if(!o||!r.isFunction(o.get))return s(h(y.prototype),"get",this).call(this,e);var i=e.substr(t+1);return o.get(i)}},{key:"setAssociation",value:function(e,t,n){var a=this.associations[e],c=this.attributes[e];if(!r.isFunction(a))return t;if(n.unset)return c&&delete c.parent,delete this[e],c;if(c)return c instanceof o.a&&c.set(t,n),c instanceof i.a&&c.set(t,n),n.silent||this.trigger("change:".concat(e),this,t,n),c;var u=t instanceof o.a?t:new a(t,{parse:!0});return u.parent=this,this[e]=u,u}},{key:"toJSON",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=s(h(y.prototype),"toJSON",this).apply(this,t);return r.each(this.associations,(function(e,t){r.has(o,t)&&r.isFunction(o[t].toJSON)?o[t]=o[t].toJSON():o[t]=(new e).toJSON()})),o}},{key:"toFlatJSON",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.omit(s(h(y.prototype),"toJSON",this).apply(this,t),r.keys(this.associations))}}])&&u(t.prototype,n),p&&u(t,p),y}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={currentTimestamp:function(){return(new Date).valueOf()},isExpired:function(e,t){if(!t)return!1;var n=1e3*t;return e<r.currentTimestamp()-n},currentTimeOfDay:function(e){e||(e=new Date);var t=e.getHours();return t>=12&&t<18?"afternoon":t>=18?"evening":"morning"}}},function(e,t,n){"use strict";var r=n(0),o=n(35);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=n(237);function u(e){var t=e.view,n=e.options,a=void 0===n?{}:n,u=e.className,s=void 0===u?"":u,l=r.useMemo((function(){return new t(a)}),[a]);Object(c.a)(l.title);var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=r.useRef(null);return r.useEffect((function(){if(e){var t=n.current;return e.render(),t.hasChildNodes()?t.replaceChild(e.el,t.firstChild):t.appendChild(e.el),e.trigger("rendered"),function(){o.a.isFunction(e.close)?e.close():o.a.isFunction(e.destroy)&&e.destroy()}}}),i(t)),n}(l,[l]);return t?r.createElement("div",{ref:f,className:s}):r.createElement(r.Fragment,null)}n.d(t,"a",(function(){return u}))},function(e,t,n){e.exports={thumbnailContainer:"_1u9bn",thumbnail:"_1CQyt",svgContainer:"_2L1Hd",playSvgContainer:"_17LPb",durationOverlay:"_15X7K"}},function(e,t,n){e.exports={svg:"_3OUhC",iconButton:"_3t3VL",iconWithText:"_2KLHo",iconOnly:"_2rQWb"}},function(e,t,n){e.exports={fixed:"_3C4_W",inline:"_2voRI",closeSvg:"_2RiDj",buttons:"ZbN3s",flippedIcon:"_3nkTw"}},function(e,t,n){e.exports={dropMask:"_3bFev",dropContent:"_2_7SU",dropArea:"_3oOzB",border:"_1IoKS"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(353);function o(e){return Object(r.a)(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(21),o={currentUser:function(e,t){return{url:"/api/currentUser",key:"currentuser",success:e,error:t}},workspace:{url:"api/domain/v2/me/workspace",key:"workspace"},sendVerificationEmail:function(e,t,n,o){return{url:"api/account/email",key:"verify:email",type:r.a.POST,data:{emailAddress:e},success:t,error:n,always:o,invalidationKeys:["verify:email:status"]}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r,o,i=n(79),a=n(57),c=n(2),u=n(115);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.Banner="banner",e.Thumbnail="thumbnail"}(o||(o={}));var l=(s(r={},u.b.Banners,o.Banner),s(r,u.b.Thumbnails,o.Thumbnail),r),f=function(e){return"/v1/category-map/".concat(e)},p={createUrl:function(e,t){return p._createUrl(e,t)},createBannerUrl:function(e,t,n){return e&&e.url?p._createUrl(e.url,n):p._createCategoryMappedUrl(t,n)},Rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl:function(e,t){var n=e.fallbackBaseUrl,r=e.fallbackCategoryName,o=e.type,a=i.a.safeUrlConcat(n,"".concat(f(l[o]))),c=Object.assign({name:p.Rfc3986EncodeURIComponent(r)},t);return p._createUrl(a,c)},_createUrl:function(e,t){if(e){if(a.a.isEmpty(t))return e;var n=$.param(t),r=-1===e.indexOf("?")?"?":"&",o=e;return o.endsWith("/")&&(o=o.slice(0,-1)),o+"".concat(r).concat(n)}},legacyCreateThumbnailUrl:function(e,t){if(!e)return"";var n;if(e&&(n=e instanceof c.a.Model?e.get("url"):"string"==typeof e?e:e.url)){var r=Object.assign({size:u.a.Small,bgColor:"000"},t);return p._createUrl(n,r)}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(33),i=n(240);function a(e){var t=e.title,n=e.placement,a=e.trigger,c=e.children;return r.createElement(o.OverlayTrigger,{placement:n,overlay:r.createElement(o.Tooltip,{id:"".concat(t,"-").concat(i.a.getRandomInt())},t),trigger:a},r.createElement("span",null,c))}a.defaultProps={trigger:["hover","click","focus"],placement:"top"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={config:{url:"/api/config",key:"config"}}},function(e,t,n){"use strict";var r;!function(e){e[e.Row=0]="Row",e[e.LargeRow=1]="LargeRow",e[e.Hero=2]="Hero",e[e.ResourcesTile=3]="ResourcesTile"}(r||(r={}));var o=n(32);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"name",get:function(){return o.a.SEARCH}}])&&i(t.prototype,n),r&&i(t,r),e}();function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"name",get:function(){return o.a.NOTIFICATIONS}}])&&c(t.prototype,n),r&&c(t,r),e}();n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}))},function(e,t,n){"use strict";var r,o;n.d(t,"a",(function(){return r})),function(e){e[e.Unspecified=0]="Unspecified",e[e.Student=1]="Student",e[e.Staff=2]="Staff",e[e.Admin=3]="Admin",e[e.CVAdmin=4]="CVAdmin",e[e.FreeUser=6]="FreeUser",e[e.ReadOnly=8]="ReadOnly"}(r||(r={})),function(e){e[e.Guest=16]="Guest",e[e.User=32]="User",e[e.Admin=48]="Admin",e[e.SuperAdmin=64]="SuperAdmin"}(o||(o={}))},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.InternalServer=500]="InternalServer"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(46);var r=Object.assign(Object.assign({},{VIDEO:"series,season,rating,producers,glance,distributors,resources,tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,owner[customers[organisation]]],clips[owner[customers[organisation]]]",PLAYLIST:"cover,banner,owner,videos[thumbnail,count()]{orderby:orderindex,limit:1}"}),{VIDEO_COLLECTION:"thumbnail,tags,rating,series,season",PLAYLIST_COLLECTION:"videos[thumbnail,count()]{orderby:orderindex,limit:1},thumbnail,cover,subjectpresentationaudiences"})},function(e,t,n){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var o in n)r[o]=n[o];return r.constructor=t,t.prototype=r,t}},function(e,t){e.exports=l},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(1),o=n(9),i=n(38),a=n(29),c=n(42),u=n(11);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(f,e);var t,n,i,s=y(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=s.call(this,e)).mergeOptions(e,[].concat(l(t.defaultProps),l(t.props||[]))),r.result(g(t),"name")||u.c.throw(new u.b("BaseApplication must define a name")),r.result(g(t),"channelName")||u.c.throw(new u.b("BaseApplication must define a channelName")),t.listenTo(t.getGlobalRadioChannel("popup"),a.a.SHOW_POPUP,t.onShowPopup),t.listenTo(t.getGlobalRadioChannel("alert"),"show:alert",t.onShowAlert),t}return t=f,(n=[{key:"getGlobalRadioChannel",value:function(e){var t=this.shell.getGlobalRadioChannels()[e.toUpperCase()];return t||u.c.throw(new u.b("Global channel ".concat(t," does not exist"))),o.Radio.channel(t)}},{key:"onLoadLayout",value:function(){if(this.layoutOptions&&this.layoutOptions.name){var e=r.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(r.extend(this.layoutOptions,{options:e})),this.layout||u.c.throw(new u.b("Layout: ".concat(this.layoutOptions.name," does not exist or was not registered"))),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}}},{key:"onShowPopup",value:function(e){this.layout.getRegion("popup")||u.c.throw(new u.b("Your application layout must define a popup region")),this.layout.showChildView("popup",e)}},{key:"onShowAlert",value:function(e){var t=e.ctor,n=e.collection,r=this.layout.getRegion("alert");r?r.hasView()||this.layout.showChildView("alert",new t({collection:n})):u.c.throw(new u.b("Your application layout must define an alert region"))}},{key:"setDefaultQueryParams",value:function(e){this.defaultQueryParams&&(e=r.extend(this.defaultQueryParams,e)),this.defaultQueryParams=e}},{key:"getAndClearDefaultQueryParams",value:function(){var e=this.defaultQueryParams;return delete this.defaultQueryParams,e||{}}},{key:"listenTo",value:function(){return c.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],h(m(f.prototype),"listenTo",this))}},{key:"defaultProps",get:function(){return["shell","layoutService"]}}])&&p(t.prototype,n),i&&p(t,i),f}(i.Application)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(144),o=n(19),i=n(11);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(l,e);var t,n,r,a=s(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,r=[{key:"getCacheKey",value:function(e){i.c.throw(new o.a("Must define getCacheKey for ".concat(this.name,".")))}}],(n=[{key:"unmountRegion",value:function(e){this.trigger("unmount:".concat(e))}}])&&c(t.prototype,n),r&&c(t,r),l}(r.b)},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Staff="staff",e.Learner="learner",e.Unknown="unknown"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={API_REQUEST:"API_REQUEST",API_REPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Component=1]="Component",e[e.ComponentCollection=2]="ComponentCollection"}(r||(r={}))},function(e,t,n){"use strict";n.r(t);var r,o=n(183);!function(e){e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error"}(r||(r={}));var i=n(21);function a(e){return{getResponseHeader:e.getResponseHeader,responseJSON:e.responseJSON,status:e.status}}var c=[i.a.POST,i.a.PUT];function u(e){var t=e.resource,n=e.type,r=e.success,o=e.error,i=e.always,u={url:t,method:n};c.includes(n)&&e.data&&(u.data=JSON.stringify(e.data)),$.ajax(u).done((function(e,t,n){r&&r(e,a(n))})).fail((function(e,t,n){o&&o(a(e))})).always((function(){i&&i()}))}var s=n(19),l=n(187);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idAttribute,r=void 0===n?"id":n,o=t.namespace,i=void 0===o?"":o;return e[r]||l.ErrorHelper.throw(new s.a("There was an issue during normalization. Object did not have an id attribute.")),"".concat(i,"__").concat(e[r])}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.idAttribute,o=void 0===r?"id":r,i=[];return e.forEach((function(e){e[o]&&i.push(p(e,n)),y(e,t,n)})),i}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.idAttribute,o=void 0===r?"id":r,i=Object.assign({},e);if(Object.keys(e).forEach((function(r){var a=e[r];if(a)if(Array.isArray(a)){var c=h(a,t,n);c.length&&(i[r]=c)}else if("object"===f(a)){var u=d(a,t,n);a[o]?i[r]=p(a,n):i[r]=u}})),e[o]){var a=p(e,n);return t[a]=i,a}return i}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)return Array.isArray(e)?h(e,t,n):"object"===f(e)?d(e,t,n):e}function v(e,t){var n={};return{result:y(e,n,t),entities:n}}var g=n(57);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t,n){if(e){if("string"==typeof e)return function(e,t,n){if(n[e])return n[e];n[e]={};var r=b(t[e],t,n);return Object.assign(n[e],r),g.a.isEmpty(n[e])&&delete n[e],n[e]}(e,t,n);if(Array.isArray(e))return e.map((function(e){return b(e,t,n)}));if("object"===m(e)){var r={};return Object.keys(e).forEach((function(o){r[o]=b(e[o],t,n)||e[o]})),r}}}function w(e,t){return b(e,t,{})}var S=n(61);function C(e,t){return e===t}function O(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C,n=null,r=null;return function(){return O(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function E(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function P(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=0,a=r.pop(),c=E(r),u=e.apply(void 0,[function(){return i++,a.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return u.apply(null,e)}));return s.resultFunc=a,s.dependencies=c,s.recomputations=function(){return i},s.resetRecomputations=function(){return i=0},s}}var R=P(k);var _=n(147),T=n(0);function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode}var t,n,o;return t=e,(n=[{key:"shouldFetch",get:function(){return this.status===r.None||this.isExpired}},{key:"isExpired",get:function(){return _.a.isExpired(this.requestTime,this.cacheDuration)}},{key:"isFetching",get:function(){return this.status===r.Fetching}},{key:"hasError",get:function(){return this.status===r.Error}},{key:"isComplete",get:function(){return this.status===r.Success||this.status===r.Error}}])&&x(t.prototype,n),o&&x(t,o),e}();function L(e,t,n){if(!e||!t)return j();var r=t.response;return!1!==t.request.normalize&&(r=w(t.response,n)),new A({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.expiryTime,data:r})}function j(){return new A({status:r.None})}function N(e,t){return L(t,e.flightData.resources[t],e.flightData.entities)}function I(e,t){return function(){D(e,t)}}function D(e,t){e({type:o.a.API_REQUEST,request:t})}function U(e,t,n){var r,o,i,a,c,u,s,l,f,p=N(t,null===(r=n)||void 0===r?void 0:r.key);n&&p.shouldFetch?D(e,n):p.hasError?(null===(i=(o=n).error)||void 0===i||i.call(o,null),null===(c=(a=n).always)||void 0===c||c.call(a)):(null===(s=(u=n).success)||void 0===s||s.call(u,p.data),null===(f=(l=n).always)||void 0===f||f.call(l))}function M(e){return I(Object(S.useDispatch)(),e)}function F(e,t){var n=Object(T.useMemo)((function(){var n;return(null===(n=t)||void 0===n?void 0:n.optimize)?function(e){return P(k,(function(e,t){var n=["response","request"];return g.a.isEqual(g.a.omit(e,n),g.a.omit(t,n))}))((function(t){return t.flightData.resources[e]}),(function(t){var n,r=t.flightData.resources[e];return(null===(n=r)||void 0===n?void 0:n.entityIds)?r.entityIds.reduce((function(e,n){return e[n]=t.flightData.entities[n],e}),{}):{}}),(function(t,n){return L(e,t,n)}))}(e):function(e){return R((function(t){return t.flightData.resources[e]}),(function(e){return e.flightData.entities}),(function(t,n){return L(e,t,n)}))}(e)}),[e]);return Object(S.useSelector)((function(e){return n(e)}))}function V(e,t){var n=Object(S.useDispatch)(),r=F(e&&e.key,t),o=I(n,e);return e&&r.shouldFetch&&o(),r}function H(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var B=function(e,t,n){var r=Array.isArray(t)?t:[t],o=[];return r.forEach((function(t){var n,r=new RegExp(t,"i"),i=Object.keys(e.resources).filter((function(e){return r.test(e)}));(n=o).push.apply(n,H(i))})),n&&(o=o.filter((function(e){return e!==n}))),o.reduce((function(e,t){return e[t]=!0,e}),{})},q=n(160);var W=function(e){var t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},J=function(e,t){var n=e.success,r=e.error,o=e.always,i=t;window.setTimeout((function(){i.noResponse||(i.successResponse?n(i.successResponse(),{status:q.a.Ok,getResponseHeader:function(e){return""}}):i.errorResponse&&r(i.errorResponse()),o())}),function(e){var t=e.timeout||300;return t/2+(Math.floor(Math.random()*t/2)+1)}(t))},G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Y(e){var t=e.fetchData,n=e.bootstrappedData,a=e.defaultExpiryTime,c=Object.freeze({key:null,url:null,type:i.a.GET,normalize:!0,formatData:function(e){return e},expiryTime:a});return function(e){return function(i){return function(a){if(a.type===o.a.API_REQUEST){var u=e.getState(),s=Object.assign({},c,a.request),l=s.success,f=s.error,p=s.always,h=s.formatData,d=G(s,["success","error","always","formatData"]),y=u.flightData.resources[d.key];if(i(a),!y||y.status!==r.Fetching){if(d.bootstrapName&&n[a.request.bootstrapName])return m(n[a.request.bootstrapName]),b(),void delete n[a.request.bootstrapName];var g={resource:d.url,type:d.type,data:d.data,success:m,error:function(t){e.dispatch({type:o.a.API_ERROR,errorResponse:t.responseJSON,request:a.request,timestamp:_.a.currentTimestamp(),xhr:t}),d.invalidationKeys&&e.dispatch({type:o.a.INVALIDATE,keys:d.invalidationKeys,request:d});f&&f(t)},always:b};return void(W(d)?J(g,d):t(g))}}else i(a);function m(t,n){var r=h(t),i={result:r,entities:{}};(d.normalize&&(i=v(r,d.normalizeOptions)),e.dispatch({type:o.a.API_REPONSE,result:i.result,entities:i.entities,request:d,timestamp:_.a.currentTimestamp(),xhr:n}),d.updateState)&&(Array.isArray(d.updateState)?d.updateState:[d.updateState]).forEach((function(t){var n,r,i,a;n=t,r=B(u.flightData,n.keys),i=Object.assign({},Object.keys(u.flightData.resources).filter((function(e){return r[e]})).reduce((function(e,t){var n=u.flightData.resources[t],r=n.response;return n.request.normalize&&(r=w(n.response,u.flightData.entities)),e[t]=r,e}),{})),a=n.updateData(i),Object.keys(a).forEach((function(t){var n=u.flightData.resources[t],r=a[t],i={result:r,entities:{}};n.request.normalize&&(i=v(r,n.request.normalizeOptions)),e.dispatch({type:o.a.UPDATE,result:i.result,entities:i.entities,request:n.request})}))}));if(d.invalidationKeys&&e.dispatch({type:o.a.INVALIDATE,keys:d.invalidationKeys,request:d}),l){var a=i.result;d.normalize&&(a=w(i.result,Object.assign(Object.assign({},u.flightData.entities),i.entities))),l(a)}}function b(){p&&p()}}}}}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e,t){var n=Object.assign({},e);return Object.keys(t).forEach((function(r){e[r]?n[r]=Object.assign(Object.assign({},e[r]),t[r]):n[r]=t[r]})),n}function Z(e,t){var n=e.resources[t.request.key];return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,{request:t.request,status:r.Fetching,response:n?n.response:null,entityIds:n?n.entityIds:null}))}}function X(e,t){var n,o=t.entities?Object.keys(t.entities):[];return{entities:Q(e.entities,t.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,{request:t.request,status:r.Success,response:t.result,timestamp:t.timestamp,statusCode:null===(n=t.xhr)||void 0===n?void 0:n.status,entityIds:o}))}}function ee(e,t){var n;return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,{request:t.request,status:r.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:null===(n=t.xhr)||void 0===n?void 0:n.status}))}}function te(e,t){var n,o=B(e,t.keys,null===(n=t.request)||void 0===n?void 0:n.key);return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),Object.keys(e.resources).filter((function(e){return o[e]})).reduce((function(t,n){var o=e.resources[n];return t[n]=Object.assign({},o,{status:r.None}),t}),{}))}}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0,n=t.entities?Object.keys(t.entities):[];return{entities:Q(e.entities,t.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,Object.assign(Object.assign({},e.resources[t.request.key]),{request:t.request,response:t.result,entityIds:n})))}}var re={resources:{},entities:{}};function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.a.API_REQUEST:return Z(e,t);case o.a.API_REPONSE:return X(e,t);case o.a.API_ERROR:return ee(e,t);case o.a.INVALIDATE:return te(e,t);case o.a.UPDATE:return ne(e,t)}return e}var ie=n(127);var ae="id";function ce(e,t){return localStorage.setItem(e,JSON.stringify(t)),t}function ue(e){var t=localStorage.getItem(e);return t?JSON.parse(t):null}var se={getAll:function(e,t){var n=ue(e);return n&&n.length?n:!n&&t?(t.forEach((function(t){return se.create(e,t)})),ue(e)):[]},get:function(e,t){var n=se.getAll(e);return n.length?n.find((function(e){return e[ae]===t})):null},create:function(e,t){var n,r,o,i=se.getAll(e),a=Object.assign(Object.assign({},t),(n={},r=ae,o=t[ae]||(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER)+1).toString(),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n));return i.push(a),ce(e,i),a},update:function(e,t){var n=se.getAll(e);if(!n.length)return t;var r=n.findIndex((function(e){return e[ae]===t[ae]}));return n[r]=t,ce(e,n),t},delete:function(e,t){var n=se.getAll(e);n.length&&(Array.isArray(t)||(t=[t]),t.forEach((function(e){var t=n.findIndex((function(t){return t[ae]===e}));n.splice(t,1)})),ce(e,n))},assoc:function(e,t,n,r,o){var i=Array.isArray(o),a=i?o:[o];"string"==typeof ie.a.first(a)&&(a=se.getAll(r).filter((function(e){return a.includes(e.id)})));var c=a.map((function(e){return e.id?e:se.create(r,e)})),u=se.getAll(e);if(u.length){var s=u.find((function(e){return e.id===t}));if(s)return c.forEach((function(e){if(s[n])if(Array.isArray(s[n])){if(s[n].find((function(t){return t.id===e.id})))return;s[n].push(e)}else s[n]=e;else s[n]=i?[e]:e})),ce(e,u=u.map((function(e){return e.id!==s.id?e:s}))),i?c:ie.a.first(c)}},dissoc:function(e,t,n,r){var o=se.getAll(e);if(o.length){var i=o.find((function(e){return e.id===t}));if(i){var a=i[n];if(a)return Array.isArray(r)||(r=[r]),Array.isArray(a)||(a=[a]),r.forEach((function(e){var t=a.findIndex((function(t){return t.id===e}));a.splice(t,1)})),i[n]=a,ce(e,o=o.map((function(e){return e.id!==i.id?e:i}))),o}}}};n.d(t,"Actions",(function(){return o.a})),n.d(t,"RequestStatus",(function(){return r})),n.d(t,"ajaxRequest",(function(){return u})),n.d(t,"normalize",(function(){return v})),n.d(t,"denormalize",(function(){return w})),n.d(t,"emptyResponse",(function(){return j})),n.d(t,"getResponse",(function(){return N})),n.d(t,"getFetch",(function(){return I})),n.d(t,"fetch",(function(){return D})),n.d(t,"dataServiceFetch",(function(){return U})),n.d(t,"useGetFetch",(function(){return M})),n.d(t,"useGetResponse",(function(){return F})),n.d(t,"useBasicFetch",(function(){return V})),n.d(t,"createMiddleware",(function(){return Y})),n.d(t,"FlightReducer",(function(){return oe})),n.d(t,"Simulator",(function(){return se}))},function(e,t,n){"use strict";var r=n(2),o=n(7),i=n(1),a=n(417),c=n.n(a);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,e);var t,n,r,o=f(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,e)}return t=a,(n=[{key:"getImageClass",value:function(){return this.options.customImageClass}},{key:"getHeading",value:function(){return i.isFunction(this.options.heading)?this.options.heading():this.options.heading}},{key:"getDescription",value:function(){return i.isFunction(this.options.description)?this.options.description():this.options.description}},{key:"viewOptions",value:function(){return{imageUrl:this.options.imageUrl,imageClass:this.getImageClass(),heading:this.getHeading(),description:this.getDescription()}}},{key:"name",get:function(){return"EmptyStateComponent"}},{key:"className",get:function(){var e="d-flex flex-column justify-content-center align-items-center text-center h-100";return this.options.customClass&&(e+=" ".concat(this.options.customClass)),e}},{key:"template",get:function(){return c.a}},{key:"defaults",get:function(){return{imageSize:"lg",paddedContainer:!0}}},{key:"appLinks",get:function(){return this.options.appLink||{}}}])&&s(t.prototype,n),r&&s(t,r),a}(r.a.Component),y={isCollectionEmpty:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"collection";return e[t]&&!e[t].length}};function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O,k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(a,e);var t,n,r,o=w(a);function a(){return g(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"shouldRender",value:function(){return!!i.isFunction(this.options.shouldRender)&&this.options.shouldRender()}},{key:"getComponent",value:function(){var e=this.options.emptyStateComponents[this.options.type](this);return new d(e)}},{key:"renderEmptyState",value:function(){if(this.shouldRender()){var e=this.getComponent();this.view.showChildView(this.options.region,e)}}},{key:"onRender",value:function(){this.renderEmptyState()}},{key:"defaults",get:function(){return{type:0,shouldRender:y.isCollectionEmpty.bind(null,this.view)}},set:function(e){}}])&&m(t.prototype,n),r&&m(t,r),a}(r.a.Behavior);!function(e){e[e.Notifications=0]="Notifications"}(O||(O={}));var E=n(8),P=n(32),R=n(197),_=n.n(R);var T,x,A,L,j=(T={},x=O.Notifications,A=function(e){var t={imageUrl:E.a.getInstance(P.a.NOTIFICATIONS).notificationsEmptyStateUrl,heading:e.options.componentOptions.noNotificationsText,customClass:"".concat(_.a.paddedContainer," ").concat(e.options.componentOptions.customClass),customImageClass:"sm"===e.options.componentOptions.imageSize?_.a.imageSmall:_.a.imageLarge};return E.a.releaseInstance(P.a.NOTIFICATIONS),t},x in T?Object.defineProperty(T,x,{value:A,enumerable:!0,configurable:!0,writable:!0}):T[x]=A,T),N=n(9),I=n(90),D=n(13),U=n(17),M=n(50);!function(e){e[e.Other=0]="Other",e[e.Alert=1]="Alert",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Success=4]="Success"}(L||(L={}));var F,V,H,z="notifications.utils",B=/^marketing-/,q=function(e){switch(e){case L.Success:return"success";case L.Alert:return"danger";case L.Warning:return"warning";case L.Info:case L.Other:default:return"dark"}},W=function(e){switch(e){case L.Success:return D.b.CheckCircle;case L.Alert:case L.Warning:return D.b.Warning;case L.Info:case L.Other:default:return D.b.Info}},J=function(e){return e===M.a.VideoProcessingFailed||e===M.a.VideoRequestDenied?"danger":e.match(B)?"warning":void 0},G=function(e){if(e.match(B))return D.b.Star},Y=function(e){switch(e){case M.a.VideoReviewAddedToLibrary:case M.a.WorkspaceVideoAvailable:case M.a.ExchangeVideoAvailable:case M.a.EditedVideoAvailable:return o.a.getPhrase(z,"viewVideo");case M.a.VideoReviewReminder:return o.a.getPhrase(z,"reviewVideos");case M.a.VideoReviewAddedToLibrary:return o.a.getPhrase(z,"viewNewContent");case M.a.CustomLibraryVideoAvailable:return o.a.getPhrase(z,"viewVideoDetails");case M.a.StaffRequest:return o.a.getPhrase(z,"reviewVideo");default:return o.a.getPhrase(z,"seeNow")}},K=n(103),Q=n(194);function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(){return E.a.getInstance(P.a.NOTIFICATIONS,this)}function ee(e,t,n){return e===H.Module?function(e,t){var n=$();return t===V.ContentUpdates?n.appLinks.pastReleases:t===V.LibraryReview?n.appLinks.awaitingReview:void 0}(0,t):e===H.Video?function(e,t,n){return Object.assign(Object.assign({},$().appLinks.videoDetails),{args:[t,""]})}(0,t):e===H.StaffRequest?function(e,t,n){return Object.assign(Object.assign({},$().appLinks.editStaffRequest),{args:[t],params:{referrer:F.Notification}})}(0,t):void 0}!function(e){e.Notification="notification"}(F||(F={})),function(e){e.LibraryReview="libraryreview",e.ContentUpdates="newcontent"}(V||(V={})),function(e){e.Video="video",e.Url="url",e.Module="module",e.App="app",e.StaffRequest="staff_request"}(H||(H={}));var te=function(e){return i.contains($().notificationTypesWithAppLinks,e)},ne=function(e,t){if(e&&t){var n=Z(e.split(":"),2);return ee(n[0],n[1])}},re=n(230),oe=n.n(re),ie=n(418),ae=n.n(ie);function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pe(e);if(t){var o=pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fe(this,n)}}function fe(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var he,de=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(i,e);var t,n,r,o=le(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:notificationStatus",this.updateReadStatus)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(e){return N.Radio.channel(U.a.NOTIFICATIONS).trigger(Q.a.Read,this.model.get("id")),this.model.set("notificationStatus",K.a.Read),!0}},{key:"getAppLink",value:function(){var e=this.model.get("appLink");if(!e)return null;var t=this.model.get("notificationType");return te(t)?ne(e,t):null}},{key:"updateReadStatus",value:function(){this.$el.removeClass("unread read").addClass(this.getReadStatus())}},{key:"getReadStatus",value:function(){switch(this.model.get("notificationStatus")){case K.a.Read:return"read";default:case K.a.Received:return"unread"}}},{key:"viewOptions",value:function(){var e=J(this.model.get("notificationType"))||q(this.model.get("alertType")),t=G(this.model.get("notificationType"))||W(this.model.get("alertType"));return{content:this.model.get("body")||this.model.get("name"),notificationTime:I(this.model.get("dateCreated")).fromNow(),icon:D.a.getSvg(t),iconClass:"text-".concat(e),styles:oe.a,showActionText:this.options.showActionText&&this.model.get("alertType")!==L.Warning,actionText:Y(this.model.get("notificationType"))}}},{key:"name",get:function(){return"NotificationItemComponent"}},{key:"template",get:function(){return ae.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){return this.getAppLink()?{}:{href:this.model.get("link"),target:"_blank"}}},{key:"className",get:function(){return"notification ".concat(oe.a.item," px-1 py-2 ").concat(this.getReadStatus())}},{key:"appLinks",get:function(){var e=this.getAppLink();return e?{"[this]":e}:{}}}])&&ue(t.prototype,n),r&&ue(t,r),i}(r.a.Component),ye=n(419),ve=n.n(ye);function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t,n){return t&&be(e.prototype,t),n&&be(e,n),e}function Se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ce(e,t)}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var o=Ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ke(this,n)}}function ke(e,t){return!t||"object"!==ge(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return he})),n.d(t,"b",(function(){return Re})),function(e){e[e.Default=0]="Default",e[e.Popover=1]="Popover"}(he||(he={}));var Pe=function(e){Se(n,e);var t=Oe(n);function n(e){return me(this,n),t.call(this,e)}return we(n,[{key:"name",get:function(){return"NotificationComponentCollection"}},{key:"className",get:function(){return this.options.isPopover&&"popover-list-body-sm"}},{key:"childView",get:function(){return de}},{key:"childViewOptions",get:function(){return{showActionText:!this.options.isPopover}}}]),n}(r.a.ComponentCollection),Re=function(e){Se(n,e);var t=Oe(n);function n(e){return me(this,n),t.call(this,e)}return we(n,[{key:"regions",value:function(){return{notifications:{el:".notifications-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.isPopover?{customClass:"px-0 py-3",imageSize:"sm",noNotificationsText:o.a.getPhrase(this.lang,"noNotifications")}:{noNotificationsText:o.a.getPhrase(this.lang,"noNotifications")}}},{key:"onRender",value:function(){this.showChildView("notifications",new Pe(this.options))}},{key:"name",get:function(){return"NotificationListComponent"}},{key:"template",get:function(){return ve.a}},{key:"lang",get:function(){return"notifications.notificationList"}},{key:"behaviors",get:function(){return[{behaviorClass:k,region:"notifications",type:O.Notifications,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:j}]}}]),n}(r.a.Component)},function(e,t,n){"use strict";n.r(t);var r=n(43),o=n(180),i=n(1),a=n(9),c=n(38),u=n(42);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"use",value:function(e){var t;this.go=(t=this.go,function(n,r){return t(n,(function(){return e(n,r)}))})}},{key:"go",value:function(e,t){t(e)}}])&&s(t.prototype,n),r&&s(t,r),e}(),f=n(29),p=n(11),h=n(78),d=n(16);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return(b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=O(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=/([A-Z])/g,E=/(^|:)(\w)/gi,P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(s,e);var t,n,o,c=S(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this,e)).bindDisposal(),t.processInternalRoutes(),t.processExternalRoutes(),t.processAppLinks(),t}return t=s,(n=[{key:"bindDisposal",value:function(){var e=this;this.listenTo(d.a.SHELL,f.a.ROUTE,(function(t){t.application!==e.channelName&&e.destroyApp()}))}},{key:"addRouteLookup",value:function(e,t){var n=this;this.options.shell.addRouteLookup("".concat(this.channelName,":").concat(e),(function(o,i){return r.a.buildRoute(t,{application:n.channelName,action:e,args:o,params:i})}))}},{key:"processInternalRoutes",value:function(){var e=this;i.each(i.keys(this.appRoutes),(function(t){var n=e.appRoutes[t],r=e.toEventName(n);e.addRouteLookup(r,t),e.listenTo(e.channelName,r,(function(n,r){r&&r.usedHelper||p.c.throw(new p.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),e.executeRoute(n,{isAppRoute:!0},(function(){var o=i.extend({},e.controller.getAndClearDefaultQueryParams(),n.params);n.params=o,h.a.UpdateUrl(t,n,r)}))}))}))}},{key:"processExternalRoutes",value:function(){var e=this;this.externalRoutes&&i.each(i.keys(this.externalRoutes),(function(t){var n=e.externalRoutes[t],o=e.toEventName(n);e.addRouteLookup(o,t),e.listenTo(e.channelName,o,(function(e,t){t&&t.usedHelper||p.c.throw(new p.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),h.a.PageLoad(r.a.getHref(e))}))}))}},{key:"processAppLinks",value:function(){var e=this;this.appLinks&&i.each(this.appLinks,(function(t){var n=e.toEventName(t);e.listenTo(e.channelName,n,(function(t,n){n&&n.usedHelper||p.c.throw(new p.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),e.executeRoute(t,{isAppRoute:!1})}))}))}},{key:"executeRoute",value:function(e,t,n){var o=this;this.validateAppLink(e);var c=this.toMethodName(e.action);r.b.routingStarted();var u=a.Radio.channel(d.a.SHELL);if(this.options.shell.isNavLocked())return u.trigger(f.a.NAV_IS_LOCKED,e),void r.b.routingEnded();var s=new l;i.each(this.filters,(function(e){return s.use(e)})),s.go(e,(function(){u.trigger(f.a.ROUTE,e,t),o.createApp();var a=o.controller;if(i.isFunction(a[c])||(r.b.routingEnded(),p.c.throw(new p.b("".concat(c," does not exist on the ").concat(i.result(a,"name"),".")))),!1===a.triggerMethod("before:action"))return a.triggerMethod("action:cancelled"),void r.b.routingEnded();a.triggerMethod("load:layout"),a[c].apply(a,[].concat(v(e.args||[]),[e.params||{}])),i.isFunction(n)&&n(),r.b.routingEnded()}))}},{key:"createApp",value:function(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}},{key:"destroyApp",value:function(){this.controller&&(this.controller.destroy(),delete this.controller)}},{key:"_addAppRoute",value:function(e,t,n){var r=this;this.route(t,n,(function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a={application:r.channelName,action:r.toEventName(n),args:t.slice(0,t.length-1),params:h.a.DeserializeQueryParams(t[t.length-1])};r.executeRoute(a,{isAppRoute:!0},(function(){h.a.UpdateQuery(i.extend(r.controller.getAndClearDefaultQueryParams(),a.params))}))}))}},{key:"toEventName",value:function(e){return e.replace(k,":$1").toLowerCase()}},{key:"toMethodName",value:function(e){var t=e.replace(E,(function(e,t,n){return n.toUpperCase()}));return t[0].toLowerCase()+t.slice(1,t.length)}},{key:"validateAppLink",value:function(e){e.application&&e.action||(r.b.routingEnded(),p.c.throw(new p.b("Invalid AppLink")))}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],b(O(s.prototype),"listenTo",this))}}])&&m(t.prototype,n),o&&m(t,o),s}(c.AppRouter);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return(x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=N(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}(i,e);var t,n,r,o=L(i);function i(){return _(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],x(N(i.prototype),"listenTo",this))}}])&&T(t.prototype,n),r&&T(t,r),i}(c.Behavior),D=n(121);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(e,t,n){return(F="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=q(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var o=q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?B(e):t}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(a,e);var t,n,r,o=H(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=o.call(this,e),i.result(B(t),"name")||p.c.throw(new p.b("Error: View with cid:".concat(t.cid," requires a name."))),t}return t=a,(n=[{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],F(q(a.prototype),"listenTo",this))}}])&&M(t.prototype,n),r&&M(t,r),a}(c.CollectionView),J=n(181),G=n(145),Y=n(54),K=n(72),Q=n(144);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return($="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=re(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=re(e);if(t){var o=re(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ne(this,n)}}function ne(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ee(e,t)}(a,e);var t,n,r,o=te(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=o.call(this,e)).layouts={},t.requiredRegions=e.requiredRegions,t}return t=a,(n=[{key:"clearLayout",value:function(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}},{key:"registerLayout",value:function(e,t){return this.checkRequiredRegions(t),this.layouts[e]=t,this}},{key:"getLayout",value:function(e){var t=e.name,n=e.options,r=void 0===n?{}:n;this.layouts[t]||p.c.throw(new p.b("".concat(t," was not registered as a template.")));var o=this.layouts[t].getCacheKey(r);return this.currentLayoutCacheKey===o&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",r),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=o,this.currentLayout=new this.layouts[t](r),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}},{key:"checkRequiredRegions",value:function(e){i.each(this.requiredRegions,(function(t){i.has(i.result(e.prototype,"regions"),t)||p.c.throw(new p.b("Layout: ".concat(e.prototype.name," must define an ").concat(t," region.")))}))}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],$(re(a.prototype),"listenTo",this))}}])&&X(t.prototype,n),r&&X(t,r),a}(c.Object);function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ae(e,t,n){return(ae="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=le(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=le(e);if(t){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t,n){return t&&pe(e.prototype,t),n&&pe(e,n),e}var de=function(){function e(t,n){fe(this,e),this.application=t,this.options=n||{}}return he(e,[{key:"Application",get:function(){return this.application}},{key:"Options",get:function(){return this.options}}]),e}(),ye=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(n,e);var t=ue(n);function n(){return fe(this,n),t.apply(this,arguments)}return he(n,[{key:"initialize",value:function(e){this.mergeOptions(e,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}},{key:"bindListeners",value:function(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}},{key:"bindNavLockListeners",value:function(){var e=this;this.listenTo(d.a.SHELL,f.a.LOCK_NAV,(function(){return e.shellState.navLock=!0})),this.listenTo(d.a.SHELL,f.a.UNLOCK_NAV,(function(){return e.shellState.navLock=!1}))}},{key:"bindAppLinkListeners",value:function(){var e=this;this.listenTo(d.a.SHELL,f.a.ROUTING_START,(function(){return e.shellState.activeRoute=!0})),this.listenTo(d.a.SHELL,f.a.ROUTING_END,(function(){return e.shellState.activeRoute=!1})),this.listenTo(d.a.SHELL,f.a.ROUTE,(function(t){return e.shellState.currentAppLink=t}));var t=a.Radio.channel(d.a.SHELL);t.reply(f.a.HAS_ACTIVE_ROUTE,i.bind(this.hasActiveRoute,this)),t.reply(f.a.CURRENT_ROUTE,(function(){return e.shellState.currentAppLink}))}},{key:"bindErrorHandlers",value:function(){window.addEventListener("error",(function(){r.b.routingEnded()}))}},{key:"bindErrorListener",value:function(){var e=a.Radio.channel(d.a.SHELL);this.listenTo(e,f.a.ERROR,this.handleError)}},{key:"bindRouteLookup",value:function(){var e=this;a.Radio.channel(d.a.SHELL).reply(f.a.ROUTE_LOOKUP,(function(t,n,r){return e.routeLookup[t]?e.routeLookup[t](n,r):""}),this)}},{key:"addRouteLookup",value:function(e,t){this.routeLookup[e]=t}},{key:"registerApplication",value:function(e,t){return this.applications.push(new de(e,t)),this}},{key:"getGlobalRadioChannels",value:function(){return d.a}},{key:"isNavLocked",value:function(){return this.shellState.navLock}},{key:"start",value:function(e){var t=this;e||(e={}),this.runInitializationSteps(this,(function(r,o){t.runStartUpSteps(t,e,(function(r,o,i){ae(le(n.prototype),"start",t).call(t,e)}))}))}},{key:"hasActiveRoute",value:function(){return this.shellState.activeRoute}},{key:"onStart",value:function(){var e=this;i.each(this.applications,(function(t){var n={appConstructor:t.Application,shell:e,appOptions:Object.assign({region:"",shell:e,layoutService:e.layoutService},t.Options)};new t.Application.router(n)})),this.bindListeners(),h.a.StartHistory()}},{key:"addInitializationStep",value:function(e){var t;return this.runInitializationSteps=(t=this.runInitializationSteps,function(n,r){return t(n,(function(){return e(n,r)}))}),this}},{key:"runInitializationSteps",value:function(e,t){t(e)}},{key:"addStartUpStep",value:function(e){var t;return this.runStartUpSteps=(t=this.runStartUpSteps,function(n,r,o){return t(n,r,(function(){return e(n,r,o)}))}),this}},{key:"runStartUpSteps",value:function(e,t,n){n(e,t)}},{key:"registerLayout",value:function(e,t){return this.layoutService.registerLayout(e,t),this}},{key:"registerErrorHandler",value:function(e,t){return e||p.c.throw(new p.b("An error must have a name in order to register a handler for it.")),i.any(this.errorHandlers,(function(t){return t.errorType===e}))&&p.c.throw(new p.b("An error handler for ".concat(e.prototype.name," has already been defined."))),this.errorHandlers.push({errorType:e,handler:t}),this}},{key:"handleError",value:function(e){var t=i.find(this.errorHandlers,(function(t){return e instanceof t.errorType}));t&&t.handler&&t.handler(e)}},{key:"registerStore",value:function(e){this.store=e}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],ae(le(n.prototype),"listenTo",this))}}]),n}(c.Application);n.d(t,"AppLinkHelper",(function(){return r.a})),n.d(t,"AppLinkUtility",(function(){return r.b})),n.d(t,"Application",(function(){return o.a})),n.d(t,"AppRouter",(function(){return P})),n.d(t,"Behavior",(function(){return I})),n.d(t,"Collection",(function(){return D.a})),n.d(t,"CollectionView",(function(){return W})),n.d(t,"ComponentCollection",(function(){return W})),n.d(t,"Error",(function(){return p.a})),n.d(t,"ErrorHelper",(function(){return p.c})),n.d(t,"SilentError",(function(){return p.d})),n.d(t,"LayoutView",(function(){return J.a})),n.d(t,"NestedModel",(function(){return G.a})),n.d(t,"Service",(function(){return Y.a})),n.d(t,"Model",(function(){return K.a})),n.d(t,"View",(function(){return Q.b})),n.d(t,"Component",(function(){return Q.a})),n.d(t,"EventNames",(function(){return f.a})),n.d(t,"LayoutService",(function(){return oe})),n.d(t,"Middleware",(function(){return l})),n.d(t,"LocationUtils",(function(){return h.a})),n.d(t,"Shell",(function(){return ye}))},function(e,t){e.exports=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return m}));var r=n(60),o=n(8),i=n(12),a=n(17),c=n(34),u=n(67);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,r,o=h(s);function s(){return l(this,s),o.apply(this,arguments)}return t=s,(n=[{key:"getCurrentUser",value:function(e,t){return this.get({resource:"/api/currentuser",eventPrefix:c.a.CURRENT_USER,expiryTime:u.a.STANDARD,callback:e,errorCallback:t})}},{key:"getWorkspace",value:function(e,t){return this.get({resource:"/api/domain/v2/me/workspace?query=categorytree",eventPrefix:c.a.WORKSPACE,expiryTime:u.a.STANDARD,callback:e,errorCallback:t})}},{key:"name",get:function(){return i.a.User}},{key:"channelName",get:function(){return a.b.USER}}])&&f(t.prototype,n),r&&f(t,r),s}(r.a),g={dataServiceName:i.a.User,dataChannelName:a.b.USER},m={getCurrentUserFetchOptions:function(e,t){return Object.assign(Object.assign({},g),{eventPrefix:c.a.CURRENT_USER,fetchData:function(e){return e.getCurrentUser()},setData:e,onError:t})},currentUser:{dataServiceName:i.a.User,eventName:"".concat(c.a.CURRENT_USER,":sync"),getData:function(e){return e.getCurrentUser()},getInstance:function(e){return o.a.getInstance(i.a.User,e)},beforeOnBeforeRender:!0}}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Analytics="AnalyticsService",e.Context="ContextService"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={ANALYTICS:"global:analytics"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Audience=1]="Audience",e[e.Category=2]="Category",e[e.Channel=3]="Channel",e[e.Chapter=4]="Chapter",e[e.Comment=5]="Comment",e[e.OwnerComment=6]="OwnerComment",e[e.Image=7]="Image",e[e.Thumbnail=8]="Thumbnail",e[e.Avatar=9]="Avatar",e[e.Banner=10]="Banner",e[e.Video=11]="Video",e[e.Trailer=12]="Trailer",e[e.Rating=13]="Rating",e[e.Topic=14]="Topic",e[e.Series=15]="Series",e[e.Season=16]="Season",e[e.HostedMediaObjectCollection=17]="HostedMediaObjectCollection",e[e.ExchangeCollection=18]="ExchangeCollection",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection",e[e.Playlist=20]="Playlist",e[e.ClickViewTvCollection=21]="ClickViewTvCollection",e[e.ClickViewProductionsCollection=22]="ClickViewProductionsCollection",e[e.User=23]="User",e[e.SystemUser=24]="SystemUser",e[e.Customer=25]="Customer",e[e.Country=26]="Country",e[e.Organisation=28]="Organisation",e[e.SystemOrganisation=29]="SystemOrganisation",e[e.Group=30]="Group",e[e.SystemGroup=31]="SystemGroup",e[e.FlagReason=32]="FlagReason",e[e.Library=33]="Library",e[e.Interactive=34]="Interactive",e[e.WorkspaceCollection=35]="WorkspaceCollection",e[e.Conversation=36]="Conversation",e[e.Message=37]="Message",e[e.Notification=38]="Notification",e[e.Clip=39]="Clip",e[e.Link=40]="Link",e[e.UserChannel=41]="UserChannel",e[e.Resource=42]="Resource",e[e.VideoStream=43]="VideoStream",e[e.AudioStream=44]="AudioStream",e[e.Tag=45]="Tag",e[e.Subtitle=46]="Subtitle",e[e.LicencedContentCollection=47]="LicencedContentCollection",e[e.PublicCollection=48]="PublicCollection",e[e.CategoryTree=49]="CategoryTree",e[e.Logo=50]="Logo",e[e.Permission=51]="Permission",e[e.Subject=52]="Subject",e[e.Field=53]="Field",e[e.Company=54]="Company",e[e.Person=55]="Person",e[e.Cover=56]="Cover",e[e.Poster=57]="Poster",e[e.SubjectAudience=58]="SubjectAudience"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={UPDATE:"UPDATE_VIEW_MODEL"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Read="notification:read"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={LAZY_LOAD:"lazy:load:behavior",POPUP:"popup:behavior",IMAGE_SELECT:"image:select:behavior"}},function(e,t,n){e.exports={notificationIcon:"_3SkbQ",light:"_2TvQg",dark:"_3taGb",unreadCount:"_1u6ig"}},function(e,t,n){e.exports={paddedContainer:"_1cCVc",imageLarge:"_3Wy1u",imageSmall:"_3t8Qq"}},function(e,t,n){e.exports={selectionContainer:"_3m62c",svgContainer:"_1XxEl"}},function(e,t,n){e.exports={svgContainer:"ecsrN",tip:"IwYkF",termContainer:"_1BqAi",term:"_1NEsr"}},function(e,t,n){e.exports={searchSvgContainer:"_1-crd",tipsContainer:"_15HAy",searchInput:"_1qca6",searchBar:"_3XQHi"}},function(e,t,n){e.exports={appLink:"_1SFgo",hoverUnderline:"_2iyL0"}},function(e,t){e.exports=p},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(0),o=n.n(r);function i(){return o.a.createElement("svg",{viewBox:"0 0 434 71"},o.a.createElement("g",null,o.a.createElement("path",{fill:"#000000",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),o.a.createElement("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})))}function a(){return o.a.createElement("svg",{viewBox:"0 0 41 70"},o.a.createElement("g",null,o.a.createElement("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})))}},function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n(348),o=n(162),i=(0,r.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,o.inherits)(i,(0,r.createTokenClass)(),t)}i.prototype={toString:function(){return this.v+""}};var c=a(),u=a("@"),s=a(":"),l=a("."),f=a(),p=a(),h=a("\n"),d=a(),y=a("+"),v=a("#"),g=a(),m=a("mailto:"),b=a("?"),w=a("/"),S=a("_"),C=a(),O=a(),k=a(),E=a("{"),P=a("["),R=a("<"),_=a("("),T=a("}"),x=a("]"),A=a(">"),L=a(")"),j=a("&");t.Base=i,t.DOMAIN=c,t.AT=u,t.COLON=s,t.DOT=l,t.PUNCTUATION=f,t.LOCALHOST=p,t.NL=h,t.NUM=d,t.PLUS=y,t.POUND=v,t.QUERY=b,t.PROTOCOL=g,t.MAILTO=m,t.SLASH=w,t.UNDERSCORE=S,t.SYM=C,t.TLD=O,t.WS=k,t.OPENBRACE=E,t.OPENBRACKET=P,t.OPENANGLEBRACKET=R,t.OPENPAREN=_,t.CLOSEBRACE=T,t.CLOSEBRACKET=x,t.CLOSEANGLEBRACKET=A,t.CLOSEPAREN=L,t.AMPERSAND=j},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r,o;
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("_"),require("Backbone"),require("Handlebars"),require("ReactBootstrap"),require("Marionette"),require("ReactRedux"),require("moment"),require("ReactDOM"),require("FontAwesome"),require("ReactCustomScrollbars"),require("DOMPurify"),require("Redux"),require("ReactTransitionGroup"),require("Bloodhound"),require("Polyglot"),require("reactDropzone"),require("SortableHOC"),require("ReactIntersectionObserver"),require("Autosuggest"),require("ImmersiveReader"),require("marked")):"function"==typeof define&&define.amd?define(["React","_","Backbone","Handlebars","ReactBootstrap","Marionette","ReactRedux","moment","ReactDOM","FontAwesome","ReactCustomScrollbars","DOMPurify","Redux","ReactTransitionGroup","Bloodhound","Polyglot","reactDropzone","SortableHOC","ReactIntersectionObserver","Autosuggest","ImmersiveReader","marked"],t):"object"==typeof exports?exports["@clickview/lite"]=t(require("React"),require("_"),require("Backbone"),require("Handlebars"),require("ReactBootstrap"),require("Marionette"),require("ReactRedux"),require("moment"),require("ReactDOM"),require("FontAwesome"),require("ReactCustomScrollbars"),require("DOMPurify"),require("Redux"),require("ReactTransitionGroup"),require("Bloodhound"),require("Polyglot"),require("reactDropzone"),require("SortableHOC"),require("ReactIntersectionObserver"),require("Autosuggest"),require("ImmersiveReader"),require("marked")):e["@clickview/lite"]=t(e.React,e._,e.Backbone,e.Handlebars,e.ReactBootstrap,e.Marionette,e.ReactRedux,e.moment,e.ReactDOM,e.FontAwesome,e.ReactCustomScrollbars,e.DOMPurify,e.Redux,e.ReactTransitionGroup,e.Bloodhound,e.Polyglot,e.reactDropzone,e.SortableHOC,e.ReactIntersectionObserver,e.Autosuggest,e.ImmersiveReader,e.marked)}(window,(function(e,t,n,r,o,i,a,c,u,s,l,f,p,h,d,y,v,g,m,b,w,S){return function(e){function t(t){for(var n,r,i=t[0],a=t[1],c=0,u=[];c<i.length;c++)r=i[c],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&u.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(s&&s(t);u.length;)u.shift()()}var n={},r={9:0},o={9:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{0:1,2:1,3:1,4:1,5:1,6:1,11:1,12:1,13:1,14:1,15:1,16:1,17:1,18:1,19:1,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:1,28:1,29:1,30:1,31:1,32:1,33:1,34:1,35:1,36:1,37:1,47:1,51:1,53:1,54:1,55:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o="css/"+e+".chunk.css",a=i.p+o,c=document.getElementsByTagName("link"),u=0;u<c.length;u++){var s=(f=c[u]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===a))return t()}var l=document.getElementsByTagName("style");for(u=0;u<l.length;u++){var f;if((s=(f=l[u]).getAttribute("data-href"))===o||s===a)return t()}var p=document.createElement("link");p.rel="stylesheet",p.type="text/css",p.onload=t,p.onerror=function(t){var o=t&&t.target&&t.target.src||a,i=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[e],p.parentNode.removeChild(p),n(i)},p.href=a,document.getElementsByTagName("head")[0].appendChild(p)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=a);var c,u=document.createElement("script");u.charset="utf-8",u.timeout=120,i.nc&&u.setAttribute("nonce",i.nc),u.src=function(e){return i.p+"scripts/"+e+"-"+{0:"1d51c87483",1:"b20a2dd250",2:"f455e81583",3:"f64ba09964",4:"0dd0a25c20",5:"e47ccdc9aa",6:"bf7446464f",7:"0917af7a17",8:"0853e12e22",11:"e2f313f85e",12:"c7f5866361",13:"ec41bdbbbe",14:"03b4af57e1",15:"3da33fa6d0",16:"9fdbeac822",17:"2b6bf7febc",18:"d3af229f1f",19:"17ffa1078f",20:"81c863da2f",21:"c28f436ec9",22:"fe35a069b2",23:"62d1922569",24:"765209316d",25:"663dfb4e48",26:"ef5709d204",27:"400831ca44",28:"930e7d5870",29:"e0f2036314",30:"c93abab057",31:"9d4e38eb3e",32:"88a7177e95",33:"85222ccf93",34:"6113635e43",35:"329132fe49",36:"0d6e16e354",37:"010a76757b",38:"d60741eca8",39:"b38f2afcd9",40:"2b7ac55647",41:"9a07dd3c06",42:"a612da3a86",43:"d2fb4006f3",44:"b959741f1f",45:"21e213d97e",46:"3847eb7655",47:"c4c6264df4",48:"92bbddf27d",49:"6a65a3f865",50:"76d7668c64",51:"caf124fbb7",52:"d3494312ce",53:"7d97e2f664",54:"603f252394",55:"4874473c9d",56:"ca513946cf",57:"e76b06192a",58:"a8612894ef",59:"f42476f89d",60:"41208378cc",61:"85e73cde67",62:"94874205ae",63:"870238c0d7",64:"d280e018c4",65:"3c772a4624",66:"a6ac298fa2"}[e]+".chunk.js"}(e);var s=new Error;c=function(t){u.onerror=u.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}o[e]=void 0}};var l=setTimeout((function(){c({type:"timeout",target:u})}),12e4);u.onerror=u.onload=c,document.head.appendChild(u)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=window.webpackJsonp_clickview_lite=window.webpackJsonp_clickview_lite||[],c=a.push.bind(a);a.push=t,a=a.slice();for(var u=0;u<a.length;u++)t(a[u]);var s=c;return i(i.s=817)}([function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t,n){"use strict";var r=n(187);n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";var r=n(123);n.d(t,"a",(function(){return r.a})),n.d(t,"b",(function(){return r.b})),n.d(t,"c",(function(){return r.c})),n.d(t,"d",(function(){return r.d})),n.d(t,"e",(function(){return r.e})),n.d(t,"f",(function(){return r.f})),n.d(t,"g",(function(){return r.g})),n.d(t,"h",(function(){return r.h})),n.d(t,"i",(function(){return r.i})),n.d(t,"j",(function(){return r.j})),n.d(t,"k",(function(){return r.k})),n.d(t,"l",(function(){return r.l})),n.d(t,"m",(function(){return r.m})),n.d(t,"n",(function(){return r.n})),n.d(t,"o",(function(){return r.o}));n(182)},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r={DEFAULT:"default:application",PLAYLISTS:"playlists:application",DASHBOARD:"dashboard:application",SUBJECT:"subject:application",EMBED:"embed:application",NOTIFICATIONS:"notifications:application",SEARCH:"search:application",CONTENT_UPDATES:"content:updates:application",USER_MANAGER:"user:manager:application",UPLOAD:"upload:application",CLASSROOMS:"classrooms:application",SETTINGS:"settings:application",WATCH_HISTORY:"watch:history:application"},o={COMBINE_UPLOADS:"combine:uploads:service"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Trace=0]="Trace",e[e.Debug=1]="Debug",e[e.Information=2]="Information",e[e.Warning=3]="Warning",e[e.Error=4]="Error",e[e.Critical=5]="Critical",e[e.None=6]="None"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return m}));var r=n(413),o=n(1),i=n(188),a=n(54),c=n(11),u=n(52),s=n(19),l=n(82);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==f(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(v,e);var t,n,a,f=y(v);function v(){return p(this,v),f.apply(this,arguments)}return t=v,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"setConfig",value:function(e){this.polyglot=new r({locale:e.locale,phrases:e.phrases.rootElement||e.phrases}),this.cache={}}},{key:"getPhrase",value:function(e,t,n){var r="".concat(e,".").concat(t);if(this.polyglot||c.c.throw(new s.a("LanguageService config must be set.")),!this.polyglot.has(r)){if(!l.a.isDevelopment){var a=window.trackJs;return a&&a.console.error("No phrase set for ".concat(r," in language config")),""}c.c.throw(new s.a("No phrase set for ".concat(r," in language config.")))}if(!n||o.isEmpty(n)){var u=this.cache[r];if(u)return u;var f=this.polyglot.t(r);return this.cache[r]=f,f}var p=o.omit(n,"smartCount"),h={};for(var d in p)h[d]=i.sanitize(p[d]);o.isNumber(n.smartCount)&&(h.smart_count=n.smartCount);var y="".concat(r,":").concat(o.values(Object.assign({},h)).join(":")),v=this.cache[y];if(v)return v;var g=this.polyglot.t(r,h);return this.cache[y]=g,g}},{key:"encloseNamespace",value:function(e){var t=this;return function(n,r){return t.getPhrase(e,n,r)}}},{key:"name",get:function(){return u.a.LANGUAGE}}])&&h(t.prototype,n),a&&h(t,a),v}(a.a).Instance},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(1),o=n(19),i=n(54),a=n(11);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,e);var t,n,i,c=l(f);function f(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(e=c.call(this)).constructors={},e.destructors={},e.instances={},e.singletonInstances={},e.referenceCounts={},e}return t=f,i=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"registerDataService",value:function(e,t){var n=this;this.validateConstructor(e);var r=e.prototype.name;return this.referenceCounts[r]=0,this.constructors[r]=function(){return new e({dataProvider:n.getInstance(t.dataProvider),cache:n.getInstance(t.cache),bootstrapData:t.bootstrapData,defaultErrorHandler:t.defaultErrorHandler,alertService:t.alertService})},this.destructors[r]=function(){n.instances[r]?n.instances[r].destroy():a.c.throw(new o.a("Trying to destroy a ".concat(r," instance that has already been destroyed"))),n.releaseInstance(t.dataProvider),n.releaseInstance(t.cache)},this}},{key:"registerInstance",value:function(e,t){var n=this;this.validateConstructor(e);var o=e.prototype.name;return this.referenceCounts[o]=0,this.constructors[o]=function(){return new e(t)},this.destructors[o]=function(){return r.isFunction(n.instances[o].destroy)&&n.instances[o].destroy()},this}},{key:"registerSingleton",value:function(e){var t=e.name;return this.singletonInstances[t]=e,this}},{key:"getInstance",value:function(e,t){var n=this;return this.singletonInstances[e]?this.singletonInstances[e]:(this.constructors[e]||a.c.throw(new o.a("".concat(e," was not registered with ").concat(this.name))),this.referenceCounts[e]++,t&&this.listenTo(t,"destroy",(function(){return n.releaseInstance(e)})),this.instances[e]||(this.instances[e]=this.constructors[e]()),this.instances[e])}},{key:"releaseInstance",value:function(e){var t=this;if(this.instances[e])return window.setTimeout((function(){t.referenceCounts[e]--,t.referenceCounts[e]<1&&(t.destructors[e](),delete t.instances[e])}),0),this}},{key:"validateConstructor",value:function(e){var t=e.prototype.name;t||a.c.throw(new o.a("Classes registered with ".concat(this.name," must have a unique name property."))),this.constructors[t]&&a.c.throw(new o.a("A class with the name: ".concat(t," has already been registered with ").concat(this.name)))}},{key:"name",get:function(){return"InstanceManager"}}])&&u(t.prototype,n),i&&u(t,i),f}(i.a).Instance},function(e,t){e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={Default:{ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",SERIES:"series",PLAY_VIDEO:"play:video",FAVOURITE_VIDEOS:"favourite:videos",MY_VIDEOS:"my:videos",EDIT_VIDEO:"edit:video",EDIT_UPLOAD:"edit:upload",SHARE:"share",LOG_OUT:"log:out",LOG_IN:"log:in"},Playlists:{HOME:"index",PLAYLIST:"playlist",NEW_PLAYLIST:"new:playlist",EDIT_PLAYLIST:"edit:playlist",DELETE_PLAYLIST:"delete:playlist",ADD_TO_PLAYLIST:"add:to:playlist",REMOVE_VIDEO_FROM_PLAYLIST:"remove:video:from:playlist"},Dashboard:{HOME:"index",DASHBOARD:"dashboard"},Subjects:{CLASSIFICATION:"classification",PREFERENCES:"preferences"},Notifications:{HOME:"index"},Search:{HOME:"index"},ContentUpdates:{CONTENT_UPDATES:"content:updates",CLASSIFICATION_UPDATE:"classification:update"},UserManager:{STUDENTS:"student:manager",TEACHERS:"teacher:manager",REMOVE_USERS:"remove:users",NEW_STUDENT:"new:student",EDIT_STUDENT:"edit:student",NEW_TEACHER:"new:teacher",EDIT_TEACHER:"edit:teacher",STUDENT_UPLOAD_REVIEW:"student:upload:review",TEACHER_UPLOAD_REVIEW:"teacher:upload:review"},Upload:{EDIT_UPLOAD:"edit:upload",CANCEL_UPLOAD:"cancel:upload"},Classrooms:{HOME:"index",CLASSROOM:"classroom",NEW_CLASSROOM:"new:classroom",EDIT_CLASSROOM:"edit:classroom",DELETE_CLASSROOM:"delete:classroom",MANAGE_CLASSROOM:"manage:classroom",ADD_STUDENTS:"add:students",REMOVE_STUDENTS:"remove:students",NEW_GROUP:"new:group",EDIT_GROUP:"edit:group",DELETE_GROUP:"delete:group"},Settings:{HOME:"index"},WatchHistory:{HOME:"index"}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return b})),n.d(t,"d",(function(){return w})),n.d(t,"b",(function(){return S})),n.d(t,"c",(function(){return C}));var r=n(9),o=n(16),i=n(82),a=n(29);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}function p(e){var t=v();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function d(e){var t="function"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return y(e,arguments,m(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),g(r,e)})(e)}function y(e,t,n){return(y=v()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&g(o,n.prototype),o}).apply(null,arguments)}function v(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){f(n,e);var t=p(n);function n(e){return l(this,n),t.call(this,e)}return n}(d(Error)),w=function(e){f(n,e);var t=p(n);function n(){return l(this,n),t.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"SilentError"}}]),n}(b),S=function(e){f(n,e);var t=p(n);function n(){return l(this,n),t.apply(this,arguments)}return s(n,[{key:"name",get:function(){return"CoreError"}}]),n}(d(Error)),C={throw:function(e){if(r.Radio.channel(o.a.SHELL).trigger(a.a.ERROR,e),!(e instanceof w||i.a.isDevelopment))throw e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));var r={Config:"ConfigDataService",User:"UserDataService",Language:"LanguageDataService",Video:"VideoDataService",VideoUpload:"VideoUpload",Library:"LibraryDataService",Search:"SearchDataService",Series:"SeriesDataService",Notification:"NotificationDataService",NotificationSocket:"NotificationSocketService"},o={ImageUrl:"ImageUrlService",PendingItems:"PendingItemsService",Alerts:"AlertService",VideoUpload:"VideoUploadService",ResourceUpload:"ResourceUploadService",SubtitleUpload:"SubtitleUploadService",VideoMixin:"VideoMixinService",ContextualSearch:"ContextualSearchService",Context:"ContextService",Notification:"NotificationService",AppOptions:"AppOptionsService"}},function(e,t,n){"use strict";var r,o,i=n(125),a=n(1),c=n(258),u=n.n(c),s=n(259),l=n.n(s),f=n(260),p=n.n(f),h=n(261),d=n.n(h),y=(n(262),n(263),n(264)),v=n.n(y),g=n(265),m=n.n(g),b=n(266),w=n.n(b),S=n(267),C=n.n(S),O=n(268),k=n.n(O),E=n(269),P=n.n(E),R=n(270),_=n.n(R),T=n(271),x=n.n(T),A=n(272),L=n.n(A),j=n(273),N=n.n(j),I=n(274),D=n.n(I),U=n(275),M=n.n(U),F=n(276),V=n.n(F),H=n(277),z=n.n(H),B=n(278),q=n.n(B),W=n(279),J=n.n(W),G=n(280),Y=n.n(G),K=n(281),Q=n.n(K),Z=n(282),X=n.n(Z),$=n(283),ee=n.n($),te=n(284),ne=n.n(te),re=(n(285),n(286)),oe=n.n(re),ie=n(287),ae=n.n(ie),ce=n(288),ue=n.n(ce),se=(n(289),n(290),n(291)),le=n.n(se),fe=n(292),pe=n.n(fe),he=n(293),de=n.n(he),ye=n(294),ve=n.n(ye),ge=n(295),me=n.n(ge),be=n(296),we=n.n(be),Se=(n(297),n(298)),Ce=n.n(Se),Oe=n(299),ke=n.n(Oe),Ee=n(300),Pe=n.n(Ee),Re=n(301),_e=n.n(Re),Te=n(302),xe=n.n(Te),Ae=n(303),Le=n.n(Ae),je=n(304),Ne=n.n(je),Ie=(n(305),n(306)),De=n.n(Ie),Ue=n(307),Me=n.n(Ue),Fe=n(308),Ve=n.n(Fe),He=n(309),ze=n.n(He),Be=n(310),qe=n.n(Be),We=n(311),Je=n.n(We),Ge=n(312),Ye=n.n(Ge),Ke=n(313),Qe=n.n(Ke),Ze=n(314),Xe=n.n(Ze),$e=n(315),et=n.n($e),tt=n(316),nt=n.n(tt),rt=n(317),ot=n.n(rt),it=n(318),at=n.n(it),ct=n(319),ut=n.n(ct),st=n(320),lt=n.n(st),ft=n(321),pt=n.n(ft),ht=(n(322),n(323),n(324),n(325)),dt=n.n(ht),yt=(n(326),n(327),n(328),n(329),n(330)),vt=n.n(yt),gt=n(331),mt=n.n(gt),bt=(n(332),n(333),n(334),n(335)),wt=n.n(bt),St=n(336),Ct=n.n(St),Ot=n(337),kt=n.n(Ot),Et=n(338),Pt=n.n(Et),Rt=n(339),_t=n.n(Rt),Tt=n(340),xt=n.n(Tt),At=n(341),Lt=n.n(At),jt=(n(342),n(343),n(344),n(345)),Nt=n.n(jt),It=n(346),Dt=n.n(It),Ut=[u.a,p.a,d.a,v.a,C.a,k.a,P.a,_.a,w.a,l.a,x.a,L.a,N.a,D.a,M.a,m.a,V.a,z.a,q.a,J.a,ne.a,Y.a,Q.a,X.a,ee.a,oe.a,de.a,et.a,ot.a,nt.a,pt.a,at.a,ut.a,lt.a,_e.a,Le.a,xe.a,ae.a,ue.a,ke.a,Pe.a,Ce.a,le.a,ve.a,Me.a,Ve.a,me.a,we.a,ze.a,pe.a,De.a,qe.a,Je.a,Ne.a,Ye.a,Xe.a,Qe.a,vt.a,mt.a,dt.a,kt.a,Ct.a,wt.a,Pt.a,xt.a,_t.a,Lt.a,Dt.a,Nt.a];function Mt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.AddToPlaylists="add-to-playlist",e.Caret="caret",e.Delete="delete",e.Edit="edit",e.NoEdit="no-edit",e.Close="close",e.Folder="folder",e.Resources="resources",e.More="more",e.Bell="bell",e.Plus="plus",e.Search="search",e.Share="share",e.Share2="share2",e.Upload="upload",e.Preview="preview",e.CircleCheck="circle-check",e.Down="down",e.Right="right",e.UpDown="up-down",e.ChevronUp="chevron-up",e.ChevronDown="chevron-down",e.ChevronLeft="chevron-left",e.ChevronRight="chevron-right",e.VisibleOff="visible-off",e.VisibleOn="visible-on",e.PublisherArchive="publisher-archive",e.Play="play",e.PlayCircle="play-circle",e.ArrowLeft="arrow-left",e.CheckCircleOutline="check-circle-o",e.CheckCircle="check-circle",e.Check="check",e.Lock="lock",e.Link="link",e.Info="info",e.Question="question",e.Star="star",e.StarOutline="star-o",e.Archive="archive",e.Warning="warning",e.WarningOutline="warning-o",e.NewWindow="new-window",e.File="file",e.FilePDF="file-pdf",e.FileExcel="file-excel",e.FilePowerpoint="file-ppt",e.FileWord="file-word",e.FileImg="file-img",e.FileZip="file-zip",e.Enter="enter",e.Calendar="calendar",e.CloseCaption="close-caption",e.CloseCaptionBadge="close-caption-badge",e.Playlist="playlist",e.Handle="handle",e.Subject="subject",e.Series="series",e.EditClickView="edit-clickview",e.Heart="heart",e.HeartOutline="heart-outline",e.WhiteWave="white-wave",e.Cog="cog",e.Video="video",e.Compass="compass",e.History="history",e.Tag="tag",e.Email="email",e.YearLevel="year-level",e.Subjects="subjects"}(r||(r={}));var Ft;function Vt(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}a.extend(i.config,{autoReplaceSvg:!1,autoAddCss:!1,familyPrefix:"cv",autoA11y:!0,observeMutations:!1,replacementClass:"cv-svg",keepOriginalSource:!1}),(o=i.library).add.apply(o,function(e){if(Array.isArray(e))return Mt(e)}(Ft=Ut)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(Ft)||function(e,t){if(e){if("string"==typeof e)return Mt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Mt(e,t):void 0}}(Ft)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n.d(t,"a",(function(){return Ht})),n.d(t,"b",(function(){return zt}));var Ht=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"getSvg",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.faIconLookup(e,t),r=this.getIcon(n,t);if(r&&(!r||r.html.length))return r.html.pop()}},{key:"getIcon",value:function(e,t){return i.icon(e,t.iconOptions||{})}},{key:"faIconLookup",value:function(e,t){var n=t.prefix,r=void 0===n?"cv":n;return i.findIconDefinition({prefix:r,iconName:e})}}])&&Vt(t.prototype,n),r&&Vt(t,r),e}().Instance,zt=r},function(e,t,n){"use strict";var r=n(185);n.d(t,"a",(function(){return r}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"}},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var r={CONFIG:"config:data:service",USER:"user:data:service",LANGUAGE:"language:data:service",LIBRARY:"library:data:service",SEARCH:"search:data:service",SERIES:"series:data:service",NOTIFICATIONS:"notifications:data:service",NOTIFICATIONS_SOCKET:"notifications:socket:service"},o={PENDING_ITEMS:"pending:items:service",VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",CONTEXTUAL_SEARCH:"contextual:search:service"},i={NOTIFICATIONS:"notifications:application"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"c",(function(){return u})),n.d(t,"f",(function(){return s})),n.d(t,"g",(function(){return l})),n.d(t,"h",(function(){return f})),n.d(t,"e",(function(){return p})),n.d(t,"d",(function(){return h})),n.d(t,"b",(function(){return d}));var r=n(6),o=n(100),i=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{u(r.next(e))}catch(e){i(e)}}function c(e){try{u(r.throw(e))}catch(e){i(e)}}function u(e){e.done?o(e.value):new n((function(t){t(e.value)})).then(a,c)}u((r=r.apply(e,t||[])).next())}))},a=function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}},c=function(){function e(){}return e.isRequired=function(e,t){if(null==e)throw new Error("The '"+t+"' argument is required.")},e.isIn=function(e,t,n){if(!(e in t))throw new Error("Unknown "+n+" value: "+e+".")},e}(),u=function(){function e(){}return Object.defineProperty(e,"isBrowser",{get:function(){return"object"==typeof window},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isWebWorker",{get:function(){return"object"==typeof self&&"importScripts"in self},enumerable:!0,configurable:!0}),Object.defineProperty(e,"isNode",{get:function(){return!this.isBrowser&&!this.isWebWorker},enumerable:!0,configurable:!0}),e}();function s(e,t){var n="";return l(e)?(n="Binary data of length "+e.byteLength,t&&(n+=". Content: '"+function(e){var t=new Uint8Array(e),n="";return t.forEach((function(e){n+="0x"+(e<16?"0":"")+e.toString(16)+" "})),n.substr(0,n.length-1)}(e)+"'")):"string"==typeof e&&(n="String data of length "+e.length,t&&(n+=". Content: '"+e+"'")),n}function l(e){return e&&"undefined"!=typeof ArrayBuffer&&(e instanceof ArrayBuffer||e.constructor&&"ArrayBuffer"===e.constructor.name)}function f(e,t,n,o,c,u,f){return i(this,void 0,void 0,(function(){var i,p,h,d,y;return a(this,(function(a){switch(a.label){case 0:return c?[4,c()]:[3,2];case 1:(h=a.sent())&&((i={}).Authorization="Bearer "+h,p=i),a.label=2;case 2:return e.log(r.a.Trace,"("+t+" transport) sending data. "+s(u,f)+"."),d=l(u)?"arraybuffer":"text",[4,n.post(o,{content:u,headers:p,responseType:d})];case 3:return y=a.sent(),e.log(r.a.Trace,"("+t+" transport) request complete. Response status: "+y.statusCode+"."),[2]}}))}))}function p(e){return void 0===e?new d(r.a.Information):null===e?o.a.instance:e.log?e:new d(e)}var h=function(){function e(e,t){this.subject=e,this.observer=t}return e.prototype.dispose=function(){var e=this.subject.observers.indexOf(this.observer);e>-1&&this.subject.observers.splice(e,1),0===this.subject.observers.length&&this.subject.cancelCallback&&this.subject.cancelCallback().catch((function(e){}))},e}(),d=function(){function e(e){this.minimumLogLevel=e,this.outputConsole=console}return e.prototype.log=function(e,t){if(e>=this.minimumLogLevel)switch(e){case r.a.Critical:case r.a.Error:this.outputConsole.error("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Warning:this.outputConsole.warn("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;case r.a.Information:this.outputConsole.info("["+(new Date).toISOString()+"] "+r.a[e]+": "+t);break;default:this.outputConsole.log("["+(new Date).toISOString()+"] "+r.a[e]+": "+t)}},e}()},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=s(e);if(t){var o=s(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return u(this,n)}}function u(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return l}));var l=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}(s,e);var t,n,r,u=c(s);function s(){return o(this,s),u.apply(this,arguments)}return t=s,(n=[{key:"name",get:function(){return"DevError"}}])&&i(t.prototype,n),r&&i(t,r),s}(n(11).a)},,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE"}(r||(r={}))},,function(e,t,n){e.exports={leftNav:"_3jVyN",leftNavExpanded:"Q3CCb",leftNavAnchor:"_3A_-8",leftNavCollapsed:"_2idO9",bgGrey:"jefGP",leftNavText:"_3qbRh",leftNavBottom:"_1OHHF",partialLeftNavItem:"_131rM",iconGrey:"_2C2dq",leftNavIcon:"_13OIc",discover:"_2dE5b",active:"_3209B",playlists:"_2l2O2",myVideos:"_9xxGp",favouritedVideos:"mqsI_",classrooms:"Zgkg3",classroom:"_2K3g7",watchHistory:"ZMi6H",settings:"YTaso",highlightText:"_3uRuV"}},,function(e,t){e.exports=r},,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n(12),o=Object.assign(Object.assign({},r.b),{CombineUploads:"combine:uploads:service"}),i=Object.assign(Object.assign({},r.a),{Settings:"SettingsDataService",FlightUser:"FlightUserDataService"})},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SHOW_POPUP:"show:popup",ROUTE:"route",LOCK_NAV:"lock:nav",UNLOCK_NAV:"unlock:nav",NAV_IS_LOCKED:"navigation:islocked",NAV_UNLOCKED_BY_USER:"navigation:unlocked:by:user",ROUTING_START:"routing:start",ROUTING_END:"routing:end",HAS_ACTIVE_ROUTE:"has:active:route",ROUTE_LOOKUP:"route:look:up",URL_CHANGE:"url:change",ERROR:"error",CURRENT_ROUTE:"route:current"}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SEARCH:"search:app:variables",NOTIFICATIONS:"notifications:app:variables",SUBJECTS:"subjects:app:variables"}},function(e,t){e.exports=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SUBJECT_PLAYLISTS:"subject:playlists",CURRENT_USER:"current:user",WORKSPACE:"workspace",CONFIG:"config",LOCALE:"locale",PHRASES:"phrases",SEARCH_FILTERS:"search:filters",SERIES:"series",NOTIFICATIONS:"notifications",SUGGEST_EDIT:"suggest:edit"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o={debounce:function(e,t,n){return r.debounce(e,t,n)},throttle:function(e,t,n){return r.throttle(e,t,n)},isFunction:function(e){return r.isFunction(e)},useIdentity:function(){return r.identity},memoize:function(e,t){return r.memoize(e,t)}}},,,function(e,t){e.exports=i},function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"a",(function(){return c}));var r,o=(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},function(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=function(e){function t(t,n){var r=this,o=this.constructor.prototype;return(r=e.call(this,t)||this).statusCode=n,r.__proto__=o,r}return o(t,e),t}(Error),a=function(e){function t(t){void 0===t&&(t="A timeout occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return o(t,e),t}(Error),c=function(e){function t(t){void 0===t&&(t="An abort occurred.");var n=this,r=this.constructor.prototype;return(n=e.call(this,t)||this).__proto__=r,n}return o(t,e),t}(Error)},function(e,t,n){"use strict";var r=n(1),o=n(2),i=n(19),a=n(3),c=n(16),u=n(190);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=new(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(a,e);var t,n,r,i=h(a);function a(){var e;return l(this,a),(e=i.apply(this,arguments)).contextHistory=[],e}return t=a,r=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(c.a.SHELL,o.a.EventNames.ROUTE,this.setContext)}},{key:"setContext",value:function(e){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return u.a.Context}}])&&f(t.prototype,n),r&&f(t,r),a}(o.a.Service)),g=n(126);function m(){var e=v.getCurrentContext().appLink;return r.isObject(e)||o.a.ErrorHelper.throw(new i.a("Applink does not exist. Check current context.")),e.application.replace(":","-")}function b(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.location,n=e.entity,r=e.workflowPhase,a=void 0===r?null:r,c=e.descriptor,u=void 0===c?null:c;return t||o.a.ErrorHelper.throw(new i.a("location must be set.")),n||o.a.ErrorHelper.throw(new i.a("entity must be set.")),{productArea:m(),location:t,entity:n,descriptor:u,workflowPhase:a}}function w(){return o.a.LocationUtils.GetCurrentPath()+o.a.LocationUtils.GetCurrentQueryString()}n.d(t,"a",(function(){return S}));var S={logUserAction:function(e,t){if(function(e){return!(!r.isArray(e)||!r.every(e,(function(e){return r.isObject(e)})))||!!r.isObject(e)}(e)&&r.isObject(t)){var n=S.buildUserActionEvent(t),o=n.userAction,i=n.action,a=n.eventVersion;g.a.log(o,e,i,a)}},logNavigate:function(e,t){var n=Object.assign({currentLocation:w(),appLink:e},t);g.a.log(a.n.Navigate,n)},mergeOptions:function(e,t){return r.extend({},e,t)},buildActionContext:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(e)},buildUserActionEvent:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.actionType,n=e.eventVersion,r=t,o=b(e);return{userAction:r,action:o,eventVersion:n}},buildCurrentLocation:function(){return w()},buildSearchEvent:function(e,t){return{data:{query:e},action:b({entity:a.d.Video,location:a.j.SearchBar,descriptor:t})}},buildInstantSearchEvent:function(e,t,n){var r;n===a.l.Series&&(r=a.d.Series),n===a.l.Folder&&(r=a.d.Folder),n===a.l.Tags&&(r=a.d.Tag),n===a.l.Video&&(r=a.d.Video);var o={instant:{},query:e};return t.id&&(o.instant.selectedId=t.id),t.name&&(o.instant.selectedName=t.name),{data:o,action:b({entity:r,location:a.j.SearchBar})}},mapInteractionType:function(e){switch(e){case a.h.DragDrop:return a.i.DragDrop;case a.h.FileSelect:return a.i.FileSelect;default:return}}}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(9);function o(e,t,n,o){var i=e;return"string"==typeof e&&(i=r.Radio.channel(e)),o.call(this,i,t,n)}},function(e,t,n){"use strict";n.d(t,"b",(function(){return p})),n.d(t,"a",(function(){return d}));var r=n(1),o=n(9),i=n(78),a=n(16),c=n(29),u=/((\(\?)?:\w+)|(\*\w+)/,s=/[\(\)]/g,l=/\(\/\)/g,f=/\/$/,p={routingStarted:function(){o.Radio.channel(a.a.SHELL).trigger(c.a.ROUTING_START)},routingEnded:function(){p.hasActiveRoute()&&o.Radio.channel(a.a.SHELL).trigger(c.a.ROUTING_END)},hasActiveRoute:function(){return o.Radio.channel(a.a.SHELL).request(c.a.HAS_ACTIVE_ROUTE)}},h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.usedHelper=!0;var n=e.application,r=e.action;o.Radio.channel(n).trigger(r,e,t)},d={getHref:function(e){if(!e)return"";var t=e.application,n=e.action,r=e.args,i=e.params,u=o.Radio.channel(a.a.SHELL);return"/".concat(u.request(c.a.ROUTE_LOOKUP,"".concat(t,":").concat(n),r,i))},buildRoute:function(e,t){if(!t)return e;var n=t.args,o=t.params;if(r.each(n,(function(t){e=e.replace(u,t||"")})),e=(e=(e=e.replace(l,"")).replace(s,"")).replace(f,""),!o)return e;var a=i.a.SerializeQueryParams(o);return a.length?"".concat(e,"?").concat(a):e},trigger:function(e,t){e&&(p.hasActiveRoute()?o.Radio.channel(a.a.SHELL).once("routing:end",(function(){h(e,t)})):h(e,t))},getCurrentAppLink:function(){return o.Radio.channel(a.a.SHELL).request(c.a.CURRENT_ROUTE)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={UPLOAD_COMPLETE:"upload:complete",FILES_SELECTED:"files:selected",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",PENDING_ITEM_READY_TO_WATCH:"pending:item:ready:to:watch",PENDING_ITEM_STATUS_CHANGE:"pending:item:status:change",PROCESSING_CANCELLED:"processing:cancelled",UNLOCK_NAV:"upload:unlock:nav"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(192),o="categories{libraries.typeid:".concat(r.a.CustomMediaObjectCollection,"}"),i={VIDEO_COLLECTION:"series,season,rating,thumbnail,".concat(o,",libraries,tags,clips{limit:100},")+"interactives{limit:1},subtitles{limit:1},resources{limit:1},links{limit:1}",SHARED_PLAYLIST_VIDEO_COLLECTION:"series,season,rating,thumbnail,".concat(o,",libraries,tags,clips{limit:100},")+"interactives{limit:100},subtitles{limit:1},resources{limit:1},links{limit:1}",SERIES:"tallposter,rating",FOLDER:"banner,thumbnail",CLASSIFICATION:"banner,cover",PLAYLIST:"cover,banner,owner,videos[thumbnail,count()]{orderby:orderindex,limit:1},followers[count()]{limit:0}",PLAYLIST_COLLECTION:"videos[thumbnail,count()]{orderby:orderindex,limit:1},thumbnail,cover,owner[avatar],subjectpresentationaudiences"},a={SubjectPresentationActiveAudienceFilter:function(e){return"subjectpresentationaudiences.id:[".concat(e.join(","),"]")},SubjectPresentationAudienceFilter:function(e){return"subjectpresentationaudiences{presentationId:".concat(e,"}")},ClassificationWithFollowersAndMemberCount:function(e){return i.CLASSIFICATION+",followers{id:".concat(e,"},videos[count()]{limit:0}")+",playlists[count()]{limit:0},series[count()]{limit:0}"}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var r=n(1),o=n(414),i=n.n(o),a=/&/g,c=/[\W]+/g,u=/\s+/g,s={className:"info-link"},l={escapeExpression:function(e){return window.Handlebars.escapeExpression(e)},escapeRegExp:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify:function(e){if(e)return e.toLowerCase().replace(a,"and").replace(c," ").trim().replace(u,"-").substr(0,80)},linkifyText:function(e,t){if(e){var n=t?r.extend({},s,t):s;return i()(e,n)}},isEqual:function(e,t){return!!e&&!!t&&e.toString()===t.toString()},toTitleCase:function(e){return e.split(" ").map((function(e){return(e[0]?e[0].toUpperCase():"")+(e.substr(1)?e.substr(1).toLowerCase():"")})).join(" ")}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"c",(function(){return o})),n.d(t,"b",(function(){return m}));var r,o,i=n(1),a=n(9),c=n(121),u=n(72),s=n(54),l=n(16),f=n(52);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=g(e);if(t){var o=g(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}!function(e){e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info"}(r||(r={})),function(e){e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI"}(o||(o={}));var m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(s,e);var t,n,r,o=y(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),o.call(this,e)}return t=s,(n=[{key:"initialize",value:function(){this.alertCollection=new c.a,this.listenTo(l.a.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}},{key:"showAlerts",value:function(){var e=a.Radio.channel(l.a.ALERT),t={collection:this.alertCollection};this.options.alertViewCtor&&(t=i.extend({},t,{ctor:this.options.alertViewCtor})),e.trigger("show:alert",t)}},{key:"removeAlert",value:function(e){this.alertCollection.remove(e),this.showAlerts()}},{key:"createAlert",value:function(e){this.alertCollection.length===this.options.maxAlerts&&this.alertCollection.shift(),e.id||(e=i.extend({},e,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new u.a(e)),this.showAlerts()}},{key:"clearAllAlerts",value:function(){this.alertCollection.reset(null)}},{key:"success",value:function(e){var t=this;return"string"==typeof e?i.bind((function(){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,{message:e}))}),this):e.useXHR?i.bind((function(e,n){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,{message:n}))}),this):i.bind((function(){return t.createAlert(i.extend({},t.options.defaultSuccessAlert,e))}),this)}},{key:"error",value:function(e){var t=this;return"string"==typeof e?i.bind((function(){return t.createAlert(i.extend({},t.options.defaultErrorAlert,{message:e}))}),this):e.useXHR?i.bind((function(e){return t.createAlert(i.extend({},t.options.defaultErrorAlert,{message:e.message}))}),this):i.bind((function(){return t.createAlert(i.extend({},t.options.defaultErrorAlertIL_DEFAULT,e))}),this)}},{key:"generateUniqueAlertId",value:function(){return i.uniqueId("alert_")}},{key:"name",get:function(){return f.a.ALERT}},{key:"defaults",get:function(){return{maxAlerts:3}}}])&&h(t.prototype,n),r&&h(t,r),s}(s.a)},,function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.ExchangeVideoAvailable="exchange-video-available",e.WorkspaceVideoAvailable="workspace-video-available",e.Marketing="marketing",e.EditedVideoAvailable="edited-video-available",e.VideoRequestAvailable="pay-tv-video-available",e.VideoRequestDenied="pay-tv-video-denied",e.VideoReviewReminder="term-update-review-reminder",e.VideoReviewAddedToLibrary="term-update-review-videos-added-to-library",e.CustomLibraryVideoAvailable="custom-library-video-available",e.VideoProcessingFailed="video-processing-failed",e.StaffRequest="new-staff-request",e.StaffRequestFulfilled="staff-request-fulfilment",e.ChapterMergeSuccess="media-concatenate-success",e.SuggestEdit="suggest-an-edit"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(2),i=n(40);function a(e){var t=e.appLink,n=e.className,a=e.children,c=e.tag,u=void 0===c?"a":c;if(!t)return r.createElement("span",{className:n||""},a);var s=o.a.AppLinkHelper.getHref(t),l=e.onClick;l||(l=function(n){n.preventDefault(),e.analyticsData&&e.analyticsOptions&&i.a.logUserAction(Object.assign({href:s},e.analyticsData),e.analyticsOptions),o.a.AppLinkHelper.trigger(t)});var f={onClick:l,href:s,className:n};return r.createElement(u,Object.assign({},f),a)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={ALERT:"AlertService",SCROLL:"ScrollService",LANGUAGE:"LanguageService"}},,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(38),o=n(42),i=n(11);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,e);var t,n,r,a=l(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=a.call(this,e)).name||i.c.throw(new i.b("Your service must be named.")),t}return t=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(t.prototype,n),r&&c(t,r),f}(r.Object)},function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return u}));var r,o=n(0),i=n(35),a=n(13),c=n(156);function u(e){var t=e.svgName,n=e.className,u=void 0===n?"d-inline-block svg-container":n,s=e.tagName,l=void 0===s?"span":s,f=e.size,p=void 0===f?r.Standard:f,h=e.onClick,d=e.title,y=e.tooltipPlacement,v=void 0===y?"right":y,g=l,m={dangerouslySetInnerHTML:{__html:a.a.getSvg(t)},className:"".concat(u," ").concat(p),onClick:i.a.isFunction(h)?h:null};return d?o.createElement(c.a,{title:d,placement:v},o.createElement(g,Object.assign({},m))):o.createElement(g,Object.assign({},m))}!function(e){e.Standard="std",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg"}(r||(r={}))},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(1),o={isEmpty:function(e){return r.isEmpty(e)},values:function(e){return r.values(e)},keys:function(e){return r.keys(e)},deepClone:function(e){return(r.isArray(e)?r.map:r.mapObject)(e,(function(e){return r.isObject(e)||r.isArray(e)?o.deepClone(e):e}))},getEnumKeys:function(e){return Object.keys(e).filter((function(e){return!(parseInt(e)>=0)}))},isObject:function(e){return r.isObject(e)},isEqual:function(e,t){return r.isEqual(e,t)},omit:function(e,t){return r.omit(e,t)}}},,,function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(1),o=n(9),i=n(54),a=n(11),c=n(19);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return l(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?y(e):t}function y(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(l,e);var t,n,i,u=h(l);function l(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),t=u.call(this,e),r.result(y(t),"name")||a.c.throw(new c.a("Must provide a name when extending BaseDataService")),r.result(y(t),"channelName")||a.c.throw(new c.a("Must provide a channelName for ".concat(r.result(y(t),"name"))));var n=[].concat(s(t.defaultProps),s(t.props||[]));return t.dataRequestSignatures={},t.mergeOptions(e,n),t}return t=l,(n=[{key:"getCursors",value:function(e){var t=this.cache.get(e);return t?t.cursors:{}}},{key:"clearCacheAndGet",value:function(e){var t=this,n=e.callback,o=e.errorCallback,i=e.eventPrefix,a=this.getEventNames(i),c=a.syncEvent,u=a.errorEvent,s=this.cache.get(i);if(s&&s.openRequest)return this.listenToOnce(this.getChannel(),c,(function(e){r.isFunction(o)&&t.stopListening(t.getChannel(),u,o),r.isFunction(n)&&n(e)})),void this.listenToOnce(this.getChannel(),u,(function(){r.isFunction(n)&&t.stopListening(t.getChannel(),c,n),r.isFunction(o)&&o()}));this.cache.remove(e.eventPrefix),this.get(e)}},{key:"get",value:function(e){var t=this,n=e.callback,o=e.errorCallback,i=e.eventPrefix,a=e.resource,c=e.formatData,u=e.expiryTime,s=e.successHandler,l=e.errorHandler,f=e.bootstrapName,p=this.getEventNames(i),h=p.syncEvent,d=p.requestEvent,y=p.successEvent,v=p.errorEvent,g=this.getChannel(),m=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[f]&&(this.cacheData(i,this.bootstrapData[f],c,{openRequest:!1,timestamp:m}),delete this.bootstrapData[f]);var b,w=this.cache.get(i);w&&(b=w.data);var S=w&&w.openRequest,C=this.isExpired(i,u);if(S&&(this.listenToOnce(g,h,(function(e){r.isFunction(o)&&t.stopListening(t.getChannel(),v,o),r.isFunction(n)&&n(e)})),this.listenToOnce(g,v,(function(){r.isFunction(n)&&t.stopListening(t.getChannel(),h,n),r.isFunction(o)&&o()}))),this.cache.has(i)&&!C||(g.trigger(d),this.listenToResponse({eventPrefix:i,formatData:c,cacheOptions:{timestamp:m},callback:n,errorCallback:o,successHandler:s,errorHandler:l}),this.cacheData(i,null,null,{openRequest:!0,timestamp:m}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:y,errorEvent:v})),b&&r.isFunction(n)&&!C&&n(b),b)return b}},{key:"create",value:function(e){var t=e.eventPrefix,n=e.resource,r=e.data,o=e.formatData,i=e.callback,a=e.errorCallback,c=e.invalidationKeys,u=e.successHandler,s=e.errorHandler,l=this.getEventNames(e.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,d=this.getChannel(),y=this.getTransportChannel();d.trigger(f),this.listenToResponse({eventPrefix:t,formatData:o,invalidationKeys:c,callback:i,errorCallback:a,successHandler:u,errorHandler:s}),this.dataProvider.create(n,r,{channel:y,successEvent:p,errorEvent:h})}},{key:"update",value:function(e){var t=e.data,n=e.callback,r=e.errorCallback,o=e.resource,i=e.formatData,a=e.eventPrefix,c=e.invalidationKeys,u=e.errorHandler,s=e.successHandler,l=this.getEventNames(e.eventPrefix),f=l.requestEvent,p=l.successEvent,h=l.errorEvent,d=this.getChannel(),y=this.getTransportChannel();d.trigger(f),this.listenToResponse({eventPrefix:a,formatData:i,invalidationKeys:c,callback:n,errorCallback:r,successHandler:s,errorHandler:u}),this.dataProvider.update(o,t,{channel:y,successEvent:p,errorEvent:h})}},{key:"delete",value:function(e){var t=e.eventPrefix,n=e.resource,r=e.callback,o=e.errorCallback,i=e.invalidationKeys,a=e.successHandler,c=e.errorHandler,u=this.getEventNames(t),s=u.successEvent,l=u.errorEvent,f=this.getTransportChannel();this.listenToResponse({eventPrefix:t,invalidationKeys:i,callback:r,errorCallback:o,cacheOptions:{noCache:!0,clearCacheKey:!0},successHandler:a,errorHandler:c}),this.dataProvider.delete(n,{channel:f,successEvent:s,errorEvent:l})}},{key:"listenToResponse",value:function(e){var t=this,n=e.eventPrefix,o=e.formatData,i=e.callback,a=e.errorCallback,c=e.successHandler,u=e.errorHandler,s=e.invalidationKeys,l=e.cacheOptions,f=void 0===l?{}:l,p=this.getEventNames(n),h=p.syncEvent,d=(p.requestEvent,p.successEvent),y=p.errorEvent,v=p.successAlertEvent,g=p.errorAlertEvent,m=this.getChannel(),b=this.getTransportChannel(),w=this.getAlertChannel();r.isFunction(i)&&this.listenToOnce(m,h,i),r.isFunction(a)&&this.listenToOnce(m,y,a),this.stopListening(w,v),this.stopListening(w,g),r.isFunction(c)&&this.listenToOnce(w,v,c),r.isFunction(u)&&this.listenToOnce(w,g,u),!r.isFunction(u)&&!1!==u&&r.isFunction(this.defaultErrorHandler)&&this.listenToOnce(w,g,this.defaultErrorHandler),this.hasRequestSignature(n)||(this.setRequestSignature(n),this.listenTo(b,d,(function(e){t.stopListening(m,y,a);for(var r=arguments.length,i=new Array(r>1?r-1:0),c=1;c<r;c++)i[c-1]=arguments[c];w.trigger.apply(w,[v,e].concat(i));var u=f.noCache?t.formatData(e,o):t.cacheData(n,e,o);f.clearCacheKey&&t.cache.remove(n),m.trigger(h,u),s&&s.length&&t.cache.invalidate(s,(function(e){return m.trigger("".concat(e,":invalidate"))}))})),this.listenTo(b,y,(function(){var e;t.stopListening(m,h,i);var r=(e=t.dataProvider).parseError.apply(e,arguments);w.trigger(g,r),m.trigger(y,r),f.noCache||t.cacheData(n,null,null)})))}},{key:"cacheData",value:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.openRequest,i=void 0!==o&&o,a=r.timestamp;a||(a=this.currentTimestamp());var c=this.processPagination(t),u=this.formatData(t,n);return this.cache.set(e,{data:u,timestamp:a,cursors:c,openRequest:i}),u}},{key:"processPagination",value:function(e){if(e){var t=e.pagination;if(t)return t.cursors?t.cursors:r.isUndefined(t.offset)||r.isUndefined(t.pageSize)?t.page?this.convertLegacyPaginationToCursors(t):void 0:this.convertOffsetPaginationToCursors(t)}}},{key:"formatData",value:function(e,t){return r.isFunction(t)?t(e):e}},{key:"chain",value:function(){var e=this,t=[],n=function(e,t){r.isFunction(e)&&e(t)},o=function(r,o){return t.push((function(){var i=r.callback;r.callback=function(e){n(i,e),n(t.shift())},e[o](r)})),i},i={func:function(e){return t.push((function(){e(t.shift()||function(){})})),i},get:function(e){return o(e,"get")},create:function(e){return o(e,"create")},update:function(e){return o(e,"update")},delete:function(e){return o(e,"delete")},run:function(){n(t.shift())}};return i}},{key:"invalidateCache",value:function(e){e&&e.length&&this.cache.invalidate(e)}},{key:"currentTimestamp",value:function(){return(new Date).valueOf()}},{key:"isExpired",value:function(e,t){if(!t)return!1;var n=this.cache.get(e);if(!n||!n.timestamp)return!0;var r=1e3*t;return n.timestamp<this.currentTimestamp()-r}},{key:"getEventNames",value:function(e){return{syncEvent:"".concat(e,":sync"),requestEvent:"".concat(e,":request"),successEvent:"".concat(e,":success"),errorEvent:"".concat(e,":error"),successAlertEvent:"".concat(e,":success:alert"),errorAlertEvent:"".concat(e,":error:alert")}}},{key:"getTransportChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":transport"))}},{key:"getAlertChannel",value:function(){return o.Radio.channel("".concat(this.channelName,":alert"))}},{key:"setRequestSignature",value:function(e){this.dataRequestSignatures[e]=e}},{key:"hasRequestSignature",value:function(e){return!!this.dataRequestSignatures[e]}},{key:"convertOffsetPaginationToCursors",value:function(e){var t=e.offset,n=e.pageSize,o=e.totalItems,i=o>0&&t<o&&t+n,a=o>0&&t>0&&Math.max(t-n,0),c={};if(i&&i<o&&(c.next=i.toString()),r.isNumber(a)&&(c.previous=a.toString()),!r.isEmpty(c))return c}},{key:"convertLegacyPaginationToCursors",value:function(e){var t=e.page,n=e.totalPages,o=r.isNumber(t)&&t>0&&t<n&&t+1,i=r.isNumber(t)&&t>1&&t-1,a={};if(o&&o<=n&&(a.next=o.toString()),i&&(a.previous=i.toString()),!r.isEmpty(a))return a}},{key:"defaultProps",get:function(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}}])&&f(t.prototype,n),i&&f(t,i),l}(i.a)},function(e,t){e.exports=a},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(1),o=n(112),i=n(19),a=n(54),c=n(72),u=n(145),s=n(11);function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==l(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(d,e);var t,n,a,l=h(d);function d(){var e;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),(e=l.call(this)).viewObjects={},e}return t=d,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"updateViewModel",value:function(e,t){var n=this.mergeData(t,e.toJSON());return e instanceof u.a&&e.set(n,{silent:!0}),e instanceof c.a&&!(e instanceof u.a)&&e.set(n,{silent:!0}),e}},{key:"get",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.update,o=void 0!==r&&r,i=this.viewObjects[e];if(i&&o)return this.updateViewModel(i,t);if(i)return i;var a=this.getLocalData(e,n);return this.set(e,t,a,n)}},{key:"set",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=arguments.length>3?arguments[3]:void 0,o=r.ctor,i=r.storage,a=this.mergeData(t,n),u=o?new o(a):new c.a(a);return this.viewObjects[e]=u,i&&!n?(this.setLocalData(e,u,null,r),this.setupChangeListeners(e,u,r)):i&&n&&this.setupChangeListeners(e,u,r),u}},{key:"clear",value:function(e){var t=this.viewObjects[e];return!!t&&(this.stopListening(t),t.trigger("destroy"),delete this.viewObjects[e],!0)}},{key:"getLocalData",value:function(e,t){var n=t.storage;if(n)return this.getStorageHelper(n.type).get(e)}},{key:"setLocalData",value:function(e,t,n,r){var o,i=r.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),t instanceof c.a&&(o=t.pick(i.persistProps)),this.getStorageHelper(i.type).set(e,o))}},{key:"setupChangeListeners",value:function(e,t,n){var o=this,i=n.storage;!i||i&&!i.persistProps||("string"==typeof i.persistProps&&(i.persistProps=[i.persistProps]),r.each(i.persistProps,(function(i){o.listenTo(t,"change:".concat(i),r.partial(o.setLocalData,e,r,r,n))})))}},{key:"mergeData",value:function(e,t){return t?r.isObject(e)&&r.isObject(t)?r.extend(e,t):void s.c.throw(new i.a("defaultValues and existingData are not of the same datatype and cannot be merged")):e}},{key:"getStorageHelper",value:function(e){switch(e){case o.c.LocalStorage:return o.a;case o.c.SessionStorage:return o.b}}},{key:"name",get:function(){return"ViewModelService"}}])&&f(t.prototype,n),a&&f(t,a),d}(a.a).Instance},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SHORT:120,STANDARD:600}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(5),o=n(10);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={getDiscoverAppLinks:function(){var e=r.a.DASHBOARD;return Object.keys(o.a.Dashboard).map((function(t){return{application:e,action:o.a.Dashboard[t]}}))},getPlaylistAppLinks:function(){var e=r.a.PLAYLISTS;return Object.keys(o.a.Playlists).map((function(t){return{application:e,action:o.a.Playlists[t]}}))},getMyVideosAppLinks:function(){var e=r.a.UPLOAD,t=Object.keys(o.a.Upload).map((function(t){return{application:e,action:o.a.Upload[t]}}));return t.push({application:r.a.DEFAULT,action:o.a.Default.MY_VIDEOS}),t},getFavouritedVideosAppLinks:function(){return[{application:r.a.DEFAULT,action:o.a.Default.FAVOURITE_VIDEOS}]},getWatchHistoryAppLinks:function(){var e=r.a.WATCH_HISTORY;return Object.keys(o.a.WatchHistory).map((function(t){return{application:e,action:o.a.WatchHistory[t]}}))},getClassroomsAppLinks:function(){return[{application:r.a.CLASSROOMS,action:o.a.Classrooms.HOME}]},getClassroomAppLinks:function(){var e=r.a.CLASSROOMS;return Object.keys(o.a.Classrooms).filter((function(e){return e!==o.a.Classrooms.HOME})).map((function(t){return{application:e,action:o.a.Classrooms[t]}}))},getSettingsAppLinks:function(){var e=Object.keys(o.a.Settings).map((function(e){return{application:r.a.SETTINGS,action:o.a.Settings[e]}}));return[].concat(i(e),[{application:r.a.SUBJECT,action:o.a.Subjects.PREFERENCES}])}}},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(1),o=n(9),i=n(42);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(p,e);var t,n,o,a=f(p);function p(){return c(this,p),a.apply(this,arguments)}return t=p,(n=[{key:"mixin",value:function(e){for(var t in e){if(this.hasOwnProperty(t)){var n=this[t];return void(this[t]=r.extend({},n,e[t]))}this[t]=e[t]}}},{key:"addValidation",value:function(e){this.mixin({validation:e})}},{key:"validate",value:function(e,t){s(h(p.prototype),"validate",this).call(this,e,t)}},{key:"listenTo",value:function(){return i.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],s(h(p.prototype),"listenTo",this))}}])&&u(t.prototype,n),o&&u(t,o),p}(o.Model)},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return c}));var r=n(0),o=n(7),i=n(57),a=r.createContext(""),c=r.memo((function(e){var t=e.phrase,n=e.namespace,i=e.options,c=r.useContext(a),u=n||c,s=o.a.getPhrase(u,t,i);return r.createElement("span",{dangerouslySetInnerHTML:{__html:s}})}),(function(e,t){return e.namespace===t.namespace&&e.phrase===t.phrase&&i.a.isEqual(e.options,t.options)}))},,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},o=function(e,t,n){this.statusCode=e,this.statusText=t,this.content=n},i=function(){function e(){}return e.prototype.get=function(e,t){return this.send(r({},t,{method:"GET",url:e}))},e.prototype.post=function(e,t){return this.send(r({},t,{method:"POST",url:e}))},e.prototype.delete=function(e,t){return this.send(r({},t,{method:"DELETE",url:e}))},e.prototype.getCookieString=function(e){return""},e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var r=n(1),o=n(9),i=n(43),a=n(29),c=n(16),u={GetQuery:function(){return u.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery:function(e){if(e){var t=u.GetQuery(),n=u.SerializeQueryParams(r.extend(t,e));n&&(n="?".concat(n)),u.UpdateUrl("".concat(u.GetCurrentPath()).concat(n),null,{replace:!0,trigger:!1})}},UpdateUrl:function(e,t,n){var r=i.a.buildRoute(e,t);o.history.navigate(r,n),o.Radio.channel(c.a.SHELL).trigger(a.a.URL_CHANGE,t,n)},SerializeQueryParams:function(e){return e?"string"==typeof e?e:$.param(e,!0):""},DeserializeQueryParams:function(e){return e?r.reduce(e.split("&"),(function(e,t){var n=t.split("="),r=n[0],o=n.length>0?decodeURIComponent(n[1]):"";return e[r]?e[r]instanceof Array?(e[r].push(o),e):(e[r]=[e[r],o],e):(e[r]=o,e)}),{}):{}},StartHistory:function(){o.History.started&&o.history.stop(),o.history.start({pushState:!0})},PageLoad:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t?window.open(e,"_blank"):window.location.href=e},Redirect:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=function(){return t?window.location.replace(e):window.location.href=e};i.b.hasActiveRoute()?o.Radio.channel(c.a.SHELL).once("routing:end",n):n()},Reload:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];window.location.reload(e)},GetCurrentPath:function(){return window.location.pathname},GetCurrentQueryString:function(){return window.location.search},GetCurrentUrl:function(){return window.location.href},GetCurrentReferrer:function(){return document.referrer},SetPageTitle:function(e){document.title=e}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(1),o=/\/$/,i={urlBuilder:function(e,t){var n=r.map(t,(function(e,t){return t&&Array.isArray(e)?e.map((function(e){return"".concat(t,"=").concat(encodeURIComponent(e))})).join("&"):t&&void 0!==e?"".concat(t,"=").concat(encodeURIComponent(e)):""})),o=r.reduce(n,(function(e,t){return t?e?"".concat(e,"&").concat(t):t:e}));return o?"".concat(e,"?").concat(o):e},buildFilter:function(e){var t=[];if(e.limit&&t.push("limit:".concat(e.limit)),e.cursor&&t.push("page:".concat(e.cursor)),e.before&&t.push("dateCreated:...".concat(e.before)),t.length)return t.join(",")},makeHttps:function(e){return r.isString(e)?-1===e.indexOf("http://")?e:e=e.replace("http://","https://"):e},safeUrlConcat:function(e,t){if(e){var n=e;return e.endsWith("/")||(n+="/"),t?n+=t.startsWith("/")?t.slice(1):t:n}},removeTrailingSlash:function(e){if("string"==typeof e)return e.replace(o,"")}}},,,function(e,t,n){"use strict";function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}n.d(t,"a",(function(){return o}));var o=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.variables={}}var t,n,o;return t=e,o=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"get",value:function(e){return this.variables[e]}},{key:"setUpVariables",value:function(e){this.variables=e}},{key:"name",get:function(){return"EnvironmentVariables"}},{key:"isDevelopment",get:function(){return this.variables.isDevelopment}}])&&r(t.prototype,n),o&&r(t,o),e}().Instance},function(e,t,n){e.exports={alertItem:"_3ppPT",alertBox:"_2gPqV",alertList:"_1_wrK",icon:"_2gpnl",alertContent:"_1akpi",heading:"_3jnJY"}},function(e,t,n){e.exports={content:"_1SX2l",collapsedNavContent:"_3LJFz",openNavContent:"_34Pt4",hiddenNavContent:"_1gZ0J",mask:"mE2Dq",fixedBottomRightContainer:"Sgmex"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Newest="newest",e.Oldest="oldest",e.RecentlyUpdated="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa"}(r||(r={}))},,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(61),o=n(193),i=function(e,t){var n=Object(r.useDispatch)(),i=Object(r.useSelector)((function(t){return t.viewModelData[e]}));function a(t,r){n({type:o.a.UPDATE,payload:{viewModelKey:e,dataOrKey:t,keyData:r}})}return void 0!==t&&void 0===i&&a(t),[i,a]}},function(e,t){e.exports=c},function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(2),o=n(16),i=n(12);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=new(function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(p,e);var t,n,a,f=l(p);function p(){var e;return c(this,p),(e=f.apply(this,arguments)).routeHistory=[],e.contextHistory=[],e}return t=p,a=[{key:"Instance",get:function(){return this.instance||(this.instance=new this)}}],(n=[{key:"initialize",value:function(){this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.setContext),this.listenTo(o.a.SHELL,r.a.EventNames.ROUTE,this.updateRouteHistory)}},{key:"setContext",value:function(e){this.contextHistory.length>=5&&this.contextHistory.unshift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:e})}},{key:"getCurrentContext",value:function(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}},{key:"getPreviousContext",value:function(){if(this.contextHistory.length&&!(this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}},{key:"updateRouteHistory",value:function(e){(r.a.AppLinkHelper.getHref(e)||"/"===r.a.LocationUtils.GetCurrentPath())&&(this.routeHistory.length>=3&&this.routeHistory.unshift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:e}))}},{key:"getCurrentRoute",value:function(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}},{key:"getPreviousRoute",value:function(){if(this.routeHistory.length&&!(this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}},{key:"fromPageLoad",value:function(){return 1===this.contextHistory.length}},{key:"name",get:function(){return i.b.Context}}])&&u(t.prototype,n),a&&u(t,a),p}(r.a.Service))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={SEARCH_BAR_LOCATION:"search:bar:location",WEB_PLAYER_DATA:"web:player:data",BULK_TEACHER_UPLOAD:"bulk:teacher:upload",BULK_STUDENT_UPLOAD:"bulk:student:upload"}},,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.prototype.log=function(e,t){},e.instance=new e,e}()},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Inlet="event:inlet",e.Outlet="event:outlet"}(r||(r={}))},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Unknown=0]="Unknown",e[e.BadRequest=1]="BadRequest",e[e.Unauthorized=2]="Unauthorized",e[e.Forbidden=3]="Forbidden",e[e.NotFound=4]="NotFound",e[e.InternalServer=5]="InternalServer"}(r||(r={}))},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Received=1]="Received",e[e.Seen=2]="Seen",e[e.Read=3]="Read"}(r||(r={}))},function(e,t){e.exports=u},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Error=-1]="Error",e[e.Processing=1]="Processing",e[e.Completed=2]="Completed"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=function(){function e(){}return e.write=function(t){return""+t+e.RecordSeparator},e.parse=function(t){if(t[t.length-1]!==e.RecordSeparator)throw new Error("Message is incomplete.");var n=t.split(e.RecordSeparator);return n.pop(),n},e.RecordSeparatorCode=30,e.RecordSeparator=String.fromCharCode(e.RecordSeparatorCode),e}()},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){var t=o(Object(r.useState)(window.matchMedia(e).matches),2),n=t[0],i=t[1];return Object(r.useEffect)((function(){var t=window.matchMedia(e);t.matches!==n&&i(t.matches);var r=function(){return i(t.matches)};return t.addListener(r),function(){return t.removeListener(r)}}),[e]),n}},,,,,function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&i(e,t)}function i(e,t){return(i=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function a(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=u(e);if(t){var o=u(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==r(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function f(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),e}var p;n.d(t,"c",(function(){return p})),n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return g})),function(e){e.LocalStorage="localStorage",e.SessionStorage="sesstionStorage"}(p||(p={}));var h=function(){function e(t){s(this,e),this.cachePrefix="_cv:",this.expireTime=3600,this.hasSupport=this.hasBrowserSupport(),this.type=t.type,this.hasSupport&&(this.storage=window[this.type])}return f(e,[{key:"get",value:function(e){if(this.hasSupport){var t=this.storage.getItem(e);try{return JSON.parse(t)}catch(e){return t}}}},{key:"set",value:function(e,t){if(this.hasSupport)try{return this.storage.removeItem(e),"string"!=typeof t?(this.storage.setItem(e,JSON.stringify(t)),!0):(this.storage.setItem(e,t),!0)}catch(e){return!1}}},{key:"remove",value:function(e){if(this.hasSupport)return this.storage.removeItem(e)}},{key:"length",value:function(){if(this.hasSupport)return this.storage.length}},{key:"clear",value:function(){if(this.hasSupport)return this.storage.clear()}},{key:"cacheSet",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.expireTime;this.cacheClean();var r={time:this.getCurrentTime()+1e3*n,data:null!=t&&t};return this.set("".concat(this.cachePrefix).concat(e),r)}},{key:"cacheGet",value:function(e){var t="".concat(this.cachePrefix).concat(e),n=this.get(t);return n?this.isExpired(n)?(this.remove(t),null):n.data:null}},{key:"cacheExists",value:function(e){var t="".concat(this.cachePrefix).concat(e),n=this.get(t);return!!n&&(!this.isExpired(n)||(this.remove(t),!1))}},{key:"cacheRemove",value:function(e){return this.remove("".concat(this.cachePrefix).concat(e))}},{key:"cacheFlush",value:function(){this.cacheClean()}},{key:"cacheClean",value:function(){if(this.hasSupport)for(var e=0;e<this.storage.length;e++){var t=this.storage.key(e);if(0===t.indexOf(this.cachePrefix)){var n=this.get(t);n&&n.time&&this.isExpired(n)&&this.remove(t)}}}},{key:"isExpired",value:function(e){return e.time<this.getCurrentTime()}},{key:"getCurrentTime",value:function(){return(new Date).getTime()}},{key:"hasBrowserSupport",value:function(){try{return this.type in window&&null!==window[this.type]}catch(e){return!1}}}]),e}(),d=function(e){o(n,e);var t=a(n);function n(){return s(this,n),t.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.LocalStorage}))}}]),n}(h),y=function(e){o(n,e);var t=a(n);function n(){return s(this,n),t.apply(this,arguments)}return f(n,null,[{key:"Instance",get:function(){return this.instance||(this.instance=new this({type:p.SessionStorage}))}}]),n}(h),v=d.Instance,g=y.Instance},function(e,t,n){e.exports={svgContainer:"_1ZcbC",searchContextTag:"_1RLqh",tagFocus:"_179a5",searchContextContainer:"_3nPVB"}},function(e,t,n){e.exports={nav:"_3RLQ9",logoContainer:"UIlc9",searchBar:"_2E7RQ",actionButtons:"_2HygL",hamburger:"_2BRko",searchBarNavContainer:"_2bUnK"}},function(e,t,n){"use strict";var r,o,i,a;n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),function(e){e.Small="small",e.Medium="medium",e.Large="large"}(r||(r={})),function(e){e[e.Thumbnails=0]="Thumbnails",e[e.Banners=1]="Banners",e[e.Avatars=2]="Avatars",e[e.Logos=3]="Logos",e[e.Covers=4]="Covers",e[e.Posters=5]="Posters",e[e.TallPosters=6]="TallPosters",e[e.HeroBanners=7]="HeroBanners"}(o||(o={})),function(e){e[e.Crop=0]="Crop",e[e.Stretched=1]="Stretched",e[e.Cover=2]="Cover"}(i||(i={})),function(e){e[e.None=0]="None",e[e.ImageAPIv1=1]="ImageAPIv1",e[e.FileAPIv1=2]="FileAPIv1",e[e.ImageAPIv2=3]="ImageAPIv2"}(a||(a={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(7);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=l(e);if(t){var o=l(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f="shared.notFoundError",p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,r,i=u(s);function s(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,o.a.getPhrase(f,"title"))}return t=s,(n=[{key:"name",get:function(){return"NotFoundError"}},{key:"heading",get:function(){return o.a.getPhrase(f,"heading")}},{key:"description",get:function(){return o.a.getPhrase(f,"description")}}])&&a(t.prototype,n),r&&a(t,r),s}(r.a.SilentError)},,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return h}));var r=n(9),o=n(42);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t,n){return(u="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=p(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(f,e);var t,n,r,i=l(f);function f(){return a(this,f),i.apply(this,arguments)}return t=f,(n=[{key:"listenTo",value:function(){return o.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],u(p(f.prototype),"listenTo",this))}}])&&c(t.prototype,n),r&&c(t,r),f}(r.Collection)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={type:n(102).a.Unknown,message:"",code:0}},function(e,t,n){"use strict";var r,o,i,a,c,u,s,l,f,p,h,d,y,v,g,m,b,w,S,C,O;n.d(t,"n",(function(){return r})),n.d(t,"d",(function(){return o})),n.d(t,"j",(function(){return i})),n.d(t,"o",(function(){return a})),n.d(t,"k",(function(){return u})),n.d(t,"g",(function(){return l})),n.d(t,"c",(function(){return f})),n.d(t,"b",(function(){return h})),n.d(t,"i",(function(){return v})),n.d(t,"a",(function(){return m})),n.d(t,"m",(function(){return b})),n.d(t,"e",(function(){return w})),n.d(t,"h",(function(){return S})),n.d(t,"l",(function(){return C})),n.d(t,"f",(function(){return O})),function(e){e.Stream="cv_product_stream",e.StreamRaw="cv_product_stream_raw",e.WebPlayerStream="cv_product_webplayer_stream",e.StreamProgress="cv_product_stream_progress",e.Login="cv_product_login",e.LoginSsoRedirect="cv_product_login_sso_redirect",e.LoginFailed="cv_product_login_failed",e.Search="cv_product_search",e.InstantSearch="cv_product_search",e.SearchEmptyResult="cv_product_search_empty_result",e.Filter="cv_product_search_filter",e.SearchLanding="cv_product_search_landing",e.Share="cv_product_share",e.WorkspaceAdd="cv_product_tv_add",e.Rename="cv_product_rename",e.Move="cv_product_move",e.Sort="cv_product_sort",e.Create="cv_product_create",e.Delete="cv_product_delete",e.Associate="cv_product_associate",e.Dissociate="cv_product_dissociate",e.Edit="cv_product_edit",e.Approve="cv_product_approve",e.Reject="cv_product_reject",e.Disable="cv_product_disable",e.Upload="cv_product_upload",e.Download="cv_product_download",e.Navigate="cv_product_navigate",e.Click="cv_product_click",e.Suggest="cv_product_suggest",e.EditAssoc="cv_product_edit_assoc",e.Play="cv_product_play",e.Favourite="cv_product_favourite",e.Follow="cv_product_follow",e.Prefer="cv_product_prefer",e.SetAccess="cv_product_set_access",e.AddToLocalCache="cv_product_add_to_lc",e.ResolveWarning="cv_product_resolve_warning",e.DismissWarning="cv_product_dismiss_warning"}(r||(r={})),function(e){e.Folder="folder",e.Video="video",e.Rating="rating",e.Series="series",e.Library="library",e.Resource="resource",e.Tag="tag",e.Subtitle="subtitle",e.Chapter="chapter",e.Restriction="restriction",e.Interactive="interactive",e.PDF="pdf",e.CustomerSetting="customer_setting",e.UserSetting="user_setting",e.StaffRequest="staff_request",e.Logo="logo",e.Pagination="pagination",e.Thumbnail="thumbnail",e.Banner="banner",e.Link="link",e.Playlist="playlist",e.Person="person",e.Company="company",e.Classroom="classroom",e.ClassroomGroup="classroom_group",e.Classification="classification",e.ShareLink="share_link",e.Upload="upload",e.SearchResults="search_results",e.Audience="audience",e.User="user",e.Clip="clip",e.UserChannel="user_channel",e.Widget="widget",e.Url="url"}(o||(o={})),function(e){e.TopNav="top_nav",e.LeftNav="left_nav",e.Popup="popup",e.Banner="banner",e.VideoList="video_list",e.VideoListItem="video_list_item",e.VideoListHeader="video_header",e.VideoThumbnail="video_thumbnail",e.VideoItemPreview="video_item_preview",e.VideoDetails="video_details",e.VideoDetailsHeader="video_details_header",e.EditVideoDetails="edit_video_details",e.EditVideoChapters="edit_video_chapters",e.EditVideoResources="edit_video_resources",e.VideoUpload="video_upload",e.VideoRequest="video_request",e.Pagination="pagination",e.SearchBar="search_bar",e.InstantSearch="instant_search",e.SearchFilters="search_filters",e.LibraryHeader="library_header",e.LibraryTiles="library_tiles",e.StaffRequestDetails="staff_request_details",e.SubFolderList="sub_folder_list",e.AwaitingReviewVideoListHeader="awaiting_review_video_list_header",e.AwaitingReviewVideoItem="awaiting_review_video_item",e.PastReleasesHeader="past_releases_header",e.MigrationWarnings="migration_warnings",e.PlaylistListHeader="playlist_list_header",e.PlaylistListItem="playlist_list_item",e.TeacherManager="teacher_manager",e.TeacherManagerListItem="teacher_manager_list_item",e.StudentManager="student_manager",e.StudentManagerListItem="student_manager_list_item",e.ClassroomsList="classrooms_list",e.ClassroomsListItem="classrooms_list_item",e.ClassroomOverview="classroom_overview",e.ClassroomOverviewStudentListItem="classroom_overview_student_list_item",e.ManageClassroomStudents="manage_classroom_students",e.ManageClassroomStudentListItem="manage_classroom_student_list_item",e.ManageClassroomGroups="manage_classroom_groups",e.ManageClassroomGroupListItem="manage_classroom_group_list_item",e.PlayPage="play_page",e.FloatingPlayer="floating_player",e.InteractivePlayer="interactive_player",e.EmbeddedPlayer="embedded_player",e.ContentUpdatesClassificationBanner="content_updates_classification_banner",e.PreferencesSettings="preferences_settings",e.MyUploads="my_uploads",e.SlidingList="sliding_list",e.HeroBannerItem="hero_banner_item",e.SlidingListItem="sliding_list_item",e.ClassificationListItem="classification_list_item",e.ClassificationComingSoon="classification_coming_soon",e.Dashboard="dashboard"}(i||(i={})),function(e){e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard"}(a||(a={})),function(e){e.PageLoad="page_load"}(c||(c={})),function(e){e.Single="single",e.Bulk="bulk",e.All="all"}(u||(u={})),function(e){e.ProductionYear="production_year",e.Alphabetical="alphabetical"}(s||(s={})),function(e){e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset"}(l||(l={})),function(e){e.Submit="submit",e.ShowAll="show_all",e.Recent="recent",e.SearchIcon="search_icon"}(f||(f={})),function(e){e.Start="start",e.Finish="finish",e.Terminate="terminate",e.Play="play",e.Pause="pause",e.Playback="playback",e.NextChapter="next_chapter",e.PreviousChapter="previous_chapter",e.FullScreenEnter="full_screen_enter",e.FullScreenExit="full_screen_exit"}(p||(p={})),function(e){e.TogglePreview="toggle_preview",e.NavigateHome="navigate_home",e.OpenInStaffView="open_in_staff_view",e.Title="title",e.ToggleHideValidListings="toggle_hide_valid_listings",e.LaunchImmersiveReader="launch_immersive_reader",e.CopyEmbedHtml="copy_embed_html",e.Close="close",e.Open="open",e.Button="button",e.Link="link",e.Tile="tile",e.Thumbnail="thumbnail",e.Cover="cover",e.TallPoster="tall_poster",e.Slide="slide"}(h||(h={})),function(e){e.FeatureUserChannelVideo="feature_user_channel_video",e.RemoveFromUserChannelPlaylist="remove_from_user_channel_playlist",e.ShareClip="share_clip",e.ViewOriginalVideo="view_original_video",e.ShareInteractive="share_interactive",e.DeleteInteractiveVideo="delete_interactive_video",e.CopyInteractiveVideo="copy_interactive_video",e.EditInteractiveVideo="edit_interactive_video",e.PrintAsWorksheet="print_as_worksheet",e.PreviewInteractiveVideo="preview_interactive_video",e.ViewResults="view_results",e.MoveToAnotherFolder="move_to_another_folder",e.CreateInteractiveVideo="create_interactive_video",e.ShareVideo="share_video",e.EditVideo="edit_video",e.DownloadVideo="download_video",e.AddToExchange="add_to_exchange",e.AddToUserChannel="add_to_user_channel",e.CreateClip="create_clip",e.FlagVideo="flag_video",e.AddToLibrary="add_to_library",e.AddToWorkspace="add_to_workspace",e.AddToPlaylist="add_to_playlist",e.RemoveFromPlaylist="remove_from_playlist",e.AddCurriculumLink="add_curriculum_link",e.ViewCurriculumLinks="view_curriculum_links",e.OpenInCurator="open_in_curator",e.ManageVideoAccess="manage_video_access",e.Approve="approve",e.AddToLocalCache="add_to_local_cache",e.OpenInLibraryEditor="open_in_library_editor",e.PlayClip="play_clip",e.EditClip="edit_clip",e.DeleteClip="delete_clip"}(d||(d={})),function(e){e.LibraryReview="library_review"}(y||(y={})),function(e){e.FileSelect="file_select",e.DragDrop="drag_drop"}(v||(v={})),function(e){e.Edit="edit"}(g||(g={})),function(e){e.Image="image",e.User="user",e.Playlist="playlist"}(m||(m={})),function(e){e.On="on",e.Off="off"}(b||(b={})),function(e){e.EntityRemoved="cv_entity_removed",e.ValueUpdated="cv_value_updated"}(w||(w={})),function(e){e.FileSelect="file_select",e.DragDrop="drag_drop"}(S||(S={})),function(e){e.Video="videos",e.Folder="categories",e.Series="series",e.Tags="tags"}(C||(C={})),function(e){e[e.V1=1]="V1"}(O||(O={}))},function(e,t,n){"use strict";var r=n(0),o=n(2),i=" - ClickView",a=function(e){e&&o.a.LocationUtils.SetPageTitle(function(e){return e.length+i.length<=60?e+i:e.substring(0,57)+"..."+i}(e))};function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return s})),n.d(t,"b",(function(){return l}));var s=r.createContext({}),l=function(e){var t=e.children,n=e.defaultTitle,o=void 0===n?"":n,i=c(r.useState(o),2),u=i[0],l=i[1],f=c(r.useState(o),2),p=f[0],h=f[1];return r.useEffect((function(){return a(u)}),[u]),r.createElement(s.Provider,{value:{setPageTitle:function(e){e!==u&&(u!==p&&h(u),l(e))},revertPageTitle:function(){l(p)}}},t)}},function(e,t){e.exports=s},function(e,t,n){"use strict";var r=n(9),o=n(101),i=n(191),a=n(2),c=n(19);function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var s=n(3).f.V1,l=function(){function e(t,n,r,o){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.type=t,this.data=n,this.actionContext=r,this.eventVersion=o||s}var t,n,r;return t=e,(n=[{key:"isType",value:function(e){return e===this.type}},{key:"enrich",value:function(e,t){this.validateKey(e),this[e]=t}},{key:"get",value:function(e){if(e&&this[e])return this[e]}},{key:"validateKey",value:function(e){"type"!==e&&"data"!==e||a.a.ErrorHelper.throw(new c.a("".concat(e," is not a valid key"))),this[e]&&a.a.ErrorHelper.throw(new c.a("Event already contains an enrichment named ".concat(e)))}}])&&u(t.prototype,n),r&&u(t,r),e}();n.d(t,"a",(function(){return f}));var f={log:function(e,t,n,a){r.Radio.channel(i.a.ANALYTICS).trigger(o.a.Inlet,new l(e,t,n,a))}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),o=n(57);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={first:function(e){return r.first(e)},firstFew:function(e,t){return r.first(e,t)},last:function(e){return r.last(e)},lastFew:function(e,t){return r.last(e,t)},max:function(e,t){return r.max(e,t)},cloneAndReplaceAtIdx:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=e&&e.length?e.slice():[];return t+1>o.length&&(o=[].concat(i(o),i(Array(t+1-o.length).fill(r)))),o.splice(t,1,n),o},moveItem:function(e,t,n){var r=e.slice();return r.splice(n,0,r.splice(t,1)[0]),r},isEmpty:function(e){return e&&!e.length},findIndex:function(e,t){return r.findIndex(e,t)},findWhere:function(e,t){return r.findWhere(e,t)},where:function(e,t){return r.where(e,t)},groupBy:function(e,t){return r.groupBy(e,t)},flatten:function(e,t){return r.flatten(e,t)},intersection:function(){return r.intersection.apply(r,arguments)},addOrRemove:function(e,t){var n=e.indexOf(t);return-1===n?e.push(t):e.splice(n,1),e},addOrRemoveImmutable:function(e,t){var n=e.indexOf(t),r=o.a.deepClone(e);return-1===n?[].concat(i(r),[t]):[].concat(i(r.slice(0,n)),i(r.slice(n+1)))},sortBy:function(e,t){return r.sortBy(e,t)},chunk:function(e,t){return r.chunk(e,t)},uniq:function(e){return r.uniq(e)}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"b",(function(){return u}));var r=n(7),o=n(13);function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a,c="shared.videoActionsHelper";!function(e){e[e.AddToPlaylist=0]="AddToPlaylist",e[e.RemoveFromPlaylist=1]="RemoveFromPlaylist",e[e.Share=2]="Share",e[e.Edit=3]="Edit"}(a||(a={}));var u=function(){var e;return i(e={},a.AddToPlaylist,{label:r.a.getPhrase(c,"addToPlaylist"),svgName:o.b.AddToPlaylists}),i(e,a.RemoveFromPlaylist,{label:r.a.getPhrase(c,"removeFromPlaylist"),svgName:o.b.Delete}),i(e,a.Share,{label:r.a.getPhrase(c,"share"),svgName:o.b.Share2}),i(e,a.Edit,{label:r.a.getPhrase(c,"edit"),svgName:o.b.Edit}),e}},,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"b",(function(){return P})),n.d(t,"a",(function(){return R}));var r=n(1),o=n(9),i=n(38),a=n(42),c=n(19),u=n(16),s=n(82),l=n(11),f=n(43);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return d(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function g(e,t,n){return t&&v(e.prototype,t),n&&v(e,n),e}function m(e,t,n){return(m="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=k(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function b(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?O(e):t}function O(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){b(n,e);var t=S(n);function n(e){var o;y(this,n),o=t.call(this,e);var i=[].concat(h(o.defaultProps),h(o.props||[]));return o.mergeOptions(e,i),r.result(O(o),"name")||l.c.throw(new l.b("Error: View with cid:".concat(o.cid," requires a name."))),o}return g(n,[{key:"_setOptions",value:function(e){this.options=r.extend({},r.result(this,"defaults"),e)}},{key:"_setAttributes",value:function(e){var t,n,o;s.a.isDevelopment&&r.extend(e,(t={},n="cv-classname",o=this.name,n in t?Object.defineProperty(t,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):t[n]=o,t)),this.$el.attr(e)}},{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"resetClassName",value:function(){this.$el.attr("class",r.result(this,"className"))}},{key:"serializeData",value:function(){var e=this,t=m(k(n.prototype),"serializeData",this).call(this),o=r.result(this,"viewOptions"),i=r.extend({},t,{options:o});return n.ViewDataExtensions.length?r.extend.apply(r,[i].concat(h(r.map(n.ViewDataExtensions,(function(t){return t instanceof Function?t(e):t}))))):i}},{key:"viewOptions",value:function(){return this.options}},{key:"undelegateAppLinks",value:function(){this.$el&&this.$el.off(".appLinks".concat(this.cid))}},{key:"renderAppLinks",value:function(){var e=this,t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),r.each(r.keys(t),(function(n){var r=n,o=t[n],i=f.a.getHref(o);"[this]"===r&&(r=null);var a=r?e.$el.find(n):e.$el;(a.is("a")||a.is("button"))&&(i&&"/"!==i&&a.attr("href",i),e.delegate("click.appLinks".concat(e.cid),r,(function(e){e.preventDefault(),f.a.trigger(o)})))})))}},{key:"hasPartialLoadingRegions",value:function(){return void 0!==this._hasPartialLoadingRegions||(this._hasPartialLoadingRegions=r.some(this.regions,(function(e){return r.has(e,"partialLoading")}))),this._hasPartialLoadingRegions}},{key:"renderPartialLoading",value:function(e){o.Radio.channel(u.a.SHELL).trigger("render:partial:loading",this,e)}},{key:"listenTo",value:function(){return a.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],m(k(n.prototype),"listenTo",this))}},{key:"render",value:function(){if(this._isDestroyed)return this;var e=this.processRequriedResources(!0);return e&&(e=this.triggerMethod("before:render",this)),!1!==e&&(e=!0),!1===(e=e&&this.processRequriedResources(!1))?(this._partialLoadingRendered||!this.hasPartialLoadingRegions()||(this._partialLoadingRendered=!0,this._reInitRegions(),this._renderTemplate(),this.renderPartialLoading()),this):((this._isRendered||this._partialLoadingRendered)&&this._reInitRegions(),this.setTitle(),this._renderTemplate(),this.bindUIElements(),this.renderAppLinks(),this._partialLoadingRendered=!1,this._isRendered=!0,this.triggerMethod("render",this),this)}},{key:"processRequriedResources",value:function(e){return!0}},{key:"setTitle",value:function(){}},{key:"defaultProps",get:function(){return["shell","layoutService"]}},{key:"ui",get:function(){return this.uiStorage||(this.uiStorage=this.elements),this.uiStorage},set:function(e){this.uiStorage=e}},{key:"elements",get:function(){return null}}],[{key:"AddViewDataExtension",value:function(e){n.ViewDataExtensions.push(e)}}]),n}(i.View);E.ViewDataExtensions=[];var P=function(e){b(n,e);var t=S(n);function n(e){var r;return y(this,n),(r=t.call(this,e)).boundListeners={},r.resourceInstances={},r}return g(n,[{key:"processRequriedResources",value:function(e){var t=this,n=r.keys(this.requiredResources);if(!n.length)return!0;var o=this,i=!0;return r.each(n,(function(n){var r=t.requiredResources[n];if(r.beforeOnBeforeRender===e){var a=r.dataServiceName;t.resourceInstances[a]||(t.resourceInstances[a]=r.getInstance(t)),t.boundListeners["".concat(a,":").concat(r.eventName)]||(t.listenTo(t.resourceInstances[a].channelName,r.eventName,t.render),t.boundListeners["".concat(a,":").concat(r.eventName)]=!0),o[n]=r.getData(t.resourceInstances[a]),i=i&&!!o[n]}})),i}},{key:"setTitle",value:function(){r.isString(this.title)||!1===this.title||l.c.throw(new c.a("Must define a title for ".concat(this.name,"."))),o.Radio.channel(u.a.SHELL).trigger("set:page:title",this.title)}}]),n}(E),R=function(e){b(n,e);var t=S(n);function n(){return y(this,n),t.apply(this,arguments)}return n}(E)},function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(1),o=n(72),i=n(121);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=h(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(y,e);var t,n,p,d=f(y);function y(){return c(this,y),d.apply(this,arguments)}return t=y,(n=[{key:"set",value:function(e,t,n){var o,i;if(null===e)return this;for(o in"object"===a(e)?(i=e,n=t):(i={})[e]=t,n||(n={}),i)r.has(this.associations,o)&&(i[o]=this.setAssociation(o,i[o],n));return s(h(y.prototype),"set",this).call(this,i,n)}},{key:"get",value:function(e){var t=e.indexOf(".");if(-1===t)return s(h(y.prototype),"get",this).call(this,e);var n=e.substr(0,t),o=this.attributes[n];if(!o||!r.isFunction(o.get))return s(h(y.prototype),"get",this).call(this,e);var i=e.substr(t+1);return o.get(i)}},{key:"setAssociation",value:function(e,t,n){var a=this.associations[e],c=this.attributes[e];if(!r.isFunction(a))return t;if(n.unset)return c&&delete c.parent,delete this[e],c;if(c)return c instanceof o.a&&c.set(t,n),c instanceof i.a&&c.set(t,n),n.silent||this.trigger("change:".concat(e),this,t,n),c;var u=t instanceof o.a?t:new a(t,{parse:!0});return u.parent=this,this[e]=u,u}},{key:"toJSON",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=s(h(y.prototype),"toJSON",this).apply(this,t);return r.each(this.associations,(function(e,t){r.has(o,t)&&r.isFunction(o[t].toJSON)?o[t]=o[t].toJSON():o[t]=(new e).toJSON()})),o}},{key:"toFlatJSON",value:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return r.omit(s(h(y.prototype),"toJSON",this).apply(this,t),r.keys(this.associations))}}])&&u(t.prototype,n),p&&u(t,p),y}(o.a)},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={Success:"Success! 🙌",Warning:"Whoops...",Fail:"Oops...",Info:"FYI"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={currentTimestamp:function(){return(new Date).valueOf()},isExpired:function(e,t){if(!t)return!1;var n=1e3*t;return e<r.currentTimestamp()-n},currentTimeOfDay:function(e){e||(e=new Date);var t=e.getHours();return t>=12&&t<18?"afternoon":t>=18?"evening":"morning"}}},function(e,t,n){"use strict";var r=n(0),o=n(35);function i(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=n(237);function u(e){var t=e.view,n=e.options,a=void 0===n?{}:n,u=e.className,s=void 0===u?"":u,l=r.useMemo((function(){return new t(a)}),[a]);Object(c.a)(l.title);var f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=r.useRef(null);return r.useEffect((function(){if(e){var t=n.current;return e.render(),t.hasChildNodes()?t.replaceChild(e.el,t.firstChild):t.appendChild(e.el),e.trigger("rendered"),function(){o.a.isFunction(e.close)?e.close():o.a.isFunction(e.destroy)&&e.destroy()}}}),i(t)),n}(l,[l]);return t?r.createElement("div",{ref:f,className:s}):r.createElement(r.Fragment,null)}n.d(t,"a",(function(){return u}))},function(e,t,n){e.exports={thumbnailContainer:"_1u9bn",thumbnail:"_1CQyt",svgContainer:"_2L1Hd",playSvgContainer:"_17LPb",durationOverlay:"_15X7K"}},function(e,t,n){e.exports={svg:"_3OUhC",iconButton:"_3t3VL",iconWithText:"_2KLHo",iconOnly:"_2rQWb"}},function(e,t,n){e.exports={fixed:"_3C4_W",inline:"_2voRI",closeSvg:"_2RiDj",buttons:"ZbN3s",flippedIcon:"_3nkTw"}},function(e,t,n){e.exports={dropMask:"_3bFev",dropContent:"_2_7SU",dropArea:"_3oOzB",border:"_1IoKS"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(353);function o(e){return Object(r.a)(e)}},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(21),o={currentUser:function(e,t){return{url:"/api/currentUser",key:"currentuser",success:e,error:t}},workspace:{url:"api/domain/v2/me/workspace",key:"workspace"},sendVerificationEmail:function(e,t,n,o){return{url:"api/account/email",key:"verify:email",type:r.a.POST,data:{emailAddress:e},success:t,error:n,always:o,invalidationKeys:["verify:email:status"]}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r,o,i=n(79),a=n(57),c=n(2),u=n(115);function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}!function(e){e.Banner="banner",e.Thumbnail="thumbnail"}(o||(o={}));var l=(s(r={},u.b.Banners,o.Banner),s(r,u.b.Thumbnails,o.Thumbnail),r),f=function(e){return"/v1/category-map/".concat(e)},p={createUrl:function(e,t){return p._createUrl(e,t)},createBannerUrl:function(e,t,n){return e&&e.url?p._createUrl(e.url,n):p._createCategoryMappedUrl(t,n)},Rfc3986EncodeURIComponent:function(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl:function(e,t){var n=e.fallbackBaseUrl,r=e.fallbackCategoryName,o=e.type,a=i.a.safeUrlConcat(n,"".concat(f(l[o]))),c=Object.assign({name:p.Rfc3986EncodeURIComponent(r)},t);return p._createUrl(a,c)},_createUrl:function(e,t){if(e){if(a.a.isEmpty(t))return e;var n=$.param(t),r=-1===e.indexOf("?")?"?":"&",o=e;return o.endsWith("/")&&(o=o.slice(0,-1)),o+"".concat(r).concat(n)}},legacyCreateThumbnailUrl:function(e,t){if(!e)return"";var n;if(e&&(n=e instanceof c.a.Model?e.get("url"):"string"==typeof e?e:e.url)){var r=Object.assign({size:u.a.Small,bgColor:"000"},t);return p._createUrl(n,r)}}}},function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var r=n(0),o=n(33),i=n(240);function a(e){var t=e.title,n=e.placement,a=e.trigger,c=e.children;return r.createElement(o.OverlayTrigger,{placement:n,overlay:r.createElement(o.Tooltip,{id:"".concat(t,"-").concat(i.a.getRandomInt())},t),trigger:a},r.createElement("span",null,c))}a.defaultProps={trigger:["hover","click","focus"],placement:"top"}},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={config:{url:"/api/config",key:"config"}}},function(e,t,n){"use strict";var r;!function(e){e[e.Row=0]="Row",e[e.LargeRow=1]="LargeRow",e[e.Hero=2]="Hero",e[e.ResourcesTile=3]="ResourcesTile"}(r||(r={}));var o=n(32);function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var a=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"name",get:function(){return o.a.SEARCH}}])&&i(t.prototype,n),r&&i(t,r),e}();function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var u=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"name",get:function(){return o.a.NOTIFICATIONS}}])&&c(t.prototype,n),r&&c(t,r),e}();n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return u}))},function(e,t,n){"use strict";var r,o;n.d(t,"a",(function(){return r})),function(e){e[e.Unspecified=0]="Unspecified",e[e.Student=1]="Student",e[e.Staff=2]="Staff",e[e.Admin=3]="Admin",e[e.CVAdmin=4]="CVAdmin",e[e.FreeUser=6]="FreeUser",e[e.ReadOnly=8]="ReadOnly"}(r||(r={})),function(e){e[e.Guest=16]="Guest",e[e.User=32]="User",e[e.Admin=48]="Admin",e[e.SuperAdmin=64]="SuperAdmin"}(o||(o={}))},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Ok=200]="Ok",e[e.NoContent=204]="NoContent",e[e.BadRequest=400]="BadRequest",e[e.Unauthorized=401]="Unauthorized",e[e.Forbidden=403]="Forbidden",e[e.NotFound=404]="NotFound",e[e.Conflict=409]="Conflict",e[e.InternalServer=500]="InternalServer"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));n(46);var r=Object.assign(Object.assign({},{VIDEO:"series,season,rating,producers,glance,distributors,resources,tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,owner[customers[organisation]]],clips[owner[customers[organisation]]]",PLAYLIST:"cover,banner,owner,videos[thumbnail,count()]{orderby:orderindex,limit:1}"}),{VIDEO_COLLECTION:"thumbnail,tags,rating,series,season",PLAYLIST_COLLECTION:"videos[thumbnail,count()]{orderby:orderindex,limit:1},thumbnail,cover,subjectpresentationaudiences"})},function(e,t,n){"use strict";t.__esModule=!0,t.inherits=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.create(e.prototype);for(var o in n)r[o]=n[o];return r.constructor=t,t.prototype=r,t}},function(e,t){e.exports=l},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(1),o=n(9),i=n(38),a=n(29),c=n(42),u=n(11);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e){return function(e){if(Array.isArray(e))return f(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t,n){return(h="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=m(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?g(e):t}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(f,e);var t,n,i,s=y(f);function f(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),(t=s.call(this,e)).mergeOptions(e,[].concat(l(t.defaultProps),l(t.props||[]))),r.result(g(t),"name")||u.c.throw(new u.b("BaseApplication must define a name")),r.result(g(t),"channelName")||u.c.throw(new u.b("BaseApplication must define a channelName")),t.listenTo(t.getGlobalRadioChannel("popup"),a.a.SHOW_POPUP,t.onShowPopup),t.listenTo(t.getGlobalRadioChannel("alert"),"show:alert",t.onShowAlert),t}return t=f,(n=[{key:"getGlobalRadioChannel",value:function(e){var t=this.shell.getGlobalRadioChannels()[e.toUpperCase()];return t||u.c.throw(new u.b("Global channel ".concat(t," does not exist"))),o.Radio.channel(t)}},{key:"onLoadLayout",value:function(){if(this.layoutOptions&&this.layoutOptions.name){var e=r.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(r.extend(this.layoutOptions,{options:e})),this.layout||u.c.throw(new u.b("Layout: ".concat(this.layoutOptions.name," does not exist or was not registered"))),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}}},{key:"onShowPopup",value:function(e){this.layout.getRegion("popup")||u.c.throw(new u.b("Your application layout must define a popup region")),this.layout.showChildView("popup",e)}},{key:"onShowAlert",value:function(e){var t=e.ctor,n=e.collection,r=this.layout.getRegion("alert");r?r.hasView()||this.layout.showChildView("alert",new t({collection:n})):u.c.throw(new u.b("Your application layout must define an alert region"))}},{key:"setDefaultQueryParams",value:function(e){this.defaultQueryParams&&(e=r.extend(this.defaultQueryParams,e)),this.defaultQueryParams=e}},{key:"getAndClearDefaultQueryParams",value:function(){var e=this.defaultQueryParams;return delete this.defaultQueryParams,e||{}}},{key:"listenTo",value:function(){return c.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],h(m(f.prototype),"listenTo",this))}},{key:"defaultProps",get:function(){return["shell","layoutService"]}}])&&p(t.prototype,n),i&&p(t,i),f}(i.Application)},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(144),o=n(19),i=n(11);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(l,e);var t,n,r,a=s(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return t=l,r=[{key:"getCacheKey",value:function(e){i.c.throw(new o.a("Must define getCacheKey for ".concat(this.name,".")))}}],(n=[{key:"unmountRegion",value:function(e){this.trigger("unmount:".concat(e))}}])&&c(t.prototype,n),r&&c(t,r),l}(r.b)},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Staff="staff",e.Learner="learner",e.Unknown="unknown"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={API_REQUEST:"API_REQUEST",API_REPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Component=1]="Component",e[e.ComponentCollection=2]="ComponentCollection"}(r||(r={}))},function(e,t,n){"use strict";n.r(t);var r,o=n(183);!function(e){e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error"}(r||(r={}));var i=n(21);function a(e){return{getResponseHeader:e.getResponseHeader,responseJSON:e.responseJSON,status:e.status}}var c=[i.a.POST,i.a.PUT];function u(e){var t=e.resource,n=e.type,r=e.success,o=e.error,i=e.always,u={url:t,method:n};c.includes(n)&&e.data&&(u.data=JSON.stringify(e.data)),$.ajax(u).done((function(e,t,n){r&&r(e,a(n))})).fail((function(e,t,n){o&&o(a(e))})).always((function(){i&&i()}))}var s=n(19),l=n(187);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.idAttribute,r=void 0===n?"id":n,o=t.namespace,i=void 0===o?"":o;return e[r]||l.ErrorHelper.throw(new s.a("There was an issue during normalization. Object did not have an id attribute.")),"".concat(i,"__").concat(e[r])}function h(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.idAttribute,o=void 0===r?"id":r,i=[];return e.forEach((function(e){e[o]&&i.push(p(e,n)),y(e,t,n)})),i}function d(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.idAttribute,o=void 0===r?"id":r,i=Object.assign({},e);if(Object.keys(e).forEach((function(r){var a=e[r];if(a)if(Array.isArray(a)){var c=h(a,t,n);c.length&&(i[r]=c)}else if("object"===f(a)){var u=d(a,t,n);a[o]?i[r]=p(a,n):i[r]=u}})),e[o]){var a=p(e,n);return t[a]=i,a}return i}function y(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e)return Array.isArray(e)?h(e,t,n):"object"===f(e)?d(e,t,n):e}function v(e,t){var n={};return{result:y(e,n,t),entities:n}}var g=n(57);function m(e){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,t,n){if(e){if("string"==typeof e)return function(e,t,n){if(n[e])return n[e];n[e]={};var r=b(t[e],t,n);return Object.assign(n[e],r),g.a.isEmpty(n[e])&&delete n[e],n[e]}(e,t,n);if(Array.isArray(e))return e.map((function(e){return b(e,t,n)}));if("object"===m(e)){var r={};return Object.keys(e).forEach((function(o){r[o]=b(e[o],t,n)||e[o]})),r}}}function w(e,t){return b(e,t,{})}var S=n(61);function C(e,t){return e===t}function O(e,t,n){if(null===t||null===n||t.length!==n.length)return!1;for(var r=t.length,o=0;o<r;o++)if(!e(t[o],n[o]))return!1;return!0}function k(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:C,n=null,r=null;return function(){return O(t,n,arguments)||(r=e.apply(null,arguments)),n=arguments,r}}function E(e){var t=Array.isArray(e[0])?e[0]:e;if(!t.every((function(e){return"function"==typeof e}))){var n=t.map((function(e){return typeof e})).join(", ");throw new Error("Selector creators expect all input-selectors to be functions, instead received the following types: ["+n+"]")}return t}function P(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];var i=0,a=r.pop(),c=E(r),u=e.apply(void 0,[function(){return i++,a.apply(null,arguments)}].concat(n)),s=e((function(){for(var e=[],t=c.length,n=0;n<t;n++)e.push(c[n].apply(null,arguments));return u.apply(null,e)}));return s.resultFunc=a,s.dependencies=c,s.recomputations=function(){return i},s.resetRecomputations=function(){return i=0},s}}var R=P(k);var _=n(147),T=n(0);function x(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var A=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode}var t,n,o;return t=e,(n=[{key:"shouldFetch",get:function(){return this.status===r.None||this.isExpired}},{key:"isExpired",get:function(){return _.a.isExpired(this.requestTime,this.cacheDuration)}},{key:"isFetching",get:function(){return this.status===r.Fetching}},{key:"hasError",get:function(){return this.status===r.Error}},{key:"isComplete",get:function(){return this.status===r.Success||this.status===r.Error}}])&&x(t.prototype,n),o&&x(t,o),e}();function L(e,t,n){if(!e||!t)return j();var r=t.response;return!1!==t.request.normalize&&(r=w(t.response,n)),new A({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.expiryTime,data:r})}function j(){return new A({status:r.None})}function N(e,t){return L(t,e.flightData.resources[t],e.flightData.entities)}function I(e,t){return function(){D(e,t)}}function D(e,t){e({type:o.a.API_REQUEST,request:t})}function U(e,t,n){var r,o,i,a,c,u,s,l,f,p=N(t,null===(r=n)||void 0===r?void 0:r.key);n&&p.shouldFetch?D(e,n):p.hasError?(null===(i=(o=n).error)||void 0===i||i.call(o,null),null===(c=(a=n).always)||void 0===c||c.call(a)):(null===(s=(u=n).success)||void 0===s||s.call(u,p.data),null===(f=(l=n).always)||void 0===f||f.call(l))}function M(e){return I(Object(S.useDispatch)(),e)}function F(e,t){var n=Object(T.useMemo)((function(){var n;return(null===(n=t)||void 0===n?void 0:n.optimize)?function(e){return P(k,(function(e,t){var n=["response","request"];return g.a.isEqual(g.a.omit(e,n),g.a.omit(t,n))}))((function(t){return t.flightData.resources[e]}),(function(t){var n,r=t.flightData.resources[e];return(null===(n=r)||void 0===n?void 0:n.entityIds)?r.entityIds.reduce((function(e,n){return e[n]=t.flightData.entities[n],e}),{}):{}}),(function(t,n){return L(e,t,n)}))}(e):function(e){return R((function(t){return t.flightData.resources[e]}),(function(e){return e.flightData.entities}),(function(t,n){return L(e,t,n)}))}(e)}),[e]);return Object(S.useSelector)((function(e){return n(e)}))}function V(e,t){var n=Object(S.useDispatch)(),r=F(e&&e.key,t),o=I(n,e);return e&&r.shouldFetch&&o(),r}function H(e){return function(e){if(Array.isArray(e))return z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var B=function(e,t,n){var r=Array.isArray(t)?t:[t],o=[];return r.forEach((function(t){var n,r=new RegExp(t,"i"),i=Object.keys(e.resources).filter((function(e){return r.test(e)}));(n=o).push.apply(n,H(i))})),n&&(o=o.filter((function(e){return e!==n}))),o.reduce((function(e,t){return e[t]=!0,e}),{})},q=n(160);var W=function(e){var t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},J=function(e,t){var n=e.success,r=e.error,o=e.always,i=t;window.setTimeout((function(){i.noResponse||(i.successResponse?n(i.successResponse(),{status:q.a.Ok,getResponseHeader:function(e){return""}}):i.errorResponse&&r(i.errorResponse()),o())}),function(e){var t=e.timeout||300;return t/2+(Math.floor(Math.random()*t/2)+1)}(t))},G=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n};function Y(e){var t=e.fetchData,n=e.bootstrappedData,a=e.defaultExpiryTime,c=Object.freeze({key:null,url:null,type:i.a.GET,normalize:!0,formatData:function(e){return e},expiryTime:a});return function(e){return function(i){return function(a){if(a.type===o.a.API_REQUEST){var u=e.getState(),s=Object.assign({},c,a.request),l=s.success,f=s.error,p=s.always,h=s.formatData,d=G(s,["success","error","always","formatData"]),y=u.flightData.resources[d.key];if(i(a),!y||y.status!==r.Fetching){if(d.bootstrapName&&n[a.request.bootstrapName])return m(n[a.request.bootstrapName]),b(),void delete n[a.request.bootstrapName];var g={resource:d.url,type:d.type,data:d.data,success:m,error:function(t){e.dispatch({type:o.a.API_ERROR,errorResponse:t.responseJSON,request:a.request,timestamp:_.a.currentTimestamp(),xhr:t}),d.invalidationKeys&&e.dispatch({type:o.a.INVALIDATE,keys:d.invalidationKeys,request:d});f&&f(t)},always:b};return void(W(d)?J(g,d):t(g))}}else i(a);function m(t,n){var r=h(t),i={result:r,entities:{}};(d.normalize&&(i=v(r,d.normalizeOptions)),e.dispatch({type:o.a.API_REPONSE,result:i.result,entities:i.entities,request:d,timestamp:_.a.currentTimestamp(),xhr:n}),d.updateState)&&(Array.isArray(d.updateState)?d.updateState:[d.updateState]).forEach((function(t){var n,r,i,a;n=t,r=B(u.flightData,n.keys),i=Object.assign({},Object.keys(u.flightData.resources).filter((function(e){return r[e]})).reduce((function(e,t){var n=u.flightData.resources[t],r=n.response;return n.request.normalize&&(r=w(n.response,u.flightData.entities)),e[t]=r,e}),{})),a=n.updateData(i),Object.keys(a).forEach((function(t){var n=u.flightData.resources[t],r=a[t],i={result:r,entities:{}};n.request.normalize&&(i=v(r,n.request.normalizeOptions)),e.dispatch({type:o.a.UPDATE,result:i.result,entities:i.entities,request:n.request})}))}));if(d.invalidationKeys&&e.dispatch({type:o.a.INVALIDATE,keys:d.invalidationKeys,request:d}),l){var a=i.result;d.normalize&&(a=w(i.result,Object.assign(Object.assign({},u.flightData.entities),i.entities))),l(a)}}function b(){p&&p()}}}}}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Q(e,t){var n=Object.assign({},e);return Object.keys(t).forEach((function(r){e[r]?n[r]=Object.assign(Object.assign({},e[r]),t[r]):n[r]=t[r]})),n}function Z(e,t){var n=e.resources[t.request.key];return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,{request:t.request,status:r.Fetching,response:n?n.response:null,entityIds:n?n.entityIds:null}))}}function X(e,t){var n,o=t.entities?Object.keys(t.entities):[];return{entities:Q(e.entities,t.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,{request:t.request,status:r.Success,response:t.result,timestamp:t.timestamp,statusCode:null===(n=t.xhr)||void 0===n?void 0:n.status,entityIds:o}))}}function ee(e,t){var n;return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,{request:t.request,status:r.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:null===(n=t.xhr)||void 0===n?void 0:n.status}))}}function te(e,t){var n,o=B(e,t.keys,null===(n=t.request)||void 0===n?void 0:n.key);return{entities:Object.assign({},e.entities),resources:Object.assign(Object.assign({},e.resources),Object.keys(e.resources).filter((function(e){return o[e]})).reduce((function(t,n){var o=e.resources[n];return t[n]=Object.assign({},o,{status:r.None}),t}),{}))}}function ne(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0,n=t.entities?Object.keys(t.entities):[];return{entities:Q(e.entities,t.entities),resources:Object.assign(Object.assign({},e.resources),K({},t.request.key,Object.assign(Object.assign({},e.resources[t.request.key]),{request:t.request,response:t.result,entityIds:n})))}}var re={resources:{},entities:{}};function oe(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:re,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case o.a.API_REQUEST:return Z(e,t);case o.a.API_REPONSE:return X(e,t);case o.a.API_ERROR:return ee(e,t);case o.a.INVALIDATE:return te(e,t);case o.a.UPDATE:return ne(e,t)}return e}var ie=n(127);var ae="id";function ce(e,t){return localStorage.setItem(e,JSON.stringify(t)),t}function ue(e){var t=localStorage.getItem(e);return t?JSON.parse(t):null}var se={getAll:function(e,t){var n=ue(e);return n&&n.length?n:!n&&t?(t.forEach((function(t){return se.create(e,t)})),ue(e)):[]},get:function(e,t){var n=se.getAll(e);return n.length?n.find((function(e){return e[ae]===t})):null},create:function(e,t){var n,r,o,i=se.getAll(e),a=Object.assign(Object.assign({},t),(n={},r=ae,o=t[ae]||(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER)+1).toString(),r in n?Object.defineProperty(n,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[r]=o,n));return i.push(a),ce(e,i),a},update:function(e,t){var n=se.getAll(e);if(!n.length)return t;var r=n.findIndex((function(e){return e[ae]===t[ae]}));return n[r]=t,ce(e,n),t},delete:function(e,t){var n=se.getAll(e);n.length&&(Array.isArray(t)||(t=[t]),t.forEach((function(e){var t=n.findIndex((function(t){return t[ae]===e}));n.splice(t,1)})),ce(e,n))},assoc:function(e,t,n,r,o){var i=Array.isArray(o),a=i?o:[o];"string"==typeof ie.a.first(a)&&(a=se.getAll(r).filter((function(e){return a.includes(e.id)})));var c=a.map((function(e){return e.id?e:se.create(r,e)})),u=se.getAll(e);if(u.length){var s=u.find((function(e){return e.id===t}));if(s)return c.forEach((function(e){if(s[n])if(Array.isArray(s[n])){if(s[n].find((function(t){return t.id===e.id})))return;s[n].push(e)}else s[n]=e;else s[n]=i?[e]:e})),ce(e,u=u.map((function(e){return e.id!==s.id?e:s}))),i?c:ie.a.first(c)}},dissoc:function(e,t,n,r){var o=se.getAll(e);if(o.length){var i=o.find((function(e){return e.id===t}));if(i){var a=i[n];if(a)return Array.isArray(r)||(r=[r]),Array.isArray(a)||(a=[a]),r.forEach((function(e){var t=a.findIndex((function(t){return t.id===e}));a.splice(t,1)})),i[n]=a,ce(e,o=o.map((function(e){return e.id!==i.id?e:i}))),o}}}};n.d(t,"Actions",(function(){return o.a})),n.d(t,"RequestStatus",(function(){return r})),n.d(t,"ajaxRequest",(function(){return u})),n.d(t,"normalize",(function(){return v})),n.d(t,"denormalize",(function(){return w})),n.d(t,"emptyResponse",(function(){return j})),n.d(t,"getResponse",(function(){return N})),n.d(t,"getFetch",(function(){return I})),n.d(t,"fetch",(function(){return D})),n.d(t,"dataServiceFetch",(function(){return U})),n.d(t,"useGetFetch",(function(){return M})),n.d(t,"useGetResponse",(function(){return F})),n.d(t,"useBasicFetch",(function(){return V})),n.d(t,"createMiddleware",(function(){return Y})),n.d(t,"FlightReducer",(function(){return oe})),n.d(t,"Simulator",(function(){return se}))},function(e,t,n){"use strict";var r=n(2),o=n(7),i=n(1),a=n(417),c=n.n(a);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(a,e);var t,n,r,o=f(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,e)}return t=a,(n=[{key:"getImageClass",value:function(){return this.options.customImageClass}},{key:"getHeading",value:function(){return i.isFunction(this.options.heading)?this.options.heading():this.options.heading}},{key:"getDescription",value:function(){return i.isFunction(this.options.description)?this.options.description():this.options.description}},{key:"viewOptions",value:function(){return{imageUrl:this.options.imageUrl,imageClass:this.getImageClass(),heading:this.getHeading(),description:this.getDescription()}}},{key:"name",get:function(){return"EmptyStateComponent"}},{key:"className",get:function(){var e="d-flex flex-column justify-content-center align-items-center text-center h-100";return this.options.customClass&&(e+=" ".concat(this.options.customClass)),e}},{key:"template",get:function(){return c.a}},{key:"defaults",get:function(){return{imageSize:"lg",paddedContainer:!0}}},{key:"appLinks",get:function(){return this.options.appLink||{}}}])&&s(t.prototype,n),r&&s(t,r),a}(r.a.Component),y={isCollectionEmpty:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"collection";return e[t]&&!e[t].length}};function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=C(e);if(t){var o=C(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O,k=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(a,e);var t,n,r,o=w(a);function a(){return g(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"shouldRender",value:function(){return!!i.isFunction(this.options.shouldRender)&&this.options.shouldRender()}},{key:"getComponent",value:function(){var e=this.options.emptyStateComponents[this.options.type](this);return new d(e)}},{key:"renderEmptyState",value:function(){if(this.shouldRender()){var e=this.getComponent();this.view.showChildView(this.options.region,e)}}},{key:"onRender",value:function(){this.renderEmptyState()}},{key:"defaults",get:function(){return{type:0,shouldRender:y.isCollectionEmpty.bind(null,this.view)}},set:function(e){}}])&&m(t.prototype,n),r&&m(t,r),a}(r.a.Behavior);!function(e){e[e.Notifications=0]="Notifications"}(O||(O={}));var E=n(8),P=n(32),R=n(197),_=n.n(R);var T,x,A,L,j=(T={},x=O.Notifications,A=function(e){var t={imageUrl:E.a.getInstance(P.a.NOTIFICATIONS).notificationsEmptyStateUrl,heading:e.options.componentOptions.noNotificationsText,customClass:"".concat(_.a.paddedContainer," ").concat(e.options.componentOptions.customClass),customImageClass:"sm"===e.options.componentOptions.imageSize?_.a.imageSmall:_.a.imageLarge};return E.a.releaseInstance(P.a.NOTIFICATIONS),t},x in T?Object.defineProperty(T,x,{value:A,enumerable:!0,configurable:!0,writable:!0}):T[x]=A,T),N=n(9),I=n(90),D=n(13),U=n(17),M=n(50);!function(e){e[e.Other=0]="Other",e[e.Alert=1]="Alert",e[e.Warning=2]="Warning",e[e.Info=3]="Info",e[e.Success=4]="Success"}(L||(L={}));var F,V,H,z="notifications.utils",B=/^marketing-/,q=function(e){switch(e){case L.Success:return"success";case L.Alert:return"danger";case L.Warning:return"warning";case L.Info:case L.Other:default:return"dark"}},W=function(e){switch(e){case L.Success:return D.b.CheckCircle;case L.Alert:case L.Warning:return D.b.Warning;case L.Info:case L.Other:default:return D.b.Info}},J=function(e){return e===M.a.VideoProcessingFailed||e===M.a.VideoRequestDenied?"danger":e.match(B)?"warning":void 0},G=function(e){if(e.match(B))return D.b.Star},Y=function(e){switch(e){case M.a.VideoReviewAddedToLibrary:case M.a.WorkspaceVideoAvailable:case M.a.ExchangeVideoAvailable:case M.a.EditedVideoAvailable:return o.a.getPhrase(z,"viewVideo");case M.a.VideoReviewReminder:return o.a.getPhrase(z,"reviewVideos");case M.a.VideoReviewAddedToLibrary:return o.a.getPhrase(z,"viewNewContent");case M.a.CustomLibraryVideoAvailable:return o.a.getPhrase(z,"viewVideoDetails");case M.a.StaffRequest:return o.a.getPhrase(z,"reviewVideo");default:return o.a.getPhrase(z,"seeNow")}},K=n(103),Q=n(194);function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],r=!0,o=!1,i=void 0;try{for(var a,c=e[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{r||null==c.return||c.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return X(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return X(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function X(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function $(){return E.a.getInstance(P.a.NOTIFICATIONS,this)}function ee(e,t,n){return e===H.Module?function(e,t){var n=$();return t===V.ContentUpdates?n.appLinks.pastReleases:t===V.LibraryReview?n.appLinks.awaitingReview:void 0}(0,t):e===H.Video?function(e,t,n){return Object.assign(Object.assign({},$().appLinks.videoDetails),{args:[t,""]})}(0,t):e===H.StaffRequest?function(e,t,n){return Object.assign(Object.assign({},$().appLinks.editStaffRequest),{args:[t],params:{referrer:F.Notification}})}(0,t):void 0}!function(e){e.Notification="notification"}(F||(F={})),function(e){e.LibraryReview="libraryreview",e.ContentUpdates="newcontent"}(V||(V={})),function(e){e.Video="video",e.Url="url",e.Module="module",e.App="app",e.StaffRequest="staff_request"}(H||(H={}));var te=function(e){return i.contains($().notificationTypesWithAppLinks,e)},ne=function(e,t){if(e&&t){var n=Z(e.split(":"),2);return ee(n[0],n[1])}},re=n(230),oe=n.n(re),ie=n(418),ae=n.n(ie);function ce(e){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ue(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function se(e,t){return(se=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=pe(e);if(t){var o=pe(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fe(this,n)}}function fe(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var he,de=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&se(e,t)}(i,e);var t,n,r,o=le(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),o.call(this,e)}return t=i,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:notificationStatus",this.updateReadStatus)}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(e){return N.Radio.channel(U.a.NOTIFICATIONS).trigger(Q.a.Read,this.model.get("id")),this.model.set("notificationStatus",K.a.Read),!0}},{key:"getAppLink",value:function(){var e=this.model.get("appLink");if(!e)return null;var t=this.model.get("notificationType");return te(t)?ne(e,t):null}},{key:"updateReadStatus",value:function(){this.$el.removeClass("unread read").addClass(this.getReadStatus())}},{key:"getReadStatus",value:function(){switch(this.model.get("notificationStatus")){case K.a.Read:return"read";default:case K.a.Received:return"unread"}}},{key:"viewOptions",value:function(){var e=J(this.model.get("notificationType"))||q(this.model.get("alertType")),t=G(this.model.get("notificationType"))||W(this.model.get("alertType"));return{content:this.model.get("body")||this.model.get("name"),notificationTime:I(this.model.get("dateCreated")).fromNow(),icon:D.a.getSvg(t),iconClass:"text-".concat(e),styles:oe.a,showActionText:this.options.showActionText&&this.model.get("alertType")!==L.Warning,actionText:Y(this.model.get("notificationType"))}}},{key:"name",get:function(){return"NotificationItemComponent"}},{key:"template",get:function(){return ae.a}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){return this.getAppLink()?{}:{href:this.model.get("link"),target:"_blank"}}},{key:"className",get:function(){return"notification ".concat(oe.a.item," px-1 py-2 ").concat(this.getReadStatus())}},{key:"appLinks",get:function(){var e=this.getAppLink();return e?{"[this]":e}:{}}}])&&ue(t.prototype,n),r&&ue(t,r),i}(r.a.Component),ye=n(419),ve=n.n(ye);function ge(e){return(ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function me(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function be(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function we(e,t,n){return t&&be(e.prototype,t),n&&be(e,n),e}function Se(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Ce(e,t)}function Ce(e,t){return(Ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ee(e);if(t){var o=Ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ke(this,n)}}function ke(e,t){return!t||"object"!==ge(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Ee(e){return(Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return he})),n.d(t,"b",(function(){return Re})),function(e){e[e.Default=0]="Default",e[e.Popover=1]="Popover"}(he||(he={}));var Pe=function(e){Se(n,e);var t=Oe(n);function n(e){return me(this,n),t.call(this,e)}return we(n,[{key:"name",get:function(){return"NotificationComponentCollection"}},{key:"className",get:function(){return this.options.isPopover&&"popover-list-body-sm"}},{key:"childView",get:function(){return de}},{key:"childViewOptions",get:function(){return{showActionText:!this.options.isPopover}}}]),n}(r.a.ComponentCollection),Re=function(e){Se(n,e);var t=Oe(n);function n(e){return me(this,n),t.call(this,e)}return we(n,[{key:"regions",value:function(){return{notifications:{el:".notifications-region",replaceElement:!0}}}},{key:"getEmptyStateComponentOptions",value:function(){return this.options.isPopover?{customClass:"px-0 py-3",imageSize:"sm",noNotificationsText:o.a.getPhrase(this.lang,"noNotifications")}:{noNotificationsText:o.a.getPhrase(this.lang,"noNotifications")}}},{key:"onRender",value:function(){this.showChildView("notifications",new Pe(this.options))}},{key:"name",get:function(){return"NotificationListComponent"}},{key:"template",get:function(){return ve.a}},{key:"lang",get:function(){return"notifications.notificationList"}},{key:"behaviors",get:function(){return[{behaviorClass:k,region:"notifications",type:O.Notifications,componentOptions:this.getEmptyStateComponentOptions(),emptyStateComponents:j}]}}]),n}(r.a.Component)},function(e,t,n){"use strict";n.r(t);var r=n(43),o=n(180),i=n(1),a=n(9),c=n(38),u=n(42);function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,n,r;return t=e,(n=[{key:"use",value:function(e){var t;this.go=(t=this.go,function(n,r){return t(n,(function(){return e(n,r)}))})}},{key:"go",value:function(e,t){t(e)}}])&&s(t.prototype,n),r&&s(t,r),e}(),f=n(29),p=n(11),h=n(78),d=n(16);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e){return function(e){if(Array.isArray(e))return g(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return g(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return g(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t,n){return(b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=O(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return C(this,n)}}function C(e,t){return!t||"object"!==y(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=/([A-Z])/g,E=/(^|:)(\w)/gi,P=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(s,e);var t,n,o,c=S(s);function s(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=c.call(this,e)).bindDisposal(),t.processInternalRoutes(),t.processExternalRoutes(),t.processAppLinks(),t}return t=s,(n=[{key:"bindDisposal",value:function(){var e=this;this.listenTo(d.a.SHELL,f.a.ROUTE,(function(t){t.application!==e.channelName&&e.destroyApp()}))}},{key:"addRouteLookup",value:function(e,t){var n=this;this.options.shell.addRouteLookup("".concat(this.channelName,":").concat(e),(function(o,i){return r.a.buildRoute(t,{application:n.channelName,action:e,args:o,params:i})}))}},{key:"processInternalRoutes",value:function(){var e=this;i.each(i.keys(this.appRoutes),(function(t){var n=e.appRoutes[t],r=e.toEventName(n);e.addRouteLookup(r,t),e.listenTo(e.channelName,r,(function(n,r){r&&r.usedHelper||p.c.throw(new p.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),e.executeRoute(n,{isAppRoute:!0},(function(){var o=i.extend({},e.controller.getAndClearDefaultQueryParams(),n.params);n.params=o,h.a.UpdateUrl(t,n,r)}))}))}))}},{key:"processExternalRoutes",value:function(){var e=this;this.externalRoutes&&i.each(i.keys(this.externalRoutes),(function(t){var n=e.externalRoutes[t],o=e.toEventName(n);e.addRouteLookup(o,t),e.listenTo(e.channelName,o,(function(e,t){t&&t.usedHelper||p.c.throw(new p.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),h.a.PageLoad(r.a.getHref(e))}))}))}},{key:"processAppLinks",value:function(){var e=this;this.appLinks&&i.each(this.appLinks,(function(t){var n=e.toEventName(t);e.listenTo(e.channelName,n,(function(t,n){n&&n.usedHelper||p.c.throw(new p.b("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),e.executeRoute(t,{isAppRoute:!1})}))}))}},{key:"executeRoute",value:function(e,t,n){var o=this;this.validateAppLink(e);var c=this.toMethodName(e.action);r.b.routingStarted();var u=a.Radio.channel(d.a.SHELL);if(this.options.shell.isNavLocked())return u.trigger(f.a.NAV_IS_LOCKED,e),void r.b.routingEnded();var s=new l;i.each(this.filters,(function(e){return s.use(e)})),s.go(e,(function(){u.trigger(f.a.ROUTE,e,t),o.createApp();var a=o.controller;if(i.isFunction(a[c])||(r.b.routingEnded(),p.c.throw(new p.b("".concat(c," does not exist on the ").concat(i.result(a,"name"),".")))),!1===a.triggerMethod("before:action"))return a.triggerMethod("action:cancelled"),void r.b.routingEnded();a.triggerMethod("load:layout"),a[c].apply(a,[].concat(v(e.args||[]),[e.params||{}])),i.isFunction(n)&&n(),r.b.routingEnded()}))}},{key:"createApp",value:function(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}},{key:"destroyApp",value:function(){this.controller&&(this.controller.destroy(),delete this.controller)}},{key:"_addAppRoute",value:function(e,t,n){var r=this;this.route(t,n,(function(){for(var e=arguments.length,t=new Array(e),o=0;o<e;o++)t[o]=arguments[o];var a={application:r.channelName,action:r.toEventName(n),args:t.slice(0,t.length-1),params:h.a.DeserializeQueryParams(t[t.length-1])};r.executeRoute(a,{isAppRoute:!0},(function(){h.a.UpdateQuery(i.extend(r.controller.getAndClearDefaultQueryParams(),a.params))}))}))}},{key:"toEventName",value:function(e){return e.replace(k,":$1").toLowerCase()}},{key:"toMethodName",value:function(e){var t=e.replace(E,(function(e,t,n){return n.toUpperCase()}));return t[0].toLowerCase()+t.slice(1,t.length)}},{key:"validateAppLink",value:function(e){e.application&&e.action||(r.b.routingEnded(),p.c.throw(new p.b("Invalid AppLink")))}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],b(O(s.prototype),"listenTo",this))}}])&&m(t.prototype,n),o&&m(t,o),s}(c.AppRouter);function R(e){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function T(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(e,t,n){return(x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=N(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function A(e,t){return(A=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function L(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=N(e);if(t){var o=N(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return j(this,n)}}function j(e,t){return!t||"object"!==R(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function N(e){return(N=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&A(e,t)}(i,e);var t,n,r,o=L(i);function i(){return _(this,i),o.apply(this,arguments)}return t=i,(n=[{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],x(N(i.prototype),"listenTo",this))}}])&&T(t.prototype,n),r&&T(t,r),i}(c.Behavior),D=n(121);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function M(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function F(e,t,n){return(F="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=q(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function V(e,t){return(V=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function H(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=q(e);if(t){var o=q(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return z(this,n)}}function z(e,t){return!t||"object"!==U(t)&&"function"!=typeof t?B(e):t}function B(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&V(e,t)}(a,e);var t,n,r,o=H(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),t=o.call(this,e),i.result(B(t),"name")||p.c.throw(new p.b("Error: View with cid:".concat(t.cid," requires a name."))),t}return t=a,(n=[{key:"serializeModel",value:function(){return this.model?this.model.toJSON():{}}},{key:"serializeCollection",value:function(){return this.collection?this.collection.toJSON():[]}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],F(q(a.prototype),"listenTo",this))}}])&&M(t.prototype,n),r&&M(t,r),a}(c.CollectionView),J=n(181),G=n(145),Y=n(54),K=n(72),Q=n(144);function Z(e){return(Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function X(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function $(e,t,n){return($="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=re(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=re(e);if(t){var o=re(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ne(this,n)}}function ne(e,t){return!t||"object"!==Z(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function re(e){return(re=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oe=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ee(e,t)}(a,e);var t,n,r,o=te(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=o.call(this,e)).layouts={},t.requiredRegions=e.requiredRegions,t}return t=a,(n=[{key:"clearLayout",value:function(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}},{key:"registerLayout",value:function(e,t){return this.checkRequiredRegions(t),this.layouts[e]=t,this}},{key:"getLayout",value:function(e){var t=e.name,n=e.options,r=void 0===n?{}:n;this.layouts[t]||p.c.throw(new p.b("".concat(t," was not registered as a template.")));var o=this.layouts[t].getCacheKey(r);return this.currentLayoutCacheKey===o&&this.currentLayout?(this.currentLayout.triggerMethod("layout:requested",r),this.currentLayout):(this.clearLayout(),this.currentLayoutCacheKey=o,this.currentLayout=new this.layouts[t](r),this.listenToOnce(this.currentLayout,"destroy",this.clearLayout),this.currentLayout)}},{key:"checkRequiredRegions",value:function(e){i.each(this.requiredRegions,(function(t){i.has(i.result(e.prototype,"regions"),t)||p.c.throw(new p.b("Layout: ".concat(e.prototype.name," must define an ").concat(t," region.")))}))}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],$(re(a.prototype),"listenTo",this))}}])&&X(t.prototype,n),r&&X(t,r),a}(c.Object);function ie(e){return(ie="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ae(e,t,n){return(ae="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=le(e)););return e}(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(n):o.value}})(e,t,n||e)}function ce(e,t){return(ce=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ue(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=le(e);if(t){var o=le(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return se(this,n)}}function se(e,t){return!t||"object"!==ie(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function le(e){return(le=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function fe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function pe(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function he(e,t,n){return t&&pe(e.prototype,t),n&&pe(e,n),e}var de=function(){function e(t,n){fe(this,e),this.application=t,this.options=n||{}}return he(e,[{key:"Application",get:function(){return this.application}},{key:"Options",get:function(){return this.options}}]),e}(),ye=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&ce(e,t)}(n,e);var t=ue(n);function n(){return fe(this,n),t.apply(this,arguments)}return he(n,[{key:"initialize",value:function(e){this.mergeOptions(e,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}},{key:"bindListeners",value:function(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}},{key:"bindNavLockListeners",value:function(){var e=this;this.listenTo(d.a.SHELL,f.a.LOCK_NAV,(function(){return e.shellState.navLock=!0})),this.listenTo(d.a.SHELL,f.a.UNLOCK_NAV,(function(){return e.shellState.navLock=!1}))}},{key:"bindAppLinkListeners",value:function(){var e=this;this.listenTo(d.a.SHELL,f.a.ROUTING_START,(function(){return e.shellState.activeRoute=!0})),this.listenTo(d.a.SHELL,f.a.ROUTING_END,(function(){return e.shellState.activeRoute=!1})),this.listenTo(d.a.SHELL,f.a.ROUTE,(function(t){return e.shellState.currentAppLink=t}));var t=a.Radio.channel(d.a.SHELL);t.reply(f.a.HAS_ACTIVE_ROUTE,i.bind(this.hasActiveRoute,this)),t.reply(f.a.CURRENT_ROUTE,(function(){return e.shellState.currentAppLink}))}},{key:"bindErrorHandlers",value:function(){window.addEventListener("error",(function(){r.b.routingEnded()}))}},{key:"bindErrorListener",value:function(){var e=a.Radio.channel(d.a.SHELL);this.listenTo(e,f.a.ERROR,this.handleError)}},{key:"bindRouteLookup",value:function(){var e=this;a.Radio.channel(d.a.SHELL).reply(f.a.ROUTE_LOOKUP,(function(t,n,r){return e.routeLookup[t]?e.routeLookup[t](n,r):""}),this)}},{key:"addRouteLookup",value:function(e,t){this.routeLookup[e]=t}},{key:"registerApplication",value:function(e,t){return this.applications.push(new de(e,t)),this}},{key:"getGlobalRadioChannels",value:function(){return d.a}},{key:"isNavLocked",value:function(){return this.shellState.navLock}},{key:"start",value:function(e){var t=this;e||(e={}),this.runInitializationSteps(this,(function(r,o){t.runStartUpSteps(t,e,(function(r,o,i){ae(le(n.prototype),"start",t).call(t,e)}))}))}},{key:"hasActiveRoute",value:function(){return this.shellState.activeRoute}},{key:"onStart",value:function(){var e=this;i.each(this.applications,(function(t){var n={appConstructor:t.Application,shell:e,appOptions:Object.assign({region:"",shell:e,layoutService:e.layoutService},t.Options)};new t.Application.router(n)})),this.bindListeners(),h.a.StartHistory()}},{key:"addInitializationStep",value:function(e){var t;return this.runInitializationSteps=(t=this.runInitializationSteps,function(n,r){return t(n,(function(){return e(n,r)}))}),this}},{key:"runInitializationSteps",value:function(e,t){t(e)}},{key:"addStartUpStep",value:function(e){var t;return this.runStartUpSteps=(t=this.runStartUpSteps,function(n,r,o){return t(n,r,(function(){return e(n,r,o)}))}),this}},{key:"runStartUpSteps",value:function(e,t,n){n(e,t)}},{key:"registerLayout",value:function(e,t){return this.layoutService.registerLayout(e,t),this}},{key:"registerErrorHandler",value:function(e,t){return e||p.c.throw(new p.b("An error must have a name in order to register a handler for it.")),i.any(this.errorHandlers,(function(t){return t.errorType===e}))&&p.c.throw(new p.b("An error handler for ".concat(e.prototype.name," has already been defined."))),this.errorHandlers.push({errorType:e,handler:t}),this}},{key:"handleError",value:function(e){var t=i.find(this.errorHandlers,(function(t){return e instanceof t.errorType}));t&&t.handler&&t.handler(e)}},{key:"registerStore",value:function(e){this.store=e}},{key:"listenTo",value:function(){return u.a.call(this,arguments.length<=0?void 0:arguments[0],arguments.length<=1?void 0:arguments[1],arguments.length<=2?void 0:arguments[2],ae(le(n.prototype),"listenTo",this))}}]),n}(c.Application);n.d(t,"AppLinkHelper",(function(){return r.a})),n.d(t,"AppLinkUtility",(function(){return r.b})),n.d(t,"Application",(function(){return o.a})),n.d(t,"AppRouter",(function(){return P})),n.d(t,"Behavior",(function(){return I})),n.d(t,"Collection",(function(){return D.a})),n.d(t,"CollectionView",(function(){return W})),n.d(t,"ComponentCollection",(function(){return W})),n.d(t,"Error",(function(){return p.a})),n.d(t,"ErrorHelper",(function(){return p.c})),n.d(t,"SilentError",(function(){return p.d})),n.d(t,"LayoutView",(function(){return J.a})),n.d(t,"NestedModel",(function(){return G.a})),n.d(t,"Service",(function(){return Y.a})),n.d(t,"Model",(function(){return K.a})),n.d(t,"View",(function(){return Q.b})),n.d(t,"Component",(function(){return Q.a})),n.d(t,"EventNames",(function(){return f.a})),n.d(t,"LayoutService",(function(){return oe})),n.d(t,"Middleware",(function(){return l})),n.d(t,"LocationUtils",(function(){return h.a})),n.d(t,"Shell",(function(){return ye}))},function(e,t){e.exports=f},function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"b",(function(){return m}));var r=n(60),o=n(8),i=n(12),a=n(17),c=n(34),u=n(67);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==s(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&p(e,t)}(s,e);var t,n,r,o=h(s);function s(){return l(this,s),o.apply(this,arguments)}return t=s,(n=[{key:"getCurrentUser",value:function(e,t){return this.get({resource:"/api/currentuser",eventPrefix:c.a.CURRENT_USER,expiryTime:u.a.STANDARD,callback:e,errorCallback:t})}},{key:"getWorkspace",value:function(e,t){return this.get({resource:"/api/domain/v2/me/workspace?query=categorytree",eventPrefix:c.a.WORKSPACE,expiryTime:u.a.STANDARD,callback:e,errorCallback:t})}},{key:"name",get:function(){return i.a.User}},{key:"channelName",get:function(){return a.b.USER}}])&&f(t.prototype,n),r&&f(t,r),s}(r.a),g={dataServiceName:i.a.User,dataChannelName:a.b.USER},m={getCurrentUserFetchOptions:function(e,t){return Object.assign(Object.assign({},g),{eventPrefix:c.a.CURRENT_USER,fetchData:function(e){return e.getCurrentUser()},setData:e,onError:t})},currentUser:{dataServiceName:i.a.User,eventName:"".concat(c.a.CURRENT_USER,":sync"),getData:function(e){return e.getCurrentUser()},getInstance:function(e){return o.a.getInstance(i.a.User,e)},beforeOnBeforeRender:!0}}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Analytics="AnalyticsService",e.Context="ContextService"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={ANALYTICS:"global:analytics"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e[e.Audience=1]="Audience",e[e.Category=2]="Category",e[e.Channel=3]="Channel",e[e.Chapter=4]="Chapter",e[e.Comment=5]="Comment",e[e.OwnerComment=6]="OwnerComment",e[e.Image=7]="Image",e[e.Thumbnail=8]="Thumbnail",e[e.Avatar=9]="Avatar",e[e.Banner=10]="Banner",e[e.Video=11]="Video",e[e.Trailer=12]="Trailer",e[e.Rating=13]="Rating",e[e.Topic=14]="Topic",e[e.Series=15]="Series",e[e.Season=16]="Season",e[e.HostedMediaObjectCollection=17]="HostedMediaObjectCollection",e[e.ExchangeCollection=18]="ExchangeCollection",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection",e[e.Playlist=20]="Playlist",e[e.ClickViewTvCollection=21]="ClickViewTvCollection",e[e.ClickViewProductionsCollection=22]="ClickViewProductionsCollection",e[e.User=23]="User",e[e.SystemUser=24]="SystemUser",e[e.Customer=25]="Customer",e[e.Country=26]="Country",e[e.Organisation=28]="Organisation",e[e.SystemOrganisation=29]="SystemOrganisation",e[e.Group=30]="Group",e[e.SystemGroup=31]="SystemGroup",e[e.FlagReason=32]="FlagReason",e[e.Library=33]="Library",e[e.Interactive=34]="Interactive",e[e.WorkspaceCollection=35]="WorkspaceCollection",e[e.Conversation=36]="Conversation",e[e.Message=37]="Message",e[e.Notification=38]="Notification",e[e.Clip=39]="Clip",e[e.Link=40]="Link",e[e.UserChannel=41]="UserChannel",e[e.Resource=42]="Resource",e[e.VideoStream=43]="VideoStream",e[e.AudioStream=44]="AudioStream",e[e.Tag=45]="Tag",e[e.Subtitle=46]="Subtitle",e[e.LicencedContentCollection=47]="LicencedContentCollection",e[e.PublicCollection=48]="PublicCollection",e[e.CategoryTree=49]="CategoryTree",e[e.Logo=50]="Logo",e[e.Permission=51]="Permission",e[e.Subject=52]="Subject",e[e.Field=53]="Field",e[e.Company=54]="Company",e[e.Person=55]="Person",e[e.Cover=56]="Cover",e[e.Poster=57]="Poster",e[e.SubjectAudience=58]="SubjectAudience"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={UPDATE:"UPDATE_VIEW_MODEL"}},function(e,t,n){"use strict";var r;n.d(t,"a",(function(){return r})),function(e){e.Read="notification:read"}(r||(r={}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r={LAZY_LOAD:"lazy:load:behavior",POPUP:"popup:behavior",IMAGE_SELECT:"image:select:behavior"}},function(e,t,n){e.exports={notificationIcon:"_3SkbQ",light:"_2TvQg",dark:"_3taGb",unreadCount:"_1u6ig"}},function(e,t,n){e.exports={paddedContainer:"_1cCVc",imageLarge:"_3Wy1u",imageSmall:"_3t8Qq"}},function(e,t,n){e.exports={selectionContainer:"_3m62c",svgContainer:"_1XxEl"}},function(e,t,n){e.exports={svgContainer:"ecsrN",tip:"IwYkF",termContainer:"_1BqAi",term:"_1NEsr"}},function(e,t,n){e.exports={searchSvgContainer:"_1-crd",tipsContainer:"_15HAy",searchInput:"_1qca6",searchBar:"_3XQHi"}},function(e,t,n){e.exports={appLink:"_1SFgo",hoverUnderline:"_2iyL0"}},function(e,t){e.exports=p},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));var r=n(0),o=n.n(r);function i(){return o.a.createElement("svg",{viewBox:"0 0 434 71"},o.a.createElement("g",null,o.a.createElement("path",{fill:"#000000",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),o.a.createElement("path",{fill:"#F8981D",d:"M304.09 19.4a5.56 5.56 0 1 1 0-11.12 5.56 5.56 0 0 1 0 11.12zm-5.56 7.27h11.11v44.56h-11.11V26.67zm61.42 22.15c0 .81 0 2.42-.09 4h-31.75c.8 3.77 5.2 8.61 11.93 8.61a17.11 17.11 0 0 0 11.66-4.31l5.38 8.16a27.23 27.23 0 0 1-17 6.1c-12.92 0-22.88-9.87-22.88-22.34s9.06-22.33 21.35-22.33c11.62-.04 21.4 9.02 21.4 22.11zm-10.77-3.76c-.18-3.68-3.58-8.62-10.67-8.62-6.91 0-10.05 4.85-10.4 8.62h21.07zM385.92 71h-6.42l-19.64-44.37h13.97l9.16 23.98 9.72-23.98h8.31l9.63 23.98 9.16-23.98h13.97L414.24 71h-6.52l-10.85-23.7L385.92 71zm-120.22.35h-6L226.11 1.01h17.01l19.42 44.18 18.08-44.18h16.91L265.7 71.35zM0 1l41 35L0 71V1z"})))}function a(){return o.a.createElement("svg",{viewBox:"0 0 41 70"},o.a.createElement("g",null,o.a.createElement("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})))}},function(e,t,n){"use strict";t.__esModule=!0,t.AMPERSAND=t.CLOSEPAREN=t.CLOSEANGLEBRACKET=t.CLOSEBRACKET=t.CLOSEBRACE=t.OPENPAREN=t.OPENANGLEBRACKET=t.OPENBRACKET=t.OPENBRACE=t.WS=t.TLD=t.SYM=t.UNDERSCORE=t.SLASH=t.MAILTO=t.PROTOCOL=t.QUERY=t.POUND=t.PLUS=t.NUM=t.NL=t.LOCALHOST=t.PUNCTUATION=t.DOT=t.COLON=t.AT=t.DOMAIN=t.Base=void 0;var r=n(348),o=n(162),i=(0,r.createTokenClass)();function a(e){var t=e?{v:e}:{};return(0,o.inherits)(i,(0,r.createTokenClass)(),t)}i.prototype={toString:function(){return this.v+""}};var c=a(),u=a("@"),s=a(":"),l=a("."),f=a(),p=a(),h=a("\n"),d=a(),y=a("+"),v=a("#"),g=a(),m=a("mailto:"),b=a("?"),w=a("/"),S=a("_"),C=a(),O=a(),k=a(),E=a("{"),P=a("["),R=a("<"),_=a("("),T=a("}"),x=a("]"),A=a(">"),L=a(")"),j=a("&");t.Base=i,t.DOMAIN=c,t.AT=u,t.COLON=s,t.DOT=l,t.PUNCTUATION=f,t.LOCALHOST=p,t.NL=h,t.NUM=d,t.PLUS=y,t.POUND=v,t.QUERY=b,t.PROTOCOL=g,t.MAILTO=m,t.SLASH=w,t.UNDERSCORE=S,t.SYM=C,t.TLD=O,t.WS=k,t.OPENBRACE=E,t.OPENBRACKET=P,t.OPENANGLEBRACKET=R,t.OPENPAREN=_,t.CLOSEBRACE=T,t.CLOSEBRACKET=x,t.CLOSEANGLEBRACKET=A,t.CLOSEPAREN=L,t.AMPERSAND=j},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){var r,o;
|
|
2
2
|
/*!
|
|
3
3
|
* JavaScript Cookie v2.2.1
|
|
4
4
|
* https://github.com/js-cookie/js-cookie
|