@clickview/library-editor 1.1.27-rc.0 → 1.1.27-rc.2
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/library-editor-app.css +7 -0
- package/dist/en.json +1 -1
- package/dist/scripts/0-50fae6c404.chunk.js +1 -0
- package/dist/scripts/1-35adeca043.chunk.js +1 -0
- package/dist/scripts/10-e3de119a32.chunk.js +1 -0
- package/dist/scripts/{11-cbe69fa3f0.chunk.js → 11-c1c04528d4.chunk.js} +1 -1
- package/dist/scripts/12-fdb4fd076b.chunk.js +1 -0
- package/dist/scripts/13-b71e7a002a.chunk.js +1 -0
- package/dist/scripts/14-be81c6b0a6.chunk.js +1 -0
- package/dist/scripts/15-bbe23da473.chunk.js +1 -0
- package/dist/scripts/{16-42f9f38a5b.chunk.js → 16-45b853d9bc.chunk.js} +1 -1
- package/dist/scripts/{17-b1675f5397.chunk.js → 17-17e648d740.chunk.js} +1 -1
- package/dist/scripts/{2-cfce7347b3.chunk.js → 2-0c5c3204bb.chunk.js} +1 -1
- package/dist/scripts/20-fc03a8058d.chunk.js +1 -0
- package/dist/scripts/21-bf788bdc47.chunk.js +1 -0
- package/dist/scripts/22-c309ac8872.chunk.js +1 -0
- package/dist/scripts/23-4e4a6eef7f.chunk.js +1 -0
- package/dist/scripts/24-3dbcc6079d.chunk.js +1 -0
- package/dist/scripts/25-8f6c37473c.chunk.js +1 -0
- package/dist/scripts/26-e7665934ea.chunk.js +1 -0
- package/dist/scripts/27-ece4a707c2.chunk.js +1 -0
- package/dist/scripts/28-f7b0b6ca0a.chunk.js +1 -0
- package/dist/scripts/29-7b0d55eef4.chunk.js +1 -0
- package/dist/scripts/{3-34f154b85d.chunk.js → 3-c977fc76a1.chunk.js} +1 -1
- package/dist/scripts/30-07198d4b80.chunk.js +1 -0
- package/dist/scripts/31-558e4b9448.chunk.js +1 -0
- package/dist/scripts/{32-db0c763740.chunk.js → 32-66bedea19f.chunk.js} +1 -1
- package/dist/scripts/{33-b9fef236ae.chunk.js → 33-1c0a05f5ad.chunk.js} +1 -1
- package/dist/scripts/34-0261454401.chunk.js +1 -0
- package/dist/scripts/35-80afabad2f.chunk.js +1 -0
- package/dist/scripts/36-0945816998.chunk.js +1 -0
- package/dist/scripts/{37-e6d9fbefd1.chunk.js → 37-f9eaead96b.chunk.js} +1 -1
- package/dist/scripts/{38-0c6051fb45.chunk.js → 38-ee287180e0.chunk.js} +1 -1
- package/dist/scripts/{39-5fffd05811.chunk.js → 39-875e8edab4.chunk.js} +1 -1
- package/dist/scripts/{4-2a04f5b2b3.chunk.js → 4-30febbcd74.chunk.js} +1 -1
- package/dist/scripts/{40-5d3d9611b5.chunk.js → 40-9e6fe972eb.chunk.js} +1 -1
- package/dist/scripts/{41-f3b2533950.chunk.js → 41-8e127683ef.chunk.js} +1 -1
- package/dist/scripts/{42-075fbbf19d.chunk.js → 42-26e2b69676.chunk.js} +1 -1
- package/dist/scripts/{43-205ccfa9a4.chunk.js → 43-cd5d61f503.chunk.js} +1 -1
- package/dist/scripts/{44-4be8465afa.chunk.js → 44-50adae17aa.chunk.js} +1 -1
- package/dist/scripts/{45-541254a177.chunk.js → 45-d6cc086a40.chunk.js} +1 -1
- package/dist/scripts/{46-fe575b6c9f.chunk.js → 46-c3131aa1a1.chunk.js} +1 -1
- package/dist/scripts/{47-18d84f7b83.chunk.js → 47-53cc918c2d.chunk.js} +1 -1
- package/dist/scripts/{48-40adeb652e.chunk.js → 48-e37164e96c.chunk.js} +1 -1
- package/dist/scripts/49-f18c7b7f2d.chunk.js +1 -0
- package/dist/scripts/5-ae2739be4b.chunk.js +1 -0
- package/dist/scripts/{50-8cc4935ea5.chunk.js → 50-77cc32280d.chunk.js} +1 -1
- package/dist/scripts/{51-cd80402e6e.chunk.js → 51-718582f5a0.chunk.js} +1 -1
- package/dist/scripts/{52-7e11748c73.chunk.js → 52-8bab7f4183.chunk.js} +1 -1
- package/dist/scripts/{53-e807e56657.chunk.js → 53-051f6fefda.chunk.js} +1 -1
- package/dist/scripts/{54-265c2852ce.chunk.js → 54-54ab674027.chunk.js} +1 -1
- package/dist/scripts/{55-68bef0b859.chunk.js → 55-5620cb1984.chunk.js} +1 -1
- package/dist/scripts/{56-f52cc13b44.chunk.js → 56-d515b7881b.chunk.js} +1 -1
- package/dist/scripts/{57-77549e4856.chunk.js → 57-34cc7eeda7.chunk.js} +1 -1
- package/dist/scripts/{58-3f44c0ba1a.chunk.js → 58-095cc86c38.chunk.js} +1 -1
- package/dist/scripts/{59-bf231da287.chunk.js → 59-88d4d70542.chunk.js} +1 -1
- package/dist/scripts/6-64fc0b404b.chunk.js +1 -0
- package/dist/scripts/{60-c6a9325b5e.chunk.js → 60-8e040e4d8f.chunk.js} +1 -1
- package/dist/scripts/{61-5fe4279f6d.chunk.js → 61-9acfcad39c.chunk.js} +1 -1
- package/dist/scripts/{62-ff1c8453b6.chunk.js → 62-ab4cf2e18e.chunk.js} +1 -1
- package/dist/scripts/{63-47a43e2399.chunk.js → 63-be24981a1c.chunk.js} +1 -1
- package/dist/scripts/{64-398f9ac217.chunk.js → 64-2acf78f1d5.chunk.js} +1 -1
- package/dist/scripts/{65-d75308a09e.chunk.js → 65-37aed4a31d.chunk.js} +1 -1
- package/dist/scripts/{66-ec32c5588a.chunk.js → 66-bb4cde602a.chunk.js} +1 -1
- package/dist/scripts/{67-6805e53bfb.chunk.js → 67-04c0737fd2.chunk.js} +1 -1
- package/dist/scripts/{68-046ada4945.chunk.js → 68-436667d096.chunk.js} +1 -1
- package/dist/scripts/{69-235a8e6754.chunk.js → 69-4dd38a6827.chunk.js} +1 -1
- package/dist/scripts/{7-55f3aed0f4.chunk.js → 7-5194b748c8.chunk.js} +1 -1
- package/dist/scripts/{70-150be3f4a2.chunk.js → 70-d52ccba56d.chunk.js} +1 -1
- package/dist/scripts/{71-c63b7a2a30.chunk.js → 71-b7f95045b5.chunk.js} +1 -1
- package/dist/scripts/{72-53bdb8c37f.chunk.js → 72-b1eb475df0.chunk.js} +1 -1
- package/dist/scripts/{8-94205353a6.chunk.js → 8-d2d772bc05.chunk.js} +1 -1
- package/dist/scripts/9-160db7db67.chunk.js +1 -0
- package/dist/scripts/bundle-9b7e0bee97.min.js +8 -0
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-292fbd05c8.min.js +1 -0
- package/package.json +3 -3
- package/dist/libs/analytics/src/Analytics.d.ts +0 -10
- package/dist/libs/analytics/src/AnalyticsHelper.d.ts +0 -30
- package/dist/libs/analytics/src/AnalyticsService.d.ts +0 -52
- package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +0 -24
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -48
- package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +0 -7
- package/dist/libs/analytics/src/clients/GoogleAnalyticsClient.d.ts +0 -22
- package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +0 -1
- package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +0 -7
- package/dist/libs/analytics/src/constants/EventFirehose.d.ts +0 -4
- package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +0 -3
- package/dist/libs/analytics/src/constants/Regions.d.ts +0 -6
- package/dist/libs/analytics/src/constants/Services.d.ts +0 -4
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +0 -19
- package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +0 -22
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +0 -10
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +0 -5
- package/dist/libs/analytics/src/enums/RegionName.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +0 -318
- package/dist/libs/analytics/src/interfaces/Config.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Folder.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Owner.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Playlist.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Rating.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Region.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Resource.d.ts +0 -5
- package/dist/libs/analytics/src/interfaces/Series.d.ts +0 -3
- package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/User.d.ts +0 -17
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +0 -4
- package/dist/libs/analytics/src/interfaces/Video.d.ts +0 -16
- package/dist/libs/analytics/src/interfaces/index.d.ts +0 -15
- package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +0 -7
- package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +0 -49
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -61
- package/dist/libs/analytics/src/services/ContextService.d.ts +0 -19
- package/dist/libs/analytics/src/transport/EventTransport.d.ts +0 -39
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +0 -6
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +0 -14
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +0 -19
- package/dist/libs/analytics/src/utils/ObjectFormatHelper.d.ts +0 -5
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +0 -4
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +0 -10
- package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +0 -51
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
- package/dist/libs/common/src/backbone/constants/BehaviorChannels.d.ts +0 -5
- package/dist/libs/common/src/backbone/constants/Caches.d.ts +0 -3
- package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +0 -5
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -4
- package/dist/libs/common/src/backbone/constants/DataProviders.d.ts +0 -4
- package/dist/libs/common/src/backbone/constants/Webplayer.d.ts +0 -65
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +0 -37
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +0 -103
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +0 -76
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +0 -6
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +0 -7
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +0 -18
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +0 -11
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +0 -27
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +0 -21
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +0 -131
- package/dist/libs/common/src/backbone/core/EventNames.d.ts +0 -16
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +0 -31
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +0 -3
- package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +0 -23
- package/dist/libs/common/src/backbone/core/Middleware.d.ts +0 -10
- package/dist/libs/common/src/backbone/core/Shell.d.ts +0 -79
- package/dist/libs/common/src/backbone/core/Types.d.ts +0 -12
- package/dist/libs/common/src/backbone/core/index.d.ts +0 -18
- package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +0 -8
- package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +0 -6
- package/dist/libs/common/src/backbone/errors/DevError.d.ts +0 -4
- package/dist/libs/common/src/backbone/errors/NotImplementedError.d.ts +0 -5
- package/dist/libs/common/src/backbone/index.d.ts +0 -2
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +0 -19
- package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +0 -8
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +0 -15
- package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +0 -7
- package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +0 -218
- package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +0 -33
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +0 -38
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +0 -9
- package/dist/libs/common/src/backbone/interfaces/index.d.ts +0 -9
- package/dist/libs/common/src/backbone/runtime/InputValidation.d.ts +0 -2
- package/dist/libs/common/src/backbone/services/BaseAlertService.d.ts +0 -69
- package/dist/libs/common/src/backbone/services/BaseDataService.d.ts +0 -82
- package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +0 -13
- package/dist/libs/common/src/backbone/services/InstanceManager.d.ts +0 -33
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +0 -22
- package/dist/libs/common/src/backbone/services/ViewModelService.d.ts +0 -68
- package/dist/libs/common/src/backbone/services/caches/FifoMemoryCache.d.ts +0 -20
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +0 -31
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +0 -46
- package/dist/libs/common/src/backbone/utils/ConcurrencyHelper.d.ts +0 -13
- package/dist/libs/common/src/backbone/utils/DataServiceErrorHelper.d.ts +0 -2
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +0 -8
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +0 -58
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +0 -14
- package/dist/libs/common/src/backbone/utils/UserAgentHelper.d.ts +0 -7
- package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +0 -6
- package/dist/libs/common/src/react/flight/enums/index.d.ts +0 -1
- package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +0 -22
- package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +0 -4
- package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +0 -29
- package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +0 -15
- package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +0 -8
- package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +0 -4
- package/dist/libs/common/src/react/interfaces/HashObject.d.ts +0 -3
- package/dist/libs/common/src/react/interfaces/index.d.ts +0 -4
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +0 -50
- package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +0 -10
- package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -9
- package/dist/libs/shared/src/apps/notifications/collections/NotificationCollection.d.ts +0 -9
- package/dist/libs/shared/src/apps/notifications/components/notification-items/notification-item/NotificationItemComponent.d.ts +0 -23
- package/dist/libs/shared/src/apps/notifications/components/notification-list/NotificationListComponent.d.ts +0 -26
- package/dist/libs/shared/src/apps/notifications/components/notification-status/NotificationStatusComponent.d.ts +0 -15
- package/dist/libs/shared/src/apps/notifications/enums/AppLinkReferrer.d.ts +0 -3
- package/dist/libs/shared/src/apps/notifications/enums/NotificationActions.d.ts +0 -3
- package/dist/libs/shared/src/apps/notifications/enums/NotificationAlertType.d.ts +0 -7
- package/dist/libs/shared/src/apps/notifications/enums/NotificationAppLinkModules.d.ts +0 -7
- package/dist/libs/shared/src/apps/notifications/enums/NotificationModules.d.ts +0 -4
- package/dist/libs/shared/src/apps/notifications/enums/NotificationStatus.d.ts +0 -5
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +0 -16
- package/dist/libs/shared/src/apps/notifications/interfaces/NotificationCollectionRequest.d.ts +0 -5
- package/dist/libs/shared/src/apps/notifications/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/notifications/models/Notification.d.ts +0 -6
- package/dist/libs/shared/src/apps/notifications/services/NotificationDataService.d.ts +0 -14
- package/dist/libs/shared/src/apps/notifications/services/NotificationService.d.ts +0 -33
- package/dist/libs/shared/src/apps/notifications/services/NotificationSocketService.d.ts +0 -8
- package/dist/libs/shared/src/apps/notifications/services/data-providers/NotificationsSocketDataProvider.d.ts +0 -4
- package/dist/libs/shared/src/apps/notifications/utils/NotificationAppLinkHelper.d.ts +0 -10
- package/dist/libs/shared/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -18
- package/dist/libs/shared/src/apps/notifications/views/header/NotificationHeaderView.d.ts +0 -16
- package/dist/libs/shared/src/apps/notifications/views/notifications/NotificationsView.d.ts +0 -27
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +0 -34
- package/dist/libs/shared/src/apps/search/components/confirm-selection/ConfirmSelectionComponent.d.ts +0 -12
- package/dist/libs/shared/src/apps/search/components/instant-search/classification/ClassificationSearchResultComponent.d.ts +0 -17
- package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +0 -5
- package/dist/libs/shared/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +0 -15
- package/dist/libs/shared/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +0 -14
- package/dist/libs/shared/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +0 -9
- package/dist/libs/shared/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/components/search-context/SearchContextComponent.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +0 -11
- package/dist/libs/shared/src/apps/search/constants/TypeaheadConfiguration.d.ts +0 -12
- package/dist/libs/shared/src/apps/search/enums/FilterTypes.d.ts +0 -14
- package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +0 -18
- package/dist/libs/shared/src/apps/search/enums/SearchTypes.d.ts +0 -8
- package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +0 -26
- package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/apps/search/services/ContextualSearchService.d.ts +0 -34
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +0 -22
- package/dist/libs/shared/src/apps/search/utils/RecentSearchHelper.d.ts +0 -12
- package/dist/libs/shared/src/apps/search/utils/SearchHelper.d.ts +0 -5
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +0 -75
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +0 -110
- package/dist/libs/shared/src/apps/search/views/search-bar/templates/index.d.ts +0 -9
- package/dist/libs/shared/src/apps/upload/collections/PendingItemsCollection.d.ts +0 -8
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +0 -39
- package/dist/libs/shared/src/apps/upload/enums/FileLifestyle.d.ts +0 -4
- package/dist/libs/shared/src/apps/upload/enums/PendingItemStatus.d.ts +0 -5
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +0 -15
- package/dist/libs/shared/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +0 -7
- package/dist/libs/shared/src/apps/upload/services/BasePendingItemsService.d.ts +0 -26
- package/dist/libs/shared/src/apps/upload/services/DropzoneWrapper.d.ts +0 -30
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +0 -66
- package/dist/libs/shared/src/apps/upload/utils/FileExtensionsHelper.d.ts +0 -9
- package/dist/libs/shared/src/apps/upload/utils/PendingItemsHelper.d.ts +0 -9
- package/dist/libs/shared/src/constants/AppVariables.d.ts +0 -5
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -8
- package/dist/libs/shared/src/constants/CacheDurations.d.ts +0 -4
- package/dist/libs/shared/src/constants/DataPrefixes.d.ts +0 -12
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +0 -20
- package/dist/libs/shared/src/constants/SharedServices.d.ts +0 -25
- package/dist/libs/shared/src/enums/ClassificationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/CountryCode.d.ts +0 -5
- package/dist/libs/shared/src/enums/CurationStatus.d.ts +0 -12
- package/dist/libs/shared/src/enums/CurriculumType.d.ts +0 -6
- package/dist/libs/shared/src/enums/CustomerType.d.ts +0 -11
- package/dist/libs/shared/src/enums/GlanceFormat.d.ts +0 -3
- package/dist/libs/shared/src/enums/Images.d.ts +0 -26
- package/dist/libs/shared/src/enums/LibraryType.d.ts +0 -5
- package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +0 -8
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +0 -20
- package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ObjectStatus.d.ts +0 -5
- package/dist/libs/shared/src/enums/PartialLoading.d.ts +0 -4
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +0 -5
- package/dist/libs/shared/src/enums/PresentationType.d.ts +0 -4
- package/dist/libs/shared/src/enums/ResourceFileType.d.ts +0 -9
- package/dist/libs/shared/src/enums/SettingKind.d.ts +0 -4
- package/dist/libs/shared/src/enums/SettingName.d.ts +0 -17
- package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +0 -4
- package/dist/libs/shared/src/enums/ThemeType.d.ts +0 -3
- package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +0 -4
- package/dist/libs/shared/src/enums/UserGroup.d.ts +0 -5
- package/dist/libs/shared/src/enums/UserRole.d.ts +0 -15
- package/dist/libs/shared/src/enums/VideoOrigin.d.ts +0 -14
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +0 -10
- package/dist/libs/shared/src/errors/primitives/AlertError.d.ts +0 -4
- package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +0 -9
- package/dist/libs/shared/src/errors/primitives/ErrorPageError.d.ts +0 -7
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +0 -87
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +0 -24
- package/dist/libs/shared/src/images/svg/arrows/index.d.ts +0 -9
- package/dist/libs/shared/src/images/svg/index.d.ts +0 -2
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +0 -36
- package/dist/libs/shared/src/images/svg/player/index.d.ts +0 -14
- package/dist/libs/shared/src/images/svg/settings.d.ts +0 -1
- package/dist/libs/shared/src/images/svg/status/index.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/QueryParams.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -25
- package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/index.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Audience.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Banner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Category.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Channel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +0 -21
- package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/Company.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Cover.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +0 -18
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
- package/dist/libs/shared/src/interfaces/models/Folder.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Following.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Group.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Image.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Person.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Poster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Rating.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +0 -17
- package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/Season.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/models/Share.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/Subject.d.ts +0 -13
- package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Tag.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +0 -14
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/User.d.ts +0 -64
- package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +0 -34
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -57
- package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +0 -16
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionType.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +0 -2
- package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/props/index.d.ts +0 -1
- package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +0 -12
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +0 -9
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +0 -10
- package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +0 -4
- package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +0 -7
- package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -6
- package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +0 -5
- package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +0 -8
- package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -7
- package/dist/libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior.d.ts +0 -22
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +0 -4
- package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +0 -19
- package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
- package/dist/libs/shared/src/legacy/behaviors/popover/PopoverBehavior.d.ts +0 -40
- package/dist/libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior.d.ts +0 -26
- package/dist/libs/shared/src/legacy/components/empty-state/EmptyStateComponent.d.ts +0 -24
- package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +0 -29
- package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +0 -15
- package/dist/libs/shared/src/legacy/components/pagination/PaginationComponent.d.ts +0 -29
- package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +0 -22
- package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +0 -17
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +0 -35
- package/dist/libs/shared/src/legacy/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
- package/dist/libs/shared/src/legacy/enums/EmptyState.d.ts +0 -3
- package/dist/libs/shared/src/legacy/enums/SortType.d.ts +0 -7
- package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +0 -7
- package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/libs/shared/src/legacy/interfaces/CollectionIdentifier.d.ts +0 -7
- package/dist/libs/shared/src/legacy/interfaces/index.d.ts +0 -1
- package/dist/libs/shared/src/legacy/utils/EmptyStateHelper.d.ts +0 -4
- package/dist/libs/shared/src/legacy/utils/LangHelper.d.ts +0 -5
- package/dist/libs/shared/src/services/ContextService.d.ts +0 -38
- package/dist/libs/shared/src/services/LanguageDataService.d.ts +0 -7
- package/dist/libs/shared/src/services/UserDataService.d.ts +0 -24
- package/dist/libs/shared/src/utils/DurationHelper.d.ts +0 -7
- package/dist/libs/shared/src/utils/EmbedHelper.d.ts +0 -8
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +0 -32
- package/dist/libs/shared/src/utils/LibraryDataServiceHelper.d.ts +0 -13
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +0 -15
- package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +0 -9
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -18
- package/dist/libs/shared/src/utils/TextHelper.d.ts +0 -3
- package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +0 -12
- package/dist/projects/library-editor/src/app.d.ts +0 -245
- package/dist/projects/library-editor/src/apps/content-updates/ContentUpdatesApplication.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/content-updates/collections/SubjectCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/content-updates/collections/VideoGroupCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/content-updates/collections/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/content-updates/components/index.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/apps/content-updates/enums/PastReleaseFilterType.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/content-updates/enums/ReleaseDateType.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/content-updates/enums/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/content-updates/models/Subject.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/content-updates/models/VideoGroup.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/content-updates/models/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/content-updates/services/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/content-updates/utils/Constants.d.ts +0 -33
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/content-updates/utils/PastReleasesHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/content-updates/utils/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +0 -47
- package/dist/projects/library-editor/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +0 -36
- package/dist/projects/library-editor/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +0 -41
- package/dist/projects/library-editor/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +0 -55
- package/dist/projects/library-editor/src/apps/dashboard/DashboardApplication.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/dashboard/components/index.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/dashboard/views/DashboardView.d.ts +0 -38
- package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/default/views/dev-error/DevErrorView.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/default/views/error-view/ErrorView.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/default/views/not-found/NotFoundView.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/index.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +0 -46
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DragOptions.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/index.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/banner/BannerComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +0 -66
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +0 -48
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +0 -41
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +0 -45
- package/dist/projects/library-editor/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/library-editor/components/save/SaveComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +0 -46
- package/dist/projects/library-editor/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/constants/CheckboxTypes.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/library-editor/constants/EditVideoBackButtonBlacklist.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/constants/EditVideoBackButtonKey.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/constants/LibraryEditorActions.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/constants/LibraryEditorRadioChannels.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/constants/MetadataTypes.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/constants/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/enums/MediaConcatenateStatus.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/enums/TagBehavior.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/enums/TagOrientation.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/VideoCollectionSource.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/models/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/library-editor/services/ChapterDataService.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/library-editor/services/CompanyDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/services/ExportDataService.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/library-editor/services/FieldsDataService.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/library-editor/services/FolderDragDropService.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/library-editor/services/LibraryDataService.d.ts +0 -65
- package/dist/projects/library-editor/src/apps/library-editor/services/LinkDataService.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/library-editor/services/PersonDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/services/RatingsDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/library-editor/services/ResourceDataService.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/library-editor/services/SeriesDataService.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/library-editor/services/SubtitleDataService.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/library-editor/services/TagDataService.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +0 -45
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDragDropService.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/utils/AddToLibraryCacheHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/library-editor/utils/ChapterHelper.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/library-editor/utils/DownloadHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +0 -93
- package/dist/projects/library-editor/src/apps/library-editor/utils/FolderValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/LanguageValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/LibraryValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/UploadVideoValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/library-editor/utils/index.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +0 -71
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +0 -51
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +0 -92
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +0 -125
- package/dist/projects/library-editor/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +0 -33
- package/dist/projects/library-editor/src/apps/library-editor/views/library/LibraryView.d.ts +0 -31
- package/dist/projects/library-editor/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +0 -44
- package/dist/projects/library-editor/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +0 -50
- package/dist/projects/library-editor/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +0 -44
- package/dist/projects/library-editor/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +0 -39
- package/dist/projects/library-editor/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +0 -58
- package/dist/projects/library-editor/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +0 -105
- package/dist/projects/library-editor/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +0 -46
- package/dist/projects/library-editor/src/apps/migration-wizard/MigrationWizardApplication.d.ts +0 -45
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/migration-wizard/components/index.d.ts +0 -13
- package/dist/projects/library-editor/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +0 -36
- package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/CloudSyncStatus.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/FinalisationTaskStatus.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/FinalisationType.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/LocalOption.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/MigrationOption.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/MigrationReportType.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/SortField.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/ValidationResult.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/ValidationResultErrorType.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/VideoMigrationStatus.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/migration-wizard/enums/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/index.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/filters/MigrationFilters.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/filters/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/migration-wizard/interfaces/SelectedVideos.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/migration-wizard/models/BackupToolBuild.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/CustomerMetadata.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/models/FinalisationTask.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/HomeFolder.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/models/MigrationOptions.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/SelectedVideo.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/models/VideoCount.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/models/index.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/services/FolderCacheService.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/migration-wizard/services/LocalOptionsService.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +0 -56
- package/dist/projects/library-editor/src/apps/migration-wizard/services/SelectedVideoService.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/FolderHelper.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/KeyContactHelper.d.ts +0 -6
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationHelper.d.ts +0 -41
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationRadioChannels.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationWarningsSvgs.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/ReportHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/VideoHelper.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +0 -40
- package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +0 -32
- package/dist/projects/library-editor/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +0 -58
- package/dist/projects/library-editor/src/apps/migration-wizard/views/start/StartView.d.ts +0 -40
- package/dist/projects/library-editor/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/notifications/NotificationsApplication.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/notifications/constants/NotificationsAppVariables.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/notifications/constants/index.d.ts +0 -0
- package/dist/projects/library-editor/src/apps/notifications/utils/Constants.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/notifications/utils/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/SearchApplication.d.ts +0 -16
- package/dist/projects/library-editor/src/apps/search/collections/FilterCollection.d.ts +0 -9
- package/dist/projects/library-editor/src/apps/search/collections/OptionCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/search/collections/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/components/filters/FiltersComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/apps/search/components/filters/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +0 -42
- package/dist/projects/library-editor/src/apps/search/components/results/SearchResultsComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/search/constants/SearchRadioChannels.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/constants/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/search/models/Filter.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/search/models/Option.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/search/models/Query.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/models/SearchAppVariables.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/search/models/index.d.ts +0 -3
- package/dist/projects/library-editor/src/apps/search/services/SearchDataService.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/search/services/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/search/utils/Constants.d.ts +0 -28
- package/dist/projects/library-editor/src/apps/search/utils/Enums.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/search/utils/FilterHelper.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/FilterLabelGenerators.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/FilterQueryGenerators.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/FilterRouteQueryParamGenerators.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/search/utils/SearchHelper.d.ts +0 -11
- package/dist/projects/library-editor/src/apps/search/utils/index.d.ts +0 -4
- package/dist/projects/library-editor/src/apps/search/views/search/SearchView.d.ts +0 -57
- package/dist/projects/library-editor/src/apps/staff-requests/StaffRequestsApplication.d.ts +0 -15
- package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/staff-requests/collections/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +0 -42
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +0 -29
- package/dist/projects/library-editor/src/apps/staff-requests/enums/StaffRequestStatus.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/staff-requests/enums/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequest.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequestMessage.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/staff-requests/models/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/services/StaffRequestDataService.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/staff-requests/services/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/staff-requests/utils/StaffRequestApprovalValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/utils/StaffRequestRejectionValidation.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/utils/index.d.ts +0 -2
- package/dist/projects/library-editor/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +0 -34
- package/dist/projects/library-editor/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +0 -44
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +0 -23
- package/dist/projects/library-editor/src/apps/upload/components/index.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +0 -38
- package/dist/projects/library-editor/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +0 -21
- package/dist/projects/library-editor/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +0 -35
- package/dist/projects/library-editor/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +0 -10
- package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +0 -48
- package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +0 -20
- package/dist/projects/library-editor/src/apps/upload/components/upload-video-options/UploadVideoOptionsComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/upload/errors/index.d.ts +0 -1
- package/dist/projects/library-editor/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/upload/services/ImageUploadDataService.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/upload/services/PendingItemsService.d.ts +0 -7
- package/dist/projects/library-editor/src/apps/upload/services/VideoUploadDataService.d.ts +0 -17
- package/dist/projects/library-editor/src/apps/upload/services/VideoUploadService.d.ts +0 -8
- package/dist/projects/library-editor/src/apps/upload/services/index.d.ts +0 -5
- package/dist/projects/library-editor/src/apps/upload/views/file-select/FileSelectView.d.ts +0 -25
- package/dist/projects/library-editor/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +0 -18
- package/dist/projects/library-editor/src/apps/upload/views/upload-button/UploadButtonView.d.ts +0 -26
- package/dist/projects/library-editor/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +0 -14
- package/dist/projects/library-editor/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +0 -64
- package/dist/projects/library-editor/src/apps/video-access/VideoAccessApplication.d.ts +0 -12
- package/dist/projects/library-editor/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +0 -34
- package/dist/projects/library-editor/src/polyfills.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/alerts/VideoAlerts.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/alerts/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +0 -14
- package/dist/projects/library-editor/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +0 -31
- package/dist/projects/library-editor/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +0 -65
- package/dist/projects/library-editor/src/shared/behaviors/stickit/StickitBehavior.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/ChannelCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/ChapterCollection.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/collections/DirectorCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/DistributorCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/FieldsCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/FolderCollection.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/collections/InteractivesCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/LibraryCollection.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/collections/LinkCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/LocalCacheDeviceCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/LocalCacheDownloadCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/MetadataCollection.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/collections/ProducerCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/ProductionCompanyCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/RatingCollection.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/collections/ResourceCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/RestrictedObjectCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/RestrictionCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/SeasonCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/SettingsCollection.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/collections/SubtitleCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/TagCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/collections/VideoCollection.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/components/alert/AlertComponentCollection.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/components/alert/AlertItemComponent.d.ts +0 -44
- package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/shared/components/checkbox/CheckboxComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/clear-button/ClearButtonComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +0 -47
- package/dist/projects/library-editor/src/shared/components/dialog/DialogView.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +0 -36
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownComponentCollection.d.ts +0 -38
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownItemComponent.d.ts +0 -57
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +0 -38
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +0 -32
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +0 -61
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +0 -17
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +0 -40
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/fields/FieldsComponent.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +0 -34
- package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavComponent.d.ts +0 -31
- package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +0 -48
- package/dist/projects/library-editor/src/shared/components/page-footer/PageFooterComponent.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/components/page-header/PageHeaderComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/partial-loading/index.d.ts +0 -2
- package/dist/projects/library-editor/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/components/screenrights-disclaimer/ScreenrightsDisclaimerComponent.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +0 -54
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +0 -73
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +0 -28
- package/dist/projects/library-editor/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +0 -29
- package/dist/projects/library-editor/src/shared/components/tree-dropdown/TreeDropdownComponent.d.ts +0 -32
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +0 -75
- package/dist/projects/library-editor/src/shared/components/typeahead-input/templates/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +0 -31
- package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionsComponent.d.ts +0 -42
- package/dist/projects/library-editor/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/video-description/VideoDescriptionComponent.d.ts +0 -33
- package/dist/projects/library-editor/src/shared/components/video-item/VideoItemComponent.d.ts +0 -58
- package/dist/projects/library-editor/src/shared/components/video-item/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemBehaviors.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentHelper.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/components/video-item/utils/index.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +0 -26
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/index.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +0 -27
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +0 -22
- package/dist/projects/library-editor/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +0 -37
- package/dist/projects/library-editor/src/shared/components/video-list/VideoListComponent.d.ts +0 -44
- package/dist/projects/library-editor/src/shared/components/video-preview/VideoPreviewComponent.d.ts +0 -30
- package/dist/projects/library-editor/src/shared/components/web-player/WebPlayerComponent.d.ts +0 -53
- package/dist/projects/library-editor/src/shared/constants/Actions.d.ts +0 -99
- package/dist/projects/library-editor/src/shared/constants/BootstrapKeys.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/constants/CacheDurations.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/DataPrefixes.d.ts +0 -91
- package/dist/projects/library-editor/src/shared/constants/DataServiceErrors.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/EventNames.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/constants/FolderTreeIds.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/FormattedCustomerSettingNames.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/ImageSizes.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/constants/ImageUrls.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/constants/LayoutRegions.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/constants/Layouts.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/LazyLoadBrowserSupport.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/constants/MarketingSiteArticles.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/Misc.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/constants/OnlineUrls.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/PartialLoadingComponents.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/constants/RadioChannels.d.ts +0 -62
- package/dist/projects/library-editor/src/shared/constants/Search.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/constants/Services.d.ts +0 -62
- package/dist/projects/library-editor/src/shared/constants/SupportArticles.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/constants/Webplayer.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/constants/WithStatements.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/constants/index.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/enums/CitationType.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/enums/CustomerRegions.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/EmptyStates.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/enums/FileIdType.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/ImageType.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/MasterType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/enums/PartialLoading.d.ts +0 -38
- package/dist/projects/library-editor/src/shared/enums/RestrictedObjectType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/enums/SchoolTypes.d.ts +0 -17
- package/dist/projects/library-editor/src/shared/enums/SharedResourcePrivacy.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/enums/SortTypes.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/enums/StaffRequestOption.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/enums/TimeType.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/enums/UserRole.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/enums/YearGroups.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/errors/authentication/AuthenticationError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/customer-setting/CustomerSettingError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/errors/not-found/NotFoundError.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/errors/old-version/OldVersionError.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/filters/BetaAccessFilter.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/filters/CustomerSettingsFilter.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/filters/RoleFilter.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/filters/VerifiedEmailFilter.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/filters/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/index.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/interfaces/VideoCollectionIdentifier.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/interfaces/index.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/layouts/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -49
- package/dist/projects/library-editor/src/shared/models/Avatar.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Banner.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Channel.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Chapter.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Company.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Config.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Customer.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Director.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/DisabledSpinnerModel.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/models/Distributor.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Folder.d.ts +0 -14
- package/dist/projects/library-editor/src/shared/models/Image.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Interactives.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/LanguageConfig.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/models/Library.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/models/Link.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/LocalCacheDevice.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/LocalCacheDownload.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Logo.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Metadata.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Owner.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Person.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Phrases.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Playlist.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Producer.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/ProductionCompany.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Rating.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Resource.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/RestrictedObject.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Restriction.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Season.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Series.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/models/Setting.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/SharedResource.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Subtitle.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Tag.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/Thumbnail.d.ts +0 -3
- package/dist/projects/library-editor/src/shared/models/User.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/models/Video.d.ts +0 -49
- package/dist/projects/library-editor/src/shared/services/AlertService.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/services/ConfigDataService.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/services/CustomerDataService.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/services/DownloadProxyDataServices.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/services/IntercomService.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/services/LocalCacheDataService.d.ts +0 -12
- package/dist/projects/library-editor/src/shared/services/NavigationLockService.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/services/PageTitleService.d.ts +0 -8
- package/dist/projects/library-editor/src/shared/services/PageVisibilityService.d.ts +0 -14
- package/dist/projects/library-editor/src/shared/services/PartialLoadingService.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/services/RestrictedVideoDataService.d.ts +0 -15
- package/dist/projects/library-editor/src/shared/services/SettingsDataService.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/services/UserDataService.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/services/VideoMixinService.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/utils/BulkCheckboxHelper.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/utils/CancelProcessingHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/utils/CollectionHelper.d.ts +0 -10
- package/dist/projects/library-editor/src/shared/utils/DialogHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/DurationHelper.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/utils/FolderTreeHelpers.d.ts +0 -36
- package/dist/projects/library-editor/src/shared/utils/ImageHelper.d.ts +0 -32
- package/dist/projects/library-editor/src/shared/utils/LazyLoadHelper.d.ts +0 -4
- package/dist/projects/library-editor/src/shared/utils/LocalCacheHelper.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/utils/PartialLoadingHelper.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +0 -13
- package/dist/projects/library-editor/src/shared/utils/RadioChannelHelper.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/utils/RestrictedAccessHelper.d.ts +0 -13
- package/dist/projects/library-editor/src/shared/utils/SettingsHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/SortHelper.d.ts +0 -16
- package/dist/projects/library-editor/src/shared/utils/SpinnerHelper.d.ts +0 -19
- package/dist/projects/library-editor/src/shared/utils/SubtitleLanguageValidation.d.ts +0 -6
- package/dist/projects/library-editor/src/shared/utils/TabHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/TextHelper.d.ts +0 -9
- package/dist/projects/library-editor/src/shared/utils/TimeHelper.d.ts +0 -20
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +0 -11
- package/dist/projects/library-editor/src/shared/utils/index.d.ts +0 -23
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +0 -25
- package/dist/projects/library-editor/src/shared/utils/search/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +0 -12
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/index.d.ts +0 -1
- package/dist/projects/library-editor/src/shared/utils/search/raw-search-templates/index.d.ts +0 -5
- package/dist/projects/library-editor/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +0 -28
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -18
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +0 -7
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +0 -24
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessView.d.ts +0 -67
- package/dist/projects/library-editor/src/shared/views/share/ShareView.d.ts +0 -48
- package/dist/projects/library-editor/src/shared/views/top-navigation/TopNavigationView.d.ts +0 -35
- package/dist/projects/library-editor/src/shared/views/user-options/UserOptionsView.d.ts +0 -18
- package/dist/projects/library-editor/src/startup/ConsoleOutput.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterAjaxMiddleware.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterRuntimeEnvironment.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +0 -3
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +0 -15
- package/dist/projects/library-editor/src/startup/index.d.ts +0 -14
- package/dist/projects/library-editor/src/styles/index.d.ts +0 -1
- package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +0 -26
- package/dist/scripts/0-93a3cbfbb6.chunk.js +0 -1
- package/dist/scripts/1-69d9709724.chunk.js +0 -1
- package/dist/scripts/10-8b01d98b20.chunk.js +0 -1
- package/dist/scripts/12-9b10cdc17d.chunk.js +0 -1
- package/dist/scripts/13-1e10e6e87f.chunk.js +0 -1
- package/dist/scripts/14-ab7a30ee22.chunk.js +0 -1
- package/dist/scripts/15-74a4408ee9.chunk.js +0 -1
- package/dist/scripts/20-9f938a6f3e.chunk.js +0 -1
- package/dist/scripts/21-3a0591790a.chunk.js +0 -1
- package/dist/scripts/22-75ca7c2ae2.chunk.js +0 -1
- package/dist/scripts/23-6cc6df1006.chunk.js +0 -1
- package/dist/scripts/24-857f2e7cba.chunk.js +0 -1
- package/dist/scripts/25-30d6eaa470.chunk.js +0 -1
- package/dist/scripts/26-7e0e9534cf.chunk.js +0 -1
- package/dist/scripts/27-460f20f83b.chunk.js +0 -1
- package/dist/scripts/28-c4655d4bd8.chunk.js +0 -1
- package/dist/scripts/29-3629c8b906.chunk.js +0 -1
- package/dist/scripts/30-9d7a8c6475.chunk.js +0 -1
- package/dist/scripts/31-a80eb231ed.chunk.js +0 -1
- package/dist/scripts/34-d2a7193286.chunk.js +0 -1
- package/dist/scripts/35-1b97d95b2a.chunk.js +0 -1
- package/dist/scripts/36-179634ea36.chunk.js +0 -1
- package/dist/scripts/49-ac59f2a6fd.chunk.js +0 -1
- package/dist/scripts/5-ce9948090c.chunk.js +0 -1
- package/dist/scripts/6-97a29c3fdd.chunk.js +0 -1
- package/dist/scripts/9-0776e647a0.chunk.js +0 -1
- package/dist/scripts/bundle-704119eb6d.min.js +0 -8
- package/dist/scripts/polyfills-44c21c47b6.min.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[25],{1272:function(e,t,n){"use strict";var r=n(193),o=n(1),i=n(191),a=n(0),l=n(137),s=n(295);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){return function(e){if(Array.isArray(e))return p(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 p(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 p(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 p(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 h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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 m(this,n)}}function m(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 y(e){return(y=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&&h(e,t)}(c,e);var t,n,r,i=d(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_VIDEOS,":collection"),cursor:e.cursor,sort:e.sort})).setAdditionalData(e),t}return t=c,(n=[{key:"setAdditionalData",value:function(e){var t=e.libraryIds,n=e.dateQueryString,r=e.subjects;t&&(this.libraryIds=t),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(s.g,{queryString:n})||s.e;this.dateOption=new l.b(i)}},{key:"toString",value:function(){var e=this.subjects&&this.subjects.length&&this.subjects.map((function(e){return escape(e.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(u(e),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.libraryIds&&(e.libraryIds=this.libraryIds),this.dateOption&&(e.from=this.dateOption.get("from"),e.to=this.dateOption.get("to")),this.subjects&&(e.subjectIds=o.flatten(this.subjects.map((function(e){return e.get("subjectIds")})))),this.cursor&&(e.cursor=this.cursor),e}}])&&f(t.prototype,n),r&&f(t,r),c}(i.a);function b(e){return(b="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,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 w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(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=E(e);if(t){var o=E(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"!==b(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 E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=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)}(c,e);var t,n,r,i=k(c);function c(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),(t=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_SUBJECTS,":collection"),sort:e.sort})).setAdditionalData(e),t}return t=c,(n=[{key:"setAdditionalData",value:function(e){var t=e.libraryIds,n=e.dateQueryString;t&&(this.libraryIds=t);var r=o.findWhere(s.g,{queryString:n})||s.e;this.dateOption=new l.b(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var e={};return this.libraryIds&&(e.libraryIds=this.libraryIds),this.dateOption&&(e.from=this.dateOption.get("from"),e.to=this.dateOption.get("to")),e}}])&&v(t.prototype,n),r&&v(t,r),c}(i.a);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 x(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function R(e,t){return(R=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _(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=T(e);if(t){var o=T(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"!==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 T(e){return(T=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&&R(e,t)}(n,e);var t=_(n);function n(e,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return x(this,n),t.call(this,{collectionPrefix:a.f.LIBRARY_FOLDERS,id:e,sort:r,cursor:o})}return n}(i.a);n.d(t,"d",(function(){return r.a})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return O})),n.d(t,"a",(function(){return I}))},1297:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(6),o=n(2),i=n(30),a=n(15),l=n(293),s=n(12),c=n(1222),u=n(189),p=n(1320),f=n.n(p);function h(e){return(h="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 d(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 m(e,t){return(m=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=b(e);if(t){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return g(this,n)}}function g(e,t){return!t||"object"!==h(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 b(e){return(b=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&&m(e,t)}(h,e);var t,n,o,p=y(h);function h(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),p.call(this,e)}return t=h,(n=[{key:"initialize",value:function(){this.options.playerViewModelKey&&this.listenToPlayerViewModel(),this.initViewModel(),this.options.editing&&this.syncTime()}},{key:"events",value:function(){return{submit:"onSubmit","change .chapter-name":"validateName","keyup .chapter-name":"validateName","change .time-input":"onTimeInputUpdate","click .time-input":"onTimeInputUpdate","keyup .time-input":"onTimeInputUpdate","click .cancel":"destroyView"}}},{key:"initViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName,this.model.toJSON())}},{key:"listenToPlayerViewModel",value:function(){var e=i.a.get(this.options.playerViewModelKey);this.listenTo(e,"change:currenttime",this.updateTime)}},{key:"updateTime",value:function(e){this.webPlayerTime=e.get("currenttime"),this.syncTime()}},{key:"syncTime",value:function(){var e=this.viewModel.get("startTime")||this.webPlayerTime;this.viewModel.set({hours:s.w.getHoursComponent(e),minutes:s.w.getMinutesComponent(e),seconds:s.w.getSecondsComponent(e)})}},{key:"getNewTime",value:function(){return this.enabled()?s.w.parseTime(this.viewModel.pick("hours","minutes","seconds")):0}},{key:"enabled",value:function(){return this.options.creating||0!==this.model.collection.indexOf(this.model)}},{key:"maxTimes",value:function(){var e=s.w.millisecondsToSeconds(this.options.duration),t=s.w.getHoursComponent(e),n=t>0?59:s.w.getMinutesComponent(e);return{maxHr:t,maxMin:n,maxSec:n>0?59:s.w.getSecondsComponent(e)}}},{key:"onTimeInputUpdate",value:function(){r.Radio.channel(this.options.channelName).trigger(u.LibraryEditorActions.UpdateChapterTime,this.getNewTime()),this.validateStartTime()}},{key:"destroyView",value:function(){r.Radio.channel(this.options.channelName).trigger(u.LibraryEditorActions.CancelChapterEdit),this.destroy()}},{key:"onSubmit",value:function(e){if(e.preventDefault(),!this.validate())return!1;var t={id:this.viewModel.get("id"),name:this.viewModel.get("name"),startTime:this.getNewTime()},n=r.Radio.channel(this.options.channelName),o=u.LibraryEditorActions.CreateChapter;this.options.editing&&(o=u.LibraryEditorActions.UpdateChapter),n.trigger(o,t),this.stopListening(this.viewModel),i.a.clear(this.viewModelName)}},{key:"validate",value:function(){this.viewModel.validate();var e=this.validateStartTime(),t=this.validateName();return this.viewModel.isValid()&&e&&t}},{key:"validateStartTime",value:function(){var e=this,t=r.Validation.callbacks,n=t.valid,o=t.invalid,i=this.model.collection||this.options.collection,a=this.getNewTime(),l=c.a.isValidChapterTime(this.model,a,this.options.duration,i),s=[],u=["seconds","minutes","hours"];return a<0?s=u:l&&(s.push("seconds"),a>59&&s.push("minutes"),a>3540&&s.push("hours")),u.forEach((function(t){return n(e,t,null)})),s.forEach((function(t){return o(e,t,l,null)})),!l}},{key:"validateName",value:function(e){if(!e||13!==e.keyCode){var t=r.Validation.callbacks,n=t.valid,o=t.invalid,i=this.model.collection||this.options.collection,a=c.a.isValidChapterName(this.model,this.viewModel.get("name"),i);return a?o(this,"name",a,null):n(this,"name",null),!a}}},{key:"viewOptions",value:function(){var e=this.maxTimes(),t=e.maxHr,n=e.maxMin,r=0===e.maxSec,o=0===n,i=0===t;return Object.assign(Object.assign({},this.options),{enabled:this.enabled(),timeId:"".concat(this.cid,"-time"),chapterId:"".concat(this.cid,"-chapter-name"),plusSvg:a.a.getSvg(a.b.Plus),secDisabled:r,minDisabled:o,hrDisabled:i})}},{key:"name",get:function(){return"ChapterFormComponent"}},{key:"lang",get:function(){return"libraryEditor.chapterForm"}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"template",get:function(){return f.a}},{key:"className",get:function(){return this.options.creating?"py-3":"border-top p-2"}},{key:"behaviors",get:function(){return[{behaviorClass:l.a,bindViewModel:!0},{behaviorClass:l.f,bindViewModel:!0}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}},"[name=hours]":{observe:"hours",setOptions:{validate:!0}},"[name=minutes]":{observe:"minutes",setOptions:{validate:!0}},"[name=seconds]":{observe:"seconds",setOptions:{validate:!0}}}}}])&&d(t.prototype,n),o&&d(t,o),h}(o.a.Component)},1305:function(e,t,n){"use strict";var r=n(2),o=n(6),i=n(1317),a=n.n(i),l=n(139),s=n(4),c=n(42),u=n(15),p=n(1306),f=n(1318),h=n.n(f),d=n(1319),m=n.n(d);class y extends r.a.Component{constructor(e){super(e)}get name(){return"ResourceItemComponent"}get template(){return h.a}get className(){return m.a.container+" rounded p-2 mb-2"}events(){return{"click .delete":"onClickDelete","click .edit":"onClickEdit"}}get appLinks(){return{".edit":this.options.getEditAppLink(this.model.get("id"))}}onClickEdit(){const e=c.a.mergeOptions(this.options.analyticsOptions,{actionType:s.UserAction.Edit,entity:s.EntityType.Resource,workflowPhase:s.WorkflowPhase.Start}),t={id:this.model.get("id"),parentId:+this.options.videoId};c.a.logUserAction(t,e)}onClickDelete(){l.a.isFunction(this.options.onClickDelete)&&this.options.onClickDelete(this.model)}viewOptions(){const e=this.model.get("metadata"),t=e?e.type:"";return{editable:this.options.editable,extension:p.a.mapTypeToExtension(t),svg:u.a.getSvg(p.a.mapTypeToSvg(t)),iconClass:p.a.mapTypeToClass(t),resourceType:p.a.mapTypeToName(t),editSvg:u.a.getSvg(u.b.Edit),trashSvg:u.a.getSvg(u.b.Delete)}}}var g=n(3),b=n(140),v=n(146),w=n(196);function k(e){return(k="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 E(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 O(e,t,n){return t&&E(e.prototype,t),n&&E(e,n),e}function S(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&&x(e,t)}function x(e,t){return(x=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function R(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 _(this,n)}}function _(e,t){return!t||"object"!==k(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)}n.d(t,"b",(function(){return T})),n.d(t,"a",(function(){return I}));var T=function(e){S(n,e);var t=R(n);function n(e){return C(this,n),t.call(this,e)}return O(n,[{key:"onClickDelete",value:function(e){var t=this;new w.a({title:g.a.getPhrase(this.lang,"removeHeading"),text:g.a.getPhrase(this.lang,"removeBody",{resourceName:e.get("name")}),buttons:[{text:g.a.getPhrase(this.lang,"remove"),className:"btn btn-danger",success:!0},{text:g.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}],channelName:"".concat(this.name).concat(this.cid)}).render().done((function(){o.Radio.channel(t.options.channelName).trigger("delete:resource",e.get("id"))}))}},{key:"name",get:function(){return"VideoResourcesComponentCollection"}},{key:"className",get:function(){return"mt-3"}},{key:"lang",get:function(){return"libraryEditor.videoResources"}},{key:"childView",get:function(){return y}},{key:"childViewOptions",get:function(){var e=this;return{editable:this.options.editable,videoId:this.options.videoId,analyticsOptions:this.options.analyticsOptions,onClickDelete:function(t){return e.onClickDelete(t)},getEditAppLink:function(t){return{application:b.a.LIBRARY_EDITOR,action:v.a.LibraryEditor.EDIT_RESOURCE,args:[e.options.videoId,t]}}}}}]),n}(r.a.ComponentCollection),I=function(e){S(n,e);var t=R(n);function n(e){return C(this,n),t.call(this,e)}return O(n,[{key:"regions",value:function(){return{resources:{replaceElement:!0,el:".resource-list-region"}}}},{key:"renderResources",value:function(){var e=new T({collection:this.options.customCollection||this.model.resources,editable:this.options.editable||!1,videoId:this.options.videoId||this.model.get("id"),channelName:this.options.parentChannelName||this.channelName});this.showChildView("resources",e)}},{key:"viewOptions",value:function(){return{resourcesHeadingText:this.options.headerText||g.a.getPhrase(this.lang,"heading"),emptyStateText:this.options.emptyStateText}}},{key:"onRender",value:function(){this.renderResources()}},{key:"name",get:function(){return"VideoResourcesComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"libraryEditor.videoResources"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return this.options.customCollection?"":"py-3 border-top"}}]),n}(r.a.Component)},1306:function(e,t,n){"use strict";var r,o=n(3),i=n(15),a=n(59);!function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(r||(r={})),n.d(t,"a",(function(){return s}));const l="shared.shared-utils",s={mapRatingToClass(e){if(!e)return"";return(e=>{switch(!0){case e<32:return"bg-purple";case e<48:return"bg-success";case e<80:return"bg-info";case e<96:return"bg-danger";case e<128:return"bg-pink";case e>=128:return"bg-warning";default:return""}})(e)},mapSourceToDisplayName(e){switch(e.type){case a.a.HostedLibrary:case a.a.CustomLibrary:return e.name;case a.a.Exchange:return o.a.getPhrase(l,"exchange");case a.a.Workspace:return o.a.getPhrase(l,"workspace");default:return""}},mapSourceToClass(e){switch(e){case a.a.HostedLibrary:case a.a.CustomLibrary:return"bg-info";case a.a.Exchange:return"bg-success";case a.a.Workspace:default:return"bg-danger"}},isInteractive(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e.interactives)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)},mapTypeToSvg(e){let t={[r.Pdf]:i.b.FilePDF,[r.Image]:i.b.FileImg,[r.PowerPoint]:i.b.FilePowerpoint,[r.Document]:i.b.FileWord,[r.Excel]:i.b.FileExcel,[r.Zip]:i.b.FileZip,[r.File]:i.b.File}[e];return t||(t=i.b.Folder),t},mapTypeToClass(e){switch(e){case r.Pdf:return"icon-red";case r.Image:return"icon-purple";case r.Document:return"icon-blue";case r.Excel:return"icon-green";case r.PowerPoint:return"icon-orange";case r.Zip:return"icon-teal";case r.File:return"icon-gray";default:return""}},mapTypeToExtension(e){if(!e)return"";return{pdf:"pdf",image:"png",powerpoint:"pptx"}[e.toLowerCase()]},mapTypeToName(e){if(!e)return"";switch(e){case r.Pdf:return o.a.getPhrase(l,"pdf");case r.Image:return o.a.getPhrase(l,"image");case r.Document:return o.a.getPhrase(l,"document");case r.Excel:return o.a.getPhrase(l,"spreadsheet");case r.PowerPoint:return o.a.getPhrase(l,"presentation");case r.Zip:return o.a.getPhrase(l,"zipArchive");case r.File:return o.a.getPhrase(l,"file");default:return""}}}},1315:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},1316:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"\r\n"},3:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return'<a class="info-link">'+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.isActive:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1317:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return"<p>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.emptyStateText:i,t))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return"<h5>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.resourcesHeadingText:i,t))+"</h5>\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.emptyStateText:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'\r\n<div class="resource-list-region"></div>'},useData:!0})},1318:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda;return'<a class="float-right svg-container cursor-pointer text-muted delete">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.trashSvg:i,t))?i:"")+'</a>\r\n<a class="float-right svg-container cursor-pointer text-muted edit">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.editSvg:i,t))?i:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return'<span title="'+s(l(null!=(i=null!=t?t.options:t)?i.resourceType:i,t))+'" class="d-inline-block align-middle mr-2 svg-container '+s(l(null!=(i=null!=t?t.options:t)?i.iconClass:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+'</span>\r\n<a href="'+s("function"==typeof(a=null!=(a=n.url||(null!=t?t.url:t))?a:u)?a.call(c,{name:"url",hash:{},data:o}):a)+"?name="+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:u)?a.call(c,{name:"name",hash:{},data:o}):a)+'" class="align-middle">\r\n '+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:u)?a.call(c,{name:"name",hash:{},data:o}):a)+"\r\n</a>\r\n"+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.editable:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},1319:function(e,t,n){e.exports={container:"f6lVD"}},1320:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-6 form-group">\r\n <label class="d-block" for="'+l(a(null!=(i=null!=t?t.options:t)?i.timeId:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"startTimeLabel",{name:"lang",hash:{},data:o}))+'</label>\r\n <input\r\n class="form-control d-inline-block col-3 time-input hour-input"\r\n type="number"\r\n placeholder="'+l((n.lang||t&&t.lang||c).call(s,"hoursPlaceholder",{name:"lang",hash:{},data:o}))+'"\r\n name="hours"\r\n autocomplete="off"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.hrDisabled:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+'> <b>:</b>\r\n <input\r\n class="form-control d-inline-block col-3 time-input minute-input"\r\n type="number"\r\n placeholder="'+l((n.lang||t&&t.lang||c).call(s,"minutesPlaceholder",{name:"lang",hash:{},data:o}))+'"\r\n name="minutes"\r\n autocomplete="off"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.minDisabled:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+'> <b>:</b>\r\n <input\r\n class="form-control d-inline-block col-3 time-input second-input"\r\n type="number"\r\n placeholder="'+l((n.lang||t&&t.lang||c).call(s,"secondsPlaceholder",{name:"lang",hash:{},data:o}))+'"\r\n name="seconds"\r\n id="'+l(a(null!=(i=null!=t?t.options:t)?i.timeId:i,t))+'"\r\n autocomplete="off"\r\n '+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.secDisabled:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+'>\r\n <div class="form-feedback"></div>\r\n </div>\r\n'},2:function(e,t,n,r,o){return"disabled"},4:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return' <button type="submit" class="btn btn-primary btn-sm ml-2">\r\n <span class="d-inline-block align-middle svg-container">'+(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.plusSvg:i,t))?i:"")+'</span>\r\n <span class="align-middle">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"add",{name:"lang",hash:{},data:o}))+"</span>\r\n </button>\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return' <button type="submit" class="btn btn-primary btn-sm ml-2">'+l((n.lang||t&&t.lang||a).call(i,"save",{name:"lang",hash:{},data:o}))+'</button>\r\n <button type="button" class="btn btn-secondary btn-sm cancel ml-2">'+l((n.lang||t&&t.lang||a).call(i,"cancel",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="row">\r\n <div class="col-6 form-group">\r\n <label for="'+l(a(null!=(i=null!=t?t.options:t)?i.chapterId:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"nameLabel",{name:"lang",hash:{},data:o}))+'</label>\r\n <input type="text" class="form-control chapter-name" name="name" id="'+l(a(null!=(i=null!=t?t.options:t)?i.chapterId:i,t))+'" placeholder="'+l((n.lang||t&&t.lang||c).call(s,"namePlaceholder",{name:"lang",hash:{},data:o}))+'" autofocus autocomplete="off">\r\n <div class="form-feedback"></div>\r\n </div>\r\n'+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.enabled:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n\r\n<div class="row">\r\n'+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.creating:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.editing:i,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o}))?i:"")+"</div>"},useData:!0})},1321:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.loading:i,t))},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-2 text-right">\r\n <a class="action edit-chapter my-2 svg-container '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+' d-inline-block text-muted"\r\n title="'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"edit",{name:"lang",hash:{},data:o}))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.editSvg:i,t))?i:"")+"</a>\r\n"+(null!=(i=n.if.call(s,null!=(i=null!=t?t.options:t)?i.allowDelete:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <a class="action delete-chapter my-2 svg-container '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+' d-inline-block text-muted"\r\n title="'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"delete",{name:"lang",hash:{},data:o}))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.deleteSvg:i,t))?i:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=null!=t?t:e.nullContext||{},s=e.lambda,c=e.escapeExpression;return'<div class="row mx-0 border-top chapter-item '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.loading:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'">\r\n <div class="clickable-seek col-1">\r\n <p class="m-0 py-2">'+c(s(null!=(i=null!=t?t.options:t)?i.index:i,t))+'</p>\r\n </div>\r\n <div class="clickable-seek col-6">\r\n <p class="m-0 py-2">'+c("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:o}):a)+'</p>\r\n </div>\r\n <div class="clickable-seek col-3 text-right">\r\n <p class="m-0 py-2">'+c(s(null!=(i=null!=t?t.options:t)?i.time:i,t))+"</p>\r\n </div>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showActions:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="edit-form-region"></div>\r\n'},useData:!0})},1322:function(e,t,n){e.exports={darkBackground:"_2jtQl",loading:"_152ia",svgContainer:"xdD5o",chapterItem:"_3G38c"}},1323:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return"<h5>"+l((n.lang||t&&t.lang||a).call(i,"chapters",{name:"lang",hash:{},data:o}))+'</h5>\r\n<div class="row mt-3 m-0 border-bottom">\r\n <div class="col-1">\r\n <label>#</label>\r\n </div>\r\n <div class="col-6">\r\n <label>'+l((n.lang||t&&t.lang||a).call(i,"nameLabel",{name:"lang",hash:{},data:o}))+'</label>\r\n </div>\r\n <div class="col-3 text-right">\r\n <label>'+l((n.lang||t&&t.lang||a).call(i,"startLabel",{name:"lang",hash:{},data:o}))+'</>\r\n </div>\r\n</div>\r\n<div class="chapter-list-region"></div>'},useData:!0})},1324:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'<a class="float-right '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+" "+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actionSvg:i,t))+' text-muted delete">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.trashSvg:i,t))?i:"")+'</a>\r\n<a class="float-right '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+" "+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.actionSvg:i,t))+' text-muted edit">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.editSvg:i,t))?i:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return'<span class="d-inline-block align-middle mr-2 icon-blue '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.linkSvg:i,t))?i:"")+'</span>\r\n<a href="'+s("function"==typeof(a=null!=(a=n.url||(null!=t?t.url:t))?a:u)?a.call(c,{name:"url",hash:{},data:o}):a)+'" target="_blank" class="align-middle">\r\n '+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:u)?a.call(c,{name:"name",hash:{},data:o}):a)+"\r\n</a>\r\n"+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.editable:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")},useData:!0})},1325:function(e,t,n){e.exports={container:"_3Qewt",svgContainer:"_3T40U",actionSvg:"_3FRzz"}},1326:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return"<p>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.emptyStateText:i,t))+"</p>"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return"<h5>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.headingText:i,t))+"</h5>\r\n"+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.emptyStateText:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'\r\n<div class="links-region"></div>'},useData:!0})},1327:function(e,t,n){"use strict";n.d(t,"a",(function(){return S}));var r=n(1),o=n(29),i=n(2),a=n(82),l=n(15),s=n(135),c=n(0),u=n(9),p=n(1242),f=n(1219),h=n(1216),d=n(1328),m=n.n(d),y=n(1329),g=n.n(y),b=n(3);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 w(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 k(e,t){return(k=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=O(e);if(t){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return E(this,n)}}function E(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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=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&&k(e,t)}(y,e);var t,n,i,d=C(y);function y(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y),d.call(this,e)}return t=y,(n=[{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0,partialLoading:u.h.VideoBasicInfo},series:{el:".series-region",replaceElement:!0}}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?o(this.model.get("dateBroadcast")).format(u.l.FULL_YEAR):""}},{key:"getSeriesUrl",value:function(){if(this.options.externalSeriesLink&&this.model.series)return a.a.safeUrlConcat(this.options.config.get("onlineUrl"),"series/".concat(this.model.series.id))}},{key:"renderSeries",value:function(){this.model.series&&this.model.series.get("name")&&this.showChildView("series",new f.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl(),styleUppercase:!1}))}},{key:"renderDescription",value:function(){if(this.model&&this.model.get("description")){var e=new p.a({model:this.model,linkify:!0,size:p.b.Large,truncate:this.options.truncateDescription,allowExpand:!0});this.showChildView("description",e)}}},{key:"getSubtitleLanguage",value:function(){var e=this;return this.model.subtitles&&this.model.get("subtitles").length?r.uniq(this.model.get("subtitles").map((function(t){var n,r=t.get("language"),o=CVLanguages.getFullEnglishName(r);return(null===(n=t.get("metadata"))||void 0===n?void 0:n.autoGenerated)?b.a.getPhrase(e.lang,"autoGenerated",{name:o}):o}))).join(", "):""}},{key:"getCitationHeading",value:function(e,t,n){return this.model.get(e)?this.model.get(e).length>1?n:t:""}},{key:"getCitationHeadings",value:function(){return{productionCompaniesText:this.getCitationHeading(u.a.ProductionCompany,"Production Company","Production Companies"),producersText:this.getCitationHeading(u.a.Producer,"Producer","Producers"),disributorsText:this.getCitationHeading(u.a.Distributor,"Distributor","Distributors"),directorsText:this.getCitationHeading(u.a.Director,"Director","Directors")}}},{key:"viewOptions",value:function(){return Object.assign({styles:m.a,ratingClass:this.model.rating&&h.i.mapRatingToClass(this.model.rating.get("value")),broadcastDate:this.getBroadcastDate(),showHeading:this.options.showHeading,subtitles:this.getSubtitleLanguage(),publisherArchiveSvg:l.a.getSvg(l.b.PublisherArchive),showPublisherVideoDetails:this.options.showPublisherVideoDetails},this.getCitationHeadings())}},{key:"onRender",value:function(){this.renderSeries(),this.renderDescription()}},{key:"name",get:function(){return"VideoBasicInfoComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared.videoBasicInfo"}},{key:"defaults",get:function(){return{truncateDescription:!0}}},{key:"behaviors",get:function(){return[{behaviorClass:s.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){return{".applink-publisher-video":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SHOW_PUBLISHER_VIDEO,args:[this.model.get("id")]}}}}])&&w(t.prototype,n),i&&w(t,i),y}(i.a.Component)},1328:function(e,t,n){e.exports={columnNames:"_1N_VT",seriesContainer:"_4pk2s",icon:"_3SoBV",citationValues:"_1nYZg"}},1329:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return'<div class="position-relative">\r\n <h5 class="d-inline-block">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"basicInfo",{name:"lang",hash:{},data:o}))+"</h5>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.showPublisherVideoDetails:i,{name:"if",hash:{},fn:e.program(2,o,0),inverse:e.noop,data:o}))?i:"")+"</div>\r\n"},2:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <a class="float-right cursor-pointer applink-publisher-video">\r\n <span class="d-inline-block align-middle '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.publisherArchiveSvg:i,t))?i:"")+"</span> "+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"viewInPublisherArchive",{name:"lang",hash:{},data:o}))+"\r\n </a>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"videoTitle",{name:"lang",hash:{},data:o}))+'</div>\r\n <p class="col-9">'+l("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:c)?a.call(s,{name:"name",hash:{},data:o}):a)+"</p>\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"series",{name:"lang",hash:{},data:o}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.seriesContainer:i,t))+'"><div class="series-region"></div></div>\r\n'},8:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"rating",{name:"lang",hash:{},data:o}))+'</div>\r\n <p class="col-9"><span class="p-1 badge text-white tool-tip '+l(a(null!=(i=null!=t?t.options:t)?i.ratingClass:i,t))+" "+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.rating:i,t))+'" title="'+l(a(null!=(i=null!=t?t.rating:t)?i.name:i,t))+'">'+l(a(null!=(i=null!=t?t.rating:t)?i.code:i,t))+"</span></p>\r\n"},10:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <div class="col-3 '+a(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"description",{name:"lang",hash:{},data:o}))+'</div>\r\n <div class="col-9">\r\n <div class="description-region"></div>\r\n </div>\r\n'},12:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=e.escapeExpression,s=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||c).call(s,"productionYear",{name:"lang",hash:{},data:o}))+'</div>\r\n <p class="col-9">'+l("function"==typeof(a=null!=(a=n.productionYear||(null!=t?t.productionYear:t))?a:c)?a.call(s,{name:"productionYear",hash:{},data:o}):a)+"</p>\r\n"},14:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"producers",{name:"lang",hash:{},data:o}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.producers:t,{name:"each",hash:{},fn:e.program(15,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\r\n </div>\r\n"},15:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return" <span>"+e.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=t?t.name:t))?i:e.hooks.helperMissing)?i.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):i)+"</span>\r\n"},17:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"directors",{name:"lang",hash:{},data:o}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.directors:t,{name:"each",hash:{},fn:e.program(15,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\r\n </div>\r\n"},19:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"productionCompanies",{name:"lang",hash:{},data:o}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.productionCompanies:t,{name:"each",hash:{},fn:e.program(15,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\r\n </div>\r\n"},21:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=t?t:e.nullContext||{};return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(s,"distributors",{name:"lang",hash:{},data:o}))+'</div>\r\n <div class="col-9 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.citationValues:i,t))+'">\r\n <p>\r\n'+(null!=(i=n.each.call(s,null!=t?t.distributors:t,{name:"each",hash:{},fn:e.program(15,o,0),inverse:e.noop,data:o}))?i:"")+" </p>\r\n </div>\r\n"},23:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.channel:t,{name:"if",hash:{},fn:e.program(24,o,0),inverse:e.noop,data:o}))?i:""},24:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'\r\n <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"channel",{name:"lang",hash:{},data:o}))+'</div>\r\n <p class="col-9">'+l(a(null!=(i=null!=t?t.channel:t)?i.name:i,t))+"</p>\r\n "},26:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"broadcastDate",{name:"lang",hash:{},data:o}))+'</div>\r\n <p class="col-9">'+l(a(null!=(i=null!=t?t.options:t)?i.broadcastDate:i,t))+"</p>\r\n"},28:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <div class="col-3 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:o}))+'</div>\r\n <p class="col-9">'+l(a(null!=(i=null!=t?t.options:t)?i.subtitles:i,t))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.showHeading:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="row mb-0">\r\n'+(null!=(i=n.if.call(a,null!=t?t.name:t,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.series:t)?i.name:i,{name:"if",hash:{},fn:e.program(6,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.rating:t)?i.code:i,{name:"if",hash:{},fn:e.program(8,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=t?t.description:t,{name:"if",hash:{},fn:e.program(10,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=t?t.productionYear:t,{name:"if",hash:{},fn:e.program(12,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.producers:t)?i.length:i,{name:"if",hash:{},fn:e.program(14,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.directors:t)?i.length:i,{name:"if",hash:{},fn:e.program(17,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.productionCompanies:t)?i.length:i,{name:"if",hash:{},fn:e.program(19,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.distributors:t)?i.length:i,{name:"if",hash:{},fn:e.program(21,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n "+(null!=(i=n.if.call(a,null!=(i=null!=t?t.channel:t)?i.name:i,{name:"if",hash:{},fn:e.program(23,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.broadcastDate:i,{name:"if",hash:{},fn:e.program(26,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.subtitles:i,{name:"if",hash:{},fn:e.program(28,o,0),inverse:e.noop,data:o}))?i:"")+"</div>"},useData:!0})},1367:function(e,t,n){"use strict";var r=n(2),o=n(6),i=n(15),a=n(135),l=n(12),s=n(1297),c=n(189),u=n(1321),p=n.n(u),f=n(1322),h=n.n(f);function d(e){return(d="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 y(e,t){return(y=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(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 b(this,n)}}function b(e,t){return!t||"object"!==d(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 v(e){return(v=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&&y(e,t)}(f,e);var t,n,r,u=g(f);function f(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.call(this,e)}return t=f,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{editForm:{replaceElement:!1,el:".edit-form-region"}}}},{key:"events",value:function(){return{"click @ui.editChapter":"onEditChapter","click @ui.deleteChapter":"onDeleteChapter","click .clickable-seek":"onClick"}}},{key:"bindListeners",value:function(){this.listenTo(this.instanceChannelName,c.LibraryEditorActions.CancelChapterEdit,this.onCancelEdit),this.listenTo(this.instanceChannelName,c.LibraryEditorActions.UpdateChapter,this.onUpdateChapter),this.listenTo(this.instanceChannelName,c.LibraryEditorActions.UpdateChapterTime,this.onUpdateChapterTime),this.listenTo(this.model,"change:showEditor",this.onShowEditorChange),this.listenTo(this.model,"change:loading",this.onLoadingChange);var e=this.model.collection.first();this.model!==e?this.listenTo(this.model.collection,"sort",this.render):this.listenTo(this.model.collection,"add remove sort",this.render)}},{key:"onClick",value:function(){var e=o.Radio.channel(this.options.channelName);this.model.get("isPhysicalChapter")?e.trigger(c.LibraryEditorActions.SeekToChapter,this.model.get("index")):e.trigger(c.LibraryEditorActions.UpdateChapterTime,this.model.get("startTime"))}},{key:"onLoadingChange",value:function(){var e=this.model.get("loading")?"disable":"enable";this.getUI("editChapter").tooltip(e),this.getUI("deleteChapter").tooltip(e),this.model.set("showEditor",!1,{silent:!0}),this.render()}},{key:"onShowEditorChange",value:function(){this.model.get("loading")||(this.model.get("showEditor")?this.showEditView():this.hideEditView())}},{key:"showEditView",value:function(){this.renderEditForm(),this.getUI("chapterItem").addClass(h.a.darkBackground)}},{key:"hideEditView",value:function(){this.model.set("showEditor",!1,{silent:!0}),this.getUI("chapterItem").removeClass(h.a.darkBackground),this.detachChildView("editForm")}},{key:"onCancelEdit",value:function(){this.hideEditView()}},{key:"onDeleteChapter",value:function(){this.model.get("loading")||o.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.DeleteChapter,this.model)}},{key:"onUpdateChapter",value:function(e){o.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.UpdateChapter,e),this.render()}},{key:"onUpdateChapterTime",value:function(e){o.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.UpdateChapterTime,e)}},{key:"onEditChapter",value:function(){o.Radio.channel(this.options.channelName).trigger(c.LibraryEditorActions.ToggleEdit,this.model)}},{key:"canDelete",value:function(e){var t=this.model.collection.length;return 1===e&&1===t||!(1===e&&t>1)}},{key:"viewOptions",value:function(){var e=this.model.collection.indexOf(this.model)+1,t=l.w.trimToMinutes(l.w.secondsToHoursFormatted(this.model.get("startTime")));return Object.assign(Object.assign({},this.options),{styles:h.a,time:t,index:e,loading:this.model.get("loading"),allowDelete:this.canDelete(e),editSvg:i.a.getSvg(i.b.Edit),deleteSvg:i.a.getSvg(i.b.Delete)})}},{key:"renderEditForm",value:function(){this.showChildView("editForm",new s.a({model:this.model,editing:!0,channelName:this.instanceChannelName,duration:this.options.duration}))}},{key:"onBeforeDetach",value:function(){$(".tooltip").remove()}},{key:"name",get:function(){return"ChapterItemComponent"}},{key:"lang",get:function(){return"libraryEditor.chapterItem"}},{key:"instanceChannelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"chapter ".concat(h.a.chapterItem)}},{key:"behaviors",get:function(){return[{behaviorClass:a.a,selector:".action"}]}},{key:"elements",get:function(){return{chapterItem:".chapter-item",editChapter:".edit-chapter",deleteChapter:".delete-chapter"}}}])&&m(t.prototype,n),r&&m(t,r),f}(r.a.Component);function k(e){return(k="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 E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(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=x(e);if(t){var o=x(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"!==k(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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var R=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&&E(e,t)}(i,e);var t,n,r,o=O(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.bindEditorListeners()}},{key:"bindEditorListeners",value:function(){this.options.editable&&this.listenTo(this.options.channelName,c.LibraryEditorActions.ToggleEdit,this.toggleEditForm)}},{key:"toggleEditForm",value:function(e){this.collection.each((function(t){return t!==e&&t.set("showEditor",!1)})),e.set("showEditor",!e.get("showEditor"))}},{key:"name",get:function(){return"ChapterComponentCollection"}},{key:"className",get:function(){return"chapters"}},{key:"childView",get:function(){return w}},{key:"childViewOptions",get:function(){return{showActions:this.options.showActions,duration:this.options.duration,channelName:this.options.channelName}}}])&&C(t.prototype,n),r&&C(t,r),i}(r.a.ComponentCollection),_=n(1323),P=n.n(_);function T(e){return(T="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 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 D(e,t){return(D=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(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 L(this,n)}}function L(e,t){return!t||"object"!==T(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 V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return N}));var N=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)}(i,e);var t,n,r,o=j(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:"regions",value:function(){return{chapterList:{replaceElement:!0,el:".chapter-list-region"}}}},{key:"viewOptions",value:function(){return{showHeader:this.options.showHeader}}},{key:"onRender",value:function(){this.showChildView("chapterList",new R({collection:this.collection,duration:this.options.duration,channelName:this.options.channelName,showActions:this.options.showActions,editable:this.options.editable}))}},{key:"name",get:function(){return"ChaptersComponent"}},{key:"template",get:function(){return P.a}},{key:"lang",get:function(){return"libraryEditor.chapters"}},{key:"className",get:function(){return"chapters ".concat(!this.options.editable&&"py-3 border-top")}}])&&I(t.prototype,n),r&&I(t,r),i}(r.a.Component)},1369:function(e,t,n){"use strict";var r=n(2),o=n(1315),i=n.n(o),a=n(1316),l=n.n(a);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 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 p(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}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&&h(e,t)}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(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 m(this,n)}}function m(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 g=function(e){f(n,e);var t=d(n);function n(){return c(this,n),t.apply(this,arguments)}return p(n,[{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}},{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return l.a}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var e="breadcrumb-item";return this.model.get("active")&&(e+=" active"),e}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}}]),n}(r.a.Component),b=function(e){f(n,e);var t=d(n);function n(){return c(this,n),t.apply(this,arguments)}return p(n,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return g}}]),n}(r.a.ComponentCollection),v=n(49),w=n(0);function k(e){return(k="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 E(e,t){return(E=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function O(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=x(e);if(t){var o=x(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"!==k(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 x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return R}));var R=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&&E(e,t)}(l,e);var t,n,o,a=O(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,(n=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"getBreadcrumbs",value:function(){this.breadcrumbCollection=new r.a.Collection;var e,t=this.options.folder;do{if(e=v.a.getParent(t.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(t,!!e),{at:0}),!e)break;t=e}while(e);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:w.b.LIBRARY_EDITOR,action:w.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(e,t){var n=t?w.a.LibraryEditor.FOLDER:w.a.LibraryEditor.LIBRARY;return{name:e.get("name"),appLink:{application:w.b.LIBRARY_EDITOR,action:n,args:[e.id]}}}},{key:"onRender",value:function(){var e=new b({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",e)}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return i.a}},{key:"className",get:function(){return"d-inline-block"}}])&&C(t.prototype,n),o&&C(t,o),l}(r.a.Component)},1370:function(e,t,n){"use strict";var r=n(2),o=n(6),i=n(15),a=n(4),l=n(42),s=n(12),c=n(0),u=n(1324),p=n.n(u),f=n(1325),h=n.n(f),d=n(3);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 y(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){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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=w(e);if(t){var o=w(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"!==m(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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&g(e,t)}(f,e);var t,n,r,u=b(f);function f(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f),u.call(this,e)}return t=f,(n=[{key:"events",value:function(){return{"click .delete":"onClickDelete","click .edit":"onClickEdit"}}},{key:"onClickEdit",value:function(){var e=l.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Edit,entity:a.EntityType.Resource,workflowPhase:a.WorkflowPhase.Start}),t={id:this.model.get("id"),parentId:+this.options.videoId};l.a.logUserAction(t,e)}},{key:"onClickDelete",value:function(){var e=this;new s.d({title:d.a.getPhrase(this.lang,"removeHeading"),text:d.a.getPhrase(this.lang,"removeConfirm",{name:s.v.escapeExpression(this.model.get("name"))}),buttons:[{text:d.a.getPhrase(this.lang,"remove"),className:"btn btn-danger",success:!0},{text:d.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}],channelName:s.k.generateUniqueChannelName(this)}).render().done((function(){o.Radio.channel(e.options.channelName).trigger("delete:link",e.model.get("id"))}))}},{key:"viewOptions",value:function(){return{styles:h.a,editable:this.options.editable,linkSvg:i.a.getSvg(i.b.Link),editSvg:i.a.getSvg(i.b.Edit),trashSvg:i.a.getSvg(i.b.Delete)}}},{key:"name",get:function(){return"LinkItemComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"".concat(h.a.container," rounded p-2 mb-2")}},{key:"lang",get:function(){return"libraryEditor.editLinks"}},{key:"appLinks",get:function(){return{".edit":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.EDIT_LINK,args:[this.options.videoId,this.model.get("id")]}}}}])&&y(t.prototype,n),r&&y(t,r),f}(r.a.Component),C=n(1326),E=n.n(C);function O(e){return(O="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}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 R(e,t,n){return t&&x(e.prototype,t),n&&x(e,n),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)}function P(e,t){return(P=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function T(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=D(e);if(t){var o=D(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return I(this,n)}}function I(e,t){return!t||"object"!==O(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){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return j}));var j=function(e){_(n,e);var t=T(n);function n(e){return S(this,n),t.call(this,e)}return R(n,[{key:"regions",value:function(){return{links:{el:".links-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return this.options}},{key:"onRender",value:function(){this.showChildView("links",new L({collection:this.options.customCollection||this.model.get("links"),channelName:this.options.channelName,analyticsOptions:this.options.analyticsOptions,editable:this.options.editable,videoId:this.options.videoId,headingText:this.options.headingText,emptyStateText:this.options.emptyStateText}))}},{key:"name",get:function(){return"VideoLinksComponent"}},{key:"template",get:function(){return E.a}},{key:"className",get:function(){return this.options.customCollection?"":"py-3 border-top"}}]),n}(r.a.Component),L=function(e){_(n,e);var t=T(n);function n(e){return S(this,n),t.call(this,e)}return R(n,[{key:"name",get:function(){return"LinkItemComponentCollection"}},{key:"childViewOptions",get:function(){return this.options}},{key:"childView",get:function(){return k}}]),n}(r.a.ComponentCollection)},1415:function(e,t,n){e.exports={svgContainer:"_2fUyj"}},1416:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block ml-2 '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'" title="'+l(a(null!=(i=null!=t?t.options:t)?i.restrictionMessage:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.lockSvg:i,t))?i:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=null!=t?t:e.nullContext||{};return'<div class="d-inline-flex align-items-center">\r\n <h4 class="d-inline-block mb-0">'+e.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:o}):a)+"</h4>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.hasRestriction:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="video-actions-region d-inline-block"></div>'},useData:!0})},1417:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <span class="badge p-1 '+a(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.interactive:i,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"interactive",{name:"lang",hash:{},data:o}))+"</span>\r\n"},3:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return' <div class="mt-3">\r\n <h5>'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"folders",{name:"lang",hash:{smartCount:null!=(i=null!=t?t.options:t)?i.folders:i},data:o}))+'</h5>\r\n <div class="folders-region"></div>\r\n </div>\r\n'},5:function(e,t,n,r,o){e.propertyIsEnumerable;return' <div class="mt-3">\r\n <h5>'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"tags",{name:"lang",hash:{},data:o}))+'</h5>\r\n <div class="tags-region"></div>\r\n </div>\r\n'},7:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression;return' <div class="mt-3">\r\n <h5>'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"curriculumLinks",{name:"lang",hash:{},data:o}))+"</h5>\r\n <p>"+a(e.lambda(null!=(i=null!=t?t.options:t)?i.links:i,t))+"</p>\r\n </div>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return'<div class="border-right h-100 pl-2 pr-3">\r\n <div class="video-preview-region"></div>\r\n <div class="mt-3">\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.interactive:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\r\n\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.folders:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.tags:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+"\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.links:i,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o}))?i:"")+"</div>"},useData:!0})},1418:function(e,t,n){e.exports={interactive:"cAujD"}},1419:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a,l=e.escapeExpression;return'<div class="col-3 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+l("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):a)+'</div>\r\n<div class="col-9">\r\n <div class="description-region"></div>\r\n</div>'},useData:!0})},1420:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){return'<h5 class="mb-0">Extra Information</h5>\r\n<div class="text-muted mb-3">This information is only visible to admins and will not be searchable</div>\r\n<div class="fields-region"></div>'},useData:!0})},1421:function(e,t,n){e.exports={columnNames:"_1ZuuN"}},1422:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'<div class="d-inline-block '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.licenseContainer:i,t))+'">\r\n <div class="'+l(a(null!=(i=null!=t?t.options:t)?i.logoClass:i,t))+'">'+l(a(null!=(i=null!=t?t.options:t)?i.labelText:i,t))+'</div>\r\n <p class="'+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.license:i,t))+' bg-white p-2 border box-shadow">\r\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.licenseText:i,t))?i:"")+"\r\n </p>\r\n</div>"},useData:!0})},1423:function(e,t,n){e.exports={licenseContainer:"_3xIoE",license:"_1fpgM",era:"_3S6te"}},1424:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){return'<div class="row pl-3 pt-3 pr-3">\r\n <div class="breadcrumbs-region"></div>\r\n</div>\r\n'},3:function(e,t,n,r,o){return' <div class="fields-region"></div>\r\n'},5:function(e,t,n,r,o){return' <div class="video-chapters-region"></div>\r\n'},7:function(e,t,n,r,o){return' <div class="video-resources-region"></div>\r\n'},9:function(e,t,n,r,o){return' <div class="video-links-region"></div>\r\n'},11:function(e,t,n,r,o){return' <div class="screenright-disclaimer-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasFolder:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'<div class="row border-bottom">\r\n <div class="video-header-region"></div>\r\n</div>\r\n<div class="row">\r\n <div class="col-4">\r\n <div class="main-video-information-region"></div>\r\n </div>\r\n <div class="col-8">\r\n <div class="basic-video-information-region py-3 pr-2"></div>\r\n'+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasFields:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasChapters:i,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasResources:i,{name:"if",hash:{},fn:e.program(7,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.hasLinks:i,{name:"if",hash:{},fn:e.program(9,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.showScreenrightsDisclaimer:i,{name:"if",hash:{},fn:e.program(11,o,0),inverse:e.noop,data:o}))?i:"")+" </div>\r\n</div>"},useData:!0})},1646:function(e,t,n){"use strict";n.r(t);var r=n(2),o=n(0),i=n(1),a=n(4),l=n(15),s=n(135),c=n(12),u=n(1282),p=n(1415),f=n.n(p),h=n(1416),d=n.n(h);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 y(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){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function b(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=w(e);if(t){var o=w(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"!==m(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 w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&g(e,t)}(h,e);var t,n,r,p=b(h);function h(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h),p.call(this,e)}return t=h,(n=[{key:"regions",value:function(){return{actions:{el:".video-actions-region",replaceElement:!1}}}},{key:"viewOptions",value:function(){return{styles:f.a,lockSvg:l.a.getSvg(l.b.Lock),hasRestriction:!i.isUndefined(this.model.get("restrictions")),restrictionMessage:c.n.getRestrictionTooltipMessage(this.model)}}},{key:"onRender",value:function(){this.showChildView("actions",new u.a({model:this.model,showActionLabels:!0,application:o.b.LIBRARY_EDITOR,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,collectionIdentifier:this.options.collectionIdentifier,routeToFolderOnDelete:!0,analyticsOptions:{entity:a.EntityType.Video,location:a.LocationContext.VideoDetailsHeader,descriptor:a.OperationDescriptor.Single},config:this.options.config}))}},{key:"name",get:function(){return"VideoHeaderComponent"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"d-flex align-items-center justify-content-between p-3 w-100"}},{key:"behaviors",get:function(){return[{behaviorClass:s.a,selector:".".concat(f.a.svgContainer)}]}}])&&y(t.prototype,n),r&&y(t,r),h}(r.a.Component),C=n(1305),E=n(1259),O=n(1228),S=n(136),x=n(254),R=n(1244),_=n(1221),P=n(294),T=n(1417),I=n.n(T),D=n(1418),j=n.n(D);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 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 N(e,t){return(N=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 M(this,n)}}function M(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 U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=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&&N(e,t)}(i,e);var t,n,r,o=A(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.isClickViewContent=this.model&&!c.j.canEditVideo(this.model)}},{key:"regions",value:function(){return{preview:{el:".video-preview-region",replaceElement:!0},folders:{el:".folders-region",replaceElement:!0},tags:{el:".tags-region",replaceElement:!0}}}},{key:"renderVideoPreview",value:function(){this.showChildView("preview",new E.a({model:this.model,webPlayerUrl:this.options.webPlayerUrl,channelName:this.options.channelName,analyticsOptions:{location:a.LocationContext.VideoDetails}}))}},{key:"renderTags",value:function(){this.model.get("tags")&&this.model.get("tags").length&&this.showChildView("tags",new R.a({collection:this.model.get("tags"),orientation:P.c.Flex,behavior:P.b.Link}))}},{key:"renderFolders",value:function(){this.model.get("categories")&&this.model.get("categories").length&&this.showChildView("folders",new O.a({model:this.model,showFolder:!0,hideLabel:!0}))}},{key:"viewOptions",value:function(){return{styles:j.a,interactive:_.a.isInteractive(this.model),duration:c.e.ToDisplayDuration(this.model.get("duration")),folders:this.model.categories&&this.model.categories.length,multipleFolders:this.model.categories.length>1,tags:this.model.get("tags")&&this.model.get("tags").length,isClickViewContent:this.isClickViewContent,hasCustomerTags:this.isClickViewContent&&c.j.filterObjectsByOwnerType(this.model.tags,x.a.Customer,this.options.currentUser.get("customerId")).length}}},{key:"onRender",value:function(){this.renderVideoPreview(),this.renderTags(),this.renderFolders()}},{key:"name",get:function(){return"VideoSidebarInfoComponent"}},{key:"lang",get:function(){return"libraryEditor.videoSidebarInfo"}},{key:"className",get:function(){return"py-3 h-100"}},{key:"template",get:function(){return I.a}},{key:"requiredResources",get:function(){return{currentUser:S.b.currentUser}}}])&&V(t.prototype,n),r&&V(t,r),i}(r.a.Component),B=n(1367),H=n(1370),Y=n(1327),z=n(1369),W=n(1242),Z=n(1419),q=n.n(Z),J=n(1420),G=n.n(J),Q=n(1421),K=n.n(Q);function $(e){return($="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ee(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 te(e,t,n){return t&&ee(e.prototype,t),n&&ee(e,n),e}function ne(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&&re(e,t)}function re(e,t){return(re=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=ae(e);if(t){var o=ae(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return ie(this,n)}}function ie(e,t){return!t||"object"!==$(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 ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=function(e){ne(n,e);var t=oe(n);function n(){return X(this,n),t.apply(this,arguments)}return te(n,[{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:K.a}}},{key:"renderDescription",value:function(){this.model.get("value")&&this.showChildView("description",new W.a({model:new r.a.Model({description:this.model.get("value")}),linkify:!0,size:W.b.Large,truncate:!0,allowExpand:!0}))}},{key:"onRender",value:function(){this.renderDescription()}},{key:"name",get:function(){return"FieldComponent"}},{key:"template",get:function(){return q.a}},{key:"className",get:function(){return"row mb-0"}}]),n}(r.a.Component),se=function(e){ne(n,e);var t=oe(n);function n(){return X(this,n),t.apply(this,arguments)}return te(n,[{key:"name",get:function(){return"FieldsComponentCollection"}},{key:"childView",get:function(){return le}}]),n}(r.a.ComponentCollection),ce=function(e){ne(n,e);var t=oe(n);function n(){return X(this,n),t.apply(this,arguments)}return te(n,[{key:"regions",value:function(){return{fields:{el:".fields-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("fields",new se({collection:this.collection}))}},{key:"name",get:function(){return"FieldsComponent"}},{key:"template",get:function(){return G.a}},{key:"className",get:function(){return"py-3 border-top"}}]),n}(r.a.Component),ue=n(32),pe=n(5),fe=n(16),he=n(190),de=n(9),me=n(302),ye=n(115),ge=n(301),be=n(138),ve=n(1272),we=n(3),ke=n(1422),Ce=n.n(ke),Ee=n(1423),Oe=n.n(Ee);function Se(e){return(Se="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 xe(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 Re(e,t){return(Re=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _e(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=Te(e);if(t){var o=Te(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Pe(this,n)}}function Pe(e,t){return!t||"object"!==Se(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 Te(e){return(Te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ie=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&&Re(e,t)}(i,e);var t,n,r,o=_e(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:"getLogoClass",value:function(){switch(this.options.config.get("countryCode").toLowerCase()){case"uk":return Oe.a.era;case"au":default:return""}}},{key:"getLicenseText",value:function(){switch(this.options.config.get("countryCode").toLowerCase()){case"uk":return we.a.getPhrase(this.lang,"era");case"au":return we.a.getPhrase(this.lang,"copyrightAct");case"nz":default:return""}}},{key:"viewOptions",value:function(){var e=this.options.config.get("countryCode").toLowerCase();return{styles:Oe.a,logoClass:this.getLogoClass(),labelText:"au"===e?we.a.getPhrase(this.lang,"labelAu"):"",licenseText:this.getLicenseText()}}},{key:"name",get:function(){return"ScreenrightsDisclaimerComponent"}},{key:"template",get:function(){return Ce.a}},{key:"lang",get:function(){return"shared.screenrightsDisclaimer"}},{key:"className",get:function(){return"py-3 border-top"}}])&&xe(t.prototype,n),r&&xe(t,r),i}(r.a.Component),De=n(1424),je=n.n(De);function Le(e){return(Le="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 Ve(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 Ne(e,t){return(Ne=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ae(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=Ue(e);if(t){var o=Ue(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Me(this,n)}}function Me(e,t){return!t||"object"!==Le(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 Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"VideoDetailsView",(function(){return Fe}));var Fe=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&&Ne(e,t)}(l,e);var t,n,i,a=Ae(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,(n=[{key:"initialize",value:function(){this.bindListeners(),this.videoDataService=pe.a.getInstance(fe.a.Video,this),this.videoMixinService=pe.a.getInstance(fe.b.VideoMixin,this),this.localCacheDataService=pe.a.getInstance(fe.a.LocalCache,this),this.migrationVideoDataService=pe.a.getInstance(fe.a.MigrationVideo,this)}},{key:"bindListeners",value:function(){this.listenTo(o.e.VIDEO,"".concat(ue.a.VIDEOS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(o.e.VIDEO,"".concat(ue.a.VIDEOS,":").concat(this.options.videoId,":error"),this.onError),this.listenTo(o.e.VIDEO,"".concat(ue.a.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(o.e.VIDEO,"cache:cleared",this.render),this.listenTo(o.e.LIBRARY,"libraries:sync",this.render),this.listenTo(o.e.RESTRICTED_VIDEO,"".concat(ue.a.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestriction),this.listenTo(o.e.RESTRICTED_VIDEO,"".concat(ue.a.RESTRICTED_OBJECTS,":").concat(this.options.videoId,":sync"),this.render),this.listenTo(o.e.LOCAL_CACHE,"".concat(ue.a.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(o.e.LOCAL_CACHE,"".concat(ue.a.LOCAL_CACHE_DEVICES,":error"),this.onError)}},{key:"onError",value:function(e){switch(e.type){case ye.a.NotFound:r.a.ErrorHelper.throw(new me.a);break;case ye.a.Forbidden:r.a.ErrorHelper.throw(new ge.a)}}},{key:"regions",value:function(){return{breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1},header:{replaceElement:!0,el:".video-header-region",partialLoading:de.h.VideoHeader},main:{replaceElement:!0,el:".main-video-information-region",partialLoading:de.h.VideoSidebarInfo},basic:{replaceElement:!1,el:".basic-video-information-region",partialLoading:de.h.VideoBasicInfo},chapters:{replaceElement:!0,el:".video-chapters-region"},resources:{replaceElement:!0,el:".video-resources-region"},fields:{replaceElement:!0,el:".fields-region"},links:{replaceElement:!0,el:".video-links-region"},screenrightsDisclaimer:{replaceElement:!0,el:".screenright-disclaimer-region"}}}},{key:"updateRestriction",value:function(){this.videoMixinService.getAndMixinVideoRestriction(this.video)}},{key:"showLicense",value:function(){return!!(this.video&&"nz"!==this.config.get("countryCode").toLowerCase()&&(this.video.get("channel")&&this.video.get("channel").get("id")||this.video.get("dateBroadcast")))}},{key:"renderBreadcrumbs",value:function(){this.folder&&this.showChildView("breadcrumbs",new z.a({folder:this.folder,libraries:this.libraries,enableLastItemAppLink:!0}))}},{key:"renderVideoHeader",value:function(){this.showChildView("header",new k({model:this.video,customerHasLocalCache:c.i.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),collectionIdentifier:this.folder&&new ve.d(this.folder.id,c.p.GetCurrentSortType()),config:this.config}))}},{key:"renderSidebarInfo",value:function(){this.showChildView("main",new F({model:this.video,webPlayerUrl:this.config.get("webPlayerUrl"),channelName:this.channelName,currentUser:this.currentUser}))}},{key:"renderBasicInfo",value:function(){this.video&&this.showChildView("basic",new Y.a({model:this.video,showHeading:!0,showPublisherVideoDetails:!!this.publisherVideo,config:this.config}))}},{key:"renderFields",value:function(){this.video.fields&&this.video.fields.length&&this.showChildView("fields",new ce({collection:this.video.fields}))}},{key:"renderChapters",value:function(){var e=this.video.chapters;e&&e.length>0&&this.showChildView("chapters",new B.a({channelName:this.channelName,collection:this.video.chapters}))}},{key:"renderResources",value:function(){var e=this.video.resources;e&&e.length>0&&this.showChildView("resources",new C.a({model:this.video}))}},{key:"renderLinks",value:function(){var e=this.video.links;e&&e.length&&this.showChildView("links",new H.a({model:this.video,headingText:"Links"}))}},{key:"renderScreenrightsDisclaimer",value:function(){this.showLicense()&&this.showChildView("screenrightsDisclaimer",new Ie({config:this.config}))}},{key:"onBeforeRender",value:function(){var e=this;return this.video=this.videoDataService.getVideo(this.options.videoId),this.video&&(this.folder=this.video.categories.first()),this.devices=this.localCacheDataService.getDevices(this.currentUser.get("customerId")),this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.videoId,(function(t){var n=!!e.publisherVideo;e.publisherVideo=t,n&&e.isRendered()&&e.renderBasicInfo()})),!!this.video}},{key:"viewOptions",value:function(){if(this.video){var e=this.video,t=e.chapters,n=e.resources,r=e.fields,o=e.links;return{hasFolder:!!this.folder,hasChapters:t&&t.length,hasResources:n&&n.length,hasFields:r&&r.length,hasLinks:o&&o.length,showScreenrightsDisclaimer:this.showLicense()}}}},{key:"onRender",value:function(){this.renderBreadcrumbs(),this.renderVideoHeader(),this.renderSidebarInfo(),this.renderBasicInfo(),this.renderFields(),this.renderChapters(),this.renderResources(),this.renderLinks(),this.renderScreenrightsDisclaimer()}},{key:"name",get:function(){return"VideoDetailsView"}},{key:"title",get:function(){return this.video&&this.video.get("name")}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return je.a}},{key:"className",get:function(){return"container-fluid h-100 bg-white"}},{key:"requiredResources",get:function(){return{config:he.b.config,currentUser:S.b.currentUser,libraries:be.b.libraries,exchanges:be.b.exchanges}}}])&&Ve(t.prototype,n),i&&Ve(t,i),l}(r.a.View)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[26],{1217:function(t,e,n){t.exports={dragItem:"_2TIZ7",svgContainer:"_3JzEU",dragText:"_1Kdwj"}},1218:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return'<span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+' mr-2">'+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'</span>\r\n<span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.dragText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>"},useData:!0})},1224:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var o=n(1),r=n(2),i=n(298);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=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(t){return!1}}();return function(){var n,o=f(t);if(e){var r=f(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,r,a=s(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"getExtraClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.alignment,n=void 0===e?"left":e,o=t.extraClasses,r="dropdown-menu-".concat(n);return o&&(r="".concat(r," ").concat(o)),r}},{key:"centerSelectedItem",value:function(){var t=this.$el.find(".active");if(t.length){var e=this.$el.scrollTop()+t.position().top,n=.5*this.$el.height()+.5*t.height();this.$el.scrollTop(e-n)}}},{key:"name",get:function(){return"DropdownCollectionComponent"}},{key:"className",get:function(){return"dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"attributes",get:function(){return{"aria-labelledby":"dropdownSelector"}}},{key:"childView",get:function(){return i.a}},{key:"childViewOptions",get:function(){var t={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return o.extend(t,this.options.childOptions)}}])&&c(e.prototype,n),r&&c(e,r),l}(r.a.ComponentCollection)},1232:function(t,e,n){"use strict";var o=n(1217),r=n.n(o),i=n(1218),a=n.n(i);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function l(t){var e=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(t){return!1}}();return function(){var n,o=p(t);if(e){var r=p(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return f(this,n)}}function f(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function p(t){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(c,t);var e,n,o,i=l(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),i.call(this,t)}return e=c,(n=[{key:"viewOptions",value:function(){return Object.assign({styles:r.a},this.options)}},{key:"name",get:function(){return"DraggableItemComponent"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"".concat(r.a.dragItem," p-3")}}])&&u(e.prototype,n),o&&u(e,o),c}(n(2).a.Component),d={delay:150,cursorAt:{left:-20,top:10},refreshPositions:!0};n.d(e,"c",(function(){return r.a})),n.d(e,"b",(function(){return y})),n.d(e,"a",(function(){return d}))},1238:function(t,e,n){"use strict";n.d(e,"a",(function(){return k}));var o=n(1),r=n(6),i=n(2),a=n(19),c=n(15),u=n(0),s=n(12),l=n(3),f=n(1232),p=n(189),y=n(1240),d=n.n(y);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function b(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function g(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=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(t){return!1}}();return function(){var n,o=O(t);if(e){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(w,t);var e,n,y,h=v(w);function w(){return b(this,w),h.apply(this,arguments)}return e=w,(n=[{key:"initialize",value:function(){this.options.model||i.a.ErrorHelper.throw(new a.a("DraggableVideoBehavior must be passed a Video model")),this.listenTo(u.w.VIDEO_DRAG_DROP,"drag:style:".concat(this.options.model.id),this.styleDragStart),this.listenTo(u.w.VIDEO_DRAG_DROP,"drag:stop",this.styleDragStop)}},{key:"helper",value:function(){var t=this.getVideoModels();return new f.b({text:t.length>1?l.a.getPhrase(this.lang,"videos",{videoCount:t.length}):t[0].get("name"),svg:c.a.getSvg(c.b.Play)}).render().el}},{key:"getSelector",value:function(){return this.view.getUI(this.options.selector)}},{key:"styleDragStart",value:function(){this.getSelector().addClass(d.a.draggingVideo)}},{key:"styleDragStop",value:function(){this.getSelector().removeClass(d.a.draggingVideo)}},{key:"start",value:function(){var t=this.getVideoModels(),e=r.Radio.channel(u.w.VIDEO_DRAG_DROP);e.trigger("drag:start",t,this.options.collectionIdentifier),o.each(t,(function(t){return e.trigger("drag:style:".concat(t.id))}))}},{key:"stop",value:function(){r.Radio.channel(u.w.VIDEO_DRAG_DROP).trigger("drag:stop")}},{key:"getVideoModels",value:function(){var t=this,e=s.a.GetSelectedModels({key:this.options.collectionIdentifier.toString(),type:p.CheckboxTypes.VIDEO_LIST,collection:this.view.model.collection});return o.any(e,(function(e){return e.id===t.view.model.id}))||(e=[this.view.model]),e.length?e:[this.view.model]}},{key:"getClassMappings",value:function(){return{"ui-draggable":f.c.draggable,"ui-draggable-disabled":f.c.disabled,"ui-draggable-handle":f.c.handle,"ui-draggable-dragging":f.c.dragging}}},{key:"onRender",value:function(){var t=this.getSelector(),e={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};e.classes=this.getClassMappings(),t.draggable(o.extend({},f.a,e))}},{key:"onBeforeDestroy",value:function(){var t=this.getSelector();t.draggable("instance")&&t.draggable("destroy")}},{key:"lang",get:function(){return"libraryEditor.behaviors"}}])&&g(e.prototype,n),y&&g(e,y),w}(i.a.Behavior)},1240:function(t,e,n){t.exports={draggingVideo:"_3cCHx"}},1272:function(t,e,n){"use strict";var o=n(193),r=n(1),i=n(191),a=n(0),c=n(137),u=n(295);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||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(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=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(t){return!1}}();return function(){var n,o=b(t);if(e){var r=b(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(s,t);var e,n,o,i=d(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=s,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,o=t.subjects;e&&(this.libraryIds=e),o&&(r.isArray(o)&&o.length&&(this.subjects=o),r.isArray(o)||(this.subjects=[o]));var i=r.findWhere(u.g,{queryString:n})||u.e;this.dateOption=new c.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(l(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=r.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&p(e.prototype,n),o&&p(e,o),s}(i.a);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function w(t,e){return(w=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function O(t){var e=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(t){return!1}}();return function(){var n,o=R(t);if(e){var r=R(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return k(this,n)}}function k(t,e){return!e||"object"!==m(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function R(t){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&w(t,e)}(s,t);var e,n,o,i=O(s);function s(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,s),(e=i.call(this,{collectionPrefix:"".concat(a.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=s,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var o=r.findWhere(u.g,{queryString:n})||u.e;this.dateOption=new c.b(o)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&v(e.prototype,n),o&&v(e,o),s}(i.a);function S(t){return(S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function P(t,e){return(P=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function D(t){var e=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(t){return!1}}();return function(){var n,o=C(t);if(e){var r=C(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return j(this,n)}}function j(t,e){return!e||"object"!==S(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var I=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&P(t,e)}(n,t);var e=D(n);function n(t,o){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return E(this,n),e.call(this,{collectionPrefix:a.f.LIBRARY_FOLDERS,id:t,sort:o,cursor:r})}return n}(i.a);n.d(e,"d",(function(){return o.a})),n.d(e,"b",(function(){return g})),n.d(e,"c",(function(){return _})),n.d(e,"a",(function(){return I}))},1274:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),r=n(6),i=n(2),a=n(148);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=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(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(p,t);var e,n,i,c=f(p);function p(){return u(this,p),c.apply(this,arguments)}return e=p,(n=[{key:"getDroppableElement",value:function(){return this.options.ui?this.view.getUI(this.options.ui):this.$el}},{key:"drop",value:function(){var t=this;o.each(this.options.channelNames,(function(e){r.Radio.channel(e).trigger("drag:drop",t.view.model,t.options.analyticsOptions)}))}},{key:"accept",value:function(){var t=this,e=!1;return o.each(this.options.channelNames,(function(n){!0===r.Radio.channel(n).request("accept",t.view.model)&&(e=!0)})),e}},{key:"over",value:function(){var t=this;this.isHoveringOver=!0,window.setTimeout((function(){t.isHoveringOver&&t.view.trigger("open:sub:folders",a.active)}),500)}},{key:"out",value:function(){this.isHoveringOver=!1}},{key:"onRender",value:function(){var t={tolerance:"pointer",drop:o.bind(this.drop,this),accept:o.bind(this.accept,this),over:o.bind(this.over,this),out:o.bind(this.out,this)};t.classes={"ui-droppable":a.droppable,"ui-droppable-active":a.active,"ui-droppable-hover":a.hover},this.getDroppableElement().droppable(t)}},{key:"onBeforeDestroy",value:function(){this.getDroppableElement().droppable("instance")&&this.getDroppableElement().droppable("destroy")}}])&&s(e.prototype,n),i&&s(e,i),p}(i.a.Behavior)},1277:function(t,e,n){"use strict";n.d(e,"a",(function(){return m}));var o=n(1),r=n(6),i=n(2),a=n(15),c=n(0),u=n(1232),s=n(1283),l=n.n(s);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=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(t){return!1}}();return function(){var n,o=g(t);if(e){var r=g(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return b(this,n)}}function b(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(f,t);var e,n,i,s=h(f);function f(){return p(this,f),s.apply(this,arguments)}return e=f,(n=[{key:"getClassMappings",value:function(){return{"ui-draggable":u.c.draggable,"ui-draggable-handle":u.c.handle,"ui-draggable-disabled":u.c.disabled,"ui-draggable-dragging":u.c.dragging}}},{key:"helper",value:function(){return new u.b({text:this.view.model.get("name"),svg:a.a.getSvg(a.b.Folder)}).render().el}},{key:"start",value:function(){r.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(l.a.draggingFolder)}},{key:"stop",value:function(){r.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(l.a.draggingFolder)}},{key:"onRender",value:function(){var t={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};t.classes=this.getClassMappings(),this.view.$el.draggable(o.extend({},u.a,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&y(e.prototype,n),i&&y(e,i),f}(i.a.Behavior)},1281:function(t,e,n){"use strict";var o=n(2),r=n(15),i=n(83),a=n(4),c=n(42),u=n(1224),s=n(0),l=n(3),f=n(1284),p=n.n(f);function y(t){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function b(t){var e=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(t){return!1}}();return function(){var n,o=m(t);if(e){var r=m(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==y(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}(f,t);var e,n,r,i=b(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),i.call(this,t)}return e=f,(n=[{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:l.a.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Create,entity:a.EntityType.Folder,workflowPhase:a.WorkflowPhase.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"rename"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Rename,entity:a.EntityType.Folder,workflowPhase:a.WorkflowPhase.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"move"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Move,entity:a.EntityType.Folder,workflowPhase:a.WorkflowPhase.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"editImages"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.EditAssoc,entity:a.EntityType.Folder,workflowPhase:a.WorkflowPhase.Start,descriptor:a.AssocDescriptor.Image}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Create,entity:a.EntityType.PDF,workflowPhase:a.WorkflowPhase.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]}},{title:l.a.getPhrase(this.lang,"remove"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.UserAction.Delete,entity:a.EntityType.Folder,workflowPhase:a.WorkflowPhase.Start}),classes:"text-danger",appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]}}]}},{key:"onRender",value:function(){this.showChildView("items",new u.a({analyticsHelper:c.a,displayOptions:{alignment:"right"},channelName:this.channelName,collection:new o.a.Collection(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}},{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return p.a}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&d(e.prototype,n),r&&d(e,r),f}(o.a.Component),w=n(1285),O=n.n(w),k=n(1286),R=n.n(k);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,e){return(E=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=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(t){return!1}}();return function(){var n,o=j(t);if(e){var r=j(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return D(this,n)}}function D(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function j(t){return(j=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return C}));var C=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&E(t,e)}(c,t);var e,n,o,a=P(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"events",value:function(){return{"click @ui.dropdownToggle":"onClickDropdownToggle","click @ui.dropdownItem":"onClickDropdownItem"}}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"onClickDropdownToggle",value:function(){this.model instanceof i.a&&this.showChildView("items",new v({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"onClickDropdownItem",value:function(t){t.stopPropagation(),t.preventDefault(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof i.a,dropdownClass:"".concat(R.a.dropdownButton," ").concat(this.options.buttonClass),svg:r.a.getSvg(r.b.More)}}},{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof i.a)return"position-absolute ".concat(this.options.overrideClasses?"":R.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}},{key:"template",get:function(){return O.a}}])&&S(e.prototype,n),o&&S(e,o),c}(o.a.Component)},1283:function(t,e,n){t.exports={dragging:"_2wBn3",draggingFolder:"_1r3AS"}},1284:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="items-region"></div>'},useData:!0})},1285:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.dropdownClass:i,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'\r\n</span>\r\n<div class="items-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.hasActions:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:""},useData:!0})},1286:function(t,e,n){t.exports={dropdownContainer:"_2F3Cz",dropdownButton:"_2TdId"}},1307:function(t,e,n){"use strict";n.d(e,"a",(function(){return w}));var o=n(2),r=n(15),i=n(4),a=n(42),c=n(1224),u=n(0),s=n(3),l=n(1308),f=n.n(l),p=n(1309),y=n.n(p);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function g(t){var e=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(t){return!1}}();return function(){var n,o=v(t);if(e){var r=v(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(d,t);var e,n,l,p=g(d);function d(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,t)}return e=d,(n=[{key:"events",value:function(){return{"click @ui.dropdownToggle":"onClickDropdownToggle","click @ui.dropdownItem":"onClickDropdownItem"}}},{key:"regions",value:function(){return{dropdownItems:{replaceElement:!0,el:".items-region"}}}},{key:"onClickDropdownToggle",value:function(){this.showChildView("dropdownItems",new c.a({analyticsHelper:a.a,displayOptions:{alignment:"right"},channelName:this.channelName,collection:new o.a.Collection([{title:s.a.getPhrase(this.lang,"addFolder"),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:i.UserAction.Create,entity:i.EntityType.Folder,workflowPhase:i.WorkflowPhase.Start}),appLink:{application:u.b.LIBRARY_EDITOR,action:u.a.Shared.NEW_FOLDER,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"rename"),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:i.UserAction.Rename,entity:i.EntityType.Library,workflowPhase:i.WorkflowPhase.Start}),appLink:{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.RENAME_LIBRARY,args:[this.model.get("id")]}},{title:s.a.getPhrase(this.lang,"remove"),analyticsOptions:a.a.mergeOptions(this.options.analyticsOptions,{actionType:i.UserAction.Delete,entity:i.EntityType.Library,workflowPhase:i.WorkflowPhase.Start}),appLink:{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.DELETE_LIBRARY,args:[this.model.get("id")]},classes:"text-danger"}])}))}},{key:"onClickDropdownItem",value:function(t){t.stopPropagation(),t.preventDefault(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"viewOptions",value:function(){return{dropdownClass:"".concat(y.a.dropdownButton," ").concat(this.options.buttonClass),svg:r.a.getSvg(r.b.More)}}},{key:"name",get:function(){return"LibraryActionsComponent"}},{key:"template",get:function(){return f.a}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"lang",get:function(){return"libraryEditor.libraryActions"}},{key:"className",get:function(){return"position-absolute ".concat(y.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}}])&&h(e.prototype,n),l&&h(e,l),d}(o.a.Component)},1308:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.dropdownClass:i,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'\r\n</span>\r\n<div class="items-region"></div>'},useData:!0})},1309:function(t,e,n){t.exports={dropdownContainer:"_293SV",dropdownButton:"_23YxG"}},1386:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a,c=t.lambda,u=t.escapeExpression;return'<a\r\n class="d-block cursor-pointer no-decoration '+u(c(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.folder:i,e))+'"\r\n style="background-image: url(\''+u(c(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+'\')"\r\n>\r\n <h3 class="position-absolute text-white text-center m-0">'+u("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:t.hooks.helperMissing)?a.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):a)+'</h3>\r\n</a>\r\n<div class="actions-region"></div>'},useData:!0})},1387:function(t,e,n){t.exports={folder:"_1MHyt",actions:"_3-hwy"}},1388:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h1 class="h3">'+t.escapeExpression("function"==typeof(i=null!=(i=n.name||(null!=e?e.name:e))?i:t.hooks.helperMissing)?i.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:r}):i)+'</h1>\r\n<div class="folders-region"></div>\r\n<div class="actions-region"></div>'},useData:!0})},1389:function(t,e,n){t.exports={actions:"_3vCmp"}},1650:function(t,e,n){"use strict";n.r(e);var o=n(1),r=n(2),i=n(5),a=n(3),c=n(4),u=n(15),s=n(296),l=n(35),f=n(190),p=n(0),y=n(9),d=n(1272),h=n(1386),b=n.n(h),g=n(1387),m=n.n(g),v=n(12),w=n(1277),O=(n(1238),n(1274)),k=n(1281);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function _(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function E(t,e,n){return e&&S(t.prototype,e),n&&S(t,n),t}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function j(t){var e=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(t){return!1}}();return function(){var n,o=I(t);if(e){var r=I(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return C(this,n)}}function C(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function I(t){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var T=function(t){P(n,t);var e=j(n);function n(t){return _(this,n),e.call(this,t)}return E(n,[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"regions",value:function(){return{actions:{el:".actions-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){var t=v.g.createFolderThumbnailUrl(this.model.thumbnail,{fallbackBaseUrl:this.options.imageCdnUrl,fallbackCategoryName:this.model.get("name"),type:y.f.Thumbnails});return{styles:m.a,imageUrl:t}}},{key:"onRender",value:function(){this.showChildView("actions",new k.a({model:this.model,extraClasses:"".concat(m.a.actions," rounded-circle"),buttonClass:"text-light",analyticsOptions:{location:c.LocationContext.LibraryTiles},overrideClasses:!0}))}},{key:"name",get:function(){return"LibraryFolderItemComponent"}},{key:"template",get:function(){return b.a}},{key:"className",get:function(){return"col-3 p-2"}},{key:"appLinks",get:function(){return{a:{application:p.b.LIBRARY_EDITOR,action:p.a.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}},{key:"behaviors",get:function(){return[{behaviorClass:O.a,channelNames:[p.w.VIDEO_DRAG_DROP,p.w.FOLDER_DRAG_DROP],analyticsOptions:{location:c.LocationContext.LibraryTiles}},{behaviorClass:w.a}]}}]),n}(r.a.Component),x=function(t){P(n,t);var e=j(n);function n(t){return _(this,n),e.call(this,t)}return E(n,[{key:"name",get:function(){return"LibraryFolderListComponent"}},{key:"className",get:function(){return"row"}},{key:"childView",get:function(){return T}},{key:"childViewOptions",get:function(){return this.options.childOptions}}]),n}(r.a.ComponentCollection),L=n(1307),A=n(1388),F=n.n(A),B=n(1389),N=n.n(B);function V(t){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function M(t,e){return(M=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Y(t){var e=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(t){return!1}}();return function(){var n,o=G(t);if(e){var r=G(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return W(this,n)}}function W(t,e){return!e||"object"!==V(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function G(t){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"LibraryView",(function(){return H}));var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&M(t,e)}(b,t);var e,n,r,h=Y(b);function b(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,b),h.call(this,t)}return e=b,(n=[{key:"initialize",value:function(){var t=this;this.libraryDataService=i.a.getInstance(p.g.Library,this),this.listenTo(p.e.LIBRARY,"clear:library:folder:cache",(function(){t.folders=null,t.render()}))}},{key:"regions",value:function(){return{folders:{el:".folders-region",replaceElement:!0,partialLoading:y.h.LibraryFolders},actions:{el:".actions-region",replaceElement:!0}}}},{key:"renderFolders",value:function(){this.showChildView("folders",new x({collection:this.folders,childOptions:{imageCdnUrl:this.config.get("imageCdnUrl")}}))}},{key:"renderActions",value:function(){this.showChildView("actions",new L.a({model:this.model,extraClasses:"".concat(N.a.actions," rounded-circle mr-2 mt-2"),analyticsOptions:{location:c.LocationContext.Banner}}))}},{key:"bindScrollListener",value:function(){var t=this;if(!this.scrollBound){this.scrollBound=!0;var e=$(window),n=o.debounce((function(){if(e.scrollTop()+e.height()>t.$el.offset().top+t.$el.height()&&t.currentIdentifier){var n=t.libraryDataService.getLibraryFoldersCursors(t.currentIdentifier);n&&n.next&&t.libraryDataService.getLibraryFolders(t.getNewCollectionIdentifier(n.next),(function(e){t.folders.add(e.toJSON())}))}}),333);e.scroll(n),window.setTimeout(n,100)}}},{key:"getNewCollectionIdentifier",value:function(t){return this.currentIdentifier=new d.a(this.model.categoryTree.get("id"),l.a.AtoZ,t)}},{key:"onBeforeRender",value:function(){var t=this;if(this.model)return this.folders||this.libraryDataService.getLibraryFolders(this.getNewCollectionIdentifier(),(function(e){t.folders=e,t.render()})),!!this.model&&!!this.folders;this.libraryDataService.getLibraries((function(e){t.model=e.get(t.options.libraryId),t.listenTo(t.model,"change:name",t.render),t.render()}))}},{key:"onRender",value:function(){this.renderFolders(),this.renderActions(),this.bindScrollListener()}},{key:"name",get:function(){return"LibraryView"}},{key:"title",get:function(){return!!this.model&&this.model.get("name")}},{key:"lang",get:function(){return"libraryEditor.library"}},{key:"template",get:function(){return F.a}},{key:"className",get:function(){return"bg-white px-3 pt-3 pb-2 position-relative ".concat(N.a.library)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:s.a,region:"folders",type:y.c.Library,shouldRender:function(){return t.model&&!t.model.children.length},componentOptions:{libraryId:this.options.libraryId,moreSvg:u.a.getSvg(u.b.More),heading:a.a.getPhrase(this.lang,"emptyStateHeading"),description:a.a.getPhrase(this.lang,"emptyStateInfo",{moreSvg:'<span class="d-inline-block svg-container align-top">\n '.concat(u.a.getSvg(u.b.More),"</span>")})},emptyStateComponents:p.h}]}},{key:"requiredResources",get:function(){return{config:f.b.config}}}])&&U(e.prototype,n),r&&U(e,r),b}(r.a.View)}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[27],{1244:function(e,t,n){"use strict";var i=n(2),o=n(19),r=n(6),a=n(0),s=n(294),l=n(1313),c=n.n(l),u=n(1314),h=n.n(u);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 d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(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,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(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 y(e){return(y=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&&p(e,t)}(l,e);var t,n,i,o=v(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o.call(this,e)}return t=l,(n=[{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.b.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.b.Filter){var e=this.model.pick("id","name","remove"),t=e.id,n=e.name;return!!e.remove||!t||!n}}},{key:"onRemoveTag",value:function(e){if(e.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(){this.options.behavior!==s.b.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}},{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.b.Link?"a":"span"}},{key:"className",get:function(){var e="".concat(this.options.orientation===s.c.Vertical?"":" d-inline-flex"),t="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.b.Disabled?" ".concat(h.a.disabled):""),i="".concat(this.options.behavior===s.b.Filter?" cursor-pointer":"");return"badge-pill tag py-1 px-2 my-1 mr-1".concat(i).concat(e).concat(t).concat(n)}},{key:"template",get:function(){return c.a}},{key:"elements",get:function(){return{close:".close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.b.Link?{}:{"[this]":{application:a.b.SEARCH,action:a.a.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.b.Link,orientation:s.c.Flex}}}])&&d(t.prototype,n),i&&d(t,i),l}(i.a.Component);function g(e){return(g="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 w(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function k(e,t){return(k=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,i=T(e);if(t){var o=T(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return E(this,n)}}function E(e,t){return!t||"object"!==g(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 T(e){return(T=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"a",(function(){return C}));var C=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&&k(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,(n=[{key:"initialize",value:function(){this.options.behavior!==s.b.Edit||this.options.removeEvent||i.a.ErrorHelper.throw(new o.a("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.c.Flex}}},{key:"className",get:function(){var e="".concat(this.options.orientation===s.c.Vertical?" d-flex align-items-start flex-column":"");return"tags".concat(e)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return b}}])&&w(t.prototype,n),r&&w(t,r),l}(i.a.ComponentCollection)},1269:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var i=n(1),o=n(2),r=n(1270),a=n.n(r),s=n(1271),l=n.n(s);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 i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function h(e,t){return(h=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,i=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return d(this,n)}}function d(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 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&&h(e,t)}(s,e);var t,n,o,r=f(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),r.call(this,e)}return t=s,(n=[{key:"viewOptions",value:function(){var e=this.options.tabs.map((function(e){return Object.assign(Object.assign({},e),{link:e.link.selector.replace(".","")})}));return{styles:a.a,tabs:e}}},{key:"setActiveTab",value:function(){var e=this,t=!1;if(this.options.tabs.forEach((function(n){n.active=!1,n.link.selector===e.options.activeTab&&(n.active=!0,t=!0)})),!t){var n=i.first(this.options.tabs);n&&(n.active=!0)}}},{key:"onBeforeRender",value:function(){this.setActiveTab()}},{key:"name",get:function(){return"TabsView"}},{key:"className",get:function(){var e="bg-white py-2 border-bottom";return this.options.className&&(e+=" ".concat(this.options.className)),e}},{key:"template",get:function(){return l.a}},{key:"appLinks",get:function(){var e={};return this.options.tabs.forEach((function(t){return e[t.link.selector]=t.link.appLink})),e}}])&&u(t.prototype,n),o&&u(t,o),s}(o.a.Component)},1270:function(e,t,n){e.exports={link:"_5idZs",active:"_3Ty4M"}},1271:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,o,r,a){var s;e.propertyIsEnumerable;return null!=(s=n.unless.call(null!=t?t:e.nullContext||{},null!=t?t.hide:t,{name:"unless",hash:{},fn:e.program(2,o,0,r,a),inverse:e.noop,data:o}))?s:""},2:function(e,t,n,i,o,r,a){e.propertyIsEnumerable;var s,l=e.lambda,c=e.escapeExpression;return' <a class="'+c(l(null!=(s=null!=(s=null!=a[1]?a[1].options:a[1])?s.styles:s)?s.link:s,t))+" p-2 "+c(l(null!=t?t.link:t,t))+" "+(null!=(s=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.active:t,{name:"if",hash:{},fn:e.program(3,o,0,r,a),inverse:e.noop,data:o}))?s:"")+'">'+c(l(null!=t?t.name:t,t))+"</a>\r\n"},3:function(e,t,n,i,o,r,a){var s;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(s=null!=(s=null!=a[1]?a[1].options:a[1])?s.styles:s)?s.active:s,t))+" border-bottom border-primary text-primary"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o,r,a){var s;e.propertyIsEnumerable;return null!=(s=n.each.call(null!=t?t:e.nullContext||{},null!=(s=null!=t?t.options:t)?s.tabs:s,{name:"each",hash:{},fn:e.program(1,o,0,r,a),inverse:e.noop,data:o}))?s:""},useData:!0,useDepths:!0})},1291:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var i=n(6),o=n(2),r=n(15),a=n(1292),s=n.n(a),l=n(1293),c=n.n(l),u=n(0),h=n(1269);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 d(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(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,i=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return m(this,n)}}function m(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 y(e){return(y=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&&p(e,t)}(l,e);var t,n,o,a=v(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,(n=[{key:"regions",value:function(){return{tabs:{el:".tabs-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){var e=Object.assign(Object.assign({},this.options.goBackTab),{link:this.options.goBackTab.link.selector.replace(".","")});return{styles:s.a,backTab:e,backArrow:r.a.getSvg(r.b.ArrowLeft)}}},{key:"onSave",value:function(){i.Radio.channel(u.b.LIBRARY_EDITOR).trigger(u.a.LibraryEditor.SAVE_VIDEO)}},{key:"onRender",value:function(){this.showChildView("tabs",new h.a({tabs:this.options.tabs,activeTab:this.options.activeTab}))}},{key:"name",get:function(){return"EditVideoTabsComponent"}},{key:"className",get:function(){return"bg-white"}},{key:"template",get:function(){return c.a}},{key:"appLinks",get:function(){var e,t,n,i=this.options.goBackTab.link;return e={},t=i.selector,n=i.appLink,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}}])&&d(t.prototype,n),o&&d(t,o),l}(o.a.Component)},1292:function(e,t,n){e.exports={svgContainer:"_27gR6"}},1293:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=e.lambda,s=e.escapeExpression;return'<div class="row">\r\n <h4>\r\n <a class="d-inline-flex align-items-center '+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.link:r,t))+" "+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.backTab:r)?r.link:r,t))+'">\r\n <span class="'+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.svgContainer:r,t))+' d-inline-block mx-2">'+(null!=(r=a(null!=(r=null!=t?t.options:t)?r.backArrow:r,t))?r:"")+"</span>\r\n "+s(a(null!=(r=null!=(r=null!=t?t.options:t)?r.backTab:r)?r.name:r,t))+'\r\n </a>\r\n </h4>\r\n</div>\r\n<div class="tabs-region pl-2"></div>'},useData:!0})},1313:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,o){return'<span class="close cursor-pointer" aria-hidden="true">×</span>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a,s=null!=t?t:e.nullContext||{};return e.escapeExpression("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(s,{name:"name",hash:{},data:o}):a)+"\r\n"+(null!=(r=n.if.call(s,null!=(r=null!=t?t.options:t)?r.removable:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")},useData:!0})},1314:function(e,t,n){e.exports={disabled:"_3Vziu"}},1451:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return'<div class="form-group">\r\n <label for="edit-description">'+e.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=t?t.name:t))?r:e.hooks.helperMissing)?r.call(null!=t?t:e.nullContext||{},{name:"name",hash:{},data:o}):r)+'</label>\r\n <div class="text-area-region"></div>\r\n <div class="form-feedback"></div>\r\n</div>'},useData:!0})},1452:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){return'<h5 class="mb-0">Extra Information</h5>\r\n<div class="text-muted mb-3">This information is only visible to admins and will not be searchable</div>\r\n<div class="fields-region"></div>'},useData:!0})},1453:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return"<h5>"+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.headerText:r,t))+"</h5>\r\n"},3:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return"<p>"+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.emptyStateText:r,t))+"</p>\r\n"},5:function(e,t,n,i,o){return'<div class="tag-selector-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.headerText:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.emptyStateText:r,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?r:"")+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?r:"")+'<div class="tag-list-region"></div>'},useData:!0})},1454:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=e.escapeExpression;return'<span class="text-muted mx-2 undo '+a(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.undo:r,t))+'">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"undo",{name:"lang",hash:{},data:o}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return(null!=(r=n.if.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.allowUndo:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+'<div class="save-region"></div>'},useData:!0})},1455:function(e,t,n){e.exports={saveButton:"_2FsA6",undo:"v6msX"}},1456:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,o){e.propertyIsEnumerable;return"<h5>"+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"label",{name:"lang",hash:{},data:o}))+"</h5>\r\n"},3:function(e,t,n,i,o){return"my-2"},5:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,l=e.escapeExpression;return' <div class="text-muted mt-3 mb-1"><em>'+l((n.lang||t&&t.lang||s).call(a,"recommendedSize",{name:"lang",hash:{height:null!=(r=null!=(r=null!=t?t.options:t)?r.dimensions:r)?r.height:r,width:null!=(r=null!=(r=null!=t?t.options:t)?r.dimensions:r)?r.width:r},data:o}))+'</em></div>\r\n <button class="upload-thumbnail btn btn-light mb-3 w-100">'+l((n.lang||t&&t.lang||s).call(a,"upload",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+'<div class="thumbnail-region"></div>\r\n<div class="'+(null!=(r=n.unless.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?r:"")+'">\r\n'+(null!=(r=n.if.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"if",hash:{},fn:e.program(5,o,0),inverse:e.noop,data:o}))?r:"")+"</div>"},useData:!0})},1457:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({1:function(e,t,n,i,o){return"mb-4"},3:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return' <p class="mb-2 py-1 px-2 alert alert-info '+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=t?t.options:t)?r.styles:r)?r.suggestEdit:r,t))+'">\r\n'+(null!=(r=n.if.call(null!=t?t:e.nullContext||{},null!=(r=null!=t?t.options:t)?r.isExchange:r,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?r:"")+" </p>\r\n"},4:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return" "+(null!=(r=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"suggestEditExchange",{name:"lang",hash:{classNames:null!=(r=null!=t?t.options:t)?r.suggestEditClasses:r},data:o}))?r:"")+"\r\n"},6:function(e,t,n,i,o){var r;e.propertyIsEnumerable;return" "+(null!=(r=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"suggestEdit",{name:"lang",hash:{classNames:null!=(r=null!=t?t.options:t)?r.suggestEditClasses:r},data:o}))?r:"")+"\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){e.propertyIsEnumerable;var r,a=null!=t?t:e.nullContext||{};return'<div class="row">\r\n <div class="left-pane col-4">\r\n <div class="thumbnail-region"></div>\r\n <div class="cv-tags-region '+(null!=(r=n.unless.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?r:"")+'"></div>\r\n <div class="customer-tags-region"></div>\r\n </div>\r\n <div class="right-pane col-8">\r\n'+(null!=(r=n.unless.call(a,null!=(r=null!=t?t.options:t)?r.editable:r,{name:"unless",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?r:"")+' <div class="top-save-region"></div>\r\n <div class="basic-info-region mb-4"></div> \r\n <div class="additional-details-region mb-4"></div> \r\n <div class="production-info-region mb-4"></div> \r\n <div class="fields-region mb-4"></div>\r\n <div class="bottom-save-region"></div>\r\n </div>\r\n</div>'},useData:!0})},1458:function(e,t,n){e.exports={suggestEdit:"_1X4l5"}},1459:function(e,t,n){var i=n(10);e.exports=(i.default||i).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,i,o){return'<div class="tab-region"></div>\r\n<div class="edit-content-region"></div>\r\n<div class="dialog-region"></div>'},useData:!0})},1644:function(e,t,n){"use strict";n.r(t);var i=n(1),o=n(6),r=n(2),a=n(19),s=n(30),l=n(3),c=n(14),u=n(5),h=n(115),f=n(0),d=n(306),p=n(136),v=n(12),m=n(100),y=n(227),b=n(304),g=n(9),w=n(4),k=n(42),S=n(189),E=n(138),T=n(1215),C=n(1374),O=n(1379),x=n(1377),R=n(1376),D=n(1451),N=n.n(D);function _(e){return(_="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){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function M(e,t){return(M=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function j(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,i=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return V(this,n)}}function V(e,t){return!t||"object"!==_(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 I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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&&M(e,t)}(a,e);var t,n,i,r=j(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){var e=this;this.listenTo(this.model,"change",(function(){return e.options.viewModel.validate()}))}},{key:"regions",value:function(){return{textArea:{el:".text-area-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("textArea",new R.a({name:"value",class:"form-control",placeholder:this.model.get("placeholder"),id:"admin-notes"})),this.stickit(),o.Validation.bind(this)}},{key:"onDestroy",value:function(){this.unstickit(),o.Validation.unbind(this)}},{key:"template",get:function(){return N.a}},{key:"name",get:function(){return"ExtraInfoItemComponent"}},{key:"bindings",get:function(){return{"[name=value]":{observe:"value",setOptions:{validate:!0}}}}}])&&P(t.prototype,n),i&&P(t,i),a}(r.a.Component),A=n(1452),U=n.n(A);function B(e){return(B="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){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function z(e,t,n){return t&&J(e.prototype,t),n&&J(e,n),e}function H(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 G(e,t){return(G=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,i=q(e);if(t){var o=q(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return W(this,n)}}function W(e,t){return!t||"object"!==B(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 q(e){return(q=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var X=function(e){H(n,e);var t=Y(n);function n(e){return F(this,n),t.call(this,e)}return z(n,[{key:"name",get:function(){return"ExtraInfoComponentCollection"}},{key:"childView",get:function(){return L}},{key:"childViewOptions",get:function(){return{viewModel:this.options.viewModel}}}]),n}(r.a.ComponentCollection),K=function(e){H(n,e);var t=Y(n);function n(e){return F(this,n),t.call(this,e)}return z(n,[{key:"regions",value:function(){return{fields:{el:".fields-region",replaceElement:!0}}}},{key:"onRender",value:function(){this.showChildView("fields",new X({collection:this.model.fields,viewModel:this.model}))}},{key:"name",get:function(){return"ExtraInfoComponent"}},{key:"template",get:function(){return U.a}},{key:"className",get:function(){return"border-top pt-3"}}]),n}(r.a.Component),Z=n(254),Q=n(95),$=n(300),ee=n(1279),te=n(1244),ne=n(294),ie=n(1453),oe=n.n(ie);function re(e){return(re="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){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}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,i=ue(e);if(t){var o=ue(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return ce(this,n)}}function ce(e,t){return!t||"object"!==re(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 ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var he=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)}(s,e);var t,n,i,o=le(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:"regions",value:function(){return{tagList:{el:".tag-list-region",replaceElement:!0},tagSelector:{el:".tag-selector-region",replaceElement:!0}}}},{key:"initialize",value:function(){this.options.behavior!==ne.b.Edit||this.options.parentId||r.a.ErrorHelper.throw(new a.a("parentId is required to edit tags."))}},{key:"getTypeaheadConfigs",value:function(){var e=$.a.getTypeaheadConfig(),t=$.a.getBloodhoundConfig(),n={newType:f.v.TagsRaw},i={newType:f.v.TagsRaw,footerTemplate:Q.a.getConfirmSelectionTemplate()};return[{name:f.v.TagsRaw,typeaheadConfig:e,bloodhoundConfig:t,options:{hideEmptyResults:!0}},{name:"add-new",typeaheadConfig:e,bloodhoundConfig:t,options:n},{name:"empty-suggestion",typeaheadConfig:e,bloodhoundConfig:t,options:i}]}},{key:"viewOptions",value:function(){var e;return this.showEmptyStateText()&&(e=this.options.emptyStateText),{headerText:this.options.headerText,editable:this.options.behavior===ne.b.Edit,emptyStateText:e}}},{key:"showEmptyStateText",value:function(){return this.options.behavior!==ne.b.Edit&&!this.collection.length&&!!this.options.emptyStateText}},{key:"renderTagSelector",value:function(){this.options.behavior===ne.b.Edit&&this.showChildView("tagSelector",new ee.a({model:this.model,parentChannelName:this.options.channelName,inputId:"tag-select",selectEvent:"add:tag",typeaheadConfigs:this.getTypeaheadConfigs(),placeholderText:l.a.getPhrase(this.lang,"placeholder"),callbacks:{onRender:Q.a.selectFirstResult,onBlur:Q.a.clearInputOnBlur},typeaheadOptions:{hint:!1},actionOptions:{clearOnSelect:!0},autofocus:this.options.autofocus}))}},{key:"renderTagList",value:function(){this.showEmptyStateText()||this.showChildView("tagList",new te.a({collection:this.collection,channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent}))}},{key:"onRender",value:function(){this.renderTagSelector(),this.renderTagList()}},{key:"name",get:function(){return"TagsComponent"}},{key:"template",get:function(){return oe.a}},{key:"lang",get:function(){return"libraryEditor.tags"}},{key:"defaults",get:function(){return{headerText:l.a.getPhrase(this.lang,"heading"),orientation:ne.c.Flex}}}])&&ae(t.prototype,n),i&&ae(t,i),s}(r.a.Component),fe=n(253),de=n(1454),pe=n.n(de),ve=n(1455),me=n.n(ve);function ye(e){return(ye="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 be(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ge(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ke(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,i=Ee(e);if(t){var o=Ee(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Se(this,n)}}function Se(e,t){return!t||"object"!==ye(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)}var Te=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&&we(e,t)}(s,e);var t,n,i,a=ke(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),a.call(this,e)}return t=s,(n=[{key:"getParentChannel",value:function(){return o.Radio.channel(this.options.channelName)}},{key:"getSaveChannelName",value:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"regions",value:function(){return{save:{el:".save-region",replaceElement:!0}}}},{key:"events",value:function(){return{"click .undo":"onUndo"}}},{key:"initialize",value:function(){var e;this.model||(this.model=new r.a.Model((be(e={},fe.c.ShowSpinner,this.options.showSpinner),be(e,fe.c.Disabled,this.options.isDisabled),e)));var t=this.options.channelName;this.listenTo(t,S.LibraryEditorActions.DisableSave,this.onDisableSave),this.listenTo(t,S.LibraryEditorActions.EnableSave,this.onEnableSave),this.listenTo(t,S.LibraryEditorActions.CancelSave,this.onCancelSave);var n=o.Radio.channel(this.getSaveChannelName());this.listenTo(n,S.LibraryEditorActions.Save,this.onSave),this.options.allowUndo&&(this.options.hasChanges&&this.model.set("showUndo",!0),this.listenTo(this.model,"change:showUndo",this.render))}},{key:"onCancelSave",value:function(){this.model.set(fe.c.ShowSpinner,!1)}},{key:"onEnableSave",value:function(){this.model.set(fe.c.Disabled,!1),this.options.allowUndo&&this.model.set("showUndo",!0)}},{key:"onDisableSave",value:function(){this.model.get(fe.c.ShowSpinner)&&this.model.set(fe.c.ShowSpinner,!1,{silent:!0}),this.model.set(fe.c.Disabled,!0),this.options.allowUndo&&this.model.set("showUndo",!1)}},{key:"onUndo",value:function(e){e.stopPropagation(),this.getParentChannel().trigger(S.LibraryEditorActions.Undo)}},{key:"onSave",value:function(){this.model.set(fe.c.ShowSpinner,!0),this.getParentChannel().trigger(S.LibraryEditorActions.Save)}},{key:"viewOptions",value:function(){return{allowUndo:this.options.allowUndo&&this.model.get("showUndo"),styles:me.a}}},{key:"renderSaveButton",value:function(){var e=new fe.a({saveEvent:S.LibraryEditorActions.Save,channelName:this.getSaveChannelName(),model:this.model,buttonText:l.a.getPhrase(this.lang,"save"),extraButtonClass:"btn-primary ".concat(me.a.saveButton),spinnerOptions:{size:v.r.Small,type:v.s.Light,extraClasses:"mx-auto"}});this.showChildView("save",e)}},{key:"onRender",value:function(){this.renderSaveButton()}},{key:"name",get:function(){return"SaveComponent"}},{key:"template",get:function(){return pe.a}},{key:"className",get:function(){return"save-component ".concat(this.options.extraClasses)}},{key:"lang",get:function(){return"libraryEditor.save"}}])&&ge(t.prototype,n),i&&ge(t,i),s}(r.a.Component),Ce=n(192),Oe=n(194),xe=n(293),Re=n(1456),De=n.n(Re);function Ne(e){return(Ne="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(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function Pe(e,t){return(Pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Me(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,i=Ve(e);if(t){var o=Ve(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return je(this,n)}}function je(e,t){return!t||"object"!==Ne(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 Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ie=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&&Pe(e,t)}(r,e);var t,n,i,o=Me(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),o.call(this,e)}return t=r,(n=[{key:"initialize",value:function(){this.viewModel=s.a.get("image:storage")}},{key:"regions",value:function(){return{thumbnail:{el:".thumbnail-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{editable:this.options.editable,dimensions:f.m[g.f.Thumbnails]}}},{key:"onRender",value:function(){this.showChildView("thumbnail",new Ce.a({model:this.model,thumbnailOptions:{size:Oe.a.Medium}}))}},{key:"name",get:function(){return"EditThumbnailComponent"}},{key:"lang",get:function(){return"libraryEditor.editThumbnail"}},{key:"template",get:function(){return De.a}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:xe.b,channelName:this.options.channelName,buttonSelector:".upload-thumbnail",imageType:g.f.Thumbnails,appLink:{application:f.b.LIBRARY_EDITOR,action:f.a.LibraryEditor.UPLOAD_THUMBNAIL,args:[this.options.model.id]},saveImage:function(t){return e.viewModel.set({dataUrl:t})}}]}},{key:"defaults",get:function(){return{editable:!0}}}])&&_e(t.prototype,n),i&&_e(t,i),r}(r.a.Component),Le=n(1457),Ae=n.n(Le),Ue=n(1458),Be=n.n(Ue);function Fe(e){return(Fe="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 Je(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function ze(e,t){return(ze=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function He(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,i=Ye(e);if(t){var o=Ye(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return Ge(this,n)}}function Ge(e,t){return!t||"object"!==Fe(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 Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var We=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&&ze(e,t)}(r,e);var t,n,i,o=He(r);function r(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),o.call(this,e)}return t=r,(n=[{key:"initialize",value:function(){var e=this;this.listenTo(this.options.channelName,"update:tags",(function(){return e.renderCustomerTags(!0)}))}},{key:"regions",value:function(){return{topSave:{el:".top-save-region",replaceElement:!0},bottomSave:{el:".bottom-save-region",replaceElement:!0},thumbnail:{el:".thumbnail-region",replaceElement:!0},basicInfo:{el:".basic-info-region",replaceElement:!0},additionalInfo:{el:".additional-details-region",replaceElement:!0},productionInfo:{el:".production-info-region",replaceElement:!0},fields:{el:".fields-region",replaceElement:!0},clickViewTags:{el:".cv-tags-region",replaceElement:!1},customerTags:{el:".customer-tags-region",replaceElement:!0}}}},{key:"renderSave",value:function(){this.options.editable&&this.showChildView("topSave",new Te({channelName:this.options.channelName,allowUndo:!0,isDisabled:this.options.isSaveDisabled,hasChanges:this.options.hasChanges,extraClasses:"float-right"})),this.showChildView("bottomSave",new Te({channelName:this.options.channelName,allowUndo:!0,isDisabled:this.options.isSaveDisabled,hasChanges:this.options.hasChanges,extraClasses:"float-right"}))}},{key:"renderBasicInfo",value:function(){this.showChildView("basicInfo",new C.a({model:this.model,ratings:this.options.ratings,channelName:this.options.channelName,editable:this.options.editable,showingSaveButton:this.options.editable,showPublisherVideoDetails:this.options.showPublisherVideoDetails}))}},{key:"renderThumbnail",value:function(){this.showChildView("thumbnail",new Ie({model:this.model,channelName:this.options.channelName,editable:this.options.editable}))}},{key:"renderAdditionalInfo",value:function(){this.showChildView("additionalInfo",new x.a({model:this.model,channelName:this.options.channelName,libraries:this.options.libraries,hostedLibraries:this.options.hostedLibraries,editable:this.options.editable}))}},{key:"renderProductionInfo",value:function(){this.showChildView("productionInfo",new O.a({model:this.model,channelName:this.options.channelName,editable:this.options.editable}))}},{key:"renderFields",value:function(){this.showChildView("fields",new K({model:this.model,channelName:this.options.channelName}))}},{key:"renderClickViewTags",value:function(){if(!this.options.editable){var e=v.j.filterObjectsByOwnerType(this.model.tags,Z.a.ClickView,this.options.currentUser.get("customerId"));this.showChildView("clickViewTags",new he({parentId:this.model.get("id"),collection:e,orientation:ne.c.Flex,behavior:ne.b.Disabled,channelName:this.options.channelName,headerText:l.a.getPhrase(this.lang,"clickviewTags"),emptyStateText:l.a.getPhrase(this.lang,"clickviewTagsEmpty")}))}}},{key:"renderCustomerTags",value:function(e){var t=v.j.filterObjectsByOwnerType(this.model.tags,Z.a.Customer,this.options.currentUser.get("customerId"));this.showChildView("customerTags",new he({parentId:this.model.get("id"),collection:t,channelName:this.options.channelName,behavior:ne.b.Edit,headerText:l.a.getPhrase(this.lang,"customerTags"),removeEvent:"remove:tag",autofocus:!!e}))}},{key:"renderTags",value:function(){this.renderClickViewTags(),this.renderCustomerTags()}},{key:"viewOptions",value:function(){return{styles:Be.a,editable:this.options.editable,suggestEditClasses:"info-link text-underline suggest-edit",isExchange:v.x.isExchangeVideo(this.model)}}},{key:"onRender",value:function(){this.renderSave(),this.renderBasicInfo(),this.renderThumbnail(),this.renderAdditionalInfo(),this.renderProductionInfo(),this.renderFields(),this.renderTags()}},{key:"name",get:function(){return"EditVideoDetailsComponent"}},{key:"className",get:function(){return"edit-video-detail py-3"}},{key:"lang",get:function(){return"libraryEditor.editVideoDetails"}},{key:"template",get:function(){return Ae.a}},{key:"appLinks",get:function(){return{".suggest-edit":{application:f.b.LIBRARY_EDITOR,action:f.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.id]}}}}])&&Je(t.prototype,n),i&&Je(t,i),r}(r.a.Component),qe=n(1291),Xe=n(301),Ke=n(302),Ze=n(1459),Qe=n.n(Ze);function $e(e){return($e="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 et(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function tt(e,t){return(tt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nt(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,i=ot(e);if(t){var o=ot(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return it(this,n)}}function it(e,t){return!t||"object"!==$e(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 ot(e){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"EditVideoView",(function(){return rt}));var rt=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&&tt(e,t)}(x,e);var t,n,C,O=nt(x);function x(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,x),(t=O.call(this,e)).editable=!1,t}return t=x,(n=[{key:"regions",value:function(){return{tabs:{el:".tab-region",replaceElement:!0,partialLoading:g.h.EditVideoTabs},content:{el:".edit-content-region",replaceElement:!0,partialLoading:g.h.EditVideoDetails}}}},{key:"initialize",value:function(){this.navLock=u.a.getInstance(f.x.NavLock,this),this.initDataListeners(),v.u.initBackButton(),this.initServices()}},{key:"initServices",value:function(){this.videoDataService=u.a.getInstance(f.g.Video,this),this.tagDataService=u.a.getInstance(f.g.Tags,this),this.libraryDataService=u.a.getInstance(f.g.Library,this),this.seriesDataService=u.a.getInstance(f.g.Series,this),this.ratingsDataService=u.a.getInstance(f.g.Ratings,this),this.migrationVideoDataService=u.a.getInstance(f.g.MigrationVideo,this),this.fieldsDataService=u.a.getInstance(f.g.Fields,this),this.alertService=u.a.getInstance(f.x.Alerts,this),this.personDataService=u.a.getInstance(f.g.Person,this),this.companyDataService=u.a.getInstance(f.g.Company,this)}},{key:"initDataListeners",value:function(){this.listenTo(c.a.SHELL,r.a.EventNames.NAV_UNLOCKED_BY_USER,this.onNavigateAway),this.listenTo(f.e.VIDEO,"videos:".concat(this.options.videoId,":sync"),this.render),this.listenTo(f.e.VIDEO,"videos:".concat(this.options.videoId,":error"),this.onError),this.listenTo(f.e.RATINGS,"".concat(f.f.RATINGS,":sync"),this.render),this.listenTo(f.e.VIDEO,"".concat(f.f.UPDATE_VIDEO_THUMBNAIL,":").concat(this.options.videoId,":sync"),this.onThumbnailUpdated),this.listenTo(f.e.LIBRARY,"hosted:libraries:sync",this.render),this.listenTo(this.channelName,"select:rating",i.partial(this.onTypeaheadSelection,i,"rating")),this.listenTo(this.channelName,"select:channel",i.partial(this.onTypeaheadSelection,i,"channel")),this.listenTo(this.channelName,"select:series",this.onSelectSeries),this.listenTo(this.channelName,"add:season",this.onSelectSeason),this.listenTo(this.channelName,"add:distributors",this.onSelectDistributor),this.listenTo(this.channelName,"add:productionCompanies",this.onSelectProductionCompany),this.listenTo(this.channelName,"add:directors",this.onSelectDirector),this.listenTo(this.channelName,"add:producers",this.onSelectProducer),this.listenTo(this.channelName,"add:tag",this.onAddTag),this.listenTo(this.channelName,"remove:distributors",this.onRemoveDistributor),this.listenTo(this.channelName,"remove:productionCompanies",this.onRemoveProductionCompany),this.listenTo(this.channelName,"remove:directors",this.onRemoveDirector),this.listenTo(this.channelName,"remove:producers",this.onRemoveProducer),this.listenTo(this.channelName,"remove:tag",this.onRemoveTag),this.listenTo(this.channelName,S.LibraryEditorActions.Save,this.onSave),this.listenTo(this.channelName,S.LibraryEditorActions.Undo,this.onUndo),this.listenTo(this.channelName,S.LibraryEditorActions.DetectInput,this.onTypeaheadInput),this.listenTo(this.channelName,"image:load",this.onBeforeThumbnailUpload)}},{key:"onError",value:function(e){switch(e.type){case h.a.NotFound:r.a.ErrorHelper.throw(new Ke.a);break;case h.a.Forbidden:r.a.ErrorHelper.throw(new Xe.a)}}},{key:"onTypeaheadSelection",value:function(e,t,n){if(n){var o=this.viewModel.get(t),r=o.filter({name:e.name});i.each(r,(function(e){return o.remove(e)})),o.add(e)}else this.viewModel.set(t,e);this.onModelChange(e,{manualUpdate:!0})}},{key:"onTypeaheadInput",value:function(e,t,n){e.get("name")||(n&&n.isCollection?this.viewModel.get(t).remove(e.get("id"),{silent:!0}):this.viewModel.get(t).clear({silent:!0}),this.onModelChange(null,{manualUpdate:!0}),"series"===t&&(this.validateSeries(),o.Radio.channel(this.channelName).trigger("clear:series")))}},{key:"onSelectSeries",value:function(e){var t=this;e.id?this.seriesDataService.getSeries(e.id,(function(e){t.viewModel.unset("season"),t.viewModel.set("episodeNumber",null),t.onTypeaheadSelection(e.toJSON(),"series")})):e.name&&this.seriesDataService.createSeries(e.name,(function(e){t.viewModel.unset("season"),t.viewModel.set("episodeNumber",null),t.onTypeaheadSelection({id:e.id},"series")}))}},{key:"onSelectSeason",value:function(e){var t=this;if(i.isNull(e))return this.viewModel.get("season").clear({silent:!0}),this.viewModel.set("episodeNumber",null),v.c.deselectAll(this.viewModel.get("series.seasons")),void this.onModelChange(null,{manualUpdate:!0});if(e.id)return this.viewModel.set("season",e),v.c.setSelected(e.id,this.viewModel.get("series.seasons")),void this.onModelChange(e,{manualUpdate:!0});if(e.number){var n=this.viewModel.get("series.id");this.seriesDataService.createSeason(e,n,(function(e){t.viewModel.set("season",e.toJSON()),!t.viewModel.get("series.seasons")&&t.viewModel.get("series").set("seasons",new d.a),t.viewModel.get("series.seasons").add(e.toJSON()),v.c.setSelected(e.id,t.viewModel.get("series.seasons")),t.onModelChange(e.toJSON(),{manualUpdate:!0}),t.render()}))}}},{key:"onSelectDistributor",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"distributors",!0):e.name&&this.companyDataService.createCompany(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"distributors",!0)}))}},{key:"onSelectProductionCompany",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"productionCompanies",!0):e.name&&this.companyDataService.createCompany(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"productionCompanies",!0)}))}},{key:"onSelectDirector",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"directors",!0):e.name&&this.personDataService.createPerson(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"directors",!0)}))}},{key:"onSelectProducer",value:function(e){var t=this;e.id?this.onTypeaheadSelection(e,"producers",!0):e.name&&this.personDataService.createPerson(e.name,(function(e){t.onTypeaheadSelection(e.toJSON(),"producers",!0)}))}},{key:"onRemoveDistributor",value:function(e){this.removeFromCollection(e,"distributors")}},{key:"onRemoveProductionCompany",value:function(e){this.removeFromCollection(e,"productionCompanies")}},{key:"onRemoveDirector",value:function(e){this.removeFromCollection(e,"directors")}},{key:"onRemoveProducer",value:function(e){this.removeFromCollection(e,"producers")}},{key:"removeFromCollection",value:function(e,t){e&&e.id&&t&&(this.viewModel.get(t).remove(e.id),this.onModelChange(null,{manualUpdate:!0}))}},{key:"onAddTag",value:function(e){var t=this;if(e&&e.name){var n=e.name.trim().toLowerCase();if(n&&!v.c.findModelByName(n,this.viewModel.tags)){var i=new y.a({name:n});this.viewModel.tags.add(i),this.tagDataService.createTag(n,this.model.get("id"),(function(e){i.set(e.toJSON()),o.Radio.channel(t.channelName).trigger("update:tags")}))}}}},{key:"onRemoveTag",value:function(e){var t=this;e instanceof y.a&&e.id&&this.tagDataService.dissociateTag(e.id,this.model.get("id"),(function(){t.viewModel.tags.remove(e),o.Radio.channel(t.channelName).trigger("update:tags"),t.logDissocAction(t.model.get("id"),e,w.EntityType.Tag)}))}},{key:"saveFields",value:function(e,t){var n=this,o=0;e.updatedVideo=i.extend({},e.updatedVideo||{});var r=function(){++o===e.dataChanges.fields.length&&t(e)};i.each(e.dataChanges.fields,(function(e){if(e.id&&!e.value)return n.viewModel.fields.remove(n.viewModel.fields.findWhere({id:e.id})),void n.fieldsDataService.deleteField(e.id,r);!e.id||e.id>0?n.fieldsDataService.updateField(e,r):n.fieldsDataService.addField(n.options.videoId,e,(function(t){n.viewModel.fields.findWhere({id:e.id}).set("id",t.id),r()}))}))}},{key:"bulkDissoc",value:function(e,t){this.videoDataService.bulkDissoc(this.model.id,e.pendingDissocs,(function(){t(e)}))}},{key:"saveVideo",value:function(e,t){var n=this,o=i.omit(e.dataChanges,"fields");if(i.isEmpty(o))t(e);else{var r=i.omit(e.dataChanges,"fields");this.videoDataService.updateVideo(this.model.get("id"),this.folder.get("id"),r,(function(o){(e.dataChanges.series&&e.dataChanges.series.id||e.dataChanges.episodeNumber||e.dataChanges.season)&&n.videoDataService.clearVideoCache(),e.updatedVideo=i.extend({},e.updatedVideo||{},o),t(e)}))}}},{key:"afterSave",value:function(e){if(this.viewModel){e.updatedVideo&&this.updateState(e.updatedVideo),this.unlockNav(),this.updateSaveButton(S.LibraryEditorActions.DisableSave),this.logEditAction(e.dataChanges,w.WorkflowPhase.Save);var t=b.a.updatedVideoAlert(this.viewModel.get("name"));this.alertService.success(t||"Video was successfully updated")()}}},{key:"onSave",value:function(){if(this.viewModel.validate(),!1===this.viewModel.isValid())return this.updateSaveButton(S.LibraryEditorActions.CancelSave),!1;this.validateSeries();var e=T.a.getChanges(this.model,this.viewModel),t=T.a.getRemovedObjectIds(this.model,this.viewModel);if(!e&&!i.keys(t).length)return this.updateSaveButton(S.LibraryEditorActions.CancelSave),!1;var n=new r.a.Middleware;return e&&e.fields&&n.use(i.bind(this.saveFields,this)),t&&i.keys(t).length&&n.use(i.bind(this.bulkDissoc,this)),this.editable&&n.use(i.bind(this.saveVideo,this)),n.use(i.bind(this.afterSave,this)),n.go({dataChanges:e,pendingDissocs:t},null),!1}},{key:"onUndo",value:function(){var e=this;new v.d({title:l.a.getPhrase(this.lang,"undoTitle"),text:l.a.getPhrase(this.lang,"undoBody",{videoName:this.model.get("name")}),buttons:[{text:l.a.getPhrase(this.lang,"undo"),className:"btn btn-danger",success:!0},{text:l.a.getPhrase(this.lang,"cancel"),className:"btn btn-secondary",close:!0}]}).render().done((function(){e.logEditAction({},w.WorkflowPhase.Discard),e.revertState({undo:!0}),e.render()}))}},{key:"updateState",value:function(e){this.stopListening(this.viewModel),T.a.updateModelState(this.model,this.viewModel,e),s.a.clear(this.viewModelName),this.getViewModel(),this.renderContent()}},{key:"onNavigateAway",value:function(){this.revertState()}},{key:"revertState",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.undo;this.stopListening(this.viewModel),s.a.clear(this.viewModelName),delete this.viewModel,this.unlockNav(),t&&this.getViewModel()}},{key:"lockNav",value:function(){this.navLock.lock({title:l.a.getPhrase(this.lang,"navLockHeading"),text:l.a.getPhrase(this.lang,"navLockBody")})}},{key:"unlockNav",value:function(){this.navLock.unlock()}},{key:"onBeforeThumbnailUpload",value:function(){this.navLock.isLocked()&&(this.navLock.unlock(),s.a.get("upload:thumbnail:options").set("lockNav",!0))}},{key:"onModelChange",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t.stickitChange||t.manualUpdate)if(this.viewModel.validate(),!1!==this.viewModel.isValid()){var n=T.a.getChanges(this.model,this.viewModel)||i.keys(T.a.getRemovedObjectIds(this.model,this.viewModel)).length;if(!n)return this.unlockNav(),void this.updateSaveButton(S.LibraryEditorActions.DisableSave);this.lockNav(),this.updateSaveButton(S.LibraryEditorActions.EnableSave)}else this.updateSaveButton(S.LibraryEditorActions.DisableSave)}},{key:"updateSaveButton",value:function(e){var t=o.Radio.channel(this.channelName),n=S.LibraryEditorActions.EnableSave,i=S.LibraryEditorActions.DisableSave,s=S.LibraryEditorActions.CancelSave;switch(e){case n:return void t.trigger(n);case i:return void t.trigger(i);case s:return void t.trigger(s)}r.a.ErrorHelper.throw(new a.a("Save action type is not valid."))}},{key:"onThumbnailUpdated",value:function(){var e=this;this.videoDataService.clearCacheAndGetVideo(this.options.videoId,(function(t){e.model=t,e.viewModel.set("thumbnail",e.model.thumbnail.toJSON())}))}},{key:"logEditAction",value:function(e,t){var n=Object.assign({id:this.model.get("id")},e);k.a.logUserAction(n,{actionType:w.UserAction.Edit,entity:w.EntityType.Video,location:w.LocationContext.EditVideoDetails,workflowPhase:t})}},{key:"logDissocAction",value:function(e,t,n){var i=Object.assign({videoId:e},t.pick("id","name"));k.a.logUserAction(i,{actionType:w.UserAction.Dissociate,entity:n,location:w.LocationContext.EditVideoDetails})}},{key:"onValidation",value:function(e){this.viewModel.set("disabled",!e)}},{key:"getViewModel",value:function(){this.model.fields&&this.model.fields.length||this.model.set("fields",Object(T.d)()),this.viewModel=s.a.get(this.viewModelName,this.model.toJSON(),{ctor:m.a}),this.editable&&(this.viewModel.addValidation(T.k),this.viewModel.addValidation(T.e)),this.viewModel.addValidation(T.b),this.listenTo(this.viewModel,"validated",this.onValidation),this.listenTo(this.viewModel,"change",this.onModelChange),this.listenTo(this.viewModel,"change:dateBroadcast",i.partial(this.onModelChange,i,{manualUpdate:!0})),this.viewModel.fields&&(this.viewModel.fields&&this.viewModel.fields.each((function(e){return e.addValidation(T.c)})),this.listenTo(this.viewModel.fields,"change",this.onModelChange))}},{key:"validateSeries",value:function(){this.viewModel.get("series.id")||(this.viewModel.unset("season"),this.viewModel.set("episodeNumber",null))}},{key:"fetchData",value:function(){var e=this;this.model=this.videoDataService.getVideo(this.options.videoId),this.ratings=this.ratingsDataService.getAllRatings(),this.hostedLibraries=this.libraryDataService.getHostedLibraries(),this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.videoId,(function(t){var n=!!e.publisherVideo;e.publisherVideo=t,n&&e.isRendered()&&e.renderContent()})),this.model&&(this.editable=v.j.canEditVideo(this.model),this.folder=this.model.categories.first(),this.ratings&&this.hostedLibraries&&(this.viewModel instanceof m.a||this.getViewModel()))}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.model&&!!this.ratings&&!!this.viewModel}},{key:"renderContent",value:function(){var e=T.a.getChanges(this.model,this.viewModel)||i.keys(T.a.getRemovedObjectIds(this.model,this.viewModel)).length;this.showChildView("content",new We({model:this.viewModel,ratings:this.ratings,libraries:this.libraries,hostedLibraries:this.hostedLibraries,channelName:this.channelName,isSaveDisabled:!e,hasChanges:!!e,editable:this.editable,currentUser:this.currentUser,showPublisherVideoDetails:!!this.publisherVideo}))}},{key:"renderTabs",value:function(){this.showChildView("tabs",new qe.a({tabs:v.u.getEditVideoTabs(this.options.videoId,{hideChaptersTab:!this.editable}),activeTab:".edit-video-applink",goBackTab:v.u.getBackButton(this.options.videoId)}))}},{key:"onRender",value:function(){this.renderTabs(),this.renderContent()}},{key:"name",get:function(){return"EditVideoView"}},{key:"title",get:function(){return this.model&&this.model.get("name")}},{key:"lang",get:function(){return"libraryEditor.editVideo"}},{key:"className",get:function(){return"bg-white p-3"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.videoId)}},{key:"template",get:function(){return Qe.a}},{key:"requiredResources",get:function(){return{libraries:E.b.libraries,currentUser:p.b.currentUser}}}])&&et(t.prototype,n),C&&et(t,C),x}(r.a.View)}}]);
|