@clickview/library-editor 1.1.31-rc.0 → 1.1.31

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 (338) hide show
  1. package/package.json +1 -1
  2. package/dist/bundles.json +0 -5
  3. package/dist/css/0-library-editor-c3083c7c46.chunk.css +0 -6
  4. package/dist/css/0-library-editor.chunk.css +0 -26
  5. package/dist/css/1-library-editor-9a899a1d1d.chunk.css +0 -2
  6. package/dist/css/10-library-editor-53c28be130.chunk.css +0 -2
  7. package/dist/css/10-library-editor.chunk.css +0 -25
  8. package/dist/css/11-library-editor.chunk.css +0 -135
  9. package/dist/css/11.chunk.css +0 -135
  10. package/dist/css/12-library-editor-7f17ad1c90.chunk.css +0 -24
  11. package/dist/css/12-library-editor.chunk.css +0 -18
  12. package/dist/css/13-library-editor-911b8069ae.chunk.css +0 -14
  13. package/dist/css/13-library-editor.chunk.css +0 -21
  14. package/dist/css/14-library-editor-f507c0ef52.chunk.css +0 -14
  15. package/dist/css/14-library-editor.chunk.css +0 -76
  16. package/dist/css/15-library-editor-b08725a10e.chunk.css +0 -2
  17. package/dist/css/16-library-editor-89ad109c63.chunk.css +0 -2
  18. package/dist/css/16-library-editor.chunk.css +0 -52
  19. package/dist/css/17-library-editor.chunk.css +0 -14
  20. package/dist/css/17.chunk.css +0 -14
  21. package/dist/css/18-library-editor.chunk.css +0 -18
  22. package/dist/css/18.chunk.css +0 -18
  23. package/dist/css/2-library-editor.chunk.css +0 -143
  24. package/dist/css/2.chunk.css +0 -143
  25. package/dist/css/20-library-editor-2bd52b5a32.chunk.css +0 -34
  26. package/dist/css/21-library-editor-a7633bece5.chunk.css +0 -26
  27. package/dist/css/21-library-editor.chunk.css +0 -52
  28. package/dist/css/22-library-editor-459b106aec.chunk.css +0 -24
  29. package/dist/css/22-library-editor.chunk.css +0 -12
  30. package/dist/css/23-library-editor-33acb75c24.chunk.css +0 -18
  31. package/dist/css/23-library-editor.chunk.css +0 -25
  32. package/dist/css/24-library-editor-b180014922.chunk.css +0 -18
  33. package/dist/css/25-library-editor-4c64aed388.chunk.css +0 -16
  34. package/dist/css/25-library-editor.chunk.css +0 -35
  35. package/dist/css/26-library-editor-f0118cbca0.chunk.css +0 -14
  36. package/dist/css/26-library-editor.chunk.css +0 -20
  37. package/dist/css/27-library-editor-b72d0e2d36.chunk.css +0 -10
  38. package/dist/css/28-library-editor-de55d150ef.chunk.css +0 -10
  39. package/dist/css/28-library-editor.chunk.css +0 -63
  40. package/dist/css/29-library-editor-b0e16f882d.chunk.css +0 -8
  41. package/dist/css/29-library-editor.chunk.css +0 -80
  42. package/dist/css/3-library-editor-904319558a.chunk.css +0 -4
  43. package/dist/css/3-library-editor.chunk.css +0 -15
  44. package/dist/css/30-library-editor-10f54d8a75.chunk.css +0 -8
  45. package/dist/css/30-library-editor.chunk.css +0 -33
  46. package/dist/css/31-library-editor-4d763bac2b.chunk.css +0 -8
  47. package/dist/css/31-library-editor.chunk.css +0 -30
  48. package/dist/css/32-library-editor-d962911bc5.chunk.css +0 -6
  49. package/dist/css/32-library-editor.chunk.css +0 -45
  50. package/dist/css/33-library-editor-630c133693.chunk.css +0 -4
  51. package/dist/css/33-library-editor.chunk.css +0 -13
  52. package/dist/css/34-library-editor.chunk.css +0 -19
  53. package/dist/css/34.chunk.css +0 -19
  54. package/dist/css/35-library-editor.chunk.css +0 -18
  55. package/dist/css/35.chunk.css +0 -18
  56. package/dist/css/36-library-editor.chunk.css +0 -12
  57. package/dist/css/36.chunk.css +0 -12
  58. package/dist/css/37-library-editor-d18b8a3619.chunk.css +0 -4
  59. package/dist/css/37-library-editor.chunk.css +0 -5
  60. package/dist/css/38-library-editor-8b225d15f4.chunk.css +0 -4
  61. package/dist/css/38-library-editor.chunk.css +0 -5
  62. package/dist/css/39-library-editor-b08725a10e.chunk.css +0 -2
  63. package/dist/css/40-library-editor-b08725a10e.chunk.css +0 -2
  64. package/dist/css/40-library-editor.chunk.css +0 -24
  65. package/dist/css/41-library-editor-9a2d011500.chunk.css +0 -4
  66. package/dist/css/41-library-editor.chunk.css +0 -76
  67. package/dist/css/42-library-editor-593c0084b4.chunk.css +0 -4
  68. package/dist/css/42-library-editor.chunk.css +0 -44
  69. package/dist/css/43-library-editor-aa3e9bea9a.chunk.css +0 -2
  70. package/dist/css/43-library-editor.chunk.css +0 -30
  71. package/dist/css/44-library-editor-7b1cd4a5cc.chunk.css +0 -2
  72. package/dist/css/44-library-editor.chunk.css +0 -12
  73. package/dist/css/45-library-editor-f1820aeeff.chunk.css +0 -2
  74. package/dist/css/45-library-editor.chunk.css +0 -25
  75. package/dist/css/46-library-editor-547abc7492.chunk.css +0 -2
  76. package/dist/css/46-library-editor.chunk.css +0 -24
  77. package/dist/css/47-library-editor-3f6fb7f3ab.chunk.css +0 -2
  78. package/dist/css/47-library-editor.chunk.css +0 -84
  79. package/dist/css/48-library-editor-467e156ba3.chunk.css +0 -2
  80. package/dist/css/48-library-editor.chunk.css +0 -4
  81. package/dist/css/49-library-editor.chunk.css +0 -33
  82. package/dist/css/49.chunk.css +0 -33
  83. package/dist/css/5-library-editor-24603066ed.chunk.css +0 -6
  84. package/dist/css/50-library-editor-7aca18778d.chunk.css +0 -2
  85. package/dist/css/50-library-editor.chunk.css +0 -20
  86. package/dist/css/51-library-editor-81c5aced1f.chunk.css +0 -2
  87. package/dist/css/51-library-editor.chunk.css +0 -37
  88. package/dist/css/52-library-editor.chunk.css +0 -64
  89. package/dist/css/52.chunk.css +0 -64
  90. package/dist/css/54-library-editor-d3b8bb68f9.chunk.css +0 -2
  91. package/dist/css/55-library-editor-94a8c4e7fa.chunk.css +0 -2
  92. package/dist/css/55-library-editor.chunk.css +0 -3
  93. package/dist/css/56-library-editor-61808b02a0.chunk.css +0 -2
  94. package/dist/css/56-library-editor.chunk.css +0 -3
  95. package/dist/css/57-library-editor-c49b3847df.chunk.css +0 -2
  96. package/dist/css/58-library-editor-8f5e04b64a.chunk.css +0 -2
  97. package/dist/css/58-library-editor.chunk.css +0 -3
  98. package/dist/css/59-library-editor-b64f6f3e74.chunk.css +0 -2
  99. package/dist/css/59-library-editor.chunk.css +0 -3
  100. package/dist/css/6-library-editor-d96af27be1.chunk.css +0 -14
  101. package/dist/css/6-library-editor.chunk.css +0 -42
  102. package/dist/css/60-library-editor.chunk.css +0 -16
  103. package/dist/css/60.chunk.css +0 -16
  104. package/dist/css/61-library-editor-7f123672b2.chunk.css +0 -2
  105. package/dist/css/62-library-editor-61e4c24a7b.chunk.css +0 -2
  106. package/dist/css/62-library-editor.chunk.css +0 -4
  107. package/dist/css/63-library-editor.chunk.css +0 -168
  108. package/dist/css/63.chunk.css +0 -168
  109. package/dist/css/67-library-editor.chunk.css +0 -76
  110. package/dist/css/67.chunk.css +0 -76
  111. package/dist/css/68-library-editor.chunk.css +0 -15
  112. package/dist/css/68.chunk.css +0 -15
  113. package/dist/css/69-library-editor.chunk.css +0 -15
  114. package/dist/css/69.chunk.css +0 -15
  115. package/dist/css/7-library-editor-b08725a10e.chunk.css +0 -2
  116. package/dist/css/7-library-editor.chunk.css +0 -10
  117. package/dist/css/70-library-editor.chunk.css +0 -21
  118. package/dist/css/70.chunk.css +0 -21
  119. package/dist/css/71-library-editor.chunk.css +0 -38
  120. package/dist/css/71.chunk.css +0 -38
  121. package/dist/css/72-library-editor.chunk.css +0 -14
  122. package/dist/css/72.chunk.css +0 -14
  123. package/dist/css/73-library-editor.chunk.css +0 -35
  124. package/dist/css/73.chunk.css +0 -35
  125. package/dist/css/74-library-editor.chunk.css +0 -27
  126. package/dist/css/74.chunk.css +0 -27
  127. package/dist/css/75-library-editor.chunk.css +0 -4
  128. package/dist/css/75.chunk.css +0 -4
  129. package/dist/css/76-library-editor.chunk.css +0 -4
  130. package/dist/css/76.chunk.css +0 -4
  131. package/dist/css/8-library-editor-eb68c1df75.chunk.css +0 -2
  132. package/dist/css/8-library-editor.chunk.css +0 -7
  133. package/dist/css/9-library-editor-fec6984a64.chunk.css +0 -4
  134. package/dist/css/library-editor-app-8d31f0bd76.css +0 -133
  135. package/dist/scripts/0-1896ad7fec.chunk.js +0 -1
  136. package/dist/scripts/0.chunk.js +0 -64
  137. package/dist/scripts/1-0252096024.chunk.js +0 -1
  138. package/dist/scripts/1-a937e78e21.chunk.js +0 -1
  139. package/dist/scripts/1.chunk.js +0 -75
  140. package/dist/scripts/10-9ccbcc7396.chunk.js +0 -1
  141. package/dist/scripts/10-a9679320a1.chunk.js +0 -1
  142. package/dist/scripts/10.chunk.js +0 -62
  143. package/dist/scripts/11-a70b0fc08f.chunk.js +0 -11
  144. package/dist/scripts/11.chunk.js +0 -317
  145. package/dist/scripts/12-71eaeafb58.chunk.js +0 -1
  146. package/dist/scripts/12-f7d3c3eb14.chunk.js +0 -1
  147. package/dist/scripts/12.chunk.js +0 -56
  148. package/dist/scripts/13-05e571645c.chunk.js +0 -1
  149. package/dist/scripts/13.chunk.js +0 -25
  150. package/dist/scripts/14-10db24a21b.chunk.js +0 -1
  151. package/dist/scripts/14-fb181db148.chunk.js +0 -1
  152. package/dist/scripts/14.chunk.js +0 -272
  153. package/dist/scripts/15-c27b6e07d7.chunk.js +0 -1
  154. package/dist/scripts/15-fceeab7012.chunk.js +0 -1
  155. package/dist/scripts/15.chunk.js +0 -35
  156. package/dist/scripts/16-5f822e4179.chunk.js +0 -1
  157. package/dist/scripts/16.chunk.js +0 -79
  158. package/dist/scripts/17-0eb846d9b9.chunk.js +0 -1
  159. package/dist/scripts/17-8cb6e51052.chunk.js +0 -1
  160. package/dist/scripts/17.chunk.js +0 -40
  161. package/dist/scripts/18.chunk.js +0 -40
  162. package/dist/scripts/19.chunk.js +0 -43
  163. package/dist/scripts/2-a6cad67b85.chunk.js +0 -1
  164. package/dist/scripts/2.chunk.js +0 -33
  165. package/dist/scripts/20-415d21bc0f.chunk.js +0 -1
  166. package/dist/scripts/20-4694e953f3.chunk.js +0 -1
  167. package/dist/scripts/20.chunk.js +0 -18
  168. package/dist/scripts/21-31fe65f6fe.chunk.js +0 -1
  169. package/dist/scripts/21-63eb746ac4.chunk.js +0 -1
  170. package/dist/scripts/21.chunk.js +0 -55
  171. package/dist/scripts/22-00be2f39f7.chunk.js +0 -1
  172. package/dist/scripts/22-53683e1113.chunk.js +0 -1
  173. package/dist/scripts/22.chunk.js +0 -47
  174. package/dist/scripts/23-26ce93dca1.chunk.js +0 -1
  175. package/dist/scripts/23-b3e46bcf50.chunk.js +0 -1
  176. package/dist/scripts/23.chunk.js +0 -47
  177. package/dist/scripts/24-bbcd07a4ad.chunk.js +0 -1
  178. package/dist/scripts/24-e6d86a507c.chunk.js +0 -1
  179. package/dist/scripts/24.chunk.js +0 -33
  180. package/dist/scripts/25-89fdb8ae9e.chunk.js +0 -1
  181. package/dist/scripts/25-ca0f4cdb11.chunk.js +0 -1
  182. package/dist/scripts/25.chunk.js +0 -25
  183. package/dist/scripts/26-e0c0653451.chunk.js +0 -1
  184. package/dist/scripts/26.chunk.js +0 -25
  185. package/dist/scripts/27-3d2348bbb9.chunk.js +0 -1
  186. package/dist/scripts/27.chunk.js +0 -10
  187. package/dist/scripts/28-4c412503ce.chunk.js +0 -1
  188. package/dist/scripts/28.chunk.js +0 -334
  189. package/dist/scripts/29-98ee96c8e2.chunk.js +0 -1
  190. package/dist/scripts/29-e6af31fc4a.chunk.js +0 -1
  191. package/dist/scripts/29.chunk.js +0 -202
  192. package/dist/scripts/3-4bec0e8f4a.chunk.js +0 -1
  193. package/dist/scripts/3.chunk.js +0 -49
  194. package/dist/scripts/30-2b6b14974a.chunk.js +0 -1
  195. package/dist/scripts/30.chunk.js +0 -137
  196. package/dist/scripts/31-b7a766b5c6.chunk.js +0 -1
  197. package/dist/scripts/31-ddc6005e61.chunk.js +0 -1
  198. package/dist/scripts/31.chunk.js +0 -113
  199. package/dist/scripts/32-1520e14c6f.chunk.js +0 -1
  200. package/dist/scripts/32-faaa878653.chunk.js +0 -1
  201. package/dist/scripts/32.chunk.js +0 -115
  202. package/dist/scripts/33-a00e22b5c6.chunk.js +0 -1
  203. package/dist/scripts/33.chunk.js +0 -93
  204. package/dist/scripts/34-326bc04c16.chunk.js +0 -1
  205. package/dist/scripts/34-e04439a134.chunk.js +0 -1
  206. package/dist/scripts/34.chunk.js +0 -63
  207. package/dist/scripts/35-1b99032982.chunk.js +0 -1
  208. package/dist/scripts/35-b4f5e76a1c.chunk.js +0 -1
  209. package/dist/scripts/35.chunk.js +0 -48
  210. package/dist/scripts/36-237f8641dc.chunk.js +0 -1
  211. package/dist/scripts/36-b0af9bb208.chunk.js +0 -1
  212. package/dist/scripts/36.chunk.js +0 -33
  213. package/dist/scripts/37-e9abba0fda.chunk.js +0 -1
  214. package/dist/scripts/37.chunk.js +0 -25
  215. package/dist/scripts/38-5a834b8cfc.chunk.js +0 -1
  216. package/dist/scripts/38-d31c013847.chunk.js +0 -1
  217. package/dist/scripts/38.chunk.js +0 -25
  218. package/dist/scripts/39-1084d66957.chunk.js +0 -1
  219. package/dist/scripts/39-c6cddc090b.chunk.js +0 -1
  220. package/dist/scripts/39.chunk.js +0 -19
  221. package/dist/scripts/4-1c1dfe2433.chunk.js +0 -1
  222. package/dist/scripts/4-bf358041e9.chunk.js +0 -1
  223. package/dist/scripts/4.chunk.js +0 -26
  224. package/dist/scripts/40-107eee3179.chunk.js +0 -1
  225. package/dist/scripts/40.chunk.js +0 -182
  226. package/dist/scripts/41-a0e807e2f4.chunk.js +0 -1
  227. package/dist/scripts/41.chunk.js +0 -175
  228. package/dist/scripts/42-4ace7dc078.chunk.js +0 -1
  229. package/dist/scripts/42-ed988e3f2d.chunk.js +0 -1
  230. package/dist/scripts/42.chunk.js +0 -176
  231. package/dist/scripts/43-4a90405f39.chunk.js +0 -1
  232. package/dist/scripts/43.chunk.js +0 -113
  233. package/dist/scripts/44-1d7deb29f3.chunk.js +0 -1
  234. package/dist/scripts/44.chunk.js +0 -122
  235. package/dist/scripts/45-7c7b54fa86.chunk.js +0 -1
  236. package/dist/scripts/45-ecdc8f35ff.chunk.js +0 -1
  237. package/dist/scripts/45.chunk.js +0 -85
  238. package/dist/scripts/46-2514802e6b.chunk.js +0 -1
  239. package/dist/scripts/46-d7378b7299.chunk.js +0 -1
  240. package/dist/scripts/46.chunk.js +0 -78
  241. package/dist/scripts/47-941bca4d28.chunk.js +0 -1
  242. package/dist/scripts/47.chunk.js +0 -70
  243. package/dist/scripts/48-b816dd6f29.chunk.js +0 -1
  244. package/dist/scripts/48.chunk.js +0 -88
  245. package/dist/scripts/49-7100a40b00.chunk.js +0 -1
  246. package/dist/scripts/49.chunk.js +0 -62
  247. package/dist/scripts/5-56dc0cf4d3.chunk.js +0 -1
  248. package/dist/scripts/5-abeccd6d25.chunk.js +0 -1
  249. package/dist/scripts/5.chunk.js +0 -10
  250. package/dist/scripts/50-0fae63024c.chunk.js +0 -1
  251. package/dist/scripts/50.chunk.js +0 -64
  252. package/dist/scripts/51-19eebceba1.chunk.js +0 -1
  253. package/dist/scripts/51.chunk.js +0 -55
  254. package/dist/scripts/52-b3b59cb367.chunk.js +0 -1
  255. package/dist/scripts/52.chunk.js +0 -47
  256. package/dist/scripts/53-4138309573.chunk.js +0 -1
  257. package/dist/scripts/53.chunk.js +0 -56
  258. package/dist/scripts/54-5ff1f1ae99.chunk.js +0 -1
  259. package/dist/scripts/54-7ed93c3099.chunk.js +0 -1
  260. package/dist/scripts/54.chunk.js +0 -56
  261. package/dist/scripts/55-3497f6f8f6.chunk.js +0 -1
  262. package/dist/scripts/55.chunk.js +0 -41
  263. package/dist/scripts/56-11e9b487a7.chunk.js +0 -1
  264. package/dist/scripts/56-2920fec1d6.chunk.js +0 -1
  265. package/dist/scripts/56.chunk.js +0 -41
  266. package/dist/scripts/57-0ebd6896c1.chunk.js +0 -1
  267. package/dist/scripts/57-1dbfc6cc21.chunk.js +0 -1
  268. package/dist/scripts/57.chunk.js +0 -50
  269. package/dist/scripts/58-bd86d244ca.chunk.js +0 -1
  270. package/dist/scripts/58-d459172602.chunk.js +0 -1
  271. package/dist/scripts/58.chunk.js +0 -33
  272. package/dist/scripts/59-1a216fcead.chunk.js +0 -1
  273. package/dist/scripts/59.chunk.js +0 -33
  274. package/dist/scripts/6-6f95f8dca9.chunk.js +0 -1
  275. package/dist/scripts/6-761fc04f5a.chunk.js +0 -1
  276. package/dist/scripts/6.chunk.js +0 -40
  277. package/dist/scripts/60-d7ae18c894.chunk.js +0 -1
  278. package/dist/scripts/60.chunk.js +0 -33
  279. package/dist/scripts/61-ab0b757ac4.chunk.js +0 -1
  280. package/dist/scripts/61-e21c38e6ad.chunk.js +0 -1
  281. package/dist/scripts/61.chunk.js +0 -33
  282. package/dist/scripts/62-e51c3109a1.chunk.js +0 -1
  283. package/dist/scripts/62.chunk.js +0 -25
  284. package/dist/scripts/63-367c2bc7b9.chunk.js +0 -1
  285. package/dist/scripts/63.chunk.js +0 -25
  286. package/dist/scripts/64-412c40e41f.chunk.js +0 -1
  287. package/dist/scripts/64.chunk.js +0 -33
  288. package/dist/scripts/65-ed951170ce.chunk.js +0 -1
  289. package/dist/scripts/65.chunk.js +0 -34
  290. package/dist/scripts/66-5af63166cd.chunk.js +0 -1
  291. package/dist/scripts/66.chunk.js +0 -33
  292. package/dist/scripts/67-1d9dd19e42.chunk.js +0 -1
  293. package/dist/scripts/67-71fccc45c2.chunk.js +0 -1
  294. package/dist/scripts/67.chunk.js +0 -25
  295. package/dist/scripts/68-ff1015da34.chunk.js +0 -1
  296. package/dist/scripts/68.chunk.js +0 -25
  297. package/dist/scripts/69-bb09eb0f05.chunk.js +0 -1
  298. package/dist/scripts/69.chunk.js +0 -25
  299. package/dist/scripts/7-7f5ce7e0da.chunk.js +0 -1
  300. package/dist/scripts/7-899302c16f.chunk.js +0 -1
  301. package/dist/scripts/7.chunk.js +0 -33
  302. package/dist/scripts/70-4920915604.chunk.js +0 -1
  303. package/dist/scripts/70.chunk.js +0 -25
  304. package/dist/scripts/71-ca0b28a01d.chunk.js +0 -1
  305. package/dist/scripts/71.chunk.js +0 -25
  306. package/dist/scripts/72-8e8580bdbe.chunk.js +0 -1
  307. package/dist/scripts/72.chunk.js +0 -25
  308. package/dist/scripts/73.chunk.js +0 -25
  309. package/dist/scripts/74.chunk.js +0 -25
  310. package/dist/scripts/75.chunk.js +0 -25
  311. package/dist/scripts/76.chunk.js +0 -25
  312. package/dist/scripts/77.chunk.js +0 -26
  313. package/dist/scripts/78.chunk.js +0 -26
  314. package/dist/scripts/79.chunk.js +0 -26
  315. package/dist/scripts/8-94b673b9c2.chunk.js +0 -1
  316. package/dist/scripts/8.chunk.js +0 -33
  317. package/dist/scripts/80.chunk.js +0 -26
  318. package/dist/scripts/81.chunk.js +0 -26
  319. package/dist/scripts/82.chunk.js +0 -26
  320. package/dist/scripts/83.chunk.js +0 -26
  321. package/dist/scripts/84.chunk.js +0 -26
  322. package/dist/scripts/85.chunk.js +0 -26
  323. package/dist/scripts/86.chunk.js +0 -18
  324. package/dist/scripts/87.chunk.js +0 -18
  325. package/dist/scripts/88.chunk.js +0 -18
  326. package/dist/scripts/89.chunk.js +0 -18
  327. package/dist/scripts/9-02b8b8184b.chunk.js +0 -1
  328. package/dist/scripts/9-ec75826552.chunk.js +0 -1
  329. package/dist/scripts/9.chunk.js +0 -18
  330. package/dist/scripts/90.chunk.js +0 -18
  331. package/dist/scripts/91.chunk.js +0 -18
  332. package/dist/scripts/92.chunk.js +0 -18
  333. package/dist/scripts/bundle-210627add9.min.js +0 -10
  334. package/dist/scripts/bundle-8853c11e8b.min.js +0 -8
  335. package/dist/scripts/bundle.js +0 -7667
  336. package/dist/scripts/polyfills-1ff4d28da8.min.js +0 -1
  337. package/dist/scripts/polyfills-f4207eea5b.min.js +0 -1
  338. package/dist/scripts/polyfills.js +0 -2694
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[6],{1237:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return" cursor-pointer"},3:function(t,e,n,o,r){return"checked"},5:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="custom-control custom-checkbox '+a(l(null!=(i=null!=e?e.options:e)?i.checkboxClassName:i,e))+'">\r\n <input name="checkbox-'+a(l(null!=(i=null!=e?e.options:e)?i.id:i,e))+'" id="checkbox-'+a(l(null!=(i=null!=e?e.options:e)?i.id:i,e))+'" type="checkbox" class="custom-control-input'+(null!=(i=n.unless.call(u,null!=(i=null!=e?e.options:e)?i.disabled:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'" '+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.checked:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+" "+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.disabled:i,{name:"if",hash:{},fn:t.program(5,r,0),inverse:t.noop,data:r}))?i:"")+' />\r\n <label class="custom-control-label'+(null!=(i=n.unless.call(u,null!=(i=null!=e?e.options:e)?i.disabled:i,{name:"unless",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'" for="checkbox-'+a(l(null!=(i=null!=e?e.options:e)?i.id:i,e))+'">&nbsp;</label>\r\n</div>'},useData:!0})},1244:function(t,e,n){"use strict";n.d(e,"a",(function(){return d})),n.d(e,"b",(function(){return g}));var o=n(1),r=n(2),i=n(1237),l=n.n(i),a=n(12);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=y(t);if(e){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d="checkbox-all",g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&f(t,e)}(u,t);var e,n,r,i=p(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,t)}return e=u,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"getViewModel",value:function(){this.model=a.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change",this.onChange)}},{key:"events",value:function(){return{"change .custom-control-input":"onClick"}}},{key:"onChange",value:function(){this.checkAllChecked(),this.render()}},{key:"checkAllChecked",value:function(){var t=o.values(this.model.omit("all",d));o.every(t,(function(t){return!!t}))&&(this.model.get("all")||t.length===this.options.numberOfItems)&&this.model.set(c({all:!0},this.getItemId(),!0))}},{key:"getItemId",value:function(){return d}},{key:"onClick",value:function(){this.model.get(this.getItemId())?this.model.clear():(this.model.clear(),this.model.set(c({all:!0},this.getItemId(),!0)))}},{key:"viewOptions",value:function(){return{id:this.getItemId(),checked:this.model.get(d),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return l.a}}])&&s(e.prototype,n),r&&s(e,r),u}(r.a.Component)},1251:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var o=n(2),r=n(1237),i=n.n(r),l=n(12),a=n(1244);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=h(t);if(e){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(u,t);var e,n,o,r=f(u);function u(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),r.call(this,t)}return e=u,(n=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var t=this.getItemId();this.model.set(t,!0,{silent:!0})}}},{key:"getViewModel",value:function(){this.model=l.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change:all change:".concat(this.getItemId()),this.render)}},{key:"events",value:function(){return{"click .custom-checkbox":"onClickCheckbox","change .custom-control-input":"onChangeCheckbox"}}},{key:"getItemId",value:function(){return this.options.itemId.toString()}},{key:"onClickCheckbox",value:function(t){t.stopPropagation()}},{key:"onChangeCheckbox",value:function(){if(!this.options.disabled){var t=this.getItemId();this.model.has(t)||this.model.get("all")?!1===this.model.get(t)?this.model.set(t,!0):(this.model.set(t,!1),this.model.set(a.a,!1)):this.model.set(t,!0)}}},{key:"viewOptions",value:function(){var t=this.getItemId();return{id:t,checked:this.model.has(t)?this.model.get(t):this.model.get("all"),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return i.a}}])&&c(e.prototype,n),o&&c(e,o),u}(o.a.Component)},1306:function(t,e,n){"use strict";var o=n(2),r=n(15),i=n(0),l=n(320),a=n(1561),u=n.n(a);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function f(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function p(t,e){return(p=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function h(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=d(t);if(e){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function d(t){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&p(t,e)}(c,t);var e,n,o,a=h(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"regions",value:function(){return{generateReport:{el:".generate-report-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:l,warningSvg:r.a.getSvg(r.b.Warning)}}},{key:"onRender",value:function(){this.showChildView("generateReport",new Ae)}},{key:"name",get:function(){return"SearchBarComponent"}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"migrationWizard.searchBar"}},{key:"className",get:function(){var t="container";return"publisher-archive"===this.options.selected&&(t+=" ".concat(l.publisherArchive)),"migration-errors"===this.options.selected&&(t+=" ".concat(l.migrationErrors)),"none"===this.options.selected&&(t+=" ".concat(l.none)),t}},{key:"elements",get:function(){return{search:".search"}}},{key:"appLinks",get:function(){var t;return s(t={},".".concat(l.reviewErroredAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}),s(t,".".concat(l.publisherArchiveAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.HOME}),t}}])&&f(e.prototype,n),o&&f(e,o),c}(o.a.Component),b=n(1),m=n(6),v=n(1244),k=n(12),O=n(187),w=n(1313),C=n(47),x=n(321),R=n.n(x),S=n(1562),_=n.n(S);function E(t){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function j(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function I(t,e){return(I=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=M(t);if(e){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(t,e){return!e||"object"!==E(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function M(t){return(M=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var D=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&I(t,e)}(a,t);var e,n,o,l=P(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.listenTo(this.viewModel,"change:".concat(v.a),this.onCheckboxChange)}},{key:"viewOptions",value:function(){return{styles:R.a,showCategory:this.options.searchTerm,sortSvg:r.a.getSvg(r.b.UpDown)}}},{key:"events",value:function(){return{"click .sort-title":"sortTitle","click .sort-views":"sortViews"}}},{key:"regions",value:function(){return{selectAll:{replaceElement:!0,el:".select-all"}}}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.options.folderChord}},{key:"onRender",value:function(){this.showChildView("selectAll",new v.b({type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,key:this.getCheckboxKey(),disabled:0===this.getVideosThatCanBeMigrated().length,className:"".concat(R.a.bulkCheckbox," position-relative d-inline-block"),numberOfItems:this.collection.length}))}},{key:"sortTitle",value:function(){this.sort(C.e.Title)}},{key:"sortViews",value:function(){this.sort(C.e.Views)}},{key:"getVideosThatCanBeMigrated",value:function(){return this.collection.filter((function(t){return t.get("migrationStatus")===w.a.HasNotBeenMigrated}))}},{key:"sort",value:function(t){m.Radio.channel(i.e.MIGRATION).trigger(i.i.MigrationWizard.SORT_VIDEOS,t)}},{key:"onCheckboxChange",value:function(){var t=m.Radio.channel(this.options.channelName),e=this.viewModel.get(v.a),n=this.getVideosThatCanBeMigrated();e?t.trigger("add:selected",n,this.options.folderChord):b.isUndefined(e)&&t.trigger("remove:selected",n,this.options.folderChord)}},{key:"name",get:function(){return"SortingRowComponent"}},{key:"template",get:function(){return _.a}},{key:"className",get:function(){return"row no-gutters px-2 py-1 ".concat(R.a.sortingRow)}},{key:"lang",get:function(){return"migrationWizard.sortingRow"}},{key:"elements",get:function(){return{sortOption:".sort"}}}])&&j(e.prototype,n),o&&j(e,o),a}(o.a.Component),V=n(1563),L=n.n(V),N=n(276);function B(t){return(B="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function A(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function z(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=U(t);if(e){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return G(this,n)}}function G(t,e){return!e||"object"!==B(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function U(t){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var H=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(i,t);var e,n,o,r=z(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"events",value:function(){return{"click .applink-next":"onClickNext","click .applink-back":"onClickBack"}}},{key:"onClickNext",value:function(){this.options.nextDisabled||b.isFunction(this.options.onClickNext)&&this.options.onClickNext()}},{key:"onClickBack",value:function(){b.isFunction(this.options.onClickBack)&&this.options.onClickBack()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:N},this.options),{multipleVideosAvailable:1!==this.options.numberAvailable,numberAvailable:this.options.numberAvailable||0,videoCount:this.options.numberSelected||0})}},{key:"name",get:function(){return"StatusBarComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(N.statusBar)}},{key:"template",get:function(){return L.a}},{key:"lang",get:function(){return"migrationWizard.statusBar"}},{key:"appLinks",get:function(){var t=this.options,e=t.nextAppLink,n=t.backAppLink,o={".applink-next":e};return n&&(o[".applink-back"]=n),o}}])&&A(e.prototype,n),o&&A(e,o),i}(o.a.Component),K=n(5),Z=n(322),F=n.n(Z),Y=n(1564),J=n.n(Y),X=n(1251);function q(t){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Q(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e){return(tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function et(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ot(t);if(e){var r=ot(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return nt(this,n)}}function nt(t,e){return!e||"object"!==q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ot(t){return(ot=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var rt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&tt(t,e)}(l,t);var e,n,o,r=et(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.selectedVideoService=K.a.getInstance(i.x.SelectedVideo,this),this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.viewModel,"change:".concat(this.getCheckboxId()),this.onCheckboxChange)}},{key:"regions",value:function(){return{bulkCheckbox:{replaceElement:!0,el:".bulk-checkbox-region"},errorCode:{replaceElement:!0,el:".error-code-region"}}}},{key:"hasBeenMigrated",value:function(){return this.model.get("migrationStatus")!==w.a.HasNotBeenMigrated}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.model.get("categoryChord")}},{key:"getCheckboxId",value:function(){return this.model.get("id")}},{key:"onCheckboxChange",value:function(){if(!this.hasBeenMigrated()){var t=this.viewModel.get("".concat(this.getCheckboxId()));t?this.selectedVideoService.addSelectedVideos(this.model,this.options.folderChord):b.isUndefined(t)||this.selectedVideoService.removeSelectedVideos(this.model,this.options.folderChord)}}},{key:"shouldRender",value:function(){return!this.model.get("hidden")}},{key:"renderCheckbox",value:function(){var t=this.hasBeenMigrated(),e=t?" ".concat(F.a.faded):"",n=this.model.get("selected")||this.model.get("checkedForMigration")||t;this.showChildView("bulkCheckbox",new X.a({checked:n,checkboxClassName:e,disabled:t,key:this.getCheckboxKey(),itemId:this.getCheckboxId(),type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,className:"".concat(F.a.bulkCheckbox," position-relative d-inline-block")}))}},{key:"onBeforeRender",value:function(){return this.shouldRender()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:F.a},this.options),{migrated:this.hasBeenMigrated(),views:this.model.get("viewsLast3Years")})}},{key:"onRender",value:function(){this.renderCheckbox()}},{key:"template",get:function(){return J.a}},{key:"name",get:function(){return"MigrationVideoItemComponent"}},{key:"className",get:function(){if(this.shouldRender())return"col-12 py-1 ".concat(F.a.videoRow)}},{key:"lang",get:function(){return"migrationWizard.migrationVideoItem"}},{key:"appLinks",get:function(){return{".applink-show":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.SHOW_PUBLISHER_VIDEO,args:[this.model.get("trackingCode")]},".applink-remigrate":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.REMIGRATE_VIDEO,args:[this.model.get("id").toString(),this.model.get("masterId")&&this.model.get("masterId").toString(),this.model.get("categoryChord")]}}}}])&&Q(e.prototype,n),o&&Q(e,o),l}(o.a.Component),it=n(3),lt=n(1314),at=n(1565),ut=n.n(at);function ct(t){return(ct="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function st(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function ft(t,e){return(ft=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=yt(t);if(e){var r=yt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ht(this,n)}}function ht(t,e){return!e||"object"!==ct(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function yt(t){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var dt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ft(t,e)}(l,t);var e,n,o,r=pt(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"regions",value:function(){return{videoListSort:{replaceElement:!0,el:".video-sorting-region"},videoList:{el:".video-list-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.SORT_VIDEOS,this.sort),this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.TOGGLE_MIGRATED,this.toggleMigrated)}},{key:"toggleMigrated",value:function(t){this.collection&&0!==this.collection.length&&(this.collection=lt.a.toggleMigrated(this.collection,t),this.render())}},{key:"sort",value:function(t){0!==this.collection.length&&(this.sortedBy=this.sortedBy===t?void 0:t,this.collection=lt.a.sortVideos(this.collection,t,this.sortedBy===t),this.renderVideoList())}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new re({text:it.a.getPhrase(this.lang,"noVideos")}))}},{key:"renderSortingRow",value:function(){this.showChildView("videoListSort",new D({collection:this.collection,folderChord:this.options.folderChord,searchTerm:this.options.searchTerm,channelName:this.options.channelName}))}},{key:"renderVideoList",value:function(){this.showChildView("videoList",new xt({folderChord:this.options.folderChord,collection:this.collection,searchTerm:this.options.searchTerm,supportSiteUrl:this.options.supportSiteUrl}))}},{key:"onRender",value:function(){this.renderSortingRow(),0!==this.collection.where({hidden:!1}).length?this.renderVideoList():this.renderEmptyMessage()}},{key:"name",get:function(){return"VideoListCollection"}},{key:"template",get:function(){return ut.a}},{key:"lang",get:function(){return"migrationWizard.videoList"}}])&&st(e.prototype,n),o&&st(e,o),l}(o.a.Component),gt=n(1566),bt=n.n(gt);function mt(t){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function kt(t,e){return(kt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ct(t);if(e){var r=Ct(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return wt(this,n)}}function wt(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ct(t){return(Ct=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var xt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&kt(t,e)}(i,t);var e,n,o,r=Ot(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"name",get:function(){return"VideoListCollectionComponent"}},{key:"className",get:function(){return bt.a.videoList}},{key:"childView",get:function(){return rt}},{key:"childViewOptions",get:function(){return{folderChord:this.options.folderChord,searchTerm:this.getOption("searchTerm"),supportSiteUrl:this.options.supportSiteUrl}}}])&&vt(e.prototype,n),o&&vt(e,o),i}(o.a.ComponentCollection),Rt=n(81),St=n(1567),_t=n.n(St),Et=n(1568),jt=n.n(Et);function It(t){return(It="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Pt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Tt(t,e){return(Tt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Vt(t);if(e){var r=Vt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Dt(this,n)}}function Dt(t,e){return!e||"object"!==It(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Vt(t){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Lt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tt(t,e)}(l,t);var e,n,o,r=Mt(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"viewOptions",value:function(){return{styles:_t.a,learnMoreUrl:this.getLearnMoreUrl()}}},{key:"getLearnMoreUrl",value:function(){var t=this.config.get("supportSiteUrl");return Rt.a.safeUrlConcat(t,i.y.PUBLISHER_ARCHIVE)}},{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(_t.a.banner)}},{key:"lang",get:function(){return"migrationWizard.banner"}},{key:"props",get:function(){return["config"]}},{key:"template",get:function(){return jt.a}}])&&Pt(e.prototype,n),o&&Pt(e,o),l}(o.a.Component),Nt=n(1569),Bt=n.n(Nt),At=n(1570),Wt=n.n(At);function zt(t){return(zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Gt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ut(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ht(t,e){return(Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ft(t);if(e){var r=Ft(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Zt(this,n)}}function Zt(t,e){return!e||"object"!==zt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ft(t){return(Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Yt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}(i,t);var e,n,o,r=Kt(i);function i(){return Gt(this,i),r.apply(this,arguments)}return e=i,(n=[{key:"viewOptions",value:function(){return{styles:Bt.a,folder:this.model.get("folderChord").split("->").join(" / "),videoCount:this.model.get("count")}}},{key:"name",get:function(){return"SelectedVideoItemComponent"}},{key:"template",get:function(){return Wt.a}},{key:"lang",get:function(){return"migrationWizard.selectedVideoItem"}},{key:"className",get:function(){return"ml-2 pt-1"}}])&&Ut(e.prototype,n),o&&Ut(e,o),i}(o.a.Component),Jt=n(1571),$t=n(1572),Xt=n.n($t);function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function te(t,e){return(te=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=oe(t);if(e){var r=oe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ne(this,n)}}function ne(t,e){return!e||"object"!==qt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function oe(t){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var re=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&te(t,e)}(i,t);var e,n,o,r=ee(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"viewOptions",value:function(){return{text:this.options.text}}},{key:"name",get:function(){return"EmptyVideoListComponent"}},{key:"className",get:function(){return"d-flex justify-content-center align-items-center text-muted p-5 ".concat(Jt.videoList)}},{key:"template",get:function(){return Xt.a}}])&&Qt(e.prototype,n),o&&Qt(e,o),i}(o.a.Component),ie=n(1573),le=n.n(ie),ae=n(1574),ue=n.n(ae);function ce(t){return(ce="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function se(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function fe(t,e){return(fe=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ye(t);if(e){var r=ye(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return he(this,n)}}function he(t,e){return!e||"object"!==ce(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ye(t){return(ye=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var de=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fe(t,e)}(i,t);var e,n,o,r=pe(i);function i(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,t)}return e=i,(n=[{key:"viewOptions",value:function(){return{styles:le.a,background:this.options.backgroundClass,progress:this.options.percentage}}},{key:"update",value:function(){var t=this.getUI("progressBar"),e=this.getUI("progressText");t&&t.get(0)&&$(t.get(0)).css("width","".concat(this.model.get("percentage"),"%")),e&&e.get(0)&&$(e.get(0)).text("".concat(this.model.get("percentage"),"%"))}},{key:"onRender",value:function(){this.update()}},{key:"name",get:function(){return"ProgressBarComponent"}},{key:"className",get:function(){return this.options.class||""}},{key:"template",get:function(){return ue.a}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}}])&&se(e.prototype,n),o&&se(e,o),i}(o.a.Component),ge=n(1312),be=n(1374),me=n(1575),ve=n.n(me);function ke(t){return(ke="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Oe(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function we(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ce(t,e){return(Ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function xe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Se(t);if(e){var r=Se(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Re(this,n)}}function Re(t,e){return!e||"object"!==ke(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Se(t){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var _e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ce(t,e)}(a,t);var e,n,r,l=xe(a);function a(){var t;return Oe(this,a),(t=l.apply(this,arguments)).buttonDisabled=!0,t}return e=a,(n=[{key:"initialize",value:function(){this.migrationVideoDataService=K.a.getInstance(i.g.MigrationVideo,this),this.bindListeners()}},{key:"events",value:function(){return{"click .options":"onClickOptionsContainer","change #migrated-option":"onToggleMigratedOption","change #remaining-option":"onToggleRemainingOption","change #errored-option":"onToggleErroredOption","change #content-matched-option":"onToggleContentMatchedOption","click .generate-report":"onClickSubmit"}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,"get:migration:report:options",this.render)}},{key:"onClickOptionsContainer",value:function(t){t.stopPropagation()}},{key:"onToggleMigratedOption",value:function(){var t=this.reportOptions[C.d.Migrated];t.selected=!t.selected,this.updateButton()}},{key:"onToggleRemainingOption",value:function(){var t=this.reportOptions[C.d.Remaining];t.selected=!t.selected,this.updateButton()}},{key:"onToggleErroredOption",value:function(){var t=this.reportOptions[C.d.Errored];t.selected=!t.selected,this.updateButton()}},{key:"onToggleContentMatchedOption",value:function(){var t=this.reportOptions[C.d.ContentMatched];t.selected=!t.selected,this.updateButton()}},{key:"onClickSubmit",value:function(){this.buttonDisabled||o.a.AppLinkHelper.trigger({application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.GENERATE_CSV_REPORT,params:{options:be.a.filterSelectedOptions(this.reportOptions)}})}},{key:"updateButton",value:function(){var t=this.getUI("generateReportBtn");be.a.filterSelectedOptions(this.reportOptions).length?(this.buttonDisabled=!1,t.removeAttr("disabled")):(this.buttonDisabled=!0,t.attr("disabled","disabled"))}},{key:"fetchMigrationReportOptions",value:function(){var t=this;this.migrationVideoDataService.getMigrationReportOptions((function(e){t.reportOptions=be.a.processValidReportOptions(e),t.render()}))}},{key:"viewOptions",value:function(){return{reportOptions:this.reportOptions}}},{key:"onRender",value:function(){this.reportOptions||this.fetchMigrationReportOptions()}},{key:"name",get:function(){return"GenerateReportComponent"}},{key:"template",get:function(){return ve.a}},{key:"className",get:function(){return"dropdown-menu dropdown-menu-right dropdown-arrow"}},{key:"lang",get:function(){return"migrationWizard.generateReport"}},{key:"elements",get:function(){return{generateReportBtn:".generate-report"}}}])&&we(e.prototype,n),r&&we(e,r),a}(o.a.Component),Ee=n(1576),je=n.n(Ee),Ie=n(1577),Pe=n.n(Ie);function Te(t){return(Te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Me(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function De(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Ve(t,e){return(Ve=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Le(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Be(t);if(e){var r=Be(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ne(this,n)}}function Ne(t,e){return!e||"object"!==Te(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Be(t){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ae=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ve(t,e)}(i,t);var e,n,o,r=Le(i);function i(){return Me(this,i),r.apply(this,arguments)}return e=i,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:Pe.a}}},{key:"onRender",value:function(){this.showChildView("options",new _e)}},{key:"name",get:function(){return"GenerateReportButtonComponent"}},{key:"template",get:function(){return je.a}},{key:"lang",get:function(){return"migrationWizard.generateReportButton"}}])&&De(e.prototype,n),o&&De(e,o),i}(o.a.Component);n.d(e,"h",(function(){return g})),n.d(e,"j",(function(){return D})),n.d(e,"k",(function(){return H})),n.d(e,"e",(function(){return rt})),n.d(e,"l",(function(){return dt})),n.d(e,"m",(function(){return xt})),n.d(e,"a",(function(){return Lt})),n.d(e,"i",(function(){return Yt})),n.d(e,"b",(function(){return re})),n.d(e,"f",(function(){return de})),n.d(e,"g",(function(){return ge.a})),n.d(e,"d",(function(){return _e})),n.d(e,"c",(function(){return Ae}))},1312:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var o=n(2),r=n(1372),i=n.n(r),l=n(1373),a=n.n(l);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function s(t,e){return(s=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=h(t);if(e){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&s(t,e)}(l,t);var e,n,o,r=f(l);function l(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,t)}return e=l,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var t=this.model.get("percentage")||0,e=this.getUI("circle").get(0),n=2*e.r.baseVal.value*Math.PI;e.style.strokeDasharray="".concat(n," ").concat(n),e.style.strokeDashoffset=n;var o=n-t/100*n;e.style.strokeDashoffset=o;var r=this.getUI("text");r&&r.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a.Component)},1313:function(t,e,n){"use strict";var o;n.d(e,"a",(function(){return o})),function(t){t[t.NeedsManualReview=-1]="NeedsManualReview",t[t.HasNotBeenMigrated=0]="HasNotBeenMigrated",t[t.MigratedByUser=1]="MigratedByUser"}(o||(o={}))},1314:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var o=n(1),r=n(2),i=n(86),l=n(1313),a={setChecked:function(t,e,n){t.set("selected",!1);var r=n&&t.get("viewsLast3Years")>0;(o.contains(e,t.id.toString())||r&&0===e.length)&&t.set("selected",!0)},sortVideos:function(t,e,n){var o="name";return t.comparator=function(t,r){t.keys().forEach((function(t){t===e&&(o=t)}));var i=t.get(o),l=r.get(o);return"string"==typeof i&&"string"==typeof l&&(i=i.toLowerCase(),l=l.toLowerCase()),i<l?n?1:-1:i>l?n?-1:1:0},t.sort(),t},toggleMigrated:function(t,e){return t.each((function(t){var n=t.get("migrationStatus")!==l.a.HasNotBeenMigrated,r=t.get("hidden");!o.isUndefined(e)&&n?t.set("hidden",e):n?t.set("hidden",!r):t.set("hidden",!1)})),t},getSelectedVideosCollection:function(t){var e=new r.a.Collection;return Object.keys(t).forEach((function(n){var o=t[n],r=o.id,l=o.folderChord,a=e.findWhere({folderChord:l});a?(a.set("count",a.get("count")+1),a.get("videoIds").push(r)):e.add(new i.f({count:1,folderChord:l,videoIds:[r]}))})),e.each((function(t){t.set("folderChord",t.get("folderChord"))})),e}}},1372:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1373:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return' <span class="'+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+a(l(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+a(l(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=e?e.options:e)?i.percentage:i},data:r}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.text:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+' </span>\r\n\r\n <svg class="'+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircle:i,e))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1374:function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var o=n(1),r=n(3),i=n(47);function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a="migrationWizard.utils",u={getReportOptions:function(){var t;return l(t={},i.d.Migrated,{id:"migrated",type:"homemigrator.le.migration.migrated.report",labelText:r.a.getPhrase(a,"migratedOption")}),l(t,i.d.Remaining,{id:"remaining",type:"homemigrator.le.migration.videos.remaining.report",labelText:r.a.getPhrase(a,"remainingOption")}),l(t,i.d.Errored,{id:"errored",type:"homemigrator.le.migration.error.report",labelText:r.a.getPhrase(a,"erroredOption")}),l(t,i.d.ContentMatched,{id:"content-matched",type:"homemigrator.le.migration.content.matched.report",labelText:r.a.getPhrase(a,"linkedOption")}),t},processValidReportOptions:function(t){var e=this.getReportOptions(),n={};return o.each(o.keys(e),(function(r){o.contains(t,e[r].type)&&(n[r]=e[r])})),n},filterSelectedOptions:function(t){return o.filter(o.keys(t),(function(e){return t[e].selected})).map((function(e){return t[e].id}))},getSelectedOptionsText:function(t){var e=this.getReportOptions();return o.filter(o.keys(e),(function(n){return o.contains(t,e[n].id)})).map((function(t){return e[t].labelText}))}}},1561:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing;return'<div class="row '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.tabContainer:i,e))+' position-relative">\r\n <a class="col-4 p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.publisherArchiveAppLink:i,e))+'"><h1 class="m-0 h5">'+a((n.lang||e&&e.lang||c).call(u,"addVideos",{name:"lang",hash:{},data:r}))+'</h1></a>\r\n <a class="p-3 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.reviewErroredAppLink:i,e))+'"><h1 class="m-0 h5">'+a((n.lang||e&&e.lang||c).call(u,"migrationWarnings",{name:"lang",hash:{},data:r}))+'<span class="ml-2 svg-container d-inline-block '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+'">'+(null!=(i=l(null!=(i=null!=e?e.options:e)?i.warningSvg:i,e))?i:"")+'</span></h1></a>\r\n <div class="generate-report-region"></div>\r\n</div>'},useData:!0})},1562:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression,u=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing;return'<div class="col-8">\r\n <div class="select-all"></div>\r\n <div class="align-middle d-inline-block">\r\n <span class="cursor-pointer sort sort-title '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.sortOption:i,e))+'">\r\n <span>'+a((n.lang||e&&e.lang||c).call(u,"sortTitle",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+'">'+(null!=(i=l(null!=(i=null!=e?e.options:e)?i.sortSvg:i,e))?i:"")+'</span>\r\n </span>\r\n </div>\r\n</div>\r\n\r\n<div class="col-4 pr-3 text-right">\r\n <span class="cursor-pointer sort mr-3 sort-views '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.sortOption:i,e))+'">\r\n <span>'+a((n.lang||e&&e.lang||c).call(u,"sortViews",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.svgContainer:i,e))+'">'+(null!=(i=l(null!=(i=null!=e?e.options:e)?i.sortSvg:i,e))?i:"")+"</span>\r\n </span>\r\n</div>"},useData:!0})},1563:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <button class="applink-back btn btn-secondary '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.button:i,e))+'">\r\n '+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"back",{name:"lang",hash:{},data:r}))+"\r\n </button>\r\n"},3:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <span class="align-middle '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.statusBarMessage:i,e))+'">\r\n '+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"videosSelected",{name:"lang",hash:{videoCount:null!=(i=null!=e?e.options:e)?i.videoCount:i,smartCount:null!=(i=null!=e?e.options:e)?i.numberAvailable:i},data:r}))+"\r\n </span>\r\n"},5:function(t,e,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.lambda,u=t.escapeExpression;return'<div class="row">\r\n <div class="col-4">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showBackButton:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+' </div>\r\n <div class="col-6">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.showSelected:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.noop,data:r}))?i:"")+' </div>\r\n <div class="col-2 text-right">\r\n <button class="applink-next btn btn-primary '+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.button:i,e))+'" '+(null!=(i=n.if.call(l,null!=(i=null!=e?e.options:e)?i.nextDisabled:i,{name:"if",hash:{},fn:t.program(5,r,0),inverse:t.noop,data:r}))?i:"")+">\r\n "+u(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"\r\n </button>\r\n </div>\r\n</div>"},useData:!0})},1564:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){return"text-muted"},3:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <a class="applink-remigrate cursor-pointer '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.viewLink:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"readd",{name:"lang",hash:{},data:r}))+"</a>\r\n"},5:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return' <a class="applink-show cursor-pointer '+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.viewLink:i,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"details",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l,a=t.lambda,u=t.escapeExpression,c=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing;return'<div class="row no-gutters">\r\n <div class="col-8">\r\n <div class="bulk-checkbox-region '+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.bulkCheckbox:i,e))+'"></div>\r\n <a class="applink-show align-middle cursor-pointer mt-2 '+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.videoTitle:i,e))+" "+(null!=(i=n.if.call(c,null!=(i=null!=e?e.options:e)?i.migrated:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'">'+u("function"==typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:s)?l.call(c,{name:"name",hash:{},data:r}):l)+'</a>\r\n </div>\r\n <div class="col-4 position-static">\r\n <div class="row no-gutters">\r\n <div class="col-11 text-right pr-2">\r\n'+(null!=(i=n.if.call(c,null!=(i=null!=e?e.options:e)?i.migrated:i,{name:"if",hash:{},fn:t.program(3,r,0),inverse:t.program(5,r,0),data:r}))?i:"")+' <div class="'+u(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.viewCount:i,e))+'">\r\n <span>\r\n '+u((n.lang||e&&e.lang||s).call(c,"views",{name:"lang",hash:{smartCount:null!=(i=null!=e?e.options:e)?i.views:i},data:r}))+'\r\n </span>\r\n </div>\r\n </div>\r\n <div class="col-1 d-flex justify-content-center position-static">\r\n <div class="error-code-region"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},1565:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="video-sorting-region"></div>\r\n<div class="video-list-region"></div>'},useData:!0})},1566:function(t,e,n){t.exports={videoList:"_3RFYO"}},1567:function(t,e,n){t.exports={banner:"O5CMF",learnMore:"MjcUE"}},1568:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,u=t.escapeExpression,c=t.lambda;return'<span class="text-white mr-1">'+u((n.lang||e&&e.lang||a).call(l,"banner",{name:"lang",hash:{},data:r}))+'</span>\r\n<a href="'+u(c(null!=(i=null!=e?e.options:e)?i.learnMoreUrl:i,e))+'" class="'+u(c(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.learnMore:i,e))+'" target="_blank">'+u((n.lang||e&&e.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1569:function(t,e,n){t.exports={category:"BSPKV"}},1570:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return null!=(i=(n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"selectedVideos",{name:"lang",hash:{folder:null!=(i=null!=e?e.options:e)?i.folder:i,className:null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.category:i,smartCount:null!=(i=null!=e?e.options:e)?i.videoCount:i},data:r}))?i:""},useData:!0})},1571:function(t,e,n){t.exports={videoList:"_3TgUv"}},1572:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;t.propertyIsEnumerable;return'<h3 class="m-0">'+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</h3>"},useData:!0})},1573:function(t,e,n){t.exports={progressBarContainter:"_1aNlZ",progressBar:"_325nt"}},1574:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.lambda,a=t.escapeExpression;return'<div class="row">\r\n <div class="col-11 '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressBarContainter:i,e))+' pl-0">\r\n <div class="progress '+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressBar:i,e))+'">\r\n <div class="progress-bar '+a(l(null!=(i=null!=e?e.options:e)?i.background:i,e))+" "+a(l(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressBar:i,e))+'" role="progressbar" aria-valuenow="'+a(l(null!=(i=null!=e?e.options:e)?i.progress:i,e))+'" aria-valuemin="0" aria-valuemax="100"></div>\r\n </div>\r\n </div>\r\n <div class="col-1 pr-0">\r\n <span class="float-right progress-text">'+a(l(null!=(i=null!=e?e.options:e)?i.progress:i,e))+"%</span>\r\n </div>\r\n</div>\r\n\r\n"},useData:!0})},1575:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i=t.lambda,l=t.escapeExpression;return' <div class="d-flex py-1">\r\n <div class="custom-control custom-checkbox">\r\n <input id="'+l(i(null!=e?e.id:e,e))+'-option" name="checkbox-'+l(i(null!=e?e.id:e,e))+'" type="checkbox" class="custom-control-input cursor-pointer">\r\n <label class="custom-control-label cursor-pointer" for="'+l(i(null!=e?e.id:e,e))+'-option">&nbsp;</label>\r\n </div>\r\n <label for="'+l(i(null!=e?e.id:e,e))+'-option">'+l(i(null!=e?e.labelText:e,e))+"</label>\r\n </div> \r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,u=t.escapeExpression;return'<h1 class="h5 py-1 mx-2">'+u((n.lang||e&&e.lang||a).call(l,"heading",{name:"lang",hash:{},data:r}))+'</h1>\r\n<div class="dropdown-divider"></div>\r\n<p class="m-2 mt-0">'+u((n.lang||e&&e.lang||a).call(l,"options",{name:"lang",hash:{},data:r}))+'</p>\r\n\r\n<div class="mx-2 options">\r\n'+(null!=(i=n.each.call(l,null!=(i=null!=e?e.options:e)?i.reportOptions:i,{name:"each",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'</div>\r\n\r\n<div class="dropdown-divider"></div>\r\n<div class="mr-3">\r\n <button class="btn btn-primary w-100 mx-2 generate-report" disabled>'+u((n.lang||e&&e.lang||a).call(l,"generate",{name:"lang",hash:{},data:r}))+"</button>\r\n</div>"},useData:!0})},1576:function(t,e,n){var o=n(10);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,l=t.escapeExpression;return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="'+l(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.generateReport:i,e))+' mr-2"\r\n>\r\n <div class="btn btn-link border px-2 my-2">\r\n '+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"generateReport",{name:"lang",hash:{},data:r}))+'\r\n </div>\r\n</div>\r\n<div class="options-region"></div>'},useData:!0})},1577:function(t,e,n){t.exports={generateReport:"_2PRgW"}}}]);
@@ -1,40 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[6],{
2
-
3
- /***/ "./src/shared/components/video-description/VideoDescription.hbs":
4
- /***/ (function(module, exports, __webpack_require__) {
5
-
6
- eval("var Handlebars = __webpack_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 \" <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.descriptionWrapper : stack1), depth0))\n + \"\\\">\\r\\n <p class=\\\"description \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.description : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.expandable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.program(4, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"<span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showMoreEllipsis : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.hideEllipsis : stack1), depth0))\n + \"\\\">... \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"showMore\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</span>\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"<span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.singleEllipsis : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.hideEllipsis : stack1), depth0))\n + \"\\\">...</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;\n\n return \" <p class=\\\"\"\n + container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.description : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.truncate : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(6, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vVmlkZW9EZXNjcmlwdGlvbi5oYnMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy92aWRlby1kZXNjcmlwdGlvbi9WaWRlb0Rlc2NyaXB0aW9uLmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCIxXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMC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-
10
- /***/ "./src/shared/components/video-description/VideoDescriptionComponent.ts":
11
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
12
-
13
- "use strict";
14
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VideoDescriptionTruncationSize\", function() { return VideoDescriptionTruncationSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VideoDescriptionComponent\", function() { return VideoDescriptionComponent; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var _VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/components/video-description/VideoDescription.hbs\");\n/* harmony import */ var _VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _video_description_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/shared/components/video-description/video-description.scss\");\n/* harmony import */ var _video_description_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_video_description_scss__WEBPACK_IMPORTED_MODULE_4__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar _VideoDescriptionTrun;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\nvar VideoDescriptionTruncationSize;\n\n(function (VideoDescriptionTruncationSize) {\n VideoDescriptionTruncationSize[\"Small\"] = \"sm\";\n VideoDescriptionTruncationSize[\"Large\"] = \"lg\";\n})(VideoDescriptionTruncationSize || (VideoDescriptionTruncationSize = {}));\n\nvar VideoDescriptionTruncationLineNumbers = (_VideoDescriptionTrun = {}, _defineProperty(_VideoDescriptionTrun, VideoDescriptionTruncationSize.Small, 3), _defineProperty(_VideoDescriptionTrun, VideoDescriptionTruncationSize.Large, 5), _VideoDescriptionTrun);\n/**\r\n * A single line of text = 0.875rem (14px) * 1.5 (line-height) = 21px.\r\n * If we change either the line-height or base font size, this number will\r\n * likely need to be updated too.\r\n */\n\nvar LINE_HEIGHT = 21;\nvar VideoDescriptionComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(VideoDescriptionComponent, _Core$Component);\n\n var _super = _createSuper(VideoDescriptionComponent);\n\n function VideoDescriptionComponent(options) {\n var _this;\n\n _classCallCheck(this, VideoDescriptionComponent);\n\n _this = _super.call(this, options);\n _this.showingMore = false;\n return _this;\n }\n\n _createClass(VideoDescriptionComponent, [{\n key: \"name\",\n get: function get() {\n return 'VideoDescriptionComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'shared.videoDescription';\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return {\n size: 'sm'\n };\n }\n }, {\n key: \"elements\",\n get: function get() {\n return {\n description: \".description\",\n ellipsis: this.options.allowExpand ? \".\".concat(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.showMoreEllipsis) : \".\".concat(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.singleEllipsis)\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return _defineProperty({}, \"click .\".concat(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.showMoreEllipsis), 'onClickShowMore');\n }\n }, {\n key: \"onClickShowMore\",\n value: function onClickShowMore(e) {\n e.preventDefault();\n this.showingMore ? this.showLessDescription() : this.showMoreDescription();\n }\n }, {\n key: \"getDescription\",\n value: function getDescription() {\n if (this.options.linkify) return shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].linkifyText(shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].escapeExpression(this.model.get('description')));\n if (this.options.highlighter) return shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].wordsHighlighter(shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].escapeExpression(this.model.get('description')), this.model.get('_matchedWords'));\n }\n }, {\n key: \"getDescriptionElements\",\n value: function getDescriptionElements() {\n var descriptionTextEl = this.getUI('description');\n var ellipsisEl = this.getUI('ellipsis');\n return {\n descriptionTextEl: descriptionTextEl,\n ellipsisEl: ellipsisEl\n };\n }\n }, {\n key: \"showMoreDescription\",\n value: function showMoreDescription() {\n var _this$getDescriptionE = this.getDescriptionElements(),\n descriptionTextEl = _this$getDescriptionE.descriptionTextEl,\n ellipsisEl = _this$getDescriptionE.ellipsisEl;\n\n descriptionTextEl.removeClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.truncateLarge).addClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.open);\n ellipsisEl.text(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__[\"LanguageService\"].getPhrase(this.lang, 'showLess'));\n this.showingMore = true;\n }\n }, {\n key: \"showLessDescription\",\n value: function showLessDescription() {\n var _this$getDescriptionE2 = this.getDescriptionElements(),\n descriptionTextEl = _this$getDescriptionE2.descriptionTextEl,\n ellipsisEl = _this$getDescriptionE2.ellipsisEl;\n\n var truncationClass;\n if (this.options.size === VideoDescriptionTruncationSize.Small) truncationClass = 'truncateSmall';\n if (this.options.size === VideoDescriptionTruncationSize.Large) truncationClass = 'truncateLarge';\n descriptionTextEl.addClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a[truncationClass]);\n ellipsisEl.text(this.options.allowExpand ? \"... \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__[\"LanguageService\"].getPhrase(this.lang, 'showMore')) : '...').removeClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.hideEllipsis).addClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.showEllipsis);\n this.showingMore = false;\n }\n }, {\n key: \"truncateDescription\",\n value: function truncateDescription() {\n if (!this.options.truncate) return;\n\n var _this$getDescriptionE3 = this.getDescriptionElements(),\n descriptionTextEl = _this$getDescriptionE3.descriptionTextEl;\n\n var maxLines = VideoDescriptionTruncationLineNumbers[this.options.size];\n if (descriptionTextEl.height() <= LINE_HEIGHT * maxLines) return;\n this.showLessDescription();\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: _video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a,\n truncate: this.options.truncate,\n expandable: this.options.allowExpand,\n description: this.getDescription()\n };\n }\n }, {\n key: \"onAttach\",\n value: function onAttach() {\n this.truncateDescription();\n }\n }]);\n\n return VideoDescriptionComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vVmlkZW9EZXNjcmlwdGlvbkNvbXBvbmVudC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3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"./src/shared/components/video-description/video-description.scss":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"columnNames\":\"cv--columnNames--1a1Re\",\"descriptionWrapper\":\"cv--descriptionWrapper--2MZC5\",\"description\":\"cv--description--3U9j9\",\"ellipsis\":\"cv--ellipsis--1YjUg\",\"singleEllipsis\":\"cv--singleEllipsis--3SNtn\",\"showMoreEllipsis\":\"cv--showMoreEllipsis--xy3i9\",\"showEllipsis\":\"cv--showEllipsis--1_L9t\",\"hideEllipsis\":\"cv--hideEllipsis--TCdgP\",\"open\":\"cv--open--18ojI\",\"truncateSmall\":\"cv--truncateSmall--nLuVF\",\"truncateLarge\":\"cv--truncateLarge--sEELY\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vdmlkZW8tZGVzY3JpcHRpb24uc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL3ZpZGVvLWRlc2NyaXB0aW9uL3ZpZGVvLWRlc2NyaXB0aW9uLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5tb2R1bGUuZXhwb3J0cyA9IHtcImNvbHVtbk5hbWVzXCI6XCJjdi0tY29sdW1uTmFtZXMtLTFhMVJlXCIsXCJkZXNjcmlwdGlvbldyYXBwZXJcIjpcImN2LS1kZXNjcmlwdGlvbldyYXBwZXItLTJNWkM1XCIsXCJkZXNjcmlwdGlvblwiOlwiY3YtLWRlc2NyaXB0aW9uLS0zVTlqOVwiLFwiZWxsaXBzaXNcIjpcImN2LS1lbGxpcHNpcy0tMVlqVWdcIixcInNpbmdsZUVsbGlwc2lzXCI6XCJjdi0tc2luZ2xlRWxsaXBzaXMtLTNTTnRuXCIsXCJzaG93TW9yZUVsbGlwc2lzXCI6XCJjdi0tc2hvd01vcmVFbGxpcHNpcy0teHkzaTlcIixcInNob3dFbGxpcHNpc1wiOlwiY3YtLXNob3dFbGxpcHNpcy0tMV9MOXRcIixcImhpZGVFbGxpcHNpc1wiOlwiY3YtLWhpZGVFbGxpcHNpcy0tVENkZ1BcIixcIm9wZW5cIjpcImN2LS1vcGVuLS0xOG9qSVwiLFwidHJ1bmNhdGVTbWFsbFwiOlwiY3YtLXRydW5jYXRlU21hbGwtLW5MdVZGXCIsXCJ0cnVuY2F0ZUxhcmdlXCI6XCJjdi0tdHJ1bmNhdGVMYXJnZS0tc0VFTFlcIn07Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/video-description/video-description.scss\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/components/video-preview/VideoPreview.hbs":
26
- /***/ (function(module, exports, __webpack_require__) {
27
-
28
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"video-player-region cursor-pointer responsize-img\\\">\\r\\n <div class=\\\"thumbnail-region\\\"></div>\\r\\n</div>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tcHJldmlldy9WaWRlb1ByZXZpZXcuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tcHJldmlldy9WaWRlb1ByZXZpZXcuaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9ydHMgPSAoSGFuZGxlYmFyc1snZGVmYXVsdCddIHx8IEhhbmRsZWJhcnMpLnRlbXBsYXRlKHtcImNvbXBpbGVyXCI6WzgsXCI+PSA0LjMuMFwiXSxcIm1haW5cIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHJldHVybiBcIjxkaXYgY2xhc3M9XFxcInZpZGVvLXBsYXllci1yZWdpb24gY3Vyc29yLXBvaW50ZXIgcmVzcG9uc2l6ZS1pbWdcXFwiPlxcclxcbiAgPGRpdiBjbGFzcz1cXFwidGh1bWJuYWlsLXJlZ2lvblxcXCI+PC9kaXY+XFxyXFxuPC9kaXY+XCI7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/video-preview/VideoPreview.hbs\n");
29
-
30
- /***/ }),
31
-
32
- /***/ "./src/shared/components/video-preview/VideoPreviewComponent.ts":
33
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
34
-
35
- "use strict";
36
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VideoPreviewComponent\", function() { return VideoPreviewComponent; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var libs_shared_enums_Images__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/shared/src/enums/Images.ts\");\n/* harmony import */ var libs_shared_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_components_web_player_WebPlayerComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/components/web-player/WebPlayerComponent.ts\");\n/* harmony import */ var _VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/components/video-preview/VideoPreview.hbs\");\n/* harmony import */ var _VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar VideoPreviewComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(VideoPreviewComponent, _Core$Component);\n\n var _super = _createSuper(VideoPreviewComponent);\n\n function VideoPreviewComponent(options) {\n _classCallCheck(this, VideoPreviewComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(VideoPreviewComponent, [{\n key: \"initialize\",\n value: function initialize() {\n this.bindListeners();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'VideoPreviewComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11___default.a;\n }\n }, {\n key: \"instanceChannelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_8__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return {\n captureAnalytics: true\n };\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n var _this = this;\n\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_7__[\"LazyLoadBehavior\"],\n selector: '.lazy-img',\n callback: function callback() {\n var channel = backbone__WEBPACK_IMPORTED_MODULE_1__[\"Radio\"].channel(_this.instanceChannelName);\n channel.trigger('show:play:icon');\n },\n minBrowserSupportVersion: shared_constants__WEBPACK_IMPORTED_MODULE_9__[\"LazyLoadMinBrowserSupportVersion\"]\n }];\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n player: {\n el: '.video-player-region',\n replaceElement: false\n },\n thumbnail: {\n el: '.thumbnail-region',\n replaceElement: true\n }\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n click: 'onClick'\n };\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n if (!this.options.channelName) return;\n this.listenTo(this.options.channelName, 'update:chapter:time', this.onUpdateWebplayer);\n }\n }, {\n key: \"onUpdateWebplayer\",\n value: function onUpdateWebplayer(time) {\n /**\r\n * Where the webplayer hasn't been set up yet, we want to render it then jump to\r\n * the chapter's timepoint immediately once it has been initialised.\r\n */\n if (!this.player) {\n this.listenToOnce(this.options.channelName, 'webplayer:loaded', underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.seekToChapter, this, time));\n this.renderVideoPreview();\n return;\n }\n\n this.seekToChapter(time);\n }\n }, {\n key: \"seekToChapter\",\n value: function seekToChapter(time) {\n this.player.seekTo(time);\n }\n }, {\n key: \"onClick\",\n value: function onClick() {\n if (this.player) return;\n this.renderVideoPreview();\n }\n }, {\n key: \"renderThumbnail\",\n value: function renderThumbnail() {\n this.showChildView('thumbnail', new libs_shared_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_6__[\"ThumbnailComponent\"]({\n model: this.model,\n thumbnailOptions: {\n size: libs_shared_enums_Images__WEBPACK_IMPORTED_MODULE_5__[\"ImageSize\"].Medium\n },\n playIcon: true,\n lazyload: true,\n channelName: this.instanceChannelName\n }));\n }\n }, {\n key: \"renderVideoPreview\",\n value: function renderVideoPreview() {\n this.player = new shared_components_web_player_WebPlayerComponent__WEBPACK_IMPORTED_MODULE_10__[\"WebPlayerComponent\"]({\n model: this.model,\n webPlayerUrl: this.options.webPlayerUrl,\n parentChannelName: this.options.channelName,\n autoplay: true,\n analyticsOptions: libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__[\"AnalyticsHelper\"].mergeOptions(this.options.analyticsOptions, {\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__[\"EntityType\"].Video\n }),\n captureAnalytics: this.options.captureAnalytics,\n currentUser: this.options.currentUser\n });\n this.showChildView('player', this.player);\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.renderThumbnail();\n }\n }]);\n\n return VideoPreviewComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_2__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tcHJldmlldy9WaWRlb1ByZXZpZXdDb21wb25lbnQudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy92aWRlby1wcmV2aWV3L1ZpZGVvUHJldmlld0NvbXBvbmVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBfIGZyb20gJ3VuZGVyc2NvcmUnO1xyXG5pbXBvcnQgeyBPYmplY3RIYXNoLCBSYWRpbyB9IGZyb20gJ2JhY2tib25lJztcclxuXHJcbmltcG9ydCB7IENvcmUgfSBmcm9tICdsaWJzL2NvbW1vbi9jb3JlJztcclxuaW1wb3J0IHsgQW5hbHl0aWNzT3B0aW9ucywgRW50aXR5VHlwZSB9IGZyb20gJ2xpYnMvYW5hbHl0aWNzL2ludGVyZmFjZXMnO1xyXG5pbXBvcnQgeyBBbmFseXRpY3NIZWxwZXIgfSBmcm9tICdsaWJzL2FuYWx5dGljcy9BbmFseXRpY3NIZWxwZXInO1xyXG5pbXBvcnQgeyBJbWFnZVNpemUgfSBmcm9tICdsaWJzL3NoYXJlZC9lbnVtcy9JbWFnZXMnO1xyXG5pbXBvcnQgeyBUaHVtYm5haWxDb21wb25lbnQgfSBmcm9tICdsaWJzL3NoYXJlZC9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IQTtBQUNBO0FBeEhBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/video-preview/VideoPreviewComponent.ts\n");
37
-
38
- /***/ })
39
-
40
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[60],{1138:function(e,t,n){"use strict";var r=n(3),o="staffRequests.utils",i={destinationLibrary:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectLibrary")},destinationFolder:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectFolder")}},a={message:[{required:!0,msg:function(){return r.a.getPhrase("staffRequests.utils","provideMessage")}}]};n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},1283:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return"<p><strong>"+a(e.lambda(null!=(i=null!=t?t.video:t)?i.name:i,t))+"</strong> "+a((n.lang||t&&t.lang||u).call(s,"notAddedToLibrary",{name:"lang",hash:{},data:o}))+'</p>\r\n<div class="form-group">\r\n <label for="message">'+a((n.lang||t&&t.lang||u).call(s,"provideMessageForUser",{name:"lang",hash:{lastName:null!=(i=null!=t?t.user:t)?i.surname:i,firstName:null!=(i=null!=t?t.user:t)?i.username:i},data:o}))+'</label>\r\n <textarea class="form-control" id="message" name="message" autofocus></textarea>\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1390:function(e,t,n){"use strict";n.r(t),n.d(t,"RejectStaffRequestView",(function(){return T}));var r=n(6),o=n(2),i=n(30),a=n(5),s=n(4),u=n(42),l=n(291),c=n(251),f=n(982),d=n(0),p=n(12),h=n(3),y=n(1138),m=n(1283),b=n.n(m);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(R,e);var t,n,m,g=S(R);function R(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),g.call(this,e)}return t=R,(n=[{key:"initialize",value:function(){this.staffRequestDataService=a.a.getInstance(d.g.StaffRequests,this),this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"RejectStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.rejectStaffRequest"}},{key:"template",get:function(){return b.a}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.requestId)}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:l.e,title:h.a.getPhrase(this.lang,"rejectCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"reject"),extraButtonClass:"btn-danger",onClick:function(t){return e.onSubmit(t)},tooltip:function(){return e.getBtnTooltipOptions()}}},{behaviorClass:l.f,bindViewModel:!0}]}},{key:"bindings",get:function(){return{"[name=message]":{observe:"message",setOptions:{validate:!0}}}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(d.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(d.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(this.viewModel,"change",this.onChange)}},{key:"getViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName),this.viewModel.addValidation(y.b)}},{key:"getBtnTooltipOptions",value:function(){if(!this.viewModel.isValid())return{title:h.a.getPhrase(this.lang,"provideMessage")}}},{key:"onChange",value:function(){this.spinnerModel.set(c.c.Disabled,!1===this.viewModel.isValid())}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(c.b.ShowSpinner),this.staffRequestDataService.rejectStaffRequest(this.options.requestId,this.viewModel.get("message")),this.logAction())}},{key:"logAction",value:function(){var e={location:s.LocationContext.Popup,actionType:s.UserAction.Reject,entity:s.EntityType.StaffRequest,workflowPhase:s.WorkflowPhase.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id};u.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:d.b.STAFF_REQUESTS,action:d.a.StaffRequests.HOME})}},{key:"onBeforeRender",value:function(){this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:p.q.getSpinner({size:p.r.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){r.Validation.bind(this,{model:this.viewModel})}}])&&v(t.prototype,n),m&&v(t,m),R}(o.a.View)},982:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),o=n(251);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=l(c);function c(){return a(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),c}(r.a.Model)}}]);
@@ -1,33 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[60],{
2
-
3
- /***/ "./src/apps/migration-wizard/enums/FinalisationTaskStatus.ts":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FinalisationTaskStatus\", function() { return FinalisationTaskStatus; });\nvar FinalisationTaskStatus;\n\n(function (FinalisationTaskStatus) {\n FinalisationTaskStatus[FinalisationTaskStatus[\"Processing\"] = 1] = \"Processing\";\n FinalisationTaskStatus[FinalisationTaskStatus[\"Completed\"] = 2] = \"Completed\";\n FinalisationTaskStatus[FinalisationTaskStatus[\"Queued\"] = 3] = \"Queued\";\n})(FinalisationTaskStatus || (FinalisationTaskStatus = {}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL2VudW1zL0ZpbmFsaXNhdGlvblRhc2tTdGF0dXMudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL21pZ3JhdGlvbi13aXphcmQvZW51bXMvRmluYWxpc2F0aW9uVGFza1N0YXR1cy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBGaW5hbGlzYXRpb25UYXNrU3RhdHVzIHtcclxuICAgIFByb2Nlc3NpbmcgPSAxLFxyXG4gICAgQ29tcGxldGVkID0gMixcclxuICAgIFF1ZXVlZCA9IDNcclxufSJdLCJtYXBwaW5ncyI6IkFBQUE7QUFBQTtBQUFBO0FBQ0E7QUFEQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/enums/FinalisationTaskStatus.ts\n");
8
-
9
- /***/ }),
10
-
11
- /***/ "./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgress.hbs":
12
- /***/ (function(module, exports, __webpack_require__) {
13
-
14
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"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 \"<h4 class=\\\"pb-4\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"heading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n<div class=\\\"progress-circle-region\\\"></div>\\r\\n<p class=\\\"\"\n + alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \" pt-4\\\">\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"body\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n <br>\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"note\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</p>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL3ZpZXdzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy9QdWJsaXNoTGlicmFyeVByb2dyZXNzLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbWlncmF0aW9uLXdpemFyZC92aWV3cy9wdWJsaXNoLWxpYnJhcnktcHJvZ3Jlc3MvUHVibGlzaExpYnJhcnlQcm9ncmVzcy5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiY29tcGlsZXJcIjpbOCxcIj49IDQuMy4wXCJdLFwibWFpblwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZSwgYWxpYXMyPWRlcHRoMCAhPSBudWxsID8gZ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5vdGVcIix7XCJuYW1lXCI6XCJsYW5nXCIsXCJoYXNoXCI6e30sXCJkYXRhXCI6ZGF0YX0pKVxuICAgICsgXCJcXHJcXG48L3A+XCI7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgress.hbs\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.ts":
19
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
20
-
21
- "use strict";
22
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PublishLibraryProgressView\", function() { return PublishLibraryProgressView; });\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/ViewModelService.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var apps_migration_wizard_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/apps/migration-wizard/components/index.ts\");\n/* harmony import */ var apps_migration_wizard_enums_FinalisationType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/apps/migration-wizard/enums/FinalisationType.ts\");\n/* harmony import */ var apps_migration_wizard_enums_FinalisationTaskStatus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/apps/migration-wizard/enums/FinalisationTaskStatus.ts\");\n/* harmony import */ var apps_migration_wizard_utils_MigrationRadioChannels__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/apps/migration-wizard/utils/MigrationRadioChannels.ts\");\n/* harmony import */ var _publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/apps/migration-wizard/views/publish-library-progress/publish-library-progress.scss\");\n/* harmony import */ var _publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgress.hbs\");\n/* harmony import */ var _PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\r\n * Interval in ms to poll\r\n */\n\nvar pollingInterval = 3000;\nvar PublishLibraryProgressView = /*#__PURE__*/function (_Core$View) {\n _inherits(PublishLibraryProgressView, _Core$View);\n\n var _super = _createSuper(PublishLibraryProgressView);\n\n function PublishLibraryProgressView() {\n _classCallCheck(this, PublishLibraryProgressView);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(PublishLibraryProgressView, [{\n key: \"initialize\",\n value: function initialize() {\n this.migrationVideoDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"DataServices\"].MigrationVideo, this);\n this.viewModel = libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__[\"ViewModelService\"].get('publish:library:progress', {\n percentage: 0\n });\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'PublishLibraryProgressView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'migrationWizard.publishLibraryProgress';\n }\n }, {\n key: \"className\",\n get: function get() {\n return \"container text-center p-5 bg-white \".concat(_publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__[\"migrationBackupContainer\"], \" \").concat(_publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__[\"backupProgress\"]);\n }\n }, {\n key: \"template\",\n get: function get() {\n return _PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11__;\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n progressCircle: {\n replaceElement: true,\n el: '.progress-circle-region'\n }\n };\n }\n }, {\n key: \"poll\",\n value: function poll() {\n var _this = this;\n\n this.migrationVideoDataService.getPublishLibrariesProgress(apps_migration_wizard_enums_FinalisationType__WEBPACK_IMPORTED_MODULE_7__[\"FinalisationType\"].Phase2, function (progress) {\n /**\r\n * This prevents the polling from returning and redirecting back to this view\r\n * if the user has already been directed to backup_complete and is trying\r\n * to progress onto the start view\r\n */\n if (_this.isDestroyed()) return;\n\n if (progress.get('type') !== apps_migration_wizard_enums_FinalisationType__WEBPACK_IMPORTED_MODULE_7__[\"FinalisationType\"].Phase2) {\n _this.progress = 0;\n setTimeout(function () {\n return _this.poll();\n }, pollingInterval);\n return;\n }\n\n _this.progress = progress.get('progressPercentage') * 100;\n\n _this.setPercentage();\n\n if (progress.get('status') === apps_migration_wizard_enums_FinalisationTaskStatus__WEBPACK_IMPORTED_MODULE_8__[\"FinalisationTaskStatus\"].Completed) {\n _this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(function () {\n backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel(apps_migration_wizard_utils_MigrationRadioChannels__WEBPACK_IMPORTED_MODULE_9__[\"MigrationRadioChannels\"].LIBRARY_STATUS).trigger('status:changed');\n libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].AppLinkHelper.trigger({\n application: shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"AppChannels\"].MIGRATION_WIZARD,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"Actions\"].MigrationWizard.PUBLISH_LIBRARY_COMPLETE\n });\n });\n\n return;\n }\n\n setTimeout(function () {\n return _this.poll();\n }, pollingInterval);\n });\n }\n }, {\n key: \"setPercentage\",\n value: function setPercentage() {\n if (!this.progress) return;\n this.viewModel.set({\n percentage: Math.round(this.progress)\n });\n }\n }, {\n key: \"renderProgressCircle\",\n value: function renderProgressCircle() {\n this.showChildView('progressCircle', new apps_migration_wizard_components__WEBPACK_IMPORTED_MODULE_6__[\"ProgressCircleComponent\"]({\n model: this.viewModel,\n text: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'hasBeenPublished'),\n class: _publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__[\"progress\"]\n }));\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n if (!this.pollingStarted) {\n this.poll();\n this.pollingStarted = true;\n }\n\n this.renderProgressCircle();\n }\n }]);\n\n return PublishLibraryProgressView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL3ZpZXdzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy9QdWJsaXNoTGlicmFyeVByb2dyZXNzVmlldy50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbWlncmF0aW9uLXdpemFyZC92aWV3cy9wdWJsaXNoLWxpYnJhcnktcHJvZ3Jlc3MvUHVibGlzaExpYnJhcnlQcm9ncmVzc1ZpZXcudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgT2JqZWN0SGFzaCwgUmFkaW8gfSBmcm9tICdiYWNrYm9uZSc7XHJcblxyXG5pbXBvcnQgeyBDb3JlIH0gZnJvbSAnbGlicy9jb21tb24vY29yZSc7XHJcbmltcG9ydCB7IEluc3RhbmNlTWFuYWdlciB9IGZyb20gJ2xpYnMvY29tbW9uL2JhY2tib25lL3NlcnZpY2VzL0luc3RhbmNlTWFuYWdlcic7XHJcbmltcG9ydCB7IFZpZXdNb2RlbFNlcnZpY2UgfSBmcm9tICdsaWJzL2NvbW1vbi9iYWNrYm9uZS9zZXJ2aWNlcy9WaWV3TW9kZWxTZXJ2aWNlJztcclxuaW1wb3J0IHsgTGFuZ3VhZ2VTZXJ2aWNlIH0gZnJvbSAnbGlicy9jb21tb24v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QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.ts\n");
23
-
24
- /***/ }),
25
-
26
- /***/ "./src/apps/migration-wizard/views/publish-library-progress/publish-library-progress.scss":
27
- /***/ (function(module, exports, __webpack_require__) {
28
-
29
- eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"backupProgress\":\"cv--backupProgress--sg8Kg\",\"info\":\"cv--info--2HxTI\",\"progress\":\"cv--progress--hbLuA\",\"migrationBackupContainer\":\"cv--migrationBackupContainer--2lpDI\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL3ZpZXdzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy9wdWJsaXNoLWxpYnJhcnktcHJvZ3Jlc3Muc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9jbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL2FwcHMvbWlncmF0aW9uLXdpemFyZC92aWV3cy9wdWJsaXNoLWxpYnJhcnktcHJvZ3Jlc3MvcHVibGlzaC1saWJyYXJ5LXByb2dyZXNzLnNjc3MiXSwic291cmNlc0NvbnRlbnQiOlsiLy8gZXh0cmFjdGVkIGJ5IG1pbmktY3NzLWV4dHJhY3QtcGx1Z2luXG5tb2R1bGUuZXhwb3J0cyA9IHtcImJhY2t1cFByb2dyZXNzXCI6XCJjdi0tYmFja3VwUHJvZ3Jlc3MtLXNnOEtnXCIsXCJpbmZvXCI6XCJjdi0taW5mby0tMkh4VElcIixcInByb2dyZXNzXCI6XCJjdi0tcHJvZ3Jlc3MtLWhiTHVBXCIsXCJtaWdyYXRpb25CYWNrdXBDb250YWluZXJcIjpcImN2LS1taWdyYXRpb25CYWNrdXBDb250YWluZXItLTJscERJXCJ9OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/views/publish-library-progress/publish-library-progress.scss\n");
30
-
31
- /***/ })
32
-
33
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[61],{1294:function(n,e,t){var o=t(10);n.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(n,e,t,o,r){n.propertyIsEnumerable;var a,l=null!=e?e:n.nullContext||{},i=n.hooks.helperMissing,c=n.escapeExpression,s=n.lambda;return'<div class="p-3 my-3 bg-white text-center">\r\n <h1>'+c((t.lang||e&&e.lang||i).call(l,"uploadVideos",{name:"lang",hash:{},data:r}))+'</h1>\r\n <div class="my-3">\r\n <img src="/images/upload/upload-vid@2x.png" class="'+c(s(null!=(a=null!=(a=null!=e?e.options:e)?a.styles:a)?a.uploadImage:a,e))+'" />\r\n </div>\r\n <div>\r\n <button class="btn btn-primary choose-files">'+c((t.lang||e&&e.lang||i).call(l,"chooseVideo",{name:"lang",hash:{},data:r}))+"</button>\r\n </div>\r\n <div>\r\n <span>"+c((t.lang||e&&e.lang||i).call(l,"dragDrop",{name:"lang",hash:{},data:r}))+'</span>\r\n </div>\r\n</div>\r\n<div class="p-3 bg-white container-fluid">\r\n <div class="row">\r\n <div class="col-4">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"help",{name:"lang",hash:{},data:r}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ul>\r\n <li><a class="info-link" href="'+c(s(null!=(a=null!=e?e.options:e)?a.uploadArticleUrl:a,e))+'" target="_blank">'+c((t.lang||e&&e.lang||i).call(l,"instructionsHeading",{name:"lang",hash:{},data:r}))+'</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="col-8">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"termsHeading",{name:"lang",hash:{},data:r}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ol>\r\n <li>'+c((t.lang||e&&e.lang||i).call(l,"term1",{name:"lang",hash:{},data:r}))+"</li>\r\n <li>"+c((t.lang||e&&e.lang||i).call(l,"term2",{name:"lang",hash:{},data:r}))+"</li>\r\n <li>"+(null!=(a=(t.lang||e&&e.lang||i).call(l,"term3",{name:"lang",hash:{classNames:null!=(a=null!=e?e.options:e)?a.classNames:a,uploadTermsUrl:null!=(a=null!=e?e.options:e)?a.uploadTermsUrl:a},data:r}))?a:"")+"</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"},useData:!0})},1295:function(n,e,t){n.exports={uploadImage:"_2qNTM"}},1396:function(n,e,t){"use strict";t.r(e),t.d(e,"FileSelectView",(function(){return O}));var o=t(1),r=t(2),a=t(5),l=t(3),i=t(81),c=t(188),s=t(4),u=t(42),p=t(0),f=t(1294),d=t.n(f),h=t(1295),g=t.n(h),y=t(301),m=t(44);function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function w(n,e){for(var t=0;t<e.length;t++){var o=e[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(n,o.key,o)}}function k(n,e){return(k=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function S(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,o=_(n);if(e){var r=_(this).constructor;t=Reflect.construct(o,arguments,r)}else t=o.apply(this,arguments);return U(this,t)}}function U(n,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function _(n){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var O=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&k(n,e)}(h,n);var e,t,r,f=S(h);function h(){return b(this,h),f.apply(this,arguments)}return e=h,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,m.a.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=a.a.getInstance(p.x.VideoUpload,this)}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=o.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:y.a,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"onFilesSelected",value:function(n,e){this.videoUploadService.addFiles(n),this.logAction(n,e)}},{key:"logAction",value:function(n,e){var t={actionType:s.UserAction.Upload,entity:s.EntityType.Video,location:s.LocationContext.VideoUpload,workflowPhase:s.WorkflowPhase.Start,descriptor:u.a.mapInteractionType(e)};u.a.logUserAction(n,t)}},{key:"requiredResources",get:function(){return{config:c.b.config}}},{key:"viewOptions",value:function(){return{styles:g.a,uploadArticleUrl:this.config?i.a.safeUrlConcat(this.config.get("supportSiteUrl"),p.y.UPLOAD):"",uploadTermsUrl:this.config?i.a.safeUrlConcat(this.config.get("marketingSiteUrl"),p.r.UploadingUserContent):"",classNames:"info-link"}}}])&&w(e.prototype,t),r&&w(e,r),h}(r.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[61],{1534:function(n,e,t){var r=t(10);n.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(n,e,t,r,a){n.propertyIsEnumerable;var o,i=null!=e?e:n.nullContext||{},l=n.hooks.helperMissing,c=n.escapeExpression,s=n.lambda;return'<div class="p-3 my-3 bg-white text-center">\r\n <h1>'+c((t.lang||e&&e.lang||l).call(i,"uploadVideos",{name:"lang",hash:{},data:a}))+'</h1>\r\n <div class="my-3">\r\n <img src="/images/upload/upload-vid@2x.png" class="'+c(s(null!=(o=null!=(o=null!=e?e.options:e)?o.styles:o)?o.uploadImage:o,e))+'" />\r\n </div>\r\n <div>\r\n <button class="btn btn-primary choose-files">'+c((t.lang||e&&e.lang||l).call(i,"chooseVideo",{name:"lang",hash:{},data:a}))+"</button>\r\n </div>\r\n <div>\r\n <span>"+c((t.lang||e&&e.lang||l).call(i,"dragDrop",{name:"lang",hash:{},data:a}))+'</span>\r\n </div>\r\n</div>\r\n<div class="p-3 bg-white container-fluid">\r\n <div class="row">\r\n <div class="col-4">\r\n <h4>'+c((t.lang||e&&e.lang||l).call(i,"help",{name:"lang",hash:{},data:a}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ul>\r\n <li><a class="info-link" href="'+c(s(null!=(o=null!=e?e.options:e)?o.uploadArticleUrl:o,e))+'" target="_blank">'+c((t.lang||e&&e.lang||l).call(i,"instructionsHeading",{name:"lang",hash:{},data:a}))+'</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="col-8">\r\n <h4>'+c((t.lang||e&&e.lang||l).call(i,"termsHeading",{name:"lang",hash:{},data:a}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ol>\r\n <li>'+c((t.lang||e&&e.lang||l).call(i,"term1",{name:"lang",hash:{},data:a}))+"</li>\r\n <li>"+c((t.lang||e&&e.lang||l).call(i,"term2",{name:"lang",hash:{},data:a}))+"</li>\r\n <li>"+(null!=(o=(t.lang||e&&e.lang||l).call(i,"term3",{name:"lang",hash:{classNames:null!=(o=null!=e?e.options:e)?o.classNames:o,uploadTermsUrl:null!=(o=null!=e?e.options:e)?o.uploadTermsUrl:o},data:a}))?o:"")+"</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"},useData:!0})},1535:function(n,e,t){n.exports={uploadImage:"_2qNTM"}},1636:function(n,e,t){"use strict";t.r(e),t.d(e,"FileSelectView",(function(){return O}));var r=t(1),a=t(2),o=t(5),i=t(3),l=t(81),c=t(188),s=t(4),u=t(42),p=t(0),f=t(1534),d=t.n(f),h=t(1535),g=t.n(h),y=t(301),m=t(44);function v(n){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function b(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function w(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function k(n,e){return(k=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function S(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,r=_(n);if(e){var a=_(this).constructor;t=Reflect.construct(r,arguments,a)}else t=r.apply(this,arguments);return U(this,t)}}function U(n,e){return!e||"object"!==v(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function _(n){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var O=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&k(n,e)}(h,n);var e,t,a,f=S(h);function h(){return b(this,h),f.apply(this,arguments)}return e=h,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,m.a.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=o.a.getInstance(p.x.VideoUpload,this)}},{key:"onFilesSelected",value:function(n,e){this.videoUploadService.addFiles(n),this.logAction(n,e)}},{key:"logAction",value:function(n,e){var t={actionType:s.UserAction.Upload,entity:s.EntityType.Video,location:s.LocationContext.VideoUpload,workflowPhase:s.WorkflowPhase.Start,descriptor:u.a.mapInteractionType(e)};u.a.logUserAction(n,t)}},{key:"viewOptions",value:function(){return{styles:g.a,uploadArticleUrl:this.config?l.a.safeUrlConcat(this.config.get("supportSiteUrl"),p.y.UPLOAD):"",uploadTermsUrl:this.config?l.a.safeUrlConcat(this.config.get("marketingSiteUrl"),p.r.UploadingUserContent):"",classNames:"info-link"}}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return i.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return d.a}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=r.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:y.a,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"requiredResources",get:function(){return{config:c.b.config}}}])&&w(e.prototype,t),a&&w(e,a),h}(a.a.View)}}]);