@clickview/library-editor 1.1.27-rc.0 → 1.1.27-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1098) hide show
  1. package/dist/css/library-editor-app.css +7 -0
  2. package/dist/en.json +1 -1
  3. package/dist/scripts/0-50fae6c404.chunk.js +1 -0
  4. package/dist/scripts/1-35adeca043.chunk.js +1 -0
  5. package/dist/scripts/10-e3de119a32.chunk.js +1 -0
  6. package/dist/scripts/{11-cbe69fa3f0.chunk.js → 11-c1c04528d4.chunk.js} +1 -1
  7. package/dist/scripts/12-fdb4fd076b.chunk.js +1 -0
  8. package/dist/scripts/13-b71e7a002a.chunk.js +1 -0
  9. package/dist/scripts/14-be81c6b0a6.chunk.js +1 -0
  10. package/dist/scripts/15-bbe23da473.chunk.js +1 -0
  11. package/dist/scripts/{16-42f9f38a5b.chunk.js → 16-45b853d9bc.chunk.js} +1 -1
  12. package/dist/scripts/{17-b1675f5397.chunk.js → 17-17e648d740.chunk.js} +1 -1
  13. package/dist/scripts/{2-cfce7347b3.chunk.js → 2-0c5c3204bb.chunk.js} +1 -1
  14. package/dist/scripts/20-fc03a8058d.chunk.js +1 -0
  15. package/dist/scripts/21-bf788bdc47.chunk.js +1 -0
  16. package/dist/scripts/22-c309ac8872.chunk.js +1 -0
  17. package/dist/scripts/23-4e4a6eef7f.chunk.js +1 -0
  18. package/dist/scripts/24-3dbcc6079d.chunk.js +1 -0
  19. package/dist/scripts/25-8f6c37473c.chunk.js +1 -0
  20. package/dist/scripts/26-e7665934ea.chunk.js +1 -0
  21. package/dist/scripts/27-ece4a707c2.chunk.js +1 -0
  22. package/dist/scripts/28-f7b0b6ca0a.chunk.js +1 -0
  23. package/dist/scripts/29-7b0d55eef4.chunk.js +1 -0
  24. package/dist/scripts/{3-34f154b85d.chunk.js → 3-c977fc76a1.chunk.js} +1 -1
  25. package/dist/scripts/30-07198d4b80.chunk.js +1 -0
  26. package/dist/scripts/31-558e4b9448.chunk.js +1 -0
  27. package/dist/scripts/{32-db0c763740.chunk.js → 32-66bedea19f.chunk.js} +1 -1
  28. package/dist/scripts/{33-b9fef236ae.chunk.js → 33-1c0a05f5ad.chunk.js} +1 -1
  29. package/dist/scripts/34-0261454401.chunk.js +1 -0
  30. package/dist/scripts/35-80afabad2f.chunk.js +1 -0
  31. package/dist/scripts/36-0945816998.chunk.js +1 -0
  32. package/dist/scripts/{37-e6d9fbefd1.chunk.js → 37-f9eaead96b.chunk.js} +1 -1
  33. package/dist/scripts/{38-0c6051fb45.chunk.js → 38-ee287180e0.chunk.js} +1 -1
  34. package/dist/scripts/{39-5fffd05811.chunk.js → 39-875e8edab4.chunk.js} +1 -1
  35. package/dist/scripts/{4-2a04f5b2b3.chunk.js → 4-30febbcd74.chunk.js} +1 -1
  36. package/dist/scripts/{40-5d3d9611b5.chunk.js → 40-9e6fe972eb.chunk.js} +1 -1
  37. package/dist/scripts/{41-f3b2533950.chunk.js → 41-8e127683ef.chunk.js} +1 -1
  38. package/dist/scripts/{42-075fbbf19d.chunk.js → 42-26e2b69676.chunk.js} +1 -1
  39. package/dist/scripts/{43-205ccfa9a4.chunk.js → 43-cd5d61f503.chunk.js} +1 -1
  40. package/dist/scripts/{44-4be8465afa.chunk.js → 44-50adae17aa.chunk.js} +1 -1
  41. package/dist/scripts/{45-541254a177.chunk.js → 45-d6cc086a40.chunk.js} +1 -1
  42. package/dist/scripts/{46-fe575b6c9f.chunk.js → 46-c3131aa1a1.chunk.js} +1 -1
  43. package/dist/scripts/{47-18d84f7b83.chunk.js → 47-53cc918c2d.chunk.js} +1 -1
  44. package/dist/scripts/{48-40adeb652e.chunk.js → 48-e37164e96c.chunk.js} +1 -1
  45. package/dist/scripts/49-f18c7b7f2d.chunk.js +1 -0
  46. package/dist/scripts/5-ae2739be4b.chunk.js +1 -0
  47. package/dist/scripts/{50-8cc4935ea5.chunk.js → 50-77cc32280d.chunk.js} +1 -1
  48. package/dist/scripts/{51-cd80402e6e.chunk.js → 51-718582f5a0.chunk.js} +1 -1
  49. package/dist/scripts/{52-7e11748c73.chunk.js → 52-8bab7f4183.chunk.js} +1 -1
  50. package/dist/scripts/{53-e807e56657.chunk.js → 53-051f6fefda.chunk.js} +1 -1
  51. package/dist/scripts/{54-265c2852ce.chunk.js → 54-54ab674027.chunk.js} +1 -1
  52. package/dist/scripts/{55-68bef0b859.chunk.js → 55-5620cb1984.chunk.js} +1 -1
  53. package/dist/scripts/{56-f52cc13b44.chunk.js → 56-d515b7881b.chunk.js} +1 -1
  54. package/dist/scripts/{57-77549e4856.chunk.js → 57-34cc7eeda7.chunk.js} +1 -1
  55. package/dist/scripts/{58-3f44c0ba1a.chunk.js → 58-095cc86c38.chunk.js} +1 -1
  56. package/dist/scripts/{59-bf231da287.chunk.js → 59-88d4d70542.chunk.js} +1 -1
  57. package/dist/scripts/6-64fc0b404b.chunk.js +1 -0
  58. package/dist/scripts/{60-c6a9325b5e.chunk.js → 60-8e040e4d8f.chunk.js} +1 -1
  59. package/dist/scripts/{61-5fe4279f6d.chunk.js → 61-9acfcad39c.chunk.js} +1 -1
  60. package/dist/scripts/{62-ff1c8453b6.chunk.js → 62-ab4cf2e18e.chunk.js} +1 -1
  61. package/dist/scripts/{63-47a43e2399.chunk.js → 63-be24981a1c.chunk.js} +1 -1
  62. package/dist/scripts/{64-398f9ac217.chunk.js → 64-2acf78f1d5.chunk.js} +1 -1
  63. package/dist/scripts/{65-d75308a09e.chunk.js → 65-37aed4a31d.chunk.js} +1 -1
  64. package/dist/scripts/{66-ec32c5588a.chunk.js → 66-bb4cde602a.chunk.js} +1 -1
  65. package/dist/scripts/{67-6805e53bfb.chunk.js → 67-04c0737fd2.chunk.js} +1 -1
  66. package/dist/scripts/{68-046ada4945.chunk.js → 68-436667d096.chunk.js} +1 -1
  67. package/dist/scripts/{69-235a8e6754.chunk.js → 69-4dd38a6827.chunk.js} +1 -1
  68. package/dist/scripts/{7-55f3aed0f4.chunk.js → 7-5194b748c8.chunk.js} +1 -1
  69. package/dist/scripts/{70-150be3f4a2.chunk.js → 70-d52ccba56d.chunk.js} +1 -1
  70. package/dist/scripts/{71-c63b7a2a30.chunk.js → 71-b7f95045b5.chunk.js} +1 -1
  71. package/dist/scripts/{72-53bdb8c37f.chunk.js → 72-b1eb475df0.chunk.js} +1 -1
  72. package/dist/scripts/{8-94205353a6.chunk.js → 8-d2d772bc05.chunk.js} +1 -1
  73. package/dist/scripts/9-160db7db67.chunk.js +1 -0
  74. package/dist/scripts/bundle-9b7e0bee97.min.js +8 -0
  75. package/dist/scripts/bundles.json +2 -2
  76. package/dist/scripts/polyfills-292fbd05c8.min.js +1 -0
  77. package/package.json +3 -3
  78. package/dist/libs/analytics/src/Analytics.d.ts +0 -10
  79. package/dist/libs/analytics/src/AnalyticsHelper.d.ts +0 -30
  80. package/dist/libs/analytics/src/AnalyticsService.d.ts +0 -52
  81. package/dist/libs/analytics/src/clients/BaseAnalyticsClient.d.ts +0 -24
  82. package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +0 -48
  83. package/dist/libs/analytics/src/clients/DebuggerClient.d.ts +0 -7
  84. package/dist/libs/analytics/src/clients/GoogleAnalyticsClient.d.ts +0 -22
  85. package/dist/libs/analytics/src/constants/ApplicationOptionsKey.d.ts +0 -1
  86. package/dist/libs/analytics/src/constants/CountryRegionMapping.d.ts +0 -7
  87. package/dist/libs/analytics/src/constants/EventFirehose.d.ts +0 -4
  88. package/dist/libs/analytics/src/constants/GlobalChannels.d.ts +0 -3
  89. package/dist/libs/analytics/src/constants/Regions.d.ts +0 -6
  90. package/dist/libs/analytics/src/constants/Services.d.ts +0 -4
  91. package/dist/libs/analytics/src/enrichers/BaseAnalyticsEnricher.d.ts +0 -19
  92. package/dist/libs/analytics/src/enrichers/CoreContextEnricher.d.ts +0 -22
  93. package/dist/libs/analytics/src/enrichers/UserDataEnricher.d.ts +0 -10
  94. package/dist/libs/analytics/src/enums/CountryCode.d.ts +0 -5
  95. package/dist/libs/analytics/src/enums/RegionName.d.ts +0 -5
  96. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +0 -318
  97. package/dist/libs/analytics/src/interfaces/Config.d.ts +0 -3
  98. package/dist/libs/analytics/src/interfaces/Folder.d.ts +0 -3
  99. package/dist/libs/analytics/src/interfaces/HashObject.d.ts +0 -3
  100. package/dist/libs/analytics/src/interfaces/Owner.d.ts +0 -3
  101. package/dist/libs/analytics/src/interfaces/Playlist.d.ts +0 -3
  102. package/dist/libs/analytics/src/interfaces/Rating.d.ts +0 -4
  103. package/dist/libs/analytics/src/interfaces/Region.d.ts +0 -5
  104. package/dist/libs/analytics/src/interfaces/RegionalUrl.d.ts +0 -5
  105. package/dist/libs/analytics/src/interfaces/Resource.d.ts +0 -5
  106. package/dist/libs/analytics/src/interfaces/Series.d.ts +0 -3
  107. package/dist/libs/analytics/src/interfaces/Subtitle.d.ts +0 -4
  108. package/dist/libs/analytics/src/interfaces/User.d.ts +0 -17
  109. package/dist/libs/analytics/src/interfaces/VersionData.d.ts +0 -4
  110. package/dist/libs/analytics/src/interfaces/Video.d.ts +0 -16
  111. package/dist/libs/analytics/src/interfaces/index.d.ts +0 -15
  112. package/dist/libs/analytics/src/interfaces/primitives/BaseObject.d.ts +0 -7
  113. package/dist/libs/analytics/src/models/AnalyticsEvent.d.ts +0 -49
  114. package/dist/libs/analytics/src/models/CollectionEvent.d.ts +0 -61
  115. package/dist/libs/analytics/src/services/ContextService.d.ts +0 -19
  116. package/dist/libs/analytics/src/transport/EventTransport.d.ts +0 -39
  117. package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +0 -6
  118. package/dist/libs/analytics/src/utils/DataFormatHelper.d.ts +0 -14
  119. package/dist/libs/analytics/src/utils/EventWhitelistHelper.d.ts +0 -19
  120. package/dist/libs/analytics/src/utils/ObjectFormatHelper.d.ts +0 -5
  121. package/dist/libs/analytics/src/utils/TypeHelper.d.ts +0 -4
  122. package/dist/libs/analytics/src/utils/UploadDataFormatHelper.d.ts +0 -10
  123. package/dist/libs/analytics/src/utils/UrlHelper.d.ts +0 -3
  124. package/dist/libs/analytics/src/utils/UserAgentHelper.d.ts +0 -10
  125. package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +0 -51
  126. package/dist/libs/analytics/src/utils/VideoDataFormatHelper.d.ts +0 -42
  127. package/dist/libs/common/src/backbone/constants/BehaviorChannels.d.ts +0 -5
  128. package/dist/libs/common/src/backbone/constants/Caches.d.ts +0 -3
  129. package/dist/libs/common/src/backbone/constants/CommonChannels.d.ts +0 -5
  130. package/dist/libs/common/src/backbone/constants/CommonServices.d.ts +0 -4
  131. package/dist/libs/common/src/backbone/constants/DataProviders.d.ts +0 -4
  132. package/dist/libs/common/src/backbone/constants/Webplayer.d.ts +0 -65
  133. package/dist/libs/common/src/backbone/core/AppLink.d.ts +0 -37
  134. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +0 -103
  135. package/dist/libs/common/src/backbone/core/BaseApplication.d.ts +0 -76
  136. package/dist/libs/common/src/backbone/core/BaseBehavior.d.ts +0 -6
  137. package/dist/libs/common/src/backbone/core/BaseCollection.d.ts +0 -7
  138. package/dist/libs/common/src/backbone/core/BaseCollectionView.d.ts +0 -16
  139. package/dist/libs/common/src/backbone/core/BaseError.d.ts +0 -18
  140. package/dist/libs/common/src/backbone/core/BaseLayoutView.d.ts +0 -11
  141. package/dist/libs/common/src/backbone/core/BaseModel.d.ts +0 -27
  142. package/dist/libs/common/src/backbone/core/BaseNestedModel.d.ts +0 -21
  143. package/dist/libs/common/src/backbone/core/BaseService.d.ts +0 -10
  144. package/dist/libs/common/src/backbone/core/BaseView.d.ts +0 -131
  145. package/dist/libs/common/src/backbone/core/EventNames.d.ts +0 -16
  146. package/dist/libs/common/src/backbone/core/LayoutService.d.ts +0 -31
  147. package/dist/libs/common/src/backbone/core/ListenToRadio.d.ts +0 -3
  148. package/dist/libs/common/src/backbone/core/LocationUtils.d.ts +0 -23
  149. package/dist/libs/common/src/backbone/core/Middleware.d.ts +0 -10
  150. package/dist/libs/common/src/backbone/core/Shell.d.ts +0 -79
  151. package/dist/libs/common/src/backbone/core/Types.d.ts +0 -12
  152. package/dist/libs/common/src/backbone/core/index.d.ts +0 -18
  153. package/dist/libs/common/src/backbone/enums/DataServiceErrorType.d.ts +0 -8
  154. package/dist/libs/common/src/backbone/enums/HttpVerbs.d.ts +0 -6
  155. package/dist/libs/common/src/backbone/errors/DevError.d.ts +0 -4
  156. package/dist/libs/common/src/backbone/errors/NotImplementedError.d.ts +0 -5
  157. package/dist/libs/common/src/backbone/index.d.ts +0 -2
  158. package/dist/libs/common/src/backbone/interfaces/BaseCollectionIdentifier.d.ts +0 -19
  159. package/dist/libs/common/src/backbone/interfaces/ChainableDataService.d.ts +0 -9
  160. package/dist/libs/common/src/backbone/interfaces/DataCache.d.ts +0 -8
  161. package/dist/libs/common/src/backbone/interfaces/DataProvider.d.ts +0 -15
  162. package/dist/libs/common/src/backbone/interfaces/DataServiceError.d.ts +0 -7
  163. package/dist/libs/common/src/backbone/interfaces/DataServiceRequests.d.ts +0 -218
  164. package/dist/libs/common/src/backbone/interfaces/Pagination.d.ts +0 -33
  165. package/dist/libs/common/src/backbone/interfaces/StickitBinding.d.ts +0 -38
  166. package/dist/libs/common/src/backbone/interfaces/Xhr.d.ts +0 -9
  167. package/dist/libs/common/src/backbone/interfaces/index.d.ts +0 -9
  168. package/dist/libs/common/src/backbone/runtime/InputValidation.d.ts +0 -2
  169. package/dist/libs/common/src/backbone/services/BaseAlertService.d.ts +0 -69
  170. package/dist/libs/common/src/backbone/services/BaseDataService.d.ts +0 -82
  171. package/dist/libs/common/src/backbone/services/EnvironmentVariables.d.ts +0 -13
  172. package/dist/libs/common/src/backbone/services/InstanceManager.d.ts +0 -33
  173. package/dist/libs/common/src/backbone/services/LanguageService.d.ts +0 -22
  174. package/dist/libs/common/src/backbone/services/ViewModelService.d.ts +0 -68
  175. package/dist/libs/common/src/backbone/services/caches/FifoMemoryCache.d.ts +0 -20
  176. package/dist/libs/common/src/backbone/services/data-providers/AjaxDataProvider.d.ts +0 -31
  177. package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +0 -46
  178. package/dist/libs/common/src/backbone/utils/ConcurrencyHelper.d.ts +0 -13
  179. package/dist/libs/common/src/backbone/utils/DataServiceErrorHelper.d.ts +0 -2
  180. package/dist/libs/common/src/backbone/utils/FunctionHelper.d.ts +0 -8
  181. package/dist/libs/common/src/backbone/utils/LocalStorageHelper.d.ts +0 -58
  182. package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +0 -14
  183. package/dist/libs/common/src/backbone/utils/UserAgentHelper.d.ts +0 -7
  184. package/dist/libs/common/src/react/flight/enums/RequestStatus.d.ts +0 -6
  185. package/dist/libs/common/src/react/flight/enums/index.d.ts +0 -1
  186. package/dist/libs/common/src/react/flight/interfaces/FlightState.d.ts +0 -22
  187. package/dist/libs/common/src/react/flight/interfaces/NormalizeOptions.d.ts +0 -4
  188. package/dist/libs/common/src/react/flight/interfaces/Request.d.ts +0 -29
  189. package/dist/libs/common/src/react/flight/interfaces/UpdateStateOptions.d.ts +0 -15
  190. package/dist/libs/common/src/react/interfaces/ApplicationData.d.ts +0 -3
  191. package/dist/libs/common/src/react/interfaces/ApplicationState.d.ts +0 -8
  192. package/dist/libs/common/src/react/interfaces/BaseReducerActions.d.ts +0 -4
  193. package/dist/libs/common/src/react/interfaces/HashObject.d.ts +0 -3
  194. package/dist/libs/common/src/react/interfaces/index.d.ts +0 -4
  195. package/dist/libs/common/src/react/utils/FetchHelper.d.ts +0 -50
  196. package/dist/libs/common/src/react/utils/ObjectHelper.d.ts +0 -10
  197. package/dist/libs/common/src/react/utils/TextHelper.d.ts +0 -9
  198. package/dist/libs/shared/src/apps/notifications/collections/NotificationCollection.d.ts +0 -9
  199. package/dist/libs/shared/src/apps/notifications/components/notification-items/notification-item/NotificationItemComponent.d.ts +0 -23
  200. package/dist/libs/shared/src/apps/notifications/components/notification-list/NotificationListComponent.d.ts +0 -26
  201. package/dist/libs/shared/src/apps/notifications/components/notification-status/NotificationStatusComponent.d.ts +0 -15
  202. package/dist/libs/shared/src/apps/notifications/enums/AppLinkReferrer.d.ts +0 -3
  203. package/dist/libs/shared/src/apps/notifications/enums/NotificationActions.d.ts +0 -3
  204. package/dist/libs/shared/src/apps/notifications/enums/NotificationAlertType.d.ts +0 -7
  205. package/dist/libs/shared/src/apps/notifications/enums/NotificationAppLinkModules.d.ts +0 -7
  206. package/dist/libs/shared/src/apps/notifications/enums/NotificationModules.d.ts +0 -4
  207. package/dist/libs/shared/src/apps/notifications/enums/NotificationStatus.d.ts +0 -5
  208. package/dist/libs/shared/src/apps/notifications/enums/NotificationType.d.ts +0 -16
  209. package/dist/libs/shared/src/apps/notifications/interfaces/NotificationCollectionRequest.d.ts +0 -5
  210. package/dist/libs/shared/src/apps/notifications/interfaces/index.d.ts +0 -1
  211. package/dist/libs/shared/src/apps/notifications/models/Notification.d.ts +0 -6
  212. package/dist/libs/shared/src/apps/notifications/services/NotificationDataService.d.ts +0 -14
  213. package/dist/libs/shared/src/apps/notifications/services/NotificationService.d.ts +0 -33
  214. package/dist/libs/shared/src/apps/notifications/services/NotificationSocketService.d.ts +0 -8
  215. package/dist/libs/shared/src/apps/notifications/services/data-providers/NotificationsSocketDataProvider.d.ts +0 -4
  216. package/dist/libs/shared/src/apps/notifications/utils/NotificationAppLinkHelper.d.ts +0 -10
  217. package/dist/libs/shared/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -18
  218. package/dist/libs/shared/src/apps/notifications/views/header/NotificationHeaderView.d.ts +0 -16
  219. package/dist/libs/shared/src/apps/notifications/views/notifications/NotificationsView.d.ts +0 -27
  220. package/dist/libs/shared/src/apps/notifications/views/popover/NotificationsPopoverView.d.ts +0 -34
  221. package/dist/libs/shared/src/apps/search/components/confirm-selection/ConfirmSelectionComponent.d.ts +0 -12
  222. package/dist/libs/shared/src/apps/search/components/instant-search/classification/ClassificationSearchResultComponent.d.ts +0 -17
  223. package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +0 -5
  224. package/dist/libs/shared/src/apps/search/components/instant-search/recent-search/RecentSearchResultComponent.d.ts +0 -15
  225. package/dist/libs/shared/src/apps/search/components/instant-search/series/SeriesSearchResultComponent.d.ts +0 -14
  226. package/dist/libs/shared/src/apps/search/components/instant-search/tag/TagSearchResultComponent.d.ts +0 -9
  227. package/dist/libs/shared/src/apps/search/components/instant-search/video-result/VideoSearchResultComponent.d.ts +0 -18
  228. package/dist/libs/shared/src/apps/search/components/search-context/SearchContextComponent.d.ts +0 -18
  229. package/dist/libs/shared/src/apps/search/components/search-tips/SearchTipsComponent.d.ts +0 -11
  230. package/dist/libs/shared/src/apps/search/constants/TypeaheadConfiguration.d.ts +0 -12
  231. package/dist/libs/shared/src/apps/search/enums/FilterTypes.d.ts +0 -14
  232. package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +0 -18
  233. package/dist/libs/shared/src/apps/search/enums/SearchTypes.d.ts +0 -8
  234. package/dist/libs/shared/src/apps/search/interfaces/SearchTypes.d.ts +0 -26
  235. package/dist/libs/shared/src/apps/search/interfaces/index.d.ts +0 -1
  236. package/dist/libs/shared/src/apps/search/services/ContextualSearchService.d.ts +0 -34
  237. package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +0 -22
  238. package/dist/libs/shared/src/apps/search/utils/RecentSearchHelper.d.ts +0 -12
  239. package/dist/libs/shared/src/apps/search/utils/SearchHelper.d.ts +0 -5
  240. package/dist/libs/shared/src/apps/search/utils/TypeaheadHelper.d.ts +0 -75
  241. package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +0 -110
  242. package/dist/libs/shared/src/apps/search/views/search-bar/templates/index.d.ts +0 -9
  243. package/dist/libs/shared/src/apps/upload/collections/PendingItemsCollection.d.ts +0 -8
  244. package/dist/libs/shared/src/apps/upload/constants/UploadConstants.d.ts +0 -39
  245. package/dist/libs/shared/src/apps/upload/enums/FileLifestyle.d.ts +0 -4
  246. package/dist/libs/shared/src/apps/upload/enums/PendingItemStatus.d.ts +0 -5
  247. package/dist/libs/shared/src/apps/upload/errors/file-type/FileTypeError.d.ts +0 -15
  248. package/dist/libs/shared/src/apps/upload/errors/internet-connectivity/InternetConnectivityError.d.ts +0 -7
  249. package/dist/libs/shared/src/apps/upload/services/BasePendingItemsService.d.ts +0 -26
  250. package/dist/libs/shared/src/apps/upload/services/DropzoneWrapper.d.ts +0 -30
  251. package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +0 -66
  252. package/dist/libs/shared/src/apps/upload/utils/FileExtensionsHelper.d.ts +0 -9
  253. package/dist/libs/shared/src/apps/upload/utils/PendingItemsHelper.d.ts +0 -9
  254. package/dist/libs/shared/src/constants/AppVariables.d.ts +0 -5
  255. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +0 -8
  256. package/dist/libs/shared/src/constants/CacheDurations.d.ts +0 -4
  257. package/dist/libs/shared/src/constants/DataPrefixes.d.ts +0 -12
  258. package/dist/libs/shared/src/constants/RadioChannels.d.ts +0 -20
  259. package/dist/libs/shared/src/constants/SharedServices.d.ts +0 -25
  260. package/dist/libs/shared/src/enums/ClassificationType.d.ts +0 -4
  261. package/dist/libs/shared/src/enums/CountryCode.d.ts +0 -5
  262. package/dist/libs/shared/src/enums/CurationStatus.d.ts +0 -12
  263. package/dist/libs/shared/src/enums/CurriculumType.d.ts +0 -6
  264. package/dist/libs/shared/src/enums/CustomerType.d.ts +0 -11
  265. package/dist/libs/shared/src/enums/GlanceFormat.d.ts +0 -3
  266. package/dist/libs/shared/src/enums/Images.d.ts +0 -26
  267. package/dist/libs/shared/src/enums/LibraryType.d.ts +0 -5
  268. package/dist/libs/shared/src/enums/MasterObjectTypes.d.ts +0 -8
  269. package/dist/libs/shared/src/enums/MediaQueries.d.ts +0 -20
  270. package/dist/libs/shared/src/enums/ObjectOwnerType.d.ts +0 -4
  271. package/dist/libs/shared/src/enums/ObjectStatus.d.ts +0 -5
  272. package/dist/libs/shared/src/enums/PartialLoading.d.ts +0 -4
  273. package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +0 -5
  274. package/dist/libs/shared/src/enums/PresentationType.d.ts +0 -4
  275. package/dist/libs/shared/src/enums/ResourceFileType.d.ts +0 -9
  276. package/dist/libs/shared/src/enums/SettingKind.d.ts +0 -4
  277. package/dist/libs/shared/src/enums/SettingName.d.ts +0 -17
  278. package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +0 -4
  279. package/dist/libs/shared/src/enums/ThemeType.d.ts +0 -3
  280. package/dist/libs/shared/src/enums/UploadInteractionType.d.ts +0 -4
  281. package/dist/libs/shared/src/enums/UserGroup.d.ts +0 -5
  282. package/dist/libs/shared/src/enums/UserRole.d.ts +0 -15
  283. package/dist/libs/shared/src/enums/VideoOrigin.d.ts +0 -14
  284. package/dist/libs/shared/src/enums/WidgetContents.d.ts +0 -10
  285. package/dist/libs/shared/src/errors/primitives/AlertError.d.ts +0 -4
  286. package/dist/libs/shared/src/errors/primitives/DialogError.d.ts +0 -9
  287. package/dist/libs/shared/src/errors/primitives/ErrorPageError.d.ts +0 -7
  288. package/dist/libs/shared/src/images/svg/ImportedSvgs.d.ts +0 -87
  289. package/dist/libs/shared/src/images/svg/actions/index.d.ts +0 -24
  290. package/dist/libs/shared/src/images/svg/arrows/index.d.ts +0 -9
  291. package/dist/libs/shared/src/images/svg/index.d.ts +0 -2
  292. package/dist/libs/shared/src/images/svg/objects/index.d.ts +0 -36
  293. package/dist/libs/shared/src/images/svg/player/index.d.ts +0 -14
  294. package/dist/libs/shared/src/images/svg/settings.d.ts +0 -1
  295. package/dist/libs/shared/src/images/svg/status/index.d.ts +0 -13
  296. package/dist/libs/shared/src/interfaces/AppLinkWithLabel.d.ts +0 -5
  297. package/dist/libs/shared/src/interfaces/DialogOptions.d.ts +0 -13
  298. package/dist/libs/shared/src/interfaces/ImageUrls.d.ts +0 -16
  299. package/dist/libs/shared/src/interfaces/QueryParams.d.ts +0 -3
  300. package/dist/libs/shared/src/interfaces/RegionalUrl.d.ts +0 -5
  301. package/dist/libs/shared/src/interfaces/WidgetContext.d.ts +0 -9
  302. package/dist/libs/shared/src/interfaces/app-variables/BaseNotificationsAppVariables.d.ts +0 -16
  303. package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +0 -17
  304. package/dist/libs/shared/src/interfaces/app-variables/index.d.ts +0 -2
  305. package/dist/libs/shared/src/interfaces/collections/AudienceCollection.d.ts +0 -4
  306. package/dist/libs/shared/src/interfaces/collections/CategoryCollection.d.ts +0 -4
  307. package/dist/libs/shared/src/interfaces/collections/ClassificationCollection.d.ts +0 -4
  308. package/dist/libs/shared/src/interfaces/collections/ClassroomCollection.d.ts +0 -4
  309. package/dist/libs/shared/src/interfaces/collections/ClassroomGroupCollection.d.ts +0 -4
  310. package/dist/libs/shared/src/interfaces/collections/ClipCollection.d.ts +0 -4
  311. package/dist/libs/shared/src/interfaces/collections/CompanyCollection.d.ts +0 -3
  312. package/dist/libs/shared/src/interfaces/collections/CustomerCollection.d.ts +0 -4
  313. package/dist/libs/shared/src/interfaces/collections/FolderCollection.d.ts +0 -4
  314. package/dist/libs/shared/src/interfaces/collections/InteractiveCollection.d.ts +0 -4
  315. package/dist/libs/shared/src/interfaces/collections/LibraryCollection.d.ts +0 -4
  316. package/dist/libs/shared/src/interfaces/collections/LinkCollection.d.ts +0 -4
  317. package/dist/libs/shared/src/interfaces/collections/PersonCollection.d.ts +0 -3
  318. package/dist/libs/shared/src/interfaces/collections/PlaylistCollection.d.ts +0 -4
  319. package/dist/libs/shared/src/interfaces/collections/PresentationAudienceCollection.d.ts +0 -4
  320. package/dist/libs/shared/src/interfaces/collections/ResourceCollection.d.ts +0 -3
  321. package/dist/libs/shared/src/interfaces/collections/SeriesCollection.d.ts +0 -4
  322. package/dist/libs/shared/src/interfaces/collections/SubtitleCollection.d.ts +0 -3
  323. package/dist/libs/shared/src/interfaces/collections/TagCollection.d.ts +0 -4
  324. package/dist/libs/shared/src/interfaces/collections/UserCollection.d.ts +0 -3
  325. package/dist/libs/shared/src/interfaces/collections/VideoCollection.d.ts +0 -4
  326. package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +0 -4
  327. package/dist/libs/shared/src/interfaces/collections/WidgetCollection.d.ts +0 -3
  328. package/dist/libs/shared/src/interfaces/collections/index.d.ts +0 -25
  329. package/dist/libs/shared/src/interfaces/collections/primitives/BasePaginatedCollection.d.ts +0 -7
  330. package/dist/libs/shared/src/interfaces/collections/primitives/index.d.ts +0 -1
  331. package/dist/libs/shared/src/interfaces/index.d.ts +0 -13
  332. package/dist/libs/shared/src/interfaces/models/Audience.d.ts +0 -3
  333. package/dist/libs/shared/src/interfaces/models/Avatar.d.ts +0 -3
  334. package/dist/libs/shared/src/interfaces/models/Banner.d.ts +0 -3
  335. package/dist/libs/shared/src/interfaces/models/Category.d.ts +0 -3
  336. package/dist/libs/shared/src/interfaces/models/Channel.d.ts +0 -3
  337. package/dist/libs/shared/src/interfaces/models/Classification.d.ts +0 -21
  338. package/dist/libs/shared/src/interfaces/models/Classroom.d.ts +0 -4
  339. package/dist/libs/shared/src/interfaces/models/ClassroomGroup.d.ts +0 -18
  340. package/dist/libs/shared/src/interfaces/models/Clip.d.ts +0 -8
  341. package/dist/libs/shared/src/interfaces/models/Company.d.ts +0 -3
  342. package/dist/libs/shared/src/interfaces/models/Config.d.ts +0 -13
  343. package/dist/libs/shared/src/interfaces/models/Cover.d.ts +0 -3
  344. package/dist/libs/shared/src/interfaces/models/Curriculum.d.ts +0 -18
  345. package/dist/libs/shared/src/interfaces/models/Customer.d.ts +0 -6
  346. package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +0 -9
  347. package/dist/libs/shared/src/interfaces/models/FileUpload.d.ts +0 -20
  348. package/dist/libs/shared/src/interfaces/models/Folder.d.ts +0 -7
  349. package/dist/libs/shared/src/interfaces/models/Following.d.ts +0 -4
  350. package/dist/libs/shared/src/interfaces/models/Glance.d.ts +0 -9
  351. package/dist/libs/shared/src/interfaces/models/Group.d.ts +0 -3
  352. package/dist/libs/shared/src/interfaces/models/HeroBanner.d.ts +0 -3
  353. package/dist/libs/shared/src/interfaces/models/Image.d.ts +0 -7
  354. package/dist/libs/shared/src/interfaces/models/InteractiveMetadata.d.ts +0 -14
  355. package/dist/libs/shared/src/interfaces/models/Language.d.ts +0 -4
  356. package/dist/libs/shared/src/interfaces/models/LanguageConfig.d.ts +0 -5
  357. package/dist/libs/shared/src/interfaces/models/Library.d.ts +0 -5
  358. package/dist/libs/shared/src/interfaces/models/Link.d.ts +0 -4
  359. package/dist/libs/shared/src/interfaces/models/Organisation.d.ts +0 -3
  360. package/dist/libs/shared/src/interfaces/models/Pdf.d.ts +0 -4
  361. package/dist/libs/shared/src/interfaces/models/Person.d.ts +0 -3
  362. package/dist/libs/shared/src/interfaces/models/PlayerViewKey.d.ts +0 -3
  363. package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +0 -14
  364. package/dist/libs/shared/src/interfaces/models/Poster.d.ts +0 -3
  365. package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +0 -6
  366. package/dist/libs/shared/src/interfaces/models/PresentationAudience.d.ts +0 -6
  367. package/dist/libs/shared/src/interfaces/models/Rating.d.ts +0 -5
  368. package/dist/libs/shared/src/interfaces/models/Resource.d.ts +0 -17
  369. package/dist/libs/shared/src/interfaces/models/Restriction.d.ts +0 -6
  370. package/dist/libs/shared/src/interfaces/models/Season.d.ts +0 -4
  371. package/dist/libs/shared/src/interfaces/models/Series.d.ts +0 -10
  372. package/dist/libs/shared/src/interfaces/models/Share.d.ts +0 -9
  373. package/dist/libs/shared/src/interfaces/models/Subject.d.ts +0 -13
  374. package/dist/libs/shared/src/interfaces/models/Subtitle.d.ts +0 -7
  375. package/dist/libs/shared/src/interfaces/models/Tag.d.ts +0 -3
  376. package/dist/libs/shared/src/interfaces/models/TallPoster.d.ts +0 -3
  377. package/dist/libs/shared/src/interfaces/models/Theme.d.ts +0 -14
  378. package/dist/libs/shared/src/interfaces/models/Thumbnail.d.ts +0 -6
  379. package/dist/libs/shared/src/interfaces/models/User.d.ts +0 -64
  380. package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +0 -7
  381. package/dist/libs/shared/src/interfaces/models/Video.d.ts +0 -34
  382. package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +0 -12
  383. package/dist/libs/shared/src/interfaces/models/Widget.d.ts +0 -16
  384. package/dist/libs/shared/src/interfaces/models/YearGroup.d.ts +0 -5
  385. package/dist/libs/shared/src/interfaces/models/index.d.ts +0 -57
  386. package/dist/libs/shared/src/interfaces/models/interactive/ActionableItem.d.ts +0 -6
  387. package/dist/libs/shared/src/interfaces/models/interactive/Interaction.d.ts +0 -16
  388. package/dist/libs/shared/src/interfaces/models/interactive/InteractionType.d.ts +0 -7
  389. package/dist/libs/shared/src/interfaces/models/interactive/InteractionTypeId.d.ts +0 -8
  390. package/dist/libs/shared/src/interfaces/models/interactive/Interactive.d.ts +0 -7
  391. package/dist/libs/shared/src/interfaces/models/interactive/Timepoint.d.ts +0 -9
  392. package/dist/libs/shared/src/interfaces/models/interactive/index.d.ts +0 -6
  393. package/dist/libs/shared/src/interfaces/models/primitives/BaseObject.d.ts +0 -8
  394. package/dist/libs/shared/src/interfaces/models/primitives/VirtualObject.d.ts +0 -5
  395. package/dist/libs/shared/src/interfaces/models/primitives/index.d.ts +0 -2
  396. package/dist/libs/shared/src/interfaces/props/ViewProps.d.ts +0 -8
  397. package/dist/libs/shared/src/interfaces/props/index.d.ts +0 -1
  398. package/dist/libs/shared/src/interfaces/requests/CreateOrUpdateClipRequest.d.ts +0 -6
  399. package/dist/libs/shared/src/interfaces/requests/CreateViewKeyRequest.d.ts +0 -3
  400. package/dist/libs/shared/src/interfaces/requests/ReorderRequest.d.ts +0 -12
  401. package/dist/libs/shared/src/interfaces/requests/UpdateObjectChannel.d.ts +0 -3
  402. package/dist/libs/shared/src/interfaces/requests/UpdateObjectRating.d.ts +0 -3
  403. package/dist/libs/shared/src/interfaces/requests/UpdateResourceRequest.d.ts +0 -3
  404. package/dist/libs/shared/src/interfaces/requests/UpdateVideoRequest.d.ts +0 -9
  405. package/dist/libs/shared/src/interfaces/requests/index.d.ts +0 -7
  406. package/dist/libs/shared/src/interfaces/services/BaseConfigDataService.d.ts +0 -5
  407. package/dist/libs/shared/src/interfaces/services/BaseLibraryDataService.d.ts +0 -10
  408. package/dist/libs/shared/src/interfaces/services/BaseSeriesDataService.d.ts +0 -4
  409. package/dist/libs/shared/src/interfaces/services/BaseSettingsDataService.d.ts +0 -7
  410. package/dist/libs/shared/src/interfaces/services/BaseUserDataService.d.ts +0 -6
  411. package/dist/libs/shared/src/interfaces/services/BaseVideoDataService.d.ts +0 -5
  412. package/dist/libs/shared/src/interfaces/services/BaseVideoUploadDataService.d.ts +0 -8
  413. package/dist/libs/shared/src/interfaces/services/index.d.ts +0 -7
  414. package/dist/libs/shared/src/legacy/behaviors/empty-state/EmptyStateBehavior.d.ts +0 -22
  415. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropBehavior.d.ts +0 -19
  416. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropHelper.d.ts +0 -4
  417. package/dist/libs/shared/src/legacy/behaviors/file-drop/FileDropMaskBehavior.d.ts +0 -19
  418. package/dist/libs/shared/src/legacy/behaviors/file-select/FileSelectBehavior.d.ts +0 -16
  419. package/dist/libs/shared/src/legacy/behaviors/popover/PopoverBehavior.d.ts +0 -40
  420. package/dist/libs/shared/src/legacy/behaviors/tooltip/TooltipBehavior.d.ts +0 -26
  421. package/dist/libs/shared/src/legacy/components/empty-state/EmptyStateComponent.d.ts +0 -24
  422. package/dist/libs/shared/src/legacy/components/file-select/FileSelectComponent.d.ts +0 -29
  423. package/dist/libs/shared/src/legacy/components/file-uploads/FileUploadComponent.d.ts +0 -15
  424. package/dist/libs/shared/src/legacy/components/pagination/PaginationComponent.d.ts +0 -29
  425. package/dist/libs/shared/src/legacy/components/resource-item/ResourceItemComponent.d.ts +0 -22
  426. package/dist/libs/shared/src/legacy/components/subtitle-item/SubtitleItemComponent.d.ts +0 -17
  427. package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +0 -35
  428. package/dist/libs/shared/src/legacy/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
  429. package/dist/libs/shared/src/legacy/enums/EmptyState.d.ts +0 -3
  430. package/dist/libs/shared/src/legacy/enums/SortType.d.ts +0 -7
  431. package/dist/libs/shared/src/legacy/errors/too-many-files/TooManyFilesError.d.ts +0 -7
  432. package/dist/libs/shared/src/legacy/errors/too-many-resources/TooManyResourcesError.d.ts +0 -8
  433. package/dist/libs/shared/src/legacy/errors/too-many-subtitles/TooManySubtitlesError.d.ts +0 -8
  434. package/dist/libs/shared/src/legacy/interfaces/CollectionIdentifier.d.ts +0 -7
  435. package/dist/libs/shared/src/legacy/interfaces/index.d.ts +0 -1
  436. package/dist/libs/shared/src/legacy/utils/EmptyStateHelper.d.ts +0 -4
  437. package/dist/libs/shared/src/legacy/utils/LangHelper.d.ts +0 -5
  438. package/dist/libs/shared/src/services/ContextService.d.ts +0 -38
  439. package/dist/libs/shared/src/services/LanguageDataService.d.ts +0 -7
  440. package/dist/libs/shared/src/services/UserDataService.d.ts +0 -24
  441. package/dist/libs/shared/src/utils/DurationHelper.d.ts +0 -7
  442. package/dist/libs/shared/src/utils/EmbedHelper.d.ts +0 -8
  443. package/dist/libs/shared/src/utils/ImageHelper.d.ts +0 -32
  444. package/dist/libs/shared/src/utils/LibraryDataServiceHelper.d.ts +0 -13
  445. package/dist/libs/shared/src/utils/MaskHelper.d.ts +0 -15
  446. package/dist/libs/shared/src/utils/SubtitleHelper.d.ts +0 -9
  447. package/dist/libs/shared/src/utils/SvgHelper.d.ts +0 -18
  448. package/dist/libs/shared/src/utils/TextHelper.d.ts +0 -3
  449. package/dist/libs/shared/src/utils/VideoDetailsHelper.d.ts +0 -12
  450. package/dist/projects/library-editor/src/app.d.ts +0 -245
  451. package/dist/projects/library-editor/src/apps/content-updates/ContentUpdatesApplication.d.ts +0 -18
  452. package/dist/projects/library-editor/src/apps/content-updates/collections/SubjectCollection.d.ts +0 -5
  453. package/dist/projects/library-editor/src/apps/content-updates/collections/VideoGroupCollection.d.ts +0 -5
  454. package/dist/projects/library-editor/src/apps/content-updates/collections/index.d.ts +0 -2
  455. package/dist/projects/library-editor/src/apps/content-updates/components/awaiting-review-header/AwaitingReviewHeaderComponent.d.ts +0 -14
  456. package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-header/ContentUpdatesHeaderComponent.d.ts +0 -19
  457. package/dist/projects/library-editor/src/apps/content-updates/components/content-updates-left-nav/ContentUpdatesLeftNavComponent.d.ts +0 -18
  458. package/dist/projects/library-editor/src/apps/content-updates/components/index.d.ts +0 -6
  459. package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-filters/PastReleasesFiltersComponent.d.ts +0 -20
  460. package/dist/projects/library-editor/src/apps/content-updates/components/past-releases-header/PastReleasesHeaderComponent.d.ts +0 -24
  461. package/dist/projects/library-editor/src/apps/content-updates/components/video-group-list/VideoGroupListComponent.d.ts +0 -37
  462. package/dist/projects/library-editor/src/apps/content-updates/enums/PastReleaseFilterType.d.ts +0 -5
  463. package/dist/projects/library-editor/src/apps/content-updates/enums/ReleaseDateType.d.ts +0 -6
  464. package/dist/projects/library-editor/src/apps/content-updates/enums/index.d.ts +0 -2
  465. package/dist/projects/library-editor/src/apps/content-updates/models/Subject.d.ts +0 -3
  466. package/dist/projects/library-editor/src/apps/content-updates/models/VideoGroup.d.ts +0 -7
  467. package/dist/projects/library-editor/src/apps/content-updates/models/index.d.ts +0 -2
  468. package/dist/projects/library-editor/src/apps/content-updates/services/ContentUpdatesDataService.d.ts +0 -18
  469. package/dist/projects/library-editor/src/apps/content-updates/services/index.d.ts +0 -1
  470. package/dist/projects/library-editor/src/apps/content-updates/utils/Constants.d.ts +0 -33
  471. package/dist/projects/library-editor/src/apps/content-updates/utils/ContentUpdatesHelper.d.ts +0 -7
  472. package/dist/projects/library-editor/src/apps/content-updates/utils/PastReleasesHelper.d.ts +0 -3
  473. package/dist/projects/library-editor/src/apps/content-updates/utils/index.d.ts +0 -3
  474. package/dist/projects/library-editor/src/apps/content-updates/views/add-to-library/AddToLibraryView.d.ts +0 -47
  475. package/dist/projects/library-editor/src/apps/content-updates/views/awaiting-review/AwaitingReviewView.d.ts +0 -36
  476. package/dist/projects/library-editor/src/apps/content-updates/views/disable-review/DisableReviewView.d.ts +0 -26
  477. package/dist/projects/library-editor/src/apps/content-updates/views/generate-past-releases-pdf/GeneratePastReleasesPdfView.d.ts +0 -41
  478. package/dist/projects/library-editor/src/apps/content-updates/views/past-releases/PastReleasesView.d.ts +0 -55
  479. package/dist/projects/library-editor/src/apps/dashboard/DashboardApplication.d.ts +0 -9
  480. package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-action-tile/DashboardActionTileComponent.d.ts +0 -20
  481. package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-info-tile/DashboardInfoTileComponent.d.ts +0 -7
  482. package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-notifications/DashboardNotificationsComponents.d.ts +0 -15
  483. package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-container/DashboardTileContainerComponent.d.ts +0 -11
  484. package/dist/projects/library-editor/src/apps/dashboard/components/dashboard-tile-list/DashboardTileListComponent.d.ts +0 -14
  485. package/dist/projects/library-editor/src/apps/dashboard/components/index.d.ts +0 -9
  486. package/dist/projects/library-editor/src/apps/dashboard/views/DashboardView.d.ts +0 -38
  487. package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +0 -21
  488. package/dist/projects/library-editor/src/apps/default/views/dev-error/DevErrorView.d.ts +0 -11
  489. package/dist/projects/library-editor/src/apps/default/views/error-view/ErrorView.d.ts +0 -12
  490. package/dist/projects/library-editor/src/apps/default/views/not-found/NotFoundView.d.ts +0 -11
  491. package/dist/projects/library-editor/src/apps/index.d.ts +0 -16
  492. package/dist/projects/library-editor/src/apps/library-editor/LibraryEditorApplication.d.ts +0 -46
  493. package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-folder/DraggableFolderBehavior.d.ts +0 -9
  494. package/dist/projects/library-editor/src/apps/library-editor/behaviors/draggable-video/DraggableVideoBehavior.d.ts +0 -24
  495. package/dist/projects/library-editor/src/apps/library-editor/behaviors/droppable/DroppableBehavior.d.ts +0 -19
  496. package/dist/projects/library-editor/src/apps/library-editor/behaviors/index.d.ts +0 -3
  497. package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DragOptions.d.ts +0 -3
  498. package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/DraggableItemComponent.d.ts +0 -15
  499. package/dist/projects/library-editor/src/apps/library-editor/behaviors/shared/index.d.ts +0 -5
  500. package/dist/projects/library-editor/src/apps/library-editor/components/add-links/AddLinksComponent.d.ts +0 -31
  501. package/dist/projects/library-editor/src/apps/library-editor/components/banner/BannerComponent.d.ts +0 -19
  502. package/dist/projects/library-editor/src/apps/library-editor/components/chapter-form/ChapterFormComponent.d.ts +0 -66
  503. package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterComponentCollection.d.ts +0 -25
  504. package/dist/projects/library-editor/src/apps/library-editor/components/chapter-list/ChapterItemComponent.d.ts +0 -37
  505. package/dist/projects/library-editor/src/apps/library-editor/components/chapters/ChaptersComponent.d.ts +0 -21
  506. package/dist/projects/library-editor/src/apps/library-editor/components/concatenate-request/ConcatenateRequestComponent.d.ts +0 -24
  507. package/dist/projects/library-editor/src/apps/library-editor/components/customer-logo/CustomerLogoComponent.d.ts +0 -19
  508. package/dist/projects/library-editor/src/apps/library-editor/components/edit-image/EditImageComponent.d.ts +0 -28
  509. package/dist/projects/library-editor/src/apps/library-editor/components/edit-images-wrapper/EditImagesWrapperComponent.d.ts +0 -24
  510. package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/LinkItemComponent.d.ts +0 -16
  511. package/dist/projects/library-editor/src/apps/library-editor/components/edit-links/VideoLinksComponent.d.ts +0 -23
  512. package/dist/projects/library-editor/src/apps/library-editor/components/edit-thumbnail/EditThumbnailComponent.d.ts +0 -22
  513. package/dist/projects/library-editor/src/apps/library-editor/components/edit-video/EditVideoDetailsComponent.d.ts +0 -48
  514. package/dist/projects/library-editor/src/apps/library-editor/components/edit-video-tabs/EditVideoTabsComponent.d.ts +0 -24
  515. package/dist/projects/library-editor/src/apps/library-editor/components/expandable-tag-list/ExpandableTagListComponent.d.ts +0 -26
  516. package/dist/projects/library-editor/src/apps/library-editor/components/file-uploads/FileUploadsComponentCollection.d.ts +0 -13
  517. package/dist/projects/library-editor/src/apps/library-editor/components/folder-actions/FolderActionsDropdownComponent.d.ts +0 -18
  518. package/dist/projects/library-editor/src/apps/library-editor/components/folder-details/FolderDetailsComponent.d.ts +0 -35
  519. package/dist/projects/library-editor/src/apps/library-editor/components/folder-select/FolderSelectComponent.d.ts +0 -41
  520. package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectComponent.d.ts +0 -28
  521. package/dist/projects/library-editor/src/apps/library-editor/components/language-select/LanguageSelectTypeaheadHelper.d.ts +0 -6
  522. package/dist/projects/library-editor/src/apps/library-editor/components/left-nav-libraries/LeftNavLibrariesComponent.d.ts +0 -45
  523. package/dist/projects/library-editor/src/apps/library-editor/components/library-actions/LibraryActionsComponent.d.ts +0 -26
  524. package/dist/projects/library-editor/src/apps/library-editor/components/library-folders/LibraryFolderListComponent.d.ts +0 -31
  525. package/dist/projects/library-editor/src/apps/library-editor/components/library-select/LibrarySelectComponent.d.ts +0 -27
  526. package/dist/projects/library-editor/src/apps/library-editor/components/save/SaveComponent.d.ts +0 -33
  527. package/dist/projects/library-editor/src/apps/library-editor/components/sort-select/SortSelectComponent.d.ts +0 -29
  528. package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFolderComponent.d.ts +0 -15
  529. package/dist/projects/library-editor/src/apps/library-editor/components/sub-folders/SubFoldersComponent.d.ts +0 -9
  530. package/dist/projects/library-editor/src/apps/library-editor/components/suggest-edit/SuggestEditComponent.d.ts +0 -31
  531. package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagComponentCollection.d.ts +0 -21
  532. package/dist/projects/library-editor/src/apps/library-editor/components/tag-list/TagItemComponent.d.ts +0 -28
  533. package/dist/projects/library-editor/src/apps/library-editor/components/tags/TagsComponent.d.ts +0 -31
  534. package/dist/projects/library-editor/src/apps/library-editor/components/video-collection-actions/VideoCollectionActionsComponent.d.ts +0 -25
  535. package/dist/projects/library-editor/src/apps/library-editor/components/video-header/VideoHeaderComponent.d.ts +0 -23
  536. package/dist/projects/library-editor/src/apps/library-editor/components/video-list-header/VideoListHeaderComponent.d.ts +0 -34
  537. package/dist/projects/library-editor/src/apps/library-editor/components/video-resources/VideoResourcesComponent.d.ts +0 -46
  538. package/dist/projects/library-editor/src/apps/library-editor/components/video-sidebar-info/VideoSidebarInfoComponent.d.ts +0 -26
  539. package/dist/projects/library-editor/src/apps/library-editor/components/video-subtitles/VideoSubtitlesComponent.d.ts +0 -29
  540. package/dist/projects/library-editor/src/apps/library-editor/constants/CheckboxTypes.d.ts +0 -5
  541. package/dist/projects/library-editor/src/apps/library-editor/constants/EditVideoBackButtonBlacklist.d.ts +0 -1
  542. package/dist/projects/library-editor/src/apps/library-editor/constants/EditVideoBackButtonKey.d.ts +0 -1
  543. package/dist/projects/library-editor/src/apps/library-editor/constants/LibraryEditorActions.d.ts +0 -18
  544. package/dist/projects/library-editor/src/apps/library-editor/constants/LibraryEditorRadioChannels.d.ts +0 -3
  545. package/dist/projects/library-editor/src/apps/library-editor/constants/MetadataTypes.d.ts +0 -32
  546. package/dist/projects/library-editor/src/apps/library-editor/constants/VideoCollectionTypes.d.ts +0 -3
  547. package/dist/projects/library-editor/src/apps/library-editor/constants/index.d.ts +0 -7
  548. package/dist/projects/library-editor/src/apps/library-editor/enums/MediaConcatenateStatus.d.ts +0 -8
  549. package/dist/projects/library-editor/src/apps/library-editor/enums/TagBehavior.d.ts +0 -6
  550. package/dist/projects/library-editor/src/apps/library-editor/enums/TagOrientation.d.ts +0 -4
  551. package/dist/projects/library-editor/src/apps/library-editor/enums/VideoCollectionSource.d.ts +0 -4
  552. package/dist/projects/library-editor/src/apps/library-editor/enums/index.d.ts +0 -4
  553. package/dist/projects/library-editor/src/apps/library-editor/errors/folder-empty/FolderEmptyError.d.ts +0 -8
  554. package/dist/projects/library-editor/src/apps/library-editor/errors/folder-max-depth/FolderMaxDepthError.d.ts +0 -7
  555. package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-empty/FolderNotEmptyError.d.ts +0 -7
  556. package/dist/projects/library-editor/src/apps/library-editor/errors/folder-not-found/FolderNotFound.d.ts +0 -6
  557. package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-folder/ForbiddenFolderError.d.ts +0 -6
  558. package/dist/projects/library-editor/src/apps/library-editor/errors/forbidden-video/ForbiddenVideoError.d.ts +0 -6
  559. package/dist/projects/library-editor/src/apps/library-editor/errors/image-dimensions-too-small/ImageDimensionsTooSmallError.d.ts +0 -9
  560. package/dist/projects/library-editor/src/apps/library-editor/errors/index.d.ts +0 -13
  561. package/dist/projects/library-editor/src/apps/library-editor/errors/library-has-subscribers/LibraryHasSubscribersError.d.ts +0 -7
  562. package/dist/projects/library-editor/src/apps/library-editor/errors/library-not-empty/LibraryNotEmptyError.d.ts +0 -7
  563. package/dist/projects/library-editor/src/apps/library-editor/errors/max-custom-libraries/MaxCustomLibrariesError.d.ts +0 -9
  564. package/dist/projects/library-editor/src/apps/library-editor/errors/series-not-found/SeriesNotFoundError.d.ts +0 -6
  565. package/dist/projects/library-editor/src/apps/library-editor/errors/video-not-found/VideoNotFoundError.d.ts +0 -6
  566. package/dist/projects/library-editor/src/apps/library-editor/errors/video-write-permission/VideoWritePermissionError.d.ts +0 -6
  567. package/dist/projects/library-editor/src/apps/library-editor/models/ChapterConcatenateRequest.d.ts +0 -3
  568. package/dist/projects/library-editor/src/apps/library-editor/models/index.d.ts +0 -1
  569. package/dist/projects/library-editor/src/apps/library-editor/services/ChapterDataService.d.ts +0 -15
  570. package/dist/projects/library-editor/src/apps/library-editor/services/CompanyDataService.d.ts +0 -7
  571. package/dist/projects/library-editor/src/apps/library-editor/services/ExportDataService.d.ts +0 -11
  572. package/dist/projects/library-editor/src/apps/library-editor/services/FieldsDataService.d.ts +0 -12
  573. package/dist/projects/library-editor/src/apps/library-editor/services/FolderDragDropService.d.ts +0 -27
  574. package/dist/projects/library-editor/src/apps/library-editor/services/LibraryDataService.d.ts +0 -65
  575. package/dist/projects/library-editor/src/apps/library-editor/services/LinkDataService.d.ts +0 -14
  576. package/dist/projects/library-editor/src/apps/library-editor/services/PersonDataService.d.ts +0 -7
  577. package/dist/projects/library-editor/src/apps/library-editor/services/RatingsDataService.d.ts +0 -7
  578. package/dist/projects/library-editor/src/apps/library-editor/services/ResourceDataService.d.ts +0 -13
  579. package/dist/projects/library-editor/src/apps/library-editor/services/SeriesDataService.d.ts +0 -16
  580. package/dist/projects/library-editor/src/apps/library-editor/services/SubtitleDataService.d.ts +0 -11
  581. package/dist/projects/library-editor/src/apps/library-editor/services/TagDataService.d.ts +0 -9
  582. package/dist/projects/library-editor/src/apps/library-editor/services/VideoDataService.d.ts +0 -45
  583. package/dist/projects/library-editor/src/apps/library-editor/services/VideoDragDropService.d.ts +0 -26
  584. package/dist/projects/library-editor/src/apps/library-editor/utils/AddToLibraryCacheHelper.d.ts +0 -4
  585. package/dist/projects/library-editor/src/apps/library-editor/utils/ChapterHelper.d.ts +0 -18
  586. package/dist/projects/library-editor/src/apps/library-editor/utils/DownloadHelper.d.ts +0 -3
  587. package/dist/projects/library-editor/src/apps/library-editor/utils/EditVideoHelpers.d.ts +0 -93
  588. package/dist/projects/library-editor/src/apps/library-editor/utils/FolderValidation.d.ts +0 -2
  589. package/dist/projects/library-editor/src/apps/library-editor/utils/LanguageValidation.d.ts +0 -2
  590. package/dist/projects/library-editor/src/apps/library-editor/utils/LibraryValidation.d.ts +0 -2
  591. package/dist/projects/library-editor/src/apps/library-editor/utils/UploadVideoValidation.d.ts +0 -2
  592. package/dist/projects/library-editor/src/apps/library-editor/utils/VideoDetailsHelper.d.ts +0 -17
  593. package/dist/projects/library-editor/src/apps/library-editor/utils/index.d.ts +0 -8
  594. package/dist/projects/library-editor/src/apps/library-editor/views/add-to-exchange/AddToExchangeView.d.ts +0 -34
  595. package/dist/projects/library-editor/src/apps/library-editor/views/banner-upload/BannerUploadView.d.ts +0 -32
  596. package/dist/projects/library-editor/src/apps/library-editor/views/delete-folder/DeleteFolderView.d.ts +0 -28
  597. package/dist/projects/library-editor/src/apps/library-editor/views/delete-library/DeleteLibraryView.d.ts +0 -23
  598. package/dist/projects/library-editor/src/apps/library-editor/views/delete-videos/DeleteVideosView.d.ts +0 -29
  599. package/dist/projects/library-editor/src/apps/library-editor/views/edit-chapters/EditChaptersView.d.ts +0 -71
  600. package/dist/projects/library-editor/src/apps/library-editor/views/edit-folder-images/EditFolderImagesView.d.ts +0 -51
  601. package/dist/projects/library-editor/src/apps/library-editor/views/edit-library/RenameLibraryView.d.ts +0 -29
  602. package/dist/projects/library-editor/src/apps/library-editor/views/edit-link/EditLinkView.d.ts +0 -30
  603. package/dist/projects/library-editor/src/apps/library-editor/views/edit-resource/EditResourceView.d.ts +0 -34
  604. package/dist/projects/library-editor/src/apps/library-editor/views/edit-resources/EditResourcesView.d.ts +0 -92
  605. package/dist/projects/library-editor/src/apps/library-editor/views/edit-video/EditVideoView.d.ts +0 -125
  606. package/dist/projects/library-editor/src/apps/library-editor/views/generate-pdf/GeneratePdfView.d.ts +0 -35
  607. package/dist/projects/library-editor/src/apps/library-editor/views/left-navigation/LeftNavigationView.d.ts +0 -33
  608. package/dist/projects/library-editor/src/apps/library-editor/views/library/LibraryView.d.ts +0 -31
  609. package/dist/projects/library-editor/src/apps/library-editor/views/move-folder/MoveFolderView.d.ts +0 -44
  610. package/dist/projects/library-editor/src/apps/library-editor/views/move-video/MoveVideoView.d.ts +0 -50
  611. package/dist/projects/library-editor/src/apps/library-editor/views/new-folder/NewFolderView.d.ts +0 -44
  612. package/dist/projects/library-editor/src/apps/library-editor/views/new-library/NewLibraryView.d.ts +0 -26
  613. package/dist/projects/library-editor/src/apps/library-editor/views/no-library/NoLibraryView.d.ts +0 -10
  614. package/dist/projects/library-editor/src/apps/library-editor/views/publish-library/PublishLibraryView.d.ts +0 -19
  615. package/dist/projects/library-editor/src/apps/library-editor/views/rename-folder/RenameFolderView.d.ts +0 -39
  616. package/dist/projects/library-editor/src/apps/library-editor/views/suggest-an-edit/SuggestAnEditView.d.ts +0 -58
  617. package/dist/projects/library-editor/src/apps/library-editor/views/thumbnail-upload/ThumbnailUploadView.d.ts +0 -34
  618. package/dist/projects/library-editor/src/apps/library-editor/views/video-collection/VideoCollectionView.d.ts +0 -105
  619. package/dist/projects/library-editor/src/apps/library-editor/views/video-details/VideoDetailsView.d.ts +0 -46
  620. package/dist/projects/library-editor/src/apps/migration-wizard/MigrationWizardApplication.d.ts +0 -45
  621. package/dist/projects/library-editor/src/apps/migration-wizard/collections/HomeFolderCollection.d.ts +0 -6
  622. package/dist/projects/library-editor/src/apps/migration-wizard/collections/SmartSelectVideoCollection.d.ts +0 -5
  623. package/dist/projects/library-editor/src/apps/migration-wizard/collections/index.d.ts +0 -1
  624. package/dist/projects/library-editor/src/apps/migration-wizard/components/banner/BannerComponent.d.ts +0 -18
  625. package/dist/projects/library-editor/src/apps/migration-wizard/components/empty-video-list/EmptyVideoListComponent.d.ts +0 -14
  626. package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.d.ts +0 -22
  627. package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.d.ts +0 -21
  628. package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.d.ts +0 -30
  629. package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.d.ts +0 -12
  630. package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.d.ts +0 -8
  631. package/dist/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.d.ts +0 -17
  632. package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report/GenerateReportComponent.d.ts +0 -25
  633. package/dist/projects/library-editor/src/apps/migration-wizard/components/generate-report-button/GenerateReportButtonComponent.d.ts +0 -10
  634. package/dist/projects/library-editor/src/apps/migration-wizard/components/index.d.ts +0 -13
  635. package/dist/projects/library-editor/src/apps/migration-wizard/components/migration-video-item/MigrationVideoItemComponent.d.ts +0 -30
  636. package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-bar/ProgressBarComponent.d.ts +0 -19
  637. package/dist/projects/library-editor/src/apps/migration-wizard/components/progress-circle/ProgressCircleComponent.d.ts +0 -20
  638. package/dist/projects/library-editor/src/apps/migration-wizard/components/search-bar/SearchBarComponent.d.ts +0 -19
  639. package/dist/projects/library-editor/src/apps/migration-wizard/components/selected-video-item/SelectedVideoItemComponent.d.ts +0 -9
  640. package/dist/projects/library-editor/src/apps/migration-wizard/components/sorting-row/SortingRowComponent.d.ts +0 -35
  641. package/dist/projects/library-editor/src/apps/migration-wizard/components/status-bar/StatusBarComponent.d.ts +0 -28
  642. package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list/VideoListCollection.d.ts +0 -36
  643. package/dist/projects/library-editor/src/apps/migration-wizard/components/video-list-collection/VideoListCollectionComponent.d.ts +0 -16
  644. package/dist/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.d.ts +0 -4
  645. package/dist/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.d.ts +0 -4
  646. package/dist/projects/library-editor/src/apps/migration-wizard/enums/CloudSyncStatus.d.ts +0 -12
  647. package/dist/projects/library-editor/src/apps/migration-wizard/enums/FinalisationTaskStatus.d.ts +0 -5
  648. package/dist/projects/library-editor/src/apps/migration-wizard/enums/FinalisationType.d.ts +0 -6
  649. package/dist/projects/library-editor/src/apps/migration-wizard/enums/LocalOption.d.ts +0 -4
  650. package/dist/projects/library-editor/src/apps/migration-wizard/enums/MigrationOption.d.ts +0 -7
  651. package/dist/projects/library-editor/src/apps/migration-wizard/enums/MigrationReportType.d.ts +0 -6
  652. package/dist/projects/library-editor/src/apps/migration-wizard/enums/SortField.d.ts +0 -5
  653. package/dist/projects/library-editor/src/apps/migration-wizard/enums/ValidationResult.d.ts +0 -32
  654. package/dist/projects/library-editor/src/apps/migration-wizard/enums/ValidationResultErrorType.d.ts +0 -5
  655. package/dist/projects/library-editor/src/apps/migration-wizard/enums/VideoMigrationStatus.d.ts +0 -5
  656. package/dist/projects/library-editor/src/apps/migration-wizard/enums/index.d.ts +0 -7
  657. package/dist/projects/library-editor/src/apps/migration-wizard/errors/already-migrated/AlreadyMigratedError.d.ts +0 -6
  658. package/dist/projects/library-editor/src/apps/migration-wizard/errors/backup-progress/BackupProgressError.d.ts +0 -8
  659. package/dist/projects/library-editor/src/apps/migration-wizard/errors/index.d.ts +0 -6
  660. package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-finalisation/MigrationFinalisationError.d.ts +0 -8
  661. package/dist/projects/library-editor/src/apps/migration-wizard/errors/migration-progress/MigrationProgressError.d.ts +0 -8
  662. package/dist/projects/library-editor/src/apps/migration-wizard/errors/smart-migration-api-call/SmartMigrationApiCallError.d.ts +0 -9
  663. package/dist/projects/library-editor/src/apps/migration-wizard/filters/MigrationFilters.d.ts +0 -8
  664. package/dist/projects/library-editor/src/apps/migration-wizard/filters/index.d.ts +0 -1
  665. package/dist/projects/library-editor/src/apps/migration-wizard/interfaces/SelectedVideos.d.ts +0 -7
  666. package/dist/projects/library-editor/src/apps/migration-wizard/models/BackupToolBuild.d.ts +0 -3
  667. package/dist/projects/library-editor/src/apps/migration-wizard/models/CustomerMetadata.d.ts +0 -9
  668. package/dist/projects/library-editor/src/apps/migration-wizard/models/FinalisationTask.d.ts +0 -3
  669. package/dist/projects/library-editor/src/apps/migration-wizard/models/HomeFolder.d.ts +0 -8
  670. package/dist/projects/library-editor/src/apps/migration-wizard/models/MigrationOptions.d.ts +0 -3
  671. package/dist/projects/library-editor/src/apps/migration-wizard/models/SelectedVideo.d.ts +0 -3
  672. package/dist/projects/library-editor/src/apps/migration-wizard/models/SmartSelectVideo.d.ts +0 -4
  673. package/dist/projects/library-editor/src/apps/migration-wizard/models/VideoCount.d.ts +0 -3
  674. package/dist/projects/library-editor/src/apps/migration-wizard/models/index.d.ts +0 -8
  675. package/dist/projects/library-editor/src/apps/migration-wizard/services/FolderCacheService.d.ts +0 -22
  676. package/dist/projects/library-editor/src/apps/migration-wizard/services/LocalOptionsService.d.ts +0 -10
  677. package/dist/projects/library-editor/src/apps/migration-wizard/services/MigrationVideoDataService.d.ts +0 -56
  678. package/dist/projects/library-editor/src/apps/migration-wizard/services/SelectedVideoService.d.ts +0 -19
  679. package/dist/projects/library-editor/src/apps/migration-wizard/utils/FolderHelper.d.ts +0 -8
  680. package/dist/projects/library-editor/src/apps/migration-wizard/utils/KeyContactHelper.d.ts +0 -6
  681. package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.d.ts +0 -3
  682. package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationHelper.d.ts +0 -41
  683. package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationRadioChannels.d.ts +0 -4
  684. package/dist/projects/library-editor/src/apps/migration-wizard/utils/MigrationWarningsSvgs.d.ts +0 -3
  685. package/dist/projects/library-editor/src/apps/migration-wizard/utils/ReportHelper.d.ts +0 -9
  686. package/dist/projects/library-editor/src/apps/migration-wizard/utils/VideoHelper.d.ts +0 -29
  687. package/dist/projects/library-editor/src/apps/migration-wizard/views/current-section-header/CurrentSectionHeaderView.d.ts +0 -28
  688. package/dist/projects/library-editor/src/apps/migration-wizard/views/generate-csv-report/GenerateCsvReportView.d.ts +0 -27
  689. package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.d.ts +0 -40
  690. package/dist/projects/library-editor/src/apps/migration-wizard/views/migration-progress/MigrationProgressView.d.ts +0 -32
  691. package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-banner/PublishLibraryBannerView.d.ts +0 -30
  692. package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-complete/PublishLibraryCompleteView.d.ts +0 -15
  693. package/dist/projects/library-editor/src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.d.ts +0 -18
  694. package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup/PublisherBackupView.d.ts +0 -19
  695. package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-complete/PublisherBackupCompleteView.d.ts +0 -23
  696. package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-progress/PublisherBackupProgressView.d.ts +0 -23
  697. package/dist/projects/library-editor/src/apps/migration-wizard/views/publisher-backup-welcome/PublisherBackupWelcomeView.d.ts +0 -19
  698. package/dist/projects/library-editor/src/apps/migration-wizard/views/remigrate-video/RemigrateVideoView.d.ts +0 -32
  699. package/dist/projects/library-editor/src/apps/migration-wizard/views/selected-videos/SelectedVideosView.d.ts +0 -32
  700. package/dist/projects/library-editor/src/apps/migration-wizard/views/show-video-popup/ShowPublisherVideoPopupView.d.ts +0 -26
  701. package/dist/projects/library-editor/src/apps/migration-wizard/views/smart-migration/SmartMigrationView.d.ts +0 -58
  702. package/dist/projects/library-editor/src/apps/migration-wizard/views/start/StartView.d.ts +0 -40
  703. package/dist/projects/library-editor/src/apps/migration-wizard/views/videos-added/VideosAddedView.d.ts +0 -24
  704. package/dist/projects/library-editor/src/apps/notifications/NotificationsApplication.d.ts +0 -11
  705. package/dist/projects/library-editor/src/apps/notifications/constants/NotificationsAppVariables.d.ts +0 -8
  706. package/dist/projects/library-editor/src/apps/notifications/constants/index.d.ts +0 -0
  707. package/dist/projects/library-editor/src/apps/notifications/utils/Constants.d.ts +0 -3
  708. package/dist/projects/library-editor/src/apps/notifications/utils/NotificationsHelper.d.ts +0 -10
  709. package/dist/projects/library-editor/src/apps/notifications/utils/index.d.ts +0 -2
  710. package/dist/projects/library-editor/src/apps/search/SearchApplication.d.ts +0 -16
  711. package/dist/projects/library-editor/src/apps/search/collections/FilterCollection.d.ts +0 -9
  712. package/dist/projects/library-editor/src/apps/search/collections/OptionCollection.d.ts +0 -5
  713. package/dist/projects/library-editor/src/apps/search/collections/index.d.ts +0 -2
  714. package/dist/projects/library-editor/src/apps/search/components/filters/FiltersComponent.d.ts +0 -27
  715. package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonItemComponent.d.ts +0 -37
  716. package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/FilterButtonListComponent.d.ts +0 -19
  717. package/dist/projects/library-editor/src/apps/search/components/filters/filter-button-list/index.d.ts +0 -2
  718. package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterItemComponent.d.ts +0 -17
  719. package/dist/projects/library-editor/src/apps/search/components/filters/filter-list/FilterListComponent.d.ts +0 -24
  720. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/FilterOptionsComponent.d.ts +0 -34
  721. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/bool-filter-options/BoolFilterOptionsComponent.d.ts +0 -15
  722. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/duration-filter-options/DurationFilterOptionListComponent.d.ts +0 -27
  723. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionItemComponent.d.ts +0 -19
  724. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/filter-option-list/FilterOptionsListComponent.d.ts +0 -21
  725. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/index.d.ts +0 -7
  726. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/range-filter-options/RangeFilterOptionListComponent.d.ts +0 -23
  727. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsComponent.d.ts +0 -27
  728. package/dist/projects/library-editor/src/apps/search/components/filters/filter-options/tag-filter-options/TagFilterOptionsListComponent.d.ts +0 -19
  729. package/dist/projects/library-editor/src/apps/search/components/filters/index.d.ts +0 -3
  730. package/dist/projects/library-editor/src/apps/search/components/filters/more-filters-button/MoreFiltersButtonComponent.d.ts +0 -42
  731. package/dist/projects/library-editor/src/apps/search/components/results/SearchResultsComponent.d.ts +0 -22
  732. package/dist/projects/library-editor/src/apps/search/components/search-header/SearchHeaderComponent.d.ts +0 -11
  733. package/dist/projects/library-editor/src/apps/search/constants/SearchRadioChannels.d.ts +0 -3
  734. package/dist/projects/library-editor/src/apps/search/constants/index.d.ts +0 -1
  735. package/dist/projects/library-editor/src/apps/search/models/Filter.d.ts +0 -8
  736. package/dist/projects/library-editor/src/apps/search/models/Option.d.ts +0 -4
  737. package/dist/projects/library-editor/src/apps/search/models/Query.d.ts +0 -3
  738. package/dist/projects/library-editor/src/apps/search/models/SearchAppVariables.d.ts +0 -7
  739. package/dist/projects/library-editor/src/apps/search/models/index.d.ts +0 -3
  740. package/dist/projects/library-editor/src/apps/search/services/SearchDataService.d.ts +0 -12
  741. package/dist/projects/library-editor/src/apps/search/services/index.d.ts +0 -1
  742. package/dist/projects/library-editor/src/apps/search/utils/Constants.d.ts +0 -28
  743. package/dist/projects/library-editor/src/apps/search/utils/Enums.d.ts +0 -23
  744. package/dist/projects/library-editor/src/apps/search/utils/FilterHelper.d.ts +0 -2
  745. package/dist/projects/library-editor/src/apps/search/utils/FilterLabelGenerators.d.ts +0 -2
  746. package/dist/projects/library-editor/src/apps/search/utils/FilterQueryGenerators.d.ts +0 -2
  747. package/dist/projects/library-editor/src/apps/search/utils/FilterRouteQueryParamGenerators.d.ts +0 -2
  748. package/dist/projects/library-editor/src/apps/search/utils/SearchHelper.d.ts +0 -11
  749. package/dist/projects/library-editor/src/apps/search/utils/index.d.ts +0 -4
  750. package/dist/projects/library-editor/src/apps/search/views/search/SearchView.d.ts +0 -57
  751. package/dist/projects/library-editor/src/apps/staff-requests/StaffRequestsApplication.d.ts +0 -15
  752. package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestCollection.d.ts +0 -5
  753. package/dist/projects/library-editor/src/apps/staff-requests/collections/StaffRequestMessageCollection.d.ts +0 -5
  754. package/dist/projects/library-editor/src/apps/staff-requests/collections/index.d.ts +0 -2
  755. package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-actions/StaffRequestActionsComponent.d.ts +0 -42
  756. package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-details/StaffRequestDetailsComponent.d.ts +0 -30
  757. package/dist/projects/library-editor/src/apps/staff-requests/components/staff-request-list/StaffRequestListComponent.d.ts +0 -29
  758. package/dist/projects/library-editor/src/apps/staff-requests/enums/StaffRequestStatus.d.ts +0 -5
  759. package/dist/projects/library-editor/src/apps/staff-requests/enums/index.d.ts +0 -1
  760. package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequest.d.ts +0 -18
  761. package/dist/projects/library-editor/src/apps/staff-requests/models/StaffRequestMessage.d.ts +0 -7
  762. package/dist/projects/library-editor/src/apps/staff-requests/models/index.d.ts +0 -2
  763. package/dist/projects/library-editor/src/apps/staff-requests/services/StaffRequestDataService.d.ts +0 -14
  764. package/dist/projects/library-editor/src/apps/staff-requests/services/index.d.ts +0 -1
  765. package/dist/projects/library-editor/src/apps/staff-requests/utils/StaffRequestApprovalValidation.d.ts +0 -2
  766. package/dist/projects/library-editor/src/apps/staff-requests/utils/StaffRequestRejectionValidation.d.ts +0 -2
  767. package/dist/projects/library-editor/src/apps/staff-requests/utils/index.d.ts +0 -2
  768. package/dist/projects/library-editor/src/apps/staff-requests/views/approve-staff-request/ApproveStaffRequestView.d.ts +0 -34
  769. package/dist/projects/library-editor/src/apps/staff-requests/views/reject-staff-request/RejectStaffRequestView.d.ts +0 -34
  770. package/dist/projects/library-editor/src/apps/staff-requests/views/staff-requests/StaffRequestsView.d.ts +0 -44
  771. package/dist/projects/library-editor/src/apps/upload/UploadApplication.d.ts +0 -23
  772. package/dist/projects/library-editor/src/apps/upload/components/index.d.ts +0 -7
  773. package/dist/projects/library-editor/src/apps/upload/components/processing-progress/ProcessProgressComponentCollection.d.ts +0 -38
  774. package/dist/projects/library-editor/src/apps/upload/components/progress-info/ProgressInfoComponent.d.ts +0 -10
  775. package/dist/projects/library-editor/src/apps/upload/components/upload-actions/UploadActionsComponent.d.ts +0 -21
  776. package/dist/projects/library-editor/src/apps/upload/components/upload-folder-select/UploadFolderSelectComponent.d.ts +0 -35
  777. package/dist/projects/library-editor/src/apps/upload/components/upload-progress/UploadProgressComponent.d.ts +0 -10
  778. package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponent.d.ts +0 -48
  779. package/dist/projects/library-editor/src/apps/upload/components/upload-video/UploadVideoComponentCollection.d.ts +0 -20
  780. package/dist/projects/library-editor/src/apps/upload/components/upload-video-options/UploadVideoOptionsComponent.d.ts +0 -18
  781. package/dist/projects/library-editor/src/apps/upload/errors/index.d.ts +0 -1
  782. package/dist/projects/library-editor/src/apps/upload/errors/no-libraries-upload/NoLibrariesUploadError.d.ts +0 -7
  783. package/dist/projects/library-editor/src/apps/upload/services/ImageUploadDataService.d.ts +0 -8
  784. package/dist/projects/library-editor/src/apps/upload/services/PendingItemsService.d.ts +0 -7
  785. package/dist/projects/library-editor/src/apps/upload/services/VideoUploadDataService.d.ts +0 -17
  786. package/dist/projects/library-editor/src/apps/upload/services/VideoUploadService.d.ts +0 -8
  787. package/dist/projects/library-editor/src/apps/upload/services/index.d.ts +0 -5
  788. package/dist/projects/library-editor/src/apps/upload/views/file-select/FileSelectView.d.ts +0 -25
  789. package/dist/projects/library-editor/src/apps/upload/views/progress-summary/ProgressSummaryView.d.ts +0 -18
  790. package/dist/projects/library-editor/src/apps/upload/views/upload-button/UploadButtonView.d.ts +0 -26
  791. package/dist/projects/library-editor/src/apps/upload/views/upload-complete/UploadCompleteView.d.ts +0 -14
  792. package/dist/projects/library-editor/src/apps/upload/views/upload-videos/UploadVideosView.d.ts +0 -64
  793. package/dist/projects/library-editor/src/apps/video-access/VideoAccessApplication.d.ts +0 -12
  794. package/dist/projects/library-editor/src/apps/video-access/views/restricted-video-list/RestrictedVideoListView.d.ts +0 -34
  795. package/dist/projects/library-editor/src/polyfills.d.ts +0 -2
  796. package/dist/projects/library-editor/src/shared/alerts/VideoAlerts.d.ts +0 -9
  797. package/dist/projects/library-editor/src/shared/alerts/index.d.ts +0 -1
  798. package/dist/projects/library-editor/src/shared/behaviors/backbone-validation/BackboneValidationBehavior.d.ts +0 -14
  799. package/dist/projects/library-editor/src/shared/behaviors/image-select-behavior/ImageSelectBehavior.d.ts +0 -23
  800. package/dist/projects/library-editor/src/shared/behaviors/index.d.ts +0 -6
  801. package/dist/projects/library-editor/src/shared/behaviors/lazy-load/LazyLoadBehavior.d.ts +0 -31
  802. package/dist/projects/library-editor/src/shared/behaviors/lock-layout-file-drop/LockLayoutFileDropBehavior.d.ts +0 -7
  803. package/dist/projects/library-editor/src/shared/behaviors/popup/PopupBehavior.d.ts +0 -65
  804. package/dist/projects/library-editor/src/shared/behaviors/stickit/StickitBehavior.d.ts +0 -6
  805. package/dist/projects/library-editor/src/shared/collections/ChannelCollection.d.ts +0 -6
  806. package/dist/projects/library-editor/src/shared/collections/ChapterCollection.d.ts +0 -7
  807. package/dist/projects/library-editor/src/shared/collections/DirectorCollection.d.ts +0 -6
  808. package/dist/projects/library-editor/src/shared/collections/DistributorCollection.d.ts +0 -6
  809. package/dist/projects/library-editor/src/shared/collections/FieldsCollection.d.ts +0 -5
  810. package/dist/projects/library-editor/src/shared/collections/FolderCollection.d.ts +0 -7
  811. package/dist/projects/library-editor/src/shared/collections/InteractivesCollection.d.ts +0 -6
  812. package/dist/projects/library-editor/src/shared/collections/LibraryCollection.d.ts +0 -7
  813. package/dist/projects/library-editor/src/shared/collections/LinkCollection.d.ts +0 -6
  814. package/dist/projects/library-editor/src/shared/collections/LocalCacheDeviceCollection.d.ts +0 -5
  815. package/dist/projects/library-editor/src/shared/collections/LocalCacheDownloadCollection.d.ts +0 -5
  816. package/dist/projects/library-editor/src/shared/collections/MetadataCollection.d.ts +0 -4
  817. package/dist/projects/library-editor/src/shared/collections/ProducerCollection.d.ts +0 -6
  818. package/dist/projects/library-editor/src/shared/collections/ProductionCompanyCollection.d.ts +0 -6
  819. package/dist/projects/library-editor/src/shared/collections/RatingCollection.d.ts +0 -4
  820. package/dist/projects/library-editor/src/shared/collections/ResourceCollection.d.ts +0 -6
  821. package/dist/projects/library-editor/src/shared/collections/RestrictedObjectCollection.d.ts +0 -5
  822. package/dist/projects/library-editor/src/shared/collections/RestrictionCollection.d.ts +0 -5
  823. package/dist/projects/library-editor/src/shared/collections/SeasonCollection.d.ts +0 -6
  824. package/dist/projects/library-editor/src/shared/collections/SettingsCollection.d.ts +0 -5
  825. package/dist/projects/library-editor/src/shared/collections/SubtitleCollection.d.ts +0 -6
  826. package/dist/projects/library-editor/src/shared/collections/TagCollection.d.ts +0 -6
  827. package/dist/projects/library-editor/src/shared/collections/VideoCollection.d.ts +0 -6
  828. package/dist/projects/library-editor/src/shared/components/alert/AlertComponentCollection.d.ts +0 -11
  829. package/dist/projects/library-editor/src/shared/components/alert/AlertItemComponent.d.ts +0 -44
  830. package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbComponentCollection.d.ts +0 -18
  831. package/dist/projects/library-editor/src/shared/components/breadcrumbs/BreadcrumbsComponent.d.ts +0 -27
  832. package/dist/projects/library-editor/src/shared/components/bulk-video-actions/BulkVideoActionsComponent.d.ts +0 -26
  833. package/dist/projects/library-editor/src/shared/components/checkbox/BulkCheckboxComponent.d.ts +0 -27
  834. package/dist/projects/library-editor/src/shared/components/checkbox/CheckboxComponent.d.ts +0 -25
  835. package/dist/projects/library-editor/src/shared/components/clear-button/ClearButtonComponent.d.ts +0 -18
  836. package/dist/projects/library-editor/src/shared/components/date-picker/DatePickerComponent.d.ts +0 -47
  837. package/dist/projects/library-editor/src/shared/components/dialog/DialogView.d.ts +0 -22
  838. package/dist/projects/library-editor/src/shared/components/dropdown/DropdownButtonComponent.d.ts +0 -36
  839. package/dist/projects/library-editor/src/shared/components/dropdown/DropdownComponentCollection.d.ts +0 -38
  840. package/dist/projects/library-editor/src/shared/components/dropdown/DropdownItemComponent.d.ts +0 -57
  841. package/dist/projects/library-editor/src/shared/components/edit-video/edit-additional-info/EditAdditionalInfoComponent.d.ts +0 -38
  842. package/dist/projects/library-editor/src/shared/components/edit-video/edit-basic-info/EditBasicInfoComponent.d.ts +0 -32
  843. package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/EditBroadcastComponent.d.ts +0 -22
  844. package/dist/projects/library-editor/src/shared/components/edit-video/edit-broadcast/ToggleBroadcastComponent.d.ts +0 -24
  845. package/dist/projects/library-editor/src/shared/components/edit-video/edit-production-info/EditProductionInfoComponent.d.ts +0 -61
  846. package/dist/projects/library-editor/src/shared/components/edit-video/edit-season-info/EditSeasonInfoComponent.d.ts +0 -33
  847. package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoComponent.d.ts +0 -16
  848. package/dist/projects/library-editor/src/shared/components/edit-video/extra-info/ExtraInfoItemComponent.d.ts +0 -17
  849. package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingCollectionComponent.d.ts +0 -17
  850. package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingComponent.d.ts +0 -40
  851. package/dist/projects/library-editor/src/shared/components/edit-video/select-rating/SelectRatingItemComponent.d.ts +0 -20
  852. package/dist/projects/library-editor/src/shared/components/fields/FieldsComponent.d.ts +0 -9
  853. package/dist/projects/library-editor/src/shared/components/image-cropper/ImageCropperComponent.d.ts +0 -34
  854. package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavComponent.d.ts +0 -31
  855. package/dist/projects/library-editor/src/shared/components/left-nav/LeftNavNodeComponent.d.ts +0 -48
  856. package/dist/projects/library-editor/src/shared/components/page-footer/PageFooterComponent.d.ts +0 -15
  857. package/dist/projects/library-editor/src/shared/components/page-header/PageHeaderComponent.d.ts +0 -25
  858. package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponent.d.ts +0 -16
  859. package/dist/projects/library-editor/src/shared/components/partial-loading/PartialLoadingComponentCollection.d.ts +0 -20
  860. package/dist/projects/library-editor/src/shared/components/partial-loading/index.d.ts +0 -2
  861. package/dist/projects/library-editor/src/shared/components/resizing-text-area/ResizingTextAreaComponent.d.ts +0 -23
  862. package/dist/projects/library-editor/src/shared/components/screenrights-disclaimer/ScreenrightsDisclaimerComponent.d.ts +0 -18
  863. package/dist/projects/library-editor/src/shared/components/select/SelectComponent.d.ts +0 -54
  864. package/dist/projects/library-editor/src/shared/components/spinner-button/SpinnerButtonComponent.d.ts +0 -73
  865. package/dist/projects/library-editor/src/shared/components/tabs/TabsComponent.d.ts +0 -28
  866. package/dist/projects/library-editor/src/shared/components/top-navigation/TopNavigationComponentCollection.d.ts +0 -29
  867. package/dist/projects/library-editor/src/shared/components/tree-dropdown/TreeDropdownComponent.d.ts +0 -32
  868. package/dist/projects/library-editor/src/shared/components/typeahead-input/SearchTypeaheadComponent.d.ts +0 -75
  869. package/dist/projects/library-editor/src/shared/components/typeahead-input/templates/index.d.ts +0 -4
  870. package/dist/projects/library-editor/src/shared/components/typeahead-list/TypeaheadListComponent.d.ts +0 -33
  871. package/dist/projects/library-editor/src/shared/components/user-options-dropdown/UserOptionsDropdownComponent.d.ts +0 -20
  872. package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionComponentCollection.d.ts +0 -31
  873. package/dist/projects/library-editor/src/shared/components/video-actions/VideoActionsComponent.d.ts +0 -42
  874. package/dist/projects/library-editor/src/shared/components/video-basic-info/VideoBasicInfoComponent.d.ts +0 -33
  875. package/dist/projects/library-editor/src/shared/components/video-description/VideoDescriptionComponent.d.ts +0 -33
  876. package/dist/projects/library-editor/src/shared/components/video-item/VideoItemComponent.d.ts +0 -58
  877. package/dist/projects/library-editor/src/shared/components/video-item/index.d.ts +0 -4
  878. package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemBehaviors.d.ts +0 -4
  879. package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentHelper.d.ts +0 -8
  880. package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.d.ts +0 -16
  881. package/dist/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponents.d.ts +0 -7
  882. package/dist/projects/library-editor/src/shared/components/video-item/utils/index.d.ts +0 -3
  883. package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/base/VideoItemActionsComponent.d.ts +0 -23
  884. package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/index.d.ts +0 -4
  885. package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-processing-actions/VideoItemProcessingActionsComponent.d.ts +0 -25
  886. package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-review-actions/VideoItemReviewActionsComponent.d.ts +0 -26
  887. package/dist/projects/library-editor/src/shared/components/video-item/video-item-actions/video-item-video-access-actions/VideoItemVideoAccessActionsComponent.d.ts +0 -22
  888. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/base/VideoItemMetadataComponent.d.ts +0 -24
  889. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/index.d.ts +0 -9
  890. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-awaiting-review-metadata/VideoItemAwaitingReviewMetadataComponent.d.ts +0 -22
  891. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-badges/VideoItemBadgesComponent.d.ts +0 -20
  892. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-past-releases-metadata/VideoItemPastReleasesMetadataComponent.d.ts +0 -25
  893. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-processing-metadata/VideoItemProcessingMetadataComponent.d.ts +0 -19
  894. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-search-metadata/VideoItemSearchMetadataComponent.d.ts +0 -22
  895. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.d.ts +0 -22
  896. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-video-access-metadata/VideoItemVideoAccessMetadataComponent.d.ts +0 -27
  897. package/dist/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-sources-metadata/VideoSourcesMetadataComponent.d.ts +0 -22
  898. package/dist/projects/library-editor/src/shared/components/video-item-preview/VideoItemPreviewComponent.d.ts +0 -37
  899. package/dist/projects/library-editor/src/shared/components/video-list/VideoListComponent.d.ts +0 -44
  900. package/dist/projects/library-editor/src/shared/components/video-preview/VideoPreviewComponent.d.ts +0 -30
  901. package/dist/projects/library-editor/src/shared/components/web-player/WebPlayerComponent.d.ts +0 -53
  902. package/dist/projects/library-editor/src/shared/constants/Actions.d.ts +0 -99
  903. package/dist/projects/library-editor/src/shared/constants/BootstrapKeys.d.ts +0 -9
  904. package/dist/projects/library-editor/src/shared/constants/CacheDurations.d.ts +0 -4
  905. package/dist/projects/library-editor/src/shared/constants/DataPrefixes.d.ts +0 -91
  906. package/dist/projects/library-editor/src/shared/constants/DataServiceErrors.d.ts +0 -4
  907. package/dist/projects/library-editor/src/shared/constants/EventNames.d.ts +0 -16
  908. package/dist/projects/library-editor/src/shared/constants/FolderTreeIds.d.ts +0 -4
  909. package/dist/projects/library-editor/src/shared/constants/FormattedCustomerSettingNames.d.ts +0 -3
  910. package/dist/projects/library-editor/src/shared/constants/ImageSizes.d.ts +0 -11
  911. package/dist/projects/library-editor/src/shared/constants/ImageUrls.d.ts +0 -19
  912. package/dist/projects/library-editor/src/shared/constants/LayoutRegions.d.ts +0 -16
  913. package/dist/projects/library-editor/src/shared/constants/Layouts.d.ts +0 -3
  914. package/dist/projects/library-editor/src/shared/constants/LazyLoadBrowserSupport.d.ts +0 -7
  915. package/dist/projects/library-editor/src/shared/constants/MarketingSiteArticles.d.ts +0 -3
  916. package/dist/projects/library-editor/src/shared/constants/Misc.d.ts +0 -5
  917. package/dist/projects/library-editor/src/shared/constants/OnlineUrls.d.ts +0 -4
  918. package/dist/projects/library-editor/src/shared/constants/PartialLoadingComponents.d.ts +0 -10
  919. package/dist/projects/library-editor/src/shared/constants/RadioChannels.d.ts +0 -62
  920. package/dist/projects/library-editor/src/shared/constants/Search.d.ts +0 -24
  921. package/dist/projects/library-editor/src/shared/constants/Services.d.ts +0 -62
  922. package/dist/projects/library-editor/src/shared/constants/SupportArticles.d.ts +0 -3
  923. package/dist/projects/library-editor/src/shared/constants/Webplayer.d.ts +0 -4
  924. package/dist/projects/library-editor/src/shared/constants/WithStatements.d.ts +0 -9
  925. package/dist/projects/library-editor/src/shared/constants/empty-state-components/EmptyStateComponents.d.ts +0 -6
  926. package/dist/projects/library-editor/src/shared/constants/index.d.ts +0 -25
  927. package/dist/projects/library-editor/src/shared/enums/CitationType.d.ts +0 -6
  928. package/dist/projects/library-editor/src/shared/enums/CustomerRegions.d.ts +0 -5
  929. package/dist/projects/library-editor/src/shared/enums/EmptyStates.d.ts +0 -16
  930. package/dist/projects/library-editor/src/shared/enums/FileIdType.d.ts +0 -5
  931. package/dist/projects/library-editor/src/shared/enums/ImageType.d.ts +0 -5
  932. package/dist/projects/library-editor/src/shared/enums/MasterType.d.ts +0 -4
  933. package/dist/projects/library-editor/src/shared/enums/PartialLoading.d.ts +0 -38
  934. package/dist/projects/library-editor/src/shared/enums/RestrictedObjectType.d.ts +0 -4
  935. package/dist/projects/library-editor/src/shared/enums/SchoolTypes.d.ts +0 -17
  936. package/dist/projects/library-editor/src/shared/enums/SharedResourcePrivacy.d.ts +0 -5
  937. package/dist/projects/library-editor/src/shared/enums/SortTypes.d.ts +0 -10
  938. package/dist/projects/library-editor/src/shared/enums/StaffRequestOption.d.ts +0 -9
  939. package/dist/projects/library-editor/src/shared/enums/TimeType.d.ts +0 -4
  940. package/dist/projects/library-editor/src/shared/enums/UserRole.d.ts +0 -10
  941. package/dist/projects/library-editor/src/shared/enums/YearGroups.d.ts +0 -19
  942. package/dist/projects/library-editor/src/shared/enums/index.d.ts +0 -15
  943. package/dist/projects/library-editor/src/shared/errors/authentication/AuthenticationError.d.ts +0 -8
  944. package/dist/projects/library-editor/src/shared/errors/customer-setting/CustomerSettingError.d.ts +0 -8
  945. package/dist/projects/library-editor/src/shared/errors/email-not-verified/EmailNotVerifiedError.d.ts +0 -8
  946. package/dist/projects/library-editor/src/shared/errors/forbidden-access/ForbiddenAccessError.d.ts +0 -11
  947. package/dist/projects/library-editor/src/shared/errors/index.d.ts +0 -8
  948. package/dist/projects/library-editor/src/shared/errors/local-cache-device-not-found/LocalCacheDeviceNotFoundError.d.ts +0 -7
  949. package/dist/projects/library-editor/src/shared/errors/no-beta-access/NoBetaAccessError.d.ts +0 -8
  950. package/dist/projects/library-editor/src/shared/errors/not-found/NotFoundError.d.ts +0 -5
  951. package/dist/projects/library-editor/src/shared/errors/old-version/OldVersionError.d.ts +0 -8
  952. package/dist/projects/library-editor/src/shared/filters/BetaAccessFilter.d.ts +0 -3
  953. package/dist/projects/library-editor/src/shared/filters/CustomerSettingsFilter.d.ts +0 -8
  954. package/dist/projects/library-editor/src/shared/filters/RoleFilter.d.ts +0 -4
  955. package/dist/projects/library-editor/src/shared/filters/VerifiedEmailFilter.d.ts +0 -3
  956. package/dist/projects/library-editor/src/shared/filters/index.d.ts +0 -4
  957. package/dist/projects/library-editor/src/shared/index.d.ts +0 -9
  958. package/dist/projects/library-editor/src/shared/interfaces/LibraryFoldersIdentifier.d.ts +0 -5
  959. package/dist/projects/library-editor/src/shared/interfaces/RecentVideoCollectionIdentifier.d.ts +0 -20
  960. package/dist/projects/library-editor/src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.d.ts +0 -16
  961. package/dist/projects/library-editor/src/shared/interfaces/VideoCollectionIdentifier.d.ts +0 -5
  962. package/dist/projects/library-editor/src/shared/interfaces/index.d.ts +0 -4
  963. package/dist/projects/library-editor/src/shared/layouts/index.d.ts +0 -1
  964. package/dist/projects/library-editor/src/shared/layouts/manage-layout/ManageLayoutView.d.ts +0 -49
  965. package/dist/projects/library-editor/src/shared/models/Avatar.d.ts +0 -3
  966. package/dist/projects/library-editor/src/shared/models/Banner.d.ts +0 -3
  967. package/dist/projects/library-editor/src/shared/models/Channel.d.ts +0 -3
  968. package/dist/projects/library-editor/src/shared/models/Chapter.d.ts +0 -3
  969. package/dist/projects/library-editor/src/shared/models/Company.d.ts +0 -3
  970. package/dist/projects/library-editor/src/shared/models/Config.d.ts +0 -3
  971. package/dist/projects/library-editor/src/shared/models/Customer.d.ts +0 -3
  972. package/dist/projects/library-editor/src/shared/models/Director.d.ts +0 -3
  973. package/dist/projects/library-editor/src/shared/models/DisabledSpinnerModel.d.ts +0 -5
  974. package/dist/projects/library-editor/src/shared/models/Distributor.d.ts +0 -3
  975. package/dist/projects/library-editor/src/shared/models/Folder.d.ts +0 -14
  976. package/dist/projects/library-editor/src/shared/models/Image.d.ts +0 -3
  977. package/dist/projects/library-editor/src/shared/models/Interactives.d.ts +0 -3
  978. package/dist/projects/library-editor/src/shared/models/LanguageConfig.d.ts +0 -7
  979. package/dist/projects/library-editor/src/shared/models/Library.d.ts +0 -10
  980. package/dist/projects/library-editor/src/shared/models/Link.d.ts +0 -3
  981. package/dist/projects/library-editor/src/shared/models/LocalCacheDevice.d.ts +0 -3
  982. package/dist/projects/library-editor/src/shared/models/LocalCacheDownload.d.ts +0 -3
  983. package/dist/projects/library-editor/src/shared/models/Logo.d.ts +0 -3
  984. package/dist/projects/library-editor/src/shared/models/Metadata.d.ts +0 -3
  985. package/dist/projects/library-editor/src/shared/models/Owner.d.ts +0 -3
  986. package/dist/projects/library-editor/src/shared/models/Person.d.ts +0 -3
  987. package/dist/projects/library-editor/src/shared/models/Phrases.d.ts +0 -3
  988. package/dist/projects/library-editor/src/shared/models/Playlist.d.ts +0 -3
  989. package/dist/projects/library-editor/src/shared/models/Producer.d.ts +0 -3
  990. package/dist/projects/library-editor/src/shared/models/ProductionCompany.d.ts +0 -3
  991. package/dist/projects/library-editor/src/shared/models/Rating.d.ts +0 -3
  992. package/dist/projects/library-editor/src/shared/models/Resource.d.ts +0 -3
  993. package/dist/projects/library-editor/src/shared/models/RestrictedObject.d.ts +0 -3
  994. package/dist/projects/library-editor/src/shared/models/Restriction.d.ts +0 -3
  995. package/dist/projects/library-editor/src/shared/models/Season.d.ts +0 -3
  996. package/dist/projects/library-editor/src/shared/models/Series.d.ts +0 -7
  997. package/dist/projects/library-editor/src/shared/models/Setting.d.ts +0 -3
  998. package/dist/projects/library-editor/src/shared/models/SharedResource.d.ts +0 -3
  999. package/dist/projects/library-editor/src/shared/models/Subtitle.d.ts +0 -3
  1000. package/dist/projects/library-editor/src/shared/models/Tag.d.ts +0 -3
  1001. package/dist/projects/library-editor/src/shared/models/Thumbnail.d.ts +0 -3
  1002. package/dist/projects/library-editor/src/shared/models/User.d.ts +0 -10
  1003. package/dist/projects/library-editor/src/shared/models/Video.d.ts +0 -49
  1004. package/dist/projects/library-editor/src/shared/services/AlertService.d.ts +0 -15
  1005. package/dist/projects/library-editor/src/shared/services/ConfigDataService.d.ts +0 -23
  1006. package/dist/projects/library-editor/src/shared/services/CustomerDataService.d.ts +0 -7
  1007. package/dist/projects/library-editor/src/shared/services/DownloadProxyDataServices.d.ts +0 -8
  1008. package/dist/projects/library-editor/src/shared/services/IntercomService.d.ts +0 -6
  1009. package/dist/projects/library-editor/src/shared/services/LocalCacheDataService.d.ts +0 -12
  1010. package/dist/projects/library-editor/src/shared/services/NavigationLockService.d.ts +0 -16
  1011. package/dist/projects/library-editor/src/shared/services/PageTitleService.d.ts +0 -8
  1012. package/dist/projects/library-editor/src/shared/services/PageVisibilityService.d.ts +0 -14
  1013. package/dist/projects/library-editor/src/shared/services/PartialLoadingService.d.ts +0 -10
  1014. package/dist/projects/library-editor/src/shared/services/RestrictedVideoDataService.d.ts +0 -15
  1015. package/dist/projects/library-editor/src/shared/services/SettingsDataService.d.ts +0 -16
  1016. package/dist/projects/library-editor/src/shared/services/UserDataService.d.ts +0 -20
  1017. package/dist/projects/library-editor/src/shared/services/VideoMixinService.d.ts +0 -18
  1018. package/dist/projects/library-editor/src/shared/utils/BulkCheckboxHelper.d.ts +0 -18
  1019. package/dist/projects/library-editor/src/shared/utils/CancelProcessingHelper.d.ts +0 -4
  1020. package/dist/projects/library-editor/src/shared/utils/CollectionHelper.d.ts +0 -10
  1021. package/dist/projects/library-editor/src/shared/utils/DialogHelper.d.ts +0 -9
  1022. package/dist/projects/library-editor/src/shared/utils/DurationHelper.d.ts +0 -7
  1023. package/dist/projects/library-editor/src/shared/utils/FolderTreeHelpers.d.ts +0 -36
  1024. package/dist/projects/library-editor/src/shared/utils/ImageHelper.d.ts +0 -32
  1025. package/dist/projects/library-editor/src/shared/utils/LazyLoadHelper.d.ts +0 -4
  1026. package/dist/projects/library-editor/src/shared/utils/LocalCacheHelper.d.ts +0 -7
  1027. package/dist/projects/library-editor/src/shared/utils/PartialLoadingHelper.d.ts +0 -6
  1028. package/dist/projects/library-editor/src/shared/utils/PermissionsHelper.d.ts +0 -13
  1029. package/dist/projects/library-editor/src/shared/utils/RadioChannelHelper.d.ts +0 -11
  1030. package/dist/projects/library-editor/src/shared/utils/RatingHelper.d.ts +0 -5
  1031. package/dist/projects/library-editor/src/shared/utils/RestrictedAccessHelper.d.ts +0 -13
  1032. package/dist/projects/library-editor/src/shared/utils/SettingsHelper.d.ts +0 -9
  1033. package/dist/projects/library-editor/src/shared/utils/SortHelper.d.ts +0 -16
  1034. package/dist/projects/library-editor/src/shared/utils/SpinnerHelper.d.ts +0 -19
  1035. package/dist/projects/library-editor/src/shared/utils/SubtitleLanguageValidation.d.ts +0 -6
  1036. package/dist/projects/library-editor/src/shared/utils/TabHelper.d.ts +0 -9
  1037. package/dist/projects/library-editor/src/shared/utils/TextHelper.d.ts +0 -9
  1038. package/dist/projects/library-editor/src/shared/utils/TimeHelper.d.ts +0 -20
  1039. package/dist/projects/library-editor/src/shared/utils/VideoHelper.d.ts +0 -11
  1040. package/dist/projects/library-editor/src/shared/utils/index.d.ts +0 -23
  1041. package/dist/projects/library-editor/src/shared/utils/search/RawSearchHelper.d.ts +0 -25
  1042. package/dist/projects/library-editor/src/shared/utils/search/index.d.ts +0 -1
  1043. package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/add-new/AddNewSuggestion.d.ts +0 -12
  1044. package/dist/projects/library-editor/src/shared/utils/search/raw-search-components/index.d.ts +0 -1
  1045. package/dist/projects/library-editor/src/shared/utils/search/raw-search-templates/index.d.ts +0 -5
  1046. package/dist/projects/library-editor/src/shared/views/download-to-local-cache/DownloadToLocalCacheView.d.ts +0 -28
  1047. package/dist/projects/library-editor/src/shared/views/download-video/DownloadVideoView.d.ts +0 -18
  1048. package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessComponent.d.ts +0 -7
  1049. package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessGroupComponent.d.ts +0 -24
  1050. package/dist/projects/library-editor/src/shared/views/restrict-access/RestrictAccessView.d.ts +0 -67
  1051. package/dist/projects/library-editor/src/shared/views/share/ShareView.d.ts +0 -48
  1052. package/dist/projects/library-editor/src/shared/views/top-navigation/TopNavigationView.d.ts +0 -35
  1053. package/dist/projects/library-editor/src/shared/views/user-options/UserOptionsView.d.ts +0 -18
  1054. package/dist/projects/library-editor/src/startup/ConsoleOutput.d.ts +0 -3
  1055. package/dist/projects/library-editor/src/startup/RegisterAjaxMiddleware.d.ts +0 -3
  1056. package/dist/projects/library-editor/src/startup/RegisterAnalytics.d.ts +0 -3
  1057. package/dist/projects/library-editor/src/startup/RegisterApplicationVariables.d.ts +0 -3
  1058. package/dist/projects/library-editor/src/startup/RegisterApplications.d.ts +0 -3
  1059. package/dist/projects/library-editor/src/startup/RegisterCaches.d.ts +0 -3
  1060. package/dist/projects/library-editor/src/startup/RegisterDataProviders.d.ts +0 -3
  1061. package/dist/projects/library-editor/src/startup/RegisterDataServices.d.ts +0 -3
  1062. package/dist/projects/library-editor/src/startup/RegisterErrorHandlers.d.ts +0 -3
  1063. package/dist/projects/library-editor/src/startup/RegisterHandlebarsHelpers.d.ts +0 -3
  1064. package/dist/projects/library-editor/src/startup/RegisterLayouts.d.ts +0 -3
  1065. package/dist/projects/library-editor/src/startup/RegisterRuntimeEnvironment.d.ts +0 -3
  1066. package/dist/projects/library-editor/src/startup/RegisterServices.d.ts +0 -3
  1067. package/dist/projects/library-editor/src/startup/RegisterViewDataExtensions.d.ts +0 -15
  1068. package/dist/projects/library-editor/src/startup/index.d.ts +0 -14
  1069. package/dist/projects/library-editor/src/styles/index.d.ts +0 -1
  1070. package/dist/projects/library-editor/typings/libs/LazyLoad.d.ts +0 -26
  1071. package/dist/scripts/0-93a3cbfbb6.chunk.js +0 -1
  1072. package/dist/scripts/1-69d9709724.chunk.js +0 -1
  1073. package/dist/scripts/10-8b01d98b20.chunk.js +0 -1
  1074. package/dist/scripts/12-9b10cdc17d.chunk.js +0 -1
  1075. package/dist/scripts/13-1e10e6e87f.chunk.js +0 -1
  1076. package/dist/scripts/14-ab7a30ee22.chunk.js +0 -1
  1077. package/dist/scripts/15-74a4408ee9.chunk.js +0 -1
  1078. package/dist/scripts/20-9f938a6f3e.chunk.js +0 -1
  1079. package/dist/scripts/21-3a0591790a.chunk.js +0 -1
  1080. package/dist/scripts/22-75ca7c2ae2.chunk.js +0 -1
  1081. package/dist/scripts/23-6cc6df1006.chunk.js +0 -1
  1082. package/dist/scripts/24-857f2e7cba.chunk.js +0 -1
  1083. package/dist/scripts/25-30d6eaa470.chunk.js +0 -1
  1084. package/dist/scripts/26-7e0e9534cf.chunk.js +0 -1
  1085. package/dist/scripts/27-460f20f83b.chunk.js +0 -1
  1086. package/dist/scripts/28-c4655d4bd8.chunk.js +0 -1
  1087. package/dist/scripts/29-3629c8b906.chunk.js +0 -1
  1088. package/dist/scripts/30-9d7a8c6475.chunk.js +0 -1
  1089. package/dist/scripts/31-a80eb231ed.chunk.js +0 -1
  1090. package/dist/scripts/34-d2a7193286.chunk.js +0 -1
  1091. package/dist/scripts/35-1b97d95b2a.chunk.js +0 -1
  1092. package/dist/scripts/36-179634ea36.chunk.js +0 -1
  1093. package/dist/scripts/49-ac59f2a6fd.chunk.js +0 -1
  1094. package/dist/scripts/5-ce9948090c.chunk.js +0 -1
  1095. package/dist/scripts/6-97a29c3fdd.chunk.js +0 -1
  1096. package/dist/scripts/9-0776e647a0.chunk.js +0 -1
  1097. package/dist/scripts/bundle-704119eb6d.min.js +0 -8
  1098. package/dist/scripts/polyfills-44c21c47b6.min.js +0 -1
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[6],{1227:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" cursor-pointer"},3:function(t,e,n,o,r){return"checked"},5:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="custom-control custom-checkbox '+a(l(null!=(i=null!=e?e.options:e)?i.checkboxClassName:i,e))+'">\r\n <input name="checkbox-'+a(l(null!=(i=null!=e?e.options:e)?i.id:i,e))+'" id="checkbox-'+a(l(null!=(i=null!=e?e.options:e)?i.id:i,e))+'" type="checkbox" class="custom-control-input'+(null!=(i=n.unless.call(u,null!=(i=null!=e?e.options:e)?i.disabled:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'" '+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.checked:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+" "+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.disabled:i,{name:"if",hash:{},fn:t.program(5,r,0),inverse:t.noop,data:r}))?i:"")+' />\r\n <label class="custom-control-label'+(null!=(i=n.unless.call(u,null!=(i=null!=e?e.options:e)?i.disabled:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'" for="checkbox-'+a(l(null!=(i=null!=e?e.options:e)?i.id:i,e))+'">&nbsp;</label>\r\n</div>'},useData:!0})},1235:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return g}));var o=n(1),r=n(2),i=n(1227),l=n.n(i),a=n(12);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=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=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d="checkbox-all",g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(u,t);var e,n,r,i=p(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,t)}return e=u,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"getViewModel",value:function(){this.model=a.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change",this.onChange)}},{key:"events",value:function(){return{"change .custom-control-input":"onClick"}}},{key:"onChange",value:function(){this.checkAllChecked(),this.render()}},{key:"checkAllChecked",value:function(){var t=o.values(this.model.omit("all",d));o.every(t,(function(t){return!!t}))&&(this.model.get("all")||t.length===this.options.numberOfItems)&&this.model.set(c({all:!0},this.getItemId(),!0))}},{key:"getItemId",value:function(){return d}},{key:"onClick",value:function(){this.model.get(this.getItemId())?this.model.clear():(this.model.clear(),this.model.set(c({all:!0},this.getItemId(),!0)))}},{key:"viewOptions",value:function(){return{id:this.getItemId(),checked:this.model.get(d),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return l.a}}])&&s(e.prototype,n),r&&s(e,r),u}(r.a.Component)},1241:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var o=n(2),r=n(1227),i=n.n(r),l=n(12),a=n(1235);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e){return(s=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 r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(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 y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(u,t);var e,n,o,r=f(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),r.call(this,t)}return e=u,(n=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var t=this.getItemId();this.model.set(t,!0,{silent:!0})}}},{key:"getViewModel",value:function(){this.model=l.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change:all change:".concat(this.getItemId()),this.render)}},{key:"events",value:function(){return{"click .custom-checkbox":"onClickCheckbox","change .custom-control-input":"onChangeCheckbox"}}},{key:"getItemId",value:function(){return this.options.itemId.toString()}},{key:"onClickCheckbox",value:function(t){t.stopPropagation()}},{key:"onChangeCheckbox",value:function(){if(!this.options.disabled){var t=this.getItemId();this.model.has(t)||this.model.get("all")?!1===this.model.get(t)?this.model.set(t,!0):(this.model.set(t,!1),this.model.set(a.a,!1)):this.model.set(t,!0)}}},{key:"viewOptions",value:function(){var t=this.getItemId();return{id:t,checked:this.model.has(t)?this.model.get(t):this.model.get("all"),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return i.a}}])&&c(e.prototype,n),o&&c(e,o),u}(o.a.Component)},1296:function(t,e,n){"use strict";var o=n(2),r=n(15),i=n(0),l=n(322),a=n(1551),u=n.n(a);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 s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(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 p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(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 d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,n,o,a=h(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:"regions",value:function(){return{generateReport:{el:".generate-report-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:l,warningSvg:r.a.getSvg(r.b.Warning)}}},{key:"onRender",value:function(){this.showChildView("generateReport",new Ae)}},{key:"name",get:function(){return"SearchBarComponent"}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"migrationWizard.searchBar"}},{key:"className",get:function(){var t="container";return"publisher-archive"===this.options.selected&&(t+=" ".concat(l.publisherArchive)),"migration-errors"===this.options.selected&&(t+=" ".concat(l.migrationErrors)),"none"===this.options.selected&&(t+=" ".concat(l.none)),t}},{key:"elements",get:function(){return{search:".search"}}},{key:"appLinks",get:function(){var t;return s(t={},".".concat(l.reviewErroredAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}),s(t,".".concat(l.publisherArchiveAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.HOME}),t}}])&&f(e.prototype,n),o&&f(e,o),c}(o.a.Component),b=n(1),m=n(6),v=n(1235),k=n(12),O=n(189),w=n(1303),C=n(47),x=n(323),R=n.n(x),S=n(1552),_=n.n(S);function E(t){return(E="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 j(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 I(t,e){return(I=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=M(t);if(e){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==E(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 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&&I(t,e)}(a,t);var e,n,o,l=P(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.listenTo(this.viewModel,"change:".concat(v.a),this.onCheckboxChange)}},{key:"viewOptions",value:function(){return{styles:R.a,showCategory:this.options.searchTerm,sortSvg:r.a.getSvg(r.b.UpDown)}}},{key:"events",value:function(){return{"click .sort-title":"sortTitle","click .sort-views":"sortViews"}}},{key:"regions",value:function(){return{selectAll:{replaceElement:!0,el:".select-all"}}}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.options.folderChord}},{key:"onRender",value:function(){this.showChildView("selectAll",new v.b({type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,key:this.getCheckboxKey(),disabled:0===this.getVideosThatCanBeMigrated().length,className:"".concat(R.a.bulkCheckbox," position-relative d-inline-block"),numberOfItems:this.collection.length}))}},{key:"sortTitle",value:function(){this.sort(C.e.Title)}},{key:"sortViews",value:function(){this.sort(C.e.Views)}},{key:"getVideosThatCanBeMigrated",value:function(){return this.collection.filter((function(t){return t.get("migrationStatus")===w.a.HasNotBeenMigrated}))}},{key:"sort",value:function(t){m.Radio.channel(i.e.MIGRATION).trigger(i.i.MigrationWizard.SORT_VIDEOS,t)}},{key:"onCheckboxChange",value:function(){var t=m.Radio.channel(this.options.channelName),e=this.viewModel.get(v.a),n=this.getVideosThatCanBeMigrated();e?t.trigger("add:selected",n,this.options.folderChord):b.isUndefined(e)&&t.trigger("remove:selected",n,this.options.folderChord)}},{key:"name",get:function(){return"SortingRowComponent"}},{key:"template",get:function(){return _.a}},{key:"className",get:function(){return"row no-gutters px-2 py-1 ".concat(R.a.sortingRow)}},{key:"lang",get:function(){return"migrationWizard.sortingRow"}},{key:"elements",get:function(){return{sortOption:".sort"}}}])&&j(e.prototype,n),o&&j(e,o),a}(o.a.Component),V=n(1553),L=n.n(V),N=n(278);function B(t){return(B="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 A(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 z(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=U(t);if(e){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return G(this,n)}}function G(t,e){return!e||"object"!==B(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 U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(i,t);var e,n,o,r=z(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"events",value:function(){return{"click .applink-next":"onClickNext","click .applink-back":"onClickBack"}}},{key:"onClickNext",value:function(){this.options.nextDisabled||b.isFunction(this.options.onClickNext)&&this.options.onClickNext()}},{key:"onClickBack",value:function(){b.isFunction(this.options.onClickBack)&&this.options.onClickBack()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:N},this.options),{multipleVideosAvailable:1!==this.options.numberAvailable,numberAvailable:this.options.numberAvailable,videoCount:this.options.numberSelected})}},{key:"name",get:function(){return"StatusBarComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(N.statusBar)}},{key:"template",get:function(){return L.a}},{key:"lang",get:function(){return"migrationWizard.statusBar"}},{key:"appLinks",get:function(){var t=this.options,e=t.nextAppLink,n=t.backAppLink,o={".applink-next":e};return n&&(o[".applink-back"]=n),o}}])&&A(e.prototype,n),o&&A(e,o),i}(o.a.Component),K=n(5),Z=n(324),F=n.n(Z),Y=n(1554),J=n.n(Y),X=n(1241);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 Q(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){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(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=ot(t);if(e){var r=ot(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(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 ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=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&&tt(t,e)}(l,t);var e,n,o,r=et(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.selectedVideoService=K.a.getInstance(i.x.SelectedVideo,this),this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.viewModel,"change:".concat(this.getCheckboxId()),this.onCheckboxChange)}},{key:"regions",value:function(){return{bulkCheckbox:{replaceElement:!0,el:".bulk-checkbox-region"},errorCode:{replaceElement:!0,el:".error-code-region"}}}},{key:"hasBeenMigrated",value:function(){return this.model.get("migrationStatus")!==w.a.HasNotBeenMigrated}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.model.get("categoryChord")}},{key:"getCheckboxId",value:function(){return this.model.get("id")}},{key:"onCheckboxChange",value:function(){if(!this.hasBeenMigrated()){var t=this.viewModel.get("".concat(this.getCheckboxId()));t?this.selectedVideoService.addSelectedVideos(this.model,this.options.folderChord):b.isUndefined(t)||this.selectedVideoService.removeSelectedVideos(this.model,this.options.folderChord)}}},{key:"shouldRender",value:function(){return!this.model.get("hidden")}},{key:"renderCheckbox",value:function(){var t=this.hasBeenMigrated(),e=t?" ".concat(F.a.faded):"",n=this.model.get("selected")||this.model.get("checkedForMigration")||t;this.showChildView("bulkCheckbox",new X.a({checked:n,checkboxClassName:e,disabled:t,key:this.getCheckboxKey(),itemId:this.getCheckboxId(),type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,className:"".concat(F.a.bulkCheckbox," position-relative d-inline-block")}))}},{key:"onBeforeRender",value:function(){return this.shouldRender()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:F.a},this.options),{migrated:this.hasBeenMigrated(),views:this.model.get("viewsLast3Years")})}},{key:"onRender",value:function(){this.renderCheckbox()}},{key:"template",get:function(){return J.a}},{key:"name",get:function(){return"MigrationVideoItemComponent"}},{key:"className",get:function(){if(this.shouldRender())return"col-12 py-1 ".concat(F.a.videoRow)}},{key:"lang",get:function(){return"migrationWizard.migrationVideoItem"}},{key:"appLinks",get:function(){return{".applink-show":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.SHOW_PUBLISHER_VIDEO,args:[this.model.get("trackingCode")]},".applink-remigrate":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.REMIGRATE_VIDEO,args:[this.model.get("id").toString(),this.model.get("masterId")&&this.model.get("masterId").toString(),this.model.get("categoryChord")]}}}}])&&Q(e.prototype,n),o&&Q(e,o),l}(o.a.Component),it=n(3),lt=n(1304),at=n(1555),ut=n.n(at);function ct(t){return(ct="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 st(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 ft(t,e){return(ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(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=yt(t);if(e){var r=yt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ht(this,n)}}function ht(t,e){return!e||"object"!==ct(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 yt(t){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var dt=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&&ft(t,e)}(l,t);var e,n,o,r=pt(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{videoListSort:{replaceElement:!0,el:".video-sorting-region"},videoList:{el:".video-list-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.SORT_VIDEOS,this.sort),this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.TOGGLE_MIGRATED,this.toggleMigrated)}},{key:"toggleMigrated",value:function(t){this.collection&&0!==this.collection.length&&(this.collection=lt.a.toggleMigrated(this.collection,t),this.render())}},{key:"sort",value:function(t){0!==this.collection.length&&(this.sortedBy=this.sortedBy===t?void 0:t,this.collection=lt.a.sortVideos(this.collection,t,this.sortedBy===t),this.renderVideoList())}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new re({text:it.a.getPhrase(this.lang,"noVideos")}))}},{key:"renderSortingRow",value:function(){this.showChildView("videoListSort",new D({collection:this.collection,folderChord:this.options.folderChord,searchTerm:this.options.searchTerm,channelName:this.options.channelName}))}},{key:"renderVideoList",value:function(){this.showChildView("videoList",new xt({folderChord:this.options.folderChord,collection:this.collection,searchTerm:this.options.searchTerm,supportSiteUrl:this.options.supportSiteUrl}))}},{key:"onRender",value:function(){this.renderSortingRow(),0!==this.collection.where({hidden:!1}).length?this.renderVideoList():this.renderEmptyMessage()}},{key:"name",get:function(){return"VideoListCollection"}},{key:"template",get:function(){return ut.a}},{key:"lang",get:function(){return"migrationWizard.videoList"}}])&&st(e.prototype,n),o&&st(e,o),l}(o.a.Component),gt=n(1556),bt=n.n(gt);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 vt(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 kt(t,e){return(kt=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=Ct(t);if(e){var r=Ct(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return wt(this,n)}}function wt(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 Ct(t){return(Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var xt=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&&kt(t,e)}(i,t);var e,n,o,r=Ot(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"VideoListCollectionComponent"}},{key:"className",get:function(){return bt.a.videoList}},{key:"childView",get:function(){return rt}},{key:"childViewOptions",get:function(){return{folderChord:this.options.folderChord,searchTerm:this.getOption("searchTerm"),supportSiteUrl:this.options.supportSiteUrl}}}])&&vt(e.prototype,n),o&&vt(e,o),i}(o.a.ComponentCollection),Rt=n(82),St=n(1557),_t=n.n(St),Et=n(1558),jt=n.n(Et);function It(t){return(It="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 Pt(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){return(Tt=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=Vt(t);if(e){var r=Vt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Dt(this,n)}}function Dt(t,e){return!e||"object"!==It(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 Lt=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&&Tt(t,e)}(l,t);var e,n,o,r=Mt(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"viewOptions",value:function(){return{styles:_t.a,learnMoreUrl:this.getLearnMoreUrl()}}},{key:"getLearnMoreUrl",value:function(){var t=this.config.get("supportSiteUrl");return Rt.a.safeUrlConcat(t,i.y.PUBLISHER_ARCHIVE)}},{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(_t.a.banner)}},{key:"lang",get:function(){return"migrationWizard.banner"}},{key:"props",get:function(){return["config"]}},{key:"template",get:function(){return jt.a}}])&&Pt(e.prototype,n),o&&Pt(e,o),l}(o.a.Component),Nt=n(1559),Bt=n.n(Nt),At=n(1560),Wt=n.n(At);function zt(t){return(zt="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){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(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 Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Kt(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=Ft(t);if(e){var r=Ft(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Zt(this,n)}}function Zt(t,e){return!e||"object"!==zt(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 Ft(t){return(Ft=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&&Ht(t,e)}(i,t);var e,n,o,r=Kt(i);function i(){return Gt(this,i),r.apply(this,arguments)}return e=i,(n=[{key:"viewOptions",value:function(){return{styles:Bt.a,folder:this.model.get("folderChord").split("->").join(" / "),videoCount:this.model.get("count")}}},{key:"name",get:function(){return"SelectedVideoItemComponent"}},{key:"template",get:function(){return Wt.a}},{key:"lang",get:function(){return"migrationWizard.selectedVideoItem"}},{key:"className",get:function(){return"ml-2 pt-1"}}])&&Ut(e.prototype,n),o&&Ut(e,o),i}(o.a.Component),Jt=n(1561),$t=n(1562),Xt=n.n($t);function qt(t){return(qt="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 Qt(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 te(t,e){return(te=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ee(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=oe(t);if(e){var r=oe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ne(this,n)}}function ne(t,e){return!e||"object"!==qt(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 oe(t){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var re=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&&te(t,e)}(i,t);var e,n,o,r=ee(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"viewOptions",value:function(){return{text:this.options.text}}},{key:"name",get:function(){return"EmptyVideoListComponent"}},{key:"className",get:function(){return"d-flex justify-content-center align-items-center text-muted p-5 ".concat(Jt.videoList)}},{key:"template",get:function(){return Xt.a}}])&&Qt(e.prototype,n),o&&Qt(e,o),i}(o.a.Component),ie=n(1563),le=n.n(ie),ae=n(1564),ue=n.n(ae);function ce(t){return(ce="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 se(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 fe(t,e){return(fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pe(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=ye(t);if(e){var r=ye(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return he(this,n)}}function he(t,e){return!e||"object"!==ce(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 ye(t){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var de=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&&fe(t,e)}(i,t);var e,n,o,r=pe(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"viewOptions",value:function(){return{styles:le.a,background:this.options.backgroundClass,progress:this.options.percentage}}},{key:"update",value:function(){var t=this.getUI("progressBar"),e=this.getUI("progressText");t&&t.get(0)&&$(t.get(0)).css("width","".concat(this.model.get("percentage"),"%")),e&&e.get(0)&&$(e.get(0)).text("".concat(this.model.get("percentage"),"%"))}},{key:"onRender",value:function(){this.update()}},{key:"name",get:function(){return"ProgressBarComponent"}},{key:"className",get:function(){return this.options.class||""}},{key:"template",get:function(){return ue.a}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}}])&&se(e.prototype,n),o&&se(e,o),i}(o.a.Component),ge=n(1302),be=n(1364),me=n(1565),ve=n.n(me);function ke(t){return(ke="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 Oe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(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 Ce(t,e){return(Ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function xe(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=Se(t);if(e){var r=Se(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Re(this,n)}}function Re(t,e){return!e||"object"!==ke(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 Se(t){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _e=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&&Ce(t,e)}(a,t);var e,n,r,l=xe(a);function a(){var t;return Oe(this,a),(t=l.apply(this,arguments)).buttonDisabled=!0,t}return e=a,(n=[{key:"initialize",value:function(){this.migrationVideoDataService=K.a.getInstance(i.g.MigrationVideo,this),this.bindListeners()}},{key:"events",value:function(){return{"click .options":"onClickOptionsContainer","change #migrated-option":"onToggleMigratedOption","change #remaining-option":"onToggleRemainingOption","change #errored-option":"onToggleErroredOption","change #content-matched-option":"onToggleContentMatchedOption","click .generate-report":"onClickSubmit"}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,"get:migration:report:options",this.render)}},{key:"onClickOptionsContainer",value:function(t){t.stopPropagation()}},{key:"onToggleMigratedOption",value:function(){var t=this.reportOptions[C.d.Migrated];t.selected=!t.selected,this.updateButton()}},{key:"onToggleRemainingOption",value:function(){var t=this.reportOptions[C.d.Remaining];t.selected=!t.selected,this.updateButton()}},{key:"onToggleErroredOption",value:function(){var t=this.reportOptions[C.d.Errored];t.selected=!t.selected,this.updateButton()}},{key:"onToggleContentMatchedOption",value:function(){var t=this.reportOptions[C.d.ContentMatched];t.selected=!t.selected,this.updateButton()}},{key:"onClickSubmit",value:function(){this.buttonDisabled||o.a.AppLinkHelper.trigger({application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.GENERATE_CSV_REPORT,params:{options:be.a.filterSelectedOptions(this.reportOptions)}})}},{key:"updateButton",value:function(){var t=this.getUI("generateReportBtn");be.a.filterSelectedOptions(this.reportOptions).length?(this.buttonDisabled=!1,t.removeAttr("disabled")):(this.buttonDisabled=!0,t.attr("disabled","disabled"))}},{key:"fetchMigrationReportOptions",value:function(){var t=this;this.migrationVideoDataService.getMigrationReportOptions((function(e){t.reportOptions=be.a.processValidReportOptions(e),t.render()}))}},{key:"viewOptions",value:function(){return{reportOptions:this.reportOptions}}},{key:"onRender",value:function(){this.reportOptions||this.fetchMigrationReportOptions()}},{key:"name",get:function(){return"GenerateReportComponent"}},{key:"template",get:function(){return ve.a}},{key:"className",get:function(){return"dropdown-menu dropdown-menu-right dropdown-arrow"}},{key:"lang",get:function(){return"migrationWizard.generateReport"}},{key:"elements",get:function(){return{generateReportBtn:".generate-report"}}}])&&we(e.prototype,n),r&&we(e,r),a}(o.a.Component),Ee=n(1566),je=n.n(Ee),Ie=n(1567),Pe=n.n(Ie);function Te(t){return(Te="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 Me(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(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 Ve(t,e){return(Ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Le(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=Be(t);if(e){var r=Be(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ne(this,n)}}function Ne(t,e){return!e||"object"!==Te(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 Be(t){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ae=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&&Ve(t,e)}(i,t);var e,n,o,r=Le(i);function i(){return Me(this,i),r.apply(this,arguments)}return e=i,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:Pe.a}}},{key:"onRender",value:function(){this.showChildView("options",new _e)}},{key:"name",get:function(){return"GenerateReportButtonComponent"}},{key:"template",get:function(){return je.a}},{key:"lang",get:function(){return"migrationWizard.generateReportButton"}}])&&De(e.prototype,n),o&&De(e,o),i}(o.a.Component);n.d(e,"h",(function(){return g})),n.d(e,"j",(function(){return D})),n.d(e,"k",(function(){return H})),n.d(e,"e",(function(){return rt})),n.d(e,"l",(function(){return dt})),n.d(e,"m",(function(){return xt})),n.d(e,"a",(function(){return Lt})),n.d(e,"i",(function(){return Yt})),n.d(e,"b",(function(){return re})),n.d(e,"f",(function(){return de})),n.d(e,"g",(function(){return ge.a})),n.d(e,"d",(function(){return _e})),n.d(e,"c",(function(){return Ae}))},1302:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var o=n(2),r=n(1362),i=n.n(r),l=n(1363),a=n.n(l);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e){return(s=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 r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(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 y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(l,t);var e,n,o,r=f(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var t=this.model.get("percentage")||0,e=this.getUI("circle").get(0),n=2*e.r.baseVal.value*Math.PI;e.style.strokeDasharray="".concat(n," ").concat(n),e.style.strokeDashoffset=n;var o=n-t/100*n;e.style.strokeDashoffset=o;var r=this.getUI("text");r&&r.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a.Component)},1303:function(t,e,n){"use strict";var o;n.d(e,"a",(function(){return o})),function(t){t[t.NeedsManualReview=-1]="NeedsManualReview",t[t.HasNotBeenMigrated=0]="HasNotBeenMigrated",t[t.MigratedByUser=1]="MigratedByUser"}(o||(o={}))},1304:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(1),r=n(2),i=n(88),l=n(1303),a={setChecked:function(t,e,n){t.set("selected",!1);var r=n&&t.get("viewsLast3Years")>0;(o.contains(e,t.id.toString())||r&&0===e.length)&&t.set("selected",!0)},sortVideos:function(t,e,n){var o="name";return t.comparator=function(t,r){t.keys().forEach((function(t){t===e&&(o=t)}));var i=t.get(o),l=r.get(o);return"string"==typeof i&&"string"==typeof l&&(i=i.toLowerCase(),l=l.toLowerCase()),i<l?n?1:-1:i>l?n?-1:1:0},t.sort(),t},toggleMigrated:function(t,e){return t.each((function(t){var n=t.get("migrationStatus")!==l.a.HasNotBeenMigrated,r=t.get("hidden");!o.isUndefined(e)&&n?t.set("hidden",e):n?t.set("hidden",!r):t.set("hidden",!1)})),t},getSelectedVideosCollection:function(t){var e=new r.a.Collection;return Object.keys(t).forEach((function(n){var o=t[n],r=o.id,l=o.folderChord,a=e.findWhere({folderChord:l});a?(a.set("count",a.get("count")+1),a.get("videoIds").push(r)):e.add(new i.f({count:1,folderChord:l,videoIds:[r]}))})),e.each((function(t){t.set("folderChord",t.get("folderChord"))})),e}}},1362:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1363:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return' <span class="'+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+a(l(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+a(l(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=e?e.options:e)?i.percentage:i},data:r}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.text:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+' </span>\r\n\r\n <svg class="'+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircle:i,e))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1364:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var o=n(1),r=n(3),i=n(47);function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a="migrationWizard.utils",u={getReportOptions:function(){var t;return l(t={},i.d.Migrated,{id:"migrated",type:"homemigrator.le.migration.migrated.report",labelText:r.a.getPhrase(a,"migratedOption")}),l(t,i.d.Remaining,{id:"remaining",type:"homemigrator.le.migration.videos.remaining.report",labelText:r.a.getPhrase(a,"remainingOption")}),l(t,i.d.Errored,{id:"errored",type:"homemigrator.le.migration.error.report",labelText:r.a.getPhrase(a,"erroredOption")}),l(t,i.d.ContentMatched,{id:"content-matched",type:"homemigrator.le.migration.content.matched.report",labelText:r.a.getPhrase(a,"linkedOption")}),t},processValidReportOptions:function(t){var e=this.getReportOptions(),n={};return o.each(o.keys(e),(function(r){o.contains(t,e[r].type)&&(n[r]=e[r])})),n},filterSelectedOptions:function(t){return o.filter(o.keys(t),(function(e){return t[e].selected})).map((function(e){return t[e].id}))},getSelectedOptionsText:function(t){var e=this.getReportOptions();return o.filter(o.keys(e),(function(n){return o.contains(t,e[n].id)})).map((function(t){return e[t].labelText}))}}},1551:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing;return'<div class="row '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.tabContainer:i,e))+' position-relative">\r\n <a class="col-4 p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.publisherArchiveAppLink:i,e))+'"><h1 class="m-0 h5">'+a((n.lang||e&&e.lang||c).call(u,"addVideos",{name:"lang",hash:{},data:r}))+'</h1></a>\r\n <a class="p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.reviewErroredAppLink:i,e))+'"><h1 class="m-0 h5">'+a((n.lang||e&&e.lang||c).call(u,"migrationWarnings",{name:"lang",hash:{},data:r}))+'<span class="ml-2 svg-container d-inline-block '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+'">'+(null!=(i=l(null!=(i=null!=e?e.options:e)?i.warningSvg:i,e))?i:"")+'</span></h1></a>\r\n <div class="generate-report-region"></div>\r\n</div>'},useData:!0})},1552:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing;return'<div class="col-8">\r\n <div class="select-all"></div>\r\n <div class="align-middle d-inline-block">\r\n <span class="cursor-pointer sort sort-title '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.sortOption:i,e))+'">\r\n <span>'+a((n.lang||e&&e.lang||c).call(u,"sortTitle",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+'">'+(null!=(i=l(null!=(i=null!=e?e.options:e)?i.sortSvg:i,e))?i:"")+'</span>\r\n </span>\r\n </div>\r\n</div>\r\n\r\n<div class="col-4 pr-3 text-right">\r\n <span class="cursor-pointer sort mr-3 sort-views '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.sortOption:i,e))+'">\r\n <span>'+a((n.lang||e&&e.lang||c).call(u,"sortViews",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+'">'+(null!=(i=l(null!=(i=null!=e?e.options:e)?i.sortSvg:i,e))?i:"")+"</span>\r\n </span>\r\n</div>"},useData:!0})},1553:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <button class="applink-back btn btn-secondary '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.button:i,e))+'">\r\n '+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"back",{name:"lang",hash:{},data:r}))+"\r\n </button>\r\n"},3:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <span class="align-middle '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.statusBarMessage:i,e))+'">\r\n '+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"videosSelected",{name:"lang",hash:{videoCount:null!=(i=null!=e?e.options:e)?i.videoCount:i,smartCount:null!=(i=null!=e?e.options:e)?i.numberAvailable:i},data:r}))+"\r\n </span>\r\n"},5:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.lambda,u=t.escapeExpression;return'<div class="row">\r\n <div class="col-4">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showBackButton:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+' </div>\r\n <div class="col-6">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showSelected:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+' </div>\r\n <div class="col-2 text-right">\r\n <button class="applink-next btn btn-primary '+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.button:i,e))+'" '+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.nextDisabled:i,{name:"if",hash:{},fn:t.program(5,r,0),inverse:t.noop,data:r}))?i:"")+">\r\n "+u(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"\r\n </button>\r\n </div>\r\n</div>"},useData:!0})},1554:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return"text-muted"},3:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <a class="applink-remigrate cursor-pointer '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.viewLink:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"readd",{name:"lang",hash:{},data:r}))+"</a>\r\n"},5:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <a class="applink-show cursor-pointer '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.viewLink:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"details",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.lambda,u=t.escapeExpression,c=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing;return'<div class="row no-gutters">\r\n <div class="col-8">\r\n <div class="bulk-checkbox-region '+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.bulkCheckbox:i,e))+'"></div>\r\n <a class="applink-show align-middle cursor-pointer mt-2 '+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.videoTitle:i,e))+" "+(null!=(i=n.if.call(c,null!=(i=null!=e?e.options:e)?i.migrated:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+u("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:s)?l.call(c,{name:"name",hash:{},data:r}):l)+'</a>\r\n </div>\r\n <div class="col-4 position-static">\r\n <div class="row no-gutters">\r\n <div class="col-11 text-right pr-2">\r\n'+(null!=(i=n.if.call(c,null!=(i=null!=e?e.options:e)?i.migrated:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.program(5,r,0),data:r}))?i:"")+' <div class="'+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.viewCount:i,e))+'">\r\n <span>\r\n '+u((n.lang||e&&e.lang||s).call(c,"views",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.views:i},data:r}))+'\r\n </span>\r\n </div>\r\n </div>\r\n <div class="col-1 d-flex justify-content-center position-static">\r\n <div class="error-code-region"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},1555:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="video-sorting-region"></div>\r\n<div class="video-list-region"></div>'},useData:!0})},1556:function(t,e,n){t.exports={videoList:"_3RFYO"}},1557:function(t,e,n){t.exports={banner:"O5CMF",learnMore:"MjcUE"}},1558:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,u=t.escapeExpression,c=t.lambda;return'<span class="text-white mr-1">'+u((n.lang||e&&e.lang||a).call(l,"banner",{name:"lang",hash:{},data:r}))+'</span>\r\n<a href="'+u(c(null!=(i=null!=e?e.options:e)?i.learnMoreUrl:i,e))+'" class="'+u(c(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.learnMore:i,e))+'" target="_blank">'+u((n.lang||e&&e.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1559:function(t,e,n){t.exports={category:"BSPKV"}},1560:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"selectedVideos",{name:"lang",hash:{folder:null!=(i=null!=e?e.options:e)?i.folder:i,className:null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.category:i,smartCount:null!=(i=null!=e?e.options:e)?i.videoCount:i},data:r}))?i:""},useData:!0})},1561:function(t,e,n){t.exports={videoList:"_3TgUv"}},1562:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h3 class="m-0">'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</h3>"},useData:!0})},1563:function(t,e,n){t.exports={progressBarContainter:"_1aNlZ",progressBar:"_325nt"}},1564:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="row">\r\n <div class="col-11 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressBarContainter:i,e))+' pl-0">\r\n <div class="progress '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressBar:i,e))+'">\r\n <div class="progress-bar '+a(l(null!=(i=null!=e?e.options:e)?i.background:i,e))+" "+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressBar:i,e))+'" role="progressbar" aria-valuenow="'+a(l(null!=(i=null!=e?e.options:e)?i.progress:i,e))+'" aria-valuemin="0" aria-valuemax="100"></div>\r\n </div>\r\n </div>\r\n <div class="col-1 pr-0">\r\n <span class="float-right progress-text">'+a(l(null!=(i=null!=e?e.options:e)?i.progress:i,e))+"%</span>\r\n </div>\r\n</div>\r\n\r\n"},useData:!0})},1565:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i=t.lambda,l=t.escapeExpression;return' <div class="d-flex py-1">\r\n <div class="custom-control custom-checkbox">\r\n <input id="'+l(i(null!=e?e.id:e,e))+'-option" name="checkbox-'+l(i(null!=e?e.id:e,e))+'" type="checkbox" class="custom-control-input cursor-pointer">\r\n <label class="custom-control-label cursor-pointer" for="'+l(i(null!=e?e.id:e,e))+'-option">&nbsp;</label>\r\n </div>\r\n <label for="'+l(i(null!=e?e.id:e,e))+'-option">'+l(i(null!=e?e.labelText:e,e))+"</label>\r\n </div> \r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,u=t.escapeExpression;return'<h1 class="h5 py-1 mx-2">'+u((n.lang||e&&e.lang||a).call(l,"heading",{name:"lang",hash:{},data:r}))+'</h1>\r\n<div class="dropdown-divider"></div>\r\n<p class="m-2 mt-0">'+u((n.lang||e&&e.lang||a).call(l,"options",{name:"lang",hash:{},data:r}))+'</p>\r\n\r\n<div class="mx-2 options">\r\n'+(null!=(i=n.each.call(l,null!=(i=null!=e?e.options:e)?i.reportOptions:i,{name:"each",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'</div>\r\n\r\n<div class="dropdown-divider"></div>\r\n<div class="mr-3">\r\n <button class="btn btn-primary w-100 mx-2 generate-report" disabled>'+u((n.lang||e&&e.lang||a).call(l,"generate",{name:"lang",hash:{},data:r}))+"</button>\r\n</div>"},useData:!0})},1566:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="'+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.generateReport:i,e))+' mr-2"\r\n>\r\n <div class="btn btn-link border px-2 my-2">\r\n '+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"generateReport",{name:"lang",hash:{},data:r}))+'\r\n </div>\r\n</div>\r\n<div class="options-region"></div>'},useData:!0})},1567:function(t,e,n){t.exports={generateReport:"_2PRgW"}}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[60],{1052:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),o=n(243);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(l,e);var t,n,r,i=c(l);function l(){return a(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),l}(r.a.Model)},1208:function(e,t,n){"use strict";var r=n(3),o="staffRequests.utils",i={destinationLibrary:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectLibrary")},destinationFolder:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectFolder")}},a={message:[{required:!0,msg:function(){return r.a.getPhrase("staffRequests.utils","provideMessage")}}]};n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},1353:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return"<p><strong>"+a(e.lambda(null!=(i=null!=t?t.video:t)?i.name:i,t))+"</strong> "+a((n.lang||t&&t.lang||u).call(s,"notAddedToLibrary",{name:"lang",hash:{},data:o}))+'</p>\r\n<div class="form-group">\r\n <label for="message">'+a((n.lang||t&&t.lang||u).call(s,"provideMessageForUser",{name:"lang",hash:{lastName:null!=(i=null!=t?t.user:t)?i.surname:i,firstName:null!=(i=null!=t?t.user:t)?i.username:i},data:o}))+'</label>\r\n <textarea class="form-control" id="message" name="message" autofocus></textarea>\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1461:function(e,t,n){"use strict";n.r(t),n.d(t,"RejectStaffRequestView",(function(){return T}));var r=n(6),o=n(2),i=n(30),a=n(5),s=n(4),u=n(42),c=n(282),l=n(243),f=n(1052),d=n(0),p=n(12),h=n(3),y=n(1208),g=n(1353),m=n.n(g);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=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)}(R,e);var t,n,g,b=S(R);function R(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),b.call(this,e)}return t=R,(n=[{key:"initialize",value:function(){this.staffRequestDataService=a.a.getInstance(d.g.StaffRequests,this),this.getViewModel(),this.bindListeners()}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(d.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(d.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(this.viewModel,"change",this.onChange)}},{key:"getViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName),this.viewModel.addValidation(y.b)}},{key:"getBtnTooltipOptions",value:function(){if(!this.viewModel.isValid())return{title:h.a.getPhrase(this.lang,"provideMessage")}}},{key:"onChange",value:function(){this.spinnerModel.set(l.c.Disabled,!1===this.viewModel.isValid())}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(l.b.ShowSpinner),this.staffRequestDataService.rejectStaffRequest(this.options.requestId,this.viewModel.get("message")),this.logAction())}},{key:"logAction",value:function(){var e={location:s.k.Popup,actionType:s.q.Reject,entity:s.e.StaffRequest,workflowPhase:s.r.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id};u.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:d.b.STAFF_REQUESTS,action:d.a.StaffRequests.HOME})}},{key:"onBeforeRender",value:function(){this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){r.Validation.bind(this,{model:this.viewModel})}},{key:"name",get:function(){return"RejectStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.rejectStaffRequest"}},{key:"template",get:function(){return m.a}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.requestId)}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.e,title:h.a.getPhrase(this.lang,"rejectCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"reject"),extraButtonClass:"btn-danger",onClick:function(t){return e.onSubmit(t)},tooltip:function(){return e.getBtnTooltipOptions()}}},{behaviorClass:c.f,bindViewModel:!0}]}},{key:"bindings",get:function(){return{"[name=message]":{observe:"message",setOptions:{validate:!0}}}}}])&&v(t.prototype,n),g&&v(t,g),R}(o.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[60],{1212:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),o=n(253);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(l,e);var t,n,r,i=c(l);function l(){return a(this,l),i.apply(this,arguments)}return t=l,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),l}(r.a.Model)},1368:function(e,t,n){"use strict";var r=n(3),o="staffRequests.utils",i={destinationLibrary:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectLibrary")},destinationFolder:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectFolder")}},a={message:[{required:!0,msg:function(){return r.a.getPhrase("staffRequests.utils","provideMessage")}}]};n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},1513:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return"<p><strong>"+a(e.lambda(null!=(i=null!=t?t.video:t)?i.name:i,t))+"</strong> "+a((n.lang||t&&t.lang||u).call(s,"notAddedToLibrary",{name:"lang",hash:{},data:o}))+'</p>\r\n<div class="form-group">\r\n <label for="message">'+a((n.lang||t&&t.lang||u).call(s,"provideMessageForUser",{name:"lang",hash:{lastName:null!=(i=null!=t?t.user:t)?i.surname:i,firstName:null!=(i=null!=t?t.user:t)?i.username:i},data:o}))+'</label>\r\n <textarea class="form-control" id="message" name="message" autofocus></textarea>\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1621:function(e,t,n){"use strict";n.r(t),n.d(t,"RejectStaffRequestView",(function(){return T}));var r=n(6),o=n(2),i=n(30),a=n(5),s=n(4),u=n(42),c=n(293),l=n(253),f=n(1212),d=n(0),p=n(12),h=n(3),y=n(1368),g=n(1513),m=n.n(g);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=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)}(R,e);var t,n,g,b=S(R);function R(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),b.call(this,e)}return t=R,(n=[{key:"initialize",value:function(){this.staffRequestDataService=a.a.getInstance(d.g.StaffRequests,this),this.getViewModel(),this.bindListeners()}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(d.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(d.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(this.viewModel,"change",this.onChange)}},{key:"getViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName),this.viewModel.addValidation(y.b)}},{key:"getBtnTooltipOptions",value:function(){if(!this.viewModel.isValid())return{title:h.a.getPhrase(this.lang,"provideMessage")}}},{key:"onChange",value:function(){this.spinnerModel.set(l.c.Disabled,!1===this.viewModel.isValid())}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(l.b.ShowSpinner),this.staffRequestDataService.rejectStaffRequest(this.options.requestId,this.viewModel.get("message")),this.logAction())}},{key:"logAction",value:function(){var e={location:s.LocationContext.Popup,actionType:s.UserAction.Reject,entity:s.EntityType.StaffRequest,workflowPhase:s.WorkflowPhase.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id};u.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:d.b.STAFF_REQUESTS,action:d.a.StaffRequests.HOME})}},{key:"onBeforeRender",value:function(){this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){r.Validation.bind(this,{model:this.viewModel})}},{key:"name",get:function(){return"RejectStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.rejectStaffRequest"}},{key:"template",get:function(){return m.a}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.requestId)}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.e,title:h.a.getPhrase(this.lang,"rejectCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"reject"),extraButtonClass:"btn-danger",onClick:function(t){return e.onSubmit(t)},tooltip:function(){return e.getBtnTooltipOptions()}}},{behaviorClass:c.f,bindViewModel:!0}]}},{key:"bindings",get:function(){return{"[name=message]":{observe:"message",setOptions:{validate:!0}}}}}])&&v(t.prototype,n),g&&v(t,g),R}(o.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[61],{1364:function(n,e,t){var r=t(10);n.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(n,e,t,r,a){n.propertyIsEnumerable;var o,l=null!=e?e:n.nullContext||{},i=n.hooks.helperMissing,c=n.escapeExpression,s=n.lambda;return'<div class="p-3 my-3 bg-white text-center">\r\n <h1>'+c((t.lang||e&&e.lang||i).call(l,"uploadVideos",{name:"lang",hash:{},data:a}))+'</h1>\r\n <div class="my-3">\r\n <img src="/images/upload/upload-vid@2x.png" class="'+c(s(null!=(o=null!=(o=null!=e?e.options:e)?o.styles:o)?o.uploadImage:o,e))+'" />\r\n </div>\r\n <div>\r\n <button class="btn btn-primary choose-files">'+c((t.lang||e&&e.lang||i).call(l,"chooseVideo",{name:"lang",hash:{},data:a}))+"</button>\r\n </div>\r\n <div>\r\n <span>"+c((t.lang||e&&e.lang||i).call(l,"dragDrop",{name:"lang",hash:{},data:a}))+'</span>\r\n </div>\r\n</div>\r\n<div class="p-3 bg-white container-fluid">\r\n <div class="row">\r\n <div class="col-4">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"help",{name:"lang",hash:{},data:a}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ul>\r\n <li><a class="info-link" href="'+c(s(null!=(o=null!=e?e.options:e)?o.uploadArticleUrl:o,e))+'" target="_blank">'+c((t.lang||e&&e.lang||i).call(l,"instructionsHeading",{name:"lang",hash:{},data:a}))+'</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="col-8">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"termsHeading",{name:"lang",hash:{},data:a}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ol>\r\n <li>'+c((t.lang||e&&e.lang||i).call(l,"term1",{name:"lang",hash:{},data:a}))+"</li>\r\n <li>"+c((t.lang||e&&e.lang||i).call(l,"term2",{name:"lang",hash:{},data:a}))+"</li>\r\n <li>"+(null!=(o=(t.lang||e&&e.lang||i).call(l,"term3",{name:"lang",hash:{classNames:null!=(o=null!=e?e.options:e)?o.classNames:o,uploadTermsUrl:null!=(o=null!=e?e.options:e)?o.uploadTermsUrl:o},data:a}))?o:"")+"</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"},useData:!0})},1365:function(n,e,t){n.exports={uploadImage:"_2qNTM"}},1467:function(n,e,t){"use strict";t.r(e),t.d(e,"FileSelectView",(function(){return O}));var r=t(1),a=t(2),o=t(5),l=t(3),i=t(81),c=t(187),s=t(4),u=t(42),p=t(0),f=t(1364),d=t.n(f),h=t(1365),g=t.n(h),y=t(292),m=t(44);function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function k(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function w(n,e){return(w=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function S(n){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(n){return!1}}();return function(){var t,r=_(n);if(e){var a=_(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return U(this,t)}}function U(n,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function _(n){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var O=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&w(n,e)}(h,n);var e,t,a,f=S(h);function h(){return b(this,h),f.apply(this,arguments)}return e=h,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,m.a.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=o.a.getInstance(p.x.VideoUpload,this)}},{key:"onFilesSelected",value:function(n,e){this.videoUploadService.addFiles(n),this.logAction(n,e)}},{key:"logAction",value:function(n,e){var t={actionType:s.q.Upload,entity:s.e.Video,location:s.k.VideoUpload,workflowPhase:s.r.Start,descriptor:u.a.mapInteractionType(e)};u.a.logUserAction(n,t)}},{key:"viewOptions",value:function(){return{styles:g.a,uploadArticleUrl:this.config?i.a.safeUrlConcat(this.config.get("supportSiteUrl"),p.y.UPLOAD):"",uploadTermsUrl:this.config?i.a.safeUrlConcat(this.config.get("marketingSiteUrl"),p.r.UploadingUserContent):"",classNames:"info-link"}}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=r.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:y.a,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"requiredResources",get:function(){return{config:c.b.config}}}])&&k(e.prototype,t),a&&k(e,a),h}(a.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[61],{1524:function(n,e,t){var r=t(10);n.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(n,e,t,r,a){n.propertyIsEnumerable;var o,i=null!=e?e:n.nullContext||{},l=n.hooks.helperMissing,c=n.escapeExpression,s=n.lambda;return'<div class="p-3 my-3 bg-white text-center">\r\n <h1>'+c((t.lang||e&&e.lang||l).call(i,"uploadVideos",{name:"lang",hash:{},data:a}))+'</h1>\r\n <div class="my-3">\r\n <img src="/images/upload/upload-vid@2x.png" class="'+c(s(null!=(o=null!=(o=null!=e?e.options:e)?o.styles:o)?o.uploadImage:o,e))+'" />\r\n </div>\r\n <div>\r\n <button class="btn btn-primary choose-files">'+c((t.lang||e&&e.lang||l).call(i,"chooseVideo",{name:"lang",hash:{},data:a}))+"</button>\r\n </div>\r\n <div>\r\n <span>"+c((t.lang||e&&e.lang||l).call(i,"dragDrop",{name:"lang",hash:{},data:a}))+'</span>\r\n </div>\r\n</div>\r\n<div class="p-3 bg-white container-fluid">\r\n <div class="row">\r\n <div class="col-4">\r\n <h4>'+c((t.lang||e&&e.lang||l).call(i,"help",{name:"lang",hash:{},data:a}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ul>\r\n <li><a class="info-link" href="'+c(s(null!=(o=null!=e?e.options:e)?o.uploadArticleUrl:o,e))+'" target="_blank">'+c((t.lang||e&&e.lang||l).call(i,"instructionsHeading",{name:"lang",hash:{},data:a}))+'</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="col-8">\r\n <h4>'+c((t.lang||e&&e.lang||l).call(i,"termsHeading",{name:"lang",hash:{},data:a}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ol>\r\n <li>'+c((t.lang||e&&e.lang||l).call(i,"term1",{name:"lang",hash:{},data:a}))+"</li>\r\n <li>"+c((t.lang||e&&e.lang||l).call(i,"term2",{name:"lang",hash:{},data:a}))+"</li>\r\n <li>"+(null!=(o=(t.lang||e&&e.lang||l).call(i,"term3",{name:"lang",hash:{classNames:null!=(o=null!=e?e.options:e)?o.classNames:o,uploadTermsUrl:null!=(o=null!=e?e.options:e)?o.uploadTermsUrl:o},data:a}))?o:"")+"</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"},useData:!0})},1525:function(n,e,t){n.exports={uploadImage:"_2qNTM"}},1627:function(n,e,t){"use strict";t.r(e),t.d(e,"FileSelectView",(function(){return O}));var r=t(1),a=t(2),o=t(5),i=t(3),l=t(82),c=t(190),s=t(4),u=t(42),p=t(0),f=t(1524),d=t.n(f),h=t(1525),g=t.n(h),y=t(303),m=t(44);function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function w(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function k(n,e){return(k=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function S(n){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(n){return!1}}();return function(){var t,r=_(n);if(e){var a=_(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return U(this,t)}}function U(n,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function _(n){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var O=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&k(n,e)}(h,n);var e,t,a,f=S(h);function h(){return b(this,h),f.apply(this,arguments)}return e=h,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,m.a.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=o.a.getInstance(p.x.VideoUpload,this)}},{key:"onFilesSelected",value:function(n,e){this.videoUploadService.addFiles(n),this.logAction(n,e)}},{key:"logAction",value:function(n,e){var t={actionType:s.UserAction.Upload,entity:s.EntityType.Video,location:s.LocationContext.VideoUpload,workflowPhase:s.WorkflowPhase.Start,descriptor:u.a.mapInteractionType(e)};u.a.logUserAction(n,t)}},{key:"viewOptions",value:function(){return{styles:g.a,uploadArticleUrl:this.config?l.a.safeUrlConcat(this.config.get("supportSiteUrl"),p.y.UPLOAD):"",uploadTermsUrl:this.config?l.a.safeUrlConcat(this.config.get("marketingSiteUrl"),p.r.UploadingUserContent):"",classNames:"info-link"}}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=r.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:y.a,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"requiredResources",get:function(){return{config:c.b.config}}}])&&w(e.prototype,t),a&&w(e,a),h}(a.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[62],{1377:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression;return"<h1>"+c((n.lang||e&&e.lang||l).call(a,"inLibrary",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</h1>\r\n<div class="my-3">\r\n <img src="/images/upload/upload-completed@2x.png" class="'+c(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.completeImage:i,e))+'"/>\r\n</div>\r\n<p>'+c((n.lang||e&&e.lang||l).call(a,"isProcessing",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</p>\r\n<a class="back-to-library-applink btn btn-primary">'+c((n.lang||e&&e.lang||l).call(a,"back",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1378:function(t,e,n){t.exports={completeImage:"_1LiuD"}},1468:function(t,e,n){"use strict";n.r(e),n.d(e,"UploadCompleteView",(function(){return h}));var o=n(2),r=n(5),i=n(1377),a=n.n(i),l=n(0),c=n(3),u=n(1378),p=n.n(u);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(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 b(t,e){return(b=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=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(u,t);var e,n,o,i=m(u);function u(){return f(this,u),i.apply(this,arguments)}return e=u,(n=[{key:"initialize",value:function(){this.videoUploadService=r.a.getInstance(l.x.VideoUpload,this)}},{key:"viewOptions",value:function(){return{styles:p.a,count:this.videoUploadService.getCollection().length}}},{key:"onBeforeDestroy",value:function(){this.videoUploadService.getCollection().reset()}},{key:"name",get:function(){return"UploadCompleteView"}},{key:"title",get:function(){return c.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.uploadComplete"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"p-3 my-3 bg-white text-center"}},{key:"appLinks",get:function(){return{".back-to-library-applink":{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.HOME}}}}])&&y(e.prototype,n),o&&y(e,o),u}(o.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[62],{1537:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,c=t.escapeExpression;return"<h1>"+c((n.lang||e&&e.lang||l).call(a,"inLibrary",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</h1>\r\n<div class="my-3">\r\n <img src="/images/upload/upload-completed@2x.png" class="'+c(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.completeImage:i,e))+'"/>\r\n</div>\r\n<p>'+c((n.lang||e&&e.lang||l).call(a,"isProcessing",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.count:i},data:r}))+'</p>\r\n<a class="back-to-library-applink btn btn-primary">'+c((n.lang||e&&e.lang||l).call(a,"back",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1538:function(t,e,n){t.exports={completeImage:"_1LiuD"}},1628:function(t,e,n){"use strict";n.r(e),n.d(e,"UploadCompleteView",(function(){return h}));var o=n(2),r=n(5),i=n(1537),a=n.n(i),l=n(0),c=n(3),u=n(1538),p=n.n(u);function s(t){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function f(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 b(t,e){return(b=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=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==s(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var h=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(u,t);var e,n,o,i=m(u);function u(){return f(this,u),i.apply(this,arguments)}return e=u,(n=[{key:"initialize",value:function(){this.videoUploadService=r.a.getInstance(l.x.VideoUpload,this)}},{key:"viewOptions",value:function(){return{styles:p.a,count:this.videoUploadService.getCollection().length}}},{key:"onBeforeDestroy",value:function(){this.videoUploadService.getCollection().reset()}},{key:"name",get:function(){return"UploadCompleteView"}},{key:"title",get:function(){return c.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.uploadComplete"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"p-3 my-3 bg-white text-center"}},{key:"appLinks",get:function(){return{".back-to-library-applink":{application:l.b.LIBRARY_EDITOR,action:l.a.LibraryEditor.HOME}}}}])&&y(e.prototype,n),o&&y(e,o),u}(o.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[63],{1052:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(243);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&u(t.prototype,n),r&&u(t,r),s}(r.a.Model)},1360:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,l=e.escapeExpression;return'<p class="m-0 pb-2">'+l((n.lang||t&&t.lang||u).call(a,"noReview",{name:"lang",hash:{},data:o}))+"</p>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.videosToReview:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+'<p class="m-0">'+l((n.lang||t&&t.lang||u).call(a,"undoInstructions",{name:"lang",hash:{},data:o}))+"</p>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0 pb-2">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"automaticApproval",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1464:function(e,t,n){"use strict";n.r(t),n.d(t,"DisableReviewView",(function(){return S}));var r=n(5),o=n(3),i=n(2),a=n(4),u=n(42),l=n(243),c=n(282),s=n(12),f=n(134),p=n(0),h=n(1052),y=n(1360),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(R,e);var t,n,y,b=w(R);function R(){return d(this,R),b.apply(this,arguments)}return t=R,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=r.a.getInstance(p.g.Settings,this),this.contentUpdatesDataService=r.a.getInstance(p.g.ContentUpdates,this)}},{key:"bindListeners",value:function(){this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS_TO_REVIEW,":sync"),this.render)}},{key:"videosToReview",value:function(){return!!this.videoCollection&&!!this.videoCollection.length}},{key:"onClickDisable",value:function(){this.videosToReview()?this.approveAllThenDisableReview():this.disableReview(),this.triggerMethod("hide")}},{key:"approveAllThenDisableReview",value:function(){var e=this;this.contentUpdatesDataService.approveAllVideos((function(){return e.disableReview()}))}},{key:"disableReview",value:function(){var e=s.o.getLibraryReviewOptions(!1);this.settingsDataService.updateSetting(this.currentUser.get("customerId"),e,o.a.getPhrase(this.lang,"disableSuccess"),this.redirectToPastReleases),this.logAction()}},{key:"redirectToPastReleases",value:function(){i.a.AppLinkHelper.trigger({application:p.b.CONTENT_UPDATES,action:p.a.ContentUpdates.PAST_RELEASES})}},{key:"logAction",value:function(){var e={location:a.k.Popup,actionType:a.q.Disable,entity:a.e.CustomerSetting,descriptor:a.c.LibraryReview,workflowPhase:a.r.Complete},t={approvedCount:this.videoCollection.length};u.a.logUserAction(t,e)}},{key:"onBeforeRender",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&this.spinnerModel.set(l.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{videosToReview:this.videosToReview(),dataFetched:!!this.videoCollection,spinnerEl:s.q.getSpinner({size:s.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"DisableReviewView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return v.a}},{key:"lang",get:function(){return"contentUpdates.disableReview"}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.a.getPhrase(this.lang,"heading"),behaviorClass:c.e,spinnerButtonOptions:{model:this.spinnerModel=new h.a,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"offBtn"),onClick:function(){return e.onClickDisable()}}}]}},{key:"requiredResources",get:function(){return{currentUser:f.b.currentUser}}}])&&g(t.prototype,n),y&&g(t,y),R}(i.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[63],{1212:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(253);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function l(e,t){return(l=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&l(e,t)}(s,e);var t,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&u(t.prototype,n),r&&u(t,r),s}(r.a.Model)},1520:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing,l=e.escapeExpression;return'<p class="m-0 pb-2">'+l((n.lang||t&&t.lang||u).call(a,"noReview",{name:"lang",hash:{},data:o}))+"</p>\r\n"+(null!=(i=n.if.call(a,null!=(i=null!=t?t.options:t)?i.videosToReview:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.noop,data:o}))?i:"")+'<p class="m-0">'+l((n.lang||t&&t.lang||u).call(a,"undoInstructions",{name:"lang",hash:{},data:o}))+"</p>\r\n"},4:function(e,t,n,r,o){e.propertyIsEnumerable;return'<p class="m-0 pb-2">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"automaticApproval",{name:"lang",hash:{},data:o}))+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1624:function(e,t,n){"use strict";n.r(t),n.d(t,"DisableReviewView",(function(){return S}));var r=n(5),o=n(3),i=n(2),a=n(4),u=n(42),l=n(253),c=n(293),s=n(12),f=n(136),p=n(0),h=n(1212),y=n(1520),v=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function d(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function w(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}(R,e);var t,n,y,b=w(R);function R(){return d(this,R),b.apply(this,arguments)}return t=R,(n=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=r.a.getInstance(p.g.Settings,this),this.contentUpdatesDataService=r.a.getInstance(p.g.ContentUpdates,this)}},{key:"bindListeners",value:function(){this.listenTo(p.e.VIDEO,"".concat(p.f.VIDEOS_TO_REVIEW,":sync"),this.render)}},{key:"videosToReview",value:function(){return!!this.videoCollection&&!!this.videoCollection.length}},{key:"onClickDisable",value:function(){this.videosToReview()?this.approveAllThenDisableReview():this.disableReview(),this.triggerMethod("hide")}},{key:"approveAllThenDisableReview",value:function(){var e=this;this.contentUpdatesDataService.approveAllVideos((function(){return e.disableReview()}))}},{key:"disableReview",value:function(){var e=s.o.getLibraryReviewOptions(!1);this.settingsDataService.updateSetting(this.currentUser.get("customerId"),e,o.a.getPhrase(this.lang,"disableSuccess"),this.redirectToPastReleases),this.logAction()}},{key:"redirectToPastReleases",value:function(){i.a.AppLinkHelper.trigger({application:p.b.CONTENT_UPDATES,action:p.a.ContentUpdates.PAST_RELEASES})}},{key:"logAction",value:function(){var e={location:a.LocationContext.Popup,actionType:a.UserAction.Disable,entity:a.EntityType.CustomerSetting,descriptor:a.CustomerSettingDescriptor.LibraryReview,workflowPhase:a.WorkflowPhase.Complete},t={approvedCount:this.videoCollection.length};u.a.logUserAction(t,e)}},{key:"onBeforeRender",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&this.spinnerModel.set(l.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{videosToReview:this.videosToReview(),dataFetched:!!this.videoCollection,spinnerEl:s.q.getSpinner({size:s.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"DisableReviewView"}},{key:"title",get:function(){return o.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return v.a}},{key:"lang",get:function(){return"contentUpdates.disableReview"}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{title:o.a.getPhrase(this.lang,"heading"),behaviorClass:c.e,spinnerButtonOptions:{model:this.spinnerModel=new h.a,channelName:this.channelName,buttonText:o.a.getPhrase(this.lang,"offBtn"),onClick:function(){return e.onClickDisable()}}}]}},{key:"requiredResources",get:function(){return{currentUser:f.b.currentUser}}}])&&g(t.prototype,n),y&&g(t,y),R}(i.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[64],{1063:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i="libraryEditor.utils",o={name:[{required:!0,msg:function(){return r.a.getPhrase(i,"libraryNameRequired")}},{maxLength:255,msg:function(){return r.a.getPhrase(i,"libraryNameExceeds")}}]}},1314:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){e.propertyIsEnumerable;var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return'<form>\r\n <div class="form-group">\r\n <label for="name" class="control-label">'+l((n.lang||t&&t.lang||a).call(o,"libraryName",{name:"lang",hash:{},data:i}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+l((n.lang||t&&t.lang||a).call(o,"secondaryLibrary",{name:"lang",hash:{},data:i}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n</form>'},useData:!0})},1448:function(e,t,n){"use strict";n.r(t),n.d(t,"RenameLibraryView",(function(){return O}));var r=n(6),i=n(2),o=n(5),a=n(30),l=n(3),u=n(42),c=n(282),s=n(128),f=n(243),y=n(0),b=n(12),h=n(1063),p=n(1314),m=n.n(p);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(d,e);var t,n,i,p=k(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=o.a.getInstance(y.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(y.e.LIBRARY,"libraries:sync",this.render)}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.model.validate(),this.model.isValid()&&(r.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.saveLibrary(),this.logAction())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.model.get("name")};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"saveLibrary",value:function(){var e=this;this.libraryDataService.updateLibrary(this.model,(function(){e.triggerMethod("hide")}))}},{key:"onBeforeRender",value:function(){var e=this;return this.libraryDataService.getFolderFromLibraries(this.options.libraryId,(function(t){e.model||(e.model=a.a.get("library:".concat(e.options.libraryId),t.toJSON(),{ctor:s.a}))})),!!this.model}},{key:"name",get:function(){return"RenameLibraryView"}},{key:"lang",get:function(){return"libraryEditor.renameLibrary"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return m.a}},{key:"channelName",get:function(){return b.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.a,modelValidation:h.a},{behaviorClass:c.f},{behaviorClass:c.e,title:l.a.getPhrase(this.lang,"edit"),spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"save"),onClick:function(t){return e.onSubmit(t)}}}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}}])&&g(t.prototype,n),i&&g(t,i),d}(i.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[64],{1223:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(3),i="libraryEditor.utils",o={name:[{required:!0,msg:function(){return r.a.getPhrase(i,"libraryNameRequired")}},{maxLength:255,msg:function(){return r.a.getPhrase(i,"libraryNameExceeds")}}]}},1474:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,r,i){e.propertyIsEnumerable;var o=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,l=e.escapeExpression;return'<form>\r\n <div class="form-group">\r\n <label for="name" class="control-label">'+l((n.lang||t&&t.lang||a).call(o,"libraryName",{name:"lang",hash:{},data:i}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+l((n.lang||t&&t.lang||a).call(o,"secondaryLibrary",{name:"lang",hash:{},data:i}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n</form>'},useData:!0})},1608:function(e,t,n){"use strict";n.r(t),n.d(t,"RenameLibraryView",(function(){return O}));var r=n(6),i=n(2),o=n(5),a=n(30),l=n(3),u=n(42),c=n(293),s=n(130),f=n(253),y=n(0),b=n(12),h=n(1223),p=n(1474),m=n.n(p);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function g(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function k(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=S(e);if(t){var i=S(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var O=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(d,e);var t,n,i,p=k(d);function d(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d),p.call(this,e)}return t=d,(n=[{key:"initialize",value:function(){this.bindListeners(),this.libraryDataService=o.a.getInstance(y.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(y.e.LIBRARY,"libraries:sync",this.render)}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.model.validate(),this.model.isValid()&&(r.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.saveLibrary(),this.logAction())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.model.get("name")};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"saveLibrary",value:function(){var e=this;this.libraryDataService.updateLibrary(this.model,(function(){e.triggerMethod("hide")}))}},{key:"onBeforeRender",value:function(){var e=this;return this.libraryDataService.getFolderFromLibraries(this.options.libraryId,(function(t){e.model||(e.model=a.a.get("library:".concat(e.options.libraryId),t.toJSON(),{ctor:s.a}))})),!!this.model}},{key:"name",get:function(){return"RenameLibraryView"}},{key:"lang",get:function(){return"libraryEditor.renameLibrary"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"template",get:function(){return m.a}},{key:"channelName",get:function(){return b.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:c.a,modelValidation:h.a},{behaviorClass:c.f},{behaviorClass:c.e,title:l.a.getPhrase(this.lang,"edit"),spinnerButtonOptions:{channelName:this.channelName,buttonText:l.a.getPhrase(this.lang,"save"),onClick:function(t){return e.onSubmit(t)}}}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}}])&&g(t.prototype,n),i&&g(t,i),d}(i.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[65],{1112:function(t,e,n){"use strict";var r=n(190),o=n(1),i=n(188),c=n(0),u=n(135),a=n(284);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){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(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 b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(l,t);var e,n,r,i=h(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,r=t.subjects;e&&(this.libraryIds=e),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=o.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&y(e.prototype,n),r&&y(e,r),l}(i.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(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,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==g(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 _(t){return(_=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&&O(t,e)}(l,t);var e,n,r,i=w(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var r=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&v(e.prototype,n),r&&v(e,r),l}(i.a);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 P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(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,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(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 E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=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&&I(t,e)}(n,t);var e=k(n);function n(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return P(this,n),e.call(this,{collectionPrefix:c.f.LIBRARY_FOLDERS,id:t,sort:r,cursor:o})}return n}(i.a);n.d(e,"d",(function(){return r.a})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return j})),n.d(e,"a",(function(){return A}))},1252:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{name:null!=e?e.name:e},data:o}))?i:""},useData:!0})},1442:function(t,e,n){"use strict";n.r(e),n.d(e,"DeleteFolderView",(function(){return S}));var r=n(6),o=n(5),i=n(2),c=n(42),u=n(0),a=n(282),l=n(12),s=n(243),f=n(1112),y=n(3),p=n(192),h=n(1252),d=n.n(h);function b(t){return(b="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 m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==b(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 w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=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&&g(t,e)}(O,t);var e,n,h,b=v(O);function O(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,O),b.call(this,t)}return e=O,(n=[{key:"initialize",value:function(){this.listenTo(u.e.LIBRARY,"libraries:sync",this.render),this.collectionIdentifier=new f.d(this.options.folderId,l.p.GetCurrentSortType()),this.listenTo(u.e.VIDEO,"".concat(this.collectionIdentifier,":sync"),this.render),this.libraryDataService=o.a.getInstance(u.g.Library,this),this.videoDataService=o.a.getInstance(u.g.Video,this)}},{key:"getParentId",value:function(){if(l.f.isSubFolder(this.model)&&this.model&&this.model.collection&&this.model.collection.parent&&this.model.collection.parent instanceof i.a.Model)return this.model.collection.parent.get("id");var t=l.f.getLibrary(this.model.get("id"),this.model.collection);return t&&t.id||null}},{key:"onClickDelete",value:function(t){t&&t.preventDefault(),r.Radio.channel(this.channelName).trigger(s.b.ShowSpinner);var e=this.getParentId(),n=l.f.isSubFolder(this.model)?u.a.LibraryEditor.FOLDER:u.a.LibraryEditor.LIBRARY;this.libraryDataService.deleteFolder(this.options.folderId,(function(){i.a.AppLinkHelper.trigger({application:u.b.LIBRARY_EDITOR,action:n,args:[e]},{replace:!0})})),this.logAction()}},{key:"logAction",value:function(){var t={id:this.options.folderId,name:this.model.get("name")};c.a.logUserAction(t,this.options.analyticsOptions)}},{key:"canDelete",value:function(){return!(this.model.children&&this.model.children.length||this.videos&&this.videos.length)}},{key:"onBeforeRender",value:function(){var t=this;return this.libraryDataService.getFolderFromLibraries(this.options.folderId,(function(e){t.model=e})),this.videos=this.videoDataService.getCollectionVideos(this.collectionIdentifier),!(!this.model||!this.videos||!this.canDelete()&&(window.setTimeout((function(){t.triggerMethod("hide"),i.a.ErrorHelper.throw(new p.c)}),u.s.POPUP_FADE_TIMEOUT),1))}},{key:"name",get:function(){return"DeleteFolderView"}},{key:"title",get:function(){return!!this.model&&y.a.getPhrase(this.lang,"title",{folderName:this.model.get("name")})}},{key:"lang",get:function(){return"libraryEditor.deleteFolder"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return l.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:a.e,title:y.a.getPhrase(this.lang,"removeFolder"),spinnerButtonOptions:{channelName:this.channelName,buttonText:y.a.getPhrase(this.lang,"remove"),extraButtonClass:"btn-danger",onClick:function(e){return t.onClickDelete(e)}}}]}}])&&m(e.prototype,n),h&&m(e,h),O}(i.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[65],{1272:function(t,e,n){"use strict";var r=n(193),o=n(1),i=n(191),c=n(0),u=n(137),a=n(295);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){return function(t){if(Array.isArray(t))return f(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return f(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return f(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function f(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=b(t);if(e){var o=b(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(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 b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var m=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(l,t);var e,n,r,i=h(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_VIDEOS,":collection"),cursor:t.cursor,sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString,r=t.subjects;e&&(this.libraryIds=e),r&&(o.isArray(r)&&r.length&&(this.subjects=r),o.isArray(r)||(this.subjects=[r]));var i=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(i)}},{key:"toString",value:function(){var t=this.subjects&&this.subjects.length&&this.subjects.map((function(t){return escape(t.get("name"))}))||[];return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].concat(s(t),[this.cursor]).filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),this.subjects&&(t.subjectIds=o.flatten(this.subjects.map((function(t){return t.get("subjectIds")})))),this.cursor&&(t.cursor=this.cursor),t}}])&&y(e.prototype,n),r&&y(e,r),l}(i.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e){return(O=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function w(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,r=_(t);if(e){var o=_(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(t,e){return!e||"object"!==g(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 _(t){return(_=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&&O(t,e)}(l,t);var e,n,r,i=w(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=i.call(this,{collectionPrefix:"".concat(c.f.RECENT_SUBJECTS,":collection"),sort:t.sort})).setAdditionalData(t),e}return e=l,(n=[{key:"setAdditionalData",value:function(t){var e=t.libraryIds,n=t.dateQueryString;e&&(this.libraryIds=e);var r=o.findWhere(a.g,{queryString:n})||a.e;this.dateOption=new u.b(r)}},{key:"toString",value:function(){return[this.collectionPrefix,this.libraryIds,this.dateOption.get("from"),this.dateOption.get("to")].filter(Boolean).join(":")}},{key:"toParams",value:function(){var t={};return this.libraryIds&&(t.libraryIds=this.libraryIds),this.dateOption&&(t.from=this.dateOption.get("from"),t.to=this.dateOption.get("to")),t}}])&&v(e.prototype,n),r&&v(e,r),l}(i.a);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 P(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(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,r=E(t);if(e){var o=E(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return D(this,n)}}function D(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 E(t){return(E=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var A=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&&I(t,e)}(n,t);var e=k(n);function n(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return P(this,n),e.call(this,{collectionPrefix:c.f.LIBRARY_FOLDERS,id:t,sort:r,cursor:o})}return n}(i.a);n.d(e,"d",(function(){return r.a})),n.d(e,"b",(function(){return m})),n.d(e,"c",(function(){return j})),n.d(e,"a",(function(){return A}))},1412:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{name:null!=e?e.name:e},data:o}))?i:""},useData:!0})},1602:function(t,e,n){"use strict";n.r(e),n.d(e,"DeleteFolderView",(function(){return S}));var r=n(6),o=n(5),i=n(2),c=n(42),u=n(0),a=n(293),l=n(12),s=n(253),f=n(1272),y=n(3),p=n(195),h=n(1412),d=n.n(h);function b(t){return(b="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 m(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function v(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=w(t);if(e){var o=w(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return O(this,n)}}function O(t,e){return!e||"object"!==b(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 w(t){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var S=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&&g(t,e)}(O,t);var e,n,h,b=v(O);function O(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,O),b.call(this,t)}return e=O,(n=[{key:"initialize",value:function(){this.listenTo(u.e.LIBRARY,"libraries:sync",this.render),this.collectionIdentifier=new f.d(this.options.folderId,l.p.GetCurrentSortType()),this.listenTo(u.e.VIDEO,"".concat(this.collectionIdentifier,":sync"),this.render),this.libraryDataService=o.a.getInstance(u.g.Library,this),this.videoDataService=o.a.getInstance(u.g.Video,this)}},{key:"getParentId",value:function(){if(l.f.isSubFolder(this.model)&&this.model&&this.model.collection&&this.model.collection.parent&&this.model.collection.parent instanceof i.a.Model)return this.model.collection.parent.get("id");var t=l.f.getLibrary(this.model.get("id"),this.model.collection);return t&&t.id||null}},{key:"onClickDelete",value:function(t){t&&t.preventDefault(),r.Radio.channel(this.channelName).trigger(s.b.ShowSpinner);var e=this.getParentId(),n=l.f.isSubFolder(this.model)?u.a.LibraryEditor.FOLDER:u.a.LibraryEditor.LIBRARY;this.libraryDataService.deleteFolder(this.options.folderId,(function(){i.a.AppLinkHelper.trigger({application:u.b.LIBRARY_EDITOR,action:n,args:[e]},{replace:!0})})),this.logAction()}},{key:"logAction",value:function(){var t={id:this.options.folderId,name:this.model.get("name")};c.a.logUserAction(t,this.options.analyticsOptions)}},{key:"canDelete",value:function(){return!(this.model.children&&this.model.children.length||this.videos&&this.videos.length)}},{key:"onBeforeRender",value:function(){var t=this;return this.libraryDataService.getFolderFromLibraries(this.options.folderId,(function(e){t.model=e})),this.videos=this.videoDataService.getCollectionVideos(this.collectionIdentifier),!(!this.model||!this.videos||!this.canDelete()&&(window.setTimeout((function(){t.triggerMethod("hide"),i.a.ErrorHelper.throw(new p.c)}),u.s.POPUP_FADE_TIMEOUT),1))}},{key:"name",get:function(){return"DeleteFolderView"}},{key:"title",get:function(){return!!this.model&&y.a.getPhrase(this.lang,"title",{folderName:this.model.get("name")})}},{key:"lang",get:function(){return"libraryEditor.deleteFolder"}},{key:"template",get:function(){return d.a}},{key:"channelName",get:function(){return l.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:a.e,title:y.a.getPhrase(this.lang,"removeFolder"),spinnerButtonOptions:{channelName:this.channelName,buttonText:y.a.getPhrase(this.lang,"remove"),extraButtonClass:"btn-danger",onClick:function(e){return t.onClickDelete(e)}}}]}}])&&m(e.prototype,n),h&&m(e,h),O}(i.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[66],{1052:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(243);function i(t){return(i="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 a(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(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,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(s,t);var e,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return e=s,(n=[{key:"defaults",value:function(){return t={},e=o.c.Disabled,n=!0,e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}}])&&u(e.prototype,n),r&&u(e,r),s}(r.a.Model)},1254:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({1:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return(null!=(i=t.lambda(null!=(i=null!=e?e.options:e)?i.spinnerEl:i,e))?i:"")+"\r\n"},3:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return(null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.videoCount:i},data:o}))?i:"")+"\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=n.unless.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.libraryFetched:i,{name:"unless",hash:{},fn:t.program(1,o,0),inverse:t.program(3,o,0),data:o}))?i:""},useData:!0})},1444:function(t,e,n){"use strict";n.r(e),n.d(e,"DeleteVideosView",(function(){return k}));var r=n(1),o=n(6),i=n(2),a=n(5),u=n(42),l=n(282),c=n(1052),s=n(12),f=n(243),p=n(0),y=n(3),h=n(1254),b=n.n(h);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=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,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(w,t);var e,n,h,d=m(w);function w(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,w),d.call(this,t)}return e=w,(n=[{key:"initialize",value:function(){this.libraryDataService=a.a.getInstance(p.g.Library,this),this.videoDataService=a.a.getInstance(p.g.Video,this)}},{key:"onClickDelete",value:function(){var t=this;this.library&&(o.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.videoDataService.deleteVideosFromLibrary(this.library.id,this.options.folderId,this.options.videoIds,(function(){t.options.routeToFolderOnDelete?i.a.AppLinkHelper.trigger({application:p.b.LIBRARY_EDITOR,action:p.a.LibraryEditor.FOLDER,args:[t.options.folderId]}):t.triggerMethod("hide")})),this.logAction())}},{key:"logAction",value:function(){var t=this.options.videoIds,e={libraryId:this.library.id,folderId:this.options.folderId,count:t.length};1===t.length&&(e.id=r.first(t)),u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"onBeforeRender",value:function(){var t=this;this.library?this.spinnerModel.set(f.c.Disabled,!1):this.libraryDataService.getLibraries((function(e){t.library=s.f.getLibrary(t.options.folderId,e),t.render()}))}},{key:"viewOptions",value:function(){return{count:this.options.videoIds.length,libraryFetched:!!this.library,spinnerEl:s.q.getSpinner({size:s.r.Large,extraClasses:"mx-auto"}),videoCount:this.options.videoIds.length}}},{key:"name",get:function(){return"DeleteVideoView"}},{key:"lang",get:function(){return"libraryEditor.deleteVideos"}},{key:"title",get:function(){return this.options.videoIds&&y.a.getPhrase(this.lang,"title",{smartCount:this.options.videoIds.length})}},{key:"template",get:function(){return b.a}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{title:y.a.getPhrase(this.lang,"removeVideos"),behaviorClass:l.e,spinnerButtonOptions:{channelName:this.channelName,model:this.spinnerModel=new c.a,buttonText:y.a.getPhrase(this.lang,"remove"),extraButtonClass:"btn-danger",onClick:function(){return t.onClickDelete()}}}]}}])&&v(e.prototype,n),h&&v(e,h),w}(i.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[66],{1212:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var r=n(2),o=n(253);function i(t){return(i="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 a(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 r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(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,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(t,e){return!e||"object"!==i(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(s,t);var e,n,r,i=c(s);function s(){return a(this,s),i.apply(this,arguments)}return e=s,(n=[{key:"defaults",value:function(){return t={},e=o.c.Disabled,n=!0,e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t;var t,e,n}}])&&u(e.prototype,n),r&&u(e,r),s}(r.a.Model)},1414:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({1:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return(null!=(i=t.lambda(null!=(i=null!=e?e.options:e)?i.spinnerEl:i,e))?i:"")+"\r\n"},3:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return(null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"check",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.videoCount:i},data:o}))?i:"")+"\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){var i;t.propertyIsEnumerable;return null!=(i=n.unless.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.libraryFetched:i,{name:"unless",hash:{},fn:t.program(1,o,0),inverse:t.program(3,o,0),data:o}))?i:""},useData:!0})},1604:function(t,e,n){"use strict";n.r(e),n.d(e,"DeleteVideosView",(function(){return k}));var r=n(1),o=n(6),i=n(2),a=n(5),u=n(42),l=n(293),c=n(1212),s=n(12),f=n(253),p=n(0),y=n(3),h=n(1414),b=n.n(h);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function v(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function g(t,e){return(g=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,r=O(t);if(e){var o=O(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(t,e){return!e||"object"!==d(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function O(t){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var k=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&g(t,e)}(w,t);var e,n,h,d=m(w);function w(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,w),d.call(this,t)}return e=w,(n=[{key:"initialize",value:function(){this.libraryDataService=a.a.getInstance(p.g.Library,this),this.videoDataService=a.a.getInstance(p.g.Video,this)}},{key:"onClickDelete",value:function(){var t=this;this.library&&(o.Radio.channel(this.channelName).trigger(f.b.ShowSpinner),this.videoDataService.deleteVideosFromLibrary(this.library.id,this.options.folderId,this.options.videoIds,(function(){t.options.routeToFolderOnDelete?i.a.AppLinkHelper.trigger({application:p.b.LIBRARY_EDITOR,action:p.a.LibraryEditor.FOLDER,args:[t.options.folderId]}):t.triggerMethod("hide")})),this.logAction())}},{key:"logAction",value:function(){var t=this.options.videoIds,e={libraryId:this.library.id,folderId:this.options.folderId,count:t.length};1===t.length&&(e.id=r.first(t)),u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"onBeforeRender",value:function(){var t=this;this.library?this.spinnerModel.set(f.c.Disabled,!1):this.libraryDataService.getLibraries((function(e){t.library=s.f.getLibrary(t.options.folderId,e),t.render()}))}},{key:"viewOptions",value:function(){return{count:this.options.videoIds.length,libraryFetched:!!this.library,spinnerEl:s.q.getSpinner({size:s.r.Large,extraClasses:"mx-auto"}),videoCount:this.options.videoIds.length}}},{key:"name",get:function(){return"DeleteVideoView"}},{key:"lang",get:function(){return"libraryEditor.deleteVideos"}},{key:"title",get:function(){return this.options.videoIds&&y.a.getPhrase(this.lang,"title",{smartCount:this.options.videoIds.length})}},{key:"template",get:function(){return b.a}},{key:"channelName",get:function(){return s.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var t=this;return[{title:y.a.getPhrase(this.lang,"removeVideos"),behaviorClass:l.e,spinnerButtonOptions:{channelName:this.channelName,model:this.spinnerModel=new c.a,buttonText:y.a.getPhrase(this.lang,"remove"),extraButtonClass:"btn-danger",onClick:function(){return t.onClickDelete()}}}]}}])&&v(e.prototype,n),h&&v(e,h),w}(i.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[67],{1052:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(243);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,r,i=l(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&u(t.prototype,n),r&&u(t,r),s}(r.a.Model)},1412:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.videoDeleted:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?i:""},4:function(e,t,n,r,o){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"deleted",{name:"lang",hash:{},data:o}))+"\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression;return u((n.lang||t&&t.lang||a).call(i,"exists",{name:"lang",hash:{},data:o}))+' <a class="view-video info-link">'+u((n.lang||t&&t.lang||a).call(i,"clickHere",{name:"lang",hash:{},data:o}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1477:function(e,t,n){"use strict";n.r(t),n.d(t,"RemigrateVideoView",(function(){return w}));var r=n(2),o=n(5),i=n(1412),a=n.n(i),u=n(282),c=n(243),l=n(1052),s=n(0),f=n(12),p=n(3),h=n(58);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(m,e);var t,n,i,d=g(m);function m(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),d.call(this,e)}return t=m,(n=[{key:"initialize",value:function(){this.spinnerModel=new l.a,this.videoDataService=o.a.getInstance(s.g.Video,this),this.migrationVideoDataService=o.a.getInstance(s.g.MigrationVideo,this),this.options.masterId&&this.listenTo(s.e.VIDEO,"".concat(s.f.VIDEOS,":").concat(this.options.masterId,":error"),this.onError)}},{key:"getSpinnerButtonOptions",value:function(){var e=this;if(!this.model)return{model:this.spinnerModel,channelName:this.channelName,buttonText:function(){return e.getButtonText()},onClick:function(){return e.migrateVideo()}}}},{key:"getButtonText",value:function(){return this.model?p.a.getPhrase(this.lang,"viewVideo"):p.a.getPhrase(this.lang,"addToLibrary")}},{key:"onVideoSync",value:function(e){e.libraries&&e.libraries.any((function(e){return e.get("type")===h.a.CustomLibrary}))?(this.model=e,this.spinnerModel.set(c.c.Disabled,!1),this.render()):this.onError()}},{key:"onError",value:function(){this.spinnerModel.set(c.c.Disabled,!1),this.render()}},{key:"migrateVideo",value:function(){var e=this;this.spinnerModel.set(c.c.ShowSpinner,!0);var t=new r.a.Collection([{folderChord:this.options.folderChord,videoIds:[this.options.videoId]}]);this.migrationVideoDataService.finaliseCustomerVideos(t,!1,(function(t){e.migrationVideoDataService.clearVideoCache(),e.videoDataService.clearVideoCache(),r.a.AppLinkHelper.trigger({application:s.b.MIGRATION_WIZARD,action:s.a.MigrationWizard.PROGRESS,args:[t.id]})}))}},{key:"dataFetched",value:function(){return!this.spinnerModel.get(c.c.Disabled)}},{key:"onBeforeRender",value:function(){var e=this;!this.model&&this.options.masterId?this.dataFetched()||this.videoDataService.clearCacheAndGetVideo(this.options.masterId,(function(t){return e.onVideoSync(t)}),!1):this.spinnerModel.set(c.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{dataFetched:this.dataFetched(),videoDeleted:!this.model,spinnerEl:f.q.getSpinner({size:f.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"RemigrateVideoView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.remigrateVideo"}},{key:"template",get:function(){return a.a}},{key:"channelName",get:function(){return f.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){return[{behaviorClass:u.e,title:p.a.getPhrase(this.lang,"heading"),spinnerButtonOptions:this.getSpinnerButtonOptions}]}},{key:"appLinks",get:function(){return{".view-video":{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.masterId]}}}}])&&y(t.prototype,n),i&&y(t,i),m}(r.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[67],{1212:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(253);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&c(e,t)}(s,e);var t,n,r,i=l(s);function s(){return a(this,s),i.apply(this,arguments)}return t=s,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&u(t.prototype,n),r&&u(t,r),s}(r.a.Model)},1572:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.videoDeleted:i,{name:"if",hash:{},fn:e.program(4,o,0),inverse:e.program(6,o,0),data:o}))?i:""},4:function(e,t,n,r,o){e.propertyIsEnumerable;return e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"deleted",{name:"lang",hash:{},data:o}))+"\r\n"},6:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression;return u((n.lang||t&&t.lang||a).call(i,"exists",{name:"lang",hash:{},data:o}))+' <a class="view-video info-link">'+u((n.lang||t&&t.lang||a).call(i,"clickHere",{name:"lang",hash:{},data:o}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1637:function(e,t,n){"use strict";n.r(t),n.d(t,"RemigrateVideoView",(function(){return w}));var r=n(2),o=n(5),i=n(1572),a=n.n(i),u=n(293),c=n(253),l=n(1212),s=n(0),f=n(12),p=n(3),h=n(59);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function y(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(e,t){return(b=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return m(this,n)}}function m(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function v(e){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&b(e,t)}(m,e);var t,n,i,d=g(m);function m(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,m),d.call(this,e)}return t=m,(n=[{key:"initialize",value:function(){this.spinnerModel=new l.a,this.videoDataService=o.a.getInstance(s.g.Video,this),this.migrationVideoDataService=o.a.getInstance(s.g.MigrationVideo,this),this.options.masterId&&this.listenTo(s.e.VIDEO,"".concat(s.f.VIDEOS,":").concat(this.options.masterId,":error"),this.onError)}},{key:"getSpinnerButtonOptions",value:function(){var e=this;if(!this.model)return{model:this.spinnerModel,channelName:this.channelName,buttonText:function(){return e.getButtonText()},onClick:function(){return e.migrateVideo()}}}},{key:"getButtonText",value:function(){return this.model?p.a.getPhrase(this.lang,"viewVideo"):p.a.getPhrase(this.lang,"addToLibrary")}},{key:"onVideoSync",value:function(e){e.libraries&&e.libraries.any((function(e){return e.get("type")===h.a.CustomLibrary}))?(this.model=e,this.spinnerModel.set(c.c.Disabled,!1),this.render()):this.onError()}},{key:"onError",value:function(){this.spinnerModel.set(c.c.Disabled,!1),this.render()}},{key:"migrateVideo",value:function(){var e=this;this.spinnerModel.set(c.c.ShowSpinner,!0);var t=new r.a.Collection([{folderChord:this.options.folderChord,videoIds:[this.options.videoId]}]);this.migrationVideoDataService.finaliseCustomerVideos(t,!1,(function(t){e.migrationVideoDataService.clearVideoCache(),e.videoDataService.clearVideoCache(),r.a.AppLinkHelper.trigger({application:s.b.MIGRATION_WIZARD,action:s.a.MigrationWizard.PROGRESS,args:[t.id]})}))}},{key:"dataFetched",value:function(){return!this.spinnerModel.get(c.c.Disabled)}},{key:"onBeforeRender",value:function(){var e=this;!this.model&&this.options.masterId?this.dataFetched()||this.videoDataService.clearCacheAndGetVideo(this.options.masterId,(function(t){return e.onVideoSync(t)}),!1):this.spinnerModel.set(c.c.Disabled,!1)}},{key:"viewOptions",value:function(){return{dataFetched:this.dataFetched(),videoDeleted:!this.model,spinnerEl:f.q.getSpinner({size:f.r.Large,extraClasses:"mx-auto"})}}},{key:"name",get:function(){return"RemigrateVideoView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.remigrateVideo"}},{key:"template",get:function(){return a.a}},{key:"channelName",get:function(){return f.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){return[{behaviorClass:u.e,title:p.a.getPhrase(this.lang,"heading"),spinnerButtonOptions:this.getSpinnerButtonOptions}]}},{key:"appLinks",get:function(){return{".view-video":{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.masterId]}}}}])&&y(t.prototype,n),i&&y(t,i),m}(r.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[68],{1052:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(243);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=l(c);function c(){return a(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),c}(r.a.Model)},1352:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return"<p>"+(null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"approveDescription",{name:"lang",hash:{videoName:null!=(i=null!=t?t.options:t)?i.videoName:i,folderName:null!=(i=null!=t?t.options:t)?i.folderName:i,libraryName:null!=(i=null!=t?t.options:t)?i.libraryName:i},data:o}))?i:"")+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1460:function(e,t,n){"use strict";n.r(t),n.d(t,"ApproveStaffRequestView",(function(){return w}));var r=n(6),o=n(2),i=n(5),a=n(4),s=n(42),u=n(282),l=n(243),c=n(0),f=n(1052),p=n(12),h=n(3),y=n(1352),d=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(S,e);var t,n,y,b=g(S);function S(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,S),b.call(this,e)}return t=S,(n=[{key:"initialize",value:function(){this.staffRequestDataService=i.a.getInstance(c.g.StaffRequests,this),this.libraryDataService=i.a.getInstance(c.g.Library,this),this.bindListeners()}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(c.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(c.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(c.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(c.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(c.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(c.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(c.e.LIBRARY,"folder:".concat(this.options.folderId,":sync"),this.render)}},{key:"fetchData",value:function(){var e=this;this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId),this.library||this.libraryDataService.getLibraries((function(t){e.library=p.f.getLibrary(e.options.libraryId,t),e.render()})),this.folder=this.libraryDataService.getFolder(this.options.folderId)}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),r.Radio.channel(this.channelName).trigger(l.b.ShowSpinner),this.staffRequestDataService.approveStaffRequest(this.options.requestId,this.options.libraryId,this.options.folderId),this.logAction()}},{key:"logAction",value:function(){var e={location:a.k.Popup,actionType:a.q.Approve,entity:a.e.StaffRequest,workflowPhase:a.r.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id,destinationLibraryId:this.options.libraryId,destinationFolderId:this.options.folderId};s.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:c.b.STAFF_REQUESTS,action:c.a.StaffRequests.HOME})}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model&&!!this.library&&!!this.folder,library:this.library&&this.library.get("name"),folder:this.folder&&this.folder.get("name"),spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"}),libraryName:this.library&&p.v.escapeExpression(this.library.get("name")),folderName:this.folder&&p.v.escapeExpression(this.folder.get("name")),videoName:this.model&&this.model.get("video")&&p.v.escapeExpression(this.model.get("video").get("name"))}}},{key:"onBeforeRender",value:function(){this.fetchData(),this.model&&this.library&&this.folder&&this.spinnerModel.set(l.c.Disabled,!1)}},{key:"name",get:function(){return"ApproveStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.approveStaffRequest"}},{key:"template",get:function(){return d.a}},{key:"tagName",get:function(){return"form"}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:u.e,title:h.a.getPhrase(this.lang,"approveCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"approve"),onClick:function(t){return e.onSubmit(t)}}}]}}])&&m(t.prototype,n),y&&m(t,y),S}(o.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[68],{1212:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(253);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=l(c);function c(){return a(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),c}(r.a.Model)},1512:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return"<p>"+(null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"approveDescription",{name:"lang",hash:{videoName:null!=(i=null!=t?t.options:t)?i.videoName:i,folderName:null!=(i=null!=t?t.options:t)?i.folderName:i,libraryName:null!=(i=null!=t?t.options:t)?i.libraryName:i},data:o}))?i:"")+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1620:function(e,t,n){"use strict";n.r(t),n.d(t,"ApproveStaffRequestView",(function(){return w}));var r=n(6),o=n(2),i=n(5),a=n(4),s=n(42),u=n(293),l=n(253),c=n(0),f=n(1212),p=n(12),h=n(3),y=n(1512),d=n.n(y);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return(v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=R(e);if(t){var o=R(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return S(this,n)}}function S(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function R(e){return(R=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var w=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(S,e);var t,n,y,b=g(S);function S(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,S),b.call(this,e)}return t=S,(n=[{key:"initialize",value:function(){this.staffRequestDataService=i.a.getInstance(c.g.StaffRequests,this),this.libraryDataService=i.a.getInstance(c.g.Library,this),this.bindListeners()}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(c.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(c.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(c.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(c.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(c.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(c.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(c.e.LIBRARY,"folder:".concat(this.options.folderId,":sync"),this.render)}},{key:"fetchData",value:function(){var e=this;this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId),this.library||this.libraryDataService.getLibraries((function(t){e.library=p.f.getLibrary(e.options.libraryId,t),e.render()})),this.folder=this.libraryDataService.getFolder(this.options.folderId)}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),r.Radio.channel(this.channelName).trigger(l.b.ShowSpinner),this.staffRequestDataService.approveStaffRequest(this.options.requestId,this.options.libraryId,this.options.folderId),this.logAction()}},{key:"logAction",value:function(){var e={location:a.LocationContext.Popup,actionType:a.UserAction.Approve,entity:a.EntityType.StaffRequest,workflowPhase:a.WorkflowPhase.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id,destinationLibraryId:this.options.libraryId,destinationFolderId:this.options.folderId};s.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:c.b.STAFF_REQUESTS,action:c.a.StaffRequests.HOME})}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model&&!!this.library&&!!this.folder,library:this.library&&this.library.get("name"),folder:this.folder&&this.folder.get("name"),spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"}),libraryName:this.library&&p.v.escapeExpression(this.library.get("name")),folderName:this.folder&&p.v.escapeExpression(this.folder.get("name")),videoName:this.model&&this.model.get("video")&&p.v.escapeExpression(this.model.get("video").get("name"))}}},{key:"onBeforeRender",value:function(){this.fetchData(),this.model&&this.library&&this.folder&&this.spinnerModel.set(l.c.Disabled,!1)}},{key:"name",get:function(){return"ApproveStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.approveStaffRequest"}},{key:"template",get:function(){return d.a}},{key:"tagName",get:function(){return"form"}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:u.e,title:h.a.getPhrase(this.lang,"approveCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"approve"),onClick:function(t){return e.onSubmit(t)}}}]}}])&&m(t.prototype,n),y&&m(t,y),S}(o.a.View)}}]);