@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([[24],{1002:function(e,n,t){"use strict";var o=t(985),i=t.n(o),r=t(986),a=t.n(r);function l(e){return(l="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 s(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function c(e,n){return(c=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function u(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=f(e);if(n){var i=f(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return p(this,t)}}function p(e,n){return!n||"object"!==l(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&c(e,n)}(l,e);var n,t,o,r=u(l);function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return n=l,(t=[{key:"name",get:function(){return"DraggableItemComponent"}},{key:"template",get:function(){return a.a}},{key:"className",get:function(){return"".concat(i.a.dragItem," p-3")}},{key:"viewOptions",value:function(){return Object.assign({styles:i.a},this.options)}}])&&s(n.prototype,t),o&&s(n,o),l}(t(2).a.Component),d={delay:150,cursorAt:{left:-20,top:10},refreshPositions:!0};t.d(n,"c",(function(){return i.a})),t.d(n,"b",(function(){return h})),t.d(n,"a",(function(){return d}))},1003:function(e,n,t){e.exports={checkboxContainer:"_3BLCF",thumbnailContainer:"_16jlV",metaContainer:"_2mMws",actionsContainer:"I31I0",allowBulk:"_2VkOe",videoItem:"PoHa-",processingVideo:"qFjv2",bulkPlaceholder:"_3iAFa",previewContainer:"_2UBZX"}},1004:function(e,n,t){"use strict";t.d(n,"a",(function(){return g})),t.d(n,"b",(function(){return m}));var o=t(1),i=t(2),r=t(997),a=t.n(r),l=t(12);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function u(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,n){return(p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function f(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d(e);if(n){var i=d(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return h(this,t)}}function h(e,n){return!n||"object"!==s(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g="checkbox-all",m=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(s,e);var n,t,i,r=f(s);function s(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,s),r.call(this,e)}return n=s,(t=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return a.a}},{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",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 e=o.values(this.model.omit("all",g));o.every(e,(function(e){return!!e}))&&(this.model.get("all")||e.length===this.options.numberOfItems)&&this.model.set(c({all:!0},this.getItemId(),!0))}},{key:"getItemId",value:function(){return g}},{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(g),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&u(n.prototype,t),i&&u(n,i),s}(i.a.Component)},1005:function(e,n,t){"use strict";var o=t(0),i=t(81),r=t(190),a=t(192),l=t(1011),s=t(1),c=t(2),u=t(15),p=t(133),f=t(12),h=t(988),d=t(1017),g=t.n(d),m=t(1018),y=t.n(m);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function k(e,n){return(k=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function w(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=O(e);if(n){var i=O(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return C(this,t)}}function C(e,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function O(e){return(O=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&k(e,n)}(r,e);var n,t,o,i=w(r);function r(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return n=r,(t=[{key:"name",get:function(){return"VideoItemBadgesComponent"}},{key:"template",get:function(){return g.a}},{key:"lang",get:function(){return"shared.videoItemBadges"}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"defaults",get:function(){return{showRestrictionBadge:!1,showReviewBadge:!1}}},{key:"events",value:function(){return{"click span":"onClick"}}},{key:"onClick",value:function(e){e.stopPropagation()}},{key:"viewOptions",value:function(){var e=this.options.showReviewBadge&&f.n.getRestrictionTooltipMessage(this.model),n=this.options.showRestrictionBadge&&f.n.getRestrictionTooltipMessage(this.model);return{styles:y.a,interactive:h.h.isInteractive(this.model),subtitles:!1,resources:!1,ratingColorClass:h.h.mapRatingToClass(this.model.rating.get("value")),closeCaptionSvg:u.a.getSvg(u.b.CloseCaptionBadge),resourcesSvg:u.a.getSvg(u.b.Resources),awaitingReviewMessage:e,awaitingReviewBadgeClass:f.n.getReviewBadgeClassName(this.model,y.a.reviewBadge,y.a.urgentReviewBadge),restrictionMessage:n}}}])&&b(n.prototype,t),o&&b(n,o),r}(c.a.Component),E=t(998),S=t(987),P=t(1019),R=t.n(P),I=t(984),_=t.n(I);function T(e){return(T="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,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function j(e,n){return(j=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function M(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=A(e);if(n){var i=A(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return L(this,t)}}function L(e,n){return!n||"object"!==T(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function A(e){return(A=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var B=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&j(e,n)}(a,e);var n,t,i,r=M(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"name",get:function(){return"VideoItemMetadataComponent"}},{key:"template",get:function(){return R.a}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){return{".applink-show-video":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}},{key:"regions",value:function(){return{sources:{el:".sources-region",replaceElement:!0},badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){return e={},n="click .".concat(_.a.svgContainer),t="onClickBadge",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickBadge",value:function(e){e.stopPropagation()}},{key:"renderSources",value:function(){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new E.a(e))}},{key:"renderSeries",value:function(){this.showChildView("series",new S.a({model:this.model,highlight:this.options.sourceMetadataOptions&&!!this.options.sourceMetadataOptions.highlight}))}},{key:"renderBadges",value:function(){this.showChildView("badges",new x({model:this.model}))}},{key:"viewOptions",value:function(){return{styles:_.a,hasAdminRestriction:f.n.hasAdminRestriction(this.model),restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderSources(),this.renderBadges()}}])&&V(n.prototype,t),i&&V(n,i),a}(c.a.Component),D=t(1020),N=t.n(D);function U(e){return(U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function H(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,n){return(W=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function z(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Y(e);if(n){var i=Y(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return F(this,t)}}function F(e,n){return!n||"object"!==U(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Y(e){return(Y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var G=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&W(e,n)}(l,e);var n,t,r,a=z(l);function l(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,e)}return n=l,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"name",get:function(){return"VideoItemVideoAccessMetadataComponent"}},{key:"template",get:function(){return N.a}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){if(f.x.hasCustomLibrary(this.model))return{".applink-show-video":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}},{key:"regions",value:function(){return{sources:{el:".sources-region",replaceElement:!0},badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){return e={click:"onClick","click .video-title":"onClickMetadata"},n="click .".concat(_.a.svgContainer),t="onClickMetadata",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickMetadata",value:function(e){e.stopPropagation()}},{key:"getVideoUrl",value:function(){return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")))}},{key:"renderSources",value:function(){if(f.x.hasCustomLibrary(this.model)){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new E.a(e))}}},{key:"renderSeries",value:function(){f.x.hasCustomLibrary(this.model)&&this.showChildView("series",new S.a({model:this.model,highlight:this.options.sourceMetadataOptions&&!!this.options.sourceMetadataOptions.highlight}))}},{key:"renderBadges",value:function(){this.showChildView("badges",new x({model:this.model,showRestrictionBadge:!0}))}},{key:"viewOptions",value:function(){return{styles:_.a,restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock),linkToOnline:!f.x.hasCustomLibrary(this.model),videoUrl:this.getVideoUrl(),openExternalSvg:u.a.getSvg(u.b.NewWindow)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderSources(),this.renderBadges()}}])&&H(n.prototype,t),r&&H(n,r),l}(c.a.Component),K=t(97),q=t(99),J=t(1021),Z=t.n(J);function Q(e){return(Q="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 $(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function X(e,n){return(X=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function ee(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=te(e);if(n){var i=te(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return ne(this,t)}}function ne(e,n){return!n||"object"!==Q(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function te(e){return(te=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var oe=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&X(e,n)}(a,e);var n,t,i,r=ee(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.model.get("status")===K.a.Processing&&this.options.pendingItems&&(this.pendingItem||(this.listenTo(this.options.pendingItems,"update",this.mapPendingItem),this.mapPendingItem()))}},{key:"lang",get:function(){return"shared.videoItemProcessingMetadata"}},{key:"mapPendingItem",value:function(){this.pendingItem=this.options.pendingItems.get(this.model.get("id")),this.render(),this.pendingItem&&(this.stopListening(this.options.pendingItems,"update"),this.listenTo(this.pendingItem,"change:foregroundProgress change:backgroundProgress change:pendingProcessStatus",this.render))}},{key:"name",get:function(){return"VideoItemProcessingMetadataComponent"}},{key:"template",get:function(){return Z.a}},{key:"appLinks",get:function(){var e=this.model.series?this.model.series.id:"";return{".applink-series":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.FOLDER,args:[e]}}}},{key:"viewOptions",value:function(){return this.pendingItem?{status:q.a.getStatus(this.pendingItem),hasError:q.a.hasError(this.pendingItem),hasPendingItem:!0}:{hasPendingItem:!1}}}])&&$(n.prototype,t),i&&$(n,i),a}(c.a.Component),ie=t(1022),re=t.n(ie);function ae(e){return(ae="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 le(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function se(e,n){return(se=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function ce(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=pe(e);if(n){var i=pe(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return ue(this,t)}}function ue(e,n){return!n||"object"!==ae(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function pe(e){return(pe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var fe=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&se(e,n)}(a,e);var n,t,o,r=ce(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"name",get:function(){return"VideoItemAwaitingReviewMetadataComponent"}},{key:"template",get:function(){return re.a}},{key:"events",value:function(){return{"click .video-title":"onClickMetadata","click .svg-container":"onClickMetadata"}}},{key:"regions",value:function(){return{badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"onClickMetadata",value:function(e){e.stopPropagation()}},{key:"getVideoUrl",value:function(){return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")))}},{key:"getSeriesUrl",value:function(){if(this.model.series)return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"series/".concat(this.model.series.id))}},{key:"renderBadges",value:function(){this.showChildView("badges",new x({model:this.model,showReviewBadge:!0}))}},{key:"renderSeries",value:function(){this.showChildView("series",new S.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl()}))}},{key:"viewOptions",value:function(){return{styles:_.a,videoUrl:this.getVideoUrl(),openExternalSvg:u.a.getSvg(u.b.NewWindow)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderBadges()}}])&&le(n.prototype,t),o&&le(n,o),a}(c.a.Component),he=t(1023),de=t.n(he),ge=t(1024),me=t.n(ge);function ye(e){return(ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function be(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,n){return(ke=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function we(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Oe(e);if(n){var i=Oe(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Ce(this,t)}}function Ce(e,n){return!n||"object"!==ye(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Oe(e){return(Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&ke(e,n)}(a,e);var n,t,o,r=we(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"name",get:function(){return"VideoItemPastReleasesMetadataComponent"}},{key:"template",get:function(){return de.a}},{key:"lang",get:function(){return"shared.videoItemPastReleasesMetadata"}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"regions",value:function(){return{badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){var e;return ve(e={"click .video-title":"onClickMetadata"},"click .".concat(me.a.series),"onClickMetadata"),ve(e,"click .svg-container","onClickMetadata"),e}},{key:"onClickMetadata",value:function(e){e.stopPropagation()}},{key:"getVideoUrl",value:function(){return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"videos/".concat(this.model.get("id")))}},{key:"getSeriesUrl",value:function(){if(this.model.series)return i.a.safeUrlConcat(this.options.config.get("onlineUrl"),"series/".concat(this.model.series.id))}},{key:"renderBadges",value:function(){this.showChildView("badges",new x({model:this.model}))}},{key:"renderSeries",value:function(){this.showChildView("series",new S.a({model:this.model,highlight:!1,seriesUrl:this.getSeriesUrl()}))}},{key:"viewOptions",value:function(){return{styles:s.extend({},_.a,me.a),videoUrl:this.getVideoUrl(),openExternalSvg:u.a.getSvg(u.b.NewWindow),hasAdminRestriction:f.n.hasAdminRestriction(this.model),restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderBadges()}}])&&be(n.prototype,t),o&&be(n,o),a}(c.a.Component),Ee=t(1025),Se=t.n(Ee);function Pe(e){return(Pe="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 Re(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ie(e,n){return(Ie=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function _e(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Ve(e);if(n){var i=Ve(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Te(this,t)}}function Te(e,n){return!n||"object"!==Pe(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Ve(e){return(Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var je=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Ie(e,n)}(a,e);var n,t,i,r=_e(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change:restrictions",this.render)}},{key:"name",get:function(){return"VideoItemSearchMetadataComponent"}},{key:"template",get:function(){return Se.a}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"appLinks",get:function(){return{".applink-show-video":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}},{key:"regions",value:function(){return{sources:{el:".sources-region",replaceElement:!0},badges:{el:".badges-region",replaceElement:!0},series:{el:".series-region",replaceElement:!0}}}},{key:"events",value:function(){return e={click:"onClick"},n="click ".concat(_.a.svgContainer),t="onClickSvg",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickSvg",value:function(e){e.stopPropagation()}},{key:"getKeyPhrases",value:function(){var e=this;return f.v.extractKeyPhrases(this.model.get("description"),this.model.get("_matchedWords"),100,2).map((function(n){return f.v.wordsHighlighter(f.v.escapeExpression(n),e.model.get("_matchedWords"))}))}},{key:"renderSources",value:function(){var e=s.extend({},{model:this.model},this.options.sourceMetadataOptions);this.showChildView("sources",new E.a(e))}},{key:"renderSeries",value:function(){this.showChildView("series",new S.a({model:this.model,highlight:this.options.sourceMetadataOptions&&!!this.options.sourceMetadataOptions.highlight}))}},{key:"renderBadges",value:function(){this.showChildView("badges",new x({model:this.model}))}},{key:"viewOptions",value:function(){return{styles:_.a,name:f.v.wordsHighlighter(f.v.escapeExpression(this.model.get("name")),this.model.get("_matchedWords")),keyPhrases:this.getKeyPhrases(),hasAdminRestriction:f.n.hasAdminRestriction(this.model),restrictionMessage:f.n.getRestrictionTooltipMessage(this.model),lockSvg:u.a.getSvg(u.b.Lock)}}},{key:"onRender",value:function(){this.renderSeries(),this.renderSources(),this.renderBadges()}}])&&Re(n.prototype,t),i&&Re(n,i),a}(c.a.Component),Me=t(6),Le=t(1052),Ae=t(1026),Be=t.n(Ae),De=t(995),Ne=t.n(De);function Ue(e){return(Ue="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 He(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function We(e,n){return(We=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function ze(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Ye(e);if(n){var i=Ye(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Fe(this,t)}}function Fe(e,n){return!n||"object"!==Ue(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ge=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&We(e,n)}(r,e);var n,t,o,i=ze(r);function r(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return n=r,(t=[{key:"name",get:function(){return"VideoItemActionsComponent"}},{key:"template",get:function(){return Be.a}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end justify-content-between"}},{key:"lang",get:function(){return"shared._videoItemActions"}},{key:"regions",value:function(){return{videoActions:".video-actions-region"}}},{key:"events",value:function(){return e={},n="click .".concat(Ne.a.showPreview),t="onClickShowPreview",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&Me.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"renderVideoActions",value:function(){this.showChildView("videoActions",new Le.a(this.options.videoActionsOptions))}},{key:"viewOptions",value:function(){return{styles:Ne.a,previewDisplayed:this.options.previewDisplayed,previewSvg:u.a.getSvg(u.b.Preview)}}},{key:"onRender",value:function(){this.renderVideoActions()}}])&&He(n.prototype,t),o&&He(n,o),r}(c.a.Component),Ke=t(5),qe=t(4),Je=t(42),Ze=t(1027),Qe=t.n(Ze);function $e(e){return($e="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 Xe(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function en(e,n){return(en=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function nn(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=on(e);if(n){var i=on(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return tn(this,t)}}function tn(e,n){return!n||"object"!==$e(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function on(e){return(on=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rn=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&en(e,n)}(a,e);var n,t,i,r=nn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.restrictedVideoDataService=Ke.a.getInstance(o.g.RestrictedVideo,this)}},{key:"name",get:function(){return"VideoItemReviewActionsComponent"}},{key:"template",get:function(){return Qe.a}},{key:"lang",get:function(){return"shared.videoItemReviewActions"}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end"}},{key:"events",value:function(){return e={"click .approve":"onClickApprove","click .applink-manage-video-access":"onClickManageVideoAccess"},n="click .".concat(Ne.a.showPreview),t="onClickShowPreview",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"appLinks",get:function(){return{".applink-manage-video-access":{application:o.b.CONTENT_UPDATES,action:o.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id")]}}}},{key:"onClickApprove",value:function(e){e.stopPropagation(),this.restrictedVideoDataService.deleteVideoRestriction(this.model.get("id")),this.logApproveAction()}},{key:"onClickManageVideoAccess",value:function(e){e.stopPropagation(),this.logManageAccessAction()}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&Me.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"logApproveAction",value:function(){var e={location:qe.LocationContext.AwaitingReviewVideoItem,actionType:qe.UserAction.Approve,entity:qe.EntityType.Video,descriptor:qe.OperationDescriptor.Single,workflowPhase:qe.WorkflowPhase.Complete},n={id:this.model.get("id")};Je.a.logUserAction(n,e)}},{key:"logManageAccessAction",value:function(){var e={location:qe.LocationContext.AwaitingReviewVideoItem,actionType:qe.UserAction.SetAccess,entity:qe.EntityType.Video,workflowPhase:qe.WorkflowPhase.Start},n={id:this.model.get("id")};Je.a.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{styles:Ne.a,previewDisplayed:this.options.previewDisplayed,previewSvg:u.a.getSvg(u.b.Preview)}}}])&&Xe(n.prototype,t),i&&Xe(n,i),a}(c.a.Component),an=t(1028),ln=t.n(an);function sn(e){return(sn="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 cn(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function un(e,n){return(un=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function pn(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=hn(e);if(n){var i=hn(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return fn(this,t)}}function fn(e,n){return!n||"object"!==sn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function hn(e){return(hn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var dn=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&un(e,n)}(a,e);var n,t,i,r=pn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"name",get:function(){return"VideoItemVideoAccessComponent"}},{key:"template",get:function(){return ln.a}},{key:"lang",get:function(){return"shared.videoItemVideoAccessActions"}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end justify-content-between"}},{key:"appLinks",get:function(){return{".applink-manage-video-access":{application:o.b.VIDEO_ACCESS,action:o.a.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id")]}}}},{key:"events",value:function(){return e={"click .applink-manage-video-access":"onClickManageVideoAccess"},n="click .".concat(Ne.a.showPreview),t="onClickShowPreview",n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e;var e,n,t}},{key:"onClickManageVideoAccess",value:function(e){e.stopPropagation(),this.logAction()}},{key:"onClickShowPreview",value:function(e){e.stopPropagation(),this.options.channelName&&Me.Radio.channel(this.options.channelName).trigger("click:show:preview")}},{key:"logAction",value:function(){var e={location:qe.LocationContext.VideoListItem,actionType:qe.UserAction.SetAccess,entity:qe.EntityType.Video,workflowPhase:qe.WorkflowPhase.Start},n={id:this.model.get("id")};Je.a.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{styles:Ne.a,previewDisplayed:this.options.previewDisplayed,previewSvg:u.a.getSvg(u.b.Preview)}}}])&&cn(n.prototype,t),i&&cn(n,i),a}(c.a.Component),gn=t(1012),mn=t(1029),yn=t(9),vn=t(3),bn=t(297),kn=t(1014),wn=t(292),Cn=t(1030),On=t.n(Cn);function xn(e){return(xn="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 En(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Sn(e,n){return(Sn=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Pn(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=In(e);if(n){var i=In(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Rn(this,t)}}function Rn(e,n){return!n||"object"!==xn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function In(e){return(In=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _n=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Sn(e,n)}(a,e);var n,t,i,r=Pn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"name",get:function(){return"ExpandableTagListComponent"}},{key:"template",get:function(){return On.a}},{key:"lang",get:function(){return"libraryEditor.expandableTagList"}},{key:"defaults",get:function(){return{initialTagDisplayCount:5,expandedTagDisplayCount:10}}},{key:"appLinks",get:function(){return{".applink-video-details":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.videoId]}}}},{key:"events",value:function(){return{"click .show-more-tags":"onClickShowMoreTags"}}},{key:"regions",value:function(){return{tags:{replaceElement:!0,el:".tags-region"}}}},{key:"onClickShowMoreTags",value:function(){this.showingMoreTags=!0,this.options.channelName&&Me.Radio.channel(this.options.channelName).trigger("show:more:tags"),this.render()}},{key:"getTagCollection",value:function(){var e=this.showingMoreTags?this.options.expandedTagDisplayCount:this.options.initialTagDisplayCount;return new bn.a(this.collection.slice(0,e))}},{key:"getExtraTagsInfo",value:function(){if(!this.showingMoreTags)return vn.a.getPhrase(this.lang,"extraTags",{smartCount:s.max([this.collection.length-this.options.initialTagDisplayCount,0])})}},{key:"renderTags",value:function(){var e=new kn.a({collection:this.getTagCollection(),behavior:wn.b.Link});this.showChildView("tags",e)}},{key:"viewOptions",value:function(){return{expandable:this.collection.length>this.options.initialTagDisplayCount&&!this.showingMoreTags,extraTagsText:this.getExtraTagsInfo(),moreTags:this.showingMoreTags&&this.collection.length>this.options.expandedTagDisplayCount}}},{key:"onRender",value:function(){this.renderTags()}}])&&En(n.prototype,t),i&&En(n,i),a}(c.a.Component),Tn=t(1031),Vn=t.n(Tn),jn=t(1032),Mn=t.n(jn);function Ln(e){return(Ln="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 An(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Bn(e,n){return(Bn=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Dn(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Un(e);if(n){var i=Un(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return Nn(this,t)}}function Nn(e,n){return!n||"object"!==Ln(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Un(e){return(Un=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hn=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Bn(e,n)}(a,e);var n,t,i,r=Dn(a);function a(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,e)}return n=a,(t=[{key:"initialize",value:function(){this.listenTo(this.model,"change",this.render),this.listenTo(this.channelName,"show:more:tags",this.onClickShowMoreTags)}},{key:"name",get:function(){return"VideoItemPreviewComponent"}},{key:"template",get:function(){return Vn.a}},{key:"lang",get:function(){return"shared.videoItemPreview"}},{key:"className",get:function(){return"row border-top px-3 m-0"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"appLinks",get:function(){return{".applink-video-details":{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[this.model.get("id")]}}}},{key:"behaviors",get:function(){return[{behaviorClass:p.a,selector:".tool-tip"}]}},{key:"regions",value:function(){return{partialLoadingContainer:{el:".content-container-region",replaceElement:!1,partialLoading:yn.h.VideoItemPreview},description:".description-region",preview:".video-preview-region",tags:{replaceElement:!0,el:".tags-region"}}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(e){e.stopPropagation()}},{key:"onClickShowMoreTags",value:function(){Me.Radio.channel(this.options.channelName).trigger("resize:preview")}},{key:"showTags",value:function(){return!(!this.model.tags||!this.model.tags.length)}},{key:"renderDescription",value:function(){if(this.model&&this.model.get("description")){var e=new gn.a({model:this.model,highlighter:!0,size:gn.b.Small,truncate:!0});this.showChildView("description",e)}}},{key:"renderTags",value:function(){if(this.showTags()){var e=new _n({collection:this.model.tags,videoId:this.model.id&&this.model.get("id"),channelName:this.channelName});this.showChildView("tags",e)}}},{key:"renderVideoPreview",value:function(){var e=new mn.a({model:this.model,webPlayerUrl:this.options.webPlayerUrl,analyticsOptions:{location:qe.LocationContext.VideoItemPreview},currentUser:this.options.currentUser});this.showChildView("preview",e)}},{key:"getSubtitleLanguage",value:function(){if(!this.model.subtitles||!this.model.get("subtitles").length)return"";var e=s.uniq(this.model.get("subtitles").map((function(e){return e.get("language")})));return s.map(e,(function(e){return CVLanguages.getFullEnglishName(e)})).join(", ")}},{key:"getDetails",value:function(e){if(!this.model[e]||!this.model.get(e).length)return"";var n=this.model.get(e).length;return n>1?"".concat(n," ").concat(e):"".concat(vn.a.getPhrase(this.lang,"one")," ").concat(e.slice(0,-1))}},{key:"onBeforeRender",value:function(){return!(!this.model||!this.model.get("dataFetched"))||(Me.Radio.channel(this.options.collectionViewChannel).trigger("fetch:video:with:metadata",this.options.videoId),!(!this.model||!this.model.get("dataFetched"))&&void 0)}},{key:"viewOptions",value:function(){if(this.model&&this.model.get("dataFetched")){var e=this.model.get("duration");return{styles:Mn.a,ratingClass:this.model.rating&&h.h.mapRatingToClass(this.model.rating.get("value")),showTags:this.showTags(),description:this.model.get("description"),duration:e&&f.e.ToDisplayDuration(e),chapters:this.getDetails("chapters"),interactives:this.model.interactives&&this.model.get("interactives").length,subtitles:this.getSubtitleLanguage(),resources:this.getDetails("resources"),links:this.getDetails("links"),externalLink:this.options.externalLink,openExternalSvg:u.a.getSvg(u.b.NewWindow)}}}},{key:"onRender",value:function(){this.renderDescription(),this.renderTags(),this.renderVideoPreview()}}])&&An(n.prototype,t),i&&An(n,i),a}(c.a.Component),Wn=t(1033),zn=t.n(Wn);function Fn(e){return(Fn="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 Yn(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Gn(e,n){return(Gn=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function Kn(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=Jn(e);if(n){var i=Jn(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return qn(this,t)}}function qn(e,n){return!n||"object"!==Fn(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function Jn(e){return(Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zn,Qn,$n,Xn,et,nt,tt,ot,it,rt=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&Gn(e,n)}(r,e);var n,t,o,i=Kn(r);function r(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,e)}return n=r,(t=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"VideoItemProcessingActionsComponent"}},{key:"template",get:function(){return zn.a}},{key:"lang",get:function(){return"shared.videoItemProcessingActions"}},{key:"className",get:function(){return"d-flex h-100 flex-column align-items-end justify-content-between"}},{key:"events",value:function(){return{"click .cancel":"onClickCancel","click .retry":"onClickRetry"}}},{key:"onClickCancel",value:function(){var e=this.pendingItem.get("video").get("name");f.b.generateDialog(e,this.options.channelName,"cancel:pending:item",this.pendingItem)}},{key:"onClickRetry",value:function(){Me.Radio.channel(this.options.channelName).trigger("retry:pending:item",this.pendingItem)}},{key:"bindListeners",value:function(){this.model.get("status")===K.a.Processing&&this.options.pendingItems&&(this.pendingItem||(this.listenTo(this.options.pendingItems,"update",this.mapPendingItem),this.mapPendingItem()))}},{key:"mapPendingItem",value:function(){this.pendingItem=this.options.pendingItems.get(this.model.get("id")),this.render(),this.pendingItem&&(this.stopListening(this.options.pendingItems,"update"),this.listenTo(this.pendingItem,"change:pendingProcessStatus",this.render))}},{key:"viewOptions",value:function(){return{hasError:q.a.hasError(this.pendingItem)}}},{key:"onBeforeRender",value:function(){return!!this.pendingItem}}])&&Yn(n.prototype,t),o&&Yn(n,o),r}(c.a.Component),at=t(1003),lt=t.n(at),st=t(187),ct=t(983);function ut(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}t.d(n,"a",(function(){return mt}));var pt=ct.b,ft=ct.a,ht=function(e){return{component:r.a,options:{model:e.model,lazyload:e.shouldLazyLoadThumbnail(),thumbnailOptions:{size:a.a.Small},href:i.a.safeUrlConcat(e.options.config.get("onlineUrl"),"videos/".concat(e.model.id)),channelName:e.channelName}}},dt=function(e){return{component:Hn,options:{model:e.options.videoWithMetadata,videoId:e.model.id.toString(),channelName:e.channelName,collectionViewChannel:e.options.collectionViewChannel,webPlayerUrl:e.options.config.get("webPlayerUrl"),currentUser:e.options.currentUser}}},gt=function(e){return{component:Hn,options:{model:e.options.videoWithMetadata,videoId:e.model.id.toString(),channelName:e.channelName,collectionViewChannel:e.options.collectionViewChannel,webPlayerUrl:e.options.config.get("webPlayerUrl"),externalLink:i.a.safeUrlConcat(e.options.config.get("onlineUrl"),"videos/".concat(e.model.id)),currentUser:e.options.currentUser}}},mt={componentOptions:(nt={},ut(nt,pt.Base,(Zn={},ut(Zn,ft.Checkbox,(function(e){return{component:l.a,options:{className:"d-inline-flex align-items-center mr-3 ".concat(lt.a.checkboxContainer),checkboxClassName:lt.a.checkbox,itemId:e.model.id,key:e.collectionIdentifier.toString(),type:st.CheckboxTypes.VIDEO_LIST}}})),ut(Zn,ft.Thumbnail,(function(e){return{component:r.a,options:{model:e.model,lazyload:e.shouldLazyLoadThumbnail(),thumbnailOptions:{size:a.a.Small},appLink:{application:o.b.LIBRARY_EDITOR,action:o.a.LibraryEditor.VIDEO_DETAILS,args:[e.model.id]},channelName:e.channelName}}})),ut(Zn,ft.Metadata,(function(e){return{component:B,options:{model:e.model,sourceMetadataOptions:e.options.sourceMetadataOptions}}})),ut(Zn,ft.VideoActions,(function(e){return{component:Ge,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),videoActionsOptions:{model:e.model,application:e.options.application,collectionIdentifier:e.options.collectionIdentifier,customerHasLocalCache:e.options.customerHasLocalCache,customerHasExchange:e.options.customerHasExchange,customerHasCustomLibrary:e.options.customerHasCustomLibrary,analyticsOptions:e.options.analyticsOptions,config:e.options.config,collectionSource:e.options.videoCollectionSource}}}})),ut(Zn,ft.VideoInfo,dt),Zn)),ut(nt,pt.AwaitingReview,(Qn={},ut(Qn,ft.Thumbnail,ht),ut(Qn,ft.Metadata,(function(e){return{component:fe,options:{model:e.model,config:e.options.config}}})),ut(Qn,ft.VideoActions,(function(e){return{component:rn,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),analyticsOptions:e.options.analyticsOptions}}})),ut(Qn,ft.VideoInfo,gt),Qn)),ut(nt,pt.PastReleases,($n={},ut($n,ft.Thumbnail,ht),ut($n,ft.Metadata,(function(e){return{component:xe,options:{model:e.model,config:e.options.config}}})),ut($n,ft.VideoInfo,gt),$n)),ut(nt,pt.VideoAccess,(Xn={},ut(Xn,ft.VideoActions,(function(e){return{component:dn,options:{model:e.model,channelName:e.channelName,previewDisplayed:e.viewModel.get("previewOpen"),analyticsOptions:e.options.analyticsOptions}}})),ut(Xn,ft.Metadata,(function(e){return{component:G,options:{model:e.model,config:e.options.config,sourceMetadataOptions:{showFolder:!0}}}})),ut(Xn,ft.VideoInfo,(function(e){return f.x.hasCustomLibrary(e.model)?dt(e):gt(e)})),Xn)),ut(nt,pt.ProcessingVideo,(et={},ut(et,ft.Metadata,(function(e){return{component:oe,options:{model:e.model,pendingItems:e.options.pendingItems}}})),ut(et,ft.VideoActions,(function(e){return{component:rt,options:{model:e.model,pendingItems:e.options.pendingItems,channelName:e.options.collectionViewChannel,analyticsOptions:e.options.analyticsOptions}}})),et)),ut(nt,pt.Draggable,{}),ut(nt,pt.Search,ut({},ft.Metadata,(function(e){return{component:je,options:{model:e.model,sourceMetadataOptions:{showFolder:!0,highlight:!0}}}}))),nt),onBeforeRender:(it={},ut(it,pt.Base,(tt={},ut(tt,ft.Checkbox,(function(e){return!!e.options.allowBulk})),ut(tt,ft.VideoInfo,(function(e){return!!e.viewModel.get("previewOpen")})),tt)),ut(it,pt.ProcessingVideo,(ot={},ut(ot,ft.Checkbox,(function(){return!1})),ut(ot,ft.VideoInfo,(function(){return!1})),ot)),it)}},1006:function(e,n,t){"use strict";var o=t(2),i=t(1),r=t(983),a=t(1005),l=t(1007);var s,c,u,p=(s={},c=r.b.Draggable,u=function(e){return[{behaviorClass:l.a,collectionIdentifier:e.options.collectionIdentifier,model:e.options.model,selector:"drag-selector"}]},c in s?Object.defineProperty(s,c,{value:u,enumerable:!0,configurable:!0,writable:!0}):s[c]=u,s),f=t(20);t.d(n,"a",(function(){return g}));var h=r.b.Base,d=a.a,g={renderRegions:function(e,n){i.each(e.regions,(function(t,o){m.onBeforeRenderRegion(e,n,o)&&m.renderRegion(e,n,o)}))},onBeforeRenderRegion:function(e,n,t){var o=d.onBeforeRender[n];if(o||(o=d.onBeforeRender[h]),!o)return!0;var r=o[t];return!r||(!i.isFunction(r)||r(e))},renderRegion:function(e,n,t){var o=m.getComponent(e,n,t);e.showChildView(t,o)},getComponent:function(e,n,t){var i=d.componentOptions[n];i||o.a.ErrorHelper.throw(new f.a("Must define VideoItemComponent type options: ".concat(r.b[n],".")));var a=i[t];a||(a=d.componentOptions[h][t]),a||o.a.ErrorHelper.throw(new f.a("Must define VideoItemComponent region options: ".concat(t,".")));var l=a(e);return l.component||o.a.ErrorHelper.throw(new f.a("Must define component for region: ".concat(t,",\n in VideoItemComponent type: ").concat(r.b[n],"."))),new l.component(l.options||{})},getBehaviors:function(e,n){return p[n]?p[n](e):null}},m=g},1007:function(e,n,t){"use strict";t.d(n,"a",(function(){return C}));var o=t(1),i=t(6),r=t(2),a=t(20),l=t(15),s=t(0),c=t(12),u=t(3),p=t(1002),f=t(187),h=t(1010),d=t.n(h);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 m(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function y(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function v(e,n){return(v=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function b(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=w(e);if(n){var i=w(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return k(this,t)}}function k(e,n){return!n||"object"!==g(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function w(e){return(w=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var C=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&v(e,n)}(k,e);var n,t,h,g=b(k);function k(){return m(this,k),g.apply(this,arguments)}return n=k,(t=[{key:"initialize",value:function(){this.options.model||r.a.ErrorHelper.throw(new a.a("DraggableVideoBehavior must be passed a Video model")),this.listenTo(s.w.VIDEO_DRAG_DROP,"drag:style:".concat(this.options.model.id),this.styleDragStart),this.listenTo(s.w.VIDEO_DRAG_DROP,"drag:stop",this.styleDragStop)}},{key:"lang",get:function(){return"libraryEditor.behaviors"}},{key:"helper",value:function(){var e=this.getVideoModels();return new p.b({text:e.length>1?u.a.getPhrase(this.lang,"videos",{videoCount:e.length}):e[0].get("name"),svg:l.a.getSvg(l.b.Play)}).render().el}},{key:"getSelector",value:function(){return this.view.getUI(this.options.selector)}},{key:"styleDragStart",value:function(){this.getSelector().addClass(d.a.draggingVideo)}},{key:"styleDragStop",value:function(){this.getSelector().removeClass(d.a.draggingVideo)}},{key:"start",value:function(){var e=this.getVideoModels(),n=i.Radio.channel(s.w.VIDEO_DRAG_DROP);n.trigger("drag:start",e,this.options.collectionIdentifier),o.each(e,(function(e){return n.trigger("drag:style:".concat(e.id))}))}},{key:"stop",value:function(){i.Radio.channel(s.w.VIDEO_DRAG_DROP).trigger("drag:stop")}},{key:"getVideoModels",value:function(){var e=this,n=c.a.GetSelectedModels({key:this.options.collectionIdentifier.toString(),type:f.CheckboxTypes.VIDEO_LIST,collection:this.view.model.collection});return o.any(n,(function(n){return n.id===e.view.model.id}))||(n=[this.view.model]),n.length?n:[this.view.model]}},{key:"getClassMappings",value:function(){return{"ui-draggable":p.c.draggable,"ui-draggable-disabled":p.c.disabled,"ui-draggable-handle":p.c.handle,"ui-draggable-dragging":p.c.dragging}}},{key:"onRender",value:function(){var e=this.getSelector(),n={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};n.classes=this.getClassMappings(),e.draggable(o.extend({},p.a,n))}},{key:"onBeforeDestroy",value:function(){var e=this.getSelector();e.draggable("instance")&&e.draggable("destroy")}}])&&y(n.prototype,t),h&&y(n,h),k}(r.a.Behavior)},1010:function(e,n,t){e.exports={draggingVideo:"_3cCHx"}},1011:function(e,n,t){"use strict";t.d(n,"a",(function(){return d}));var o=t(2),i=t(997),r=t.n(i),a=t(12),l=t(1004);function s(e){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function u(e,n){return(u=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function p(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=h(e);if(n){var i=h(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return f(this,t)}}function f(e,n){return!n||"object"!==s(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&u(e,n)}(s,e);var n,t,o,i=p(s);function s(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,s),i.call(this,e)}return n=s,(t=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var e=this.getItemId();this.model.set(e,!0,{silent:!0})}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return r.a}},{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: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(e){e.stopPropagation()}},{key:"onChangeCheckbox",value:function(){if(!this.options.disabled){var e=this.getItemId();this.model.has(e)||this.model.get("all")?!1===this.model.get(e)?this.model.set(e,!0):(this.model.set(e,!1),this.model.set(l.a,!1)):this.model.set(e,!0)}}},{key:"viewOptions",value:function(){var e=this.getItemId();return{id:e,checked:this.model.has(e)?this.model.get(e):this.model.get("all"),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&c(n.prototype,t),o&&c(n,o),s}(o.a.Component)},1015:function(e,n,t){"use strict";t.d(n,"a",(function(){return g}));var o=t(1),i=t(2),r=t(4),a=t(42),l=t(1016),s=t.n(l);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function u(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,n){return(p=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function f(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=d(e);if(n){var i=d(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return h(this,t)}}function h(e,n){return!n||"object"!==c(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var g=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&p(e,n)}(c,e);var n,t,i,l=f(c);function c(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,c),l.call(this,e)}return n=c,(t=[{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var e={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var n=this.options.cursors.previous,t=this.buildCursor(this.options.cursors.previous);+n<=1&&!0!==this.options.allowFirstPageCursor&&delete t.params.cursor,e[".previous-applink"]=t}return this.options.cursors.next&&(e[".next-applink"]=this.buildCursor(this.options.cursors.next)),e}},{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(e){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,(n={},t=this.options.cursorParamName,i=e,t in n?Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[t]=i,n))};var n,t,i}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(e){var n=a.a.mergeOptions(this.options.analyticsOptions,{location:r.LocationContext.Pagination,entity:r.EntityType.Pagination,actionType:r.UserAction.Navigate}),t={id:this.options.collectionId,page:e};a.a.logUserAction(t,n)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}}])&&u(n.prototype,t),i&&u(n,i),c}(i.a.Component)},1016:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=t.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">'+s((t.lang||n&&n.lang||l).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=t.unless.call(a,null!=(r=null!=(r=null!=n?n.options:n)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">'+s((t.lang||n&&n.lang||l).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},1017:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <span class="badge p-1 '+a(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.interactive:r,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"interactive",{name:"lang",hash:{},data:i}))+"</span>\r\n"},3:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 tool-tip '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.rating:r,n))+" "+l(a(null!=(r=null!=n?n.options:n)?r.ratingColorClass:r,n))+'" title="'+l(a(null!=(r=null!=n?n.rating:n)?r.name:r,n))+'">'+l(a(null!=(r=null!=n?n.rating:n)?r.code:r,n))+"</span>\r\n"},5:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return' <span class="d-inline-block tool-tip '+e.escapeExpression(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="Subtitles">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.closeCaptionSvg:r,n))?r:"")+"</span>\r\n"},7:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return' <span class="d-inline-block tool-tip '+e.escapeExpression(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="Resources">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.resourcesSvg:r,n))?r:"")+"</span>\r\n"},9:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 '+l(a(null!=(r=null!=n?n.options:n)?r.awaitingReviewBadgeClass:r,n))+'">'+l(a(null!=(r=null!=n?n.options:n)?r.awaitingReviewMsg:r,n))+"</span>\r\n"},11:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="badge p-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.restrictionBadgeClass:r,n))+'">'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return'<div class="mt-1 '+e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.badgesWrapper:r,n))+'">\r\n'+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.interactive:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.rating:n)?r.code:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.subtitles:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.resources:r,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.awaitingReviewMsg:r,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,{name:"if",hash:{},fn:e.program(11,i,0),inverse:e.noop,data:i}))?r:"")+"</div>"},useData:!0})},1018:function(e,n,t){e.exports={interactive:"_37GpR",rating:"_2lAYT",svgContainer:"_19ncQ",badgesWrapper:"_26lCi",restrictionBadgeClass:"UdQeS",reviewBadge:"ExFLF",urgentReviewBadge:"_3dcfL"}},1019:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block ml-1 tool-tip '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=null!=n?n:e.nullContext||{};return'<div class="series-region"></div>\r\n<a class="cursor-pointer applink-show-video h6 text-dark">'+e.escapeExpression("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:i}):a)+"</a>\r\n"+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="sources-region"></div>\r\n<div class="badges-region"></div>'},useData:!0})},1020:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression;return'<a class="cursor-pointer h6 video-title text-dark" href="'+s(l(null!=(r=null!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+s("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:i}):a)+'</a>\r\n<a class="svg-container d-inline-block align-bottom text-muted no-decoration" href="'+s(l(null!=(r=null!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</a>\r\n"},3:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return'<a class="cursor-pointer applink-show-video h6">'+e.escapeExpression("function"==typeof(r=null!=(r=t.name||(null!=n?n.name:n))?r:e.hooks.helperMissing)?r.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:i}):r)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<div class="series-region"></div>\r\n'+(null!=(r=t.if.call(null!=n?n:e.nullContext||{},null!=(r=null!=n?n.options:n)?r.linkToOnline:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+'<span class="d-inline-block ml-1 tool-tip '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.lock:r,n))+" "+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+'</span>\r\n<div class="sources-region"></div>\r\n<div class="badges-region"></div>'},useData:!0})},1021:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return' <span class="d-inline-block align-middle ml-1 '+e.escapeExpression(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.lockSvgContainer:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},3:function(e,n,t,o,i){return"text-danger"},5:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return" "+e.escapeExpression(e.lambda(null!=(r=null!=n?n.options:n)?r.status:r,n))+"\r\n"},7:function(e,n,t,o,i){e.propertyIsEnumerable;return" "+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"waiting",{name:"lang",hash:{},data:i}))+"\r\n"},9:function(e,n,t,o,i){e.propertyIsEnumerable;return" <br><i>"+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"anotherAdmin",{name:"lang",hash:{},data:i}))+"</i>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=null!=n?n:e.nullContext||{};return'<a class="applink-show-video h6 text-dark">'+e.escapeExpression("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(l,{name:"name",hash:{},data:i}):a)+"</a>\r\n"+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="processing '+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasError:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+'">\r\n'+(null!=(r=t.if.call(l,null!=(r=null!=n?n.options:n)?r.hasPendingItem:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.program(7,i,0),data:i}))?r:"")+(null!=(r=t.unless.call(l,null!=(r=null!=n?n.options:n)?r.hasPendingItem:r,{name:"unless",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"</div>"},useData:!0})},1022:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression;return'<div class="series-region"></div>\r\n<a class="cursor-pointer h6 video-title text-dark" href="'+s(l(null!=(r=null!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+s("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(null!=n?n:e.nullContext||{},{name:"name",hash:{},data:i}):a)+'</a>\r\n<a class="svg-container d-inline-block align-bottom text-muted no-decoration" href="'+s(l(null!=(r=null!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+'</a>\r\n<div class="badges-region"></div>'},useData:!0})},1023:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block svg-container align-bottom tool-tip '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.lock:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=e.lambda,s=e.escapeExpression,c=null!=n?n:e.nullContext||{};return'<div class="series-region"></div>\r\n<a class="cursor-pointer h6 video-title text-dark" href="'+s(l(null!=(r=null!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+s("function"==typeof(a=null!=(a=t.name||(null!=n?n.name:n))?a:e.hooks.helperMissing)?a.call(c,{name:"name",hash:{},data:i}):a)+'</a>\r\n<a class="svg-container d-inline-block align-bottom text-muted no-decoration" href="'+s(l(null!=(r=null!=n?n.options:n)?r.videoUrl:r,n))+'" target="_blank">'+(null!=(r=l(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</a>\r\n"+(null!=(r=t.if.call(c,null!=(r=null!=n?n.options:n)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="badges-region"></div>'},useData:!0})},1024:function(e,n,t){e.exports={series:"P3914"}},1025:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <span class="d-inline-block ml-1 tool-tip '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" title="'+l(a(null!=(r=null!=n?n.options:n)?r.restrictionMessage:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.lockSvg:r,n))?r:"")+"</span>\r\n"},3:function(e,n,t,o,i){var r;return' <span class="d-block pt-1">'+(null!=(r=e.lambda(n,n))?r:"")+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return'<div class="series-region"></div>\r\n<a class="cursor-pointer applink-show-video h6 text-dark">'+(null!=(r=e.lambda(null!=(r=null!=n?n.options:n)?r.name:r,n))?r:"")+"</a>\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.hasAdminRestriction:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'<div class="sources-region"></div>\r\n<div class="badges-region"></div>\r\n'+(null!=(r=t.each.call(a,null!=(r=null!=n?n.options:n)?r.keyPhrases:r,{name:"each",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1026:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="video-actions-region row no-gutters video-item-actions '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.actions:r,n))+'"></div>\r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.showPreview:r,n))+'">\r\n <span class="svg-container">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.previewSvg:r,n))?r:"")+"</span>\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div>"},useData:!0})},1027:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,c=e.lambda;return'<button class="approve d-flex btn btn-sm btn-outline-success" type="button">'+s((t.lang||n&&n.lang||l).call(a,"approve",{name:"lang",hash:{},data:i}))+'</button>\r\n<a class="applink-manage-video-access cursor-pointer hover-text-underline py-1">'+(null!=(r=(t.lang||n&&n.lang||l).call(a,"manageAccess",{name:"lang",hash:{},data:i}))?r:"")+'</a> \r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+s(c(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.showPreview:r,n))+'"> \r\n <span class="svg-container">'+(null!=(r=c(null!=(r=null!=n?n.options:n)?r.previewSvg:r,n))?r:"")+"</span> \r\n "+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+s((t.lang||n&&n.lang||l).call(a,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div> "},useData:!0})},1028:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"hide",{name:"lang",hash:{},data:i}))},3:function(e,n,t,o,i){e.propertyIsEnumerable;return e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"show",{name:"lang",hash:{},data:i}))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression,c=e.lambda;return'<button class="applink-manage-video-access d-flex btn btn-sm btn-secondary" type="button">'+s((t.lang||n&&n.lang||l).call(a,"manageAccess",{name:"lang",hash:{},data:i}))+'</button>\r\n<div class="row no-gutters cursor-pointer video-item-show-preview '+s(c(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.showPreview:r,n))+'">\r\n <span class="svg-container">'+(null!=(r=c(null!=(r=null!=n?n.options:n)?r.previewSvg:r,n))?r:"")+"</span>\r\n "+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.previewDisplayed:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+" "+s((t.lang||n&&n.lang||l).call(a,"preview",{name:"lang",hash:{},data:i}))+"\r\n</div>"},useData:!0})},1030:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return' <a class="info-link show-more-tags">'+e.escapeExpression(e.lambda(null!=(r=null!=n?n.options:n)?r.extraTagsText:r,n))+"</a>\r\n"},3:function(e,n,t,o,i){e.propertyIsEnumerable;return' <a class="info-link applink-video-details">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"viewAllTags",{name:"lang",hash:{},data:i}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return'<div class="tags-region"></div>\r\n\r\n'+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.expandable:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.moreTags:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")},useData:!0})},1031:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return" <p>"+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"noDescription",{name:"lang",hash:{},data:i}))+"</p>\r\n"},3:function(e,n,t,o,i){return' <div class="description-region"></div>\r\n'},5:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <div class="col-6 pb-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"rating",{name:"lang",hash:{},data:i}))+'</div>\r\n <div class="col-6 mb-0 pb-1">\r\n <span class="badge p-1 text-white tool-tip '+l(a(null!=(r=null!=n?n.options:n)?r.ratingClass:r,n))+'" title="'+l(a(null!=(r=null!=n?n.rating:n)?r.name:r,n))+'">'+l(a(null!=(r=null!=n?n.rating:n)?r.code:r,n))+"</span>\r\n </div>\r\n"},7:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a,l=e.escapeExpression,s=null!=n?n:e.nullContext||{},c=e.hooks.helperMissing;return' <div class="col-6 py-1 '+l(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||c).call(s,"productionYear",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l("function"==typeof(a=null!=(a=t.productionYear||(null!=n?n.productionYear:n))?a:c)?a.call(s,{name:"productionYear",hash:{},data:i}):a)+"</p>\r\n"},9:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"chapters",{name:"lang",hash:{},data:i}))+'</div>\r\n <a\r\n class="col-6 info-link mb-0 py-1 '+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?r:"")+" >\r\n "+l(a(null!=(r=null!=n?n.options:n)?r.chapters:r,n))+"\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n </a>\r\n"},10:function(e,n,t,o,i){return"applink-video-details"},12:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return' href="'+e.escapeExpression(e.lambda(null!=(r=null!=n?n.options:n)?r.externalLink:r,n))+'"\r\n target="_blank"\r\n'},14:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda;return'<div class="d-inline-block '+e.escapeExpression(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.smallSvgContainer:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</div>"},16:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"interactives",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=n?n.options:n)?r.interactives:r,n))+"</p>\r\n"},18:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"subtitles",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=n?n.options:n)?r.subtitles:r,n))+"</p>\r\n"},20:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"resources",{name:"lang",hash:{},data:i}))+'</div>\r\n <a\r\n class="col-6 info-link mb-0 py-1 '+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?r:"")+" >\r\n "+l(a(null!=(r=null!=n?n.options:n)?r.resources:r,n))+"\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n </a>\r\n"},22:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return' <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(s,"links",{name:"lang",hash:{},data:i}))+'</div>\r\n <a\r\n class="col-6 info-link mb-0 py-1 '+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"unless",hash:{},fn:e.program(10,i,0),inverse:e.noop,data:i}))?r:"")+'"\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(12,i,0),inverse:e.noop,data:i}))?r:"")+" >\r\n "+l(a(null!=(r=null!=n?n.options:n)?r.links:r,n))+"\r\n "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(14,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n </a>\r\n"},24:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <div class="py-1 '+a(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"tags",{name:"lang",hash:{},data:i}))+'</div>\r\n <div class="tags-region"></div>\r\n <div class="col-12">&nbsp;</div>\r\n'},26:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <a href="'+l(a(null!=(r=null!=n?n.options:n)?r.externalLink:r,n))+'" target="_blank" class="info-link d-inline-block pt-3 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">\r\n '+l((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"goToVideo",{name:"lang",hash:{},data:i}))+'\r\n <div class="d-inline-block svg-container">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.openExternalSvg:r,n))?r:"")+"</div>\r\n </a>\r\n"},28:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.escapeExpression;return' <a class="info-link applink-video-details d-inline-block pt-3 '+a(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+a((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"viewFullDetails",{name:"lang",hash:{},data:i}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="content-container-region row w-100 pl-0">\r\n <div class="col-8 border-right pt-3">\r\n <p class="text-uppercase text-muted '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||c).call(s,"description",{name:"lang",hash:{},data:i}))+"</p>\r\n \r\n"+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.description:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.program(3,i,0),data:i}))?r:"")+' \r\n <div class="video-preview-region col-7 my-3 pl-0"></div>\r\n </div>\r\n <div class="col-4 my-3 pr-0 pl-3">\r\n <p class="text-uppercase text-muted '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||c).call(s,"details",{name:"lang",hash:{},data:i}))+'</p>\r\n\r\n <div class="row">\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.rating:n)?r.code:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=n?n.productionYear:n,{name:"if",hash:{},fn:e.program(7,i,0),inverse:e.noop,data:i}))?r:"")+'\r\n <div class="col-6 py-1 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.columnNames:r,n))+'">'+l((t.lang||n&&n.lang||c).call(s,"duration",{name:"lang",hash:{},data:i}))+'</div>\r\n <p class="col-6 mb-0 py-1">'+l(a(null!=(r=null!=n?n.options:n)?r.duration:r,n))+"</p>\r\n\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.chapters:r,{name:"if",hash:{},fn:e.program(9,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.interactives:r,{name:"if",hash:{},fn:e.program(16,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.subtitles:r,{name:"if",hash:{},fn:e.program(18,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.resources:r,{name:"if",hash:{},fn:e.program(20,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.links:r,{name:"if",hash:{},fn:e.program(22,i,0),inverse:e.noop,data:i}))?r:"")+" </div>\r\n\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.showTags:r,{name:"if",hash:{},fn:e.program(24,i,0),inverse:e.noop,data:i}))?r:"")+"\r\n"+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.externalLink:r,{name:"if",hash:{},fn:e.program(26,i,0),inverse:e.program(28,i,0),data:i}))?r:"")+" </div>\r\n</div>"},useData:!0})},1032:function(e,n,t){e.exports={columnNames:"QvhY0",smallSvgContainer:"_2qax8"}},1033:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;return' <button class="btn btn-light retry">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(null!=n?n:e.nullContext||{},"retry",{name:"lang",hash:{},data:i}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{};return"<div>\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.hasError:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+' <button class="btn btn-light cancel">'+e.escapeExpression((t.lang||n&&n.lang||e.hooks.helperMissing).call(a,"cancel",{name:"lang",hash:{},data:i}))+"</button>\r\n</div>\r\n"},useData:!0})},1034:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){return" cursor-pointer"},3:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return' <div class="bulk-checkbox-region '+(null!=(r=t.if.call(null!=n?n:e.nullContext||{},null!=(r=null!=n?n.options:n)?r.bulkPlaceholder:r,{name:"if",hash:{},fn:e.program(4,i,0),inverse:e.noop,data:i}))?r:"")+'"></div>\r\n'},4:function(e,n,t,o,i){var r;e.propertyIsEnumerable;return e.escapeExpression(e.lambda(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.bulkPlaceholder:r,n))},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="d-flex justify-content-between align-items-stretch p-3 drag-item '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.videoItem:r,n))+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.isClickable:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'">\r\n'+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.allowBulk:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+' <div class="thumbnail-region d-inline-block '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.thumbnailContainer:r,n))+'"></div>\r\n <div class="metadata-region d-inline-block px-3 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.metaContainer:r,n))+'"></div>\r\n <div class="video-actions-region d-inline-block '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.actionsContainer:r,n))+'"></div>\r\n</div>\r\n<div class="video-info-region '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.previewContainer:r,n))+'"></div>'},useData:!0})},1035:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){return'<div class="videos-region"></div>'},useData:!0})},1043:function(e,n,t){"use strict";var o=t(2),i=t(4),r=t(42),a=t(294),l=t(6),s=t(30),c=t(14),u=t(0),p=t(12),f=t(1006),h=t(983),d=t(1034),g=t.n(d),m=t(1003),y=t.n(m);function v(e){return(v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function b(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function k(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function w(e,n){return(w=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function C(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=x(e);if(n){var i=x(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return O(this,t)}}function O(e,n){return!n||"object"!==v(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function x(e){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&w(e,n)}(m,e);var n,t,a,d=C(m);function m(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,m),d.call(this,e)}return n=m,(t=[{key:"initialize",value:function(){this.initViewModel(),this.listenTo(this.channelName,"thumbnail:load",this.onThumbnailLoad),this.listenTo(this.channelName,"click:show:preview",this.onClickTogglePreview),this.listenTo(this.options.collectionViewChannel,"close:preview",this.onCloseCollectionPreview)}},{key:"name",get:function(){return"VideoItemComponent"}},{key:"defaults",get:function(){return{componentType:h.b.Base,allowBulk:!1}}},{key:"behaviors",get:function(){return f.a.getBehaviors(this,this.options.componentType)}},{key:"template",get:function(){return g.a}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"getTypeClassName",value:function(){switch(this.options.componentType){case h.b.ProcessingVideo:return y.a.processingVideo;default:return""}}},{key:"className",get:function(){var e="border-bottom";return this.options.allowBulk&&(e+=" ".concat(y.a.allowBulk)),this.options.componentType&&(e+=" ".concat(this.getTypeClassName())),e}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"elements",get:function(){return{"drag-selector":".drag-item",previewContainer:".".concat(y.a.previewContainer)}}},{key:"regions",value:function(){var e;return b(e={},h.a.Checkbox,{replaceElement:!0,el:".bulk-checkbox-region"}),b(e,h.a.Thumbnail,".thumbnail-region"),b(e,h.a.Metadata,".metadata-region"),b(e,h.a.VideoActions,".video-actions-region"),b(e,h.a.VideoInfo,".video-info-region"),e}},{key:"events",value:function(){return{click:"onClick"}}},{key:"initViewModel",value:function(){this.viewModel=s.a.get("".concat(this.name,":").concat(this.model.get("id")),{previewOpen:!1})}},{key:"isClickable",value:function(){return this.options.componentType!==h.b.ProcessingVideo}},{key:"onThumbnailLoad",value:function(){this.thumbnailLoaded=!0}},{key:"onClick",value:function(){this.isClickable()&&this.onClickTogglePreview(!1)}},{key:"onClickTogglePreview",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];l.Radio.channel(this.options.collectionViewChannel).trigger("close:preview",this.cid),this.togglePreview(!this.viewModel.get("previewOpen")),this.logTogglePreviewAction(e)}},{key:"onNavigateAway",value:function(){this.viewModel.set({previewOpen:!1})}},{key:"togglePreview",value:function(e){var n=this;if(this.viewModel.set({previewOpen:e}),e)return this.setPreviewHeight(),this.listenToOnce(c.a.SHELL,o.a.EventNames.ROUTE,this.onNavigateAway),void this.render();this.stopListening(l.Radio.channel(c.a.SHELL),o.a.EventNames.ROUTE),this.getUI("previewContainer").height(0),window.setTimeout((function(){return n.render()}),300)}},{key:"setPreviewHeight",value:function(){var e=this;this.listenToOnce(this.getRegion(h.a.VideoInfo),"show",(function(){var n=e.getRegion(h.a.VideoInfo).currentView;e.listenTo(n,"render",(function(){e.getUI("previewContainer").height(n.$el.outerHeight())})),e.listenTo(e.channelName,"resize:preview",(function(){window.setTimeout((function(){return e.getUI("previewContainer").height(n.$el.outerHeight())}),0)})),n.isRendered()&&e.getUI("previewContainer").height(n.$el.outerHeight())}))}},{key:"onCloseCollectionPreview",value:function(e){this.cid!==e&&this.viewModel.get("previewOpen")&&this.togglePreview(!1)}},{key:"shouldLazyLoadThumbnail",value:function(){return!!p.h.isLazyLoadSupported(u.p)&&!this.thumbnailLoaded}},{key:"logTogglePreviewAction",value:function(e){var n=r.a.mergeOptions(this.options.analyticsOptions,{actionType:i.UserAction.Click,descriptor:i.ClickDescriptor.TogglePreview,workflowPhase:i.WorkflowPhase.Complete}),t={buttonClicked:e,show:this.viewModel.get("previewOpen")};r.a.logUserAction(t,n)}},{key:"viewOptions",value:function(){return{styles:y.a,allowBulk:this.options.allowBulk,bulkPlaceholder:this.options.componentType===h.b.ProcessingVideo&&this.options.allowBulk,isClickable:this.isClickable()}}},{key:"onRender",value:function(){f.a.renderRegions(this,this.options.componentType)}},{key:"onAttach",value:function(){this.viewModel.get("previewOpen")&&this.togglePreview(!0)}}])&&k(n.prototype,t),a&&k(n,a),m}(o.a.Component),S=t(291),P=t(97),R=t(9),I=t(292),_=t(1035),T=t.n(_);function V(e){return(V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function M(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function L(e,n,t){return n&&M(e.prototype,n),t&&M(e,t),e}function A(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&B(e,n)}function B(e,n){return(B=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function D(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=U(e);if(n){var i=U(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return N(this,t)}}function N(e,n){return!n||"object"!==V(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.d(n,"a",(function(){return W}));var H=function(e){A(t,e);var n=D(t);function t(e){return j(this,t),n.call(this,e)}return L(t,[{key:"name",get:function(){return"VideoItemListComponent"}},{key:"childView",get:function(){return E}},{key:"childViewOptions",get:function(){var e=this;return function(n){return{componentType:n.get("status")===P.a.Processing?h.b.ProcessingVideo:e.options.videoItemComponentType,videoWithMetadata:e.options.videosWithMetadata&&e.options.videosWithMetadata.get(n.get("id")),allowBulk:e.options.allowBulk,collectionIdentifier:e.options.collectionIdentifier,application:e.options.application,pendingItems:e.options.pendingItems,config:e.options.config,sourceMetadataOptions:e.options.sourceMetadataOptions,collectionViewChannel:e.options.collectionViewChannel,customerHasLocalCache:e.options.customerHasLocalCache,customerHasExchange:e.options.customerHasExchange,customerHasCustomLibrary:e.options.customerHasCustomLibrary,analyticsOptions:e.options.analyticsOptions,videoCollectionSource:e.options.videoCollectionSource,currentUser:e.options.currentUser}}}}]),t}(o.a.ComponentCollection),W=function(e){A(t,e);var n=D(t);function t(e){return j(this,t),n.call(this,e)}return L(t,[{key:"name",get:function(){return"VideoListView"}},{key:"className",get:function(){return"bg-white"}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"template",get:function(){return T.a}},{key:"defaults",get:function(){return{videoItemComponentType:h.b.Base,allowBulk:!1,emptyState:R.c.Default,videoCollectionSource:I.d.Folder}}},{key:"behaviors",get:function(){return[{behaviorClass:S.c,selector:".lazy-img",minBrowserSupportVersion:u.p},{behaviorClass:a.a,region:"videos",type:this.options.emptyStateType,componentOptions:this.options.emptyStateOptions,emptyStateComponents:u.h}]}},{key:"regions",value:function(){return{videos:".videos-region"}}},{key:"onRender",value:function(){var e=new H({collection:this.collection,videosWithMetadata:this.options.videosWithMetadata,videoItemComponentType:this.options.videoItemComponentType,allowBulk:this.options.allowBulk,collectionIdentifier:this.collectionIdentifier,application:this.options.application,pendingItems:this.options.pendingItems,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,customerHasCustomLibrary:this.options.customerHasCustomLibrary,analyticsOptions:r.a.mergeOptions(this.options.analyticsOptions,{location:i.LocationContext.VideoListItem,entity:i.EntityType.Video}),videoCollectionSource:this.options.videoCollectionSource,currentUser:this.options.currentUser});this.showChildView("videos",e)}}]),t}(o.a.Component)},1272:function(e,n,t){e.exports={svgContainer:"_2KSbB"}},1273:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return' <a class="d-inline-block ml-2 '+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+'" href="'+l(a(null!=(r=null!=n?n.options:n)?r.supportUrl:r,n))+'">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.svg:r,n))?r:"")+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=null!=n?n:e.nullContext||{},l=e.hooks.helperMissing,s=e.escapeExpression;return'<div class="pl-3 pt-3 pr-3">\r\n <div class="border-bottom">\r\n <div class="d-flex align-items-center pb-3 border-bottom">\r\n <h1 class="h3 d-inline-block m-0">'+s((t.lang||n&&n.lang||l).call(a,"heading",{name:"lang",hash:{},data:i}))+" </h1>\r\n"+(null!=(r=t.if.call(a,null!=(r=null!=n?n.options:n)?r.supportUrl:r,{name:"if",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+' </div>\r\n <p class="py-3 m-0">\r\n '+s((t.lang||n&&n.lang||l).call(a,"description",{name:"lang",hash:{},data:i}))+'\r\n </p>\r\n </div> \r\n</div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>\r\n<div class="empty-region"></div>'},useData:!0})},1388:function(e,n,t){"use strict";t.r(n),t.d(n,"RestrictedVideoListView",(function(){return P}));var o=t(2),i=t(5),r=t(3),a=t(15),l=t(133),s=t(1015),c=t(50),u=t(0),p=t(9),f=t(188),h=t(98),d=t(1043),g=t(983),m=t(1272),y=t.n(m),v=t(1273),b=t.n(v),k=t(134);function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function C(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function O(e,n){return(O=Object.setPrototypeOf||function(e,n){return e.__proto__=n,e})(e,n)}function x(e){var n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var t,o=S(e);if(n){var i=S(this).constructor;t=Reflect.construct(o,arguments,i)}else t=o.apply(this,arguments);return E(this,t)}}function E(e,n){return!n||"object"!==w(n)&&"function"!=typeof n?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):n}function S(e){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var P=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),n&&O(e,n)}(v,e);var n,t,o,m=x(v);function v(e){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,v),m.call(this,e)}return n=v,(t=[{key:"initialize",value:function(){this.bindListeners(),this.restrictedVideoDataService=i.a.getInstance(u.g.RestrictedVideo,this),this.videoDataService=i.a.getInstance(u.g.Video,this)}},{key:"bindListeners",value:function(){this.listenTo(u.e.RESTRICTED_VIDEO,"".concat(u.f.RESTRICTED_VIDEOS,":").concat(this.options.page,":sync"),this.render),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata),this.listenTo(u.e.RESTRICTED_VIDEO,"cache:cleared",this.render)}},{key:"name",get:function(){return"RestrictedVideoListView"}},{key:"title",get:function(){return r.a.getPhrase(this.lang,"title")}},{key:"className",get:function(){return"bg-white"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"template",get:function(){return b.a}},{key:"lang",get:function(){return"videoAccess.restrictedVideoList"}},{key:"behaviors",get:function(){return[{behaviorClass:l.a,selector:".".concat(y.a.svgContainer),title:r.a.getPhrase(this.lang,"findOutMore")}]}},{key:"defaults",get:function(){return{page:1}}},{key:"regions",value:function(){return{videos:{replaceElement:!0,el:".video-list-region",partialLoading:p.h.VideoList},pagination:{replaceElement:!0,el:".pagination-region"},empty:{replaceElement:!0,el:".empty-region"}}}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new c.a(this.videoCollection.map((function(e){return new h.a({id:e.get("id")})}))))}},{key:"renderVideoList",value:function(){this.showChildView("videos",new d.a({collection:this.videoCollection,videosWithMetadata:this.videosWithMetadata,application:u.b.VIDEO_ACCESS,collectionIdentifier:null,videoItemComponentType:g.b.VideoAccess,config:this.config,emptyStateType:p.c.VideoAccess,emptyStateOptions:{heading:r.a.getPhrase(this.lang,"emptyStateHeading")},collectionViewChannel:this.channelName,currentUser:this.currentUser}))}},{key:"renderPagination",value:function(){var e=this.restrictedVideoDataService.getPaginationCursors(this.options.page);this.showChildView("pagination",new s.a({cursors:e,appLink:{application:u.b.VIDEO_ACCESS,action:u.a.VideoAccess.HOME},cursorParamName:"page"}))}},{key:"fetchVideoWithMetadata",value:function(e){var n=this;this.videoDataService.getVideo(e,(function(t){var o=n.videosWithMetadata.get(e);o&&(o.set(t.toJSON()),o.set({dataFetched:!0}))}))}},{key:"requiredResources",get:function(){return{config:f.b.config,currentUser:k.b.currentUser}}},{key:"onBeforeRender",value:function(){return this.videoCollection=this.restrictedVideoDataService.getRestrictedVideos(this.options.page),!!this.videoCollection&&(this.setVideosWithMetadata(),!0)}},{key:"viewOptions",value:function(){var e=this.config?"".concat(this.config.get("supportSiteUrl")).concat(u.y.VIDEO_ACCESS):"";return{styles:y.a,supportUrl:e,svg:a.a.getSvg(a.b.Info)}}},{key:"onRender",value:function(){this.renderVideoList(),this.renderPagination()}}])&&C(n.prototype,t),o&&C(n,o),v}(o.a.View)},983:function(e,n,t){"use strict";var o,i;t.d(n,"b",(function(){return o})),t.d(n,"a",(function(){return i})),function(e){e[e.Base=0]="Base",e[e.AwaitingReview=1]="AwaitingReview",e[e.PastReleases=2]="PastReleases",e[e.VideoAccess=3]="VideoAccess",e[e.ProcessingVideo=4]="ProcessingVideo",e[e.Draggable=5]="Draggable",e[e.Search=6]="Search"}(o||(o={})),function(e){e.Checkbox="checkbox",e.Thumbnail="thumbnail",e.Metadata="metadata",e.VideoActions="videoActions",e.VideoInfo="videoInfo"}(i||(i={}))},984:function(e,n,t){e.exports={lock:"_25RMJ",svgContainer:"_1k8KB"}},985:function(e,n,t){e.exports={dragItem:"_2TIZ7",svgContainer:"_3JzEU",dragText:"_1Kdwj"}},986:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression;return'<span class="'+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.svgContainer:r,n))+' mr-2">'+(null!=(r=a(null!=(r=null!=n?n.options:n)?r.svg:r,n))?r:"")+'</span>\r\n<span class="'+l(a(null!=(r=null!=(r=null!=n?n.options:n)?r.styles:r)?r.dragText:r,n))+'">'+l(a(null!=(r=null!=n?n.options:n)?r.text:r,n))+"</span>"},useData:!0})},995:function(e,n,t){e.exports={actions:"_34Z19",showPreview:"cZAmH"}},997:function(e,n,t){var o=t(10);e.exports=(o.default||o).template({1:function(e,n,t,o,i){return" cursor-pointer"},3:function(e,n,t,o,i){return"checked"},5:function(e,n,t,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,n,t,o,i){e.propertyIsEnumerable;var r,a=e.lambda,l=e.escapeExpression,s=null!=n?n:e.nullContext||{};return'<div class="custom-control custom-checkbox '+l(a(null!=(r=null!=n?n.options:n)?r.checkboxClassName:r,n))+'">\r\n <input name="checkbox-'+l(a(null!=(r=null!=n?n.options:n)?r.id:r,n))+'" id="checkbox-'+l(a(null!=(r=null!=n?n.options:n)?r.id:r,n))+'" type="checkbox" class="custom-control-input'+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.disabled:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'" '+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.checked:r,{name:"if",hash:{},fn:e.program(3,i,0),inverse:e.noop,data:i}))?r:"")+" "+(null!=(r=t.if.call(s,null!=(r=null!=n?n.options:n)?r.disabled:r,{name:"if",hash:{},fn:e.program(5,i,0),inverse:e.noop,data:i}))?r:"")+' />\r\n <label class="custom-control-label'+(null!=(r=t.unless.call(s,null!=(r=null!=n?n.options:n)?r.disabled:r,{name:"unless",hash:{},fn:e.program(1,i,0),inverse:e.noop,data:i}))?r:"")+'" for="checkbox-'+l(a(null!=(r=null!=n?n.options:n)?r.id:r,n))+'">&nbsp;</label>\r\n</div>'},useData:!0})}}]);
@@ -1,33 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[24],{
2
-
3
- /***/ "./src/shared/components/breadcrumbs/BreadcrumbComponentCollection.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__, \"BreadcrumbComponentCollection\", function() { return BreadcrumbComponentCollection; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var _BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/breadcrumbs/BreadcrumbItem.hbs\");\n/* harmony import */ var _BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1__);\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\nvar BreadcrumbItemComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(BreadcrumbItemComponent, _Core$Component);\n\n var _super = _createSuper(BreadcrumbItemComponent);\n\n function BreadcrumbItemComponent() {\n _classCallCheck(this, BreadcrumbItemComponent);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(BreadcrumbItemComponent, [{\n key: \"name\",\n get: function get() {\n return 'BreadcrumbItemComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _BreadcrumbItem_hbs__WEBPACK_IMPORTED_MODULE_1___default.a;\n }\n }, {\n key: \"tagName\",\n get: function get() {\n return 'li';\n }\n }, {\n key: \"className\",\n get: function get() {\n var className = 'breadcrumb-item';\n if (this.model.get('active')) className += ' active';\n return className;\n }\n }, {\n key: \"attributes\",\n get: function get() {\n if (!this.model.get('active')) return {};\n return {\n 'aria-current': 'page'\n };\n }\n }, {\n key: \"appLinks\",\n get: function get() {\n if (this.model.get('active')) return {};\n return {\n a: this.model.get('appLink')\n };\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n isActive: this.model.get('active')\n };\n }\n }]);\n\n return BreadcrumbItemComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);\n\nvar BreadcrumbComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {\n _inherits(BreadcrumbComponentCollection, _Core$ComponentCollec);\n\n var _super2 = _createSuper(BreadcrumbComponentCollection);\n\n function BreadcrumbComponentCollection() {\n _classCallCheck(this, BreadcrumbComponentCollection);\n\n return _super2.apply(this, arguments);\n }\n\n _createClass(BreadcrumbComponentCollection, [{\n key: \"name\",\n get: function get() {\n return 'BreadcrumbComponentCollection';\n }\n }, {\n key: \"tagName\",\n get: function get() {\n return 'ol';\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'breadcrumb m-0 p-0';\n }\n }, {\n key: \"childView\",\n get: function get() {\n return BreadcrumbItemComponent;\n }\n }]);\n\n return BreadcrumbComponentCollection;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].ComponentCollection);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYkNvbXBvbmVudENvbGxlY3Rpb24udHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy9icmVhZGNydW1icy9CcmVhZGNydW1iQ29tcG9uZW50Q29sbGVjdGlvbi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPYmplY3RIYXNoIH0gZnJvbSAnYmFja2JvbmUnO1xyXG5pbXBvcnQgeyBDb3JlIH0gZnJvbSAnbGlicy9jb21tb24vY29yZSc7XHJcblxyXG5pbXBvcnQgQnJlYWRjcnVtYkl0ZW1UZW1wbGF0ZSBmcm9tICcuL0JyZWFkY3J1bWJJdGVtLmhicyc7XHJcblxyXG5jbGFzcyBCcmVhZGNydW1iSXRlbUNvbXBvbmVudCBleHRlbmRzIENvcmUuQ29tcG9uZW50IHtcclxuICBwdWJsaWMgZ2V0IG5hbWUoKTogc3RyaW5nIHtcclxuICAgIHJldHVybiAnQnJlYWRjcnVtYkl0ZW1Db21wb25lbnQnO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCB0ZW1wbGF0ZSgpOiBhbnkge1xyXG4gICAgcmV0dXJuIEJyZWFkY3J1bWJJdGVtVGVtcGxhdGU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IHRhZ05hbWUoKTogc3RyaW5nIHtcclxuICAgIHJldHVybiAnbGknO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBjbGFzc05hbWUoKTogc3RyaW5nIHtcclxuICAgIGxldCBjbGFzc05hbWUgPSAnYnJlYWRjcnVtYi1pdGVtJztcclxuXHJcbiAgICBpZiAodGhpcy5tb2RlbC5nZXQoJ2FjdGl2ZScpKVxyXG4gICAgICBjbGFzc05hbWUgKz0gJyBhY3RpdmUnO1xyXG5cclxuICAgIHJldHVybiBjbGFzc05hbWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IGF0dHJpYnV0ZXMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICBpZiAoIXRoaXMubW9kZWwuZ2V0KCdhY3RpdmUnKSkgcmV0dXJuIHt9O1xyXG5cclxuICAgIHJldHVybiB7XHJcbiAgICAgICdhcmlhLWN1cnJlbnQnOiAncGFnZSdcclxuICAgIH07XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IGFwcExpbmtzKCk6IENvcmUuQXBwTGlua0hhc2gge1xyXG4gICAgaWYgKHRoaXMubW9kZWwuZ2V0KCdhY3RpdmUnKSkgcmV0dXJuIHt9O1xyXG5cclxuICAgIHJldHVybiB7XHJcbiAgICAgIGE6IHRoaXMubW9kZWwuZ2V0KCdhcHBMaW5rJylcclxuICAgIH07XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdmlld09wdGlvbnMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBpc0FjdGl2ZTogdGhpcy5tb2RlbC5nZXQoJ2FjdGl2ZScpXHJcbiAgICB9O1xyXG4gIH1cclxufVxyXG5cclxuZXhwb3J0IGNsYXNzIEJyZWFkY3J1bWJDb21wb25lbnRDb2xsZWN0aW9uIGV4dGVuZHMgQ29yZS5Db21wb25lbnRDb2xsZWN0aW9uIHtcclxuICBwdWJsaWMgZ2V0IG5hbWUoKTogc3RyaW5nIHtcclxuICAgIHJldHVybiAnQnJlYWRjcnVtYkNvbXBvbmVudENvbGxlY3Rpb24nO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCB0YWdOYW1lKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gJ29sJztcclxuICB9XHJcblxyXG4gIHB1YmxpYyBnZXQgY2xhc3NOYW1lKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gJ2JyZWFkY3J1bWIgbS0wIHAtMCc7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgZ2V0IGNoaWxkVmlldygpOiB0eXBlb2YgQnJlYWRjcnVtYkl0ZW1Db21wb25lbnQge1xyXG4gICAgcmV0dXJuIEJyZWFkY3J1bWJJdGVtQ29tcG9uZW50O1xyXG4gIH1cclxufSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0E7QUFFQTtBQUNBO0FBQ0E7Ozs7Ozs7Ozs7Ozs7QUFDQTtBQUNBO0FBQ0E7OztBQUVBO0FBQ0E7QUFDQTs7O0FBRUE7QUFDQTtBQUNBOzs7QUFFQTtBQUNBO0FBRUE7QUFHQTtBQUNBOzs7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQURBO0FBR0E7OztBQUVBO0FBQ0E7QUFFQTtBQUNBO0FBREE7QUFHQTs7O0FBRUE7QUFDQTtBQUNBO0FBREE7QUFHQTs7OztBQTFDQTtBQUNBO0FBNENBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFEQTtBQUFBO0FBQ0E7QUFEQTtBQUFBO0FBQ0E7QUFEQTtBQUFBO0FBQUE7QUFFQTtBQUNBO0FBSEE7QUFBQTtBQUFBO0FBTUE7QUFDQTtBQVBBO0FBQUE7QUFBQTtBQVVBO0FBQ0E7QUFYQTtBQUFBO0FBQUE7QUFjQTtBQUNBO0FBZkE7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/BreadcrumbComponentCollection.ts\n");
8
-
9
- /***/ }),
10
-
11
- /***/ "./src/shared/components/breadcrumbs/BreadcrumbItem.hbs":
12
- /***/ (function(module, exports, __webpack_require__) {
13
-
14
- eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var helper, alias1=container.propertyIsEnumerable;\n\n return \"<a class=\\\"info-link\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\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.isActive : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYkl0ZW0uaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYkl0ZW0uaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9ydHMgPSAoSGFuZGxlYmFyc1snZGVmYXVsdCddIHx8IEhhbmRsZWJhcnMpLnRlbXBsYXRlKHtcIjFcIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHZhciBoZWxwZXIsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGU7XG5cbiAgcmV0dXJuIGNvbnRhaW5lci5lc2NhcGVFeHByZXNzaW9uKCgoaGVscGVyID0gKGhlbHBlciA9IGhlbHBlcnMubmFtZSB8fCAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAubmFtZSA6IGRlcHRoMCkpICE9IG51bGwgPyBoZWxwZXIgOiBjb250YWluZXIuaG9va3MuaGVscGVyTWlzc2luZyksKHR5cGVvZiBoZWxwZXIgPT09IFwiZnVuY3Rpb25cIiA/IGhlbHBlci5jYWxsKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwIDogKGNvbnRhaW5lci5udWxsQ29udGV4dCB8fCB7fSkse1wibmFtZVwiOlwibmFtZVwiLFwiaGFzaFwiOnt9LFwiZGF0YVwiOmRhdGF9KSA6IGhlbHBlcikpKVxuICAgICsgXCJcXHJcXG5cIjtcbn0sXCIzXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICB2YXIgaGVscGVyLCBhbGlhczE9Y29udGFpbmVyLnByb3BlcnR5SXNFbnVtZXJhYmxlO1xuXG4gIHJldHVybiBcIjxhIGNsYXNzPVxcXCJpbmZvLWxpbmtcXFwiPlwiXG4gICAgKyBjb250YWluZXIuZXNjYXBlRXhwcmVzc2lvbigoKGhlbHBlciA9IChoZWxwZXIgPSBoZWxwZXJzLm5hbWUgfHwgKGRlcHRoMCAhPSBudWxsID8gZGVwdGgwLm5hbWUgOiBkZXB0aDApKSAhPSBudWxsID8gaGVscGVyIDogY29udGFpbmVyLmhvb2tzLmhlbHBlck1pc3NpbmcpLCh0eXBlb2YgaGVscGVyID09PSBcImZ1bmN0aW9uXCIgPyBoZWxwZXIuY2FsbChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMCA6IChjb250YWluZXIubnVsbENvbnRleHQgfHwge30pLHtcIm5hbWVcIjpcIm5hbWVcIixcImhhc2hcIjp7fSxcImRhdGFcIjpkYXRhfSkgOiBoZWxwZXIpKSlcbiAgICArIFwiPC9hPlxcclxcblwiO1xufSxcImNvbXBpbGVyXCI6WzgsXCI+PSA0LjMuMFwiXSxcIm1haW5cIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHZhciBzdGFjazEsIGFsaWFzMT1jb250YWluZXIucHJvcGVydHlJc0VudW1lcmFibGU7XG5cbiAgcmV0dXJuICgoc3RhY2sxID0gaGVscGVyc1tcImlmXCJdLmNhbGwoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAgOiAoY29udGFpbmVyLm51bGxDb250ZXh0IHx8IHt9KSwoKHN0YWNrMSA9IChkZXB0aDAgIT0gbnVsbCA/IGRlcHRoMC5vcHRpb25zIDogZGVwdGgwKSkgIT0gbnVsbCA/IHN0YWNrMS5pc0FjdGl2ZSA6IHN0YWNrMSkse1wibmFtZVwiOlwiaWZcIixcImhhc2hcIjp7fSxcImZuXCI6Y29udGFpbmVyLnByb2dyYW0oMSwgZGF0YSwgMCksXCJpbnZlcnNlXCI6Y29udGFpbmVyLnByb2dyYW0oMywgZGF0YSwgMCksXCJkYXRhXCI6ZGF0YX0pKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIik7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/BreadcrumbItem.hbs\n");
15
-
16
- /***/ }),
17
-
18
- /***/ "./src/shared/components/breadcrumbs/Breadcrumbs.hbs":
19
- /***/ (function(module, exports, __webpack_require__) {
20
-
21
- 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 \"<nav class=\\\"breadcrumbs-region\\\" aria-label=\\\"breadcrumb\\\"></nav>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYnMuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL2NsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYnMuaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9ydHMgPSAoSGFuZGxlYmFyc1snZGVmYXVsdCddIHx8IEhhbmRsZWJhcnMpLnRlbXBsYXRlKHtcImNvbXBpbGVyXCI6WzgsXCI+PSA0LjMuMFwiXSxcIm1haW5cIjpmdW5jdGlvbihjb250YWluZXIsZGVwdGgwLGhlbHBlcnMscGFydGlhbHMsZGF0YSkge1xuICAgIHJldHVybiBcIjxuYXYgY2xhc3M9XFxcImJyZWFkY3J1bWJzLXJlZ2lvblxcXCIgYXJpYS1sYWJlbD1cXFwiYnJlYWRjcnVtYlxcXCI+PC9uYXY+XCI7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/Breadcrumbs.hbs\n");
22
-
23
- /***/ }),
24
-
25
- /***/ "./src/shared/components/breadcrumbs/BreadcrumbsComponent.ts":
26
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
27
-
28
- "use strict";
29
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BreadcrumbsComponent\", function() { return BreadcrumbsComponent; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var _Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/components/breadcrumbs/Breadcrumbs.hbs\");\n/* harmony import */ var _Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _BreadcrumbComponentCollection__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/components/breadcrumbs/BreadcrumbComponentCollection.ts\");\n/* harmony import */ var shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/utils/FolderTreeHelpers.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/shared/constants/index.ts\");\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\nvar BreadcrumbsComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(BreadcrumbsComponent, _Core$Component);\n\n var _super = _createSuper(BreadcrumbsComponent);\n\n function BreadcrumbsComponent(options) {\n _classCallCheck(this, BreadcrumbsComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(BreadcrumbsComponent, [{\n key: \"initialize\",\n value: function initialize() {\n this.getBreadcrumbs();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'BreadcrumbsComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _Breadcrumbs_hbs__WEBPACK_IMPORTED_MODULE_1___default.a;\n }\n }, {\n key: \"className\",\n get: function get() {\n return 'd-inline-block';\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n breadcrumbs: '.breadcrumbs-region'\n };\n }\n }, {\n key: \"getBreadcrumbs\",\n value: function getBreadcrumbs() {\n this.breadcrumbCollection = new libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Collection();\n var current = this.options.folder;\n var parent;\n\n do {\n parent = shared_utils_FolderTreeHelpers__WEBPACK_IMPORTED_MODULE_3__[\"FolderTreeHelpers\"].getParent(current.id, this.options.libraries);\n this.breadcrumbCollection.add(this.getBreadcrumb(current, !!parent), {\n at: 0\n });\n if (!parent) break;\n current = parent;\n } while (parent);\n\n if (this.options.video) this.breadcrumbCollection.add({\n name: this.options.video.get('name'),\n appLink: {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"AppChannels\"].LIBRARY_EDITOR,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.VIDEO_DETAILS,\n args: [this.options.video.id]\n }\n });\n if (!this.breadcrumbCollection.length) return;\n this.breadcrumbCollection.last().set('active', !this.options.enableLastItemAppLink);\n }\n }, {\n key: \"getBreadcrumb\",\n value: function getBreadcrumb(folder, hasParent) {\n var action = hasParent ? shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.FOLDER : shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"Actions\"].LibraryEditor.LIBRARY;\n return {\n name: folder.get('name'),\n appLink: {\n application: shared_constants__WEBPACK_IMPORTED_MODULE_4__[\"AppChannels\"].LIBRARY_EDITOR,\n action: action,\n args: [folder.id]\n }\n };\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n var breadcrumbComponentCollection = new _BreadcrumbComponentCollection__WEBPACK_IMPORTED_MODULE_2__[\"BreadcrumbComponentCollection\"]({\n collection: this.breadcrumbCollection\n });\n this.showChildView('breadcrumbs', breadcrumbComponentCollection);\n }\n }]);\n\n return BreadcrumbsComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvYnJlYWRjcnVtYnMvQnJlYWRjcnVtYnNDb21wb25lbnQudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy9icmVhZGNydW1icy9CcmVhZGNydW1ic0NvbXBvbmVudC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBPYmplY3RIYXNoIH0gZnJvbSAnYmFja2JvbmUnO1xyXG5pbXBvcnQgeyBDb3JlIH0gZnJvbSAnbGlicy9jb21tb24vY29yZSc7XHJcblxyXG5pbXBvcnQgQnJlYWRjcnVtYnNDb21wb25lbnRUZW1wbGF0ZSBmcm9tICcuL0JyZWFkY3J1bWJzLmhicyc7XHJcbmltcG9ydCB7IEJyZWFkY3J1bWJDb21wb25lbnRDb2xsZWN0aW9uIH0gZnJvbSAnLi9CcmVhZGNydW1iQ29tcG9uZW50Q29sbGVjdGlvbic7XHJcblxyXG5pbXBvcnQgeyBGb2xkZXJDb2xsZWN0aW9uIH0gZnJvbSAnc2hhcmVkL2NvbGxlY3Rpb25zL0ZvbGRlckNvbGxlY3Rpb24nO1xyXG5pbXBvcnQgeyBGb2xkZXIgfSBmcm9tICdzaGFyZWQvbW9kZWxzL0ZvbGRlcic7XHJcbmltcG9ydCB7IFZpZGVvIH0gZnJvbSAnc2hhcmVkL21vZGVscy9WaWRlbyc7XHJcbmltcG9ydCB7IEZvbGRlclRyZWVIZWxwZXJzIH0gZnJvbSAnc2hhcmVkL3V0aWxzL0ZvbGRlclRyZWVIZWxwZXJzJztcclxuaW1wb3J0IHsgQWN0aW9ucywgQXBwQ2hhbm5lbHMgfSBmcm9tICdzaGFyZWQvY29uc3RhbnRzJztcclxuXHJcbmludGVyZmFjZSBCcmVhZGNydW1iIHtcclxuICBuYW1lOiBzdHJpbmc7XHJcbiAgYWN0aXZlPzogYm9vbGVhbjtcclxuICBhcHBMaW5rPzogQ29yZS5BcHBMaW5rO1xyXG59XHJcblxyXG5pbnRlcmZhY2UgQnJlYWRjcnVtYnNDb21wb25lbnRPcHRpb25zIGV4dGVuZHMgQ29yZS5Db21wb25lbnRPcHRpb25zIHtcclxuICBmb2xkZXI6IEZvbGRlcjtcclxuICBsaWJyYXJpZXM6IEZvbGRlckNvbGxlY3Rpb247XHJcbiAgdmlkZW8/OiBWaWRlbztcclxuICBlbmFibGVMYXN0SXRlbUFwcExpbms/OiBib29sZWFuO1xyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgQnJlYWRjcnVtYnNDb21wb25lbnQgZXh0ZW5kcyBDb3JlLkNvbXBvbmVudCB7XHJcbiAgcHVibGljIGJyZWFkY3J1bWJDb2xsZWN0aW9uOiBDb3JlLkNvbGxlY3Rpb247XHJcbiAgcHVibGljIGZvbGRlcjogRm9sZGVyO1xyXG4gIHB1YmxpYyBsaWJyYXJpZXM6IEZvbGRlckNvbGxlY3Rpb247XHJcbiAgcHVibGljIG9wdGlvbnM6IEJyZWFkY3J1bWJzQ29tcG9uZW50T3B0aW9ucztcclxuXHJcbiAgY29uc3RydWN0b3Iob3B0aW9uczogQnJlYWRjcnVtYnNDb21wb25lbnRPcHRpb25zKSB7XHJcbiAgICBzdXBlcihvcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBpbml0aWFsaXplKCk6IHZvaWQge1xyXG4gICAgdGhpcy5nZXRCcmVhZGNydW1icygpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBuYW1lKCk6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gJ0JyZWFkY3J1bWJzQ29tcG9uZW50JztcclxuICB9XHJcblxyXG4gIHB1YmxpYyBnZXQgdGVtcGxhdGUoKTogYW55IHtcclxuICAgIHJldHVybiBCcmVhZGNydW1ic0NvbXBvbmVudFRlbXBsYXRlO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBjbGFzc05hbWUoKTogc3RyaW5nIHtcclxuICAgIHJldHVybiAnZC1pbmxpbmUtYmxvY2snO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIHJlZ2lvbnMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICByZXR1cm4ge1xyXG4gICAgICBicmVhZGNydW1iczogJy5icmVhZGNydW1icy1yZWdpb24nXHJcbiAgICB9O1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBnZXRCcmVhZGNydW1icygpOiB2b2lkIHtcclxuICAgIHRoaXMuYnJlYWRjcnVtYkNvbGxlY3Rpb24gPSBuZXcgQ29yZS5Db2xsZWN0aW9uKCk7XHJcblxyXG4gICAgbGV0IGN1cnJlbnQgPSB0aGlzLm9wdGlvbnMuZm9sZGVyO1xyXG4gICAgbGV0IHBhcmVudDtcclxuICAgIGRvIHtcclxuICAgICAgcGFyZW50ID0gRm9sZGVyVHJlZUhlbHBlcnMuZ2V0UGFyZW50KGN1cnJlbnQuaWQsIHRoaXMub3B0aW9ucy5saWJyYXJpZXMpO1xyXG5cclxuICAgICAgdGhpcy5icmVhZGNydW1iQ29sbGVjdGlvbi5hZGQodGhpcy5nZXRCcmVhZGNydW1iKGN1cnJlbnQsICEhcGFyZW50KSwgeyBhdDogMCB9KTtcclxuXHJcbiAgICAgIGlmICghcGFyZW50KSBicmVhaztcclxuXHJcbiAgICAgIGN1cnJlbnQgPSBwYXJlbnQ7XHJcbiAgICB9IHdoaWxlIChwYXJlbnQpO1xyXG5cclxuICAgIGlmICh0aGlzLm9wdGlvbnMudmlkZW8pXHJcbiAgICAgIHRoaXMuYnJlYWRjcnVtYkNvbGxlY3Rpb24uYWRkKHtcclxuICAgICAgICBuYW1lOiB0aGlzLm9wdGlvbnMudmlkZW8uZ2V0KCduYW1lJyksXHJcbiAgICAgICAgYXBwTGluazoge1xyXG4gICAgICAgICAgYXBwbGljYXRpb246IEFwcENoYW5uZWxzLkxJQlJBUllfRURJVE9SLFxyXG4gICAgICAgICAgYWN0aW9uOiBBY3Rpb25zLkxpYnJhcnlFZGl0b3IuVklERU9fREVUQUlMUyxcclxuICAgICAgICAgIGFyZ3M6IFt0aGlzLm9wdGlvbnMudmlkZW8uaWRdXHJcbiAgICAgICAgfVxyXG4gICAgICB9KTtcclxuXHJcbiAgICBpZiAoIXRoaXMuYnJlYWRjcnVtYkNvbGxlY3Rpb24ubGVuZ3RoKSByZXR1cm47XHJcblxyXG4gICAgdGhpcy5icmVhZGNydW1iQ29sbGVjdGlvbi5sYXN0KCkuc2V0KCdhY3RpdmUnLCAhdGhpcy5vcHRpb25zLmVuYWJsZUxhc3RJdGVtQXBwTGluayk7XHJcbiAgfVxyXG5cclxuICBwcml2YXRlIGdldEJyZWFkY3J1bWIoZm9sZGVyOiBGb2xkZXIsIGhhc1BhcmVudDogYm9vbGVhbik6IEJyZWFkY3J1bWIge1xyXG4gICAgY29uc3QgYWN0aW9uID0gaGFzUGFyZW50ID8gQWN0aW9ucy5MaWJyYXJ5RWRpdG9yLkZPTERFUiA6IEFjdGlvbnMuTGlicmFyeUVkaXRvci5MSUJSQVJZO1xyXG5cclxuICAgIHJldHVybiB7XHJcbiAgICAgIG5hbWU6IGZvbGRlci5nZXQoJ25hbWUnKSAsXHJcbiAgICAgIGFwcExpbms6IHtcclxuICAgICAgICBhcHBsaWNhdGlvbjogQXBwQ2hhbm5lbHMuTElCUkFSWV9FRElUT1IsXHJcbiAgICAgICAgYWN0aW9uLFxyXG4gICAgICAgIGFyZ3M6IFtmb2xkZXIuaWRdXHJcbiAgICAgIH1cclxuICAgIH07XHJcblxyXG4gIH1cclxuXHJcbiAgcHVibGljIG9uUmVuZGVyKCk6IHZvaWQge1xyXG4gICAgY29uc3QgYnJlYWRjcnVtYkNvbXBvbmVudENvbGxlY3Rpb24gPSBuZXcgQnJlYWRjcnVtYkNvbXBvbmVudENvbGxlY3Rpb24oe1xyXG4gICAgICBjb2xsZWN0aW9uOiB0aGlzLmJyZWFkY3J1bWJDb2xsZWN0aW9uXHJcbiAgICB9KTtcclxuXHJcbiAgICB0aGlzLnNob3dDaGlsZFZpZXcoJ2JyZWFkY3J1bWJzJywgYnJlYWRjcnVtYkNvbXBvbmVudENvbGxlY3Rpb24pO1xyXG4gIH1cclxufSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0E7QUFFQTtBQUNBO0FBS0E7QUFDQTtBQWVBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFLQTtBQUFBO0FBQ0E7QUFEQTtBQUVBO0FBQ0E7QUFUQTtBQUFBO0FBQUE7QUFXQTtBQUNBO0FBWkE7QUFBQTtBQUFBO0FBZUE7QUFDQTtBQWhCQTtBQUFBO0FBQUE7QUFtQkE7QUFDQTtBQXBCQTtBQUFBO0FBQUE7QUF1QkE7QUFDQTtBQXhCQTtBQUFBO0FBQUE7QUEyQkE7QUFDQTtBQURBO0FBR0E7QUE5QkE7QUFBQTtBQUFBO0FBaUNBO0FBRUE7QUFDQTtBQUNBO0FBQUE7QUFDQTtBQUVBO0FBQUE7QUFBQTtBQUVBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBSEE7QUFGQTtBQVNBO0FBRUE7QUFDQTtBQTVEQTtBQUFBO0FBQUE7QUErREE7QUFFQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFIQTtBQUZBO0FBU0E7QUExRUE7QUFBQTtBQUFBO0FBNkVBO0FBQ0E7QUFEQTtBQUlBO0FBQ0E7QUFsRkE7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/components/breadcrumbs/BreadcrumbsComponent.ts\n");
30
-
31
- /***/ })
32
-
33
- }]);