@clickview/library-editor 1.1.22 → 1.1.23-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/1.chunk.css.map +1 -0
- package/dist/css/10.chunk.css.map +1 -0
- package/dist/css/11.chunk.css +137 -0
- package/dist/css/11.chunk.css.map +1 -0
- package/dist/css/12.chunk.css.map +1 -0
- package/dist/css/13.chunk.css.map +1 -0
- package/dist/css/14.chunk.css.map +1 -0
- package/dist/css/16.chunk.css.map +1 -0
- package/dist/css/17.chunk.css.map +1 -0
- package/dist/css/18.chunk.css +20 -0
- package/dist/css/18.chunk.css.map +1 -0
- package/dist/css/2.chunk.css +145 -0
- package/dist/css/2.chunk.css.map +1 -0
- package/dist/css/20.chunk.css +8 -0
- package/dist/css/21.chunk.css +10 -8
- package/dist/css/21.chunk.css.map +1 -0
- package/dist/css/22.chunk.css +14 -8
- package/dist/css/22.chunk.css.map +1 -0
- package/dist/css/23.chunk.css +9 -9
- package/dist/css/23.chunk.css.map +1 -0
- package/dist/css/24.chunk.css +11 -7
- package/dist/css/25.chunk.css +7 -7
- package/dist/css/25.chunk.css.map +1 -0
- package/dist/css/26.chunk.css +9 -5
- package/dist/css/26.chunk.css.map +1 -0
- package/dist/css/27.chunk.css +5 -5
- package/dist/css/28.chunk.css +6 -4
- package/dist/css/28.chunk.css.map +1 -0
- package/dist/css/29.chunk.css +4 -4
- package/dist/css/29.chunk.css.map +1 -0
- package/dist/css/3.chunk.css.map +1 -0
- package/dist/css/30.chunk.css +4 -4
- package/dist/css/30.chunk.css.map +1 -0
- package/dist/css/31.chunk.css +5 -3
- package/dist/css/31.chunk.css.map +1 -0
- package/dist/css/32.chunk.css +2 -0
- package/dist/css/32.chunk.css.map +1 -0
- package/dist/css/33.chunk.css +4 -0
- package/dist/css/33.chunk.css.map +1 -0
- package/dist/css/34.chunk.css +21 -0
- package/dist/css/34.chunk.css.map +1 -0
- package/dist/css/35.chunk.css +20 -0
- package/dist/css/35.chunk.css.map +1 -0
- package/dist/css/36.chunk.css +12 -2
- package/dist/css/36.chunk.css.map +1 -0
- package/dist/css/37.chunk.css +2 -2
- package/dist/css/37.chunk.css.map +1 -0
- package/dist/css/38.chunk.css +3 -1
- package/dist/css/38.chunk.css.map +1 -0
- package/dist/css/40.chunk.css +1 -3
- package/dist/css/40.chunk.css.map +1 -0
- package/dist/css/41.chunk.css +2 -2
- package/dist/css/41.chunk.css.map +1 -0
- package/dist/css/42.chunk.css +3 -1
- package/dist/css/42.chunk.css.map +1 -0
- package/dist/css/43.chunk.css +1 -1
- package/dist/css/43.chunk.css.map +1 -0
- package/dist/css/44.chunk.css +1 -1
- package/dist/css/44.chunk.css.map +1 -0
- package/dist/css/45.chunk.css +1 -1
- package/dist/css/45.chunk.css.map +1 -0
- package/dist/css/46.chunk.css +1 -1
- package/dist/css/46.chunk.css.map +1 -0
- package/dist/css/47.chunk.css +1 -1
- package/dist/css/47.chunk.css.map +1 -0
- package/dist/css/48.chunk.css +2 -0
- package/dist/css/48.chunk.css.map +1 -0
- package/dist/css/49.chunk.css +34 -1
- package/dist/css/49.chunk.css.map +1 -0
- package/dist/css/50.chunk.css +1 -1
- package/dist/css/50.chunk.css.map +1 -0
- package/dist/css/51.chunk.css +2 -0
- package/dist/css/51.chunk.css.map +1 -0
- package/dist/css/52.chunk.css +66 -0
- package/dist/css/52.chunk.css.map +1 -0
- package/dist/css/54.chunk.css +1 -1
- package/dist/css/55.chunk.css +1 -1
- package/dist/css/55.chunk.css.map +1 -0
- package/dist/css/56.chunk.css +1 -1
- package/dist/css/56.chunk.css.map +1 -0
- package/dist/css/57.chunk.css +1 -1
- package/dist/css/58.chunk.css +1 -1
- package/dist/css/58.chunk.css.map +1 -0
- package/dist/css/59.chunk.css +2 -0
- package/dist/css/59.chunk.css.map +1 -0
- package/dist/css/6.chunk.css.map +1 -0
- package/dist/css/60.chunk.css +17 -1
- package/dist/css/60.chunk.css.map +1 -0
- package/dist/css/61.chunk.css +1 -1
- package/dist/css/62.chunk.css +2 -0
- package/dist/css/62.chunk.css.map +1 -0
- package/dist/css/63.chunk.css +170 -0
- package/dist/css/63.chunk.css.map +1 -0
- package/dist/css/67.chunk.css +78 -0
- package/dist/css/67.chunk.css.map +1 -0
- package/dist/css/68.chunk.css +17 -0
- package/dist/css/68.chunk.css.map +1 -0
- package/dist/css/69.chunk.css +17 -0
- package/dist/css/69.chunk.css.map +1 -0
- package/dist/css/7.chunk.css.map +1 -0
- package/dist/css/70.chunk.css +23 -0
- package/dist/css/70.chunk.css.map +1 -0
- package/dist/css/71.chunk.css +40 -0
- package/dist/css/71.chunk.css.map +1 -0
- package/dist/css/72.chunk.css +16 -0
- package/dist/css/72.chunk.css.map +1 -0
- package/dist/css/73.chunk.css +37 -0
- package/dist/css/73.chunk.css.map +1 -0
- package/dist/css/74.chunk.css +29 -0
- package/dist/css/74.chunk.css.map +1 -0
- package/dist/css/75.chunk.css +6 -0
- package/dist/css/75.chunk.css.map +1 -0
- package/dist/css/76.chunk.css +6 -0
- package/dist/css/76.chunk.css.map +1 -0
- package/dist/css/8.chunk.css.map +1 -0
- package/dist/css/library-editor-app.css.map +1 -0
- package/dist/libs/analytics/src/clients/CollectionApiClient.d.ts +3 -1
- package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +5 -6
- package/dist/libs/analytics/src/interfaces/User.d.ts +11 -0
- package/dist/libs/analytics/src/models/CollectionEvent.d.ts +6 -0
- package/dist/libs/analytics/src/utils/CollectionApiClientHelper.d.ts +1 -1
- package/dist/libs/analytics/src/utils/UrlHelper.d.ts +3 -0
- package/dist/libs/analytics/src/utils/VideoAnalyticsTracker.d.ts +2 -1
- package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +3 -3
- package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +1 -0
- package/dist/libs/shared/src/enums/PlaylistPrivacy.d.ts +5 -0
- package/dist/libs/shared/src/enums/PresentationType.d.ts +4 -0
- package/dist/libs/shared/src/enums/SettingKind.d.ts +4 -0
- package/dist/libs/shared/src/enums/SettingName.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/collections/VideoHistoryCollection.d.ts +4 -0
- package/dist/libs/shared/src/interfaces/collections/index.d.ts +1 -0
- package/dist/libs/shared/src/interfaces/models/EntitySetting.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Library.d.ts +2 -0
- package/dist/libs/shared/src/interfaces/models/Playlist.d.ts +4 -1
- package/dist/libs/shared/src/interfaces/models/Presentation.d.ts +3 -0
- package/dist/libs/shared/src/interfaces/models/Video.d.ts +4 -2
- package/dist/libs/shared/src/interfaces/models/VideoHistory.d.ts +9 -0
- package/dist/libs/shared/src/interfaces/models/Widget.d.ts +2 -1
- package/dist/libs/shared/src/interfaces/models/index.d.ts +3 -1
- package/dist/projects/library-editor/src/app.d.ts +0 -2
- package/dist/projects/library-editor/src/polyfills.d.ts +2 -0
- package/dist/scripts/0-09e1e33a5c.chunk.js +1 -0
- package/dist/scripts/0.chunk.js +1034 -0
- package/dist/scripts/0.chunk.js.map +1 -0
- package/dist/scripts/{1-2de58388ac.chunk.js → 1-a66bb44471.chunk.js} +1 -1
- package/dist/scripts/1.chunk.js +442 -0
- package/dist/scripts/1.chunk.js.map +1 -0
- package/dist/scripts/10-6c79d8c6f9.chunk.js +1 -0
- package/dist/scripts/10.chunk.js +820 -0
- package/dist/scripts/10.chunk.js.map +1 -0
- package/dist/scripts/{11-7e6fa27e09.chunk.js → 11-6eef9e160e.chunk.js} +1 -1
- package/dist/scripts/11.chunk.js +4091 -0
- package/dist/scripts/11.chunk.js.map +1 -0
- package/dist/scripts/12-dbffa50a92.chunk.js +1 -0
- package/dist/scripts/12.chunk.js +555 -0
- package/dist/scripts/12.chunk.js.map +1 -0
- package/dist/scripts/13-37e5cfab3e.chunk.js +1 -0
- package/dist/scripts/13.chunk.js +373 -0
- package/dist/scripts/13.chunk.js.map +1 -0
- package/dist/scripts/14-b524fbd295.chunk.js +1 -0
- package/dist/scripts/14.chunk.js +2386 -0
- package/dist/scripts/14.chunk.js.map +1 -0
- package/dist/scripts/{15-bfba4ec28c.chunk.js → 15-1ff1252d1a.chunk.js} +1 -1
- package/dist/scripts/15.chunk.js +314 -0
- package/dist/scripts/15.chunk.js.map +1 -0
- package/dist/scripts/16-b27142fe98.chunk.js +1 -0
- package/dist/scripts/16.chunk.js +1290 -0
- package/dist/scripts/16.chunk.js.map +1 -0
- package/dist/scripts/17-c3bbe50816.chunk.js +1 -0
- package/dist/scripts/17.chunk.js +381 -0
- package/dist/scripts/17.chunk.js.map +1 -0
- package/dist/scripts/18.chunk.js +393 -0
- package/dist/scripts/18.chunk.js.map +1 -0
- package/dist/scripts/19.chunk.js +364 -0
- package/dist/scripts/19.chunk.js.map +1 -0
- package/dist/scripts/{2-4e0702e404.chunk.js → 2-2cc3988222.chunk.js} +1 -1
- package/dist/scripts/2.chunk.js +523 -0
- package/dist/scripts/2.chunk.js.map +1 -0
- package/dist/scripts/20-6d9086f5db.chunk.js +1 -0
- package/dist/scripts/20.chunk.js +317 -0
- package/dist/scripts/20.chunk.js.map +1 -0
- package/dist/scripts/21-2f10553302.chunk.js +1 -0
- package/dist/scripts/21.chunk.js +531 -0
- package/dist/scripts/21.chunk.js.map +1 -0
- package/dist/scripts/22-59ae44b448.chunk.js +1 -0
- package/dist/scripts/22.chunk.js +354 -0
- package/dist/scripts/22.chunk.js.map +1 -0
- package/dist/scripts/23-11e008ee63.chunk.js +1 -0
- package/dist/scripts/23.chunk.js +604 -0
- package/dist/scripts/23.chunk.js.map +1 -0
- package/dist/scripts/24-7f21e384d2.chunk.js +1 -0
- package/dist/scripts/24.chunk.js +318 -0
- package/dist/scripts/24.chunk.js.map +1 -0
- package/dist/scripts/25-f0f7fa16a4.chunk.js +1 -0
- package/dist/scripts/25.chunk.js +365 -0
- package/dist/scripts/25.chunk.js.map +1 -0
- package/dist/scripts/26-e65533bd94.chunk.js +1 -0
- package/dist/scripts/26.chunk.js +442 -0
- package/dist/scripts/26.chunk.js.map +1 -0
- package/dist/scripts/27-9dc0f5a4df.chunk.js +1 -0
- package/dist/scripts/27.chunk.js +3630 -0
- package/dist/scripts/27.chunk.js.map +1 -0
- package/dist/scripts/28-26e5c371c7.chunk.js +1 -0
- package/dist/scripts/28.chunk.js +3173 -0
- package/dist/scripts/28.chunk.js.map +1 -0
- package/dist/scripts/29-61415c2af0.chunk.js +1 -0
- package/dist/scripts/29.chunk.js +3088 -0
- package/dist/scripts/29.chunk.js.map +1 -0
- package/dist/scripts/{3-e5c7b6f664.chunk.js → 3-5eff8c9df5.chunk.js} +1 -1
- package/dist/scripts/3.chunk.js +833 -0
- package/dist/scripts/3.chunk.js.map +1 -0
- package/dist/scripts/30-6075c28972.chunk.js +1 -0
- package/dist/scripts/30.chunk.js +1852 -0
- package/dist/scripts/30.chunk.js.map +1 -0
- package/dist/scripts/31-e35ae4e153.chunk.js +1 -0
- package/dist/scripts/31.chunk.js +958 -0
- package/dist/scripts/31.chunk.js.map +1 -0
- package/dist/scripts/32-d5a50a7592.chunk.js +1 -0
- package/dist/scripts/32.chunk.js +1235 -0
- package/dist/scripts/32.chunk.js.map +1 -0
- package/dist/scripts/33-5ae90ed7d7.chunk.js +1 -0
- package/dist/scripts/33.chunk.js +792 -0
- package/dist/scripts/33.chunk.js.map +1 -0
- package/dist/scripts/{33-fc12af4a2f.chunk.js → 34-50402c1835.chunk.js} +1 -1
- package/dist/scripts/34.chunk.js +990 -0
- package/dist/scripts/34.chunk.js.map +1 -0
- package/dist/scripts/{34-132c087a52.chunk.js → 35-ec8c190357.chunk.js} +1 -1
- package/dist/scripts/35.chunk.js +518 -0
- package/dist/scripts/35.chunk.js.map +1 -0
- package/dist/scripts/{35-bdb5443e62.chunk.js → 36-4d467bc42e.chunk.js} +1 -1
- package/dist/scripts/36.chunk.js +335 -0
- package/dist/scripts/36.chunk.js.map +1 -0
- package/dist/scripts/37-37e8965783.chunk.js +1 -0
- package/dist/scripts/37.chunk.js +236 -0
- package/dist/scripts/37.chunk.js.map +1 -0
- package/dist/scripts/38-3dc24b8867.chunk.js +1 -0
- package/dist/scripts/38.chunk.js +315 -0
- package/dist/scripts/38.chunk.js.map +1 -0
- package/dist/scripts/39-350ff66a2b.chunk.js +1 -0
- package/dist/scripts/39.chunk.js +116 -0
- package/dist/scripts/39.chunk.js.map +1 -0
- package/dist/scripts/4-b3f3c7c71c.chunk.js +1 -0
- package/dist/scripts/4.chunk.js +335 -0
- package/dist/scripts/4.chunk.js.map +1 -0
- package/dist/scripts/40-3443f99cb2.chunk.js +1 -0
- package/dist/scripts/40.chunk.js +2493 -0
- package/dist/scripts/40.chunk.js.map +1 -0
- package/dist/scripts/{40-376ad7e86e.chunk.js → 41-b5dfd35e9e.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js +1782 -0
- package/dist/scripts/41.chunk.js.map +1 -0
- package/dist/scripts/42-103fecb7b6.chunk.js +1 -0
- package/dist/scripts/42.chunk.js +2116 -0
- package/dist/scripts/42.chunk.js.map +1 -0
- package/dist/scripts/{42-e1b7e51fda.chunk.js → 43-57b07579f7.chunk.js} +1 -1
- package/dist/scripts/43.chunk.js +2243 -0
- package/dist/scripts/43.chunk.js.map +1 -0
- package/dist/scripts/{43-e6c65d0b16.chunk.js → 44-210d64dffe.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js +1024 -0
- package/dist/scripts/44.chunk.js.map +1 -0
- package/dist/scripts/{44-23032fea5c.chunk.js → 45-632b07e926.chunk.js} +1 -1
- package/dist/scripts/45.chunk.js +1065 -0
- package/dist/scripts/45.chunk.js.map +1 -0
- package/dist/scripts/46-82cce63cbf.chunk.js +1 -0
- package/dist/scripts/46.chunk.js +656 -0
- package/dist/scripts/46.chunk.js.map +1 -0
- package/dist/scripts/47-595b4aae87.chunk.js +1 -0
- package/dist/scripts/47.chunk.js +735 -0
- package/dist/scripts/47.chunk.js.map +1 -0
- package/dist/scripts/48-fcf6378889.chunk.js +1 -0
- package/dist/scripts/48.chunk.js +994 -0
- package/dist/scripts/48.chunk.js.map +1 -0
- package/dist/scripts/49-d8a4899eb1.chunk.js +1 -0
- package/dist/scripts/49.chunk.js +759 -0
- package/dist/scripts/49.chunk.js.map +1 -0
- package/dist/scripts/{5-31fd5b5c13.chunk.js → 5-06bc197b1e.chunk.js} +1 -1
- package/dist/scripts/5.chunk.js +15 -0
- package/dist/scripts/5.chunk.js.map +1 -0
- package/dist/scripts/50-11b1a49916.chunk.js +1 -0
- package/dist/scripts/50.chunk.js +528 -0
- package/dist/scripts/50.chunk.js.map +1 -0
- package/dist/scripts/51-72a75e0265.chunk.js +1 -0
- package/dist/scripts/51.chunk.js +932 -0
- package/dist/scripts/51.chunk.js.map +1 -0
- package/dist/scripts/52-195f73bcd6.chunk.js +1 -0
- package/dist/scripts/52.chunk.js +408 -0
- package/dist/scripts/52.chunk.js.map +1 -0
- package/dist/scripts/53-bb4f37ee25.chunk.js +1 -0
- package/dist/scripts/53.chunk.js +754 -0
- package/dist/scripts/53.chunk.js.map +1 -0
- package/dist/scripts/54-7a201d8285.chunk.js +1 -0
- package/dist/scripts/54.chunk.js +681 -0
- package/dist/scripts/54.chunk.js.map +1 -0
- package/dist/scripts/55-be3d7b8805.chunk.js +1 -0
- package/dist/scripts/55.chunk.js +645 -0
- package/dist/scripts/55.chunk.js.map +1 -0
- package/dist/scripts/56-6aeece1bf1.chunk.js +1 -0
- package/dist/scripts/56.chunk.js +346 -0
- package/dist/scripts/56.chunk.js.map +1 -0
- package/dist/scripts/57-59ee15161b.chunk.js +1 -0
- package/dist/scripts/57.chunk.js +422 -0
- package/dist/scripts/57.chunk.js.map +1 -0
- package/dist/scripts/58-8ff58b194a.chunk.js +1 -0
- package/dist/scripts/58.chunk.js +437 -0
- package/dist/scripts/58.chunk.js.map +1 -0
- package/dist/scripts/59-3d33954fcb.chunk.js +1 -0
- package/dist/scripts/59.chunk.js +342 -0
- package/dist/scripts/59.chunk.js.map +1 -0
- package/dist/scripts/6-a469872b10.chunk.js +1 -0
- package/dist/scripts/6.chunk.js +484 -0
- package/dist/scripts/6.chunk.js.map +1 -0
- package/dist/scripts/60-f092baa91c.chunk.js +1 -0
- package/dist/scripts/60.chunk.js +254 -0
- package/dist/scripts/60.chunk.js.map +1 -0
- package/dist/scripts/61-bd9ef62ccd.chunk.js +1 -0
- package/dist/scripts/61.chunk.js +409 -0
- package/dist/scripts/61.chunk.js.map +1 -0
- package/dist/scripts/62-f15b3bf74c.chunk.js +1 -0
- package/dist/scripts/62.chunk.js +142 -0
- package/dist/scripts/62.chunk.js.map +1 -0
- package/dist/scripts/63-92757f75e7.chunk.js +1 -0
- package/dist/scripts/63.chunk.js +147 -0
- package/dist/scripts/63.chunk.js.map +1 -0
- package/dist/scripts/64-c5a1c55521.chunk.js +1 -0
- package/dist/scripts/64.chunk.js +439 -0
- package/dist/scripts/64.chunk.js.map +1 -0
- package/dist/scripts/{64-2f0dd2389f.chunk.js → 65-6bb10ae23b.chunk.js} +1 -1
- package/dist/scripts/65.chunk.js +582 -0
- package/dist/scripts/65.chunk.js.map +1 -0
- package/dist/scripts/66-f047027f7d.chunk.js +1 -0
- package/dist/scripts/66.chunk.js +442 -0
- package/dist/scripts/66.chunk.js.map +1 -0
- package/dist/scripts/67-2e1a011200.chunk.js +1 -0
- package/dist/scripts/67.chunk.js +295 -0
- package/dist/scripts/67.chunk.js.map +1 -0
- package/dist/scripts/68-d5c0ab3fc1.chunk.js +1 -0
- package/dist/scripts/68.chunk.js +165 -0
- package/dist/scripts/68.chunk.js.map +1 -0
- package/dist/scripts/69-fc8325afc9.chunk.js +1 -0
- package/dist/scripts/69.chunk.js +248 -0
- package/dist/scripts/69.chunk.js.map +1 -0
- package/dist/scripts/7-58dd909fa3.chunk.js +1 -0
- package/dist/scripts/7.chunk.js +309 -0
- package/dist/scripts/7.chunk.js.map +1 -0
- package/dist/scripts/70-ceda95013e.chunk.js +1 -0
- package/dist/scripts/70.chunk.js +207 -0
- package/dist/scripts/70.chunk.js.map +1 -0
- package/dist/scripts/71-6e8fc95beb.chunk.js +1 -0
- package/dist/scripts/71.chunk.js +237 -0
- package/dist/scripts/71.chunk.js.map +1 -0
- package/dist/scripts/72-53fe3338bf.chunk.js +1 -0
- package/dist/scripts/72.chunk.js +331 -0
- package/dist/scripts/72.chunk.js.map +1 -0
- package/dist/scripts/73.chunk.js +404 -0
- package/dist/scripts/73.chunk.js.map +1 -0
- package/dist/scripts/74.chunk.js +301 -0
- package/dist/scripts/74.chunk.js.map +1 -0
- package/dist/scripts/75.chunk.js +231 -0
- package/dist/scripts/75.chunk.js.map +1 -0
- package/dist/scripts/76.chunk.js +157 -0
- package/dist/scripts/76.chunk.js.map +1 -0
- package/dist/scripts/77.chunk.js +307 -0
- package/dist/scripts/77.chunk.js.map +1 -0
- package/dist/scripts/78.chunk.js +249 -0
- package/dist/scripts/78.chunk.js.map +1 -0
- package/dist/scripts/79.chunk.js +282 -0
- package/dist/scripts/79.chunk.js.map +1 -0
- package/dist/scripts/8-6974afed28.chunk.js +1 -0
- package/dist/scripts/8.chunk.js +307 -0
- package/dist/scripts/8.chunk.js.map +1 -0
- package/dist/scripts/80.chunk.js +308 -0
- package/dist/scripts/80.chunk.js.map +1 -0
- package/dist/scripts/81.chunk.js +366 -0
- package/dist/scripts/81.chunk.js.map +1 -0
- package/dist/scripts/82.chunk.js +314 -0
- package/dist/scripts/82.chunk.js.map +1 -0
- package/dist/scripts/83.chunk.js +328 -0
- package/dist/scripts/83.chunk.js.map +1 -0
- package/dist/scripts/84.chunk.js +313 -0
- package/dist/scripts/84.chunk.js.map +1 -0
- package/dist/scripts/85.chunk.js +291 -0
- package/dist/scripts/85.chunk.js.map +1 -0
- package/dist/scripts/86.chunk.js +119 -0
- package/dist/scripts/86.chunk.js.map +1 -0
- package/dist/scripts/87.chunk.js +219 -0
- package/dist/scripts/87.chunk.js.map +1 -0
- package/dist/scripts/88.chunk.js +194 -0
- package/dist/scripts/88.chunk.js.map +1 -0
- package/dist/scripts/89.chunk.js +522 -0
- package/dist/scripts/89.chunk.js.map +1 -0
- package/dist/scripts/{9-8e055aeb59.chunk.js → 9-9279038caa.chunk.js} +1 -1
- package/dist/scripts/9.chunk.js +222 -0
- package/dist/scripts/9.chunk.js.map +1 -0
- package/dist/scripts/90.chunk.js +337 -0
- package/dist/scripts/90.chunk.js.map +1 -0
- package/dist/scripts/91.chunk.js +131 -0
- package/dist/scripts/91.chunk.js.map +1 -0
- package/dist/scripts/92.chunk.js +266 -0
- package/dist/scripts/92.chunk.js.map +1 -0
- package/dist/scripts/bundle-06dc1f4908.min.js +8 -0
- package/dist/scripts/bundle.js +66631 -0
- package/dist/scripts/bundle.js.map +1 -0
- package/dist/scripts/bundles.json +2 -1
- package/dist/scripts/polyfills-efb4d7caa3.min.js +1 -0
- package/dist/scripts/polyfills.js +14866 -0
- package/dist/scripts/polyfills.js.map +1 -0
- package/package.json +4 -4
- package/dist/css/19.chunk.css +0 -34
- package/dist/css/53.chunk.css +0 -2
- package/dist/libs/shared/src/interfaces/models/VideoWithRestrictions.d.ts +0 -5
- package/dist/scripts/0-239b1b4c4f.chunk.js +0 -1
- package/dist/scripts/10-7495996e1b.chunk.js +0 -1
- package/dist/scripts/12-c614c326e8.chunk.js +0 -1
- package/dist/scripts/13-c59b7a1080.chunk.js +0 -1
- package/dist/scripts/14-11b2ecd293.chunk.js +0 -1
- package/dist/scripts/16-671e43ff10.chunk.js +0 -1
- package/dist/scripts/17-91db50901e.chunk.js +0 -1
- package/dist/scripts/19-9c1bab42e0.chunk.js +0 -1
- package/dist/scripts/20-16dc42eda6.chunk.js +0 -1
- package/dist/scripts/21-83635f45bd.chunk.js +0 -1
- package/dist/scripts/22-d1631d6f68.chunk.js +0 -1
- package/dist/scripts/23-ee9435b786.chunk.js +0 -1
- package/dist/scripts/24-9fe9688c10.chunk.js +0 -1
- package/dist/scripts/25-3fe9899044.chunk.js +0 -1
- package/dist/scripts/26-9a55e7c4c6.chunk.js +0 -1
- package/dist/scripts/27-62a6a557d0.chunk.js +0 -1
- package/dist/scripts/28-44c3f79737.chunk.js +0 -1
- package/dist/scripts/29-a9859b26ac.chunk.js +0 -1
- package/dist/scripts/30-e3a45015ad.chunk.js +0 -1
- package/dist/scripts/31-81d688b2d0.chunk.js +0 -1
- package/dist/scripts/32-6856552e24.chunk.js +0 -1
- package/dist/scripts/36-6a0bc972bb.chunk.js +0 -1
- package/dist/scripts/37-e50a9b9593.chunk.js +0 -1
- package/dist/scripts/38-1b320ac069.chunk.js +0 -1
- package/dist/scripts/39-dd59ad46c4.chunk.js +0 -1
- package/dist/scripts/4-93604b7a67.chunk.js +0 -1
- package/dist/scripts/41-de00f2381c.chunk.js +0 -1
- package/dist/scripts/45-a737a50524.chunk.js +0 -1
- package/dist/scripts/46-1daa477ba1.chunk.js +0 -1
- package/dist/scripts/47-b6f2874a9b.chunk.js +0 -1
- package/dist/scripts/48-1f5b41db07.chunk.js +0 -1
- package/dist/scripts/49-d94156f6d5.chunk.js +0 -1
- package/dist/scripts/50-0b91864cf6.chunk.js +0 -1
- package/dist/scripts/51-b469206180.chunk.js +0 -1
- package/dist/scripts/52-ed0e96f469.chunk.js +0 -1
- package/dist/scripts/53-f9b9090787.chunk.js +0 -1
- package/dist/scripts/54-3b1f6ff5fb.chunk.js +0 -1
- package/dist/scripts/55-00cdc60d5f.chunk.js +0 -1
- package/dist/scripts/56-926bcd1442.chunk.js +0 -1
- package/dist/scripts/57-cd9da1e70e.chunk.js +0 -1
- package/dist/scripts/58-7983444a26.chunk.js +0 -1
- package/dist/scripts/59-659211dccc.chunk.js +0 -1
- package/dist/scripts/6-e13c1f1b07.chunk.js +0 -1
- package/dist/scripts/60-486f90f64b.chunk.js +0 -1
- package/dist/scripts/61-2608315d61.chunk.js +0 -1
- package/dist/scripts/62-3bbb85072e.chunk.js +0 -1
- package/dist/scripts/63-fdaa23d553.chunk.js +0 -1
- package/dist/scripts/65-9db56b2dcb.chunk.js +0 -1
- package/dist/scripts/66-f9036265fa.chunk.js +0 -1
- package/dist/scripts/67-2518858e70.chunk.js +0 -1
- package/dist/scripts/68-5c6e608ca7.chunk.js +0 -1
- package/dist/scripts/69-521dbc644d.chunk.js +0 -1
- package/dist/scripts/7-888cdbea89.chunk.js +0 -1
- package/dist/scripts/70-f57eb7cd7c.chunk.js +0 -1
- package/dist/scripts/71-f9d6b5174f.chunk.js +0 -1
- package/dist/scripts/8-23bc582e02.chunk.js +0 -1
- package/dist/scripts/bundle-d3fae9effe.min.js +0 -1
|
@@ -0,0 +1,342 @@
|
|
|
1
|
+
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[59],{
|
|
2
|
+
|
|
3
|
+
/***/ "./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs":
|
|
4
|
+
/*!********************************************************************!*\
|
|
5
|
+
!*** ./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs ***!
|
|
6
|
+
\********************************************************************/
|
|
7
|
+
/*! no static exports found */
|
|
8
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
9
|
+
|
|
10
|
+
var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
|
|
11
|
+
module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
|
|
12
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
13
|
+
|
|
14
|
+
return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : "")
|
|
15
|
+
+ "\r\n";
|
|
16
|
+
},"3":function(container,depth0,helpers,partials,data) {
|
|
17
|
+
var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;
|
|
18
|
+
|
|
19
|
+
return "<div class=\"pb-3 text-center\">\r\n <img src=\""
|
|
20
|
+
+ alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))
|
|
21
|
+
+ "\" class=\""
|
|
22
|
+
+ alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))
|
|
23
|
+
+ "\" />\r\n</div>\r\n<p class=\"m-0\">"
|
|
24
|
+
+ ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),"info",{"name":"lang","hash":{"email":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.email : stack1),"name":(depth0 != null ? depth0.name : depth0)},"data":data})) != null ? stack1 : "")
|
|
25
|
+
+ "</p>\r\n";
|
|
26
|
+
},"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
|
|
27
|
+
var stack1, alias1=container.propertyIsEnumerable;
|
|
28
|
+
|
|
29
|
+
return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{"name":"unless","hash":{},"fn":container.program(1, data, 0),"inverse":container.program(3, data, 0),"data":data})) != null ? stack1 : "");
|
|
30
|
+
},"useData":true});
|
|
31
|
+
|
|
32
|
+
/***/ }),
|
|
33
|
+
|
|
34
|
+
/***/ "./src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts":
|
|
35
|
+
/*!***********************************************************************!*\
|
|
36
|
+
!*** ./src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts ***!
|
|
37
|
+
\***********************************************************************/
|
|
38
|
+
/*! exports provided: GeneratePdfView */
|
|
39
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
40
|
+
|
|
41
|
+
"use strict";
|
|
42
|
+
__webpack_require__.r(__webpack_exports__);
|
|
43
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "GeneratePdfView", function() { return GeneratePdfView; });
|
|
44
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! backbone */ "backbone");
|
|
45
|
+
/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);
|
|
46
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
47
|
+
/* harmony import */ var _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/InstanceManager */ "../../libs/common/src/backbone/services/InstanceManager.ts");
|
|
48
|
+
/* harmony import */ var _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../libs/common/src/backbone/services/LanguageService */ "../../libs/common/src/backbone/services/LanguageService.tsx");
|
|
49
|
+
/* harmony import */ var _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/interfaces */ "../../libs/analytics/src/interfaces/index.ts");
|
|
50
|
+
/* harmony import */ var _libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../../../../../../../libs/analytics/src/AnalyticsHelper */ "../../libs/analytics/src/AnalyticsHelper.ts");
|
|
51
|
+
/* harmony import */ var _libs_shared_src_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! ../../../../../../../libs/shared/src/legacy/enums/SortType */ "../../libs/shared/src/legacy/enums/SortType.ts");
|
|
52
|
+
/* harmony import */ var _shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! ../../../../shared/behaviors */ "./src/shared/behaviors/index.ts");
|
|
53
|
+
/* harmony import */ var _shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(/*! ../../../../shared/components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
54
|
+
/* harmony import */ var _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(/*! ../../../../shared/models/DisabledSpinnerModel */ "./src/shared/models/DisabledSpinnerModel.ts");
|
|
55
|
+
/* harmony import */ var _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(/*! ../../../../shared/services/UserDataService */ "./src/shared/services/UserDataService.ts");
|
|
56
|
+
/* harmony import */ var _shared_constants__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(/*! ../../../../shared/constants */ "./src/shared/constants/index.ts");
|
|
57
|
+
/* harmony import */ var _shared_utils__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(/*! ../../../../shared/utils */ "./src/shared/utils/index.ts");
|
|
58
|
+
/* harmony import */ var _errors__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(/*! ../../errors */ "./src/apps/library-editor/errors/index.ts");
|
|
59
|
+
/* harmony import */ var _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(/*! ./GeneratePdf.hbs */ "./src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs");
|
|
60
|
+
/* harmony import */ var _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14__);
|
|
61
|
+
/* harmony import */ var _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(/*! ./generate-pdf.scss */ "./src/apps/library-editor/views/generate-pdf/generate-pdf.scss");
|
|
62
|
+
/* harmony import */ var _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15__);
|
|
63
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
64
|
+
|
|
65
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
66
|
+
|
|
67
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
68
|
+
|
|
69
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
70
|
+
|
|
71
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
72
|
+
|
|
73
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
74
|
+
|
|
75
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
76
|
+
|
|
77
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
78
|
+
|
|
79
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
80
|
+
|
|
81
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
82
|
+
|
|
83
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
var GeneratePdfView = /*#__PURE__*/function (_Core$View) {
|
|
102
|
+
_inherits(GeneratePdfView, _Core$View);
|
|
103
|
+
|
|
104
|
+
var _super = _createSuper(GeneratePdfView);
|
|
105
|
+
|
|
106
|
+
function GeneratePdfView(options) {
|
|
107
|
+
_classCallCheck(this, GeneratePdfView);
|
|
108
|
+
|
|
109
|
+
return _super.call(this, options);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
_createClass(GeneratePdfView, [{
|
|
113
|
+
key: "initialize",
|
|
114
|
+
value: function initialize() {
|
|
115
|
+
this.collectionIdentifier = this.options.collectionIdentifier;
|
|
116
|
+
this.libraryDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataServices"].Library, this);
|
|
117
|
+
this.videoDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataServices"].Video, this);
|
|
118
|
+
this.exportDataService = _libs_common_src_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__["InstanceManager"].getInstance(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataServices"].Export, this);
|
|
119
|
+
this.bindListeners();
|
|
120
|
+
}
|
|
121
|
+
}, {
|
|
122
|
+
key: "bindListeners",
|
|
123
|
+
value: function bindListeners() {
|
|
124
|
+
var _this = this;
|
|
125
|
+
|
|
126
|
+
this.listenTo(this.channelName, 'generate:pdf', this.onClickGeneratePdf);
|
|
127
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataChannels"].LIBRARY, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataPrefixes"].FOLDER, ":").concat(this.collectionIdentifier.id, ":sync"), this.render);
|
|
128
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataChannels"].VIDEO, "".concat(this.collectionIdentifier.toString(), ":sync"), this.render);
|
|
129
|
+
this.listenTo(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataChannels"].EXPORT, "".concat(_shared_constants__WEBPACK_IMPORTED_MODULE_11__["DataPrefixes"].GENERATE_COLLECTION_PDF, ":").concat(this.collectionIdentifier.id, ":sync"), function () {
|
|
130
|
+
return _this.triggerMethod('hide');
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
}, {
|
|
134
|
+
key: "onClickGeneratePdf",
|
|
135
|
+
value: function onClickGeneratePdf() {
|
|
136
|
+
if (!this.hasDataFetched()) return;
|
|
137
|
+
backbone__WEBPACK_IMPORTED_MODULE_0__["Radio"].channel(this.channelName).trigger(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__["SpinnerButtonEvents"].ShowSpinner);
|
|
138
|
+
this.exportDataService.generateCollectionPdf(this.library.id, this.collectionIdentifier.id, this.currentUser, this.collectionIdentifier.sort);
|
|
139
|
+
this.logAction(this.collectionIdentifier.id, this.collectionIdentifier.sort);
|
|
140
|
+
}
|
|
141
|
+
}, {
|
|
142
|
+
key: "fetchData",
|
|
143
|
+
value: function fetchData() {
|
|
144
|
+
var _this2 = this;
|
|
145
|
+
|
|
146
|
+
this.videos = this.videoDataService.getCollectionVideos(this.collectionIdentifier);
|
|
147
|
+
this.model = this.libraryDataService.getFolder(this.collectionIdentifier.id);
|
|
148
|
+
if (this.library) return;
|
|
149
|
+
this.libraryDataService.getLibraries(function (data) {
|
|
150
|
+
_this2.library = _shared_utils__WEBPACK_IMPORTED_MODULE_12__["FolderTreeHelpers"].getLibrary(_this2.collectionIdentifier.id, data);
|
|
151
|
+
|
|
152
|
+
_this2.render();
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
}, {
|
|
156
|
+
key: "logAction",
|
|
157
|
+
value: function logAction(collectionId, sortType) {
|
|
158
|
+
var analyticsOptions = {
|
|
159
|
+
location: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["LocationContext"].Popup,
|
|
160
|
+
actionType: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["UserAction"].Create,
|
|
161
|
+
entity: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["EntityType"].PDF,
|
|
162
|
+
workflowPhase: _libs_analytics_src_interfaces__WEBPACK_IMPORTED_MODULE_4__["WorkflowPhase"].Complete
|
|
163
|
+
};
|
|
164
|
+
var data = {
|
|
165
|
+
id: collectionId,
|
|
166
|
+
sort: _libs_shared_src_legacy_enums_SortType__WEBPACK_IMPORTED_MODULE_6__["SortType"][sortType]
|
|
167
|
+
};
|
|
168
|
+
_libs_analytics_src_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_5__["AnalyticsHelper"].logUserAction(data, analyticsOptions);
|
|
169
|
+
}
|
|
170
|
+
}, {
|
|
171
|
+
key: "hasDataFetched",
|
|
172
|
+
value: function hasDataFetched() {
|
|
173
|
+
return !!this.model && !!this.videos && !!this.library;
|
|
174
|
+
}
|
|
175
|
+
}, {
|
|
176
|
+
key: "onBeforeRender",
|
|
177
|
+
value: function onBeforeRender() {
|
|
178
|
+
var _this3 = this;
|
|
179
|
+
|
|
180
|
+
this.fetchData();
|
|
181
|
+
if (!this.hasDataFetched()) return false;
|
|
182
|
+
|
|
183
|
+
if (this.videos && !this.videos.length) {
|
|
184
|
+
window.setTimeout(function () {
|
|
185
|
+
_this3.triggerMethod('hide');
|
|
186
|
+
|
|
187
|
+
_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].ErrorHelper.throw(new _errors__WEBPACK_IMPORTED_MODULE_13__["FolderEmptyError"](_libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(_this3.lang, 'errorHeading')));
|
|
188
|
+
}, _shared_constants__WEBPACK_IMPORTED_MODULE_11__["MiscConstants"].POPUP_FADE_TIMEOUT);
|
|
189
|
+
return false;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
if (this.hasDataFetched()) this.spinnerModel.set(_shared_components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_8__["SpinnerButtonModelAttributes"].Disabled, false);
|
|
193
|
+
return true;
|
|
194
|
+
}
|
|
195
|
+
}, {
|
|
196
|
+
key: "viewOptions",
|
|
197
|
+
value: function viewOptions() {
|
|
198
|
+
return {
|
|
199
|
+
dataFetched: this.hasDataFetched(),
|
|
200
|
+
spinnerEl: _shared_utils__WEBPACK_IMPORTED_MODULE_12__["SpinnerHelper"].getSpinner({
|
|
201
|
+
size: _shared_utils__WEBPACK_IMPORTED_MODULE_12__["SpinnerSize"].Large,
|
|
202
|
+
extraClasses: 'mx-auto'
|
|
203
|
+
}),
|
|
204
|
+
email: this.currentUser.get('email'),
|
|
205
|
+
imageUrl: _shared_constants__WEBPACK_IMPORTED_MODULE_11__["ImageUrls"].Shared.GeneratePdf,
|
|
206
|
+
styles: _generate_pdf_scss__WEBPACK_IMPORTED_MODULE_15___default.a
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
}, {
|
|
210
|
+
key: "name",
|
|
211
|
+
get: function get() {
|
|
212
|
+
return 'GeneratePdfView';
|
|
213
|
+
}
|
|
214
|
+
}, {
|
|
215
|
+
key: "title",
|
|
216
|
+
get: function get() {
|
|
217
|
+
return _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'title');
|
|
218
|
+
}
|
|
219
|
+
}, {
|
|
220
|
+
key: "lang",
|
|
221
|
+
get: function get() {
|
|
222
|
+
return 'libraryEditor.generatePdf';
|
|
223
|
+
}
|
|
224
|
+
}, {
|
|
225
|
+
key: "template",
|
|
226
|
+
get: function get() {
|
|
227
|
+
return _GeneratePdf_hbs__WEBPACK_IMPORTED_MODULE_14___default.a;
|
|
228
|
+
}
|
|
229
|
+
}, {
|
|
230
|
+
key: "channelName",
|
|
231
|
+
get: function get() {
|
|
232
|
+
return _shared_utils__WEBPACK_IMPORTED_MODULE_12__["RadioChannelHelper"].generateUniqueChannelName(this);
|
|
233
|
+
}
|
|
234
|
+
}, {
|
|
235
|
+
key: "behaviors",
|
|
236
|
+
get: function get() {
|
|
237
|
+
return [{
|
|
238
|
+
behaviorClass: _shared_behaviors__WEBPACK_IMPORTED_MODULE_7__["PopupBehavior"],
|
|
239
|
+
title: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'heading'),
|
|
240
|
+
spinnerButtonOptions: {
|
|
241
|
+
model: this.spinnerModel = new _shared_models_DisabledSpinnerModel__WEBPACK_IMPORTED_MODULE_9__["DisabledSpinnerModel"](),
|
|
242
|
+
saveEvent: 'generate:pdf',
|
|
243
|
+
channelName: this.channelName,
|
|
244
|
+
buttonText: _libs_common_src_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_3__["LanguageService"].getPhrase(this.lang, 'generate'),
|
|
245
|
+
extraButtonClass: 'btn-primary',
|
|
246
|
+
spinnerOptions: {
|
|
247
|
+
size: _shared_utils__WEBPACK_IMPORTED_MODULE_12__["SpinnerSize"].Small,
|
|
248
|
+
type: _shared_utils__WEBPACK_IMPORTED_MODULE_12__["SpinnerType"].Light,
|
|
249
|
+
extraClasses: 'mx-auto'
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
}];
|
|
253
|
+
}
|
|
254
|
+
}, {
|
|
255
|
+
key: "requiredResources",
|
|
256
|
+
get: function get() {
|
|
257
|
+
return {
|
|
258
|
+
currentUser: _shared_services_UserDataService__WEBPACK_IMPORTED_MODULE_10__["UserDataServiceHelper"].currentUser
|
|
259
|
+
};
|
|
260
|
+
}
|
|
261
|
+
}]);
|
|
262
|
+
|
|
263
|
+
return GeneratePdfView;
|
|
264
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].View);
|
|
265
|
+
|
|
266
|
+
/***/ }),
|
|
267
|
+
|
|
268
|
+
/***/ "./src/apps/library-editor/views/generate-pdf/generate-pdf.scss":
|
|
269
|
+
/*!**********************************************************************!*\
|
|
270
|
+
!*** ./src/apps/library-editor/views/generate-pdf/generate-pdf.scss ***!
|
|
271
|
+
\**********************************************************************/
|
|
272
|
+
/*! no static exports found */
|
|
273
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
274
|
+
|
|
275
|
+
// extracted by mini-css-extract-plugin
|
|
276
|
+
module.exports = {"image":"cv--image--J9jn_"};
|
|
277
|
+
|
|
278
|
+
/***/ }),
|
|
279
|
+
|
|
280
|
+
/***/ "./src/shared/models/DisabledSpinnerModel.ts":
|
|
281
|
+
/*!***************************************************!*\
|
|
282
|
+
!*** ./src/shared/models/DisabledSpinnerModel.ts ***!
|
|
283
|
+
\***************************************************/
|
|
284
|
+
/*! exports provided: DisabledSpinnerModel */
|
|
285
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
286
|
+
|
|
287
|
+
"use strict";
|
|
288
|
+
__webpack_require__.r(__webpack_exports__);
|
|
289
|
+
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DisabledSpinnerModel", function() { return DisabledSpinnerModel; });
|
|
290
|
+
/* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
|
|
291
|
+
/* harmony import */ var _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../components/spinner-button/SpinnerButtonComponent */ "./src/shared/components/spinner-button/SpinnerButtonComponent.ts");
|
|
292
|
+
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
|
|
293
|
+
|
|
294
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
295
|
+
|
|
296
|
+
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
297
|
+
|
|
298
|
+
function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
|
|
299
|
+
|
|
300
|
+
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
|
301
|
+
|
|
302
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
303
|
+
|
|
304
|
+
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
305
|
+
|
|
306
|
+
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
307
|
+
|
|
308
|
+
function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
|
|
309
|
+
|
|
310
|
+
function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
|
|
311
|
+
|
|
312
|
+
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
|
|
313
|
+
|
|
314
|
+
function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
var DisabledSpinnerModel = /*#__PURE__*/function (_Core$Model) {
|
|
319
|
+
_inherits(DisabledSpinnerModel, _Core$Model);
|
|
320
|
+
|
|
321
|
+
var _super = _createSuper(DisabledSpinnerModel);
|
|
322
|
+
|
|
323
|
+
function DisabledSpinnerModel() {
|
|
324
|
+
_classCallCheck(this, DisabledSpinnerModel);
|
|
325
|
+
|
|
326
|
+
return _super.apply(this, arguments);
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
_createClass(DisabledSpinnerModel, [{
|
|
330
|
+
key: "defaults",
|
|
331
|
+
value: function defaults() {
|
|
332
|
+
return _defineProperty({}, _components_spinner_button_SpinnerButtonComponent__WEBPACK_IMPORTED_MODULE_1__["SpinnerButtonModelAttributes"].Disabled, true);
|
|
333
|
+
}
|
|
334
|
+
}]);
|
|
335
|
+
|
|
336
|
+
return DisabledSpinnerModel;
|
|
337
|
+
}(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Model);
|
|
338
|
+
|
|
339
|
+
/***/ })
|
|
340
|
+
|
|
341
|
+
}]);
|
|
342
|
+
//# sourceMappingURL=59.chunk.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/generate-pdf/GeneratePdf.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/library-editor/views/generate-pdf/GeneratePdfView.ts","webpack://@clickview/library-editor/./src/apps/library-editor/views/generate-pdf/generate-pdf.scss?045d","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/models/DisabledSpinnerModel.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA;AACA;AACA,mJAAmJ,UAAU,sBAAsB,+IAA+I,aAAa;AAC/U;AACA,CAAC;AACD;;AAEA,8FAA8F,iGAAiG,yBAAyB,wFAAwF;AAChT,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnBjB;AAGA;AACA;AACA;AACA;AACA;AACA;AAEA;AACA;AACA;AAIA;AACA;AAIA;AAKA;AAEA;AACA;AAMO,IAAM,eAAb;AAAA;;AAAA;;AAaE,2BAAmB,OAAnB,EAAkD;AAAA;;AAAA,6BAC1C,OAD0C;AAEjD;;AAfH;AAAA;AAAA,iCAiBmB;AACf,WAAK,oBAAL,GAA4B,KAAK,OAAL,CAAa,oBAAzC;AAEA,WAAK,kBAAL,GAA0B,kGAAe,CAAC,WAAhB,CAA4B,+DAAY,CAAC,OAAzC,EAAkD,IAAlD,CAA1B;AACA,WAAK,gBAAL,GAAwB,kGAAe,CAAC,WAAhB,CAA4B,+DAAY,CAAC,KAAzC,EAAgD,IAAhD,CAAxB;AACA,WAAK,iBAAL,GAAyB,kGAAe,CAAC,WAAhB,CAA4B,+DAAY,CAAC,MAAzC,EAAiD,IAAjD,CAAzB;AAEA,WAAK,aAAL;AACD;AAzBH;AAAA;AAAA,oCAqEuB;AAAA;;AACnB,WAAK,QAAL,CAAc,KAAK,WAAnB,EAAgC,cAAhC,EAAgD,KAAK,kBAArD;AAEA,WAAK,QAAL,CAAc,+DAAY,CAAC,OAA3B,YAAuC,+DAAY,CAAC,MAApD,cAA8D,KAAK,oBAAL,CAA0B,EAAxF,YAAmG,KAAK,MAAxG;AAEA,WAAK,QAAL,CAAc,+DAAY,CAAC,KAA3B,YAAqC,KAAK,oBAAL,CAA0B,QAA1B,EAArC,YAAkF,KAAK,MAAvF;AAEA,WAAK,QAAL,CAAc,+DAAY,CAAC,MAA3B,YAAsC,+DAAY,CAAC,uBAAnD,cAA8E,KAAK,oBAAL,CAA0B,EAAxG,YAAmH;AAAA,eAAM,KAAI,CAAC,aAAL,CAAmB,MAAnB,CAAN;AAAA,OAAnH;AACD;AA7EH;AAAA;AAAA,yCA+E4B;AACxB,UAAI,CAAC,KAAK,cAAL,EAAL,EAA4B;AAE5B,oDAAK,CAAC,OAAN,CAAc,KAAK,WAAnB,EAAgC,OAAhC,CAAwC,4GAAmB,CAAC,WAA5D;AAEA,WAAK,iBAAL,CAAuB,qBAAvB,CACE,KAAK,OAAL,CAAa,EADf,EAEE,KAAK,oBAAL,CAA0B,EAF5B,EAGE,KAAK,WAHP,EAIE,KAAK,oBAAL,CAA0B,IAJ5B;AAOA,WAAK,SAAL,CAAe,KAAK,oBAAL,CAA0B,EAAzC,EAA6C,KAAK,oBAAL,CAA0B,IAAvE;AACD;AA5FH;AAAA;AAAA,gCA8FmB;AAAA;;AACf,WAAK,MAAL,GAAc,KAAK,gBAAL,CAAsB,mBAAtB,CAA0C,KAAK,oBAA/C,CAAd;AACA,WAAK,KAAL,GAAa,KAAK,kBAAL,CAAwB,SAAxB,CAAkC,KAAK,oBAAL,CAA0B,EAA5D,CAAb;AAEA,UAAI,KAAK,OAAT,EAAkB;AAElB,WAAK,kBAAL,CAAwB,YAAxB,CAAqC,UAAC,IAAD,EAA4B;AAC/D,cAAI,CAAC,OAAL,GAAe,gEAAiB,CAAC,UAAlB,CAA6B,MAAI,CAAC,oBAAL,CAA0B,EAAvD,EAA2D,IAA3D,CAAf;;AACA,cAAI,CAAC,MAAL;AACD,OAHD;AAID;AAxGH;AAAA;AAAA,8BA0GoB,YA1GpB,EA0G0C,QA1G1C,EA0G4D;AACxD,UAAM,gBAAgB,GAAG;AACvB,gBAAQ,EAAE,8EAAe,CAAC,KADH;AAEvB,kBAAU,EAAE,yEAAU,CAAC,MAFA;AAGvB,cAAM,EAAE,yEAAU,CAAC,GAHI;AAIvB,qBAAa,EAAE,4EAAa,CAAC;AAJN,OAAzB;AAOA,UAAM,IAAI,GAAG;AACX,UAAE,EAAE,YADO;AAEX,YAAI,EAAE,+EAAQ,CAAC,QAAD;AAFH,OAAb;AAKA,yFAAe,CAAC,aAAhB,CAA8B,IAA9B,EAAoC,gBAApC;AACD;AAxHH;AAAA;AAAA,qCA0HwB;AACpB,aAAO,CAAC,CAAC,KAAK,KAAP,IAAgB,CAAC,CAAC,KAAK,MAAvB,IAAiC,CAAC,CAAC,KAAK,OAA/C;AACD;AA5HH;AAAA;AAAA,qCAoIuB;AAAA;;AACnB,WAAK,SAAL;AAEA,UAAI,CAAC,KAAK,cAAL,EAAL,EACE,OAAO,KAAP;;AAEF,UAAI,KAAK,MAAL,IAAe,CAAC,KAAK,MAAL,CAAY,MAAhC,EAAwC;AACtC,cAAM,CAAC,UAAP,CAAkB,YAAK;AACrB,gBAAI,CAAC,aAAL,CAAmB,MAAnB;;AACA,wEAAI,CAAC,WAAL,CAAiB,KAAjB,CAAuB,IAAI,yDAAJ,CAAqB,kGAAe,CAAC,SAAhB,CAA0B,MAAI,CAAC,IAA/B,EAAqC,cAArC,CAArB,CAAvB;AACD,SAHD,EAGG,gEAAa,CAAC,kBAHjB;AAIA,eAAO,KAAP;AACD;;AAED,UAAI,KAAK,cAAL,EAAJ,EACE,KAAK,YAAL,CAAkB,GAAlB,CAAsB,qHAA4B,CAAC,QAAnD,EAA6D,KAA7D;AAEF,aAAO,IAAP;AACD;AAtJH;AAAA;AAAA,kCAwJoB;AAChB,aAAO;AACL,mBAAW,EAAE,KAAK,cAAL,EADR;AAEL,iBAAS,EAAE,4DAAa,CAAC,UAAd,CAAyB;AAAE,cAAI,EAAE,0DAAW,CAAC,KAApB;AAA2B,sBAAY,EAAE;AAAzC,SAAzB,CAFN;AAGL,aAAK,EAAE,KAAK,WAAL,CAAiB,GAAjB,CAAqB,OAArB,CAHF;AAIL,gBAAQ,EAAE,4DAAS,CAAC,MAAV,CAAiB,WAJtB;AAKL,cAAM,EAAN,0DAAM;AALD,OAAP;AAOD;AAhKH;AAAA;AAAA,wBA2BiB;AACb,aAAO,iBAAP;AACD;AA7BH;AAAA;AAAA,wBA+BkB;AACd,aAAO,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,OAArC,CAAP;AACD;AAjCH;AAAA;AAAA,wBAmCiB;AACb,aAAO,2BAAP;AACD;AArCH;AAAA;AAAA,wBAuCqB;AACjB,aAAO,wDAAP;AACD;AAzCH;AAAA;AAAA,wBA2CwB;AACpB,aAAO,iEAAkB,CAAC,yBAAnB,CAA6C,IAA7C,CAAP;AACD;AA7CH;AAAA;AAAA,wBA+CsB;AAClB,aAAO,CACL;AACE,qBAAa,EAAE,+DADjB;AAEE,aAAK,EAAE,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,SAArC,CAFT;AAGE,4BAAoB,EAAE;AACpB,eAAK,EAAE,KAAK,YAAL,GAAoB,IAAI,wFAAJ,EADP;AAEpB,mBAAS,EAAE,cAFS;AAGpB,qBAAW,EAAE,KAAK,WAHE;AAIpB,oBAAU,EAAE,kGAAe,CAAC,SAAhB,CAA0B,KAAK,IAA/B,EAAqC,UAArC,CAJQ;AAKpB,0BAAgB,EAAE,aALE;AAMpB,wBAAc,EAAE;AACd,gBAAI,EAAE,0DAAW,CAAC,KADJ;AAEd,gBAAI,EAAE,0DAAW,CAAC,KAFJ;AAGd,wBAAY,EAAE;AAHA;AANI;AAHxB,OADK,CAAP;AAmBD;AAnEH;AAAA;AAAA,wBA8H8B;AAC1B,aAAO;AACL,mBAAW,EAAE,uFAAqB,CAAC;AAD9B,OAAP;AAGD;AAlIH;;AAAA;AAAA,EAAqC,8DAAI,CAAC,IAA1C,E;;;;;;;;;;;ACpCA;AACA,kBAAkB,4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACAlB;AACA;AAEO,IAAM,oBAAb;AAAA;;AAAA;;AAAA;AAAA;;AAAA;AAAA;;AAAA;AAAA;AAAA,+BACiB;AACb,iCACG,8GAA4B,CAAC,QADhC,EAC2C,IAD3C;AAGD;AALH;;AAAA;AAAA,EAA0C,8DAAI,CAAC,KAA/C,E","file":"scripts/59.chunk.js","sourcesContent":["var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.spinnerEl : stack1), depth0)) != null ? stack1 : \"\")\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"pb-3 text-center\\\">\\r\\n <img src=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.imageUrl : stack1), depth0))\n + \"\\\" class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.image : stack1), depth0))\n + \"\\\" />\\r\\n</div>\\r\\n<p class=\\\"m-0\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"info\",{\"name\":\"lang\",\"hash\":{\"email\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.email : stack1),\"name\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers.unless.call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.dataFetched : stack1),{\"name\":\"unless\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { Radio } from 'backbone';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { LocationContext, UserAction, EntityType, WorkflowPhase } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\nimport { SortType } from 'libs/shared/legacy/enums/SortType';\r\n\r\nimport { PopupBehavior } from 'shared/behaviors';\r\nimport { SpinnerButtonModelAttributes, SpinnerButtonEvents } from 'shared/components/spinner-button/SpinnerButtonComponent';\r\nimport { DisabledSpinnerModel } from 'shared/models/DisabledSpinnerModel';\r\nimport { Folder } from 'shared/models/Folder';\r\nimport { User } from 'shared/models/User';\r\nimport { Library } from 'shared/models/Library';\r\nimport { UserDataServiceHelper } from 'shared/services/UserDataService';\r\nimport { DataServices, DataPrefixes, ImageUrls, DataChannels, MiscConstants } from 'shared/constants';\r\nimport { LibraryCollection } from 'shared/collections/LibraryCollection';\r\nimport { VideoCollection } from 'shared/collections/VideoCollection';\r\nimport { VideoCollectionIdentifier } from 'shared/interfaces';\r\nimport { SpinnerHelper, SpinnerSize, SpinnerType, FolderTreeHelpers, RadioChannelHelper } from 'shared/utils';\r\n\r\nimport { LibraryDataService } from 'apps/library-editor/services/LibraryDataService';\r\nimport { ExportDataService } from 'apps/library-editor/services/ExportDataService';\r\nimport { VideoDataService } from 'apps/library-editor/services/VideoDataService';\r\nimport { FolderEmptyError } from 'apps/library-editor/errors';\r\n\r\nimport GeneratePdfTemplate from './GeneratePdf.hbs';\r\nimport styles from './generate-pdf.scss';\r\n\r\ninterface GeneratePdfViewOptions extends Core.ViewOptions<Folder> {\r\n collectionIdentifier: VideoCollectionIdentifier;\r\n}\r\n\r\nexport class GeneratePdfView extends Core.View<Folder> {\r\n public options: GeneratePdfViewOptions;\r\n\r\n private libraryDataService: LibraryDataService;\r\n private videoDataService: VideoDataService;\r\n private exportDataService: ExportDataService;\r\n\r\n private collectionIdentifier: VideoCollectionIdentifier;\r\n private library: Library;\r\n private videos: VideoCollection;\r\n private currentUser: User;\r\n private spinnerModel: DisabledSpinnerModel;\r\n\r\n public constructor(options: GeneratePdfViewOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.collectionIdentifier = this.options.collectionIdentifier;\r\n\r\n this.libraryDataService = InstanceManager.getInstance(DataServices.Library, this);\r\n this.videoDataService = InstanceManager.getInstance(DataServices.Video, this);\r\n this.exportDataService = InstanceManager.getInstance(DataServices.Export, this);\r\n\r\n this.bindListeners();\r\n }\r\n\r\n public get name(): string {\r\n return 'GeneratePdfView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'libraryEditor.generatePdf';\r\n }\r\n\r\n public get template(): string {\r\n return GeneratePdfTemplate;\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: PopupBehavior,\r\n title: LanguageService.getPhrase(this.lang, 'heading'),\r\n spinnerButtonOptions: {\r\n model: this.spinnerModel = new DisabledSpinnerModel(),\r\n saveEvent: 'generate:pdf',\r\n channelName: this.channelName,\r\n buttonText: LanguageService.getPhrase(this.lang, 'generate'),\r\n extraButtonClass: 'btn-primary',\r\n spinnerOptions: {\r\n size: SpinnerSize.Small,\r\n type: SpinnerType.Light,\r\n extraClasses: 'mx-auto'\r\n }\r\n }\r\n\r\n }\r\n ];\r\n }\r\n\r\n private bindListeners(): void {\r\n this.listenTo(this.channelName, 'generate:pdf', this.onClickGeneratePdf);\r\n\r\n this.listenTo(DataChannels.LIBRARY, `${DataPrefixes.FOLDER}:${this.collectionIdentifier.id}:sync`, this.render);\r\n\r\n this.listenTo(DataChannels.VIDEO, `${this.collectionIdentifier.toString()}:sync`, this.render);\r\n\r\n this.listenTo(DataChannels.EXPORT, `${DataPrefixes.GENERATE_COLLECTION_PDF}:${this.collectionIdentifier.id}:sync`, () => this.triggerMethod('hide'));\r\n }\r\n\r\n private onClickGeneratePdf(): void {\r\n if (!this.hasDataFetched()) return;\r\n\r\n Radio.channel(this.channelName).trigger(SpinnerButtonEvents.ShowSpinner);\r\n\r\n this.exportDataService.generateCollectionPdf(\r\n this.library.id,\r\n this.collectionIdentifier.id,\r\n this.currentUser,\r\n this.collectionIdentifier.sort\r\n );\r\n\r\n this.logAction(this.collectionIdentifier.id, this.collectionIdentifier.sort);\r\n }\r\n\r\n private fetchData(): void {\r\n this.videos = this.videoDataService.getCollectionVideos(this.collectionIdentifier);\r\n this.model = this.libraryDataService.getFolder(this.collectionIdentifier.id);\r\n\r\n if (this.library) return;\r\n\r\n this.libraryDataService.getLibraries((data: LibraryCollection) => {\r\n this.library = FolderTreeHelpers.getLibrary(this.collectionIdentifier.id, data);\r\n this.render();\r\n });\r\n }\r\n\r\n private logAction(collectionId: string, sortType: SortType): void {\r\n const analyticsOptions = {\r\n location: LocationContext.Popup,\r\n actionType: UserAction.Create,\r\n entity: EntityType.PDF,\r\n workflowPhase: WorkflowPhase.Complete\r\n };\r\n\r\n const data = {\r\n id: collectionId,\r\n sort: SortType[sortType]\r\n };\r\n\r\n AnalyticsHelper.logUserAction(data, analyticsOptions);\r\n }\r\n\r\n private hasDataFetched(): boolean {\r\n return !!this.model && !!this.videos && !!this.library;\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n currentUser: UserDataServiceHelper.currentUser\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.fetchData();\r\n\r\n if (!this.hasDataFetched())\r\n return false;\r\n\r\n if (this.videos && !this.videos.length) {\r\n window.setTimeout(() => {\r\n this.triggerMethod('hide');\r\n Core.ErrorHelper.throw(new FolderEmptyError(LanguageService.getPhrase(this.lang, 'errorHeading')));\r\n }, MiscConstants.POPUP_FADE_TIMEOUT);\r\n return false;\r\n }\r\n\r\n if (this.hasDataFetched())\r\n this.spinnerModel.set(SpinnerButtonModelAttributes.Disabled, false);\r\n\r\n return true;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n dataFetched: this.hasDataFetched(),\r\n spinnerEl: SpinnerHelper.getSpinner({ size: SpinnerSize.Large, extraClasses: 'mx-auto' }),\r\n email: this.currentUser.get('email'),\r\n imageUrl: ImageUrls.Shared.GeneratePdf,\r\n styles\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"cv--image--J9jn_\"};","import { ObjectHash } from 'backbone';\r\nimport { Core } from 'libs/common/core';\r\nimport { SpinnerButtonModelAttributes } from 'shared/components/spinner-button/SpinnerButtonComponent';\r\n\r\nexport class DisabledSpinnerModel extends Core.Model {\r\n public defaults(): ObjectHash {\r\n return {\r\n [SpinnerButtonModelAttributes.Disabled]: true\r\n };\r\n }\r\n}"],"sourceRoot":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[6],{1034: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))+'"> </label>\r\n</div>'},useData:!0})},1042:function(t,e,n){"use strict";n.d(e,"a",(function(){return y})),n.d(e,"b",(function(){return g}));var o=n(1),r=n(2),i=n(1034),l=n.n(i),a=n(13);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=d(t);if(e){var r=d(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 d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y="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",y));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 y}},{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(y),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)},1048:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(2),r=n(1034),i=n.n(r),l=n(13),a=n(1042);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 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&&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)},1103:function(t,e,n){"use strict";var o=n(2),r=n(15),i=n(0),l=n(300),a=n(1355),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=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var 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(7),v=n(1042),k=n(13),O=n(185),w=n(1110),C=n(47),x=n(301),R=n.n(x),S=n(1356),_=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.a.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.a.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(1357),L=n.n(V),N=n(267);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(302),F=n.n(Z),Y=n(1358),J=n.n(Y),X=n(1048);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.a.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.a.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(1111),at=n(1359),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=dt(t);if(e){var r=dt(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 dt(t){return(dt=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&&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(1360),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(75),St=n(1361),_t=n.n(St),Et=n(1362),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(1363),Bt=n.n(Nt),At=n(1364),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(1365),$t=n(1366),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(1367),le=n.n(ie),ae=n(1368),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=de(t);if(e){var r=de(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 de(t){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ye=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(1109),be=n(1170),me=n(1369),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(1370),je=n.n(Ee),Ie=n(1371),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 yt})),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 ye})),n.d(e,"g",(function(){return ge.a})),n.d(e,"d",(function(){return _e})),n.d(e,"c",(function(){return Ae}))},1109:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(2),r=n(1168),i=n.n(r),l=n(1169),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 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&&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)},1110: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={}))},1111:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(1),r=n(2),i=n(87),l=n(1110),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}}},1168:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1169: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})},1170: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}))}}},1355: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})},1356: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})},1357: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})},1358: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})},1359: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})},1360:function(t,e,n){t.exports={videoList:"_3RFYO"}},1361:function(t,e,n){t.exports={banner:"O5CMF",learnMore:"MjcUE"}},1362: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})},1363:function(t,e,n){t.exports={category:"BSPKV"}},1364: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})},1365:function(t,e,n){t.exports={videoList:"_3TgUv"}},1366: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})},1367:function(t,e,n){t.exports={progressBarContainter:"_1aNlZ",progressBar:"_325nt"}},1368: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})},1369: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"> </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})},1370: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})},1371:function(t,e,n){t.exports={generateReport:"_2PRgW"}}}]);
|