@clickview/library-editor 1.1.18 → 1.1.19-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/0.chunk.css +6 -0
- package/dist/css/1.chunk.css +2 -0
- package/dist/css/10.chunk.css +2 -0
- package/dist/css/12.chunk.css +14 -0
- package/dist/css/13.chunk.css +14 -0
- package/dist/css/14.chunk.css +8 -0
- package/dist/css/16.chunk.css +2 -0
- package/dist/css/17.chunk.css +2 -0
- package/dist/css/18.chunk.css +2 -0
- package/dist/css/2.chunk.css +4 -0
- package/dist/css/20.chunk.css +18 -0
- package/dist/css/21.chunk.css +18 -0
- package/dist/css/22.chunk.css +10 -0
- package/dist/css/23.chunk.css +12 -0
- package/dist/css/24.chunk.css +14 -0
- package/dist/css/25.chunk.css +10 -0
- package/dist/css/26.chunk.css +10 -0
- package/dist/css/27.chunk.css +8 -0
- package/dist/css/28.chunk.css +8 -0
- package/dist/css/29.chunk.css +8 -0
- package/dist/css/30.chunk.css +6 -0
- package/dist/css/31.chunk.css +6 -0
- package/dist/css/32.chunk.css +4 -0
- package/dist/css/36.chunk.css +4 -0
- package/dist/css/37.chunk.css +4 -0
- package/dist/css/38.chunk.css +2 -0
- package/dist/css/39.chunk.css +2 -0
- package/dist/css/4.chunk.css +6 -0
- package/dist/css/40.chunk.css +4 -0
- package/dist/css/41.chunk.css +4 -0
- package/dist/css/42.chunk.css +2 -0
- package/dist/css/43.chunk.css +2 -0
- package/dist/css/44.chunk.css +2 -0
- package/dist/css/45.chunk.css +2 -0
- package/dist/css/46.chunk.css +2 -0
- package/dist/css/47.chunk.css +2 -0
- package/dist/css/48.chunk.css +2 -0
- package/dist/css/5.chunk.css +16 -0
- package/dist/css/50.chunk.css +2 -0
- package/dist/css/51.chunk.css +2 -0
- package/dist/css/54.chunk.css +2 -0
- package/dist/css/55.chunk.css +2 -0
- package/dist/css/56.chunk.css +2 -0
- package/dist/css/57.chunk.css +2 -0
- package/dist/css/58.chunk.css +2 -0
- package/dist/css/59.chunk.css +2 -0
- package/dist/css/6.chunk.css +14 -0
- package/dist/css/61.chunk.css +2 -0
- package/dist/css/62.chunk.css +2 -0
- package/dist/css/7.chunk.css +2 -0
- package/dist/css/8.chunk.css +2 -0
- package/dist/css/9.chunk.css +4 -0
- package/dist/css/library-editor-app.css +124 -0
- package/dist/en.json +1 -1
- package/dist/libs/analytics/src/Analytics.d.ts +10 -0
- package/dist/libs/analytics/src/AnalyticsHelper.d.ts +30 -0
- package/dist/libs/analytics/src/AnalyticsService.d.ts +52 -0
- package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +24 -0
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +48 -0
- package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +7 -0
- package/dist/libs/analytics/src/clients/GoogleAnalyticsClient.d.ts +22 -0
- package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +1 -0
- package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +7 -0
- package/dist/libs/analytics/src/constants/EventFirehose.d.ts +4 -0
- package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +3 -0
- package/dist/libs/analytics/src/constants/Regions.d.ts +6 -0
- package/dist/libs/analytics/src/constants/Services.d.ts +4 -0
- package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +19 -0
- package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +22 -0
- package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +10 -0
- package/dist/libs/analytics/src/enums/CountryCode.d.ts +5 -0
- package/dist/libs/analytics/src/enums/RegionName.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +214 -0
- package/dist/libs/analytics/src/interfaces/Config.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Folder.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/HashObject.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Owner.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Playlist.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Rating.d.ts +4 -0
- package/dist/libs/analytics/src/interfaces/Region.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/Resource.d.ts +5 -0
- package/dist/libs/analytics/src/interfaces/Series.d.ts +3 -0
- package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +4 -0
- package/dist/libs/analytics/src/interfaces/User.d.ts +6 -0
- package/dist/libs/analytics/src/interfaces/VersionData.d.ts +4 -0
- package/dist/libs/analytics/src/interfaces/Video.d.ts +16 -0
- package/dist/libs/analytics/src/interfaces/index.d.ts +15 -0
- package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +7 -0
- package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +49 -0
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +55 -0
- package/dist/libs/analytics/src/services/ContextService.d.ts +19 -0
- package/dist/libs/analytics/src/transport/EventTransport.d.ts +39 -0
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +6 -0
- package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +14 -0
- package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +19 -0
- package/dist/libs/analytics/src/utils/ObjectFormatHelper.d.ts +5 -0
- package/dist/libs/analytics/src/utils/TypeHelper.d.ts +4 -0
- package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +10 -0
- package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +10 -0
- package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +50 -0
- package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +42 -0
- package/dist/libs/common/src/backbone/constants/BehaviorChannels.d.ts +5 -0
- package/dist/libs/common/src/backbone/constants/Caches.d.ts +3 -0
- package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +5 -0
- package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +5 -0
- package/dist/libs/common/src/backbone/constants/DataProviders.d.ts +4 -0
- package/dist/libs/common/src/backbone/constants/Webplayer.d.ts +65 -0
- package/dist/libs/common/src/backbone/core/AppLink.d.ts +37 -0
- package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +95 -0
- package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +76 -0
- package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +6 -0
- package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +7 -0
- package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +16 -0
- package/dist/libs/common/src/backbone/core/BaseError.d.ts +18 -0
- package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +11 -0
- package/dist/libs/common/src/backbone/core/BaseModel.d.ts +27 -0
- package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +21 -0
- package/dist/libs/common/src/backbone/core/BaseService.d.ts +10 -0
- package/dist/libs/common/src/backbone/core/BaseView.d.ts +127 -0
- package/dist/libs/common/src/backbone/core/EventNames.d.ts +16 -0
- package/dist/libs/common/src/backbone/core/LayoutService.d.ts +31 -0
- package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +3 -0
- package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +23 -0
- package/dist/libs/common/src/backbone/core/Middleware.d.ts +10 -0
- package/dist/libs/common/src/backbone/core/Shell.d.ts +79 -0
- package/dist/libs/common/src/backbone/core/Types.d.ts +12 -0
- package/dist/libs/common/src/backbone/core/index.d.ts +18 -0
- package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +8 -0
- package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +6 -0
- package/dist/libs/common/src/backbone/errors/DevError.d.ts +4 -0
- package/dist/libs/common/src/backbone/errors/NotImplementedError.d.ts +5 -0
- package/dist/libs/common/src/backbone/index.d.ts +2 -0
- package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +18 -0
- package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +9 -0
- package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +8 -0
- package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +15 -0
- package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +7 -0
- package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +218 -0
- package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +33 -0
- package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +38 -0
- package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +9 -0
- package/dist/libs/common/src/backbone/interfaces/index.d.ts +9 -0
- package/dist/libs/common/src/backbone/runtime/InputValidation.d.ts +2 -0
- package/dist/libs/common/src/backbone/services/BaseAlertService.d.ts +69 -0
- package/dist/libs/common/src/backbone/services/BaseDataService.d.ts +82 -0
- package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +13 -0
- package/dist/libs/common/src/backbone/services/InstanceManager.d.ts +33 -0
- package/dist/libs/common/src/backbone/services/LanguageService.d.ts +22 -0
- package/dist/libs/common/src/backbone/services/ScrollService.d.ts +19 -0
- package/dist/libs/common/src/backbone/services/ViewModelService.d.ts +68 -0
- package/dist/libs/common/src/backbone/services/caches/FifoMemoryCache.d.ts +20 -0
- package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +31 -0
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +46 -0
- package/dist/libs/common/src/backbone/utils/ConcurrencyHelper.d.ts +13 -0
- package/dist/libs/common/src/backbone/utils/DataServiceErrorHelper.d.ts +2 -0
- package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +8 -0
- package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +58 -0
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +13 -0
- package/dist/libs/common/src/backbone/utils/UserAgentHelper.d.ts +7 -0
- package/dist/libs/common/src/react/interfaces/HashObject.d.ts +3 -0
- package/dist/libs/common/src/react/utils/FetchHelper.d.ts +50 -0
- package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +10 -0
- package/dist/libs/shared/src/apps/notifications/collections/NotificationCollection.d.ts +9 -0
- package/dist/libs/shared/src/apps/notifications/components/notification-items/notification-item/NotificationItemComponent.d.ts +23 -0
- package/dist/libs/shared/src/apps/notifications/components/notification-list/NotificationListComponent.d.ts +26 -0
- package/dist/libs/shared/src/apps/notifications/components/notification-status/NotificationStatusComponent.d.ts +15 -0
- package/dist/libs/shared/src/apps/notifications/enums/AppLinkReferrer.d.ts +3 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationActions.d.ts +3 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationAlertType.d.ts +7 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationAppLinkModules.d.ts +7 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationModules.d.ts +4 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationStatus.d.ts +5 -0
- package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +16 -0
- package/dist/libs/shared/src/apps/notifications/interfaces/NotificationCollectionRequest.d.ts +5 -0
- package/dist/libs/shared/src/apps/notifications/interfaces/index.d.ts +1 -0
- package/dist/libs/shared/src/apps/notifications/models/Notification.d.ts +6 -0
- package/dist/libs/shared/src/apps/notifications/services/NotificationDataService.d.ts +14 -0
- package/dist/libs/shared/src/apps/notifications/services/NotificationService.d.ts +33 -0
- package/dist/libs/shared/src/apps/notifications/services/NotificationSocketService.d.ts +8 -0
- package/dist/libs/shared/src/apps/notifications/services/data-providers/NotificationsSocketDataProvider.d.ts +4 -0
- package/dist/libs/shared/src/apps/notifications/utils/NotificationAppLinkHelper.d.ts +10 -0
- package/dist/libs/shared/src/apps/notifications/utils/NotificationsHelper.d.ts +18 -0
- package/dist/libs/shared/src/apps/notifications/views/header/NotificationHeaderView.d.ts +16 -0
- package/dist/libs/shared/src/apps/notifications/views/notifications/NotificationsView.d.ts +27 -0
- package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +34 -0
- package/dist/libs/shared/src/apps/search/components/confirm-selection/ConfirmSelectionComponent.d.ts +12 -0
- package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +4 -0
- package/dist/libs/shared/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +15 -0
- package/dist/libs/shared/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +9 -0
- package/dist/libs/shared/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +9 -0
- package/dist/libs/shared/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +18 -0
- package/dist/libs/shared/src/apps/search/components/search-context/SearchContextComponent.d.ts +18 -0
- package/dist/libs/shared/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +11 -0
- package/dist/libs/shared/src/apps/search/constants/TypeaheadConfiguration.d.ts +12 -0
- package/dist/libs/shared/src/apps/search/enums/FilterTypes.d.ts +14 -0
- package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +18 -0
- package/dist/libs/shared/src/apps/search/enums/SearchTypes.d.ts +8 -0
- package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +26 -0
- package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +1 -0
- package/dist/libs/shared/src/apps/search/services/ContextualSearchService.d.ts +34 -0
- package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +21 -0
- package/dist/libs/shared/src/apps/search/utils/RecentSearchHelper.d.ts +12 -0
- package/dist/libs/shared/src/apps/search/utils/SearchHelper.d.ts +5 -0
- package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +75 -0
- package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +105 -0
- package/dist/libs/shared/src/apps/search/views/search-bar/templates/index.d.ts +9 -0
- package/dist/libs/shared/src/apps/upload/collections/PendingItemsCollection.d.ts +8 -0
- package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +39 -0
- package/dist/libs/shared/src/apps/upload/enums/FileLifestyle.d.ts +4 -0
- package/dist/libs/shared/src/apps/upload/enums/PendingItemStatus.d.ts +5 -0
- package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +15 -0
- package/dist/libs/shared/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +7 -0
- package/dist/libs/shared/src/apps/upload/services/BasePendingItemsService.d.ts +26 -0
- package/dist/libs/shared/src/apps/upload/services/DropzoneWrapper.d.ts +30 -0
- package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +65 -0
- package/dist/libs/shared/src/apps/upload/utils/FileExtensionsHelper.d.ts +9 -0
- package/dist/libs/shared/src/apps/upload/utils/PendingItemsHelper.d.ts +9 -0
- package/dist/libs/shared/src/constants/AppVariables.d.ts +4 -0
- package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +5 -0
- package/dist/libs/shared/src/constants/DataPrefixes.d.ts +12 -0
- package/dist/libs/shared/src/constants/RadioChannels.d.ts +20 -0
- package/dist/libs/shared/src/constants/SharedServices.d.ts +25 -0
- package/dist/libs/shared/src/enums/ClassificationType.d.ts +4 -0
- package/dist/libs/shared/src/enums/CurationStatus.d.ts +12 -0
- package/dist/libs/shared/src/enums/CustomerType.d.ts +11 -0
- package/dist/libs/shared/src/enums/GlanceFormat.d.ts +3 -0
- package/dist/libs/shared/src/enums/Images.d.ts +26 -0
- package/dist/libs/shared/src/enums/LibraryType.d.ts +5 -0
- package/dist/libs/shared/src/enums/MediaQueries.d.ts +18 -0
- package/dist/libs/shared/src/enums/PartialLoading.d.ts +4 -0
- package/dist/libs/shared/src/enums/ThemeType.d.ts +3 -0
- package/dist/libs/shared/src/enums/UserRole.d.ts +15 -0
- package/dist/libs/shared/src/enums/VideoOrigin.d.ts +14 -0
- package/dist/libs/shared/src/enums/WidgetContents.d.ts +6 -0
- package/dist/libs/shared/src/errors/primitives/AlertError.d.ts +4 -0
- package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +9 -0
- package/dist/libs/shared/src/errors/primitives/ErrorPageError.d.ts +7 -0
- package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +81 -0
- package/dist/libs/shared/src/images/svg/actions/index.d.ts +21 -0
- package/dist/libs/shared/src/images/svg/arrows/index.d.ts +9 -0
- package/dist/libs/shared/src/images/svg/index.d.ts +2 -0
- package/dist/libs/shared/src/images/svg/objects/index.d.ts +33 -0
- package/dist/libs/shared/src/images/svg/player/index.d.ts +14 -0
- package/dist/libs/shared/src/images/svg/settings.d.ts +1 -0
- package/dist/libs/shared/src/images/svg/status/index.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +16 -0
- package/dist/libs/shared/src/interfaces/QueryParams.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +16 -0
- package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +14 -0
- package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/index.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/models/Audience.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Banner.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Category.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Channel.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Classification.d.ts +20 -0
- package/dist/libs/shared/src/interfaces/models/Clip.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/Company.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Config.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Cover.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Customer.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Folder.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Following.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Glance.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Image.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/Interactive.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Link.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Person.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/models/Poster.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/Rating.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Resource.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +6 -0
- package/dist/libs/shared/src/interfaces/models/Season.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/models/Series.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/models/Share.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Subject.d.ts +13 -0
- package/dist/libs/shared/src/interfaces/models/Tag.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Theme.d.ts +11 -0
- package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/User.d.ts +53 -0
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +26 -0
- package/dist/libs/shared/src/interfaces/models/VideoWithRestrictions.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +15 -0
- package/dist/libs/shared/src/interfaces/models/index.d.ts +42 -0
- package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +7 -0
- package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +8 -0
- package/dist/libs/shared/src/interfaces/props/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +12 -0
- package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/requests/index.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +10 -0
- package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +5 -0
- package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +8 -0
- package/dist/libs/shared/src/interfaces/services/index.d.ts +4 -0
- package/dist/libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior.d.ts +22 -0
- package/dist/libs/shared/src/legacy/behaviors/popover/PopoverBehavior.d.ts +40 -0
- package/dist/libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior.d.ts +26 -0
- package/dist/libs/shared/src/legacy/components/empty-state/EmptyStateComponent.d.ts +24 -0
- package/dist/libs/shared/src/legacy/components/pagination/PaginationComponent.d.ts +29 -0
- package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +34 -0
- package/dist/libs/shared/src/legacy/constants/empty-state-components/EmptyStateComponents.d.ts +6 -0
- package/dist/libs/shared/src/legacy/enums/EmptyState.d.ts +3 -0
- package/dist/libs/shared/src/legacy/enums/SortType.d.ts +7 -0
- package/dist/libs/shared/src/legacy/interfaces/CollectionIdentifier.d.ts +7 -0
- package/dist/libs/shared/src/legacy/interfaces/index.d.ts +1 -0
- package/dist/libs/shared/src/legacy/utils/EmptyStateHelper.d.ts +4 -0
- package/dist/libs/shared/src/legacy/utils/LangHelper.d.ts +5 -0
- package/dist/libs/shared/src/services/ContextService.d.ts +38 -0
- package/dist/libs/shared/src/services/LanguageDataService.d.ts +7 -0
- package/dist/libs/shared/src/services/UserDataService.d.ts +23 -0
- package/dist/libs/shared/src/utils/EmbedHelper.d.ts +8 -0
- package/dist/libs/shared/src/utils/ImageHelper.d.ts +30 -0
- package/dist/libs/shared/src/utils/LibraryDataServiceHelper.d.ts +13 -0
- package/dist/libs/shared/src/utils/MaskHelper.d.ts +15 -0
- package/dist/libs/shared/src/utils/SvgHelper.d.ts +19 -0
- package/dist/libs/shared/src/utils/TextHelper.d.ts +3 -0
- package/dist/projects/library-editor/src/app.d.ts +224 -0
- package/dist/projects/library-editor/src/apps/content-updates/ContentUpdatesApplication.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/content-updates/collections/SubjectCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/apps/content-updates/collections/VideoGroupCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +14 -0
- package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +20 -0
- package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +37 -0
- package/dist/projects/library-editor/src/apps/content-updates/models/Subject.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/content-updates/models/VideoGroup.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +47 -0
- package/dist/projects/library-editor/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +36 -0
- package/dist/projects/library-editor/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +41 -0
- package/dist/projects/library-editor/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +55 -0
- package/dist/projects/library-editor/src/apps/dashboard/DashboardApplication.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +20 -0
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +14 -0
- package/dist/projects/library-editor/src/apps/dashboard/views/DashboardView.d.ts +38 -0
- package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +21 -0
- package/dist/projects/library-editor/src/apps/default/views/dev-error/DevErrorView.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/default/views/error-view/ErrorView.d.ts +12 -0
- package/dist/projects/library-editor/src/apps/default/views/not-found/NotFoundView.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/index.d.ts +16 -0
- package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +46 -0
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +31 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/banner/BannerComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +66 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +25 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +37 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +21 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +28 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +16 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +48 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +13 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +35 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +41 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +28 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +45 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +31 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/save/SaveComponent.d.ts +33 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +29 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +31 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +21 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +28 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +44 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/ChapterDataService.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/CompanyDataService.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/ExportDataService.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/FieldsDataService.d.ts +12 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/FolderDragDropService.d.ts +27 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/LibraryDataService.d.ts +65 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/LinkDataService.d.ts +14 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/PersonDataService.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/RatingsDataService.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/ResourceDataService.d.ts +13 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/SeriesDataService.d.ts +16 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/SubtitleDataService.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/TagDataService.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +45 -0
- package/dist/projects/library-editor/src/apps/library-editor/services/VideoDragDropService.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/library-editor/utils/ChapterHelper.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +93 -0
- package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +17 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +32 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +28 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +29 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +71 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +51 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +29 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +92 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +125 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +35 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +33 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/library/LibraryView.d.ts +31 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +44 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +50 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +44 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +10 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +39 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +58 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +105 -0
- package/dist/projects/library-editor/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +44 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/MigrationWizardApplication.d.ts +45 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +14 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +21 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +12 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +17 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +25 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +10 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +20 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +35 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +28 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +36 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +16 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +6 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/filters/MigrationFilters.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/BackupToolBuild.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/CustomerMetadata.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/FinalisationTask.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/HomeFolder.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/MigrationOptions.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/SelectedVideo.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +4 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/models/VideoCount.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/services/FolderCacheService.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/services/LocalOptionsService.d.ts +10 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +56 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/services/SelectedVideoService.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/FolderHelper.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/utils/VideoHelper.d.ts +29 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +28 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +27 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +40 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +32 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +32 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +32 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +58 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/start/StartView.d.ts +40 -0
- package/dist/projects/library-editor/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/notifications/NotificationsApplication.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/notifications/constants/NotificationsAppVariables.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/notifications/utils/NotificationsHelper.d.ts +10 -0
- package/dist/projects/library-editor/src/apps/search/SearchApplication.d.ts +16 -0
- package/dist/projects/library-editor/src/apps/search/collections/FilterCollection.d.ts +9 -0
- package/dist/projects/library-editor/src/apps/search/collections/OptionCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/FiltersComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +37 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +17 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +21 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +42 -0
- package/dist/projects/library-editor/src/apps/search/components/results/SearchResultsComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/search/models/Filter.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/search/models/Option.d.ts +4 -0
- package/dist/projects/library-editor/src/apps/search/models/Query.d.ts +3 -0
- package/dist/projects/library-editor/src/apps/search/models/SearchAppVariables.d.ts +4 -0
- package/dist/projects/library-editor/src/apps/search/services/SearchDataService.d.ts +12 -0
- package/dist/projects/library-editor/src/apps/search/utils/SearchHelper.d.ts +11 -0
- package/dist/projects/library-editor/src/apps/search/views/search/SearchView.d.ts +57 -0
- package/dist/projects/library-editor/src/apps/staff-requests/StaffRequestsApplication.d.ts +15 -0
- package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +42 -0
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +29 -0
- package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequest.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequestMessage.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/staff-requests/services/StaffRequestDataService.d.ts +14 -0
- package/dist/projects/library-editor/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +34 -0
- package/dist/projects/library-editor/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +44 -0
- package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +23 -0
- package/dist/projects/library-editor/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +38 -0
- package/dist/projects/library-editor/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +10 -0
- package/dist/projects/library-editor/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +21 -0
- package/dist/projects/library-editor/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +35 -0
- package/dist/projects/library-editor/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +10 -0
- package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +47 -0
- package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +19 -0
- package/dist/projects/library-editor/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/upload/services/ImageUploadDataService.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/upload/services/PendingItemsService.d.ts +7 -0
- package/dist/projects/library-editor/src/apps/upload/services/VideoUploadDataService.d.ts +17 -0
- package/dist/projects/library-editor/src/apps/upload/services/VideoUploadService.d.ts +8 -0
- package/dist/projects/library-editor/src/apps/upload/views/file-select/FileSelectView.d.ts +25 -0
- package/dist/projects/library-editor/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +18 -0
- package/dist/projects/library-editor/src/apps/upload/views/upload-button/UploadButtonView.d.ts +26 -0
- package/dist/projects/library-editor/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +14 -0
- package/dist/projects/library-editor/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +62 -0
- package/dist/projects/library-editor/src/apps/video-access/VideoAccessApplication.d.ts +12 -0
- package/dist/projects/library-editor/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +34 -0
- package/dist/projects/library-editor/src/shared/alerts/VideoAlerts.d.ts +9 -0
- package/dist/projects/library-editor/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +14 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +23 -0
- package/dist/projects/library-editor/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +31 -0
- package/dist/projects/library-editor/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +65 -0
- package/dist/projects/library-editor/src/shared/behaviors/stickit/StickitBehavior.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/ChannelCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/ChapterCollection.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/collections/DirectorCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/DistributorCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/FieldsCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/collections/FolderCollection.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/collections/InteractivesCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/LibraryCollection.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/collections/LinkCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/LocalCacheDeviceCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/collections/LocalCacheDownloadCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/collections/MetadataCollection.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/collections/ProducerCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/ProductionCompanyCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/RatingCollection.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/collections/ResourceCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/RestrictedObjectCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/collections/RestrictionCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/collections/SeasonCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/SettingsCollection.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/collections/SubtitleCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/TagCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/collections/VideoCollection.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/components/alert/AlertComponentCollection.d.ts +11 -0
- package/dist/projects/library-editor/src/shared/components/alert/AlertItemComponent.d.ts +44 -0
- package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +18 -0
- package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +26 -0
- package/dist/projects/library-editor/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/shared/components/checkbox/CheckboxComponent.d.ts +25 -0
- package/dist/projects/library-editor/src/shared/components/clear-button/ClearButtonComponent.d.ts +18 -0
- package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +47 -0
- package/dist/projects/library-editor/src/shared/components/dialog/DialogView.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +36 -0
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownComponentCollection.d.ts +38 -0
- package/dist/projects/library-editor/src/shared/components/dropdown/DropdownItemComponent.d.ts +57 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +38 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +32 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +61 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +33 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +17 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +17 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +40 -0
- package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +20 -0
- package/dist/projects/library-editor/src/shared/components/fields/FieldsComponent.d.ts +9 -0
- package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +34 -0
- package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +48 -0
- package/dist/projects/library-editor/src/shared/components/page-footer/PageFooterComponent.d.ts +15 -0
- package/dist/projects/library-editor/src/shared/components/page-header/PageHeaderComponent.d.ts +25 -0
- package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +20 -0
- package/dist/projects/library-editor/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +23 -0
- package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +54 -0
- package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +73 -0
- package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +28 -0
- package/dist/projects/library-editor/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +29 -0
- package/dist/projects/library-editor/src/shared/components/tree-dropdown/TreeDropdownComponent.d.ts +32 -0
- package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +74 -0
- package/dist/projects/library-editor/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +33 -0
- package/dist/projects/library-editor/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +20 -0
- package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +31 -0
- package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionsComponent.d.ts +42 -0
- package/dist/projects/library-editor/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +33 -0
- package/dist/projects/library-editor/src/shared/components/video-description/VideoDescriptionComponent.d.ts +33 -0
- package/dist/projects/library-editor/src/shared/components/video-item/VideoItemComponent.d.ts +58 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +23 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +25 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +26 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +20 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +25 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +27 -0
- package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +22 -0
- package/dist/projects/library-editor/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +37 -0
- package/dist/projects/library-editor/src/shared/components/video-list/VideoListComponent.d.ts +44 -0
- package/dist/projects/library-editor/src/shared/components/video-preview/VideoPreviewComponent.d.ts +30 -0
- package/dist/projects/library-editor/src/shared/components/web-player/WebPlayerComponent.d.ts +53 -0
- package/dist/projects/library-editor/src/shared/constants/CacheDurations.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/constants/Services.d.ts +62 -0
- package/dist/projects/library-editor/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/errors/authentication/AuthenticationError.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/errors/customer-setting/CustomerSettingError.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +11 -0
- package/dist/projects/library-editor/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/errors/not-found/NotFoundError.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/errors/old-version/OldVersionError.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/errors/too-many-files/TooManyFilesError.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/filters/BetaAccessFilter.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/filters/CustomerSettingsFilter.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/filters/RoleFilter.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/filters/VerifiedEmailFilter.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/index.d.ts +9 -0
- package/dist/projects/library-editor/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +20 -0
- package/dist/projects/library-editor/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/interfaces/VideoCollectionIdentifier.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +47 -0
- package/dist/projects/library-editor/src/shared/models/Avatar.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Banner.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Channel.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Chapter.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Company.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Config.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Customer.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Director.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/DisabledSpinnerModel.d.ts +5 -0
- package/dist/projects/library-editor/src/shared/models/Distributor.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Folder.d.ts +14 -0
- package/dist/projects/library-editor/src/shared/models/Image.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Interactives.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/LanguageConfig.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/models/Library.d.ts +10 -0
- package/dist/projects/library-editor/src/shared/models/Link.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/LocalCacheDevice.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/LocalCacheDownload.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Logo.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Metadata.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Owner.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Person.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Phrases.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Playlist.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Producer.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/ProductionCompany.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Rating.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Resource.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/RestrictedObject.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Restriction.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Season.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Series.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/models/Setting.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/SharedResource.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Subtitle.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Tag.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/Thumbnail.d.ts +3 -0
- package/dist/projects/library-editor/src/shared/models/User.d.ts +10 -0
- package/dist/projects/library-editor/src/shared/models/Video.d.ts +49 -0
- package/dist/projects/library-editor/src/shared/services/AlertService.d.ts +15 -0
- package/dist/projects/library-editor/src/shared/services/ConfigDataService.d.ts +23 -0
- package/dist/projects/library-editor/src/shared/services/CustomerDataService.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/services/DownloadProxyDataServices.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/services/IntercomService.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/services/LocalCacheDataService.d.ts +12 -0
- package/dist/projects/library-editor/src/shared/services/NavigationLockService.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/services/PageTitleService.d.ts +8 -0
- package/dist/projects/library-editor/src/shared/services/PageVisibilityService.d.ts +14 -0
- package/dist/projects/library-editor/src/shared/services/PartialLoadingService.d.ts +10 -0
- package/dist/projects/library-editor/src/shared/services/RestrictedVideoDataService.d.ts +15 -0
- package/dist/projects/library-editor/src/shared/services/SettingsDataService.d.ts +12 -0
- package/dist/projects/library-editor/src/shared/services/UserDataService.d.ts +20 -0
- package/dist/projects/library-editor/src/shared/services/VideoMixinService.d.ts +18 -0
- package/dist/projects/library-editor/src/shared/utils/BulkCheckboxHelper.d.ts +18 -0
- package/dist/projects/library-editor/src/shared/utils/CancelProcessingHelper.d.ts +4 -0
- package/dist/projects/library-editor/src/shared/utils/CollectionHelper.d.ts +10 -0
- package/dist/projects/library-editor/src/shared/utils/DialogHelper.d.ts +9 -0
- package/dist/projects/library-editor/src/shared/utils/DurationHelper.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/utils/FolderTreeHelpers.d.ts +36 -0
- package/dist/projects/library-editor/src/shared/utils/ImageHelper.d.ts +32 -0
- package/dist/projects/library-editor/src/shared/utils/LocalCacheHelper.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/utils/PartialLoadingHelper.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +13 -0
- package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +6 -0
- package/dist/projects/library-editor/src/shared/utils/RestrictedAccessHelper.d.ts +13 -0
- package/dist/projects/library-editor/src/shared/utils/SortHelper.d.ts +16 -0
- package/dist/projects/library-editor/src/shared/utils/TabHelper.d.ts +9 -0
- package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +11 -0
- package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +25 -0
- package/dist/projects/library-editor/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +28 -0
- package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +19 -0
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +7 -0
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +24 -0
- package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessView.d.ts +67 -0
- package/dist/projects/library-editor/src/shared/views/share/ShareView.d.ts +48 -0
- package/dist/projects/library-editor/src/shared/views/top-navigation/TopNavigationView.d.ts +35 -0
- package/dist/projects/library-editor/src/shared/views/user-options/UserOptionsView.d.ts +18 -0
- package/dist/projects/library-editor/src/startup/ConsoleOutput.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterAjaxMiddleware.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterRuntimeEnvironment.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +3 -0
- package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +15 -0
- package/dist/projects/library-editor/src/startup/index.d.ts +14 -0
- package/dist/scripts/0-48b01028ea.chunk.js +1 -0
- package/dist/scripts/1-098c567081.chunk.js +1 -0
- package/dist/scripts/10-b4b24c05f8.chunk.js +1 -0
- package/dist/scripts/11-e79fc84dc9.chunk.js +11 -0
- package/dist/scripts/12-58284faf21.chunk.js +1 -0
- package/dist/scripts/13-2c4cd203ec.chunk.js +1 -0
- package/dist/scripts/14-2eeb73cd11.chunk.js +1 -0
- package/dist/scripts/15-6fa6f47a8b.chunk.js +1 -0
- package/dist/scripts/16-68c900303f.chunk.js +1 -0
- package/dist/scripts/17-af7eca54ed.chunk.js +1 -0
- package/dist/scripts/18-087b42c483.chunk.js +1 -0
- package/dist/scripts/2-c70309751f.chunk.js +1 -0
- package/dist/scripts/20-caf95bbe64.chunk.js +1 -0
- package/dist/scripts/21-5d5cda7f47.chunk.js +1 -0
- package/dist/scripts/22-f2b4962990.chunk.js +1 -0
- package/dist/scripts/23-d575c690b9.chunk.js +1 -0
- package/dist/scripts/24-dc5b027075.chunk.js +1 -0
- package/dist/scripts/25-956d1e9caf.chunk.js +1 -0
- package/dist/scripts/26-7a3d12d816.chunk.js +1 -0
- package/dist/scripts/27-dc6045c275.chunk.js +1 -0
- package/dist/scripts/28-e7ce349a42.chunk.js +1 -0
- package/dist/scripts/29-e281d8346a.chunk.js +1 -0
- package/dist/scripts/3-afb156ea3e.chunk.js +1 -0
- package/dist/scripts/30-d4b6c1cd1d.chunk.js +1 -0
- package/dist/scripts/31-c1d42342dd.chunk.js +1 -0
- package/dist/scripts/32-1b1e4c86f5.chunk.js +1 -0
- package/dist/scripts/33-7ef65d086d.chunk.js +1 -0
- package/dist/scripts/34-6d7e7405af.chunk.js +1 -0
- package/dist/scripts/35-7d7e41a203.chunk.js +1 -0
- package/dist/scripts/36-37f9fd0ad1.chunk.js +1 -0
- package/dist/scripts/37-06db9481cd.chunk.js +1 -0
- package/dist/scripts/38-528abd1bba.chunk.js +1 -0
- package/dist/scripts/39-80001e779c.chunk.js +1 -0
- package/dist/scripts/4-f8a4d0b62a.chunk.js +1 -0
- package/dist/scripts/40-d59ee7c3e1.chunk.js +1 -0
- package/dist/scripts/41-8c75d122fc.chunk.js +1 -0
- package/dist/scripts/42-a68ee26f34.chunk.js +1 -0
- package/dist/scripts/43-bde1af67cb.chunk.js +1 -0
- package/dist/scripts/44-abdd275e46.chunk.js +1 -0
- package/dist/scripts/45-6b745e57af.chunk.js +1 -0
- package/dist/scripts/46-bee29b02a3.chunk.js +1 -0
- package/dist/scripts/47-c142425de4.chunk.js +1 -0
- package/dist/scripts/48-81efa76f40.chunk.js +1 -0
- package/dist/scripts/49-cbd218d6e4.chunk.js +1 -0
- package/dist/scripts/5-1b6768e719.chunk.js +1 -0
- package/dist/scripts/50-ec2f179d8c.chunk.js +1 -0
- package/dist/scripts/51-9b91910fc0.chunk.js +1 -0
- package/dist/scripts/52-d2e93491a5.chunk.js +1 -0
- package/dist/scripts/53-1c8ff136ad.chunk.js +1 -0
- package/dist/scripts/54-34116d34e6.chunk.js +1 -0
- package/dist/scripts/55-02803101de.chunk.js +1 -0
- package/dist/scripts/56-19ec4b6ccd.chunk.js +1 -0
- package/dist/scripts/57-17e93c944c.chunk.js +1 -0
- package/dist/scripts/58-dd77463e63.chunk.js +1 -0
- package/dist/scripts/59-08e8830b9c.chunk.js +1 -0
- package/dist/scripts/6-e87b3c0be1.chunk.js +1 -0
- package/dist/scripts/60-720797bb78.chunk.js +1 -0
- package/dist/scripts/61-66e55ae6e1.chunk.js +1 -0
- package/dist/scripts/62-beb29b208b.chunk.js +1 -0
- package/dist/scripts/63-bbc787afe7.chunk.js +1 -0
- package/dist/scripts/64-b10c083c61.chunk.js +1 -0
- package/dist/scripts/65-40c1cc2f53.chunk.js +1 -0
- package/dist/scripts/66-32ae3ca73f.chunk.js +1 -0
- package/dist/scripts/67-1f082de6fd.chunk.js +1 -0
- package/dist/scripts/68-f53fbad25f.chunk.js +1 -0
- package/dist/scripts/69-984061e3b8.chunk.js +1 -0
- package/dist/scripts/7-7d12e809a2.chunk.js +1 -0
- package/dist/scripts/70-8edf7afb7b.chunk.js +1 -0
- package/dist/scripts/71-6365b9e3d4.chunk.js +1 -0
- package/dist/scripts/72-85505b2300.chunk.js +1 -0
- package/dist/scripts/8-76e9f1bbc7.chunk.js +1 -0
- package/dist/scripts/9-a04919dbb2.chunk.js +1 -0
- package/dist/scripts/bundle-f3260e8016.min.js +1 -0
- package/dist/scripts/bundles.json +3 -0
- package/package.json +99 -102
- package/typings/utils/globals.d.ts +1 -0
- package/dist/bundle.js +0 -11
- package/dist/library-editor-app.css +0 -312
- package/dist/src/apps/content-updates/ContentUpdatesApplication.d.ts +0 -18
- package/dist/src/apps/content-updates/collections/SubjectCollection.d.ts +0 -5
- package/dist/src/apps/content-updates/collections/VideoGroupCollection.d.ts +0 -5
- package/dist/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +0 -14
- package/dist/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +0 -19
- package/dist/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +0 -18
- package/dist/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +0 -20
- package/dist/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +0 -24
- package/dist/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +0 -36
- package/dist/src/apps/content-updates/models/Subject.d.ts +0 -3
- package/dist/src/apps/content-updates/models/VideoGroup.d.ts +0 -7
- package/dist/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +0 -17
- package/dist/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +0 -7
- package/dist/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +0 -47
- package/dist/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +0 -36
- package/dist/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +0 -26
- package/dist/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +0 -41
- package/dist/src/apps/content-updates/views/index.d.ts +0 -5
- package/dist/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +0 -55
- package/dist/src/apps/dashboard/DashboardApplication.d.ts +0 -9
- package/dist/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +0 -20
- package/dist/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +0 -7
- package/dist/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +0 -15
- package/dist/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +0 -11
- package/dist/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +0 -14
- package/dist/src/apps/dashboard/views/DashboardView.d.ts +0 -38
- package/dist/src/apps/default/DefaultApplication.d.ts +0 -21
- package/dist/src/apps/default/views/dev-error/DevErrorView.d.ts +0 -11
- package/dist/src/apps/default/views/error-view/ErrorView.d.ts +0 -12
- package/dist/src/apps/default/views/not-found/NotFoundView.d.ts +0 -11
- package/dist/src/apps/index.d.ts +0 -18
- package/dist/src/apps/library-editor/LibraryEditorApplication.d.ts +0 -46
- package/dist/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +0 -9
- package/dist/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +0 -24
- package/dist/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +0 -19
- package/dist/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +0 -15
- package/dist/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +0 -31
- package/dist/src/apps/library-editor/components/banner/BannerComponent.d.ts +0 -19
- package/dist/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +0 -66
- package/dist/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +0 -25
- package/dist/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +0 -37
- package/dist/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +0 -21
- package/dist/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +0 -24
- package/dist/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +0 -19
- package/dist/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +0 -27
- package/dist/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +0 -23
- package/dist/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +0 -16
- package/dist/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +0 -23
- package/dist/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +0 -22
- package/dist/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +0 -45
- package/dist/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +0 -24
- package/dist/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +0 -26
- package/dist/src/apps/library-editor/components/file-select/FileSelectComponent.d.ts +0 -30
- package/dist/src/apps/library-editor/components/file-uploads/FileUploadComponent.d.ts +0 -15
- package/dist/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +0 -13
- package/dist/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +0 -18
- package/dist/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +0 -34
- package/dist/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +0 -41
- package/dist/src/apps/library-editor/components/index.d.ts +0 -38
- package/dist/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +0 -28
- package/dist/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +0 -7
- package/dist/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +0 -45
- package/dist/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +0 -26
- package/dist/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +0 -31
- package/dist/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +0 -27
- package/dist/src/apps/library-editor/components/save/SaveComponent.d.ts +0 -32
- package/dist/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +0 -29
- package/dist/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +0 -15
- package/dist/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +0 -9
- package/dist/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +0 -31
- package/dist/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +0 -21
- package/dist/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +0 -28
- package/dist/src/apps/library-editor/components/tags/TagsComponent.d.ts +0 -30
- package/dist/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +0 -24
- package/dist/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +0 -22
- package/dist/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +0 -34
- package/dist/src/apps/library-editor/components/video-resources/ResourceItemComponent.d.ts +0 -22
- package/dist/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +0 -44
- package/dist/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +0 -25
- package/dist/src/apps/library-editor/components/video-subtitles/SubtitleItemComponent.d.ts +0 -18
- package/dist/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +0 -26
- package/dist/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +0 -2
- package/dist/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +0 -8
- package/dist/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +0 -7
- package/dist/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +0 -7
- package/dist/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +0 -6
- package/dist/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +0 -6
- package/dist/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +0 -6
- package/dist/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +0 -9
- package/dist/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +0 -7
- package/dist/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +0 -7
- package/dist/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +0 -9
- package/dist/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +0 -6
- package/dist/src/apps/library-editor/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
- package/dist/src/apps/library-editor/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
- package/dist/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +0 -6
- package/dist/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +0 -6
- package/dist/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +0 -3
- package/dist/src/apps/library-editor/services/ChapterDataService.d.ts +0 -15
- package/dist/src/apps/library-editor/services/CompanyDataService.d.ts +0 -7
- package/dist/src/apps/library-editor/services/ExportDataService.d.ts +0 -11
- package/dist/src/apps/library-editor/services/FieldsDataService.d.ts +0 -11
- package/dist/src/apps/library-editor/services/FolderDragDropService.d.ts +0 -27
- package/dist/src/apps/library-editor/services/LibraryDataService.d.ts +0 -61
- package/dist/src/apps/library-editor/services/LinkDataService.d.ts +0 -14
- package/dist/src/apps/library-editor/services/PersonDataService.d.ts +0 -7
- package/dist/src/apps/library-editor/services/RatingsDataService.d.ts +0 -7
- package/dist/src/apps/library-editor/services/ResourceDataService.d.ts +0 -13
- package/dist/src/apps/library-editor/services/SeriesDataService.d.ts +0 -15
- package/dist/src/apps/library-editor/services/SubtitleDataService.d.ts +0 -11
- package/dist/src/apps/library-editor/services/TagDataService.d.ts +0 -9
- package/dist/src/apps/library-editor/services/VideoDataService.d.ts +0 -39
- package/dist/src/apps/library-editor/services/VideoDragDropService.d.ts +0 -26
- package/dist/src/apps/library-editor/services/index.d.ts +0 -15
- package/dist/src/apps/library-editor/utils/ChapterHelper.d.ts +0 -18
- package/dist/src/apps/library-editor/utils/EditVideoHelpers.d.ts +0 -93
- package/dist/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +0 -16
- package/dist/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +0 -34
- package/dist/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +0 -32
- package/dist/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +0 -28
- package/dist/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +0 -23
- package/dist/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +0 -29
- package/dist/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +0 -71
- package/dist/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +0 -50
- package/dist/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +0 -29
- package/dist/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +0 -30
- package/dist/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +0 -34
- package/dist/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +0 -92
- package/dist/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +0 -125
- package/dist/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +0 -35
- package/dist/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +0 -33
- package/dist/src/apps/library-editor/views/library/LibraryView.d.ts +0 -31
- package/dist/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +0 -44
- package/dist/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +0 -49
- package/dist/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +0 -44
- package/dist/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +0 -26
- package/dist/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +0 -10
- package/dist/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +0 -19
- package/dist/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +0 -39
- package/dist/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +0 -58
- package/dist/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +0 -33
- package/dist/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +0 -101
- package/dist/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +0 -44
- package/dist/src/apps/migration-wizard/MigrationWizardApplication.d.ts +0 -45
- package/dist/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +0 -6
- package/dist/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +0 -5
- package/dist/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +0 -18
- package/dist/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +0 -14
- package/dist/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +0 -22
- package/dist/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +0 -21
- package/dist/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +0 -30
- package/dist/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +0 -12
- package/dist/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +0 -8
- package/dist/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +0 -17
- package/dist/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +0 -25
- package/dist/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +0 -10
- package/dist/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +0 -30
- package/dist/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +0 -19
- package/dist/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +0 -20
- package/dist/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +0 -19
- package/dist/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +0 -9
- package/dist/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +0 -35
- package/dist/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +0 -28
- package/dist/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +0 -36
- package/dist/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +0 -16
- package/dist/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +0 -6
- package/dist/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +0 -8
- package/dist/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +0 -8
- package/dist/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +0 -8
- package/dist/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +0 -9
- package/dist/src/apps/migration-wizard/filters/MigrationFilters.d.ts +0 -8
- package/dist/src/apps/migration-wizard/models/BackupToolBuild.d.ts +0 -3
- package/dist/src/apps/migration-wizard/models/CustomerMetadata.d.ts +0 -9
- package/dist/src/apps/migration-wizard/models/FinalisationTask.d.ts +0 -3
- package/dist/src/apps/migration-wizard/models/HomeFolder.d.ts +0 -8
- package/dist/src/apps/migration-wizard/models/MigrationOptions.d.ts +0 -3
- package/dist/src/apps/migration-wizard/models/SelectedVideo.d.ts +0 -3
- package/dist/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +0 -4
- package/dist/src/apps/migration-wizard/models/VideoCount.d.ts +0 -3
- package/dist/src/apps/migration-wizard/services/FolderCacheService.d.ts +0 -22
- package/dist/src/apps/migration-wizard/services/LocalOptionsService.d.ts +0 -10
- package/dist/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +0 -56
- package/dist/src/apps/migration-wizard/services/SelectedVideoService.d.ts +0 -19
- package/dist/src/apps/migration-wizard/services/index.d.ts +0 -4
- package/dist/src/apps/migration-wizard/utils/FolderHelper.d.ts +0 -8
- package/dist/src/apps/migration-wizard/utils/VideoHelper.d.ts +0 -29
- package/dist/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +0 -28
- package/dist/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +0 -27
- package/dist/src/apps/migration-wizard/views/index.d.ts +0 -13
- package/dist/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +0 -39
- package/dist/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +0 -32
- package/dist/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +0 -30
- package/dist/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +0 -15
- package/dist/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +0 -18
- package/dist/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +0 -19
- package/dist/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +0 -23
- package/dist/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +0 -23
- package/dist/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +0 -19
- package/dist/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +0 -32
- package/dist/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +0 -32
- package/dist/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +0 -26
- package/dist/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +0 -58
- package/dist/src/apps/migration-wizard/views/start/StartView.d.ts +0 -40
- package/dist/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +0 -24
- package/dist/src/apps/notifications/NotificationsApplication.d.ts +0 -11
- package/dist/src/apps/notifications/constants/NotificationsAppVariables.d.ts +0 -7
- package/dist/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -10
- package/dist/src/apps/search/SearchApplication.d.ts +0 -16
- package/dist/src/apps/search/collections/FilterCollection.d.ts +0 -9
- package/dist/src/apps/search/collections/OptionCollection.d.ts +0 -5
- package/dist/src/apps/search/components/filters/FiltersComponent.d.ts +0 -27
- package/dist/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +0 -37
- package/dist/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +0 -19
- package/dist/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +0 -17
- package/dist/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +0 -24
- package/dist/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +0 -34
- package/dist/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +0 -15
- package/dist/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +0 -27
- package/dist/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +0 -19
- package/dist/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +0 -21
- package/dist/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +0 -23
- package/dist/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +0 -27
- package/dist/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +0 -19
- package/dist/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +0 -42
- package/dist/src/apps/search/components/results/SearchResultsComponent.d.ts +0 -22
- package/dist/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +0 -11
- package/dist/src/apps/search/models/Filter.d.ts +0 -8
- package/dist/src/apps/search/models/Option.d.ts +0 -4
- package/dist/src/apps/search/models/Query.d.ts +0 -3
- package/dist/src/apps/search/models/SearchAppVariables.d.ts +0 -4
- package/dist/src/apps/search/services/SearchDataService.d.ts +0 -12
- package/dist/src/apps/search/utils/SearchHelper.d.ts +0 -11
- package/dist/src/apps/search/views/search/SearchView.d.ts +0 -57
- package/dist/src/apps/staff-requests/StaffRequestsApplication.d.ts +0 -15
- package/dist/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +0 -5
- package/dist/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +0 -5
- package/dist/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +0 -42
- package/dist/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +0 -30
- package/dist/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +0 -29
- package/dist/src/apps/staff-requests/models/StaffRequest.d.ts +0 -14
- package/dist/src/apps/staff-requests/models/StaffRequestMessage.d.ts +0 -7
- package/dist/src/apps/staff-requests/services/StaffRequestDataService.d.ts +0 -14
- package/dist/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +0 -34
- package/dist/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +0 -34
- package/dist/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +0 -44
- package/dist/src/apps/upload/UploadApplication.d.ts +0 -23
- package/dist/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +0 -38
- package/dist/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +0 -10
- package/dist/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +0 -21
- package/dist/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +0 -35
- package/dist/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +0 -10
- package/dist/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +0 -46
- package/dist/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +0 -18
- package/dist/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +0 -7
- package/dist/src/apps/upload/services/ImageUploadDataService.d.ts +0 -8
- package/dist/src/apps/upload/services/PendingItemsService.d.ts +0 -7
- package/dist/src/apps/upload/services/VideoUploadDataService.d.ts +0 -17
- package/dist/src/apps/upload/services/VideoUploadService.d.ts +0 -8
- package/dist/src/apps/upload/views/file-select/FileSelectView.d.ts +0 -25
- package/dist/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +0 -18
- package/dist/src/apps/upload/views/upload-button/UploadButtonView.d.ts +0 -26
- package/dist/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +0 -14
- package/dist/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +0 -61
- package/dist/src/apps/video-access/VideoAccessApplication.d.ts +0 -12
- package/dist/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +0 -34
- package/dist/src/index.d.ts +0 -194
- package/dist/src/shared/alerts/VideoAlerts.d.ts +0 -8
- package/dist/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +0 -14
- package/dist/src/shared/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
- package/dist/src/shared/behaviors/file-drop/FileDropMaskBehavior.d.ts +0 -19
- package/dist/src/shared/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
- package/dist/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +0 -23
- package/dist/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +0 -31
- package/dist/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +0 -7
- package/dist/src/shared/behaviors/popup/PopupBehavior.d.ts +0 -65
- package/dist/src/shared/behaviors/stickit/StickitBehavior.d.ts +0 -6
- package/dist/src/shared/collections/ChannelCollection.d.ts +0 -6
- package/dist/src/shared/collections/ChapterCollection.d.ts +0 -7
- package/dist/src/shared/collections/DirectorCollection.d.ts +0 -6
- package/dist/src/shared/collections/DistributorCollection.d.ts +0 -6
- package/dist/src/shared/collections/FieldsCollection.d.ts +0 -5
- package/dist/src/shared/collections/FolderCollection.d.ts +0 -7
- package/dist/src/shared/collections/InteractivesCollection.d.ts +0 -6
- package/dist/src/shared/collections/LibraryCollection.d.ts +0 -7
- package/dist/src/shared/collections/LinkCollection.d.ts +0 -6
- package/dist/src/shared/collections/LocalCacheDeviceCollection.d.ts +0 -5
- package/dist/src/shared/collections/LocalCacheDownloadCollection.d.ts +0 -5
- package/dist/src/shared/collections/MetadataCollection.d.ts +0 -4
- package/dist/src/shared/collections/ProducerCollection.d.ts +0 -6
- package/dist/src/shared/collections/ProductionCompanyCollection.d.ts +0 -6
- package/dist/src/shared/collections/RatingCollection.d.ts +0 -4
- package/dist/src/shared/collections/ResourceCollection.d.ts +0 -6
- package/dist/src/shared/collections/RestrictedObjectCollection.d.ts +0 -5
- package/dist/src/shared/collections/RestrictionCollection.d.ts +0 -5
- package/dist/src/shared/collections/SeasonCollection.d.ts +0 -6
- package/dist/src/shared/collections/SettingsCollection.d.ts +0 -5
- package/dist/src/shared/collections/SubtitleCollection.d.ts +0 -6
- package/dist/src/shared/collections/TagCollection.d.ts +0 -6
- package/dist/src/shared/collections/VideoCollection.d.ts +0 -6
- package/dist/src/shared/collections/index.d.ts +0 -23
- package/dist/src/shared/components/alert/AlertComponentCollection.d.ts +0 -11
- package/dist/src/shared/components/alert/AlertItemComponent.d.ts +0 -44
- package/dist/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +0 -18
- package/dist/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +0 -26
- package/dist/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +0 -26
- package/dist/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +0 -27
- package/dist/src/shared/components/checkbox/CheckboxComponent.d.ts +0 -25
- package/dist/src/shared/components/clear-button/ClearButtonComponent.d.ts +0 -18
- package/dist/src/shared/components/date-picker/DatePickerComponent.d.ts +0 -47
- package/dist/src/shared/components/dialog/DialogView.d.ts +0 -22
- package/dist/src/shared/components/dropdown/DropdownButtonComponent.d.ts +0 -36
- package/dist/src/shared/components/dropdown/DropdownComponentCollection.d.ts +0 -38
- package/dist/src/shared/components/dropdown/DropdownItemComponent.d.ts +0 -57
- package/dist/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +0 -37
- package/dist/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +0 -32
- package/dist/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +0 -22
- package/dist/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +0 -24
- package/dist/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +0 -61
- package/dist/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +0 -33
- package/dist/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +0 -16
- package/dist/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +0 -17
- package/dist/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +0 -17
- package/dist/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +0 -40
- package/dist/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +0 -20
- package/dist/src/shared/components/fields/FieldsComponent.d.ts +0 -9
- package/dist/src/shared/components/image-cropper/ImageCropperComponent.d.ts +0 -34
- package/dist/src/shared/components/index.d.ts +0 -44
- package/dist/src/shared/components/left-nav/LeftNavComponent.d.ts +0 -30
- package/dist/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +0 -48
- package/dist/src/shared/components/page-footer/PageFooterComponent.d.ts +0 -15
- package/dist/src/shared/components/page-header/PageHeaderComponent.d.ts +0 -25
- package/dist/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +0 -16
- package/dist/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +0 -20
- package/dist/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +0 -23
- package/dist/src/shared/components/select/SelectComponent.d.ts +0 -54
- package/dist/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +0 -73
- package/dist/src/shared/components/tabs/TabsComponent.d.ts +0 -28
- package/dist/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +0 -29
- package/dist/src/shared/components/tree-dropdown/TreeDropdownComponent.d.ts +0 -32
- package/dist/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +0 -74
- package/dist/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +0 -33
- package/dist/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +0 -20
- package/dist/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +0 -31
- package/dist/src/shared/components/video-actions/VideoActionsComponent.d.ts +0 -41
- package/dist/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +0 -32
- package/dist/src/shared/components/video-description/VideoDescriptionComponent.d.ts +0 -33
- package/dist/src/shared/components/video-item/VideoItemComponent.d.ts +0 -56
- package/dist/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +0 -23
- package/dist/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +0 -25
- package/dist/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +0 -26
- package/dist/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +0 -22
- package/dist/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +0 -24
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +0 -21
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +0 -20
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +0 -24
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +0 -19
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +0 -22
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +0 -22
- package/dist/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +0 -26
- package/dist/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +0 -22
- package/dist/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +0 -37
- package/dist/src/shared/components/video-list/VideoListComponent.d.ts +0 -43
- package/dist/src/shared/components/video-preview/VideoPreviewComponent.d.ts +0 -30
- package/dist/src/shared/components/web-player/WebPlayerComponent.d.ts +0 -53
- package/dist/src/shared/constants/Services.d.ts +0 -61
- package/dist/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
- package/dist/src/shared/errors/authentication/AuthenticationError.d.ts +0 -7
- package/dist/src/shared/errors/customer-setting/CustomerSettingError.d.ts +0 -8
- package/dist/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +0 -8
- package/dist/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +0 -11
- package/dist/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +0 -6
- package/dist/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +0 -8
- package/dist/src/shared/errors/not-found/NotFoundError.d.ts +0 -5
- package/dist/src/shared/errors/old-version/OldVersionError.d.ts +0 -7
- package/dist/src/shared/errors/too-many-files/TooManyFilesError.d.ts +0 -6
- package/dist/src/shared/filters/BetaAccessFilter.d.ts +0 -3
- package/dist/src/shared/filters/CustomerSettingsFilter.d.ts +0 -8
- package/dist/src/shared/filters/RoleFilter.d.ts +0 -4
- package/dist/src/shared/filters/VerifiedEmailFilter.d.ts +0 -3
- package/dist/src/shared/index.d.ts +0 -14
- package/dist/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +0 -4
- package/dist/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +0 -20
- package/dist/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +0 -16
- package/dist/src/shared/interfaces/VideoCollectionIdentifier.d.ts +0 -4
- package/dist/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -47
- package/dist/src/shared/models/Avatar.d.ts +0 -3
- package/dist/src/shared/models/Banner.d.ts +0 -3
- package/dist/src/shared/models/Channel.d.ts +0 -3
- package/dist/src/shared/models/Chapter.d.ts +0 -3
- package/dist/src/shared/models/Company.d.ts +0 -3
- package/dist/src/shared/models/Config.d.ts +0 -3
- package/dist/src/shared/models/Customer.d.ts +0 -3
- package/dist/src/shared/models/Director.d.ts +0 -3
- package/dist/src/shared/models/DisabledSpinnerModel.d.ts +0 -5
- package/dist/src/shared/models/Distributor.d.ts +0 -3
- package/dist/src/shared/models/Folder.d.ts +0 -12
- package/dist/src/shared/models/Image.d.ts +0 -3
- package/dist/src/shared/models/Interactives.d.ts +0 -3
- package/dist/src/shared/models/LanguageConfig.d.ts +0 -7
- package/dist/src/shared/models/Library.d.ts +0 -10
- package/dist/src/shared/models/Link.d.ts +0 -3
- package/dist/src/shared/models/LocalCacheDevice.d.ts +0 -3
- package/dist/src/shared/models/LocalCacheDownload.d.ts +0 -3
- package/dist/src/shared/models/Logo.d.ts +0 -3
- package/dist/src/shared/models/Metadata.d.ts +0 -3
- package/dist/src/shared/models/Owner.d.ts +0 -3
- package/dist/src/shared/models/Person.d.ts +0 -3
- package/dist/src/shared/models/Phrases.d.ts +0 -3
- package/dist/src/shared/models/Playlist.d.ts +0 -3
- package/dist/src/shared/models/Producer.d.ts +0 -3
- package/dist/src/shared/models/ProductionCompany.d.ts +0 -3
- package/dist/src/shared/models/Rating.d.ts +0 -3
- package/dist/src/shared/models/Resource.d.ts +0 -3
- package/dist/src/shared/models/RestrictedObject.d.ts +0 -3
- package/dist/src/shared/models/Restriction.d.ts +0 -3
- package/dist/src/shared/models/Season.d.ts +0 -3
- package/dist/src/shared/models/Series.d.ts +0 -7
- package/dist/src/shared/models/Setting.d.ts +0 -3
- package/dist/src/shared/models/SharedResource.d.ts +0 -3
- package/dist/src/shared/models/Subtitle.d.ts +0 -3
- package/dist/src/shared/models/Tag.d.ts +0 -3
- package/dist/src/shared/models/Thumbnail.d.ts +0 -3
- package/dist/src/shared/models/User.d.ts +0 -10
- package/dist/src/shared/models/Video.d.ts +0 -29
- package/dist/src/shared/models/index.d.ts +0 -38
- package/dist/src/shared/services/AlertService.d.ts +0 -15
- package/dist/src/shared/services/ConfigDataService.d.ts +0 -23
- package/dist/src/shared/services/CustomerDataService.d.ts +0 -7
- package/dist/src/shared/services/DownloadProxyDataServices.d.ts +0 -7
- package/dist/src/shared/services/IntercomService.d.ts +0 -8
- package/dist/src/shared/services/LocalCacheDataService.d.ts +0 -11
- package/dist/src/shared/services/NavigationLockService.d.ts +0 -17
- package/dist/src/shared/services/PageTitleService.d.ts +0 -10
- package/dist/src/shared/services/PageVisibilityService.d.ts +0 -14
- package/dist/src/shared/services/PartialLoadingService.d.ts +0 -12
- package/dist/src/shared/services/RestrictedVideoDataService.d.ts +0 -13
- package/dist/src/shared/services/SettingsDataService.d.ts +0 -12
- package/dist/src/shared/services/UserDataService.d.ts +0 -20
- package/dist/src/shared/services/VideoMixinService.d.ts +0 -16
- package/dist/src/shared/services/index.d.ts +0 -14
- package/dist/src/shared/utils/BulkCheckboxHelper.d.ts +0 -18
- package/dist/src/shared/utils/CancelProcessingHelper.d.ts +0 -4
- package/dist/src/shared/utils/CollectionHelper.d.ts +0 -10
- package/dist/src/shared/utils/DialogHelper.d.ts +0 -9
- package/dist/src/shared/utils/FolderTreeHelpers.d.ts +0 -36
- package/dist/src/shared/utils/ImageHelper.d.ts +0 -31
- package/dist/src/shared/utils/LocalCacheHelper.d.ts +0 -7
- package/dist/src/shared/utils/PartialLoadingHelper.d.ts +0 -6
- package/dist/src/shared/utils/PermissionsHelper.d.ts +0 -13
- package/dist/src/shared/utils/RatingHelper.d.ts +0 -6
- package/dist/src/shared/utils/RestrictedAccessHelper.d.ts +0 -13
- package/dist/src/shared/utils/SortHelper.d.ts +0 -16
- package/dist/src/shared/utils/TabHelper.d.ts +0 -9
- package/dist/src/shared/utils/VideoHelper.d.ts +0 -11
- package/dist/src/shared/utils/search/RawSearchHelper.d.ts +0 -21
- package/dist/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +0 -28
- package/dist/src/shared/views/download-video/DownloadVideoView.d.ts +0 -19
- package/dist/src/shared/views/index.d.ts +0 -9
- package/dist/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +0 -7
- package/dist/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +0 -24
- package/dist/src/shared/views/restrict-access/RestrictAccessView.d.ts +0 -67
- package/dist/src/shared/views/share/ShareView.d.ts +0 -48
- package/dist/src/shared/views/top-navigation/TopNavigationView.d.ts +0 -35
- package/dist/src/shared/views/user-options/UserOptionsView.d.ts +0 -18
- /package/dist/{src/shared → libs/shared/src}/constants/CacheDurations.d.ts +0 -0
- /package/dist/{src/shared → libs/shared/src}/utils/DurationHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/collections/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/components/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/enums/PastReleaseFilterType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/enums/ReleaseDateType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/enums/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/models/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/services/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/utils/Constants.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/utils/PastReleasesHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/content-updates/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/dashboard/components/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/behaviors/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/behaviors/shared/DragOptions.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/behaviors/shared/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/CheckboxTypes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/EditVideoBackButtonBlacklist.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/EditVideoBackButtonKey.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/LibraryEditorActions.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/LibraryEditorRadioChannels.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/MetadataTypes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/constants/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/enums/MediaConcatenateStatus.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/enums/ObjectOwnerType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/enums/TagBehavior.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/enums/TagOrientation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/enums/VideoCollectionSource.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/enums/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/errors/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/models/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/AddToLibraryCacheHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/DownloadHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/FolderValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/LanguageValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/LibraryValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/UploadVideoValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/library-editor/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/collections/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/components/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/contants/MigrationErrorActions.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/contants/MigrationViewModels.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/CloudSyncStatus.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/FinalisationTaskStatus.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/FinalisationType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/LocalOption.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/MigrationOption.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/MigrationReportType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/SortField.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/ValidationResult.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/ValidationResultErrorType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/VideoMigrationStatus.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/enums/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/errors/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/filters/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/interfaces/SelectedVideos.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/models/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/utils/KeyContactHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/utils/MigrationErrorHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/utils/MigrationHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/utils/MigrationRadioChannels.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/utils/MigrationWarningsSvgs.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/migration-wizard/utils/ReportHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/notifications/constants/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/notifications/utils/Constants.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/notifications/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/collections/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/components/filters/filter-button-list/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/components/filters/filter-options/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/components/filters/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/constants/SearchRadioChannels.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/constants/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/models/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/services/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/Constants.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/Enums.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/FilterHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/FilterLabelGenerators.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/FilterQueryGenerators.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/FilterRouteQueryParamGenerators.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/search/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/collections/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/enums/StaffRequestStatus.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/enums/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/models/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/services/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/utils/StaffRequestApprovalValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/utils/StaffRequestRejectionValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/staff-requests/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/upload/components/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/upload/errors/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/apps/upload/services/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/alerts/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/behaviors/file-drop/FileDropHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/behaviors/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/partial-loading/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/typeahead-input/templates/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/utils/VideoItemBehaviors.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/utils/VideoItemComponentHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/utils/VideoItemComponentTypes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/utils/VideoItemComponents.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/video-item-actions/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/components/video-item/video-item-metadata/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/Actions.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/BootstrapKeys.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/DataPrefixes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/DataServiceErrors.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/EventNames.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/FolderTreeIds.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/FormattedCustomerSettingNames.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/ImageSizes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/ImageUrls.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/LayoutRegions.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/Layouts.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/LazyLoadBrowserSupport.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/MarketingSiteArticles.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/Misc.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/OnlineUrls.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/PartialLoadingComponents.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/RadioChannels.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/Search.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/SupportArticles.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/Webplayer.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/WithStatements.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/constants/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/CitationType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/CustomerRegions.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/EmptyStates.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/FileIdType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/ImageType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/MasterObjectTypes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/MasterType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/PartialLoading.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/RestrictedObjectType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/SchoolTypes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/Settings.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/SharedResourcePrivacy.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/SortTypes.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/StaffRequestOption.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/TimeType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/UploadInteractionType.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/UserRole.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/YearGroups.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/enums/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/errors/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/filters/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/interfaces/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/layouts/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/LazyLoadHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/RadioChannelHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/SettingsHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/SpinnerHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/SubtitleLanguageValidation.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/TextHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/TimeHelper.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/search/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/search/raw-search-components/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/shared/utils/search/raw-search-templates/index.d.ts +0 -0
- /package/dist/{src → projects/library-editor/src}/styles/index.d.ts +0 -0
- /package/dist/{typings → projects/library-editor/typings}/libs/LazyLoad.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[12],{687:function(e,n,t){"use strict";t.d(n,"a",(function(){return k}));var o=t(1),r=t(7),i=t(2),a=t(16),l=t(13),s=t(59),u=t(11),c=t(744),p=t.n(c),d=t(745),h=t.n(d);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 m(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function g(e,n){return(g=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function y(e){var n=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 t,o=v(e);if(n){var r=v(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return b(this,t)}}function b(e,n){return!n||"object"!==f(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var k=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&g(e,n)}(f,e);var n,t,c,d=y(f);function f(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,f),d.call(this,e)}return n=f,(t=[{key:"events",value:function(){return{submit:"onSubmit","click .remove":"onClickRemove"}}},{key:"initialize",value:function(){this.model||this.options.parentChannelName||i.a.ErrorHelper.throw(new a.a("Either pass a model or a channelName to access the typeahead selection")),this.model||(this.model=new i.a.Model),this.options.inputName||(this.options.inputName=this.options.inputId),this.bindListeners()}},{key:"bindListeners",value:function(){this.options.parentChannelName&&(this.parentChannel=r.Radio.channel(this.options.parentChannelName)),this.listenTo(this.channelName,"typeahead:set:input",this.setInput),this.listenTo(this.channelName,"typeahead:clear:input",this.clearInput)}},{key:"clearInput",value:function(){this.getUI("input").typeahead("val",null)}},{key:"setInput",value:function(e){this.getUI("input").typeahead("val",e)}},{key:"onTypeaheadSelect",value:function(e,n,t){var o;e.preventDefault(),o="string"==typeof n?n:n.title||n.name||n.query,this.model.set(this.options.stickItProperty,o),this.parentChannel&&this.options.selectEvent&&this.parentChannel.trigger(this.options.selectEvent,n),this.onSubmit(e),this.toggleRemove()}},{key:"onSubmit",value:function(e){var n=this;if(e.preventDefault(),!this.isDestroyed()&&this.getTypeaheadActionOptions().clearOnSelect)return this.getUI("input").typeahead("close"),setTimeout((function(){n.model.clear(),n.clearInput()}),0),!1}},{key:"onClickRemove",value:function(){this.model.clear(),this.parentChannel.trigger(this.options.removeEvent,this.model),this.toggleRemove()}},{key:"getSources",value:function(){return o.isArray(this.options.typeaheadConfigs)?s.a.getSearchSources(this.options.typeaheadConfigs):s.a.getSearchSources([this.options.typeaheadConfigs])}},{key:"getTypeaheadOptions",value:function(){var e={minLength:1,highlight:!0};return this.options.typeaheadOptions?o.extend({},e,this.options.typeaheadOptions):e}},{key:"getTypeaheadActionOptions",value:function(){var e={clearOnSelect:!1};return o.isObject(this.options.actionOptions)?o.extend({},e,this.options.actionOptions):e}},{key:"bindOptionalCallbacks",value:function(){o.isObject(this.options.callbacks)&&(o.isFunction(this.options.callbacks.onRender)&&this.getUI("input").on("typeahead:render",o.bind(this.options.callbacks.onRender,this)),o.isFunction(this.options.callbacks.onInput)&&this.listenTo(this.model,"change:".concat(this.options.stickItProperty),this.options.callbacks.onInput),o.isFunction(this.options.callbacks.onBlur)&&this.getUI("input").on("blur",o.bind(this.options.callbacks.onBlur,this,this.channelName,this.options.stickItProperty)))}},{key:"initTypeahead",value:function(){this.getUI("input").typeahead(this.getTypeaheadOptions(),this.getSources())}},{key:"initTypeaheadListeners",value:function(){this.getUI("input").on("typeahead:select",o.bind(this.onTypeaheadSelect,this)),this.bindOptionalCallbacks()}},{key:"toggleRemove",value:function(){this.shouldShowRemove()?this.$el.find(".remove").show():this.$el.find(".remove").hide()}},{key:"shouldShowRemove",value:function(){return!!this.options.editable&&(!!this.options.forceShowRemoveButton||this.options.removeEvent&&!!this.model.get(this.options.stickItProperty))}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:h.a},this.options),{showRemove:this.shouldShowRemove(),svgRemove:l.a.getSvg(l.b.Close)})}},{key:"onRender",value:function(){this.stickit(),this.initTypeahead(),this.initTypeaheadListeners(),r.Validation.bind(this),this.toggleRemove()}},{key:"onClose",value:function(){this.getUI("input").off(),this.unstickit(),r.Validation.unbind(this)}},{key:"name",get:function(){return"SearchTypeaheadComponent"}},{key:"template",get:function(){return p.a}},{key:"className",get:function(){return"search-container ".concat(h.a.typeaheadContainer," mb-2")}},{key:"channelName",get:function(){return u.k.generateUniqueChannelName(this)}},{key:"elements",get:function(){return{input:"#".concat(this.options.inputId)}}},{key:"defaults",get:function(){return{inputId:"search-typeahead",placeholderText:"Search",stickItProperty:"name",selectEvent:"select:result",additionalClasses:"",editable:!0}}},{key:"bindings",get:function(){var e,n,t,o="[name=".concat(this.options.inputName,"]");return e={},n=o,t={observe:this.options.stickItProperty,setOptions:{validate:!0}},n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}}])&&m(n.prototype,t),c&&m(n,c),f}(i.a.Component)},744:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},3:function(e,n,t,o,r){return"autofocus"},5:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<input\r\n name="'+l(a(null!=(i=null!=n?n.options:n)?i.inputName:i,n))+'"\r\n type="text"\r\n class="form-control '+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+" "+l(a(null!=(i=null!=n?n.options:n)?i.additionalClasses:i,n))+'"\r\n id="'+l(a(null!=(i=null!=n?n.options:n)?i.inputId:i,n))+'"\r\n autocomplete="off"\r\n placeholder="'+l(a(null!=(i=null!=n?n.options:n)?i.placeholderText:i,n))+'"\r\n '+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.autofocus:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n></input>\r\n<span class="svg-container mb-2 '+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.svg:i,n))+' remove" style="display: none;">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgRemove:i,n))?i:"")+"</span>"},useData:!0})},745:function(e,n,t){e.exports={svg:"_1iL3O",typeaheadContainer:"_1SWXc",disabled:"_3C2O8"}},789:function(e,n,t){"use strict";t.d(n,"a",(function(){return w}));var o=t(7),r=t(2),i=t(13),a=t(793),l=t(791),s=t(3),u=t(0),c=t(118),p=t(874),d=t.n(p),h=t(686),f=t.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 g(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function y(e,n){return(y=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function b(e){var n=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 t,o=k(e);if(n){var r=k(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return v(this,t)}}function v(e,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&y(e,n)}(h,e);var n,t,r,p=b(h);function h(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,h),p.call(this,e)}return n=h,(t=[{key:"events",value:function(){return{submit:function(e){return e.preventDefault()}}}},{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0},ratings:{el:".ratings-region",replaceElement:!0}}}},{key:"renderDescription",value:function(){this.showChildView("description",new l.a({name:"description",class:"form-control ".concat(!this.options.editable&&f.a.disabled),placeholder:this.options.editable?s.a.getPhrase(this.lang,"descriptionPlaceholder"):"",id:"edit-description",disabled:!this.options.editable}))}},{key:"renderRatings",value:function(){this.showChildView("ratings",new a.a({model:this.model.rating,collection:this.options.ratings,parentChannelName:this.options.channelName,editable:this.options.editable,videoId:this.model.get("id")}))}},{key:"viewOptions",value:function(){return{styles:f.a,requiredFields:this.options.requiredFields,videoTitlePlaceholder:this.options.editable?s.a.getPhrase(this.lang,"titlePlaceholder"):"",editable:this.options.editable,publisherArchiveSvg:i.a.getSvg(i.b.PublisherArchive),showPublisherVideoDetails:this.options.showPublisherVideoDetails,showingSaveButton:this.options.showingSaveButton}}},{key:"onRender",value:function(){this.renderDescription(),this.renderRatings(),this.stickit(),o.Validation.bind(this)}},{key:"onDestroy",value:function(){this.unstickit(),o.Validation.unbind(this)}},{key:"name",get:function(){return"EditBasicInfoComponent"}},{key:"tagName",get:function(){return"form"}},{key:"template",get:function(){return d.a}},{key:"lang",get:function(){return"shared.editBasicInfo"}},{key:"channelName",get:function(){return this.options.channelName}},{key:"className",get:function(){return"edit-basic-info"}},{key:"appLinks",get:function(){return{".suggest-title":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:c.e.VideoTitle}},".suggest-description":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:c.e.Description}},".applink-publisher-video":{application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SHOW_PUBLISHER_VIDEO,args:[this.model.get("id")]}}}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}},"[name=description]":{observe:"description",setOptions:{validate:!0}}}}}])&&g(n.prototype,t),r&&g(n,r),h}(r.a.Component)},791:function(e,n,t){"use strict";t.d(n,"a",(function(){return m}));var o=t(1),r=t(2),i=t(872),a=t.n(i),l=t(873),s=t.n(l);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,n){return(p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function d(e){var n=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 t,o=f(e);if(n){var r=f(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return h(this,t)}}function h(e,n){return!n||"object"!==u(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(l,e);var n,t,r,i=d(l);function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),i.call(this,e)}return n=l,(t=[{key:"events",value:function(){return{"input .event-selector":"onInput"}}},{key:"onInput",value:function(e){var n=e.target;n.style.height="inherit";var t=window.getComputedStyle(n),o=parseInt(t.getPropertyValue("border-top-width"),10)+parseInt(t.getPropertyValue("padding-top"),10)+n.scrollHeight+parseInt(t.getPropertyValue("padding-bottom"),10)+parseInt(t.getPropertyValue("border-bottom-width"),10);n.style.height=o+"px"}},{key:"viewOptions",value:function(){return o.extend({},this.options,{styles:s.a})}},{key:"name",get:function(){return"ResizingTextAreaComponent"}},{key:"template",get:function(){return a.a}}])&&c(n.prototype,t),r&&c(n,r),l}(r.a.Component)},792:function(e,n,t){"use strict";var o=t(1),r=t(7),i=t(2),a=t(59),l=t(173),s=t(687),u=t(197),c=t(0),p=t(23),d=t(13),h=t(877),f=t.n(h),m=t(878),g=t.n(m);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,n){return(v=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function k(e){var n=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 t,o=C(e);if(n){var r=C(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return w(this,t)}}function w(e,n){return!n||"object"!==y(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&v(e,n)}(a,e);var n,t,o,i=k(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return n=a,(t=[{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){r.Radio.channel(this.options.channelName).trigger("clear:date")}},{key:"onBeforeRender",value:function(){return!!this.options.shouldRender}},{key:"viewOptions",value:function(){return{styles:g.a,svgClear:d.a.getSvg(d.b.Close)}}},{key:"name",get:function(){return"ClearButtonComponent"}},{key:"className",get:function(){return"".concat(g.a.clearButton)}},{key:"template",get:function(){return f.a}}])&&b(n.prototype,t),o&&b(n,o),a}(i.a.Component),S=t(3),x=t(118),O=t(879),I=t.n(O),T=t(880),R=t.n(T),P=t(686),D=t.n(P);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 N(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function j(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function B(e,n){return(B=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function A(e){var n=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 t,o=V(e);if(n){var r=V(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return L(this,t)}}function L(e,n){return!n||"object"!==_(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function V(e){return(V=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var F=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&B(e,n)}(a,e);var n,t,r,i=A(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),i.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change:".concat(this.options.modelAttr),this.renderClearDateButton),this.listenTo(this.channelName,"clear:date",this.onClearDate)}},{key:"regions",value:function(){return{clearButton:{el:".clear-button-region"}}}},{key:"events",value:function(){return N({"keydown @ui.date":"onKeyDownDate"},"click .".concat(R.a.calendarSvg),"onClickCalendarIcon")}},{key:"getInstanceClassName",value:function(){return"datetimepicker-".concat(this.cid)}},{key:"initDatePicker",value:function(){this.getUI("date").datetimepicker({format:this.options.displayedTimeFormat,minDate:p().year(this.options.minYear),maxDate:p(),icons:{previous:R.a.previous,next:R.a.next}})}},{key:"getFormattedDisplayDate",value:function(e){if(e)return o.isFunction(this.options.formatDisplayDate)?this.options.formatDisplayDate(e):p.utc(e).local().format(this.options.displayedTimeFormat)}},{key:"getFormattedSavedDate",value:function(e){if(e)return o.isFunction(this.options.formatSavedDate)?this.options.formatSavedDate(e):this.options.savedTimeFormat?p.utc(e).format(this.options.savedTimeFormat):p.utc(e).format()}},{key:"onClickCalendarIcon",value:function(e){if(this.options.editable)return this.getUI("date").datetimepicker("toggle"),!0}},{key:"onClearDate",value:function(e){return!this.options.allowClearDate||(this.model.set(N({},"".concat(this.options.modelAttr),null)),!0)}},{key:"onKeyDownDate",value:function(e){this.options.allowTextInput||e.preventDefault()}},{key:"renderClearDateButton",value:function(){this.showChildView("clearButton",new E({channelName:this.channelName,shouldRender:this.options.allowClearDate&&!!this.model.get("dateBroadcast")}))}},{key:"viewOptions",value:function(){return{styles:o.extend(D.a,R.a),label:this.options.label,modelAttr:this.options.modelAttr,instanceClass:this.getInstanceClassName(),placeholderText:this.options.placeholderText,displayedTimeFormat:this.options.displayedTimeFormat,svgCalendar:d.a.getSvg(d.b.Calendar),svgClear:d.a.getSvg(d.b.Close),editable:this.options.editable}}},{key:"onRender",value:function(){this.initDatePicker(),this.renderClearDateButton()}},{key:"name",get:function(){return"DatePickerComponent"}},{key:"template",get:function(){return I.a}},{key:"lang",get:function(){return"shared.datePicker"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"elements",get:function(){return{date:"#".concat(this.options.modelAttr)}}},{key:"appLinks",get:function(){return{".suggest-broadcast-date":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.BroadcastDate}}}}},{key:"defaults",get:function(){return{placeholderText:S.a.getPhrase(this.lang,"placeholder"),allowTextInput:!1,allowClearDate:!0,minYear:1900,editable:!0}}},{key:"behaviors",get:function(){return[{behaviorClass:l.a},{behaviorClass:l.g}]}},{key:"bindings",get:function(){var e=this;return N({},"[name=".concat(this.options.modelAttr,"]"),{observe:this.options.modelAttr,setOptions:{validate:!0},onGet:function(n){return e.getFormattedDisplayDate(n)},onSet:function(n){return e.getFormattedSavedDate(n)}})}}])&&j(n.prototype,t),r&&j(n,r),a}(i.a.Component),M=t(6),U=t(179),Y=t(881),G=t.n(Y);function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function q(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function J(e,n){return(J=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function H(e){var n=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 t,o=K(e);if(n){var r=K(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return W(this,t)}}function W(e,n){return!n||"object"!==z(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function K(e){return(K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Z=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&J(e,n)}(i,e);var n,t,o,r=H(i);function i(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return n=i,(t=[{key:"regions",value:function(){return{dateBroadcast:{el:".date-broadcast-region",replaceElement:!0},channelSearch:{el:".channel-search-region",replaceElement:!0}}}},{key:"buildTypeaheadConfig",value:function(){return{name:c.v.ChannelRaw,typeaheadConfig:U.a.getTypeaheadConfig(),bloodhoundConfig:U.a.getBloodhoundConfig()}}},{key:"renderBroadcastDate",value:function(){this.showChildView("dateBroadcast",new F({model:this.model,label:S.a.getPhrase(this.lang,"broadcastDate"),modelAttr:"dateBroadcast",displayedTimeFormat:M.p.FULL_YEAR,placeholderText:this.options.editable?S.a.getPhrase(this.lang,"selectBroadcastDate"):"",allowClearDate:this.options.editable,editable:this.options.editable}))}},{key:"renderChannelTypeahead",value:function(){this.model.get("channel")||this.model.set("channel",new u.a),this.showChildView("channelSearch",new s.a({model:this.model.get("channel"),parentChannelName:this.options.channelName,inputId:"channel-search",selectEvent:"select:channel",placeholderText:this.options.editable?S.a.getPhrase(this.lang,"searchChannels"):"",typeaheadConfigs:this.buildTypeaheadConfig(),callbacks:{onInput:a.a.emitEventOnInput(this.options.channelName,x.d.DetectInput,"channel"),onBlur:a.a.resetAssociationOnBlur(this.model.get("channel").toJSON())},editable:this.options.editable,removeEvent:"remove:channel"}))}},{key:"viewOptions",value:function(){return{styles:D.a,editable:this.options.editable}}},{key:"onRender",value:function(){this.renderBroadcastDate(),this.renderChannelTypeahead()}},{key:"name",get:function(){return"EditBroadcastComponent"}},{key:"template",get:function(){return G.a}},{key:"lang",get:function(){return"shared.editBroadcast"}},{key:"className",get:function(){return"edit-broadcast"}},{key:"appLinks",get:function(){return{".suggest-channel":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.Channel}}}}}])&&q(n.prototype,t),o&&q(n,o),i}(i.a.Component),$=t(882),X=t.n($),Q=t(883),ee=t.n(Q);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 te(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function oe(e,n){return(oe=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function re(e){var n=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 t,o=ae(e);if(n){var r=ae(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return ie(this,t)}}function ie(e,n){return!n||"object"!==ne(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function ae(e){return(ae=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var le=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&oe(e,n)}(i,e);var n,t,o,r=re(i);function i(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return n=i,(t=[{key:"regions",value:function(){return{broadcast:{el:".broadcast-region",replaceElement:!0}}}},{key:"initialize",value:function(){this.listenTo(this.model,"change:hasBroadcast",this.render),this.initBroadcast()}},{key:"initBroadcast",value:function(){var e=this.model.get("channel"),n=this.model.get("dateBroadcast")||e&&e.get("id");this.model.set("hasBroadcast",!!n,{silent:!0})}},{key:"renderEditBroadcast",value:function(){this.model.get("hasBroadcast")||this.options.hideToggle?this.showChildView("broadcast",new Z({model:this.model,channelName:this.options.channelName,editable:this.options.editable})):this.getRegion("broadcast").empty()}},{key:"viewOptions",value:function(){return Object.assign({styles:ee.a},this.options)}},{key:"onRender",value:function(){this.renderEditBroadcast()}},{key:"name",get:function(){return"ToggleBroadcastComponent"}},{key:"template",get:function(){return X.a}},{key:"lang",get:function(){return"shared.toggleBroadcast"}},{key:"className",get:function(){return"toggle-broadcast"}},{key:"behaviors",get:function(){return this.options.hideToggle?[]:[{behaviorClass:l.a},{behaviorClass:l.g}]}},{key:"bindings",get:function(){return{"[name=toggleBroadcast]":{observe:"hasBroadcast"}}}}])&&te(n.prototype,t),o&&te(n,o),i}(i.a.Component),se=t(24),ue=t(158),ce=t(11),pe=t(660),de=t(884),he=t.n(de),fe=t(885),me=t.n(fe),ge=t(886),ye=t.n(ge);function be(e){return(be="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,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function ke(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e,n,t){return n&&ke(e.prototype,n),t&&ke(e,t),e}function Ce(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ee(e,n)}function Ee(e,n){return(Ee=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Se(e){var n=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 t,o=Oe(e);if(n){var r=Oe(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return xe(this,t)}}function xe(e,n){return!n||"object"!==be(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ie=function(e){Ce(t,e);var n=Se(t);function t(e){var o;return ve(this,t),(o=n.call(this,e)).showSpinner=!1,o.disableBtn=!0,o}return we(t,[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{button:{el:".button-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.onChange),this.listenTo(this.options.channelName,"create:season",this.onCreateSeason),this.listenTo(c.e.SERIES,"".concat(c.f.CREATE_SEASON,":").concat(this.options.seriesId,":sync"),this.onSync)}},{key:"onChange",value:function(){this.disableBtn=!this.model.isValid(),this.renderButton()}},{key:"onCreateSeason",value:function(){this.disableBtn||(this.model.validate(),this.model.isValid()&&(this.showSpinner=!0,this.renderButton(),this.model.set("number",parseInt(this.model.get("number"))),r.Radio.channel(this.options.channelName).trigger("select:season",this.model.toJSON())))}},{key:"onSync",value:function(){this.disableBtn=!0,this.showSpinner=!1,this.model.clear(),this.renderButton()}},{key:"viewOptions",value:function(){return{model:this.model,show:this.options.show}}},{key:"renderButton",value:function(){this.options.show&&this.showChildView("button",new ue.a({channelName:this.options.channelName,saveEvent:"create:season",extraButtonClass:"btn btn-primary",buttonText:"Create",buttonType:"submit",showSpinner:this.showSpinner,disabled:this.disableBtn,spinnerOptions:{size:ce.r.Small}}))}},{key:"onRender",value:function(){this.stickit(),this.renderButton()}},{key:"onClose",value:function(){this.unstickit()}},{key:"name",get:function(){return"CreateSeasonComponent"}},{key:"template",get:function(){return he.a}},{key:"className",get:function(){return"px-2"}},{key:"bindings",get:function(){return{"[name=number]":{observe:"number",setOptions:{validate:!0}}}}},{key:"behaviors",get:function(){return[{behaviorClass:l.g},{behaviorClass:l.a}]}}]),t}(i.a.Component),Te=function(e){Ce(t,e);var n=Se(t);function t(e){return ve(this,t),n.call(this,e)}return we(t,[{key:"initialize",value:function(){this.model.get("season.id")&&ce.c.setSelected(this.model.get("season.id"),this.collection),this.viewModel=se.a.get("".concat(this.name,":").concat(this.model.get("id"))),this.options.disabled||this.viewModel.addValidation(pe.f)}},{key:"events",value:function(){return{"click .dropdown-btn":"onToggleDropdown","click .dropdown-menu":"onClickPopover","click .create":"onClickCreateNewSeason","change .custom-select":"onSelectOption","click .remove":"onClickRemove"}}},{key:"regions",value:function(){return{create:{el:".create-region",replaceElement:!0}}}},{key:"onToggleDropdown",value:function(e){this.options.disabled?e.stopPropagation():this.renderCreate()}},{key:"onClickPopover",value:function(e){e.stopPropagation()}},{key:"onClickCreateNewSeason",value:function(e){e.preventDefault(),this.showCreateForm=!0,this.renderCreate()}},{key:"onSelectOption",value:function(e){var n=e.target.value,t="-1"===n?null:this.collection.findWhere({number:+n}).toJSON();this.setButtonText(n),r.Radio.channel(this.options.channelName).trigger("select:season",t),this.showCreateForm=!1,this.render()}},{key:"onClickRemove",value:function(e){e.stopPropagation(),r.Radio.channel(this.options.channelName).trigger("select:season",null),this.showCreateForm=!1,this.render()}},{key:"setButtonText",value:function(e){if(this.options.isSuggestEdit){var n=e&&"-1"!==e?S.a.getPhrase(this.lang,"season",{number:e}):"";this.getUI("dropdownBtn").text(n)}else{var t=e&&"-1"!==e?"season":"placeholder";this.getUI("dropdownBtn").text(S.a.getPhrase(this.lang,t,{number:e}))}}},{key:"renderCreate",value:function(){this.showChildView("create",new Ie({model:this.viewModel,channelName:this.options.channelName,show:this.showCreateForm,seriesId:this.model.get("series.id")}))}},{key:"viewOptions",value:function(){return{styles:ye.a,disabled:this.options.disabled,seasons:this.collection.toJSON(),svgRemove:d.a.getSvg(d.b.Close),showRemoveIcon:!!this.model.get("season.id")&&!this.options.isSuggestEdit}}},{key:"onRender",value:function(){this.renderCreate(),this.setButtonText(this.model.get("season.number"))}},{key:"name",get:function(){return"EditSeasonInfoComponent"}},{key:"template",get:function(){return me.a}},{key:"className",get:function(){return ye.a.seasonContainer}},{key:"lang",get:function(){return"shared.editSeasonInfo"}},{key:"elements",get:function(){return{dropdownBtn:".dropdown-btn"}}}]),t}(i.a.Component),Re=t(184),Pe=t(887),De=t.n(Pe),_e=t(888),Ne=t.n(_e);function je(e){return(je="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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ae(e,n){return(Ae=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Le(e){var n=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 t,o=Fe(e);if(n){var r=Fe(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return Ve(this,t)}}function Ve(e,n){return!n||"object"!==je(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Fe(e){return(Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.d(n,"a",(function(){return Me}));var Me=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ae(e,n)}(d,e);var n,t,u,p=Le(d);function d(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return n=d,(t=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"select:season",this.onSelectSeason),this.listenTo(this.options.channelName,"clear:series",this.onSeriesChange),this.listenTo(this.model,"change:series",this.onSeriesChange),this.lockSeasonAndEpisode=!this.options.editable||!this.model.get("series.id")}},{key:"events",value:function(){return{submit:function(e){return e.preventDefault()}}}},{key:"regions",value:function(){return{series:{el:".edit-series-region",replaceElement:!0},season:{el:".edit-season-region",replaceElement:!0},broadcast:{el:".edit-broadcast-region",replaceElement:!0}}}},{key:"onSelectSeason",value:function(e){e&&this.getUI("episodeNumberField").focus(),r.Radio.channel(this.options.channelName).trigger("add:season",e)}},{key:"onSeriesChange",value:function(e){this.lockSeasonAndEpisode=!e||!e.get("id"),this.renderEditSeason();var n=this.getUI("episodeNumberField");this.lockSeasonAndEpisode?(n.attr("disabled","disabled"),n.attr("class","form-control ".concat(Ne.a.disabled))):(n.removeAttr("disabled"),n.attr("class","form-control"))}},{key:"getLibraryIds",value:function(e){return e&&e.map((function(e){return e.id})).join(",")}},{key:"getTypeaheadConfigs",value:function(){var e=ce.m.getTypeaheadConfig(),n=ce.m.getBloodhoundConfig(),t={newType:c.v.Series},o={newType:c.v.Series,footerTemplate:a.a.getConfirmSelectionTemplate()};return[{name:c.v.Series,typeaheadConfig:e,bloodhoundConfig:n,options:{hideEmptyResults:!0}},{name:"add-new",typeaheadConfig:e,bloodhoundConfig:n,options:t},{name:"empty-suggestion",typeaheadConfig:e,bloodhoundConfig:n,options:o}]}},{key:"renderSeriesTypeahead",value:function(){var e=this.model.series||new i.a.Model;this.showChildView("series",new s.a({model:e,editable:this.options.editable,parentChannelName:this.options.channelName,inputId:"series-search",selectEvent:"select:series",placeholderText:this.options.editable?S.a.getPhrase(this.lang,"searchSeries"):"",typeaheadConfigs:this.getTypeaheadConfigs(),typeaheadOptions:{hint:!1},callbacks:{onRender:a.a.selectFirstResult,onInput:a.a.emitEventOnInput(this.options.channelName,x.d.DetectInput,"series"),onBlur:a.a.resetAssociationOnBlur(e.toJSON())},removeEvent:"remove:series"}))}},{key:"renderEditSeason",value:function(){var e=this,n=this.model.get("series.seasons")||new Re.a,t=new Re.a(n.map((function(n){return n.set("displayName",S.a.getPhrase(e.lang,"seasonNumber",{number:n.get("number")}))})));this.showChildView("season",new Te({model:this.model,collection:t,channelName:this.options.channelName,disabled:!this.options.editable||this.lockSeasonAndEpisode,isSuggestEdit:!this.options.editable}))}},{key:"renderEditBroadcast",value:function(){this.showChildView("broadcast",new le({model:this.model,channelName:this.options.channelName,hideToggle:!0,editable:this.options.editable}))}},{key:"viewOptions",value:function(){return{styles:o.extend({},D.a,Ne.a),editable:this.options.editable,lockEpisodeNumber:this.lockSeasonAndEpisode,episodeNumberPlaceholderText:this.options.editable?S.a.getPhrase(this.lang,"epNumberPlaceholder"):""}}},{key:"onRender",value:function(e){this.stickit(),r.Validation.bind(this),this.renderSeriesTypeahead(),this.renderEditSeason(),this.renderEditBroadcast()}},{key:"onClose",value:function(){this.unstickit(),r.Validation.unbind(this)}},{key:"name",get:function(){return"EditAdditionalInfoComponent"}},{key:"tagName",get:function(){return"form"}},{key:"lang",get:function(){return"shared.editAdditionalInfo"}},{key:"template",get:function(){return De.a}},{key:"className",get:function(){return"edit-additional-info border-top pt-3"}},{key:"elements",get:function(){return{episodeNumberField:".episode-number",seriesTypeahead:".tt-input"}}},{key:"appLinks",get:function(){return{".suggest-series-title":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.SeriesTitle}},".suggest-season-number":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.Season}},".suggest-episode-number":{application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")],params:{metadata:x.e.EpisodeNumber}}}}},{key:"behaviors",get:function(){return[{behaviorClass:l.g},{behaviorClass:l.a}]}},{key:"bindings",get:function(){return{"[name=episodeNumber]":{observe:"episodeNumber",setOptions:{validate:!0},onSet:function(e){return+e}}}}}])&&Be(n.prototype,t),u&&Be(n,u),d}(i.a.Component)},795:function(e,n,t){"use strict";var o=t(1),r=t(7),i=t(2),a=t(13),l=t(59),s=t(173),u=t(0),c=t(3),p=t(687),d=t(118),h=t(875),f=t.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 g(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function y(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function b(e,n,t){return n&&y(e.prototype,n),t&&y(e,t),e}function v(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&k(e,n)}function k(e,n){return(k=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function w(e){var n=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 t,o=E(e);if(n){var r=E(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return C(this,t)}}function C(e,n){return!n||"object"!==m(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function E(e){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){v(t,e);var n=w(t);function t(e){return g(this,t),n.call(this,e)}return b(t,[{key:"name",get:function(){return"TypeaheadListComponentCollection"}},{key:"childViewOptions",get:function(){return Object.assign({},this.options)}},{key:"childView",get:function(){return x}}]),t}(i.a.ComponentCollection),x=function(e){v(t,e);var n=w(t);function t(e){return g(this,t),n.call(this,e)}return b(t,[{key:"regions",value:function(){return{typeahead:{el:".typeahead-region",replaceElement:!1}}}},{key:"renderTypeahead",value:function(){this.showChildView("typeahead",new p.a({model:this.model,parentChannelName:this.options.channelName,inputId:this.options.inputId,selectEvent:this.options.selectEvent,typeaheadConfigs:this.options.typeaheadConfig,placeholderText:this.options.editable?this.options.placeholderText:"",callbacks:{onRender:l.a.selectFirstResult,onInput:l.a.emitEventOnInput(this.options.channelName,d.d.DetectInput,this.options.modelType,{isCollection:!0})},editable:this.options.editable,actionOptions:{clearOnSelect:!0},removeEvent:this.options.removeEvent,forceShowRemoveButton:this.collection.length>1||!!this.model.get("name")}))}},{key:"viewOptions",value:function(){return{id:this.modelId}}},{key:"onRender",value:function(){this.renderTypeahead()}},{key:"name",get:function(){return"TypeaheadListComponent"}},{key:"template",get:function(){return f.a}},{key:"modelId",get:function(){return this.model.get("id")||"new-model"}},{key:"bindings",get:function(){return e={},n="[name=".concat(this.modelId,"]"),t={observe:"name",setOptions:{validate:!0}},n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}}]),t}(i.a.Component),O=t(179),I=t(6),T=t(312),R=t(313),P=t(311),D=t(310),_=t(876),N=t.n(_),j=t(686),B=t.n(j);function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function L(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function V(e,n){return(V=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function F(e){var n=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 t,o=U(e);if(n){var r=U(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return M(this,t)}}function M(e,n){return!n||"object"!==A(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.d(n,"a",(function(){return Y}));var Y=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&V(e,n)}(h,e);var n,t,i,p=F(h);function h(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,h),p.call(this,e)}return n=h,(t=[{key:"initialize",value:function(){var e=this.options.channelName;this.listenTo(e,"select:distributor",this.onSelectDistributor),this.listenTo(e,"select:production:company",this.onSelectProductionCompany),this.listenTo(e,"select:director",this.onSelectDirector),this.listenTo(e,"select:producer",this.onSelectProducer),this.listenTo(e,"remove:distributor",this.onRemoveDistributor),this.listenTo(e,"remove:production:company",this.onRemoveProductionCompany),this.listenTo(e,"remove:director",this.onRemoveDirector),this.listenTo(e,"remove:producer",this.onRemoveProducer)}},{key:"events",value:function(){return{submit:function(e){return e.preventDefault()},"click .new-producer":"onClickAddNewProducer","click .new-director":"onClickAddNewDirector","click .new-distributor":"onClickAddNewDistributor","click .new-production-company":"onClickAddNewProductionCompany"}}},{key:"regions",value:function(){return{distributors:{el:".distributor-region",replaceElement:!0},productionCompanies:{el:".production-company-region",replaceElement:!0},directors:{el:".directors-region",replaceElement:!0},producers:{el:".producers-region",replaceElement:!0}}}},{key:"onClickAddNewProducer",value:function(){this.expandPersonList(I.a.Producer)}},{key:"onClickAddNewDirector",value:function(){this.expandPersonList(I.a.Director)}},{key:"onClickAddNewDistributor",value:function(){this.expandPersonList(I.a.Distributor)}},{key:"onClickAddNewProductionCompany",value:function(){this.expandPersonList(I.a.ProductionCompany)}},{key:"expandPersonList",value:function(e){var n=this.model.get(e);5!==n.length&&n.add({}),this.render()}},{key:"onSelectDistributor",value:function(e){this.onSelect(e,I.a.Distributor)}},{key:"onSelectProductionCompany",value:function(e){this.onSelect(e,I.a.ProductionCompany)}},{key:"onSelectDirector",value:function(e){this.onSelect(e,I.a.Director)}},{key:"onSelectProducer",value:function(e){this.onSelect(e,I.a.Producer)}},{key:"onSelect",value:function(e,n){r.Radio.channel(this.options.channelName).trigger("add:".concat(n),e),this.render()}},{key:"onRemoveDistributor",value:function(e){this.onRemove(e,I.a.Distributor)}},{key:"onRemoveProductionCompany",value:function(e){this.onRemove(e,I.a.ProductionCompany)}},{key:"onRemoveDirector",value:function(e){this.onRemove(e,I.a.Director)}},{key:"onRemoveProducer",value:function(e){this.onRemove(e,I.a.Producer)}},{key:"onRemove",value:function(e,n){this.model.get(n).remove(e),r.Radio.channel(this.options.channelName).trigger("remove:".concat(n),e),this.render()}},{key:"buildTypeaheadConfig",value:function(e){var n=O.a.getTypeaheadConfig(),t=O.a.getBloodhoundConfig();return[{name:e,typeaheadConfig:n,bloodhoundConfig:t,options:{hideEmptyResults:!0}},{name:"add-new",typeaheadConfig:n,bloodhoundConfig:t,options:{newType:e}},{name:"empty-suggestion",typeaheadConfig:n,bloodhoundConfig:t,options:{newType:e,footerTemplate:l.a.getConfirmSelectionTemplate()}}]}},{key:"allowAdditional",value:function(e){return!!this.options.editable&&this.model.get(e)&&5!==this.model.get(e).length}},{key:"renderDistributors",value:function(){this.showChildView("distributors",new S({collection:this.model.get("distributors"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.Distributors),removeEvent:"remove:distributor",selectEvent:"select:distributor",inputId:"distributor-search",editable:this.options.editable,placeholderText:"Search content distributors",modelType:"distributors"}))}},{key:"renderProductionCompanies",value:function(){this.showChildView("productionCompanies",new S({collection:this.model.get("productionCompanies"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.ProductionCompanies),removeEvent:"remove:production:company",selectEvent:"select:production:company",inputId:"production-company-search",editable:this.options.editable,placeholderText:"Search content production companies",modelType:"productionCompanies"}))}},{key:"renderDirectors",value:function(){this.showChildView("directors",new S({collection:this.model.get("directors"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.Directors),removeEvent:"remove:director",selectEvent:"select:director",inputId:"director-search",editable:this.options.editable,placeholderText:"Search content directors",modelType:"directors"}))}},{key:"renderProducers",value:function(){this.showChildView("producers",new S({collection:this.model.get("producers"),channelName:this.options.channelName,typeaheadConfig:this.buildTypeaheadConfig(u.v.Producers),removeEvent:"remove:producer",selectEvent:"select:producer",inputId:"producer-search",editable:this.options.editable,placeholderText:"Search content producers",modelType:"producers"}))}},{key:"onBeforeRender",value:function(){this.model.get("distributors")||this.model.set("distributors",new T.a([{}])),this.model.get("productionCompanies")||this.model.set("productionCompanies",new P.a([{}])),this.model.get("directors")||this.model.set("directors",new D.a([{}])),this.model.get("producers")||this.model.set("producers",new R.a([{}])),this.model.get("distributors").length||this.model.get("distributors").add({}),this.model.get("productionCompanies").length||this.model.get("productionCompanies").add({}),this.model.get("directors").length||this.model.get("directors").add({}),this.model.get("producers").length||this.model.get("producers").add({})}},{key:"viewOptions",value:function(){return{styles:B.a,editable:this.options.editable,productionYearPlaceholderText:this.options.editable?c.a.getPhrase(this.lang,"productionYearPlaceholder"):"",allowAdditionalDirector:this.allowAdditional(I.a.Director),allowAdditionalProducer:this.allowAdditional(I.a.Producer),allowAdditionalDistributor:this.allowAdditional(I.a.Distributor),allowAdditionalProductionCompany:this.allowAdditional(I.a.ProductionCompany),infoSvg:a.a.getSvg(a.b.Info)}}},{key:"onRender",value:function(){this.renderDistributors(),this.renderProductionCompanies(),this.renderDirectors(),this.renderProducers(),this.getUI("tooltips").tooltip()}},{key:"onBeforeDestroy",value:function(){this.getUI("tooltips").tooltip("dispose")}},{key:"name",get:function(){return"EditProductionInfoComponent"}},{key:"tagName",get:function(){return"form"}},{key:"template",get:function(){return N.a}},{key:"lang",get:function(){return"shared.editProductionInfo"}},{key:"className",get:function(){return"edit-production-info border-top pt-3"}},{key:"elements",get:function(){return{tooltips:".info-tooltip"}}},{key:"bindings",get:function(){return{"[name=productionYear]":{observe:"productionYear",setOptions:{validate:!0},onSet:function(e){return e}}}}},{key:"behaviors",get:function(){return[{behaviorClass:s.a},{behaviorClass:s.g}]}},{key:"appLinks",get:function(){var e={application:u.b.LIBRARY_EDITOR,action:u.a.LibraryEditor.SUGGEST_AN_EDIT,args:[this.model.get("id")]};return{".suggest-production-year":o.extend({},e,{params:{metadata:d.e.ProductionYear}}),".suggest-distributors":o.extend({},e,{params:{metadata:d.e.Distributors}}),".suggest-production-companies":o.extend({},e,{params:{metadata:d.e.ProductionCompanies}}),".suggest-directors":o.extend({},e,{params:{metadata:d.e.Directors}}),".suggest-producers":o.extend({},e,{params:{metadata:d.e.Producers}})}}}])&&L(n.prototype,t),i&&L(n,i),h}(i.a.Component)},872:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){return"required"},3:function(e,n,t,o,r){return"readonly"},5:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<textarea\r\n name="'+l(a(null!=(i=null!=n?n.options:n)?i.name:i,n))+'"\r\n id="'+l(a(null!=(i=null!=n?n.options:n)?i.id:i,n))+'"\r\n autocomplete="false"\r\n class="'+l(a(null!=(i=null!=n?n.options:n)?i.class:i,n))+" event-selector "+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.resizingTextarea:i,n))+'"\r\n placeholder="'+l(a(null!=(i=null!=n?n.options:n)?i.placeholder:i,n))+'"\r\n '+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.required:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.readonly:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.disabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n></textarea>"},useData:!0})},873:function(e,n,t){e.exports={resizingTextarea:"qKxbV"}},874:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){return"d-inline-block"},3:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.lambda,s=e.escapeExpression;return" "+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showingSaveButton:i,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <a class="'+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.showingSaveButton:i,{name:"unless",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+'cursor-pointer applink-publisher-video">\r\n <span class="d-inline-block align-middle '+s(l(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.icon:i,n))+'">'+(null!=(i=l(null!=(i=null!=n?n.options:n)?i.publisherArchiveSvg:i,n))?i:"")+"</span> "+s((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"viewInPublisherArchive",{name:"lang",hash:{},data:r}))+"\r\n </a>\r\n"},4:function(e,n,t,o,r){return"-"},6:function(e,n,t,o,r){return"float-right "},8:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.programTitle:i,n))},10:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return'<span class="'+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.requiredStar:i,n))+'">*</span>'},12:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-title">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},14:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},16:function(e,n,t,o,r){return"disabled"},18:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.description:i,n))},20:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-description">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="position-relative '+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showingSaveButton:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <h5 class="d-inline-block">'+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:r}))+"</h5>\r\n\r\n"+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showPublisherVideoDetails:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n<div class="form-group '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-title">'+s((t.lang||n&&n.lang||l).call(a,"title",{name:"lang",hash:{},data:r}))+(null!=(i=t.if.call(a,null!=(i=null!=(i=null!=n?n.options:n)?i.requiredFields:i)?i.programTitle:i,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r}))?i:"")+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <input\r\n name="name"\r\n type="text"\r\n class="form-control '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n placeholder="'+s((t.lang||n&&n.lang||l).call(a,"titlePlaceholder",{name:"lang",hash:{},data:r}))+'"\r\n id="edit-title"\r\n autocomplete="off"\r\n '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(16,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <div class="form-feedback"></div>\r\n</div>\r\n<div class="form-group '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(18,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-description">'+s((t.lang||n&&n.lang||l).call(a,"description",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(20,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="description-region"></div>\r\n <div class="form-feedback"></div>\r\n</div>\r\n<div class="ratings-region"></div>'},useData:!0})},875:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return'<div class="typeahead-region '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.typeahead:i,n))+'"></div>'},useData:!0})},876:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.productionYear:i,n))},3:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-production-year">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},5:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},7:function(e,n,t,o,r){return"disabled"},9:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.productionCompanies:i,n))},11:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-production-companies">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},13:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-production-company">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newProductionCompany",{name:"lang",hash:{},data:r}))+"</p>\r\n"},15:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.distributors:i,n))},17:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-distributors">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},19:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-distributor">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newDistributor",{name:"lang",hash:{},data:r}))+"</p>\r\n"},21:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.producers:i,n))},23:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-producers">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},25:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-producer">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newProducer",{name:"lang",hash:{},data:r}))+"</p>\r\n"},27:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.directors:i,n))},29:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-directors">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},31:function(e,n,t,o,r){e.propertyIsEnumerable;return' <p class="info-link pb-0 new-director">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"newDirector",{name:"lang",hash:{},data:r}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,u=e.lambda;return"<h5>"+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:r}))+'</h5>\r\n\r\n<div class="container-fluid p-0">\r\n <div class="row">\r\n <div class="form-group col-4 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-production-year">'+s((t.lang||n&&n.lang||l).call(a,"productionYear",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <input\r\n name="productionYear"\r\n type="number"\r\n class="form-control '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="edit-production-year"\r\n placeholder="'+s(u(null!=(i=null!=n?n.options:n)?i.productionYearPlaceholderText:i,n))+'"\r\n autocomplete="off"\r\n '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <div class="form-feedback"></div>\r\n </div>\r\n </div>\r\n\r\n <div class="row">\r\n <div class="form-group col-6 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="production-company-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"productionCompanies",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip" \r\n title="'+s((t.lang||n&&n.lang||l).call(a,"productionCompanyInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="production-company-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalProductionCompany:i,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n\r\n <div class="form-group col-6 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="distributor-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"distributors",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip"\r\n title="'+s((t.lang||n&&n.lang||l).call(a,"distributorInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(17,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="distributor-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalDistributor:i,{name:"if",hash:{},fn:e.program(19,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n </div>\r\n\r\n <div class="row">\r\n <div class="form-group col-6 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(21,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="producer-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"producers",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip"\r\n title="'+s((t.lang||n&&n.lang||l).call(a,"producerInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(23,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="producers-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalProducer:i,{name:"if",hash:{},fn:e.program(25,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n\r\n <div class="form-group col-6 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(27,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="director-search">\r\n '+s((t.lang||n&&n.lang||l).call(a,"directors",{name:"lang",hash:{},data:r}))+'\r\n <span class="'+s(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.infoSvgContainer:i,n))+' info-tooltip"\r\n title="'+s((t.lang||n&&n.lang||l).call(a,"directorInfo",{name:"lang",hash:{},data:r}))+'"\r\n >'+(null!=(i=u(null!=(i=null!=n?n.options:n)?i.infoSvg:i,n))?i:"")+"</span>\r\n </label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(29,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="directors-region"></div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.allowAdditionalDirector:i,{name:"if",hash:{},fn:e.program(31,r,0),inverse:e.noop,data:r}))?i:"")+" </div>\r\n </div>\r\n</div>"},useData:!0})},877:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<span class="svg-container '+e.escapeExpression(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.clearSvg:i,n))+' clear-button">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgClear:i,n))?i:"")+"</span>"},useData:!0})},878:function(e,n,t){e.exports={clearSvg:"_2-D4Z"}},879:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <label for="'+l(a(null!=(i=null!=n?n.options:n)?i.modelAttr:i,n))+'">'+l(a(null!=(i=null!=n?n.options:n)?i.label:i,n))+"</label>\r\n "+(null!=(i=t.unless.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"},2:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-broadcast-date">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},4:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},6:function(e,n,t,o,r){return"disabled"},8:function(e,n,t,o,r){return"cursor-pointer"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="'+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.datePicker:i,n))+" "+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.broadcastDate:i,n))+'">\r\n'+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.label:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' <input\r\n name="'+l(a(null!=(i=null!=n?n.options:n)?i.modelAttr:i,n))+'"\r\n class="form-control datetimepicker-input '+l(a(null!=(i=null!=n?n.options:n)?i.instanceClass:i,n))+" "+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="'+l(a(null!=(i=null!=n?n.options:n)?i.modelAttr:i,n))+'"\r\n placeholder="'+l(a(null!=(i=null!=n?n.options:n)?i.placeholderText:i,n))+'"\r\n data-toggle="datetimepicker"\r\n data-target=".'+l(a(null!=(i=null!=n?n.options:n)?i.instanceClass:i,n))+'"\r\n autocomplete="off"\r\n '+(null!=(i=t.unless.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n />\r\n <span class="clear-button-region clear-svg"></span>\r\n <span class="svg-container '+l(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.calendarSvg:i,n))+" "+(null!=(i=t.if.call(s,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.program(4,r,0),data:r}))?i:"")+'">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgCalendar:i,n))?i:"")+'</span>\r\n <div class="form-feedback"></div>\r\n</div>'},useData:!0})},880:function(e,n,t){e.exports={next:"_1sAku",previous:"_3zc5V",datePicker:"_1j_H7",calendarSvg:"_3ViTN",disabled:"DzdxT"}},881:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-channel">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression,l=null!=n?n:e.nullContext||{};return'<div class="container-fluid">\r\n <div class="row">\r\n <div class="form-group col-6 px-0">\r\n <div class="date-broadcast-region"></div>\r\n </div>\r\n <div class="form-group col-6 pr-0 '+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.channel:i,n))+'">\r\n <label for="channel-search">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(l,"channel",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(l,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="channel-search-region"></div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},882:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{};return'<div class="form-group"> \r\n <div class="custom-control custom-checkbox">\r\n <input\r\n name="toggleBroadcast"\r\n type="checkbox"\r\n class="custom-control-input '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="toggle-broadcast"\r\n '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <label class="custom-control-label" for="toggle-broadcast">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"tv",{name:"lang",hash:{},data:r}))+"</label>\r\n </div>\r\n</div>\r\n"},2:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},4:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return(null!=(i=t.unless.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.hideToggle:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="broadcast-region"></div>\r\n'},useData:!0})},883:function(e,n,t){e.exports={disabled:"_3TIct"}},884:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){return'<div class="">\r\n <button class="btn btn-light create w-100">+ Create a season</button>\r\n</div>\r\n'},3:function(e,n,t,o,r){return'<div class="form-group mb-2">\r\n <input type="number" class="form-control" name="number" min="1" placeholder="Season number">\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return(null!=(i=t.unless.call(null!=n?n:e.nullContext||{},null!=(i=null!=n?n.options:n)?i.show:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r}))?i:"")+'<div class="text-right">\r\n <div class="button-region"></div>\r\n</div>'},useData:!0})},885:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},3:function(e,n,t,o,r){return"selected"},5:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return' <option value="'+l(a(null!=n?n.number:n,n))+'" '+(null!=(i=t.if.call(null!=n?n:e.nullContext||{},null!=n?n.selected:n,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+">"+l(a(null!=n?n.displayName:n,n))+"</option>\r\n"},7:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<span class="svg-container mb-2 '+e.escapeExpression(a(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.svg:i,n))+' remove">'+(null!=(i=a(null!=(i=null!=n?n.options:n)?i.svgRemove:i,n))?i:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{};return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="cursor-pointer w-100 dropdown-btn btn btn-link '+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.button:i,n))+" "+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n></div>\r\n<div class="dropdown-menu dropdown-menu-right dropdown-arrow w-100">\r\n <div class="text-center px-2">\r\n <select name="season" class="custom-select">\r\n <option value="-1" '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.hasSelected:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+">Select a season</option>\r\n"+(null!=(i=t.each.call(a,null!=(i=null!=n?n.options:n)?i.seasons:i,{name:"each",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+' </select>\r\n <div class="form-feedback"></div>\r\n </div>\r\n\r\n <div class="dropdown-divider"></div>\r\n\r\n <div class="create-region"></div>\r\n</div>\r\n'+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.showRemoveIcon:i,{name:"if",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})},886:function(e,n,t){e.exports={button:"_39NvM",svg:"_2Tl0W",disabled:"_2julA",seasonContainer:"_SpZq"}},887:function(e,n,t){var o=t(8);e.exports=(o.default||o).template({1:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.seriesTitle:i,n))},3:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-series-title">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},5:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.seasonNumber:i,n))},7:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-season-number">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},9:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.episodeNumber:i,n))},11:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=e.escapeExpression;return'<span class="'+a(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.suggestEdit:i,n))+'">- <a class="suggest-episode-number">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"suggestEdit",{name:"lang",hash:{},data:r}))+"</a></span>"},13:function(e,n,t,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.disabled:i,n))},15:function(e,n,t,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return"<h5>"+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:r}))+'</h5>\r\n<div class="container-fluid">\r\n <div class="row">\r\n <div class="form-group col-6 p-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-title">'+s((t.lang||n&&n.lang||l).call(a,"series",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="edit-series-region"></div>\r\n <div class="form-feedback"></div>\r\n </div>\r\n\r\n <div class="form-group col-3 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-season-number">'+s((t.lang||n&&n.lang||l).call(a,"season",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(7,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <div class="edit-season-region"></div>\r\n <div class="form-feedback"></div>\r\n </div>\r\n \r\n <div class="form-group col-3 pr-0 '+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(9,r,0),inverse:e.noop,data:r}))?i:"")+'">\r\n <label for="edit-episode-number">'+s((t.lang||n&&n.lang||l).call(a,"episode",{name:"lang",hash:{},data:r}))+"</label>\r\n "+(null!=(i=t.unless.call(a,null!=(i=null!=n?n.options:n)?i.editable:i,{name:"unless",hash:{},fn:e.program(11,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n <input\r\n name="episodeNumber"\r\n type="number"\r\n class="form-control episode-number '+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.lockEpisodeNumber:i,{name:"if",hash:{},fn:e.program(13,r,0),inverse:e.noop,data:r}))?i:"")+'"\r\n id="edit-episode-number"\r\n placeholder="'+s(e.lambda(null!=(i=null!=n?n.options:n)?i.episodeNumberPlaceholderText:i,n))+'"\r\n autocomplete="off"\r\n min="1"\r\n '+(null!=(i=t.if.call(a,null!=(i=null!=n?n.options:n)?i.lockEpisodeNumber:i,{name:"if",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+'\r\n >\r\n <div class="form-feedback"></div>\r\n </div>\r\n </div>\r\n</div>\r\n\r\n<div class="edit-broadcast-region"></div>'},useData:!0})},888:function(e,n,t){e.exports={disabled:"tOHRz"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[13],{1083:function(e,t,n){"use strict";n.r(t);var o=n(7),r=n(5),i=n(3),l=n(2),s=n(63),a=n(299),c=n(298),u=n(178),f=n(0),p=n(119),d=n(86),h=n(6),y=n(149),m=n(23),g=n(942),v=n.n(g),b=n(943),w=n.n(b);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 k(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function C(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function R(e,t,n){return t&&C(e.prototype,t),n&&C(e,n),e}function E(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 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,o=O(e);if(t){var r=O(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return _(this,n)}}function _(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 O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){E(n,e);var t=T(n);function n(e){return k(this,n),t.call(this,e)}return R(n,[{key:"events",value:function(){return{click:"onClick"}}},{key:"isSelected",value:function(){return this.options.selectedRequestId&&this.model.get("id").toString()===this.options.selectedRequestId.toString()}},{key:"onClick",value:function(){l.a.AppLinkHelper.trigger({application:f.b.STAFF_REQUESTS,action:f.a.StaffRequests.EDIT_REQUEST,args:[this.model.get("id")]})}},{key:"viewOptions",value:function(){return{dateRequested:m.parseZone(this.model.get("dateCreated")).local().fromNow(),isSelected:this.isSelected(),firstName:this.model.user.get("name"),lastName:this.model.user.get("surname")}}},{key:"name",get:function(){return"StaffRequestItemComponent"}},{key:"template",get:function(){return v.a}},{key:"lang",get:function(){return"staffRequests.staffRequestItem"}},{key:"className",get:function(){var e="p-3 border-bottom cursor-pointer ".concat(w.a.item);return this.isSelected()&&(e+=" ".concat(w.a.selected)),e}}]),n}(l.a.Component),q=function(e){E(n,e);var t=T(n);function n(e){return k(this,n),t.call(this,e)}return R(n,[{key:"name",get:function(){return"StaffRequestListComponent"}},{key:"className",get:function(){return w.a.list}},{key:"childView",get:function(){return I}},{key:"childViewOptions",get:function(){return{selectedRequestId:this.options.selectedRequestId,currentUser:this.options.currentUser}}}]),n}(l.a.ComponentCollection),N=n(11),L=n(4),P=n(741),D=n(698),j=n(655),F=n(24),M=n(39),A=n(34),U=n(51),V=n(662),H=n(95),B=n(781),Q=n(701),K=n(944),z=n.n(K),Y=n(945),J=n.n(Y);function W(e){return(W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function G(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Z(e,t){return(Z=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function X(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,o=ee(e);if(t){var r=ee(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return $(this,n)}}function $(e,t){return!t||"object"!==W(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&&Z(e,t)}(s,e);var t,n,r,i=X(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,e)}return t=s,(n=[{key:"initialize",value:function(){this.bindListeners(),this.getViewModel();var e=this.viewModel.destinationLibrary&&this.viewModel.destinationLibrary.get("id"),t=e&&this.collection.get(e);this.folderCollection=t?t.children:new U.a,A.a.setSelected(this.folderTreeKey,this.viewModel.destinationFolder,this.folderCollection)}},{key:"regions",value:function(){return{librarySelect:{el:".library-select-region",replaceElement:!0},folderSelect:{el:".folder-select-region",replaceElement:!0}}}},{key:"events",value:function(){return{"click .approve":"onClickApprove","click .reject":"onClickReject"}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,"library:selected",this.onLibrarySelected),this.listenTo(this.channelName,"folder:selected",this.onFolderSelected),this.listenTo(this.channelName,"create:folder:clicked",this.onClickCreateFolder),this.listenTo(this.options.staffRequestsChannel,"select:folder",(function(t){e.onFolderSelected(t),e.render()}))}},{key:"getViewModel",value:function(){var e={},t=this.collection.get(this.model.destinationLibrary);t&&(e.destinationLibrary=t.toJSON());var n=A.a.getModelFromCollection(this.model.destinationFolder.get("id"),this.collection);n&&(e.destinationFolder=n.toJSON()),this.viewModel=F.a.get(this.viewModelName,e,{ctor:H.a}),this.viewModel.addValidation(B.a)}},{key:"onLibrarySelected",value:function(e){this.viewModel.set("destinationLibrary",e.toJSON()),this.viewModel.unset("destinationFolder"),this.viewModel.set("destinationFolder",{}),A.a.deselectAll(this.folderTreeKey,this.folderCollection),this.folderCollection=e.get("children"),this.renderFolderSelect()}},{key:"onFolderSelected",value:function(e){this.viewModel.set("destinationFolder",e.toJSON()),A.a.setSelected(this.folderTreeKey,e,this.folderCollection)}},{key:"onClickApprove",value:function(){var e=this.model.get("id"),t=this.viewModel.destinationLibrary.get("id"),n=this.viewModel.destinationFolder.get("id");e&&t&&n&&(l.a.AppLinkHelper.trigger({application:f.b.STAFF_REQUESTS,action:f.a.StaffRequests.APPROVE_REQUEST,args:[e,t,n]}),this.logStaffRequestAction(L.q.Approve))}},{key:"onClickReject",value:function(){l.a.AppLinkHelper.trigger({application:f.b.STAFF_REQUESTS,action:f.a.StaffRequests.REJECT_REQUEST,args:[this.model.get("id")]}),this.logStaffRequestAction(L.q.Reject)}},{key:"onClickCreateFolder",value:function(){l.a.AppLinkHelper.trigger({application:f.b.STAFF_REQUESTS,action:f.a.Shared.NEW_FOLDER,args:[this.viewModel.destinationLibrary.get("id")]}),this.logCreateFolderAction()}},{key:"logStaffRequestAction",value:function(e){var t={location:L.k.StaffRequestDetails,actionType:e,entity:L.e.StaffRequest,workflowPhase:L.r.Start},n={id:this.model.get("id"),videoId:this.model.get("video")&&this.model.get("video").get("id"),requestingUserId:this.model.get("user")&&this.model.get("user").get("id"),sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").get("id"),sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").get("id"),destinationLibraryId:this.viewModel.destinationLibrary.get("id"),destinationFolderId:this.viewModel.destinationFolder.get("id")};M.a.logUserAction(n,t)}},{key:"logCreateFolderAction",value:function(){var e={location:L.k.StaffRequestDetails,actionType:L.q.Create,entity:L.e.Folder,workflowPhase:L.r.Start},t={libraryId:this.viewModel.destinationLibrary.get("id")};M.a.logUserAction(t,e)}},{key:"renderLibrarySelect",value:function(){this.collection.length<2||this.showChildView("librarySelect",new Q.a({collection:this.collection,channelName:this.channelName,currentLibraryId:this.viewModel.destinationLibrary&&this.viewModel.destinationLibrary.get("id"),inputName:"destinationLibrary",placeholderText:this.viewModel.destinationLibrary&&this.viewModel.destinationLibrary.get("name"),disabledLibraryIds:this.options.disabledLibraryIds}))}},{key:"renderFolderSelect",value:function(){this.showChildView("folderSelect",new V.a({collection:this.folderCollection,channelName:this.channelName,folderTreeKey:this.folderTreeKey,canCreateNew:!0}))}},{key:"viewOptions",value:function(){return{styles:z.a,sourceLibraryName:j.a.mapSourceToDisplayName(this.model.sourceLibrary),sourceClass:"".concat(z.a.source," ").concat(j.a.mapSourceToClass(this.model.sourceLibrary.get("type"))),showLibrarySelect:this.collection&&this.collection.length>1}}},{key:"onRender",value:function(){this.renderLibrarySelect(),this.renderFolderSelect(),o.Validation.bind(this,{model:this.viewModel})}},{key:"name",get:function(){return"StaffRequestActionsComponent"}},{key:"template",get:function(){return J.a}},{key:"lang",get:function(){return"staffRequests.staffRequestActions"}},{key:"folderTreeKey",get:function(){return"staff:requests:folder:select"}},{key:"className",get:function(){return"p-3 border-bottom ".concat(z.a.actions)}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.model.get("id"))}}])&&G(t.prototype,n),r&&G(t,r),s}(l.a.Component),ne=n(946),oe=n.n(ne),re=n(947),ie=n.n(re);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 se(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ae(e,t){return(ae=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ce(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,o=fe(e);if(t){var r=fe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ue(this,n)}}function ue(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 fe(e){return(fe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pe=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&&ae(e,t)}(i,e);var t,n,o,r=ce(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"regions",value:function(){return{actions:{el:".request-action-region",replaceElement:!0},preview:{el:".video-preview-region",replaceElement:!1},info:{el:".video-info-region",replaceElement:!1}}}},{key:"getAvatarUrl",value:function(){var e=this.collection&&this.collection.first(),t=e&&e.user&&e.user.avatar;if(t&&t.get("url"))return t.get("url");var n="".concat(this.options.config.get("imageCdnUrl"),"/v1/profile-images?initials=").concat(this.getInitials());return N.g.createUrl(n,{size:"small"})}},{key:"getInitials",value:function(){var e=this.collection&&this.collection.first();if(e&&e.user){var t=e.user.get("name"),n=e.user.get("surname");return"".concat(t&&t.trim()[0]).concat(n&&n.trim()[0])}}},{key:"renderActions",value:function(){this.showChildView("actions",new te({model:this.model,collection:this.options.libraryCollection,disabledLibraryIds:this.options.disabledLibraryIds,staffRequestsChannel:this.options.channelName}))}},{key:"renderVideoPreview",value:function(){this.showChildView("preview",new D.a({model:this.model.video,webPlayerUrl:this.options.config.get("webPlayerUrl"),analyticsOptions:{location:L.k.VideoRequest}}))}},{key:"renderVideoInfo",value:function(){this.showChildView("info",new P.a({model:this.model.video,config:this.options.config,externalSeriesLink:!0}))}},{key:"viewOptions",value:function(){return{styles:ie.a,avatarUrl:this.getAvatarUrl(),message:this.collection&&this.collection.length&&this.collection.first().toJSON(),interactive:j.a.isInteractive(this.model.video),firstName:this.model.user.get("name"),lastName:this.model.user.get("surname")}}},{key:"onRender",value:function(){this.renderActions(),this.renderVideoPreview(),this.renderVideoInfo()}},{key:"name",get:function(){return"StaffRequestDetailsComponent"}},{key:"template",get:function(){return oe.a}},{key:"lang",get:function(){return"staffRequests.staffRequestDetails"}}])&&se(t.prototype,n),o&&se(t,o),i}(l.a.Component),de=n(89),he=n(948),ye=n.n(he),me=n(949),ge=n.n(me);function ve(e){return(ve="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){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function we(e,t){return(we=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Se(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,o=Ce(e);if(t){var r=Ce(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ke(this,n)}}function ke(e,t){return!t||"object"!==ve(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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}n.d(t,"StaffRequestsView",(function(){return Re}));var Re=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)}(v,e);var t,n,m,g=Se(v);function v(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v),(t=g.call(this,e)).unavailableLibraryIds=[],t}return t=v,(n=[{key:"initialize",value:function(){this.staffRequestDataService=r.a.getInstance(f.g.StaffRequests,this),this.videoDataService=r.a.getInstance(f.g.Video,this),this.options.referrer===a.a.Notification&&this.staffRequestDataService.clearRequestCache(),this.bindListeners()}},{key:"regions",value:function(){return{requestList:{el:".request-list-region",partialLoading:h.j.StaffRequestList,replaceElement:!1},requestDetails:{el:".request-details-region",partialLoading:h.j.StaffRequestDetails,replaceElement:!1},emptyState:{el:".empty-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){if(this.listenTo(f.e.LIBRARY,"folder:created",this.onFolderCreated),this.options.requestId){this.listenTo(f.e.STAFF_REQUEST,"cache:cleared",this.render);var e="".concat(f.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(f.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(f.e.STAFF_REQUEST,"".concat(e,":error"),this.onError),this.listenTo(f.e.STAFF_REQUEST,"".concat(f.f.STAFF_REQUESTS,":invalidate"),this.onUpdate);var t="".concat(f.f.STAFF_REQUEST_MESSAGES,":").concat(this.options.requestId);this.listenTo(f.e.STAFF_REQUEST,"".concat(t,":sync"),this.render),this.listenTo(f.e.STAFF_REQUEST,"".concat(t,":error"),this.onError)}}},{key:"onUpdate",value:function(){this.staffRequestCollection=null,this.render()}},{key:"fetchData",value:function(){var e=this;if(this.staffRequestCollection||this.staffRequestDataService.getStaffRequests((function(t){e.staffRequestCollection=t,e.onRequestsSync()})),this.options.requestId&&(this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId),this.staffRequestMessageCollection=this.staffRequestDataService.getMessages(this.options.requestId),this.libraryCollection&&this.libraryCollection.length>1&&this.model&&!this.unavailableLibraryIds.length)){var t=this.model.get("video");this.videoDataService.getLibraries(t.get("id"),(function(t){e.unavailableLibraryIds=t.map((function(e){return e.get("id")+""})),e.render()}))}}},{key:"onRequestsSync",value:function(){var e;this.options.requestId&&(e=this.staffRequestCollection.get(this.options.requestId)),!e&&this.staffRequestCollection.first()?(e=this.staffRequestCollection.first(),l.a.AppLinkHelper.trigger({application:f.b.STAFF_REQUESTS,action:f.a.StaffRequests.EDIT_REQUEST,args:[e.id]},{replace:!0})):this.render()}},{key:"onError",value:function(){this.redirectToHome()}},{key:"onFolderCreated",value:function(e){o.Radio.channel(this.channelName).trigger("select:folder",e),this.render()}},{key:"redirectToHome",value:function(){l.a.AppLinkHelper.trigger({application:f.b.STAFF_REQUESTS,action:f.a.StaffRequests.HOME})}},{key:"getEmptyStateDescription",value:function(){return this.libraryCollection?!this.libraryCollection.length||this.libraryCollection.every((function(e){return e.get("status")!==s.a.Published}))?i.a.getPhrase(this.lang,"emptyStateNoLibraries"):i.a.getPhrase(this.lang,"emptyStateDescription"):""}},{key:"renderRequestList",value:function(){this.staffRequestCollection?this.showChildView("requestList",new q({collection:this.staffRequestCollection,selectedRequestId:this.options.requestId,currentUser:this.currentUser})):this.renderPartialLoading("requestList")}},{key:"renderRequestDetails",value:function(){var e=!!this.libraryCollection,t=e&&!!this.model&&!!this.staffRequestMessageCollection;!this.options.requestId&&!e||this.options.requestId&&!t?this.renderPartialLoading("requestDetails"):this.options.requestId&&this.showChildView("requestDetails",new pe({model:this.model,collection:this.staffRequestMessageCollection,libraryCollection:this.libraryCollection,disabledLibraryIds:this.unavailableLibraryIds,config:this.config,channelName:this.channelName}))}},{key:"viewOptions",value:function(){return{styles:ge.a}}},{key:"onBeforeRender",value:function(){return this.fetchData(),!this.model||this.model.get("status")===y.a.Pending||(this.redirectToHome(),!1)}},{key:"onRender",value:function(){this.renderRequestList(),this.renderRequestDetails()}},{key:"name",get:function(){return"StaffRequestsView"}},{key:"lang",get:function(){return"staffRequests.staffRequests"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return ye.a}},{key:"className",get:function(){return"bg-white"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:u.a,collectionName:"staffRequestCollection",region:"emptyState",type:h.c.StaffRequests,shouldRender:c.a.isCollectionEmpty.bind(null,this,"staffRequestCollection"),componentOptions:{description:function(){return e.getEmptyStateDescription()},emptyState:function(){return i.a.getPhrase(e.lang,"emptyStateHeading")}},emptyStateComponents:f.h}]}},{key:"requiredResources",get:function(){return{config:p.b.config,libraryCollection:de.b.libraries,currentUser:d.b.currentUser}}}])&&be(t.prototype,n),m&&be(t,m),v}(l.a.View)},662:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(7),r=n(2),i=n(3),l=n(669),s=n(11),a=n(663),c=n.n(a),u=n(664),f=n.n(u);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=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,o=g(e);if(t){var r=g(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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)}(u,e);var t,n,r,a=y(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),a.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,!0))}),{})}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),o.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var o=s.f.getSelected(this.options.folderTreeKey,this.collection),r=o?o.get("name"):i.a.getPhrase(this.lang,"button");this.getUI("button").text(r)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.a({styles:f.a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:f.a.list,extraClasses:f.a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:f.a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return c.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}}])&&d(t.prototype,n),r&&d(t,r),u}(r.a.Component)},663:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn font-weight-bold rounded-0 w-100 text-left '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:r}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return'<button\r\n class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' custom-select form-control"\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n name='+s(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+"\r\n>"+s(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'</button>\r\n<div class="dropdown-menu '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\r\n <div class="selector-region"></div>\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n<div class="form-feedback"></div>'},useData:!0})},664:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},672:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(1),r=n(7),i=n(2),l=n(657),s=n(11),a=n(673),c=n.n(a),u=n(674),f=n.n(u);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=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,o=g(e);if(t){var r=g(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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)}(u,e);var t,n,i,a=y(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).selectSearch="",t.sameCharIndex=1,t.optionStep=1,t}return t=u,(n=[{key:"initialize",value:function(){this.setModel(),this.bindListeners()}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-region",replaceElement:!0}}}},{key:"events",value:function(){return{keydown:"onKeydown","shown.bs.dropdown":"onShowDropdown"}}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,this.options.childOptions.eventName,this.onSelect)}},{key:"onShowDropdown",value:function(e){r.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onKeydown",value:function(e){38===e.keyCode||40===e.keyCode?this.onArrowKeyDown(e):13===e.keyCode?this.render():this.onType(e),r.Radio.channel(this.options.channelName).trigger("center:dropdown")}},{key:"onArrowKeyDown",value:function(e){s.c.getSelected(this.collection)?this.optionStep=1:this.optionStep=0;var t=this.getNextModel(e.keyCode);for(t||(s.c.deselectAll(this.collection),t=this.getNextModel(e.keyCode));this.isDisabled(t);)this.optionStep++,t=this.getNextModel(e.keyCode);this.onSelect(t)}},{key:"onType",value:function(e){if(1===e.key.toString().length){var t=this.getModelMatch(e);t&&this.onSelect(t),this.runTimer()}}},{key:"onSelect",value:function(e){this.isDisabled(e)||(s.c.setSelected(e.get("id"),this.collection),this.setModel(),this.getUI("dropdownToggle").text(this.getButtonText()),r.Radio.channel(this.options.channelName).trigger("select:option:selected",e))}},{key:"setModel",value:function(){this.model=s.c.getSelected(this.collection)}},{key:"getNextModel",value:function(e){var t,n=s.c.getSelected(this.collection)||this.collection.first(),o=this.collection.indexOf(n);return(t=38===e?this.collection.at(o-this.optionStep):this.collection.at(o+this.optionStep))||(s.c.deselectAll(this.collection),t=this.collection.first(),this.optionStep=0),t}},{key:"getModelMatch",value:function(e){var t,n=this;return 1===this.selectSearch.length&&this.selectSearch===e.key?t=this.handleSameCharIndex(e.key):(this.selectSearch+=e.key,this.sameCharIndex=1),t||(t=o.find(this.collection.models,(function(e){return e.get(n.options.displayProperty).toLowerCase().slice(0,n.selectSearch.length).includes(n.selectSearch.toLowerCase())}))),t}},{key:"handleSameCharIndex",value:function(e){var t=this,n=o.filter(this.collection.models,(function(n){return n.get(t.options.displayProperty).toLowerCase().slice(0,1)===e}));if(n.length>1){var r=n[this.sameCharIndex];return r||(r=o.first(n),this.sameCharIndex=0),this.sameCharIndex++,r}return o.first(n)}},{key:"runTimer",value:function(){var e=this;this.scopedTimerIndex&&clearTimeout(this.scopedTimerIndex),this.scopedTimerIndex=window.setTimeout((function(){e.selectSearch=""}),500)}},{key:"isDisabled",value:function(e){return!!e.get("divider")||!!o.isFunction(this.options.childOptions.isDisabled)&&this.options.childOptions.isDisabled.apply(this,arguments)}},{key:"getButtonText",value:function(){if(this.options.disabled)return this.options.noOptionsText;var e=s.c.getSelected(this.collection);return e&&e.get(this.options.displayProperty)||this.options.placeholderText}},{key:"viewOptions",value:function(){return{styles:f.a,inputName:this.options.inputName,disabled:this.options.disabled,placeholderText:this.getButtonText()}}},{key:"onRender",value:function(){this.showChildView("dropdown",new l.a({collection:this.collection,channelName:this.options.channelName,childOptions:o.extend(this.options.childOptions),displayOptions:{extraClasses:"w-100 ".concat(f.a.dropdownMenu)},analyticsHelper:this.options.analyticsHelper}))}},{key:"name",get:function(){return"SelectComponent"}},{key:"template",get:function(){return c.a}},{key:"defaults",get:function(){return{displayProperty:"name"}}},{key:"elements",get:function(){return{dropdownToggle:".dropdown-toggle"}}}])&&d(t.prototype,n),i&&d(t,i),u}(i.a.Component)},673:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.disabled:i,t))},3:function(e,t,n,o,r){return" disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression,a=null!=t?t:e.nullContext||{};return'<button \r\n class="dropdown-toggle form-control btn-block text-left position-relative '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectButton:i,t))+" "+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" \r\n type="button" \r\n id="dropdownMenuButton" \r\n data-toggle="dropdown" \r\n aria-haspopup="true" \r\n aria-expanded="false"\r\n '+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' \r\n name="'+s(l(null!=(i=null!=t?t.options:t)?i.inputName:i,t))+'"\r\n >\r\n '+s(l(null!=(i=null!=t?t.options:t)?i.placeholderText:i,t))+'\r\n</button>\r\n<div class="dropdown-region"></div>\r\n<div class="form-feedback"></div>'},useData:!0})},674:function(e,t,n){e.exports={dropdownMenu:"_2RaQu",selectButton:"_2xGqi",disabled:"_15kWr"}},701:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var o=n(1),r=n(7),i=n(2),l=n(3),s=n(39),a=n(672),c=n(11),u=n(702),f=n.n(u);function p(e){return(p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function h(e,t){return(h=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,o=g(e);if(t){var r=g(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==p(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function g(e){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}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)}(p,e);var t,n,i,u=y(p);function p(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,p),u.call(this,e)}return t=p,(n=[{key:"initialize",value:function(){this.bindListeners(),c.c.deselectAll(this.collection),c.c.setSelected(this.options.currentLibraryId,this.collection)}},{key:"regions",value:function(){return{dropdown:{el:".dropdown-menu-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var e=this;this.listenTo(this.channelName,"select:option:selected",(function(t){r.Radio.channel(e.options.channelName).trigger("library:selected",t)}))}},{key:"getIsOptionDisabledFn",value:function(){var e=this.options.disabledLibraryIds;return function(t){var n=t||this.model;if(o.contains(e,n.get("id")+""))return!0}}},{key:"onRender",value:function(){this.showChildView("dropdown",new a.a({collection:this.collection,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"select:option:click",isDisabled:this.getIsOptionDisabledFn()},placeholderText:this.options.placeholderText||l.a.getPhrase(this.lang,"placeholder"),noOptionsText:l.a.getPhrase(this.lang,"noLibraries"),inputName:this.options.inputName,disabled:0===this.collection.length||this.options.disabled,analyticsHelper:s.a}))}},{key:"name",get:function(){return"LibrarySelectComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.librarySelect"}},{key:"template",get:function(){return f.a}}])&&d(t.prototype,n),i&&d(t,i),p}(i.a.Component)},702:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="dropdown-menu-region"></div>\r\n<div class="form-feedback"></div>'},useData:!0})},741:function(e,t,n){"use strict";n.d(t,"a",(function(){return R}));var o=n(1),r=n(23),i=n(2),l=n(58),s=n(13),a=n(87),c=n(0),u=n(6),f=n(685),p=n(680),d=n(660),h=n(742),y=n.n(h),m=n(743),g=n.n(m);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 b(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=C(e);if(t){var r=C(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return k(this,n)}}function k(e,t){return!t||"object"!==v(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function C(e){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&w(e,t)}(m,e);var t,n,i,h=S(m);function m(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),h.call(this,e)}return t=m,(n=[{key:"regions",value:function(){return{description:{el:".description-region",replaceElement:!0,partialLoading:u.j.VideoBasicInfo},series:{el:".series-region",replaceElement:!0}}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?r(this.model.get("dateBroadcast")).format(u.p.FULL_YEAR):""}},{key:"getSeriesUrl",value:function(){if(this.options.externalSeriesLink&&this.model.series)return l.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 p.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 f.a({model:this.model,linkify:!0,size:f.b.Large,truncate:this.options.truncateDescription,allowExpand:!0});this.showChildView("description",e)}}},{key:"getSubtitleLanguage",value:function(){if(!this.model.subtitles||!this.model.get("subtitles").length)return"";var e=o.uniq(this.model.get("subtitles").map((function(e){return e.get("language")})));return o.map(e,(function(e){return CVLanguages.getFullEnglishName(e)})).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:y.a,ratingClass:this.model.rating&&d.i.mapRatingToClass(this.model.rating.get("value")),broadcastDate:this.getBroadcastDate(),showHeading:this.options.showHeading,subtitles:this.getSubtitleLanguage(),publisherArchiveSvg:s.a.getSvg(s.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:a.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")]}}}}])&&b(t.prototype,n),i&&b(t,i),m}(i.a.Component)},742:function(e,t,n){e.exports={columnNames:"_1N_VT",seriesContainer:"_4pk2s",icon:"_3SoBV",citationValues:"_1nYZg"}},743:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=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(l,"basicInfo",{name:"lang",hash:{},data:r}))+"</h5>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showPublisherVideoDetails:i,{name:"if",hash:{},fn:e.program(2,r,0),inverse:e.noop,data:r}))?i:"")+"</div>\r\n"},2:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return' <a class="float-right cursor-pointer applink-publisher-video">\r\n <span class="d-inline-block align-middle '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.icon:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.publisherArchiveSvg:i,t))?i:"")+"</span> "+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"viewInPublisherArchive",{name:"lang",hash:{},data:r}))+"\r\n </a>\r\n"},4:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,s=e.escapeExpression,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+s(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||c).call(a,"videoTitle",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+s("function"==typeof(l=null!=(l=n.name||(null!=t?t.name:t))?l:c)?l.call(a,{name:"name",hash:{},data:r}):l)+"</p>\r\n"},6:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"series",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+s(l(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,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"rating",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9"><span class="p-1 badge text-white tool-tip '+s(l(null!=(i=null!=t?t.options:t)?i.ratingClass:i,t))+" "+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.rating:i,t))+'" title="'+s(l(null!=(i=null!=t?t.rating:t)?i.name:i,t))+'">'+s(l(null!=(i=null!=t?t.rating:t)?i.code:i,t))+"</span></p>\r\n"},10:function(e,t,n,o,r){e.propertyIsEnumerable;var i,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((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"description",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9">\r\n <div class="description-region"></div>\r\n </div>\r\n'},12:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,s=e.escapeExpression,a=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-3 '+s(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||c).call(a,"productionYear",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+s("function"==typeof(l=null!=(l=n.productionYear||(null!=t?t.productionYear:t))?l:c)?l.call(a,{name:"productionYear",hash:{},data:r}):l)+"</p>\r\n"},14:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression,a=null!=t?t:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"producers",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+s(l(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(a,null!=t?t.producers:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},15:function(e,t,n,o,r){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:r}):i)+"</span>\r\n"},17:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression,a=null!=t?t:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"directors",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+s(l(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(a,null!=t?t.directors:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},19:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression,a=null!=t?t:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"productionCompanies",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+s(l(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(a,null!=t?t.productionCompanies:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},21:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression,a=null!=t?t:e.nullContext||{};return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(a,"distributors",{name:"lang",hash:{},data:r}))+'</div>\r\n <div class="col-9 '+s(l(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(a,null!=t?t.distributors:t,{name:"each",hash:{},fn:e.program(15,r,0),inverse:e.noop,data:r}))?i:"")+" </p>\r\n </div>\r\n"},23:function(e,t,n,o,r){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,r,0),inverse:e.noop,data:r}))?i:""},24:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return'\r\n <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"channel",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+s(l(null!=(i=null!=t?t.channel:t)?i.name:i,t))+"</p>\r\n "},26:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"broadcastDate",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+s(l(null!=(i=null!=t?t.options:t)?i.broadcastDate:i,t))+"</p>\r\n"},28:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return' <div class="col-3 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.columnNames:i,t))+'">'+s((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:r}))+'</div>\r\n <p class="col-9">'+s(l(null!=(i=null!=t?t.options:t)?i.subtitles:i,t))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showHeading:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="row mb-0">\r\n'+(null!=(i=n.if.call(l,null!=t?t.name:t,{name:"if",hash:{},fn:e.program(4,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.series:t)?i.name:i,{name:"if",hash:{},fn:e.program(6,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.rating:t)?i.code:i,{name:"if",hash:{},fn:e.program(8,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=t?t.description:t,{name:"if",hash:{},fn:e.program(10,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=t?t.productionYear:t,{name:"if",hash:{},fn:e.program(12,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.producers:t)?i.length:i,{name:"if",hash:{},fn:e.program(14,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.directors:t)?i.length:i,{name:"if",hash:{},fn:e.program(17,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.productionCompanies:t)?i.length:i,{name:"if",hash:{},fn:e.program(19,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.distributors:t)?i.length:i,{name:"if",hash:{},fn:e.program(21,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n "+(null!=(i=n.if.call(l,null!=(i=null!=t?t.channel:t)?i.name:i,{name:"if",hash:{},fn:e.program(23,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.broadcastDate:i,{name:"if",hash:{},fn:e.program(26,r,0),inverse:e.noop,data:r}))?i:"")+"\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.subtitles:i,{name:"if",hash:{},fn:e.program(28,r,0),inverse:e.noop,data:r}))?i:"")+"</div>"},useData:!0})},781:function(e,t,n){"use strict";var o=n(3),r="staffRequests.utils",i={destinationLibrary:function(e){if(!e||!e.id)return o.a.getPhrase(r,"selectLibrary")},destinationFolder:function(e){if(!e||!e.id)return o.a.getPhrase(r,"selectFolder")}},l={message:[{required:!0,msg:function(){return o.a.getPhrase("staffRequests.utils","provideMessage")}}]};n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return l}))},942:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return" text-muted"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,s=e.lambda,a=e.escapeExpression,c=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return'<h6 class="mb-1">'+a(s(null!=(i=null!=t?t.video:t)?i.name:i,t))+'</h6>\r\n<p class="m-0">'+a((n.lang||t&&t.lang||u).call(c,"request",{name:"lang",hash:{lastName:null!=(i=null!=t?t.options:t)?i.lastName:i,firstName:null!=(i=null!=t?t.options:t)?i.firstName:i},data:r}))+'</p>\r\n<time class="m-0'+(null!=(i=n.unless.call(c,null!=(i=null!=t?t.options:t)?i.isSelected:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" datetime='+a("function"==typeof(l=null!=(l=n.dateCreated||(null!=t?t.dateCreated:t))?l:u)?l.call(c,{name:"dateCreated",hash:{},data:r}):l)+">"+a(s(null!=(i=null!=t?t.options:t)?i.dateRequested:i,t))+"</time"},useData:!0})},943:function(e,t,n){e.exports={list:"_3aP3V",item:"_1uqg-",selected:"_29kkj"}},944:function(e,t,n){e.exports={actions:"_2xyI4",source:"_153F1",button:"_3I7SQ"}},945:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return" <span>"+e.escapeExpression(e.lambda(null!=(i=null!=t?t.sourceFolder:t)?i.name:i,t))+"</span>\r\n"},3:function(e,t,n,o,r){return' <div class="form-group m-0 pb-2">\r\n <div class="library-select-region"></div>\r\n </div> \r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing,a=e.escapeExpression,c=e.lambda;return'<div class="row align-items-center py-2">\r\n <div class="col-3"><strong>'+a((n.lang||t&&t.lang||s).call(l,"source",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n <div class="col-5">\r\n <span class="badge p-1 mr-1 '+a(c(null!=(i=null!=t?t.options:t)?i.sourceClass:i,t))+'">'+a(c(null!=(i=null!=t?t.options:t)?i.sourceLibraryName:i,t))+"</span>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.sourceFolder:t)?i.name:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-4 text-right">\r\n <button class="btn btn-success btn-sm '+a(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+' approve" type="button">'+a((n.lang||t&&t.lang||s).call(l,"approve",{name:"lang",hash:{},data:r}))+'</button>\r\n <button class="btn btn-light btn-sm border-secondary '+a(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+' reject" type="button">'+a((n.lang||t&&t.lang||s).call(l,"reject",{name:"lang",hash:{},data:r}))+'</button>\r\n </div>\r\n</div>\r\n<div class="row align-items-center py-2">\r\n <div class="col-3"><strong>'+a((n.lang||t&&t.lang||s).call(l,"moveVideo",{name:"lang",hash:{},data:r}))+'</strong></div>\r\n <div class="col-5">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showLibrarySelect:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' <div class="form-group m-0">\r\n <div class="folder-select-region"></div>\r\n </div> \r\n </div>\r\n</div>'},useData:!0})},946:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,s=e.escapeExpression;return'<div class="border-bottom">\r\n <div class="d-inline-block mr-2 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.avatar:i,t))+'" style="background-image: url(\''+s(l(null!=(i=null!=t?t.options:t)?i.avatarUrl:i,t))+'\')">\r\n  \r\n </div>\r\n <div class="d-inline-block">\r\n <p>'+(null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"requestNote",{name:"lang",hash:{lastName:null!=(i=null!=t?t.options:t)?i.lastName:i,firstName:null!=(i=null!=t?t.options:t)?i.firstName:i},data:r}))?i:"")+'</p>\r\n <p class="pl-2 '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.message:i,t))+'">'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.message:i)?i.message:i,t))+"</p>\r\n </div> \r\n</div>\r\n"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return'<span class="badge p-1 '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.interactive:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"interactive",{name:"lang",hash:{},data:r}))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return'<div class="request-action-region"></div>\r\n<div class="p-3">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.message:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="video-preview-region responsize-img col-7 pt-3 pb-2 px-0">\r\n <img class="img-fluid cursor-pointer" src="'+e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.video:t)?i.thumbnail:i)?i.url:i,t))+'"/>\r\n</div>\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.interactive:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+'<div class="video-info-region py-1"></div>\r\n</div>'},useData:!0})},947:function(e,t,n){e.exports={avatar:"_2c8zD",message:"EQzqm",interactive:"mnE2L"}},948:function(e,t,n){var o=n(8);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression,s=e.lambda;return'<div class="border-bottom">\r\n <h1 class="h3 p-3 m-0">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"staffRequests",{name:"lang",hash:{},data:r}))+'</h1>\r\n</div>\r\n<div class="request-list-region border-right d-inline-block '+l(s(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.requestList:i,t))+'"></div><div class="request-details-region border-left d-inline-block '+l(s(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.requestDetails:i,t))+'"></div>\r\n<div class="empty-region"></div>'},useData:!0})},949:function(e,t,n){e.exports={requestList:"_3DFfh",requestDetails:"_2ezub"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[14],{1081:function(t,e,n){"use strict";n.r(e);var o=n(2),i=n(5),r=n(3),a=n(58),c=n(68),l=n(670),s=n(54),u=n(61),f=n(0),p=n(35),h=n(11),d=n(6),y=n(710),m=n(661),g=n(119),b=n(86),v=n(105),k=n(89),w=n(690),O=n(835),S=n.n(O),R=n(191),E=n.n(R),C=n(4);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 I(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 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=x(t);if(e){var i=x(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return L(this,n)}}function L(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 x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=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)}(r,t);var e,n,o,i=P(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return e=r,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"renderActions",value:function(){this.showChildView("options",new w.a({model:this.model,extraClasses:"".concat(E.a.actions," rounded-circle mr-2 mt-2"),buttonClass:"text-light",analyticsOptions:{location:C.k.Banner}}))}},{key:"onRender",value:function(){this.renderActions()}},{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"px-3 position-relative ".concat(E.a.banner)}},{key:"attributes",get:function(){var t=h.g.createBannerUrl(this.model.banner,{fallbackBaseUrl:this.options.imageCdnUrl,fallbackCategoryName:this.model.get("name"),type:d.f.Banners});return{style:"background-image: url('".concat(t,"')")}}},{key:"template",get:function(){return S.a}}])&&I(e.prototype,n),o&&I(e,o),r}(o.a.Component),T=n(13),V=n(679),A=n(684),B=n(836),F=n.n(B),N=n(837),M=n.n(N);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 U(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 W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function q(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 i=G(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return z(this,n)}}function z(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 G(t){return(G=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)}(r,t);var e,n,o,i=q(r);function r(){return U(this,r),i.apply(this,arguments)}return e=r,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"regions",value:function(){return{actions:{replaceElement:!0,el:".actions-region"}}}},{key:"viewOptions",value:function(){return{styles:M.a,svg:T.a.getSvg(T.b.Folder)}}},{key:"onRender",value:function(){this.showChildView("actions",new w.a({model:this.model,extraClasses:"".concat(M.a.actions," rounded-circle mr-2"),analyticsOptions:{location:C.k.SubFolderList}}))}},{key:"name",get:function(){return"SubFolderComponent"}},{key:"elements",get:function(){return{anchor:"a",block:".ui-block"}}},{key:"template",get:function(){return F.a}},{key:"className",get:function(){return"col-3 d-inline-block pb-3"}},{key:"behaviors",get:function(){return[{behaviorClass:V.a,ui:"block",channelNames:[f.w.VIDEO_DRAG_DROP,f.w.FOLDER_DRAG_DROP],analyticsOptions:{location:C.k.SubFolderList}},{behaviorClass:A.a}]}},{key:"appLinks",get:function(){return{a:{application:f.b.LIBRARY_EDITOR,action:f.a.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}}])&&Y(e.prototype,n),o&&Y(e,o),r}(o.a.Component),J=n(838),K=n.n(J);function Q(t){return(Q="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 Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(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 tt(t,e,n){return e&&X(t.prototype,e),n&&X(t,n),t}function et(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&&nt(t,e)}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ot(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=rt(t);if(e){var i=rt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return it(this,n)}}function it(t,e){return!e||"object"!==Q(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 rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at=function(t){et(n,t);var e=ot(n);function n(){return Z(this,n),e.apply(this,arguments)}return tt(n,[{key:"name",get:function(){return"SubFoldersCollectionView"}},{key:"childView",get:function(){return $}}]),n}(o.a.ComponentCollection),ct=function(t){et(n,t);var e=ot(n);function n(){return Z(this,n),e.apply(this,arguments)}return tt(n,[{key:"regions",value:function(){return{subFolders:{replaceElement:!0,el:".subfolders-region"}}}},{key:"onRender",value:function(){this.showChildView("subFolders",new at({collection:this.collection}))}},{key:"name",get:function(){return"SubFoldersView"}},{key:"className",get:function(){return"container-fluid border-bottom pt-3 bg-white"}},{key:"template",get:function(){return K.a}}]),n}(o.a.Component),lt=n(839),st=n.n(lt),ut=n(63),ft=n(39),pt=n(657),ht=n(118),dt=n(840),yt=n.n(dt);function mt(t){return(mt="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 gt(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 bt(t,e){return(bt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function vt(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=wt(t);if(e){var i=wt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return kt(this,n)}}function kt(t,e){return!e||"object"!==mt(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 wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ot=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&&bt(t,e)}(c,t);var e,n,i,a=vt(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:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"getViewModel",value:function(){var t=this.options.collectionIdentifier.toString();this.model=h.a.GetViewModel(t,ht.a.VIDEO_LIST)}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.render),this.listenTo(this.collection,"remove",this.render)}},{key:"regions",value:function(){return{dropdownItems:{replaceElement:!0,el:".dropdown-menu-region"}}}},{key:"getSelectedIds",value:function(){return h.a.GetSelectedIds({key:this.options.collectionIdentifier.toString(),type:ht.a.VIDEO_LIST,collection:this.collection,excludePredicate:function(t){return t.get("status")===ut.a.Processing}})}},{key:"onBeforeRender",value:function(){return!!this.getSelectedIds().length||(this.$el.empty(),!1)}},{key:"getActions",value:function(){if(this.options.collectionIdentifier){var t=this.getSelectedIds();return new o.a.Collection([{title:r.a.getPhrase(this.lang,"move",{smartCount:t.length}),appLink:{application:this.options.application,action:f.a.Shared.MOVE_VIDEOS,args:[t.join(","),this.options.collectionIdentifier.id]},analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Move,workflowPhase:C.r.Start})},{title:r.a.getPhrase(this.lang,"remove",{smartCount:t.length}),appLink:{application:f.b.LIBRARY_EDITOR,action:f.a.Shared.DELETE_VIDEOS,args:[this.options.collectionIdentifier.id,t.join(",")]},analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Delete,workflowPhase:C.r.Start}),classes:"text-danger"}])}}},{key:"onRender",value:function(){this.showChildView("dropdownItems",new pt.a({displayOptions:{alignment:"right"},channelName:"".concat(this.name).concat(this.cid),collection:this.getActions(),analyticsHelper:ft.a}))}},{key:"name",get:function(){return"BulkVideoActionsComponent"}},{key:"template",get:function(){return yt.a}},{key:"lang",get:function(){return"shared.bulkVideoActions"}}])&>(e.prototype,n),i&>(e,i),c}(o.a.Component),St=n(696),Rt=n(782),Et=n(1),Ct=n(841),_t=n.n(Ct),It=n(842),Dt=n.n(It);function Pt(t){return(Pt="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 Lt(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 xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(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=Vt(t);if(e){var i=Vt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Tt(this,n)}}function Tt(t,e){return!e||"object"!==Pt(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 Vt(t){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=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&&xt(t,e)}(a,t);var e,n,i,r=jt(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setSort(),this.bindListeners(),this.initializeCollection()}},{key:"getViewModel",value:function(){this.model=h.p.GetSortViewModel()}},{key:"setSort",value:function(){var t=this.options.collectionIdentifier.sort;if(t!==this.model.get("sortType")){var e=h.p.CreateSortObject(t);this.model.set(e)}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"sort:selected",this.onSortSelected)}},{key:"initializeCollection",value:function(){this.collection||(this.collection=h.p.CreateSortCollection())}},{key:"regions",value:function(){return{dropdown:".dropdown-menu-region"}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){this.logAction(C.r.Start)}},{key:"onSortSelected",value:function(t){this.model.set(t.toJSON()),this.render(),this.logAction(C.r.Complete)}},{key:"logAction",value:function(t){var e=ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Sort,workflowPhase:t}),n={id:this.options.collectionIdentifier.id,sort:this.model.get("name")};ft.a.logUserAction(n,e)}},{key:"onRender",value:function(){var t=this,e=this.collection.filter((function(e){return e.get("name")!==t.model.get("name")})),n=new o.a.Collection(Et.map(e,(function(e){var n=e.toJSON();return n.appLink={application:t.options.appLink.application,action:t.options.appLink.action,args:[t.options.collectionIdentifier.id],params:{sort:e.get("sortName")}},n})));this.showChildView("dropdown",new pt.a({collection:n,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"sort:selected"},displayOptions:{alignment:"right",extraClasses:Dt.a.sortSelectDropdown},analyticsHelper:ft.a}))}},{key:"name",get:function(){return"SortSelectComponent"}},{key:"template",get:function(){return _t.a}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"d-inline-block ".concat(Dt.a.sortSelect)}}])&&Lt(e.prototype,n),i&&Lt(e,i),a}(o.a.Component);function Bt(t){return(Bt="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 Ft(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 Nt(t,e){return(Nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(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=Ut(t);if(e){var i=Ut(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Ht(this,n)}}function Ht(t,e){return!e||"object"!==Bt(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 Ut(t){return(Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Yt=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&&Nt(t,e)}(r,t);var e,n,o,i=Mt(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return e=r,(n=[{key:"initialize",value:function(){this.analyticsOptions=ft.a.mergeOptions(this.options.analyticsOptions,{location:C.k.VideoListHeader})}},{key:"regions",value:function(){return{checkAll:{el:".check-all-region",replaceElement:!1},bulkActions:{el:".bulk-actions-region",replaceElement:!0},breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1},sorting:{el:".sorting-region",replaceElement:!0}}}},{key:"renderCheckAll",value:function(){!this.options.allowBulk||this.collection.length<=0||this.showChildView("checkAll",new St.b({className:"float-left",key:this.collectionIdentifier.toString(),type:ht.a.VIDEO_LIST,numberOfItems:this.collection.length}))}},{key:"renderBulkActions",value:function(){!this.options.allowBulk||this.collection.length<=0||this.showChildView("bulkActions",new Ot({collection:this.collection,collectionIdentifier:this.collectionIdentifier,application:this.options.application,analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{descriptor:C.l.Bulk,location:C.k.VideoListHeader,entity:C.e.Video,workflowPhase:C.r.Start})}))}},{key:"renderBreadcrumbs",value:function(){this.options.folder&&this.options.libraries&&this.showChildView("breadcrumbs",new Rt.a({folder:this.options.folder,libraries:this.options.libraries}))}},{key:"renderSorting",value:function(){this.collection.length<=0||this.showChildView("sorting",new At({collectionIdentifier:this.collectionIdentifier,analyticsOptions:this.analyticsOptions,appLink:{application:this.options.application,action:this.options.action}}))}},{key:"viewOptions",value:function(){return{showBulkActions:this.options.allowBulk&&this.collection.length>0}}},{key:"onRender",value:function(){this.renderCheckAll(),this.renderBulkActions(),this.renderBreadcrumbs(),this.renderSorting()}},{key:"name",get:function(){return"VideoListHeaderComponent"}},{key:"template",get:function(){return st.a}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center px-3 py-2 border-bottom"}},{key:"props",get:function(){return["collectionIdentifier"]}}])&&Ft(e.prototype,n),o&&Ft(e,o),r}(o.a.Component),Wt=n(122),qt=n(843),zt=n.n(qt);function Gt(t,e,n){return(Gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ne(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function $t(t){return($t="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 Jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kt(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 Qt(t,e,n){return e&&Kt(t.prototype,e),n&&Kt(t,n),t}function Zt(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&&Xt(t,e)}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function te(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=ne(t);if(e){var i=ne(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return ee(this,n)}}function ee(t,e){return!e||"object"!==$t(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 ne(t){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"FolderView",(function(){return ie})),n.d(e,"SeriesView",(function(){return re}));var oe=function(t){Zt(n,t);var e=te(n);function n(t){return Jt(this,n),e.call(this,t)}return Qt(n,[{key:"initialize",value:function(){this.bindListeners(),this.getSortType(),this.videoDataService=i.a.getInstance(f.g.Video,this),this.libraryDataService=i.a.getInstance(f.g.Library,this),this.pendingItemsService=i.a.getInstance(f.x.PendingItems,this),this.localCacheDataService=i.a.getInstance(f.g.LocalCache,this),this.videoMixinService=i.a.getInstance(f.x.VideoMixin,this)}},{key:"regions",value:function(){return{banner:{el:".banner-region",replaceElement:!0,partialLoading:d.j.Banner},header:{el:".header-region",replaceElement:!0,partialLoading:d.j.VideoListHeader},videoList:{el:".video-list-region",replaceElement:!0,partialLoading:d.j.VideoListWithBulkActions},childFolders:{el:".child-folders-region",replaceElement:!1,partialLoading:d.j.SubFolder},pagination:{el:".pagination-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var t=this.options.collectionIdentifier.toString();this.listenTo(f.e.VIDEO,"".concat(t,":sync"),this.render),this.listenTo(f.e.VIDEO,"".concat(f.f.DELETE_VIDEO,":sync"),this.fetchData),this.listenTo(f.e.VIDEO,"cache:cleared",this.render),this.listenTo(f.e.RESTRICTED_VIDEO,"".concat(f.f.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestrictedVideos),this.listenTo(this.channelName,"cancel:pending:item",this.cancelPendingItem),this.listenTo(this.channelName,"retry:pending:item",this.retryPendingItem),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata),this.listenTo(f.e.LOCAL_CACHE,"".concat(f.f.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(f.e.LOCAL_CACHE,"".concat(f.f.LOCAL_CACHE_DEVICES,":error"),this.onError)}},{key:"getSortType",value:function(){this.sortType||(this.sortType=this.options.collectionIdentifier.sort)}},{key:"updateRestrictedVideos",value:function(){var t=this;this.videoMixinService.getAndMixinVideoCollectionRestrictions(this.videoCollection,this.collectionIdentifier,(function(){return t.render()}))}},{key:"cancelPendingItem",value:function(t){this.pendingItemsService.clearPendingItem(t)}},{key:"retryPendingItem",value:function(t){this.pendingItemsService.retryPendingItem(t)}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&(this.videosWithMetadata=new p.a(this.videoCollection.map((function(t){return new u.a({id:t.get("id")})}))))}},{key:"renderBanner",value:function(){var t=new j({model:this.model,channelName:this.channelName,imageCdnUrl:this.config.get("imageCdnUrl")});this.showChildView("banner",t)}},{key:"renderChildFolders",value:function(){if(this.folderWithChildren&&this.folderWithChildren.children&&this.folderWithChildren.children.length){var t=new ct({collection:this.folderWithChildren.children});this.showChildView("childFolders",t)}}},{key:"renderHeader",value:function(){this.showChildView("header",new Yt({collection:this.videoCollection,libraries:this.libraryCollection,folder:this.model instanceof s.a&&this.model,application:f.b.LIBRARY_EDITOR,action:this.appLinkAction(),allowBulk:this.allowBulk(),collectionIdentifier:this.collectionIdentifier,analyticsOptions:this.options.analyticsOptions}))}},{key:"renderVideoList",value:function(){var t=new y.a({collection:this.videoCollection,videosWithMetadata:this.videosWithMetadata,application:f.b.LIBRARY_EDITOR,allowBulk:this.allowBulk(),collectionIdentifier:this.collectionIdentifier,config:this.config,pendingItems:this.pendingItemsService.getPendingItems(),videoItemComponentType:this.componentType,emptyStateType:this.emptyStateType(),emptyStateOptions:this.emptyStateOptions(),supportSiteUrl:this.config.get("supportSiteUrl"),collectionViewChannel:this.channelName,customerHasLocalCache:h.i.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),analyticsOptions:this.options.analyticsOptions,sourceMetadataOptions:{showFolder:this.showFolderSource()},videoCollectionSource:this.getVideoCollectionSource()});this.showChildView("videoList",t)}},{key:"renderPagination",value:function(){var t=this.videoDataService.getVideoCollectionCursors(this.collectionIdentifier),e=new l.a({cursors:t,collectionId:this.options.collectionIdentifier.id,appLink:{application:f.b.LIBRARY_EDITOR,action:this.appLinkAction(),args:[this.collectionIdentifier.id],params:this.collectionIdentifier.toParams()},analyticsOptions:this.options.analyticsOptions});this.showChildView("pagination",e)}},{key:"fetchData",value:function(){this.fetchModel(),this.devices=this.localCacheDataService.getDevices(this.currentUser.get("customerId")),this.fetchVideoCollection()}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.videoCollection&&(this.setVideosWithMetadata(),!!this.model)}},{key:"onRender",value:function(){this.renderBanner(),this.renderChildFolders(),this.renderHeader(),this.renderVideoList(),this.renderPagination()}},{key:"title",get:function(){return!!this.model&&this.model.get("name")}},{key:"template",get:function(){return zt.a}},{key:"className",get:function(){return"bg-white"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"requiredResources",get:function(){return{config:g.b.config,currentUser:b.b.currentUser,libraryCollection:k.b.libraries,exchanges:k.b.exchanges}}}]),n}(o.a.View),ie=function(t){Zt(n,t);var e=te(n);function n(){return Jt(this,n),e.apply(this,arguments)}return Qt(n,[{key:"bindListeners",value:function(){this.listenTo(f.e.LIBRARY,"".concat(f.f.FOLDER,":").concat(this.options.collectionIdentifier.id,":sync libraries:sync"),this.render),this.listenTo(f.e.LIBRARY,"".concat(f.f.FOLDER,":").concat(this.options.collectionIdentifier.id,":error"),this.onError),this.listenTo(f.e.LIBRARY,"".concat(f.f.UPDATE_FOLDER_BANNER,":").concat(this.options.collectionIdentifier.id,":sync"),this.fetchModel),Gt(ne(n.prototype),"bindListeners",this).call(this)}},{key:"onError",value:function(t){switch(t.type){case c.a.Forbidden:o.a.ErrorHelper.throw(new Wt.e);break;case c.a.NotFound:o.a.ErrorHelper.throw(new Wt.d)}}},{key:"appLinkAction",value:function(){return f.a.LibraryEditor.FOLDER}},{key:"allowBulk",value:function(){return!0}},{key:"emptyStateType",value:function(){return d.c.Folder}},{key:"emptyStateOptions",value:function(){return{heading:r.a.getPhrase(this.lang,"emptyStateHeading"),description:r.a.getPhrase(this.lang,"emptyStateInfo",{url:a.a.safeUrlConcat(this.config.get("supportSiteUrl"),f.y.ADD_FROM_ONLINE),classNames:"info-link"})}}},{key:"showFolderSource",value:function(){return!1}},{key:"getVideoCollectionSource",value:function(){return v.e.Folder}},{key:"fetchModel",value:function(){this.model=this.libraryDataService.getFolder(this.collectionIdentifier.id)}},{key:"fetchVideoCollection",value:function(){this.videoCollection=this.videoDataService.getCollectionVideos(this.collectionIdentifier)}},{key:"onBeforeRender",value:function(){return this.folderWithChildren=h.f.getModelFromCollection(this.collectionIdentifier.id,this.libraryCollection),this.folderWithChildren.children&&this.listenTo(this.folderWithChildren.children,"add remove",this.render),Gt(ne(n.prototype),"onBeforeRender",this).call(this)}},{key:"name",get:function(){return"FolderView"}},{key:"lang",get:function(){return"libraryEditor.folderView"}},{key:"componentType",get:function(){return m.b.Draggable}}]),n}(oe),re=function(t){Zt(n,t);var e=te(n);function n(){return Jt(this,n),e.apply(this,arguments)}return Qt(n,[{key:"initialize",value:function(){this.seriesDataService=i.a.getInstance(f.g.Series,this),Gt(ne(n.prototype),"initialize",this).call(this)}},{key:"bindListeners",value:function(){this.listenTo(f.e.SERIES,"".concat(f.f.SERIES,":").concat(this.options.collectionIdentifier.id,":sync"),this.render),this.listenTo(f.e.SERIES,"".concat(f.f.SERIES,":").concat(this.options.collectionIdentifier.id,":error"),this.onError),Gt(ne(n.prototype),"bindListeners",this).call(this)}},{key:"onError",value:function(t){switch(t.type){case c.a.NotFound:o.a.ErrorHelper.throw(new Wt.k)}}},{key:"appLinkAction",value:function(){return f.a.LibraryEditor.SERIES}},{key:"allowBulk",value:function(){return!1}},{key:"emptyStateType",value:function(){return d.c.Series}},{key:"emptyStateOptions",value:function(){return{heading:r.a.getPhrase(this.lang,"emptyStateHeading"),description:r.a.getPhrase(this.lang,"emptyStateInfo",{url:a.a.safeUrlConcat(this.config.get("supportSiteUrl"),f.y.ADD_FROM_ONLINE),classNames:"info-link"})}}},{key:"showFolderSource",value:function(){return!0}},{key:"getVideoCollectionSource",value:function(){return v.e.Series}},{key:"fetchModel",value:function(){this.model=this.seriesDataService.getSeries(this.collectionIdentifier.id)}},{key:"fetchVideoCollection",value:function(){this.videoCollection=this.videoDataService.getSeriesVideos(this.collectionIdentifier,this.libraryCollection.pluck("id"))}},{key:"name",get:function(){return"SeriesView"}},{key:"lang",get:function(){return"libraryEditor.seriesView"}},{key:"componentType",get:function(){return m.b.Base}}]),n}(oe)},670:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(1),i=n(2),r=n(4),a=n(39),c=n(671),l=n.n(c);class s extends i.a.Component{constructor(t){super(t)}get defaults(){return{cursors:{},cursorParamName:"cursor"}}get name(){return"PaginationComponent"}get template(){return l.a}get lang(){return"shared._pagination"}get appLinks(){const t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){let e=this.options.cursors.previous;const n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}events(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}buildCursor(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,{[this.options.cursorParamName]:t})}}onClickPrevious(){this.logAction("previous")}onClickNext(){this.logAction("next")}logAction(t){const e=a.a.mergeOptions(this.options.analyticsOptions,{location:r.k.Pagination,entity:r.e.Pagination,actionType:r.q.Navigate,workflowPhase:r.r.Complete}),n={id:this.options.collectionId,page:t};a.a.logUserAction(n,e)}viewOptions(){return{cursors:this.options.cursors}}onBeforeRender(){return!!this.options.cursors}}},671:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,l=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+l((n.lang||e&&e.lang||c).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+l((n.lang||e&&e.lang||c).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},679:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),i=n(7),r=n(2),a=n(91);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 l(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 u(t,e){return(u=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=h(t);if(e){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}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 h(t){return(h=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&&u(t,e)}(p,t);var e,n,r,c=f(p);function p(){return l(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){i.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===i.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),r&&s(e,r),p}(r.a.Behavior)},684:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var o=n(1),i=n(7),r=n(2),a=n(13),c=n(0),l=n(683),s=n(691),u=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 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 d(t,e){return(d=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 i=g(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return m(this,n)}}function m(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 b=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,r,s=y(f);function f(){return p(this,f),s.apply(this,arguments)}return e=f,(n=[{key:"getClassMappings",value:function(){return{"ui-draggable":l.c.draggable,"ui-draggable-handle":l.c.handle,"ui-draggable-disabled":l.c.disabled,"ui-draggable-dragging":l.c.dragging}}},{key:"helper",value:function(){return new l.b({text:this.view.model.get("name"),svg:a.a.getSvg(a.b.Folder)}).render().el}},{key:"start",value:function(){i.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(u.a.draggingFolder)}},{key:"stop",value:function(){i.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(u.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({},l.a,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&h(e.prototype,n),r&&h(e,r),f}(r.a.Behavior)},690:function(t,e,n){"use strict";var o=n(2),i=n(13),r=n(54),a=n(4),c=n(39),l=n(657),s=n(0),u=n(3),f=n(692),p=n.n(f);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 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 y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(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 i=b(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(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 b(t){return(b=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&&y(t,e)}(f,t);var e,n,i,r=m(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),r.call(this,t)}return e=f,(n=[{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:u.a.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"rename"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Rename,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"move"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Move,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"editImages"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.EditAssoc,entity:a.e.Folder,workflowPhase:a.r.Start,descriptor:a.a.Image}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"remove"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Delete,entity:a.e.Folder,workflowPhase:a.r.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 l.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),i&&d(e,i),f}(o.a.Component),k=n(693),w=n.n(k),O=n(694),S=n.n(O);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 E(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 C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(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=D(t);if(e){var i=D(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(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 D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return P}));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&&C(t,e)}(c,t);var e,n,o,a=_(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 r.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 r.a,dropdownClass:"".concat(S.a.dropdownButton," ").concat(this.options.buttonClass),svg:i.a.getSvg(i.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 r.a)return"position-absolute ".concat(S.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}},{key:"template",get:function(){return w.a}}])&&E(e.prototype,n),o&&E(e,o),c}(o.a.Component)},691:function(t,e,n){t.exports={dragging:"_2wBn3",draggingFolder:"_1r3AS"}},692:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="items-region"></div>'},useData:!0})},693:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(r=null!=e?e.options:e)?r.dropdownClass:r,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.svg:r,e))?r:"")+'\r\n</span>\r\n<div class="items-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hasActions:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:""},useData:!0})},694:function(t,e,n){t.exports={dropdownContainer:"_2F3Cz",dropdownButton:"_2TdId"}},733:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},734:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+"\r\n"},3:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<a class="info-link">'+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.isActive:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.program(3,i,0),data:i}))?r:""},useData:!0})},782:function(t,e,n){"use strict";var o=n(2),i=n(733),r=n.n(i),a=n(734),c=n.n(a);function l(t){return(l="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){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 f(t,e,n){return e&&u(t.prototype,e),n&&u(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&&h(t,e)}function h(t,e){return(h=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=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(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 g=function(t){p(n,t);var e=d(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,[{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}},{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return c.a}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var t="breadcrumb-item";return this.model.get("active")&&(t+=" active"),t}},{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}(o.a.Component),b=function(t){p(n,t);var e=d(n);function n(){return s(this,n),e.apply(this,arguments)}return f(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}(o.a.ComponentCollection),v=n(34),k=n(0);function w(t){return(w="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 O(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 R(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 i=C(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==w(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)}n.d(e,"a",(function(){return _}));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&&S(t,e)}(c,t);var e,n,i,a=R(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:"initialize",value:function(){this.getBreadcrumbs()}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"getBreadcrumbs",value:function(){this.breadcrumbCollection=new o.a.Collection;var t,e=this.options.folder;do{if(t=v.a.getParent(e.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(e,!!t),{at:0}),!t)break;e=t}while(t);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:k.b.LIBRARY_EDITOR,action:k.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(t,e){var n=e?k.a.LibraryEditor.FOLDER:k.a.LibraryEditor.LIBRARY;return{name:t.get("name"),appLink:{application:k.b.LIBRARY_EDITOR,action:n,args:[t.id]}}}},{key:"onRender",value:function(){var t=new b({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",t)}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return r.a}},{key:"className",get:function(){return"d-inline-block"}}])&&O(e.prototype,n),i&&O(e,i),c}(o.a.Component)},835:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<h1 class="text-white position-absolute m-0">\r\n '+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+'\r\n</h1>\r\n<div class="options-region"></div>'},useData:!0})},836:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,c=t.lambda,l=t.escapeExpression,s=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing;return'<div class="rounded p-2 text-dark position-relative ui-block '+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folderBlock:r,e))+'">\r\n <a class="text-dark text-truncate d-block pr-4 font-weight-bold '+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folder:r,e))+'" title="'+l("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:u)?a.call(s,{name:"name",hash:{},data:i}):a)+'">\r\n <span class="'+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folderIcon:r,e))+' d-inline-block position-absolute">\r\n '+(null!=(r=c(null!=(r=null!=e?e.options:e)?r.svg:r,e))?r:"")+"\r\n </span>\r\n "+l("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:u)?a.call(s,{name:"name",hash:{},data:i}):a)+'\r\n </a>\r\n <span class="actions-region"></div>\r\n</div>\r\n'},useData:!0})},837:function(t,e,n){t.exports={folderIcon:"_3yOKC",folder:"_1mL-8",folderBlock:"_3Z20g",actions:"_1NQjU"}},838:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="subfolders-region"></div>'},useData:!0})},839:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"pl-2"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<div class="d-inline-flex justify-content-start">\r\n <div class="check-all-region d-inline-flex align-items-center"></div>\r\n <div class="bulk-actions-region"></div>\r\n <div class="breadcrumbs-region d-inline-flex align-items-center '+(null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.showBulkActions:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'"></div>\r\n</div>\r\n<div class="sorting-region"></div>\r\n'},useData:!0})},840:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;return'<button class="dropdown-toggle btn btn-light" type="button" id="bulkActions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"options",{name:"lang",hash:{},data:i}))+'\r\n</button>\r\n<div class="dropdown-menu-region"></div>'},useData:!0})},841:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<button class="dropdown-toggle form-control text-left cursor-pointer" type="button" id="sortSelectButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+'\r\n</button>\r\n<div class="dropdown-menu-region"></div>'},useData:!0})},842:function(t,e,n){t.exports={sortSelect:"_3o-cY",sortSelectDropdown:"_3O1cI"}},843:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="banner-region"></div>\r\n<div class="child-folders-region"></div>\r\n<div class="header-region"></div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>'},useData:!0})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[15],{1050:function(e,t,r){"use strict";r.r(t),r.d(t,"DownloadVideoView",(function(){return p}));var n=r(2),a=r(69),i=r(119),o=r(5),u=r(0),s=r(660);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 f(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=m(e);if(t){var a=m(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return g(this,r)}}function g(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 m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(g,e);var t,r,n,c=l(g);function g(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,g),c.call(this,e)}return t=g,(r=[{key:"initialize",value:function(){this.downloadProxyDataService=o.a.getInstance(u.g.DownloadProxy,this)}},{key:"cancelScrollTop",value:function(){o.a.getInstance(a.a.SCROLL).cancelScrollTop()}},{key:"onBeforeRender",value:function(){var e=this;this.cancelScrollTop(),this.downloadProxyDataService.createDownloadToken(this.options.videoId,(function(t){var r=s.b.getVideoDownloadUrl(e.config.get("downloadProxy"),t.get("token"));e.$el.attr("src",r)}))}},{key:"name",get:function(){return"DownloadVideoView"}},{key:"title",get:function(){return!1}},{key:"tagName",get:function(){return"iframe"}},{key:"template",get:function(){return"<div></div>"}},{key:"requiredResources",get:function(){return{config:i.b.config}}}])&&f(t.prototype,r),n&&f(t,n),g}(n.a.View)},653:function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"k",(function(){return g})),r.d(t,"g",(function(){return h})),r.d(t,"e",(function(){return p})),r.d(t,"j",(function(){return b})),r.d(t,"i",(function(){return P})),r.d(t,"c",(function(){return w})),r.d(t,"b",(function(){return E})),r.d(t,"d",(function(){return x})),r.d(t,"f",(function(){return v})),r.d(t,"h",(function(){return y}));var n=r(2),a=r(1),i=r(16),o=r(23),u=r(3),s="libraryEditor.utils",c=["tags","thumbnail","chapters","resources","subtitles","disabled","links","restrictions","categories"];function f(e,t){if(e){var r=a.reduce(e,(function(e,r,n){var i=t[n];return r||i?a.isObject(r)&&a.isObject(i)&&!a.isUndefined(r.id)&&r.id===i.id?e:a.isArray(r)?d(r,i).length?e.concat(n):e:a.isEqual(r,i)?e:e.concat(n):e}),[]);if(r.length)return a.object(a.map(r,(function(r){return a.isArray(t[r])?[r,d(e[r],t[r])]:[r,t[r]]})))}}function d(e,t){var r=[];return a.each(t,(function(t){var n=a.findWhere(e,{id:t.id});if(!a.isUndefined(n)||0!==Object.keys(t).length){var i=a.isUndefined(n)?t:f(n,t);i&&(t.id<0&&!t.value||(!n||t.id<0?r.push(t):(i.id=t.id,r.push(i))))}})),r}var l={getChanges:function(e,t){var r=f(a.omit(e.toJSON(),c),a.omit(t.toJSON(),c));if(r)return a.object(a.map(a.keys(r),(function(e){return[e,l.formatChanges(e,r[e])]})))},formatChanges:function(e,t){if(!t)return null;if(a.isObject(t)&&a.isEmpty(t))return null;switch(e){case"name":case"description":case"productionYear":case"dateBroadcast":case"fields":case"episodeNumber":return t;case"channel":case"series":case"rating":case"season":return{id:t.id};case"distributors":case"producers":case"directors":case"productionCompanies":return a.map(t,(function(e){return e.id}));case"dateModified":case"hasBroadcast":return;default:n.a.ErrorHelper.throw(new i.a("There are no formatting settings for ".concat(e)))}},updateModelState:function(e,t,r){var i=["distributors","producers","directors","productionCompanies"];for(var o in a.each(a.keys(r),(function(e){i.includes(e)&&(r[e]=t.get(e).toJSON())})),t.set(a.clone(r),{silent:!0}),e.set(t.toJSON(),{silent:!0}),r){if(!r[o]&&e.associations[o]){var u=e.get(o);(u instanceof n.a.Model||u instanceof n.a.NestedModel)&&u.clear()}}},getRemovedObjectIds:function(e,t){var r=["distributors","productionCompanies","producers","directors"],n={};return a.each(a.keys(e.toJSON()),(function(i){if(a.contains(r,i)){var o=e.get(i).map((function(e){return e.id})),u=t.get(i).map((function(e){return e.id})),s=a.filter(o,(function(e){return!a.contains(u,e)}));s.length&&(n[i]=s)}})),n}},g={name:[{required:!0,msg:function(){return u.a.getPhrase(s,"videoTitleRequired")}},{maxLength:255,msg:function(){return u.a.getPhrase(s,"videoTitleExceeds")}}],description:[{required:!1},{maxLength:65535,msg:function(){return u.a.getPhrase(s,"videoDescriptionExceeds")}}],episodeNumber:function(e,t,r){return e&&e<1?u.a.getPhrase(s,"episodeNumberLessThanOne"):e&&e>2147483647?u.a.getPhrase(s,"episodeNumberExceeds"):e%1!=0?u.a.getPhrase(s,"episodeNumberNotWhole"):r.season&&r.season.get("number")>=0&&null===e?u.a.getPhrase(s,"episodeNumberNoSeason"):""},season:function(e,t,r){return r.season&&r.season.get("number")||e&&e.number||!r.episodeNumber?"":u.a.getPhrase(s,"seasonNoEpisodeNumber")}},m=o().year(),p={productionYear:function(e,t,r){return e||0===e?(e=+e,isNaN(e)?"Production year must be a number.":e<1900||e>m?u.a.getPhrase(s,"validProductionYears",{currentYear:m}):void 0):""}},h={name:[{required:!0,msg:function(){return u.a.getPhrase(s,"resourceNameRequired")}}]},b={suggestion:[{required:!0,msg:function(){return u.a.getPhrase(s,"suggestEditRequired")}},{maxLength:65535,msg:function(){return u.a.getPhrase(s,"suggestEditExceeds")}}],reason:[{required:!0,msg:function(){return u.a.getPhrase(s,"suggestEditReasonRequired")}},{maxLength:65535,msg:function(){return u.a.getPhrase(s,"suggestEditReasonExceeds")}}]},y={number:function(e,t,r){return e?+e<1?u.a.getPhrase(s,"seasonLessThanOne"):+e>255?u.a.getPhrase(s,"seasonExceeds"):+e%1!=0?u.a.getPhrase(s,"seasonNotWhole"):"":u.a.getPhrase(s,"seasonRequired")}},P={empty:function(){return u.a.getPhrase(s,"suggestEditRatingRequired")},original:function(){return u.a.getPhrase(s,"suggestEditRatingInvalid")}},v={url:[{required:!0,pattern:"url",msg:function(){return u.a.getPhrase(s,"linkUrlRequired")}},{maxLength:65535,msg:function(){return u.a.getPhrase(s,"linkUrlExceeds")}}],name:[{required:!0,msg:function(){return u.a.getPhrase(s,"linkNameRequired")}},{maxLength:255,msg:function(){return u.a.getPhrase(s,"linkNameExceeds")}}]},w={name:[{maxLength:128,msg:function(){return u.a.getPhrase(s,"fieldNameExceeds")}}],value:[{maxLength:16e3,msg:function(){return u.a.getPhrase(s,"fieldValueExceeds")}}]},E={fields:function(e){return e&&e.length?e.all((function(e){return!1!==e.isValid()}))?"":u.a.getPhrase(s,"fieldsInvalid"):""}};function x(){return[{id:-1,name:"Admin Notes",value:"",placeholder:"Notes that only admins will see"}]}},654:function(e,t,r){"use strict";r.d(t,"a",(function(){return f}));var n=r(1),a=r(34),i=r(106),o=r(3),u="libraryEditor.utils",s={name:[{required:!0,msg:function(){return o.a.getPhrase(u,"folderNameRequired")}},{maxLength:255,msg:function(){return o.a.getPhrase(u,"folderNameExceeds")}}]},c=function(e,t){return{parentId:function(r){return r?a.a.calculateDestinationFolderDepth(e,r,t)>i.a.MAX_FOLDER_DEPTH?o.a.getPhrase(u,"maxFolderDepth",{maxDepth:i.a.MAX_FOLDER_DEPTH}):"":o.a.getPhrase(u,"selectParentFolder")}}},f=function(e){var t=e.validateName,r=e.validateParent,a=e.folder,i=e.collection;return t&&r?n.extend({},s,c(a,i)):t?s:r?c(a,i):void 0}},655:function(e,t,r){"use strict";r.d(t,"a",(function(){return d}));var n=r(13),a=r(3),i=r(118),o=r(665),u=r(6);function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c,f="libraryEditor.utils";!function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(c||(c={}));var d={mapRatingToClass:function(e){if(!e)return"";return function(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:function(e){switch(e.get("type")){case u.h.HostedLibrary:case u.h.CustomLibrary:return e.get("name");case u.h.Exchange:return a.a.getPhrase(f,"exchange");case u.h.Workspace:return a.a.getPhrase(f,"workspace");default:return""}},mapSourceToClass:function(e){switch(e){case u.h.HostedLibrary:case u.h.CustomLibrary:return"bg-info";case u.h.Exchange:return"bg-success";case u.h.Workspace:default:return"bg-danger"}},isInteractive:function(e){return!(!e||!e.interactives)&&!!e.interactives.length},mapTypeToSvg:function(e){var t,r=(s(t={},c.Pdf,n.b.FilePDF),s(t,c.Image,n.b.FileImg),s(t,c.PowerPoint,n.b.FilePowerpoint),s(t,c.Document,n.b.FileWord),s(t,c.Excel,n.b.FileExcel),s(t,c.Zip,n.b.FileZip),s(t,c.File,n.b.File),t)[e];return r||(r=n.b.Folder),n.a.getSvg(r)},mapTypeToClass:function(e){switch(e){case c.Pdf:return"icon-red";case c.Image:return"icon-purple";case c.Document:return"icon-blue";case c.Excel:return"icon-green";case c.PowerPoint:return"icon-orange";case c.Zip:return"icon-teal";case c.File:return"icon-gray";default:return""}},mapTypeToExtension:function(e){if(!e)return"";return{pdf:"pdf",image:"png",powerpoint:"pptx"}[e.toLowerCase()]},mapTypeToName:function(e){if(!e)return"";switch(e){case c.Pdf:return a.a.getPhrase(f,"pdf");case c.Image:return a.a.getPhrase(f,"image");case c.Document:return a.a.getPhrase(f,"document");case c.Excel:return a.a.getPhrase(f,"spreadsheet");case c.PowerPoint:return a.a.getPhrase(f,"presentation");case c.Zip:return a.a.getPhrase(f,"zipArchive");case c.File:return a.a.getPhrase(f,"file");default:return""}},translateMetadataCollectionNames:function(e){return new o.a(e.map((function(e){return Object.assign(Object.assign({},e.toJSON()),{name:d.translateMetadataName(e.get("name"))})})))},translateMetadataName:function(e){var t="suggestEdit";switch(e){case i.e.VideoTitle:t+="VideoTitle";break;case i.e.Description:t+="Description";break;case i.e.Rating:t+="Rating";break;case i.e.SeriesTitle:t+="SeriesTitle";break;case i.e.Season:t+="SeasonNumber";break;case i.e.EpisodeNumber:t+="EpisodeNumber";break;case i.e.BroadcastDate:t+="BroadcastDate";break;case i.e.Channel:t+="Channel";break;case i.e.ProductionYear:t+="ProductionYear";break;case i.e.Distributors:t+="Distributors";break;case i.e.ProductionCompanies:t+="ProductionCompanies";break;case i.e.Directors:t+="Directors";break;case i.e.Producers:t+="Producers";break;case i.e.Other:t+="Other"}return a.a.getPhrase(f,t)}}},656:function(e,t,r){"use strict";r.d(t,"a",(function(){return i}));var n=r(3),a="libraryEditor.utils",i={name:[{required:!0,msg:function(){return n.a.getPhrase(a,"libraryNameRequired")}},{maxLength:255,msg:function(){return n.a.getPhrase(a,"libraryNameExceeds")}}]}},658:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(1),a=r(11),i=r(3),o="libraryEditor.utils",u={isValidChapterTime:function(e,t,r,i){if(i){if(!n.isNumber(t))return s.StartTime.Invalid();if(t<0)return s.StartTime.Invalid();if(t>a.w.millisecondsToSeconds(r))return s.StartTime.Exceeds();if(i.some((function(r){return!(r.id&&r.id===e.id||r.cid===e.cid)&&r.get("startTime")===t})))return s.StartTime.Exists()}},isValidChapterName:function(e,t,r){return t?t.length>255?s.Name.MaxLength():r.some((function(r){return!(r.id&&r.id===e.id||r.cid===e.cid)&&r.get("name").trim()===t.trim()}))?s.Name.Exists():n.isEmpty(t.trim())?s.Name.Invalid():void 0:s.Name.Invalid()},mapPhysicalChapters:function(e){var t=0;return n.map(e,(function(e,r){var n={name:e.title,startTime:t,index:r,isPhysicalChapter:!0};return t+=e.duration,n}))}},s={Name:{Invalid:function(){return i.a.getPhrase(o,"chapterNameInvalid")},Exists:function(){return i.a.getPhrase(o,"chapterNameExists")},MaxLength:function(){return i.a.getPhrase(o,"chapterNameExceeds")}},StartTime:{Invalid:function(){return i.a.getPhrase(o,"chapterStartTimeInvalid")},Exists:function(){return i.a.getPhrase(o,"chapterStartTimeExists")},Exceeds:function(){return i.a.getPhrase(o,"chapterStartTimeExceeds")}}}},659:function(e,t,r){"use strict";r.d(t,"a",(function(){return u}));var n=r(23),a=r(3),i=r(653),o="libraryEditor.utils",u=(n().year(),{name:[{required:!0,msg:function(){return a.a.getPhrase(o,"videoTitleRequired")}}],folderId:[{required:!0,msg:function(){return a.a.getPhrase(o,"uploadFolderRequired")}}],libraryId:[{required:!0,msg:"Please select an upload library"}],episodeNumber:function(e,t,r){return e&&e<1?"Videos cannot have an episode number less than 1":e&&e>255?"Videos cannot have an episode number greater than 255":e&&e%1!=0?"Episode numbers can only be whole numbers":r.season&&r.season.get("number")>=0&&null===e?"Videos with a season must also have an episode number":""},season:function(e,t,r){return r.season&&r.season.get("number")||e&&e.number||!r.episodeNumber?"":"Videos with an episode number must also have a season"},productionYear:function(){return i.e.productionYear.apply(null,arguments)}})},660:function(e,t,r){"use strict";var n=r(658),a=r(653),i=(r(654),r(3),r(656)),o=(r(659),r(655)),u=r(58),s={getVideoDownloadUrl:function(e,t){return u.a.safeUrlConcat(u.a.makeHttps(e),"/download?token=".concat(t))}};r.d(t,"a",(function(){return n.a})),r.d(t,"e",(function(){return a.g})),r.d(t,"h",(function(){return a.j})),r.d(t,"g",(function(){return a.i})),r.d(t,"d",(function(){return a.f})),r.d(t,"f",(function(){return a.h})),r.d(t,"c",(function(){return i.a})),r.d(t,"i",(function(){return o.a})),r.d(t,"b",(function(){return s}))},665:function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){return(i=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 r,n=s(e);if(t){var a=s(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return u(this,r)}}function u(e,t){return!t||"object"!==n(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}r.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&&i(e,t)}(r,e);var t=o(r);function r(){return a(this,r),t.apply(this,arguments)}return r}(r(2).a.Collection)}}]);
|