@clickview/library-editor 1.1.21-rc.1 → 1.1.21-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (350) hide show
  1. package/dist/scripts/{bundle-59190acd1d.min.js → bundle-d9f54fa2e3.min.js} +1 -1
  2. package/dist/scripts/bundles.json +1 -1
  3. package/package.json +1 -1
  4. package/dist/css/1.chunk.css.map +0 -1
  5. package/dist/css/10.chunk.css.map +0 -1
  6. package/dist/css/11.chunk.css +0 -137
  7. package/dist/css/11.chunk.css.map +0 -1
  8. package/dist/css/12.chunk.css.map +0 -1
  9. package/dist/css/13.chunk.css.map +0 -1
  10. package/dist/css/14.chunk.css.map +0 -1
  11. package/dist/css/16.chunk.css.map +0 -1
  12. package/dist/css/17.chunk.css.map +0 -1
  13. package/dist/css/18.chunk.css +0 -20
  14. package/dist/css/18.chunk.css.map +0 -1
  15. package/dist/css/2.chunk.css +0 -145
  16. package/dist/css/2.chunk.css.map +0 -1
  17. package/dist/css/21.chunk.css.map +0 -1
  18. package/dist/css/22.chunk.css.map +0 -1
  19. package/dist/css/23.chunk.css.map +0 -1
  20. package/dist/css/25.chunk.css.map +0 -1
  21. package/dist/css/26.chunk.css.map +0 -1
  22. package/dist/css/28.chunk.css.map +0 -1
  23. package/dist/css/29.chunk.css.map +0 -1
  24. package/dist/css/3.chunk.css.map +0 -1
  25. package/dist/css/30.chunk.css.map +0 -1
  26. package/dist/css/31.chunk.css.map +0 -1
  27. package/dist/css/32.chunk.css.map +0 -1
  28. package/dist/css/33.chunk.css +0 -4
  29. package/dist/css/33.chunk.css.map +0 -1
  30. package/dist/css/34.chunk.css +0 -21
  31. package/dist/css/34.chunk.css.map +0 -1
  32. package/dist/css/35.chunk.css +0 -20
  33. package/dist/css/35.chunk.css.map +0 -1
  34. package/dist/css/36.chunk.css.map +0 -1
  35. package/dist/css/37.chunk.css.map +0 -1
  36. package/dist/css/38.chunk.css.map +0 -1
  37. package/dist/css/40.chunk.css.map +0 -1
  38. package/dist/css/41.chunk.css.map +0 -1
  39. package/dist/css/42.chunk.css.map +0 -1
  40. package/dist/css/43.chunk.css.map +0 -1
  41. package/dist/css/44.chunk.css.map +0 -1
  42. package/dist/css/45.chunk.css.map +0 -1
  43. package/dist/css/46.chunk.css.map +0 -1
  44. package/dist/css/47.chunk.css.map +0 -1
  45. package/dist/css/48.chunk.css +0 -2
  46. package/dist/css/48.chunk.css.map +0 -1
  47. package/dist/css/49.chunk.css.map +0 -1
  48. package/dist/css/50.chunk.css.map +0 -1
  49. package/dist/css/51.chunk.css +0 -2
  50. package/dist/css/51.chunk.css.map +0 -1
  51. package/dist/css/52.chunk.css +0 -66
  52. package/dist/css/52.chunk.css.map +0 -1
  53. package/dist/css/55.chunk.css.map +0 -1
  54. package/dist/css/56.chunk.css.map +0 -1
  55. package/dist/css/58.chunk.css.map +0 -1
  56. package/dist/css/59.chunk.css +0 -2
  57. package/dist/css/59.chunk.css.map +0 -1
  58. package/dist/css/6.chunk.css.map +0 -1
  59. package/dist/css/60.chunk.css.map +0 -1
  60. package/dist/css/62.chunk.css +0 -2
  61. package/dist/css/62.chunk.css.map +0 -1
  62. package/dist/css/63.chunk.css +0 -170
  63. package/dist/css/63.chunk.css.map +0 -1
  64. package/dist/css/67.chunk.css +0 -78
  65. package/dist/css/67.chunk.css.map +0 -1
  66. package/dist/css/68.chunk.css +0 -17
  67. package/dist/css/68.chunk.css.map +0 -1
  68. package/dist/css/69.chunk.css +0 -17
  69. package/dist/css/69.chunk.css.map +0 -1
  70. package/dist/css/7.chunk.css.map +0 -1
  71. package/dist/css/70.chunk.css +0 -23
  72. package/dist/css/70.chunk.css.map +0 -1
  73. package/dist/css/71.chunk.css +0 -40
  74. package/dist/css/71.chunk.css.map +0 -1
  75. package/dist/css/72.chunk.css +0 -16
  76. package/dist/css/72.chunk.css.map +0 -1
  77. package/dist/css/73.chunk.css +0 -37
  78. package/dist/css/73.chunk.css.map +0 -1
  79. package/dist/css/74.chunk.css +0 -29
  80. package/dist/css/74.chunk.css.map +0 -1
  81. package/dist/css/75.chunk.css +0 -6
  82. package/dist/css/75.chunk.css.map +0 -1
  83. package/dist/css/76.chunk.css +0 -6
  84. package/dist/css/76.chunk.css.map +0 -1
  85. package/dist/css/8.chunk.css.map +0 -1
  86. package/dist/css/library-editor-app.css.map +0 -1
  87. package/dist/projects/library-editor/src/polyfills.d.ts +0 -2
  88. package/dist/scripts/0-ca679202dc.chunk.js +0 -1
  89. package/dist/scripts/0.chunk.js +0 -1034
  90. package/dist/scripts/0.chunk.js.map +0 -1
  91. package/dist/scripts/1-e99f6a4b40.chunk.js +0 -1
  92. package/dist/scripts/1.chunk.js +0 -442
  93. package/dist/scripts/1.chunk.js.map +0 -1
  94. package/dist/scripts/10-db266215e5.chunk.js +0 -1
  95. package/dist/scripts/10.chunk.js +0 -820
  96. package/dist/scripts/10.chunk.js.map +0 -1
  97. package/dist/scripts/11-51ab13cf04.chunk.js +0 -11
  98. package/dist/scripts/11.chunk.js +0 -4091
  99. package/dist/scripts/11.chunk.js.map +0 -1
  100. package/dist/scripts/12-a8ad430f3a.chunk.js +0 -1
  101. package/dist/scripts/12.chunk.js +0 -555
  102. package/dist/scripts/12.chunk.js.map +0 -1
  103. package/dist/scripts/13-107ba2526f.chunk.js +0 -1
  104. package/dist/scripts/13.chunk.js +0 -373
  105. package/dist/scripts/13.chunk.js.map +0 -1
  106. package/dist/scripts/14-d19ac2872e.chunk.js +0 -1
  107. package/dist/scripts/14.chunk.js +0 -2386
  108. package/dist/scripts/14.chunk.js.map +0 -1
  109. package/dist/scripts/15-979015a718.chunk.js +0 -1
  110. package/dist/scripts/15.chunk.js +0 -314
  111. package/dist/scripts/15.chunk.js.map +0 -1
  112. package/dist/scripts/16-2a8bfb08cb.chunk.js +0 -1
  113. package/dist/scripts/16.chunk.js +0 -1290
  114. package/dist/scripts/16.chunk.js.map +0 -1
  115. package/dist/scripts/17-b7d5d41f7e.chunk.js +0 -1
  116. package/dist/scripts/17.chunk.js +0 -381
  117. package/dist/scripts/17.chunk.js.map +0 -1
  118. package/dist/scripts/18.chunk.js +0 -393
  119. package/dist/scripts/18.chunk.js.map +0 -1
  120. package/dist/scripts/19.chunk.js +0 -364
  121. package/dist/scripts/19.chunk.js.map +0 -1
  122. package/dist/scripts/2-4e0702e404.chunk.js +0 -1
  123. package/dist/scripts/2.chunk.js +0 -519
  124. package/dist/scripts/2.chunk.js.map +0 -1
  125. package/dist/scripts/20-3c3507043d.chunk.js +0 -1
  126. package/dist/scripts/20.chunk.js +0 -317
  127. package/dist/scripts/20.chunk.js.map +0 -1
  128. package/dist/scripts/21-e1b652cbbd.chunk.js +0 -1
  129. package/dist/scripts/21.chunk.js +0 -531
  130. package/dist/scripts/21.chunk.js.map +0 -1
  131. package/dist/scripts/22-6ff4c8acc9.chunk.js +0 -1
  132. package/dist/scripts/22.chunk.js +0 -354
  133. package/dist/scripts/22.chunk.js.map +0 -1
  134. package/dist/scripts/23-84f6d42051.chunk.js +0 -1
  135. package/dist/scripts/23.chunk.js +0 -604
  136. package/dist/scripts/23.chunk.js.map +0 -1
  137. package/dist/scripts/24-71d0e5af84.chunk.js +0 -1
  138. package/dist/scripts/24.chunk.js +0 -318
  139. package/dist/scripts/24.chunk.js.map +0 -1
  140. package/dist/scripts/25-63e55b94d1.chunk.js +0 -1
  141. package/dist/scripts/25.chunk.js +0 -365
  142. package/dist/scripts/25.chunk.js.map +0 -1
  143. package/dist/scripts/26-03148e2beb.chunk.js +0 -1
  144. package/dist/scripts/26.chunk.js +0 -442
  145. package/dist/scripts/26.chunk.js.map +0 -1
  146. package/dist/scripts/27-4c1566e168.chunk.js +0 -1
  147. package/dist/scripts/27.chunk.js +0 -3565
  148. package/dist/scripts/27.chunk.js.map +0 -1
  149. package/dist/scripts/28-8b6147f186.chunk.js +0 -1
  150. package/dist/scripts/28.chunk.js +0 -3173
  151. package/dist/scripts/28.chunk.js.map +0 -1
  152. package/dist/scripts/29-ab744bc76f.chunk.js +0 -1
  153. package/dist/scripts/29.chunk.js +0 -3088
  154. package/dist/scripts/29.chunk.js.map +0 -1
  155. package/dist/scripts/3-948dad23b7.chunk.js +0 -1
  156. package/dist/scripts/3.chunk.js +0 -833
  157. package/dist/scripts/3.chunk.js.map +0 -1
  158. package/dist/scripts/30-ca11897c8c.chunk.js +0 -1
  159. package/dist/scripts/30.chunk.js +0 -1852
  160. package/dist/scripts/30.chunk.js.map +0 -1
  161. package/dist/scripts/31-c52013832c.chunk.js +0 -1
  162. package/dist/scripts/31.chunk.js +0 -958
  163. package/dist/scripts/31.chunk.js.map +0 -1
  164. package/dist/scripts/32-800ff7a3d2.chunk.js +0 -1
  165. package/dist/scripts/32.chunk.js +0 -1235
  166. package/dist/scripts/32.chunk.js.map +0 -1
  167. package/dist/scripts/33-a78c3eebd5.chunk.js +0 -1
  168. package/dist/scripts/33.chunk.js +0 -792
  169. package/dist/scripts/33.chunk.js.map +0 -1
  170. package/dist/scripts/34-3c4c65d69b.chunk.js +0 -1
  171. package/dist/scripts/34.chunk.js +0 -990
  172. package/dist/scripts/34.chunk.js.map +0 -1
  173. package/dist/scripts/35-8f001c740f.chunk.js +0 -1
  174. package/dist/scripts/35.chunk.js +0 -518
  175. package/dist/scripts/35.chunk.js.map +0 -1
  176. package/dist/scripts/36-3aeb2db7b1.chunk.js +0 -1
  177. package/dist/scripts/36.chunk.js +0 -335
  178. package/dist/scripts/36.chunk.js.map +0 -1
  179. package/dist/scripts/37-f837b37da6.chunk.js +0 -1
  180. package/dist/scripts/37.chunk.js +0 -236
  181. package/dist/scripts/37.chunk.js.map +0 -1
  182. package/dist/scripts/38-96a70abc7e.chunk.js +0 -1
  183. package/dist/scripts/38.chunk.js +0 -315
  184. package/dist/scripts/38.chunk.js.map +0 -1
  185. package/dist/scripts/39-2c91ed5792.chunk.js +0 -1
  186. package/dist/scripts/39.chunk.js +0 -116
  187. package/dist/scripts/39.chunk.js.map +0 -1
  188. package/dist/scripts/4-47a1458dff.chunk.js +0 -1
  189. package/dist/scripts/4.chunk.js +0 -335
  190. package/dist/scripts/4.chunk.js.map +0 -1
  191. package/dist/scripts/40-f3651a4572.chunk.js +0 -1
  192. package/dist/scripts/40.chunk.js +0 -1782
  193. package/dist/scripts/40.chunk.js.map +0 -1
  194. package/dist/scripts/41-908d353ede.chunk.js +0 -1
  195. package/dist/scripts/41.chunk.js +0 -2347
  196. package/dist/scripts/41.chunk.js.map +0 -1
  197. package/dist/scripts/42-7de5d85207.chunk.js +0 -1
  198. package/dist/scripts/42.chunk.js +0 -2116
  199. package/dist/scripts/42.chunk.js.map +0 -1
  200. package/dist/scripts/43-f1361f956d.chunk.js +0 -1
  201. package/dist/scripts/43.chunk.js +0 -2243
  202. package/dist/scripts/43.chunk.js.map +0 -1
  203. package/dist/scripts/44-50769e406b.chunk.js +0 -1
  204. package/dist/scripts/44.chunk.js +0 -1024
  205. package/dist/scripts/44.chunk.js.map +0 -1
  206. package/dist/scripts/45-9a434a5bd6.chunk.js +0 -1
  207. package/dist/scripts/45.chunk.js +0 -1065
  208. package/dist/scripts/45.chunk.js.map +0 -1
  209. package/dist/scripts/46-a9ca193eb7.chunk.js +0 -1
  210. package/dist/scripts/46.chunk.js +0 -656
  211. package/dist/scripts/46.chunk.js.map +0 -1
  212. package/dist/scripts/47-a919e008e6.chunk.js +0 -1
  213. package/dist/scripts/47.chunk.js +0 -735
  214. package/dist/scripts/47.chunk.js.map +0 -1
  215. package/dist/scripts/48-8b8ad444c6.chunk.js +0 -1
  216. package/dist/scripts/48.chunk.js +0 -994
  217. package/dist/scripts/48.chunk.js.map +0 -1
  218. package/dist/scripts/49-1060332c94.chunk.js +0 -1
  219. package/dist/scripts/49.chunk.js +0 -759
  220. package/dist/scripts/49.chunk.js.map +0 -1
  221. package/dist/scripts/5-cbac37484e.chunk.js +0 -1
  222. package/dist/scripts/5.chunk.js +0 -15
  223. package/dist/scripts/5.chunk.js.map +0 -1
  224. package/dist/scripts/50-421fc85bef.chunk.js +0 -1
  225. package/dist/scripts/50.chunk.js +0 -528
  226. package/dist/scripts/50.chunk.js.map +0 -1
  227. package/dist/scripts/51-7677f7ff70.chunk.js +0 -1
  228. package/dist/scripts/51.chunk.js +0 -932
  229. package/dist/scripts/51.chunk.js.map +0 -1
  230. package/dist/scripts/52-d4c61c1996.chunk.js +0 -1
  231. package/dist/scripts/52.chunk.js +0 -408
  232. package/dist/scripts/52.chunk.js.map +0 -1
  233. package/dist/scripts/53-8ae575251b.chunk.js +0 -1
  234. package/dist/scripts/53.chunk.js +0 -754
  235. package/dist/scripts/53.chunk.js.map +0 -1
  236. package/dist/scripts/54-6068a4d6c5.chunk.js +0 -1
  237. package/dist/scripts/54.chunk.js +0 -681
  238. package/dist/scripts/54.chunk.js.map +0 -1
  239. package/dist/scripts/55-989847d37e.chunk.js +0 -1
  240. package/dist/scripts/55.chunk.js +0 -645
  241. package/dist/scripts/55.chunk.js.map +0 -1
  242. package/dist/scripts/56-1215f5b596.chunk.js +0 -1
  243. package/dist/scripts/56.chunk.js +0 -346
  244. package/dist/scripts/56.chunk.js.map +0 -1
  245. package/dist/scripts/57-862310acde.chunk.js +0 -1
  246. package/dist/scripts/57.chunk.js +0 -422
  247. package/dist/scripts/57.chunk.js.map +0 -1
  248. package/dist/scripts/58-15786678f5.chunk.js +0 -1
  249. package/dist/scripts/58.chunk.js +0 -437
  250. package/dist/scripts/58.chunk.js.map +0 -1
  251. package/dist/scripts/59-0eaa35b612.chunk.js +0 -1
  252. package/dist/scripts/59.chunk.js +0 -342
  253. package/dist/scripts/59.chunk.js.map +0 -1
  254. package/dist/scripts/6-c9648df42d.chunk.js +0 -1
  255. package/dist/scripts/6.chunk.js +0 -484
  256. package/dist/scripts/6.chunk.js.map +0 -1
  257. package/dist/scripts/60-fd82862934.chunk.js +0 -1
  258. package/dist/scripts/60.chunk.js +0 -254
  259. package/dist/scripts/60.chunk.js.map +0 -1
  260. package/dist/scripts/61-51fca2bf0e.chunk.js +0 -1
  261. package/dist/scripts/61.chunk.js +0 -409
  262. package/dist/scripts/61.chunk.js.map +0 -1
  263. package/dist/scripts/62-2a372f4810.chunk.js +0 -1
  264. package/dist/scripts/62.chunk.js +0 -142
  265. package/dist/scripts/62.chunk.js.map +0 -1
  266. package/dist/scripts/63-3efa945b24.chunk.js +0 -1
  267. package/dist/scripts/63.chunk.js +0 -147
  268. package/dist/scripts/63.chunk.js.map +0 -1
  269. package/dist/scripts/64-eafdec6ee2.chunk.js +0 -1
  270. package/dist/scripts/64.chunk.js +0 -439
  271. package/dist/scripts/64.chunk.js.map +0 -1
  272. package/dist/scripts/65-7de035024e.chunk.js +0 -1
  273. package/dist/scripts/65.chunk.js +0 -582
  274. package/dist/scripts/65.chunk.js.map +0 -1
  275. package/dist/scripts/66-b42ac9bb08.chunk.js +0 -1
  276. package/dist/scripts/66.chunk.js +0 -442
  277. package/dist/scripts/66.chunk.js.map +0 -1
  278. package/dist/scripts/67-07f4863ec4.chunk.js +0 -1
  279. package/dist/scripts/67.chunk.js +0 -295
  280. package/dist/scripts/67.chunk.js.map +0 -1
  281. package/dist/scripts/68-6c49662638.chunk.js +0 -1
  282. package/dist/scripts/68.chunk.js +0 -165
  283. package/dist/scripts/68.chunk.js.map +0 -1
  284. package/dist/scripts/69-30f7b9bd2b.chunk.js +0 -1
  285. package/dist/scripts/69.chunk.js +0 -248
  286. package/dist/scripts/69.chunk.js.map +0 -1
  287. package/dist/scripts/7-06de2dc87e.chunk.js +0 -1
  288. package/dist/scripts/7.chunk.js +0 -309
  289. package/dist/scripts/7.chunk.js.map +0 -1
  290. package/dist/scripts/70-9a7afc7f7c.chunk.js +0 -1
  291. package/dist/scripts/70.chunk.js +0 -207
  292. package/dist/scripts/70.chunk.js.map +0 -1
  293. package/dist/scripts/71-8b092d42ed.chunk.js +0 -1
  294. package/dist/scripts/71.chunk.js +0 -237
  295. package/dist/scripts/71.chunk.js.map +0 -1
  296. package/dist/scripts/72-f1b9669186.chunk.js +0 -1
  297. package/dist/scripts/72.chunk.js +0 -331
  298. package/dist/scripts/72.chunk.js.map +0 -1
  299. package/dist/scripts/73.chunk.js +0 -404
  300. package/dist/scripts/73.chunk.js.map +0 -1
  301. package/dist/scripts/74.chunk.js +0 -301
  302. package/dist/scripts/74.chunk.js.map +0 -1
  303. package/dist/scripts/75.chunk.js +0 -231
  304. package/dist/scripts/75.chunk.js.map +0 -1
  305. package/dist/scripts/76.chunk.js +0 -157
  306. package/dist/scripts/76.chunk.js.map +0 -1
  307. package/dist/scripts/77.chunk.js +0 -307
  308. package/dist/scripts/77.chunk.js.map +0 -1
  309. package/dist/scripts/78.chunk.js +0 -249
  310. package/dist/scripts/78.chunk.js.map +0 -1
  311. package/dist/scripts/79.chunk.js +0 -282
  312. package/dist/scripts/79.chunk.js.map +0 -1
  313. package/dist/scripts/8-7a1c9219fe.chunk.js +0 -1
  314. package/dist/scripts/8.chunk.js +0 -307
  315. package/dist/scripts/8.chunk.js.map +0 -1
  316. package/dist/scripts/80.chunk.js +0 -308
  317. package/dist/scripts/80.chunk.js.map +0 -1
  318. package/dist/scripts/81.chunk.js +0 -366
  319. package/dist/scripts/81.chunk.js.map +0 -1
  320. package/dist/scripts/82.chunk.js +0 -314
  321. package/dist/scripts/82.chunk.js.map +0 -1
  322. package/dist/scripts/83.chunk.js +0 -328
  323. package/dist/scripts/83.chunk.js.map +0 -1
  324. package/dist/scripts/84.chunk.js +0 -313
  325. package/dist/scripts/84.chunk.js.map +0 -1
  326. package/dist/scripts/85.chunk.js +0 -291
  327. package/dist/scripts/85.chunk.js.map +0 -1
  328. package/dist/scripts/86.chunk.js +0 -119
  329. package/dist/scripts/86.chunk.js.map +0 -1
  330. package/dist/scripts/87.chunk.js +0 -219
  331. package/dist/scripts/87.chunk.js.map +0 -1
  332. package/dist/scripts/88.chunk.js +0 -194
  333. package/dist/scripts/88.chunk.js.map +0 -1
  334. package/dist/scripts/89.chunk.js +0 -522
  335. package/dist/scripts/89.chunk.js.map +0 -1
  336. package/dist/scripts/9-5bc6861938.chunk.js +0 -1
  337. package/dist/scripts/9.chunk.js +0 -222
  338. package/dist/scripts/9.chunk.js.map +0 -1
  339. package/dist/scripts/90.chunk.js +0 -337
  340. package/dist/scripts/90.chunk.js.map +0 -1
  341. package/dist/scripts/91.chunk.js +0 -131
  342. package/dist/scripts/91.chunk.js.map +0 -1
  343. package/dist/scripts/92.chunk.js +0 -266
  344. package/dist/scripts/92.chunk.js.map +0 -1
  345. package/dist/scripts/bundle-d83d171bc0.min.js +0 -1
  346. package/dist/scripts/bundle.js +0 -60670
  347. package/dist/scripts/bundle.js.map +0 -1
  348. package/dist/scripts/polyfills-cf8a15183c.min.js +0 -1
  349. package/dist/scripts/polyfills.js +0 -14844
  350. package/dist/scripts/polyfills.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"sources":["file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss?8f32","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss?6acf","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss?86cd","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.ts","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationError.hbs","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/migration-error/migration-error.scss?7503","file://C:/ClickView/front-end/clickview/packages/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+IAA+I,aAAa,uBAAuB,aAAa;AAChM;AACA,CAAC;AACD,4GAA4G;;AAE5G;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,CAAC;AACD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,CAAP;AACD;AA7BH;AAAA;AAAA,wBA+BiB;AACb,aAAO,gCAAP;AACD;AAjCH;AAAA;AAAA,wBAmCwB;AACpB,aAAO,iEAAkB,CAAC,yBAAnB,CAA6C,IAA7C,CAAP;AACD;AArCH;AAAA;AAAA,wBAuCqB;AACjB,aAAO;AACL,cAAM,EAAE;AADH,OAAP;AAGD;AA3CH;AAAA;AAAA,wBA8DsB;AAClB,aAAO,CACL;AACE,qBAAa,EAAE,mHADjB;AAEE,cAAM,EAAE,QAFV;AAGE,YAAI,EAAE,yDAAU,CAAC,kBAHnB;AAIE,4BAAoB,EAAE,uEAAoB;AAJ5C,OADK,CAAP;AAQD;AAvEH;AAAA;AAAA,wBAyEqB;AACjB,aAAO,iDAAP;AACD;AA3EH;AAAA;AAAA,wBA6EsB;AAClB,sCAAyB,yEAAzB;AACD;AA/EH;AAAA;AAAA,wBAoR8B;AAC1B,aAAO;AACL,cAAM,EAAE,0FAAuB,CAAC;AAD3B,OAAP;AAGD;AAxRH;;AAAA;AAAA,EAAwC,8DAAI,CAAC,IAA7C,E;;;;;;;;;;;ACnCA;AACA,kBAAkB,wO;;;;;;;;;;;;ACDlB;AAAA;AAAA;AAAA,IAAY,sBAAZ;;AAAA,WAAY,sBAAZ,EAAkC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACD,CARD,EAAY,sBAAsB,KAAtB,sBAAsB,MAAlC;;AAUA,IAAY,wBAAZ;;AAAA,WAAY,wBAAZ,EAAoC;AAClC;AACA;AACA;AACA;AACA;AACD,CAND,EAAY,wBAAwB,KAAxB,wBAAwB,MAApC,E","file":"scripts/40.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, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-success use-online-copy \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectedButton : stack1), depth0))\n + \"\\\"><span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.checkSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-link dismiss\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"btn btn-outline-secondary use-online-copy\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"hide\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"7\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"show\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;\n\n return \"<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"mt-4 cursor-pointer video-item-show-preview text-right \"\n + alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showPreview : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"svg-container d-inline-block\\\">\"\n + ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewDisplayed : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"preview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</div>\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as styles from './errored-video-actions.scss';\r\nimport * as ErroredVideoActionsTemplate from './ErroredVideoActions.hbs';\r\n\r\ninterface ErroredVideoActionsComponentOptions extends Core.ComponentOptions {\r\n model: Core.Model;\r\n}\r\n\r\nexport class ErroredVideoActionsComponent extends Core.Component {\r\n public viewModel: Core.Model;\r\n private previewViewModel: Core.Model;\r\n\r\n constructor(options: ErroredVideoActionsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoActionsComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoActionsTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoActions';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .use-online-copy': 'onClickSelect',\r\n 'click .dismiss': 'onClickDismiss'\r\n };\r\n }\r\n\r\n private isSelected(): boolean {\r\n return this.viewModel.get(this.model.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }\r\n\r\n public onClickSelect(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n if (this.isSelected()) {\r\n this.viewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.USE_ONLINE_COPY);\r\n }\r\n\r\n public onClickDismiss(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.DO_NOT_ADD);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n selected: this.isSelected(),\r\n checkSvg: SvgHelper.getSvg(cvSvgLibrary.Check),\r\n previewSvg: SvgHelper.getSvg(cvSvgLibrary.Preview)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer---0ibU\",\"selectedButton\":\"cv--selectedButton--28zhr\",\"showPreview\":\"cv--showPreview--2r4VF\"};","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 \"<span class=\\\"border-right d-inline-block align-middle pr-3\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"videosAdded\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.countPhrase : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<span class=\\\"d-inline-block align-middle\\\"><button class=\\\"btn btn-link clear-all\\\"\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reset\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button></span>\\r\\n<button class=\\\"btn btn-primary align-middle ml-2 submit\\\" \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"submit\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\n\r\nimport * as ErroredVideoFooterTemplate from './ErroredVideoFooter.hbs';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport * as _ from 'underscore';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\ninterface ErroredVideoFooterComponentOptions extends Core.ComponentOptions {\r\n submitEvent: string;\r\n}\r\n\r\nexport class ErroredVideoFooterComponent extends Core.Component {\r\n public options: ErroredVideoFooterComponentOptions;\r\n\r\n constructor(options: ErroredVideoFooterComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n\r\n this.listenTo(this.viewModel, 'change', this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoFooterComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoFooterTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoFooter';\r\n }\r\n\r\n public get className(): string {\r\n return 'border-top px-3 py-2 text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .clear-all': 'onClickClearAll',\r\n 'click .submit': 'onClickSubmit'\r\n };\r\n }\r\n\r\n public onClickClearAll(): void {\r\n this.viewModel.clear();\r\n }\r\n\r\n public onClickSubmit(): void {\r\n Radio.channel(this.options.channelName).trigger(this.options.submitEvent);\r\n }\r\n\r\n private canSubmit(): boolean {\r\n return this.viewModel.keys().length > 0;\r\n }\r\n\r\n private countWillBeAdded(): number {\r\n return _.filter(this.viewModel.keys(), key => {\r\n return this.viewModel.get(key) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }).length;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n count: this.countWillBeAdded(),\r\n submitDisabled: !this.canSubmit()\r\n };\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \" cursor-pointer\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.doNotAdd : stack1), depth0))\n + \" text-center\\\">\\r\\n <p class=\\\"mb-0 mt-3\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willNotBeAdded\",{\"name\":\"lang\",\"hash\":{\"videoName\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n <p class=\\\"m-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willBeRemoved\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <button class=\\\"btn btn-link undo\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"undo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"d-flex justify-content-between align-items-stretch p-3 drag-item \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoItem : stack1), depth0))\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <div class=\\\"thumbnail-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.thumbnailContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"metadata-region d-inline-block px-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metaContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"video-actions-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionsContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"video-info-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.previewContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.doNotAdd : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { ThumbnailComponent } from 'libs/shared/legacy/components/thumbnail/ThumbnailComponent';\r\n\r\nimport { VideoItemComponentRegion } from 'shared/components/video-item/utils/VideoItemComponentTypes';\r\nimport { Video } from 'shared/models/Video';\r\nimport { RadioChannelHelper, LazyLoadHelper } from 'shared/utils';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport { ErroredVideoPreviewComponent } from 'apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent';\r\nimport { ErroredVideoMetadataComponent } from 'apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent';\r\nimport { ErroredVideoActionsComponent } from 'apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as ErroredVideoItemTemplate from './ErroredVideoItem.hbs';\r\nimport * as styles from './errored-video-item.scss';\r\n\r\nexport interface ErroredVideoComponentOptions extends Core.ComponentOptions {\r\n imageCdnUrl: string;\r\n webplayerUrl: string;\r\n}\r\n\r\nexport class ErroredVideoItemComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n private previewViewModel: Core.Model;\r\n private thumbnailLoaded: boolean;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n this.listenTo(this.previewViewModel, `change:${this.model.get('id')}`, this.render);\r\n\r\n this.listenTo(this.channelName, 'thumbnail:load', this.onThumbnailLoad);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoItemTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoItem';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get className(): string {\r\n return `border-bottom ${styles.component}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n [VideoItemComponentRegion.Thumbnail]: '.thumbnail-region',\r\n [VideoItemComponentRegion.Metadata]: '.metadata-region',\r\n [VideoItemComponentRegion.VideoActions]: '.video-actions-region',\r\n [VideoItemComponentRegion.VideoInfo]: '.video-info-region'\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .drag-item': 'onClick',\r\n 'click .undo': 'onClickUndo'\r\n };\r\n }\r\n\r\n private onThumbnailLoad(): void {\r\n this.thumbnailLoaded = true;\r\n }\r\n\r\n public onClick(): void {\r\n if (this.previewViewModel.get(this.model.get('id'))) {\r\n this.previewViewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.previewViewModel.clear();\r\n this.previewViewModel.set(this.model.get('id'), true);\r\n }\r\n\r\n public onClickUndo(): void {\r\n this.viewModel.unset(this.model.get('id'));\r\n }\r\n\r\n public shouldLazyLoadThumbnail(): boolean {\r\n if (!LazyLoadHelper.isLazyLoadSupported(LazyLoadMinBrowserSupportVersion))\r\n return false;\r\n\r\n return !this.thumbnailLoaded;\r\n }\r\n\r\n private renderThumbnail(): void {\r\n const thumbnailComponent = new ThumbnailComponent({\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` }\r\n }),\r\n lazyload: this.shouldLazyLoadThumbnail(),\r\n channelName: this.channelName\r\n });\r\n this.showChildView(VideoItemComponentRegion.Thumbnail, thumbnailComponent);\r\n }\r\n\r\n private renderMetadata(): void {\r\n const metadataComponent = new ErroredVideoMetadataComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.Metadata, metadataComponent);\r\n }\r\n\r\n private renderActions(): void {\r\n const videoActionsComponent = new ErroredVideoActionsComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoActions, videoActionsComponent);\r\n }\r\n\r\n private renderPreview(): void {\r\n if (!this.previewViewModel.get(this.model.get('id')))\r\n return;\r\n\r\n const previewComponent = new ErroredVideoPreviewComponent({\r\n model: this.model,\r\n webplayerUrl: this.options.webplayerUrl,\r\n imageCdnUrl: this.options.imageCdnUrl\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoInfo, previewComponent);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n doNotAdd: this.viewModel.get(this.model.get('id')) === MigrationErrorActions.DO_NOT_ADD\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderThumbnail();\r\n this.renderMetadata();\r\n this.renderActions();\r\n this.renderPreview();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"component\":\"cv--component--13khy\",\"thumbnailContainer\":\"cv--thumbnailContainer--_gEcp\",\"metaContainer\":\"cv--metaContainer--zuMb1\",\"actionsContainer\":\"cv--actionsContainer--1ppp8\",\"videoItem\":\"cv--videoItem--2Ru6c\",\"doNotAdd\":\"cv--doNotAdd--8l6WV\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"videos-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { LazyLoadBehavior } from 'shared/behaviors';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport * as ErroredVideoListTemplate from './ErroredVideoList.hbs';\r\nimport { ErroredVideoComponentOptions, ErroredVideoItemComponent } from '../errored-video-item/ErroredVideoItemComponent';\r\n\r\nclass ErroredVideoItemComponentCollection extends Core.ComponentCollection {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponentCollection';\r\n }\r\n\r\n public get childView(): typeof ErroredVideoItemComponent {\r\n return ErroredVideoItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ErroredVideoComponentOptions {\r\n return this.options;\r\n }\r\n}\r\n\r\nexport class ErroredVideoListComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoListComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoListTemplate;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: LazyLoadBehavior,\r\n selector: '.lazy-img',\r\n minBrowserSupportVersion: LazyLoadMinBrowserSupportVersion\r\n }\r\n ];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.videos-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new ErroredVideoItemComponentCollection(this.options));\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"series\",{\"name\":\"lang\",\"hash\":{\"series\":(depth0 != null ? depth0.series : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \" \"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"folder\",{\"name\":\"lang\",\"hash\":{\"folder\":(depth0 != null ? depth0.category : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n return \"<span class=\\\"mx-1\\\">|</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <span class=\\\"badge p-1 tool-tip \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingColorClass : stack1), depth0))\n + \"\\\" title=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))\n + \"</span>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"9\":function(container,depth0,helpers,partials,data) {\n return \" <div class=\\\"text-danger\\\">\"\n + container.escapeExpression(container.lambda(depth0, depth0))\n + \"</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div>\\r\\n <a class=\\\"h6\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias2,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\r\\n</div>\\r\\n<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.category : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.errorStrings : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoMetadataTemplate from './ErroredVideoMetadata.hbs';\r\nimport * as styles from './errored-video-metadata.scss';\r\nimport { MigrationErrorHelper } from 'apps/migration-wizard/utils/MigrationErrorHelper';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDetailsHelper } from 'apps/library-editor/utils';\r\n\r\nexport class ErroredVideoMetadataComponent extends Core.Component {\r\n public get name(): string {\r\n return 'ErroredVideoMetadataComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoMetadataTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoMetadata';\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n errorStrings: MigrationErrorHelper.getErrorStrings(this.model.get('clientValidationResults')),\r\n ratingColorClass: this.model.get('rating') && VideoDetailsHelper.mapRatingToClass(this.model.get('rating').value),\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"cv--rating--3IJcl\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<p class=\\\"text-uppercase text-muted\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"description\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\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[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? depth0.description : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<div class=\\\"description-region\\\"></div>\\r\\n<div class=\\\"webplayer-region col-5 pl-0\\\"></div>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoPreviewTemplate from './ErroredVideoPreview.hbs';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDescriptionComponent, VideoDescriptionTruncationSize } from 'shared/components/video-description/VideoDescriptionComponent';\r\nimport { VideoPreviewComponent } from 'shared/components/video-preview/VideoPreviewComponent';\r\nimport { Video } from 'shared/models/Video';\r\n\r\ninterface ErroredVideoPreviewComponentOptions extends Core.ComponentOptions {\r\n webplayerUrl: string;\r\n imageCdnUrl: string;\r\n}\r\n\r\nexport class ErroredVideoPreviewComponent extends Core.Component {\r\n public options: ErroredVideoPreviewComponentOptions;\r\n\r\n constructor(options: ErroredVideoPreviewComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoPreviewComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'p-3 border-top';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoPreviewTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoPreview';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n description: {\r\n el: '.description-region',\r\n replaceElement: true\r\n },\r\n webplayer: {\r\n el: '.webplayer-region'\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('webplayer', new VideoPreviewComponent({\r\n webPlayerUrl: this.options.webplayerUrl,\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` },\r\n trackingCode: this.model.get('trackingCode')\r\n }),\r\n captureAnalytics: false\r\n }));\r\n\r\n if (this.model.get('description')) {\r\n this.showChildView('description', new VideoDescriptionComponent({\r\n model: this.model,\r\n linkify: true,\r\n size: VideoDescriptionTruncationSize.Large,\r\n truncate: true,\r\n allowExpand: true\r\n }));\r\n }\r\n\r\n }\r\n}","export const MigrationErrorActions = {\r\n USE_ONLINE_COPY: 'use-online-copy',\r\n DO_NOT_ADD: 'do-not-add'\r\n};","export const MigrationViewModels = {\r\n OPEN_PREVIEWS: 'migration:errored:videos:preview',\r\n SELECTED_VIDEOS: 'migration:errored:videos:selected'\r\n};","import * as _ from 'underscore';\r\nimport { ValidationResult } from 'apps/migration-wizard/enums';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nconst lang = 'migrationWizard.utils';\r\n\r\nconst videoFileMissing = () => LanguageService.getPhrase(lang, 'videoFileMissing');\r\nconst videoFileCorrupt = () => LanguageService.getPhrase(lang, 'videoFileCorrupt');\r\nconst videoFileInformationMissing = () => LanguageService.getPhrase(lang, 'videoFileInformationMissing');\r\nconst subtitleFileMissing = () => LanguageService.getPhrase(lang, 'subtitleFileMissing');\r\nconst resouceFileMissing = () => LanguageService.getPhrase(lang, 'resouceFileMissing');\r\nconst thumbnailMissing = () => LanguageService.getPhrase(lang, 'thumbnailMissing');\r\n\r\nconst mappings: { [key: number]: () => string } = {\r\n [ValidationResult.BinaryRemoved]: () => '',\r\n\r\n [ValidationResult.LocalFileNotFound]: videoFileMissing,\r\n [ValidationResult.DbEmptyChapter]: videoFileCorrupt,\r\n\r\n [ValidationResult.DbChapterChecksumNotFound]: videoFileCorrupt,\r\n [ValidationResult.DbChapterDurationNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterChecksumNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterDurationNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.SubtitleUploadFailure]: subtitleFileMissing,\r\n [ValidationResult.ResourceUploadFailure]: resouceFileMissing,\r\n [ValidationResult.ResourceFileNotFound]: resouceFileMissing,\r\n [ValidationResult.ResourceFileInvalid]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceExtensionNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotMatch]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotMatch]: resouceFileMissing,\r\n [ValidationResult.CoverImageUploadFailure]: thumbnailMissing\r\n};\r\n\r\nexport const MigrationErrorHelper = {\r\n getErrorStrings(errorCodes: number[]): string[] {\r\n return _.unique(_.map(errorCodes, e => mappings[e]()));\r\n }\r\n};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, alias5=\"function\";\n\n return \"<div class=\\\"m-auto text-warning \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = ((helper = (helper = helpers.warningSvg || (depth0 != null ? depth0.warningSvg : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningSvg\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"</div>\\r\\n<p>\\r\\n <div>\"\n + ((stack1 = ((helper = (helper = helpers.onlineCopyCountText || (depth0 != null ? depth0.onlineCopyCountText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"onlineCopyCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be migrated to your Library Editor ignoring all warnings.</div>\\r\\n <span class=\\\"text-danger\\\">\\r\\n \"\n + alias2(((helper = (helper = helpers.warningText || (depth0 != null ? depth0.warningText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningText\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n </span>\\r\\n</p> \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable;\n\n return \"<p>\"\n + ((stack1 = ((helper = (helper = helpers.doNotAddCountText || (depth0 != null ? depth0.doNotAddCountText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"doNotAddCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be removed from this list and will not be added to your library.</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.onlineCopyCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.doNotAddCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <h2 class=\\\"h3\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"couldNotBeMigrated\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1)},\"data\":data}))\n + \"</h2>\\r\\n <p class=\\\"mb-1\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"ensureValidity\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <p class=\\\"mb-2\\\"><a href=\\\"\"\n + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportArticle : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\" class=\\\"text-info\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"moreInfo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></p>\\r\\n <button class=\\\"approve-all btn btn-success d-inline-block mr-2\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"do-not-add btn btn-link d-inline-block\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"tab-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))\n + \" border-bottom\\\"></div>\\r\\n<div class=\\\"p-3 border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.headingContainer : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"videos-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n<div class=\\\"footer-region\\\"></div>\\r\\n\";\n},\"useData\":true});","import * as _ from 'underscore';\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 { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { EmptyStateBehavior } from 'libs/shared/legacy/behaviors/empty-state/EmptyStateBehavior';\r\nimport { LocationContext, EntityType, UserAction, OperationDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { NavLockService } from 'shared/services/NavigationLockService';\r\nimport { DataServices, DataChannels, Actions, AppChannels, SupportArticles, EmptyStateComponents, Services } from 'shared/constants';\r\nimport { Config } from 'shared/models/Config';\r\nimport { EmptyState, PartialLoading } from 'shared/enums';\r\nimport { RadioChannelHelper, DialogHelper } from 'shared/utils';\r\n\r\nimport { ErroredVideoListComponent } from 'apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent';\r\nimport { ErroredVideoFooterComponent } from 'apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent';\r\nimport { VideoMigrationStatus } from 'apps/migration-wizard/enums/VideoMigrationStatus';\r\nimport { SelectedVideo, FinalisationTask } from 'apps/migration-wizard/models';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\nimport { SearchBarComponent } from 'apps/migration-wizard/components';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport * as ConfirmationDialogTemplate from './ConfirmationDialog.hbs';\r\nimport * as MigrationErrorTemplate from './MigrationError.hbs';\r\nimport * as styles from './migration-error.scss';\r\n\r\nconst SUBMIT_EVENT = 'submit';\r\nconst PAGE_SIZE = 25;\r\n\r\nexport class MigrationErrorView extends Core.View {\r\n private config: Config;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private navLockService: NavLockService;\r\n private previewViewModel: Core.Model;\r\n private collectionSubset: Core.Collection;\r\n private page: number;\r\n private scrollBound: boolean;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n this.navLockService = InstanceManager.getInstance(Services.NavLock, this);\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(DataChannels.MIGRATION, `manual:review:videos:sync`, this.render);\r\n this.listenTo(this.channelName, SUBMIT_EVENT, this.onSubmit);\r\n\r\n this.listenTo(this.viewModel, 'change', this.onChangeSelected);\r\n\r\n this.page = 1;\r\n }\r\n\r\n public get name(): string {\r\n return 'MigrationErrorView';\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 'migrationWizard.migrationError';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n videos: '.videos-region'\r\n };\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n tabs: {\r\n el: '.tab-region',\r\n replaceElement: true\r\n },\r\n videos: {\r\n el: '.videos-region',\r\n partialLoading: PartialLoading.VideoList\r\n },\r\n footer: {\r\n el: '.footer-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: EmptyStateBehavior,\r\n region: 'videos',\r\n type: EmptyState.ManualReviewVideos,\r\n emptyStateComponents: EmptyStateComponents\r\n }\r\n ];\r\n }\r\n\r\n public get template(): any {\r\n return MigrationErrorTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `bg-white w-100 ${styles.migrationErrorView}`;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .approve-all': 'onClickApproveAll',\r\n 'click .do-not-add': 'onClickDoNotAdd'\r\n };\r\n }\r\n\r\n public onClickApproveAll(): void {\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n public onClickDoNotAdd(): void {\r\n this.previewViewModel.clear();\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.DO_NOT_ADD;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n\r\n private onChangeSelected(): void {\r\n if (this.viewModel.keys().length) {\r\n this.navLockService.lock({\r\n title: LanguageService.getPhrase(this.lang, 'navLockTitle'),\r\n text: LanguageService.getPhrase(this.lang, 'navLockBody')\r\n });\r\n } else {\r\n this.navLockService.unlock();\r\n }\r\n }\r\n\r\n private getDialog(onlineCopyCount: number, doNotAddCount: number): DialogHelper {\r\n return new DialogHelper({\r\n title: LanguageService.getPhrase(this.lang, 'dialogHeading'),\r\n text: ConfirmationDialogTemplate({\r\n onlineCopyCount,\r\n onlineCopyCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: onlineCopyCount }),\r\n warningText: LanguageService.getPhrase(this.lang, 'warningText', { smartCount: onlineCopyCount }),\r\n doNotAddCount,\r\n doNotAddCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: doNotAddCount }),\r\n styles,\r\n warningSvg: SvgHelper.getSvg(cvSvgLibrary.Warning)\r\n }),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'submit'),\r\n className: 'btn btn-primary',\r\n success: true\r\n }]\r\n });\r\n }\r\n\r\n private getSelectedVideos(): Core.Collection<SelectedVideo> {\r\n const useOnlineCopyVideos = this.collection.filter(video => {\r\n return this.viewModel.get(video.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n\r\n const groupedByCategory = _.groupBy(useOnlineCopyVideos, video => {\r\n return video.get('category');\r\n });\r\n\r\n const selectedVideos = _.map(_.keys(groupedByCategory), key => {\r\n return {\r\n folderChord: key,\r\n videoIds: _.map(groupedByCategory[key], item => item.get('id'))\r\n };\r\n });\r\n return new Core.Collection<SelectedVideo>(selectedVideos);\r\n }\r\n\r\n private onSubmit(): void {\r\n const doNotAddVideoIds: number[] = [];\r\n const useOnlineCopyVideoIds: number[] = [];\r\n\r\n _.each(this.viewModel.keys(), k => {\r\n const value = this.viewModel.get(k);\r\n if (value === MigrationErrorActions.DO_NOT_ADD)\r\n doNotAddVideoIds.push(+k);\r\n\r\n if (value === MigrationErrorActions.USE_ONLINE_COPY)\r\n useOnlineCopyVideoIds.push(+k);\r\n });\r\n\r\n const dialog = this.getDialog(useOnlineCopyVideoIds.length, doNotAddVideoIds.length);\r\n\r\n let updateMigrationStatusDone = false;\r\n let finaliseCustomerVideosDone = false;\r\n let finalisationTaskId = 0;\r\n\r\n const callback = () => {\r\n if (!updateMigrationStatusDone || !finaliseCustomerVideosDone)\r\n return;\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n /**\r\n * Silently clear the viewModel so that we don't trigger a re-render\r\n * of all the migration errors. This helps mitigate a bug where\r\n * lazyload was erroring when attempting to perform an update on\r\n * items after they've been removed from the DOM.\r\n */\r\n this.viewModel.clear({ silent: true });\r\n this.navLockService.unlock();\r\n\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.PROGRESS,\r\n args: [finalisationTaskId]\r\n });\r\n } else {\r\n this.viewModel.clear();\r\n\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata();\r\n this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n delete this.collectionSubset;\r\n }\r\n };\r\n\r\n dialog.render().done(() => {\r\n this.logMigrationActions(useOnlineCopyVideoIds, doNotAddVideoIds);\r\n\r\n if (doNotAddVideoIds.length) {\r\n this.migrationVideoDataService.updateMigrationStatus(\r\n doNotAddVideoIds, VideoMigrationStatus.HasNotBeenMigrated, () => {\r\n updateMigrationStatusDone = true;\r\n callback();\r\n }\r\n );\r\n } else {\r\n updateMigrationStatusDone = true;\r\n }\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n this.migrationVideoDataService.finaliseCustomerVideos(\r\n this.getSelectedVideos(), true, (finalisationTask: FinalisationTask) => {\r\n finaliseCustomerVideosDone = true;\r\n finalisationTaskId = finalisationTask.get('id');\r\n callback();\r\n }\r\n );\r\n } else {\r\n finaliseCustomerVideosDone = true;\r\n }\r\n });\r\n }\r\n\r\n private logMigrationActions(resolveCollection: number[], dismissCollection: number[]): void {\r\n if (resolveCollection.length) {\r\n let data = _.map(resolveCollection, id => this.processLogData(id, resolveCollection));\r\n this.logData(UserAction.ResolveWarning, data);\r\n }\r\n\r\n if (dismissCollection.length) {\r\n let data = _.map(dismissCollection, id => this.processLogData(id, dismissCollection));\r\n this.logData(UserAction.DismissWarning, data);\r\n }\r\n }\r\n\r\n private logData(actionType: UserAction, data: ObjectHash[]): void {\r\n const analyticsOptions = {\r\n location: LocationContext.MigrationWarnings,\r\n entity: EntityType.Video\r\n };\r\n\r\n // Set action descriptor where all videos have been selected for resolve/dismiss\r\n const selectedAll = data.length === this.collection.length;\r\n\r\n AnalyticsHelper.logUserAction(data, AnalyticsHelper.mergeOptions(analyticsOptions, {\r\n actionType,\r\n descriptor: selectedAll ? OperationDescriptor.All : OperationDescriptor.Single\r\n }));\r\n }\r\n\r\n // Process and build the data object we're going to log.\r\n private processLogData(id: number, migrationCollection: number[]): ObjectHash {\r\n const model = this.collection.get(id);\r\n\r\n const { name, trackingCode } = model.pick('name', 'trackingCode');\r\n\r\n const actionCount = migrationCollection.length;\r\n const warningCount = this.collection.length;\r\n\r\n return {\r\n id,\r\n name,\r\n trackingCode,\r\n actionCount,\r\n warningCount,\r\n };\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n private unBindScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.off('scroll');\r\n }\r\n\r\n private bindScroll(): void {\r\n if (this.scrollBound)\r\n return;\r\n\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.on('scroll', _.bind(this.onScroll, this));\r\n\r\n this.scrollBound = true;\r\n }\r\n\r\n private onScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n\r\n /**\r\n * If we haven't scrolled to the end, do nothing\r\n * \r\n */\r\n const loadMoreThreshold = $videosRegion.children().height() - $videosRegion.height() / 2;\r\n if ($videosRegion.scrollTop() + $videosRegion.height() < loadMoreThreshold)\r\n return;\r\n\r\n if (this.page * PAGE_SIZE > this.collection.length)\r\n return;\r\n\r\n this.collectionSubset.add(_.first(this.collection.rest(this.page * PAGE_SIZE), PAGE_SIZE));\r\n this.page++;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n\r\n const supportArticle = this.config ? `${this.config.get('supportSiteUrl')}${SupportArticles.MANUAL_REVIEW}` : '';\r\n\r\n return {\r\n styles,\r\n supportArticle,\r\n items: this.collection && this.collection.length\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.collection = this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n if (this.collection && !this.collectionSubset) {\r\n this.collectionSubset = new Core.Collection(this.collection.first(PAGE_SIZE));\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('tabs', new SearchBarComponent({\r\n selected: 'migration-errors'\r\n }));\r\n this.showChildView('videos', new ErroredVideoListComponent({\r\n collection: this.collectionSubset,\r\n imageCdnUrl: this.config.get('imageCdnUrl'),\r\n webplayerUrl: this.config.get('webPlayerUrl')\r\n }));\r\n this.showChildView('footer', new ErroredVideoFooterComponent({\r\n channelName: this.channelName,\r\n submitEvent: SUBMIT_EVENT\r\n }));\r\n this.bindScroll();\r\n }\r\n\r\n public onBeforeDestroy(): void {\r\n this.unBindScroll();\r\n }\r\n\r\n public onDestroy(): void {\r\n ViewModelService.clear(MigrationViewModels.OPEN_PREVIEWS);\r\n ViewModelService.clear(MigrationViewModels.SELECTED_VIDEOS);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"migrationErrorView\":\"cv--migrationErrorView--1Jo6e\",\"videoContainer\":\"cv--videoContainer--7tGnj\",\"svgContainer\":\"cv--svgContainer--csNIF\",\"headingContainer\":\"cv--headingContainer--30NNv\",\"tabsContainer\":\"cv--tabsContainer--10__f\"};","export enum VideoItemComponentType {\r\n Base,\r\n AwaitingReview,\r\n PastReleases,\r\n VideoAccess,\r\n ProcessingVideo,\r\n Draggable,\r\n Search\r\n}\r\n\r\nexport enum VideoItemComponentRegion {\r\n Checkbox = 'checkbox',\r\n Thumbnail = 'thumbnail',\r\n Metadata = 'metadata',\r\n VideoActions = 'videoActions',\r\n VideoInfo = 'videoInfo',\r\n}"],"sourceRoot":""}
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[41],{1032:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(2),o=n(29),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.smartMigrationApiCall",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,i.a.getPhrase(p,"title"))).supportUrl=t,e}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"SmartMigrationApiCallError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:"<p>".concat(i.a.getPhrase(p,"errorNotice")," \n <strong>").concat(i.a.getPhrase(p,"reloadPage"),"</strong></p>\n <p>").concat(i.a.getPhrase(p,"helpGuide",{supportUrl:this.supportUrl,linkClasses:"text-info"}),"\n </p>"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},1069:function(t,e,n){"use strict";n(276);var r=n(2),o=n(29),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.backupProgress",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"BackupProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,a=m(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationProgressError","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationProgressError","heading"),text:i.a.getPhrase("migrationWizard.migrationProgressError","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationProgressError","reload"),className:"btn btn-primary",success:!0}]}}}])&&h(e.prototype,n),o&&h(e,o),c}(o.a);function O(t){return(O="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 w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==O(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 S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=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&&_(t,e)}(c,t);var e,n,o,a=k(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationFinalisation","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationFinalisationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationFinalisation","heading"),text:i.a.getPhrase("migrationWizard.migrationFinalisation","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationFinalisation","reload"),className:"btn btn-primary",success:!0}]}}}])&&w(e.prototype,n),o&&w(e,o),c}(o.a);n(1032);n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return P})),n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return y}))},1095:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(1154),i=n.n(o),a=n(1155),c=n.n(a);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 s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function 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,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.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 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&&l(t,e)}(a,t);var e,n,r,o=f(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,t)}return e=a,(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 r=n-t/100*n;e.style.strokeDashoffset=r;var o=this.getUI("text");o&&o.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},1154:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1155:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({1:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return' <span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+c(a(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+c((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:o}))+"</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,o,0),inverse:t.noop,data:o}))?i:"")+' </span>\r\n\r\n <svg class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+c(a(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})},1332:function(t,e,n){t.exports={backupProgress:"_15jUh",info:"_1NjZL",progress:"fp9FZ",migrationBackupContainer:"_28z_5"}},1333:function(t,e,n){var r=n(9);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<h4 class="pb-4">'+u((n.lang||e&&e.lang||c).call(a,"heading",{name:"lang",hash:{},data:o}))+'</h4>\r\n<div class="progress-circle-region"></div>\r\n<p class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.info:i,e))+' pt-4">\r\n '+(null!=(i=(n.lang||e&&e.lang||c).call(a,"info",{name:"lang",hash:{},data:o}))?i:"")+"\r\n</p>"},useData:!0})},1420:function(t,e,n){"use strict";n.r(e),n.d(e,"PublisherBackupProgressView",(function(){return O}));var r=n(2),o=n(5),i=n(28),a=n(1332),c=n.n(a),u=n(1333),s=n.n(u),l=n(1069),f=n(0),p=n(3),y=n(1095);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(g,t);var e,n,a,u=d(g);function g(){return h(this,g),u.apply(this,arguments)}return e=g,(n=[{key:"initialize",value:function(){this.viewModel=i.a.get("backup:progress",{percentage:0}),this.migrationVideoDataService=o.a.getInstance(f.g.MigrationVideo,this),this.bindMigrationDataListeners()}},{key:"regions",value:function(){return{progressCircle:{replaceElement:!0,el:".progress-circle-region"}}}},{key:"bindMigrationDataListeners",value:function(){this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_VIDEO,":count:error"),this.onError)}},{key:"onError",value:function(){r.a.ErrorHelper.throw(new l.a)}},{key:"poll",value:function(){var t=this;this.migrationVideoDataService.getCustomerVideoCount((function(e){t.isDestroyed()||(t.videoCount=e,t.setPercentage(),t.viewModel.get("percentage")>=100?t.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(){r.a.AppLinkHelper.trigger({application:f.b.MIGRATION_WIZARD,action:f.a.MigrationWizard.BACKUP_COMPLETE})})):(setTimeout((function(){return t.poll()}),5e3),t.render()))}))}},{key:"setPercentage",value:function(){if(this.videoCount){var t=100*this.videoCount.get("progressPercentage");t>100&&(t=100),this.viewModel.set({percentage:Math.round(t)})}}},{key:"renderProgressCircle",value:function(){this.showChildView("progressCircle",new y.a({model:this.viewModel,text:p.a.getPhrase(this.lang,"hasBeenBackedUp"),class:c.a.progress}))}},{key:"onBeforeRender",value:function(){return this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),!!this.customerMetadata}},{key:"viewOptions",value:function(){return{styles:c.a,timeRemaining:"30 minutes"}}},{key:"onRender",value:function(){this.pollingStarted||(this.poll(),this.pollingStarted=!0),this.renderProgressCircle()}},{key:"name",get:function(){return"PublisherBackupProgressView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackupProgress"}},{key:"className",get:function(){return"container text-center p-5 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.backupProgress)}},{key:"template",get:function(){return s.a}}])&&b(e.prototype,n),a&&b(e,a),g}(r.a.View)}}]);