@clickview/library-editor 1.1.19-dev.0 → 1.1.19-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (377) hide show
  1. package/dist/css/1.chunk.css.map +1 -0
  2. package/dist/css/10.chunk.css.map +1 -0
  3. package/dist/css/11.chunk.css +137 -0
  4. package/dist/css/11.chunk.css.map +1 -0
  5. package/dist/css/12.chunk.css.map +1 -0
  6. package/dist/css/13.chunk.css.map +1 -0
  7. package/dist/css/14.chunk.css.map +1 -0
  8. package/dist/css/16.chunk.css.map +1 -0
  9. package/dist/css/17.chunk.css.map +1 -0
  10. package/dist/css/18.chunk.css.map +1 -0
  11. package/dist/css/2.chunk.css.map +1 -0
  12. package/dist/css/21.chunk.css.map +1 -0
  13. package/dist/css/22.chunk.css.map +1 -0
  14. package/dist/css/23.chunk.css.map +1 -0
  15. package/dist/css/25.chunk.css.map +1 -0
  16. package/dist/css/26.chunk.css.map +1 -0
  17. package/dist/css/28.chunk.css.map +1 -0
  18. package/dist/css/29.chunk.css.map +1 -0
  19. package/dist/css/3.chunk.css +17 -0
  20. package/dist/css/3.chunk.css.map +1 -0
  21. package/dist/css/30.chunk.css.map +1 -0
  22. package/dist/css/31.chunk.css.map +1 -0
  23. package/dist/css/32.chunk.css.map +1 -0
  24. package/dist/css/33.chunk.css +16 -0
  25. package/dist/css/33.chunk.css.map +1 -0
  26. package/dist/css/34.chunk.css +21 -0
  27. package/dist/css/34.chunk.css.map +1 -0
  28. package/dist/css/35.chunk.css +20 -0
  29. package/dist/css/35.chunk.css.map +1 -0
  30. package/dist/css/36.chunk.css.map +1 -0
  31. package/dist/css/37.chunk.css.map +1 -0
  32. package/dist/css/38.chunk.css.map +1 -0
  33. package/dist/css/40.chunk.css.map +1 -0
  34. package/dist/css/41.chunk.css.map +1 -0
  35. package/dist/css/42.chunk.css.map +1 -0
  36. package/dist/css/43.chunk.css.map +1 -0
  37. package/dist/css/44.chunk.css.map +1 -0
  38. package/dist/css/45.chunk.css.map +1 -0
  39. package/dist/css/46.chunk.css.map +1 -0
  40. package/dist/css/47.chunk.css.map +1 -0
  41. package/dist/css/48.chunk.css.map +1 -0
  42. package/dist/css/49.chunk.css +35 -0
  43. package/dist/css/49.chunk.css.map +1 -0
  44. package/dist/css/50.chunk.css.map +1 -0
  45. package/dist/css/51.chunk.css.map +1 -0
  46. package/dist/css/52.chunk.css +66 -0
  47. package/dist/css/52.chunk.css.map +1 -0
  48. package/dist/css/55.chunk.css.map +1 -0
  49. package/dist/css/56.chunk.css.map +1 -0
  50. package/dist/css/58.chunk.css.map +1 -0
  51. package/dist/css/59.chunk.css.map +1 -0
  52. package/dist/css/6.chunk.css.map +1 -0
  53. package/dist/css/60.chunk.css +18 -0
  54. package/dist/css/60.chunk.css.map +1 -0
  55. package/dist/css/62.chunk.css.map +1 -0
  56. package/dist/css/63.chunk.css +170 -0
  57. package/dist/css/63.chunk.css.map +1 -0
  58. package/dist/css/67.chunk.css +78 -0
  59. package/dist/css/67.chunk.css.map +1 -0
  60. package/dist/css/68.chunk.css +17 -0
  61. package/dist/css/68.chunk.css.map +1 -0
  62. package/dist/css/69.chunk.css +17 -0
  63. package/dist/css/69.chunk.css.map +1 -0
  64. package/dist/css/7.chunk.css.map +1 -0
  65. package/dist/css/70.chunk.css +23 -0
  66. package/dist/css/70.chunk.css.map +1 -0
  67. package/dist/css/71.chunk.css +40 -0
  68. package/dist/css/71.chunk.css.map +1 -0
  69. package/dist/css/72.chunk.css +16 -0
  70. package/dist/css/72.chunk.css.map +1 -0
  71. package/dist/css/73.chunk.css +37 -0
  72. package/dist/css/73.chunk.css.map +1 -0
  73. package/dist/css/74.chunk.css +29 -0
  74. package/dist/css/74.chunk.css.map +1 -0
  75. package/dist/css/75.chunk.css +6 -0
  76. package/dist/css/75.chunk.css.map +1 -0
  77. package/dist/css/76.chunk.css +6 -0
  78. package/dist/css/76.chunk.css.map +1 -0
  79. package/dist/css/8.chunk.css.map +1 -0
  80. package/dist/css/library-editor-app.css +2 -0
  81. package/dist/css/library-editor-app.css.map +1 -0
  82. package/dist/en.json +1 -1
  83. package/dist/libs/analytics/src/interfaces/AnalyticsTypes.d.ts +49 -5
  84. package/dist/libs/common/src/backbone/core/BaseAppRouter.d.ts +5 -1
  85. package/dist/libs/shared/src/apps/search/components/instant-search/classification/ClassificationSearchResultComponent.d.ts +17 -0
  86. package/dist/libs/shared/src/apps/search/components/instant-search/index.d.ts +1 -0
  87. package/dist/libs/shared/src/apps/search/enums/SearchQueryType.d.ts +1 -1
  88. package/dist/libs/shared/src/apps/search/utils/InstantSearchHelper.d.ts +1 -0
  89. package/dist/libs/shared/src/apps/search/views/search-bar/SearchBarView.d.ts +2 -0
  90. package/dist/libs/shared/src/apps/upload/services/UploadService.d.ts +3 -2
  91. package/dist/libs/shared/src/constants/BootstrapKeys.d.ts +1 -0
  92. package/dist/libs/shared/src/enums/CountryCode.d.ts +5 -0
  93. package/dist/libs/shared/src/enums/SubtitleExtractionOptions.d.ts +4 -0
  94. package/dist/libs/shared/src/enums/WidgetContents.d.ts +2 -1
  95. package/dist/libs/shared/src/interfaces/app-variables/BaseSearchAppVariables.d.ts +1 -1
  96. package/dist/libs/shared/src/interfaces/models/Classification.d.ts +1 -0
  97. package/dist/libs/shared/src/interfaces/models/Config.d.ts +3 -1
  98. package/dist/libs/shared/src/interfaces/models/Group.d.ts +3 -0
  99. package/dist/libs/shared/src/interfaces/models/Theme.d.ts +1 -2
  100. package/dist/libs/shared/src/interfaces/models/User.d.ts +2 -1
  101. package/dist/libs/shared/src/interfaces/models/UserChannel.d.ts +7 -0
  102. package/dist/libs/shared/src/interfaces/models/index.d.ts +2 -0
  103. package/dist/libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.d.ts +1 -0
  104. package/dist/projects/library-editor/src/apps/default/DefaultApplication.d.ts +1 -1
  105. package/dist/scripts/{0-48b01028ea.chunk.js → 0-8cdf48d69e.chunk.js} +1 -1
  106. package/dist/scripts/0.chunk.js +1034 -0
  107. package/dist/scripts/0.chunk.js.map +1 -0
  108. package/dist/scripts/1-a197f0efeb.chunk.js +1 -0
  109. package/dist/scripts/1.chunk.js +442 -0
  110. package/dist/scripts/1.chunk.js.map +1 -0
  111. package/dist/scripts/{10-b4b24c05f8.chunk.js → 10-48aa375ebe.chunk.js} +1 -1
  112. package/dist/scripts/10.chunk.js +820 -0
  113. package/dist/scripts/10.chunk.js.map +1 -0
  114. package/dist/scripts/{11-e79fc84dc9.chunk.js → 11-805aab3b80.chunk.js} +1 -1
  115. package/dist/scripts/11.chunk.js +4091 -0
  116. package/dist/scripts/11.chunk.js.map +1 -0
  117. package/dist/scripts/{12-58284faf21.chunk.js → 12-57671136e8.chunk.js} +1 -1
  118. package/dist/scripts/12.chunk.js +555 -0
  119. package/dist/scripts/12.chunk.js.map +1 -0
  120. package/dist/scripts/{13-2c4cd203ec.chunk.js → 13-46bc40cc23.chunk.js} +1 -1
  121. package/dist/scripts/13.chunk.js +373 -0
  122. package/dist/scripts/13.chunk.js.map +1 -0
  123. package/dist/scripts/{14-2eeb73cd11.chunk.js → 14-556e982a73.chunk.js} +1 -1
  124. package/dist/scripts/14.chunk.js +2386 -0
  125. package/dist/scripts/14.chunk.js.map +1 -0
  126. package/dist/scripts/15-2edbad42a0.chunk.js +1 -0
  127. package/dist/scripts/15.chunk.js +314 -0
  128. package/dist/scripts/15.chunk.js.map +1 -0
  129. package/dist/scripts/{16-68c900303f.chunk.js → 16-60b9a789b4.chunk.js} +1 -1
  130. package/dist/scripts/16.chunk.js +1290 -0
  131. package/dist/scripts/16.chunk.js.map +1 -0
  132. package/dist/scripts/{17-af7eca54ed.chunk.js → 17-d6083dbd9b.chunk.js} +1 -1
  133. package/dist/scripts/17.chunk.js +381 -0
  134. package/dist/scripts/17.chunk.js.map +1 -0
  135. package/dist/scripts/{18-087b42c483.chunk.js → 18-31ce9284d0.chunk.js} +1 -1
  136. package/dist/scripts/18.chunk.js +393 -0
  137. package/dist/scripts/18.chunk.js.map +1 -0
  138. package/dist/scripts/19.chunk.js +364 -0
  139. package/dist/scripts/19.chunk.js.map +1 -0
  140. package/dist/scripts/{2-c70309751f.chunk.js → 2-33fcca96e3.chunk.js} +1 -1
  141. package/dist/scripts/2.chunk.js +519 -0
  142. package/dist/scripts/2.chunk.js.map +1 -0
  143. package/dist/scripts/{20-caf95bbe64.chunk.js → 20-3c2f3fb166.chunk.js} +1 -1
  144. package/dist/scripts/20.chunk.js +317 -0
  145. package/dist/scripts/20.chunk.js.map +1 -0
  146. package/dist/scripts/21-9497f03cd8.chunk.js +1 -0
  147. package/dist/scripts/21.chunk.js +531 -0
  148. package/dist/scripts/21.chunk.js.map +1 -0
  149. package/dist/scripts/{22-f2b4962990.chunk.js → 22-22cd929ad4.chunk.js} +1 -1
  150. package/dist/scripts/22.chunk.js +354 -0
  151. package/dist/scripts/22.chunk.js.map +1 -0
  152. package/dist/scripts/{23-d575c690b9.chunk.js → 23-16b02d09f5.chunk.js} +1 -1
  153. package/dist/scripts/23.chunk.js +605 -0
  154. package/dist/scripts/23.chunk.js.map +1 -0
  155. package/dist/scripts/{24-dc5b027075.chunk.js → 24-24699f9007.chunk.js} +1 -1
  156. package/dist/scripts/24.chunk.js +318 -0
  157. package/dist/scripts/24.chunk.js.map +1 -0
  158. package/dist/scripts/{25-956d1e9caf.chunk.js → 25-7a210f731b.chunk.js} +1 -1
  159. package/dist/scripts/25.chunk.js +365 -0
  160. package/dist/scripts/25.chunk.js.map +1 -0
  161. package/dist/scripts/{26-7a3d12d816.chunk.js → 26-263cf0ebce.chunk.js} +1 -1
  162. package/dist/scripts/26.chunk.js +437 -0
  163. package/dist/scripts/26.chunk.js.map +1 -0
  164. package/dist/scripts/{27-dc6045c275.chunk.js → 27-707d8b29f0.chunk.js} +1 -1
  165. package/dist/scripts/27.chunk.js +3565 -0
  166. package/dist/scripts/27.chunk.js.map +1 -0
  167. package/dist/scripts/{28-e7ce349a42.chunk.js → 28-d748f747fa.chunk.js} +1 -1
  168. package/dist/scripts/28.chunk.js +3129 -0
  169. package/dist/scripts/28.chunk.js.map +1 -0
  170. package/dist/scripts/{29-e281d8346a.chunk.js → 29-ef4aaa5fd8.chunk.js} +1 -1
  171. package/dist/scripts/29.chunk.js +3088 -0
  172. package/dist/scripts/29.chunk.js.map +1 -0
  173. package/dist/scripts/{3-afb156ea3e.chunk.js → 3-9ac062f7ab.chunk.js} +1 -1
  174. package/dist/scripts/3.chunk.js +782 -0
  175. package/dist/scripts/3.chunk.js.map +1 -0
  176. package/dist/scripts/{30-d4b6c1cd1d.chunk.js → 30-1b84ae2ac7.chunk.js} +1 -1
  177. package/dist/scripts/30.chunk.js +1809 -0
  178. package/dist/scripts/30.chunk.js.map +1 -0
  179. package/dist/scripts/{31-c1d42342dd.chunk.js → 31-b51d47f02b.chunk.js} +1 -1
  180. package/dist/scripts/31.chunk.js +958 -0
  181. package/dist/scripts/31.chunk.js.map +1 -0
  182. package/dist/scripts/{32-1b1e4c86f5.chunk.js → 32-3f5cffb858.chunk.js} +1 -1
  183. package/dist/scripts/32.chunk.js +1235 -0
  184. package/dist/scripts/32.chunk.js.map +1 -0
  185. package/dist/scripts/33-bd5b8ad402.chunk.js +1 -0
  186. package/dist/scripts/33.chunk.js +792 -0
  187. package/dist/scripts/33.chunk.js.map +1 -0
  188. package/dist/scripts/34-16c6ce9391.chunk.js +1 -0
  189. package/dist/scripts/34.chunk.js +990 -0
  190. package/dist/scripts/34.chunk.js.map +1 -0
  191. package/dist/scripts/35-f0ff6077b5.chunk.js +1 -0
  192. package/dist/scripts/35.chunk.js +518 -0
  193. package/dist/scripts/35.chunk.js.map +1 -0
  194. package/dist/scripts/{36-37f9fd0ad1.chunk.js → 36-6d5df4dbb0.chunk.js} +1 -1
  195. package/dist/scripts/36.chunk.js +335 -0
  196. package/dist/scripts/36.chunk.js.map +1 -0
  197. package/dist/scripts/{37-06db9481cd.chunk.js → 37-1aedf84774.chunk.js} +1 -1
  198. package/dist/scripts/37.chunk.js +236 -0
  199. package/dist/scripts/37.chunk.js.map +1 -0
  200. package/dist/scripts/{38-528abd1bba.chunk.js → 38-9411624870.chunk.js} +1 -1
  201. package/dist/scripts/38.chunk.js +315 -0
  202. package/dist/scripts/38.chunk.js.map +1 -0
  203. package/dist/scripts/{39-80001e779c.chunk.js → 39-f46d2f69b1.chunk.js} +1 -1
  204. package/dist/scripts/39.chunk.js +116 -0
  205. package/dist/scripts/39.chunk.js.map +1 -0
  206. package/dist/scripts/{4-f8a4d0b62a.chunk.js → 4-2bf2f1b864.chunk.js} +1 -1
  207. package/dist/scripts/4.chunk.js +335 -0
  208. package/dist/scripts/4.chunk.js.map +1 -0
  209. package/dist/scripts/{40-d59ee7c3e1.chunk.js → 40-2134ac47ae.chunk.js} +1 -1
  210. package/dist/scripts/40.chunk.js +1782 -0
  211. package/dist/scripts/40.chunk.js.map +1 -0
  212. package/dist/scripts/{41-8c75d122fc.chunk.js → 41-38841ce7ed.chunk.js} +1 -1
  213. package/dist/scripts/41.chunk.js +2347 -0
  214. package/dist/scripts/41.chunk.js.map +1 -0
  215. package/dist/scripts/{42-a68ee26f34.chunk.js → 42-06cb96ddaf.chunk.js} +1 -1
  216. package/dist/scripts/42.chunk.js +2111 -0
  217. package/dist/scripts/42.chunk.js.map +1 -0
  218. package/dist/scripts/{43-bde1af67cb.chunk.js → 43-164d1aaf84.chunk.js} +1 -1
  219. package/dist/scripts/43.chunk.js +2243 -0
  220. package/dist/scripts/43.chunk.js.map +1 -0
  221. package/dist/scripts/{44-abdd275e46.chunk.js → 44-234dd1aac7.chunk.js} +1 -1
  222. package/dist/scripts/44.chunk.js +1024 -0
  223. package/dist/scripts/44.chunk.js.map +1 -0
  224. package/dist/scripts/{45-6b745e57af.chunk.js → 45-26c33d7856.chunk.js} +1 -1
  225. package/dist/scripts/45.chunk.js +1065 -0
  226. package/dist/scripts/45.chunk.js.map +1 -0
  227. package/dist/scripts/{46-bee29b02a3.chunk.js → 46-07c390591d.chunk.js} +1 -1
  228. package/dist/scripts/46.chunk.js +613 -0
  229. package/dist/scripts/46.chunk.js.map +1 -0
  230. package/dist/scripts/{47-c142425de4.chunk.js → 47-6a9c70d236.chunk.js} +1 -1
  231. package/dist/scripts/47.chunk.js +735 -0
  232. package/dist/scripts/47.chunk.js.map +1 -0
  233. package/dist/scripts/{48-81efa76f40.chunk.js → 48-ee3bf3e841.chunk.js} +1 -1
  234. package/dist/scripts/48.chunk.js +994 -0
  235. package/dist/scripts/48.chunk.js.map +1 -0
  236. package/dist/scripts/{49-cbd218d6e4.chunk.js → 49-73ebbe96d0.chunk.js} +1 -1
  237. package/dist/scripts/49.chunk.js +759 -0
  238. package/dist/scripts/49.chunk.js.map +1 -0
  239. package/dist/scripts/{5-1b6768e719.chunk.js → 5-19ce45d023.chunk.js} +1 -1
  240. package/dist/scripts/5.chunk.js +40 -0
  241. package/dist/scripts/5.chunk.js.map +1 -0
  242. package/dist/scripts/{50-ec2f179d8c.chunk.js → 50-a1439e0fa7.chunk.js} +1 -1
  243. package/dist/scripts/50.chunk.js +528 -0
  244. package/dist/scripts/50.chunk.js.map +1 -0
  245. package/dist/scripts/{51-9b91910fc0.chunk.js → 51-cad32e2046.chunk.js} +1 -1
  246. package/dist/scripts/51.chunk.js +932 -0
  247. package/dist/scripts/51.chunk.js.map +1 -0
  248. package/dist/scripts/{52-d2e93491a5.chunk.js → 52-1d3e8eb21e.chunk.js} +1 -1
  249. package/dist/scripts/52.chunk.js +408 -0
  250. package/dist/scripts/52.chunk.js.map +1 -0
  251. package/dist/scripts/{53-1c8ff136ad.chunk.js → 53-5e80e33e98.chunk.js} +1 -1
  252. package/dist/scripts/53.chunk.js +754 -0
  253. package/dist/scripts/53.chunk.js.map +1 -0
  254. package/dist/scripts/{54-34116d34e6.chunk.js → 54-8df01312cc.chunk.js} +1 -1
  255. package/dist/scripts/54.chunk.js +681 -0
  256. package/dist/scripts/54.chunk.js.map +1 -0
  257. package/dist/scripts/{55-02803101de.chunk.js → 55-4c8d7b57f9.chunk.js} +1 -1
  258. package/dist/scripts/55.chunk.js +645 -0
  259. package/dist/scripts/55.chunk.js.map +1 -0
  260. package/dist/scripts/{56-19ec4b6ccd.chunk.js → 56-1d96fdfcd3.chunk.js} +1 -1
  261. package/dist/scripts/56.chunk.js +346 -0
  262. package/dist/scripts/56.chunk.js.map +1 -0
  263. package/dist/scripts/{57-17e93c944c.chunk.js → 57-c17cdf728f.chunk.js} +1 -1
  264. package/dist/scripts/57.chunk.js +422 -0
  265. package/dist/scripts/57.chunk.js.map +1 -0
  266. package/dist/scripts/{58-dd77463e63.chunk.js → 58-ce34e558f4.chunk.js} +1 -1
  267. package/dist/scripts/58.chunk.js +437 -0
  268. package/dist/scripts/58.chunk.js.map +1 -0
  269. package/dist/scripts/{59-08e8830b9c.chunk.js → 59-cc8e184cce.chunk.js} +1 -1
  270. package/dist/scripts/59.chunk.js +342 -0
  271. package/dist/scripts/59.chunk.js.map +1 -0
  272. package/dist/scripts/6-e9685801b5.chunk.js +1 -0
  273. package/dist/scripts/6.chunk.js +484 -0
  274. package/dist/scripts/6.chunk.js.map +1 -0
  275. package/dist/scripts/{60-720797bb78.chunk.js → 60-8d73b65e4e.chunk.js} +1 -1
  276. package/dist/scripts/60.chunk.js +254 -0
  277. package/dist/scripts/60.chunk.js.map +1 -0
  278. package/dist/scripts/{61-66e55ae6e1.chunk.js → 61-bd804db13e.chunk.js} +1 -1
  279. package/dist/scripts/61.chunk.js +318 -0
  280. package/dist/scripts/61.chunk.js.map +1 -0
  281. package/dist/scripts/{62-beb29b208b.chunk.js → 62-827229b727.chunk.js} +1 -1
  282. package/dist/scripts/62.chunk.js +142 -0
  283. package/dist/scripts/62.chunk.js.map +1 -0
  284. package/dist/scripts/{63-bbc787afe7.chunk.js → 63-7251ac44d0.chunk.js} +1 -1
  285. package/dist/scripts/63.chunk.js +147 -0
  286. package/dist/scripts/63.chunk.js.map +1 -0
  287. package/dist/scripts/{64-b10c083c61.chunk.js → 64-33ca5259e4.chunk.js} +1 -1
  288. package/dist/scripts/64.chunk.js +439 -0
  289. package/dist/scripts/64.chunk.js.map +1 -0
  290. package/dist/scripts/{65-40c1cc2f53.chunk.js → 65-50d52bf3df.chunk.js} +1 -1
  291. package/dist/scripts/65.chunk.js +582 -0
  292. package/dist/scripts/65.chunk.js.map +1 -0
  293. package/dist/scripts/{66-32ae3ca73f.chunk.js → 66-fe41a3b54a.chunk.js} +1 -1
  294. package/dist/scripts/66.chunk.js +442 -0
  295. package/dist/scripts/66.chunk.js.map +1 -0
  296. package/dist/scripts/{67-1f082de6fd.chunk.js → 67-1508455eb9.chunk.js} +1 -1
  297. package/dist/scripts/67.chunk.js +295 -0
  298. package/dist/scripts/67.chunk.js.map +1 -0
  299. package/dist/scripts/{68-f53fbad25f.chunk.js → 68-21e8520126.chunk.js} +1 -1
  300. package/dist/scripts/68.chunk.js +165 -0
  301. package/dist/scripts/68.chunk.js.map +1 -0
  302. package/dist/scripts/{69-984061e3b8.chunk.js → 69-4d26485024.chunk.js} +1 -1
  303. package/dist/scripts/69.chunk.js +248 -0
  304. package/dist/scripts/69.chunk.js.map +1 -0
  305. package/dist/scripts/{7-7d12e809a2.chunk.js → 7-d0085fdf2e.chunk.js} +1 -1
  306. package/dist/scripts/7.chunk.js +309 -0
  307. package/dist/scripts/7.chunk.js.map +1 -0
  308. package/dist/scripts/{70-8edf7afb7b.chunk.js → 70-8e1d03a7d8.chunk.js} +1 -1
  309. package/dist/scripts/70.chunk.js +207 -0
  310. package/dist/scripts/70.chunk.js.map +1 -0
  311. package/dist/scripts/{71-6365b9e3d4.chunk.js → 71-b835514c89.chunk.js} +1 -1
  312. package/dist/scripts/71.chunk.js +237 -0
  313. package/dist/scripts/71.chunk.js.map +1 -0
  314. package/dist/scripts/{72-85505b2300.chunk.js → 72-23d6083900.chunk.js} +1 -1
  315. package/dist/scripts/72.chunk.js +331 -0
  316. package/dist/scripts/72.chunk.js.map +1 -0
  317. package/dist/scripts/73.chunk.js +404 -0
  318. package/dist/scripts/73.chunk.js.map +1 -0
  319. package/dist/scripts/74.chunk.js +301 -0
  320. package/dist/scripts/74.chunk.js.map +1 -0
  321. package/dist/scripts/75.chunk.js +231 -0
  322. package/dist/scripts/75.chunk.js.map +1 -0
  323. package/dist/scripts/76.chunk.js +157 -0
  324. package/dist/scripts/76.chunk.js.map +1 -0
  325. package/dist/scripts/77.chunk.js +307 -0
  326. package/dist/scripts/77.chunk.js.map +1 -0
  327. package/dist/scripts/78.chunk.js +249 -0
  328. package/dist/scripts/78.chunk.js.map +1 -0
  329. package/dist/scripts/79.chunk.js +282 -0
  330. package/dist/scripts/79.chunk.js.map +1 -0
  331. package/dist/scripts/{8-76e9f1bbc7.chunk.js → 8-0ebd446b65.chunk.js} +1 -1
  332. package/dist/scripts/8.chunk.js +307 -0
  333. package/dist/scripts/8.chunk.js.map +1 -0
  334. package/dist/scripts/80.chunk.js +308 -0
  335. package/dist/scripts/80.chunk.js.map +1 -0
  336. package/dist/scripts/81.chunk.js +366 -0
  337. package/dist/scripts/81.chunk.js.map +1 -0
  338. package/dist/scripts/82.chunk.js +314 -0
  339. package/dist/scripts/82.chunk.js.map +1 -0
  340. package/dist/scripts/83.chunk.js +328 -0
  341. package/dist/scripts/83.chunk.js.map +1 -0
  342. package/dist/scripts/84.chunk.js +313 -0
  343. package/dist/scripts/84.chunk.js.map +1 -0
  344. package/dist/scripts/85.chunk.js +291 -0
  345. package/dist/scripts/85.chunk.js.map +1 -0
  346. package/dist/scripts/86.chunk.js +119 -0
  347. package/dist/scripts/86.chunk.js.map +1 -0
  348. package/dist/scripts/87.chunk.js +219 -0
  349. package/dist/scripts/87.chunk.js.map +1 -0
  350. package/dist/scripts/88.chunk.js +194 -0
  351. package/dist/scripts/88.chunk.js.map +1 -0
  352. package/dist/scripts/89.chunk.js +522 -0
  353. package/dist/scripts/89.chunk.js.map +1 -0
  354. package/dist/scripts/9-0476e7c063.chunk.js +1 -0
  355. package/dist/scripts/9.chunk.js +222 -0
  356. package/dist/scripts/9.chunk.js.map +1 -0
  357. package/dist/scripts/90.chunk.js +337 -0
  358. package/dist/scripts/90.chunk.js.map +1 -0
  359. package/dist/scripts/91.chunk.js +131 -0
  360. package/dist/scripts/91.chunk.js.map +1 -0
  361. package/dist/scripts/92.chunk.js +266 -0
  362. package/dist/scripts/92.chunk.js.map +1 -0
  363. package/dist/scripts/bundle-511dc1956b.min.js +1 -0
  364. package/dist/scripts/bundle-8468900bf9.min.js +1 -0
  365. package/dist/scripts/bundle.js +57527 -0
  366. package/dist/scripts/bundle.js.map +1 -0
  367. package/dist/scripts/bundles.json +1 -1
  368. package/package.json +99 -99
  369. package/dist/scripts/1-098c567081.chunk.js +0 -1
  370. package/dist/scripts/15-6fa6f47a8b.chunk.js +0 -1
  371. package/dist/scripts/21-5d5cda7f47.chunk.js +0 -1
  372. package/dist/scripts/33-7ef65d086d.chunk.js +0 -1
  373. package/dist/scripts/34-6d7e7405af.chunk.js +0 -1
  374. package/dist/scripts/35-7d7e41a203.chunk.js +0 -1
  375. package/dist/scripts/6-e87b3c0be1.chunk.js +0 -1
  376. package/dist/scripts/9-a04919dbb2.chunk.js +0 -1
  377. package/dist/scripts/bundle-f3260e8016.min.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[14],{1081:function(t,e,n){"use strict";n.r(e);var o=n(2),i=n(5),r=n(3),a=n(58),c=n(68),l=n(670),s=n(54),u=n(61),f=n(0),p=n(35),h=n(11),d=n(6),y=n(710),m=n(661),g=n(119),b=n(86),v=n(105),k=n(89),w=n(690),O=n(835),S=n.n(O),R=n(191),E=n.n(R),C=n(4);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=x(t);if(e){var i=x(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return L(this,n)}}function L(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}(r,t);var e,n,o,i=P(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return e=r,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"renderActions",value:function(){this.showChildView("options",new w.a({model:this.model,extraClasses:"".concat(E.a.actions," rounded-circle mr-2 mt-2"),buttonClass:"text-light",analyticsOptions:{location:C.k.Banner}}))}},{key:"onRender",value:function(){this.renderActions()}},{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"px-3 position-relative ".concat(E.a.banner)}},{key:"attributes",get:function(){var t=h.g.createBannerUrl(this.model.banner,{fallbackBaseUrl:this.options.imageCdnUrl,fallbackCategoryName:this.model.get("name"),type:d.f.Banners});return{style:"background-image: url('".concat(t,"')")}}},{key:"template",get:function(){return S.a}}])&&I(e.prototype,n),o&&I(e,o),r}(o.a.Component),T=n(13),V=n(679),A=n(684),B=n(836),F=n.n(B),N=n(837),M=n.n(N);function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=G(t);if(e){var i=G(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==H(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function G(t){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(r,t);var e,n,o,i=q(r);function r(){return U(this,r),i.apply(this,arguments)}return e=r,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"regions",value:function(){return{actions:{replaceElement:!0,el:".actions-region"}}}},{key:"viewOptions",value:function(){return{styles:M.a,svg:T.a.getSvg(T.b.Folder)}}},{key:"onRender",value:function(){this.showChildView("actions",new w.a({model:this.model,extraClasses:"".concat(M.a.actions," rounded-circle mr-2"),analyticsOptions:{location:C.k.SubFolderList}}))}},{key:"name",get:function(){return"SubFolderComponent"}},{key:"elements",get:function(){return{anchor:"a",block:".ui-block"}}},{key:"template",get:function(){return F.a}},{key:"className",get:function(){return"col-3 d-inline-block pb-3"}},{key:"behaviors",get:function(){return[{behaviorClass:V.a,ui:"block",channelNames:[f.w.VIDEO_DRAG_DROP,f.w.FOLDER_DRAG_DROP],analyticsOptions:{location:C.k.SubFolderList}},{behaviorClass:A.a}]}},{key:"appLinks",get:function(){return{a:{application:f.b.LIBRARY_EDITOR,action:f.a.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}}])&&Y(e.prototype,n),o&&Y(e,o),r}(o.a.Component),J=n(838),K=n.n(J);function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e,n){return e&&X(t.prototype,e),n&&X(t,n),t}function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=rt(t);if(e){var i=rt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return it(this,n)}}function it(t,e){return!e||"object"!==Q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at=function(t){et(n,t);var e=ot(n);function n(){return Z(this,n),e.apply(this,arguments)}return tt(n,[{key:"name",get:function(){return"SubFoldersCollectionView"}},{key:"childView",get:function(){return $}}]),n}(o.a.ComponentCollection),ct=function(t){et(n,t);var e=ot(n);function n(){return Z(this,n),e.apply(this,arguments)}return tt(n,[{key:"regions",value:function(){return{subFolders:{replaceElement:!0,el:".subfolders-region"}}}},{key:"onRender",value:function(){this.showChildView("subFolders",new at({collection:this.collection}))}},{key:"name",get:function(){return"SubFoldersView"}},{key:"className",get:function(){return"container-fluid border-bottom pt-3 bg-white"}},{key:"template",get:function(){return K.a}}]),n}(o.a.Component),lt=n(839),st=n.n(lt),ut=n(63),ft=n(39),pt=n(657),ht=n(118),dt=n(840),yt=n.n(dt);function mt(t){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bt(t,e){return(bt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function vt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=wt(t);if(e){var i=wt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return kt(this,n)}}function kt(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ot=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bt(t,e)}(c,t);var e,n,i,a=vt(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"getViewModel",value:function(){var t=this.options.collectionIdentifier.toString();this.model=h.a.GetViewModel(t,ht.a.VIDEO_LIST)}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.render),this.listenTo(this.collection,"remove",this.render)}},{key:"regions",value:function(){return{dropdownItems:{replaceElement:!0,el:".dropdown-menu-region"}}}},{key:"getSelectedIds",value:function(){return h.a.GetSelectedIds({key:this.options.collectionIdentifier.toString(),type:ht.a.VIDEO_LIST,collection:this.collection,excludePredicate:function(t){return t.get("status")===ut.a.Processing}})}},{key:"onBeforeRender",value:function(){return!!this.getSelectedIds().length||(this.$el.empty(),!1)}},{key:"getActions",value:function(){if(this.options.collectionIdentifier){var t=this.getSelectedIds();return new o.a.Collection([{title:r.a.getPhrase(this.lang,"move",{smartCount:t.length}),appLink:{application:this.options.application,action:f.a.Shared.MOVE_VIDEOS,args:[t.join(","),this.options.collectionIdentifier.id]},analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Move,workflowPhase:C.r.Start})},{title:r.a.getPhrase(this.lang,"remove",{smartCount:t.length}),appLink:{application:f.b.LIBRARY_EDITOR,action:f.a.Shared.DELETE_VIDEOS,args:[this.options.collectionIdentifier.id,t.join(",")]},analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Delete,workflowPhase:C.r.Start}),classes:"text-danger"}])}}},{key:"onRender",value:function(){this.showChildView("dropdownItems",new pt.a({displayOptions:{alignment:"right"},channelName:"".concat(this.name).concat(this.cid),collection:this.getActions(),analyticsHelper:ft.a}))}},{key:"name",get:function(){return"BulkVideoActionsComponent"}},{key:"template",get:function(){return yt.a}},{key:"lang",get:function(){return"shared.bulkVideoActions"}}])&&gt(e.prototype,n),i&&gt(e,i),c}(o.a.Component),St=n(696),Rt=n(782),Et=n(1),Ct=n(841),_t=n.n(Ct),It=n(842),Dt=n.n(It);function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Vt(t);if(e){var i=Vt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Tt(this,n)}}function Tt(t,e){return!e||"object"!==Pt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Vt(t){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(a,t);var e,n,i,r=jt(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setSort(),this.bindListeners(),this.initializeCollection()}},{key:"getViewModel",value:function(){this.model=h.p.GetSortViewModel()}},{key:"setSort",value:function(){var t=this.options.collectionIdentifier.sort;if(t!==this.model.get("sortType")){var e=h.p.CreateSortObject(t);this.model.set(e)}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"sort:selected",this.onSortSelected)}},{key:"initializeCollection",value:function(){this.collection||(this.collection=h.p.CreateSortCollection())}},{key:"regions",value:function(){return{dropdown:".dropdown-menu-region"}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){this.logAction(C.r.Start)}},{key:"onSortSelected",value:function(t){this.model.set(t.toJSON()),this.render(),this.logAction(C.r.Complete)}},{key:"logAction",value:function(t){var e=ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Sort,workflowPhase:t}),n={id:this.options.collectionIdentifier.id,sort:this.model.get("name")};ft.a.logUserAction(n,e)}},{key:"onRender",value:function(){var t=this,e=this.collection.filter((function(e){return e.get("name")!==t.model.get("name")})),n=new o.a.Collection(Et.map(e,(function(e){var n=e.toJSON();return n.appLink={application:t.options.appLink.application,action:t.options.appLink.action,args:[t.options.collectionIdentifier.id],params:{sort:e.get("sortName")}},n})));this.showChildView("dropdown",new pt.a({collection:n,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"sort:selected"},displayOptions:{alignment:"right",extraClasses:Dt.a.sortSelectDropdown},analyticsHelper:ft.a}))}},{key:"name",get:function(){return"SortSelectComponent"}},{key:"template",get:function(){return _t.a}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"d-inline-block ".concat(Dt.a.sortSelect)}}])&&Lt(e.prototype,n),i&&Lt(e,i),a}(o.a.Component);function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nt(t,e){return(Nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ut(t);if(e){var i=Ut(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Ht(this,n)}}function Ht(t,e){return!e||"object"!==Bt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ut(t){return(Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Yt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}(r,t);var e,n,o,i=Mt(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return e=r,(n=[{key:"initialize",value:function(){this.analyticsOptions=ft.a.mergeOptions(this.options.analyticsOptions,{location:C.k.VideoListHeader})}},{key:"regions",value:function(){return{checkAll:{el:".check-all-region",replaceElement:!1},bulkActions:{el:".bulk-actions-region",replaceElement:!0},breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1},sorting:{el:".sorting-region",replaceElement:!0}}}},{key:"renderCheckAll",value:function(){!this.options.allowBulk||this.collection.length<=0||this.showChildView("checkAll",new St.b({className:"float-left",key:this.collectionIdentifier.toString(),type:ht.a.VIDEO_LIST,numberOfItems:this.collection.length}))}},{key:"renderBulkActions",value:function(){!this.options.allowBulk||this.collection.length<=0||this.showChildView("bulkActions",new Ot({collection:this.collection,collectionIdentifier:this.collectionIdentifier,application:this.options.application,analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{descriptor:C.l.Bulk,location:C.k.VideoListHeader,entity:C.e.Video,workflowPhase:C.r.Start})}))}},{key:"renderBreadcrumbs",value:function(){this.options.folder&&this.options.libraries&&this.showChildView("breadcrumbs",new Rt.a({folder:this.options.folder,libraries:this.options.libraries}))}},{key:"renderSorting",value:function(){this.collection.length<=0||this.showChildView("sorting",new At({collectionIdentifier:this.collectionIdentifier,analyticsOptions:this.analyticsOptions,appLink:{application:this.options.application,action:this.options.action}}))}},{key:"viewOptions",value:function(){return{showBulkActions:this.options.allowBulk&&this.collection.length>0}}},{key:"onRender",value:function(){this.renderCheckAll(),this.renderBulkActions(),this.renderBreadcrumbs(),this.renderSorting()}},{key:"name",get:function(){return"VideoListHeaderComponent"}},{key:"template",get:function(){return st.a}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center px-3 py-2 border-bottom"}},{key:"props",get:function(){return["collectionIdentifier"]}}])&&Ft(e.prototype,n),o&&Ft(e,o),r}(o.a.Component),Wt=n(122),qt=n(843),zt=n.n(qt);function Gt(t,e,n){return(Gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ne(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function $t(t){return($t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qt(t,e,n){return e&&Kt(t.prototype,e),n&&Kt(t,n),t}function Zt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function te(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ne(t);if(e){var i=ne(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return ee(this,n)}}function ee(t,e){return!e||"object"!==$t(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ne(t){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"FolderView",(function(){return ie})),n.d(e,"SeriesView",(function(){return re}));var oe=function(t){Zt(n,t);var e=te(n);function n(t){return Jt(this,n),e.call(this,t)}return Qt(n,[{key:"initialize",value:function(){this.bindListeners(),this.getSortType(),this.videoDataService=i.a.getInstance(f.g.Video,this),this.libraryDataService=i.a.getInstance(f.g.Library,this),this.pendingItemsService=i.a.getInstance(f.x.PendingItems,this),this.localCacheDataService=i.a.getInstance(f.g.LocalCache,this),this.videoMixinService=i.a.getInstance(f.x.VideoMixin,this)}},{key:"regions",value:function(){return{banner:{el:".banner-region",replaceElement:!0,partialLoading:d.j.Banner},header:{el:".header-region",replaceElement:!0,partialLoading:d.j.VideoListHeader},videoList:{el:".video-list-region",replaceElement:!0,partialLoading:d.j.VideoListWithBulkActions},childFolders:{el:".child-folders-region",replaceElement:!1,partialLoading:d.j.SubFolder},pagination:{el:".pagination-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var t=this.options.collectionIdentifier.toString();this.listenTo(f.e.VIDEO,"".concat(t,":sync"),this.render),this.listenTo(f.e.VIDEO,"".concat(f.f.DELETE_VIDEO,":sync"),this.fetchData),this.listenTo(f.e.VIDEO,"cache:cleared",this.render),this.listenTo(f.e.RESTRICTED_VIDEO,"".concat(f.f.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestrictedVideos),this.listenTo(this.channelName,"cancel:pending:item",this.cancelPendingItem),this.listenTo(this.channelName,"retry:pending:item",this.retryPendingItem),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata),this.listenTo(f.e.LOCAL_CACHE,"".concat(f.f.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(f.e.LOCAL_CACHE,"".concat(f.f.LOCAL_CACHE_DEVICES,":error"),this.onError)}},{key:"getSortType",value:function(){this.sortType||(this.sortType=this.options.collectionIdentifier.sort)}},{key:"updateRestrictedVideos",value:function(){var t=this;this.videoMixinService.getAndMixinVideoCollectionRestrictions(this.videoCollection,this.collectionIdentifier,(function(){return t.render()}))}},{key:"cancelPendingItem",value:function(t){this.pendingItemsService.clearPendingItem(t)}},{key:"retryPendingItem",value:function(t){this.pendingItemsService.retryPendingItem(t)}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&(this.videosWithMetadata=new p.a(this.videoCollection.map((function(t){return new u.a({id:t.get("id")})}))))}},{key:"renderBanner",value:function(){var t=new j({model:this.model,channelName:this.channelName,imageCdnUrl:this.config.get("imageCdnUrl")});this.showChildView("banner",t)}},{key:"renderChildFolders",value:function(){if(this.folderWithChildren&&this.folderWithChildren.children&&this.folderWithChildren.children.length){var t=new ct({collection:this.folderWithChildren.children});this.showChildView("childFolders",t)}}},{key:"renderHeader",value:function(){this.showChildView("header",new Yt({collection:this.videoCollection,libraries:this.libraryCollection,folder:this.model instanceof s.a&&this.model,application:f.b.LIBRARY_EDITOR,action:this.appLinkAction(),allowBulk:this.allowBulk(),collectionIdentifier:this.collectionIdentifier,analyticsOptions:this.options.analyticsOptions}))}},{key:"renderVideoList",value:function(){var t=new y.a({collection:this.videoCollection,videosWithMetadata:this.videosWithMetadata,application:f.b.LIBRARY_EDITOR,allowBulk:this.allowBulk(),collectionIdentifier:this.collectionIdentifier,config:this.config,pendingItems:this.pendingItemsService.getPendingItems(),videoItemComponentType:this.componentType,emptyStateType:this.emptyStateType(),emptyStateOptions:this.emptyStateOptions(),supportSiteUrl:this.config.get("supportSiteUrl"),collectionViewChannel:this.channelName,customerHasLocalCache:h.i.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),analyticsOptions:this.options.analyticsOptions,sourceMetadataOptions:{showFolder:this.showFolderSource()},videoCollectionSource:this.getVideoCollectionSource()});this.showChildView("videoList",t)}},{key:"renderPagination",value:function(){var t=this.videoDataService.getVideoCollectionCursors(this.collectionIdentifier),e=new l.a({cursors:t,collectionId:this.options.collectionIdentifier.id,appLink:{application:f.b.LIBRARY_EDITOR,action:this.appLinkAction(),args:[this.collectionIdentifier.id],params:this.collectionIdentifier.toParams()},analyticsOptions:this.options.analyticsOptions});this.showChildView("pagination",e)}},{key:"fetchData",value:function(){this.fetchModel(),this.devices=this.localCacheDataService.getDevices(this.currentUser.get("customerId")),this.fetchVideoCollection()}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.videoCollection&&(this.setVideosWithMetadata(),!!this.model)}},{key:"onRender",value:function(){this.renderBanner(),this.renderChildFolders(),this.renderHeader(),this.renderVideoList(),this.renderPagination()}},{key:"title",get:function(){return!!this.model&&this.model.get("name")}},{key:"template",get:function(){return zt.a}},{key:"className",get:function(){return"bg-white"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"requiredResources",get:function(){return{config:g.b.config,currentUser:b.b.currentUser,libraryCollection:k.b.libraries,exchanges:k.b.exchanges}}}]),n}(o.a.View),ie=function(t){Zt(n,t);var e=te(n);function n(){return Jt(this,n),e.apply(this,arguments)}return Qt(n,[{key:"bindListeners",value:function(){this.listenTo(f.e.LIBRARY,"".concat(f.f.FOLDER,":").concat(this.options.collectionIdentifier.id,":sync libraries:sync"),this.render),this.listenTo(f.e.LIBRARY,"".concat(f.f.FOLDER,":").concat(this.options.collectionIdentifier.id,":error"),this.onError),this.listenTo(f.e.LIBRARY,"".concat(f.f.UPDATE_FOLDER_BANNER,":").concat(this.options.collectionIdentifier.id,":sync"),this.fetchModel),Gt(ne(n.prototype),"bindListeners",this).call(this)}},{key:"onError",value:function(t){switch(t.type){case c.a.Forbidden:o.a.ErrorHelper.throw(new Wt.e);break;case c.a.NotFound:o.a.ErrorHelper.throw(new Wt.d)}}},{key:"appLinkAction",value:function(){return f.a.LibraryEditor.FOLDER}},{key:"allowBulk",value:function(){return!0}},{key:"emptyStateType",value:function(){return d.c.Folder}},{key:"emptyStateOptions",value:function(){return{heading:r.a.getPhrase(this.lang,"emptyStateHeading"),description:r.a.getPhrase(this.lang,"emptyStateInfo",{url:a.a.safeUrlConcat(this.config.get("supportSiteUrl"),f.y.ADD_FROM_ONLINE),classNames:"info-link"})}}},{key:"showFolderSource",value:function(){return!1}},{key:"getVideoCollectionSource",value:function(){return v.e.Folder}},{key:"fetchModel",value:function(){this.model=this.libraryDataService.getFolder(this.collectionIdentifier.id)}},{key:"fetchVideoCollection",value:function(){this.videoCollection=this.videoDataService.getCollectionVideos(this.collectionIdentifier)}},{key:"onBeforeRender",value:function(){return this.folderWithChildren=h.f.getModelFromCollection(this.collectionIdentifier.id,this.libraryCollection),this.folderWithChildren.children&&this.listenTo(this.folderWithChildren.children,"add remove",this.render),Gt(ne(n.prototype),"onBeforeRender",this).call(this)}},{key:"name",get:function(){return"FolderView"}},{key:"lang",get:function(){return"libraryEditor.folderView"}},{key:"componentType",get:function(){return m.b.Draggable}}]),n}(oe),re=function(t){Zt(n,t);var e=te(n);function n(){return Jt(this,n),e.apply(this,arguments)}return Qt(n,[{key:"initialize",value:function(){this.seriesDataService=i.a.getInstance(f.g.Series,this),Gt(ne(n.prototype),"initialize",this).call(this)}},{key:"bindListeners",value:function(){this.listenTo(f.e.SERIES,"".concat(f.f.SERIES,":").concat(this.options.collectionIdentifier.id,":sync"),this.render),this.listenTo(f.e.SERIES,"".concat(f.f.SERIES,":").concat(this.options.collectionIdentifier.id,":error"),this.onError),Gt(ne(n.prototype),"bindListeners",this).call(this)}},{key:"onError",value:function(t){switch(t.type){case c.a.NotFound:o.a.ErrorHelper.throw(new Wt.k)}}},{key:"appLinkAction",value:function(){return f.a.LibraryEditor.SERIES}},{key:"allowBulk",value:function(){return!1}},{key:"emptyStateType",value:function(){return d.c.Series}},{key:"emptyStateOptions",value:function(){return{heading:r.a.getPhrase(this.lang,"emptyStateHeading"),description:r.a.getPhrase(this.lang,"emptyStateInfo",{url:a.a.safeUrlConcat(this.config.get("supportSiteUrl"),f.y.ADD_FROM_ONLINE),classNames:"info-link"})}}},{key:"showFolderSource",value:function(){return!0}},{key:"getVideoCollectionSource",value:function(){return v.e.Series}},{key:"fetchModel",value:function(){this.model=this.seriesDataService.getSeries(this.collectionIdentifier.id)}},{key:"fetchVideoCollection",value:function(){this.videoCollection=this.videoDataService.getSeriesVideos(this.collectionIdentifier,this.libraryCollection.pluck("id"))}},{key:"name",get:function(){return"SeriesView"}},{key:"lang",get:function(){return"libraryEditor.seriesView"}},{key:"componentType",get:function(){return m.b.Base}}]),n}(oe)},670:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(1),i=n(2),r=n(4),a=n(39),c=n(671),l=n.n(c);class s extends i.a.Component{constructor(t){super(t)}get defaults(){return{cursors:{},cursorParamName:"cursor"}}get name(){return"PaginationComponent"}get template(){return l.a}get lang(){return"shared._pagination"}get appLinks(){const t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){let e=this.options.cursors.previous;const n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}events(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}buildCursor(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,{[this.options.cursorParamName]:t})}}onClickPrevious(){this.logAction("previous")}onClickNext(){this.logAction("next")}logAction(t){const e=a.a.mergeOptions(this.options.analyticsOptions,{location:r.k.Pagination,entity:r.e.Pagination,actionType:r.q.Navigate,workflowPhase:r.r.Complete}),n={id:this.options.collectionId,page:t};a.a.logUserAction(n,e)}viewOptions(){return{cursors:this.options.cursors}}onBeforeRender(){return!!this.options.cursors}}},671:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,l=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+l((n.lang||e&&e.lang||c).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+l((n.lang||e&&e.lang||c).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},679:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),i=n(7),r=n(2),a=n(91);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=h(t);if(e){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(p,t);var e,n,r,c=f(p);function p(){return l(this,p),c.apply(this,arguments)}return e=p,(n=[{key:"getDroppableElement",value:function(){return this.options.ui?this.view.getUI(this.options.ui):this.$el}},{key:"drop",value:function(){var t=this;o.each(this.options.channelNames,(function(e){i.Radio.channel(e).trigger("drag:drop",t.view.model,t.options.analyticsOptions)}))}},{key:"accept",value:function(){var t=this,e=!1;return o.each(this.options.channelNames,(function(n){!0===i.Radio.channel(n).request("accept",t.view.model)&&(e=!0)})),e}},{key:"over",value:function(){var t=this;this.isHoveringOver=!0,window.setTimeout((function(){t.isHoveringOver&&t.view.trigger("open:sub:folders",a.active)}),500)}},{key:"out",value:function(){this.isHoveringOver=!1}},{key:"onRender",value:function(){var t={tolerance:"pointer",drop:o.bind(this.drop,this),accept:o.bind(this.accept,this),over:o.bind(this.over,this),out:o.bind(this.out,this)};t.classes={"ui-droppable":a.droppable,"ui-droppable-active":a.active,"ui-droppable-hover":a.hover},this.getDroppableElement().droppable(t)}},{key:"onBeforeDestroy",value:function(){this.getDroppableElement().droppable("instance")&&this.getDroppableElement().droppable("destroy")}}])&&s(e.prototype,n),r&&s(e,r),p}(r.a.Behavior)},684:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var o=n(1),i=n(7),r=n(2),a=n(13),c=n(0),l=n(683),s=n(691),u=n.n(s);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=g(t);if(e){var i=g(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(f,t);var e,n,r,s=y(f);function f(){return p(this,f),s.apply(this,arguments)}return e=f,(n=[{key:"getClassMappings",value:function(){return{"ui-draggable":l.c.draggable,"ui-draggable-handle":l.c.handle,"ui-draggable-disabled":l.c.disabled,"ui-draggable-dragging":l.c.dragging}}},{key:"helper",value:function(){return new l.b({text:this.view.model.get("name"),svg:a.a.getSvg(a.b.Folder)}).render().el}},{key:"start",value:function(){i.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(u.a.draggingFolder)}},{key:"stop",value:function(){i.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(u.a.draggingFolder)}},{key:"onRender",value:function(){var t={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};t.classes=this.getClassMappings(),this.view.$el.draggable(o.extend({},l.a,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&h(e.prototype,n),r&&h(e,r),f}(r.a.Behavior)},690:function(t,e,n){"use strict";var o=n(2),i=n(13),r=n(54),a=n(4),c=n(39),l=n(657),s=n(0),u=n(3),f=n(692),p=n.n(f);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=b(t);if(e){var i=b(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(f,t);var e,n,i,r=m(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),r.call(this,t)}return e=f,(n=[{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:u.a.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"rename"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Rename,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"move"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Move,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"editImages"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.EditAssoc,entity:a.e.Folder,workflowPhase:a.r.Start,descriptor:a.a.Image}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"remove"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Delete,entity:a.e.Folder,workflowPhase:a.r.Start}),classes:"text-danger",appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]}}]}},{key:"onRender",value:function(){this.showChildView("items",new l.a({analyticsHelper:c.a,displayOptions:{alignment:"right"},channelName:this.channelName,collection:new o.a.Collection(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}},{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return p.a}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&d(e.prototype,n),i&&d(e,i),f}(o.a.Component),k=n(693),w=n.n(k),O=n(694),S=n.n(O);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=D(t);if(e){var i=D(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return P}));var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(c,t);var e,n,o,a=_(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"events",value:function(){return{"click @ui.dropdownToggle":"onClickDropdownToggle","click @ui.dropdownItem":"onClickDropdownItem"}}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"onClickDropdownToggle",value:function(){this.model instanceof r.a&&this.showChildView("items",new v({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"onClickDropdownItem",value:function(t){t.stopPropagation(),t.preventDefault(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof r.a,dropdownClass:"".concat(S.a.dropdownButton," ").concat(this.options.buttonClass),svg:i.a.getSvg(i.b.More)}}},{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof r.a)return"position-absolute ".concat(S.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}},{key:"template",get:function(){return w.a}}])&&E(e.prototype,n),o&&E(e,o),c}(o.a.Component)},691:function(t,e,n){t.exports={dragging:"_2wBn3",draggingFolder:"_1r3AS"}},692:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="items-region"></div>'},useData:!0})},693:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(r=null!=e?e.options:e)?r.dropdownClass:r,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.svg:r,e))?r:"")+'\r\n</span>\r\n<div class="items-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hasActions:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:""},useData:!0})},694:function(t,e,n){t.exports={dropdownContainer:"_2F3Cz",dropdownButton:"_2TdId"}},733:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},734:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+"\r\n"},3:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<a class="info-link">'+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.isActive:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.program(3,i,0),data:i}))?r:""},useData:!0})},782:function(t,e,n){"use strict";var o=n(2),i=n(733),r=n.n(i),a=n(734),c=n.n(a);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){p(n,t);var e=d(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,[{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}},{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return c.a}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var t="breadcrumb-item";return this.model.get("active")&&(t+=" active"),t}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}}]),n}(o.a.Component),b=function(t){p(n,t);var e=d(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return g}}]),n}(o.a.ComponentCollection),v=n(34),k=n(0);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=C(t);if(e){var i=C(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return _}));var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}(c,t);var e,n,i,a=R(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"getBreadcrumbs",value:function(){this.breadcrumbCollection=new o.a.Collection;var t,e=this.options.folder;do{if(t=v.a.getParent(e.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(e,!!t),{at:0}),!t)break;e=t}while(t);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:k.b.LIBRARY_EDITOR,action:k.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(t,e){var n=e?k.a.LibraryEditor.FOLDER:k.a.LibraryEditor.LIBRARY;return{name:t.get("name"),appLink:{application:k.b.LIBRARY_EDITOR,action:n,args:[t.id]}}}},{key:"onRender",value:function(){var t=new b({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",t)}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return r.a}},{key:"className",get:function(){return"d-inline-block"}}])&&O(e.prototype,n),i&&O(e,i),c}(o.a.Component)},835:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<h1 class="text-white position-absolute m-0">\r\n '+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+'\r\n</h1>\r\n<div class="options-region"></div>'},useData:!0})},836:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,c=t.lambda,l=t.escapeExpression,s=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing;return'<div class="rounded p-2 text-dark position-relative ui-block '+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folderBlock:r,e))+'">\r\n <a class="text-dark text-truncate d-block pr-4 font-weight-bold '+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folder:r,e))+'" title="'+l("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:u)?a.call(s,{name:"name",hash:{},data:i}):a)+'">\r\n <span class="'+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folderIcon:r,e))+' d-inline-block position-absolute">\r\n '+(null!=(r=c(null!=(r=null!=e?e.options:e)?r.svg:r,e))?r:"")+"\r\n </span>\r\n "+l("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:u)?a.call(s,{name:"name",hash:{},data:i}):a)+'\r\n </a>\r\n <span class="actions-region"></div>\r\n</div>\r\n'},useData:!0})},837:function(t,e,n){t.exports={folderIcon:"_3yOKC",folder:"_1mL-8",folderBlock:"_3Z20g",actions:"_1NQjU"}},838:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="subfolders-region"></div>'},useData:!0})},839:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"pl-2"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<div class="d-inline-flex justify-content-start">\r\n <div class="check-all-region d-inline-flex align-items-center"></div>\r\n <div class="bulk-actions-region"></div>\r\n <div class="breadcrumbs-region d-inline-flex align-items-center '+(null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.showBulkActions:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'"></div>\r\n</div>\r\n<div class="sorting-region"></div>\r\n'},useData:!0})},840:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;return'<button class="dropdown-toggle btn btn-light" type="button" id="bulkActions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"options",{name:"lang",hash:{},data:i}))+'\r\n</button>\r\n<div class="dropdown-menu-region"></div>'},useData:!0})},841:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<button class="dropdown-toggle form-control text-left cursor-pointer" type="button" id="sortSelectButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+'\r\n</button>\r\n<div class="dropdown-menu-region"></div>'},useData:!0})},842:function(t,e,n){t.exports={sortSelect:"_3o-cY",sortSelectDropdown:"_3O1cI"}},843:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="banner-region"></div>\r\n<div class="child-folders-region"></div>\r\n<div class="header-region"></div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>'},useData:!0})}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[14],{1082:function(t,e,n){"use strict";n.r(e);var o=n(2),i=n(5),r=n(3),a=n(58),c=n(68),l=n(672),s=n(54),u=n(61),f=n(0),p=n(37),h=n(11),d=n(6),y=n(712),m=n(663),g=n(119),b=n(86),v=n(105),k=n(89),w=n(691),O=n(837),S=n.n(O),R=n(192),E=n.n(R),C=n(4);function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function I(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function D(t,e){return(D=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function P(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=x(t);if(e){var i=x(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return L(this,n)}}function L(t,e){return!e||"object"!==_(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function x(t){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var j=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&D(t,e)}(r,t);var e,n,o,i=P(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return e=r,(n=[{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"renderActions",value:function(){this.showChildView("options",new w.a({model:this.model,extraClasses:"".concat(E.a.actions," rounded-circle mr-2 mt-2"),buttonClass:"text-light",analyticsOptions:{location:C.k.Banner}}))}},{key:"onRender",value:function(){this.renderActions()}},{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"px-3 position-relative ".concat(E.a.banner)}},{key:"attributes",get:function(){var t=h.g.createBannerUrl(this.model.banner,{fallbackBaseUrl:this.options.imageCdnUrl,fallbackCategoryName:this.model.get("name"),type:d.f.Banners});return{style:"background-image: url('".concat(t,"')")}}},{key:"template",get:function(){return S.a}}])&&I(e.prototype,n),o&&I(e,o),r}(o.a.Component),T=n(13),V=n(681),A=n(686),B=n(838),F=n.n(B),N=n(839),M=n.n(N);function H(t){return(H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function W(t,e){return(W=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function q(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=G(t);if(e){var i=G(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return z(this,n)}}function z(t,e){return!e||"object"!==H(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function G(t){return(G=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var $=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&W(t,e)}(r,t);var e,n,o,i=q(r);function r(){return U(this,r),i.apply(this,arguments)}return e=r,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"regions",value:function(){return{actions:{replaceElement:!0,el:".actions-region"}}}},{key:"viewOptions",value:function(){return{styles:M.a,svg:T.a.getSvg(T.b.Folder)}}},{key:"onRender",value:function(){this.showChildView("actions",new w.a({model:this.model,extraClasses:"".concat(M.a.actions," rounded-circle mr-2"),analyticsOptions:{location:C.k.SubFolderList}}))}},{key:"name",get:function(){return"SubFolderComponent"}},{key:"elements",get:function(){return{anchor:"a",block:".ui-block"}}},{key:"template",get:function(){return F.a}},{key:"className",get:function(){return"col-3 d-inline-block pb-3"}},{key:"behaviors",get:function(){return[{behaviorClass:V.a,ui:"block",channelNames:[f.w.VIDEO_DRAG_DROP,f.w.FOLDER_DRAG_DROP],analyticsOptions:{location:C.k.SubFolderList}},{behaviorClass:A.a}]}},{key:"appLinks",get:function(){return{a:{application:f.b.LIBRARY_EDITOR,action:f.a.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}}])&&Y(e.prototype,n),o&&Y(e,o),r}(o.a.Component),J=n(840),K=n.n(J);function Q(t){return(Q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Z(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function tt(t,e,n){return e&&X(t.prototype,e),n&&X(t,n),t}function et(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&nt(t,e)}function nt(t,e){return(nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function ot(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=rt(t);if(e){var i=rt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return it(this,n)}}function it(t,e){return!e||"object"!==Q(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function rt(t){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var at=function(t){et(n,t);var e=ot(n);function n(){return Z(this,n),e.apply(this,arguments)}return tt(n,[{key:"name",get:function(){return"SubFoldersCollectionView"}},{key:"childView",get:function(){return $}}]),n}(o.a.ComponentCollection),ct=function(t){et(n,t);var e=ot(n);function n(){return Z(this,n),e.apply(this,arguments)}return tt(n,[{key:"regions",value:function(){return{subFolders:{replaceElement:!0,el:".subfolders-region"}}}},{key:"onRender",value:function(){this.showChildView("subFolders",new at({collection:this.collection}))}},{key:"name",get:function(){return"SubFoldersView"}},{key:"className",get:function(){return"container-fluid border-bottom pt-3 bg-white"}},{key:"template",get:function(){return K.a}}]),n}(o.a.Component),lt=n(841),st=n.n(lt),ut=n(63),ft=n(31),pt=n(659),ht=n(118),dt=n(842),yt=n.n(dt);function mt(t){return(mt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function bt(t,e){return(bt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function vt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=wt(t);if(e){var i=wt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return kt(this,n)}}function kt(t,e){return!e||"object"!==mt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wt(t){return(wt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ot=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bt(t,e)}(c,t);var e,n,i,a=vt(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"getViewModel",value:function(){var t=this.options.collectionIdentifier.toString();this.model=h.a.GetViewModel(t,ht.a.VIDEO_LIST)}},{key:"bindListeners",value:function(){this.listenTo(this.model,"change",this.render),this.listenTo(this.collection,"remove",this.render)}},{key:"regions",value:function(){return{dropdownItems:{replaceElement:!0,el:".dropdown-menu-region"}}}},{key:"getSelectedIds",value:function(){return h.a.GetSelectedIds({key:this.options.collectionIdentifier.toString(),type:ht.a.VIDEO_LIST,collection:this.collection,excludePredicate:function(t){return t.get("status")===ut.a.Processing}})}},{key:"onBeforeRender",value:function(){return!!this.getSelectedIds().length||(this.$el.empty(),!1)}},{key:"getActions",value:function(){if(this.options.collectionIdentifier){var t=this.getSelectedIds();return new o.a.Collection([{title:r.a.getPhrase(this.lang,"move",{smartCount:t.length}),appLink:{application:this.options.application,action:f.a.Shared.MOVE_VIDEOS,args:[t.join(","),this.options.collectionIdentifier.id]},analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Move,workflowPhase:C.r.Start})},{title:r.a.getPhrase(this.lang,"remove",{smartCount:t.length}),appLink:{application:f.b.LIBRARY_EDITOR,action:f.a.Shared.DELETE_VIDEOS,args:[this.options.collectionIdentifier.id,t.join(",")]},analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Delete,workflowPhase:C.r.Start}),classes:"text-danger"}])}}},{key:"onRender",value:function(){this.showChildView("dropdownItems",new pt.a({displayOptions:{alignment:"right"},channelName:"".concat(this.name).concat(this.cid),collection:this.getActions(),analyticsHelper:ft.a}))}},{key:"name",get:function(){return"BulkVideoActionsComponent"}},{key:"template",get:function(){return yt.a}},{key:"lang",get:function(){return"shared.bulkVideoActions"}}])&&gt(e.prototype,n),i&&gt(e,i),c}(o.a.Component),St=n(698),Rt=n(784),Et=n(1),Ct=n(843),_t=n.n(Ct),It=n(844),Dt=n.n(It);function Pt(t){return(Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Lt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function xt(t,e){return(xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function jt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Vt(t);if(e){var i=Vt(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Tt(this,n)}}function Tt(t,e){return!e||"object"!==Pt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Vt(t){return(Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var At=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&xt(t,e)}(a,t);var e,n,i,r=jt(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.getViewModel(),this.setSort(),this.bindListeners(),this.initializeCollection()}},{key:"getViewModel",value:function(){this.model=h.p.GetSortViewModel()}},{key:"setSort",value:function(){var t=this.options.collectionIdentifier.sort;if(t!==this.model.get("sortType")){var e=h.p.CreateSortObject(t);this.model.set(e)}}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"sort:selected",this.onSortSelected)}},{key:"initializeCollection",value:function(){this.collection||(this.collection=h.p.CreateSortCollection())}},{key:"regions",value:function(){return{dropdown:".dropdown-menu-region"}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(){this.logAction(C.r.Start)}},{key:"onSortSelected",value:function(t){this.model.set(t.toJSON()),this.render(),this.logAction(C.r.Complete)}},{key:"logAction",value:function(t){var e=ft.a.mergeOptions(this.options.analyticsOptions,{actionType:C.q.Sort,workflowPhase:t}),n={id:this.options.collectionIdentifier.id,sort:this.model.get("name")};ft.a.logUserAction(n,e)}},{key:"onRender",value:function(){var t=this,e=this.collection.filter((function(e){return e.get("name")!==t.model.get("name")})),n=new o.a.Collection(Et.map(e,(function(e){var n=e.toJSON();return n.appLink={application:t.options.appLink.application,action:t.options.appLink.action,args:[t.options.collectionIdentifier.id],params:{sort:e.get("sortName")}},n})));this.showChildView("dropdown",new pt.a({collection:n,channelName:this.channelName,childOptions:{titleProperty:"name",eventName:"sort:selected"},displayOptions:{alignment:"right",extraClasses:Dt.a.sortSelectDropdown},analyticsHelper:ft.a}))}},{key:"name",get:function(){return"SortSelectComponent"}},{key:"template",get:function(){return _t.a}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"d-inline-block ".concat(Dt.a.sortSelect)}}])&&Lt(e.prototype,n),i&&Lt(e,i),a}(o.a.Component);function Bt(t){return(Bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ft(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Nt(t,e){return(Nt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Mt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=Ut(t);if(e){var i=Ut(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return Ht(this,n)}}function Ht(t,e){return!e||"object"!==Bt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ut(t){return(Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Yt=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nt(t,e)}(r,t);var e,n,o,i=Mt(r);function r(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,r),i.call(this,t)}return e=r,(n=[{key:"initialize",value:function(){this.analyticsOptions=ft.a.mergeOptions(this.options.analyticsOptions,{location:C.k.VideoListHeader})}},{key:"regions",value:function(){return{checkAll:{el:".check-all-region",replaceElement:!1},bulkActions:{el:".bulk-actions-region",replaceElement:!0},breadcrumbs:{el:".breadcrumbs-region",replaceElement:!1},sorting:{el:".sorting-region",replaceElement:!0}}}},{key:"renderCheckAll",value:function(){!this.options.allowBulk||this.collection.length<=0||this.showChildView("checkAll",new St.b({className:"float-left",key:this.collectionIdentifier.toString(),type:ht.a.VIDEO_LIST,numberOfItems:this.collection.length}))}},{key:"renderBulkActions",value:function(){!this.options.allowBulk||this.collection.length<=0||this.showChildView("bulkActions",new Ot({collection:this.collection,collectionIdentifier:this.collectionIdentifier,application:this.options.application,analyticsOptions:ft.a.mergeOptions(this.options.analyticsOptions,{descriptor:C.l.Bulk,location:C.k.VideoListHeader,entity:C.e.Video,workflowPhase:C.r.Start})}))}},{key:"renderBreadcrumbs",value:function(){this.options.folder&&this.options.libraries&&this.showChildView("breadcrumbs",new Rt.a({folder:this.options.folder,libraries:this.options.libraries}))}},{key:"renderSorting",value:function(){this.collection.length<=0||this.showChildView("sorting",new At({collectionIdentifier:this.collectionIdentifier,analyticsOptions:this.analyticsOptions,appLink:{application:this.options.application,action:this.options.action}}))}},{key:"viewOptions",value:function(){return{showBulkActions:this.options.allowBulk&&this.collection.length>0}}},{key:"onRender",value:function(){this.renderCheckAll(),this.renderBulkActions(),this.renderBreadcrumbs(),this.renderSorting()}},{key:"name",get:function(){return"VideoListHeaderComponent"}},{key:"template",get:function(){return st.a}},{key:"className",get:function(){return"d-flex justify-content-between align-items-center px-3 py-2 border-bottom"}},{key:"props",get:function(){return["collectionIdentifier"]}}])&&Ft(e.prototype,n),o&&Ft(e,o),r}(o.a.Component),Wt=n(122),qt=n(845),zt=n.n(qt);function Gt(t,e,n){return(Gt="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var o=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ne(t)););return t}(t,e);if(o){var i=Object.getOwnPropertyDescriptor(o,e);return i.get?i.get.call(n):i.value}})(t,e,n||t)}function $t(t){return($t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Jt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kt(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function Qt(t,e,n){return e&&Kt(t.prototype,e),n&&Kt(t,n),t}function Zt(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xt(t,e)}function Xt(t,e){return(Xt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function te(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=ne(t);if(e){var i=ne(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return ee(this,n)}}function ee(t,e){return!e||"object"!==$t(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ne(t){return(ne=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"FolderView",(function(){return ie})),n.d(e,"SeriesView",(function(){return re}));var oe=function(t){Zt(n,t);var e=te(n);function n(t){return Jt(this,n),e.call(this,t)}return Qt(n,[{key:"initialize",value:function(){this.bindListeners(),this.getSortType(),this.videoDataService=i.a.getInstance(f.g.Video,this),this.libraryDataService=i.a.getInstance(f.g.Library,this),this.pendingItemsService=i.a.getInstance(f.x.PendingItems,this),this.localCacheDataService=i.a.getInstance(f.g.LocalCache,this),this.videoMixinService=i.a.getInstance(f.x.VideoMixin,this)}},{key:"regions",value:function(){return{banner:{el:".banner-region",replaceElement:!0,partialLoading:d.j.Banner},header:{el:".header-region",replaceElement:!0,partialLoading:d.j.VideoListHeader},videoList:{el:".video-list-region",replaceElement:!0,partialLoading:d.j.VideoListWithBulkActions},childFolders:{el:".child-folders-region",replaceElement:!1,partialLoading:d.j.SubFolder},pagination:{el:".pagination-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){var t=this.options.collectionIdentifier.toString();this.listenTo(f.e.VIDEO,"".concat(t,":sync"),this.render),this.listenTo(f.e.VIDEO,"".concat(f.f.DELETE_VIDEO,":sync"),this.fetchData),this.listenTo(f.e.VIDEO,"cache:cleared",this.render),this.listenTo(f.e.RESTRICTED_VIDEO,"".concat(f.f.UPDATE_VIDEO_RESTRICTION,":sync"),this.updateRestrictedVideos),this.listenTo(this.channelName,"cancel:pending:item",this.cancelPendingItem),this.listenTo(this.channelName,"retry:pending:item",this.retryPendingItem),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata),this.listenTo(f.e.LOCAL_CACHE,"".concat(f.f.LOCAL_CACHE_DEVICES,":sync"),this.render),this.listenTo(f.e.LOCAL_CACHE,"".concat(f.f.LOCAL_CACHE_DEVICES,":error"),this.onError)}},{key:"getSortType",value:function(){this.sortType||(this.sortType=this.options.collectionIdentifier.sort)}},{key:"updateRestrictedVideos",value:function(){var t=this;this.videoMixinService.getAndMixinVideoCollectionRestrictions(this.videoCollection,this.collectionIdentifier,(function(){return t.render()}))}},{key:"cancelPendingItem",value:function(t){this.pendingItemsService.clearPendingItem(t)}},{key:"retryPendingItem",value:function(t){this.pendingItemsService.retryPendingItem(t)}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&(this.videosWithMetadata=new p.a(this.videoCollection.map((function(t){return new u.a({id:t.get("id")})}))))}},{key:"renderBanner",value:function(){var t=new j({model:this.model,channelName:this.channelName,imageCdnUrl:this.config.get("imageCdnUrl")});this.showChildView("banner",t)}},{key:"renderChildFolders",value:function(){if(this.folderWithChildren&&this.folderWithChildren.children&&this.folderWithChildren.children.length){var t=new ct({collection:this.folderWithChildren.children});this.showChildView("childFolders",t)}}},{key:"renderHeader",value:function(){this.showChildView("header",new Yt({collection:this.videoCollection,libraries:this.libraryCollection,folder:this.model instanceof s.a&&this.model,application:f.b.LIBRARY_EDITOR,action:this.appLinkAction(),allowBulk:this.allowBulk(),collectionIdentifier:this.collectionIdentifier,analyticsOptions:this.options.analyticsOptions}))}},{key:"renderVideoList",value:function(){var t=new y.a({collection:this.videoCollection,videosWithMetadata:this.videosWithMetadata,application:f.b.LIBRARY_EDITOR,allowBulk:this.allowBulk(),collectionIdentifier:this.collectionIdentifier,config:this.config,pendingItems:this.pendingItemsService.getPendingItems(),videoItemComponentType:this.componentType,emptyStateType:this.emptyStateType(),emptyStateOptions:this.emptyStateOptions(),supportSiteUrl:this.config.get("supportSiteUrl"),collectionViewChannel:this.channelName,customerHasLocalCache:h.i.customerHasLocalCache(this.devices,this.currentUser.get("customerId")),customerHasExchange:this.exchanges.any(),analyticsOptions:this.options.analyticsOptions,sourceMetadataOptions:{showFolder:this.showFolderSource()},videoCollectionSource:this.getVideoCollectionSource()});this.showChildView("videoList",t)}},{key:"renderPagination",value:function(){var t=this.videoDataService.getVideoCollectionCursors(this.collectionIdentifier),e=new l.a({cursors:t,collectionId:this.options.collectionIdentifier.id,appLink:{application:f.b.LIBRARY_EDITOR,action:this.appLinkAction(),args:[this.collectionIdentifier.id],params:this.collectionIdentifier.toParams()},analyticsOptions:this.options.analyticsOptions});this.showChildView("pagination",e)}},{key:"fetchData",value:function(){this.fetchModel(),this.devices=this.localCacheDataService.getDevices(this.currentUser.get("customerId")),this.fetchVideoCollection()}},{key:"fetchVideoWithMetadata",value:function(t){var e=this;this.videoDataService.getVideo(t,(function(n){var o=e.videosWithMetadata.get(t);o&&(o.set(n.toJSON()),o.set({dataFetched:!0}))}))}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.videoCollection&&(this.setVideosWithMetadata(),!!this.model)}},{key:"onRender",value:function(){this.renderBanner(),this.renderChildFolders(),this.renderHeader(),this.renderVideoList(),this.renderPagination()}},{key:"title",get:function(){return!!this.model&&this.model.get("name")}},{key:"template",get:function(){return zt.a}},{key:"className",get:function(){return"bg-white"}},{key:"channelName",get:function(){return"".concat(this.name,":").concat(this.cid)}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"requiredResources",get:function(){return{config:g.b.config,currentUser:b.b.currentUser,libraryCollection:k.b.libraries,exchanges:k.b.exchanges}}}]),n}(o.a.View),ie=function(t){Zt(n,t);var e=te(n);function n(){return Jt(this,n),e.apply(this,arguments)}return Qt(n,[{key:"bindListeners",value:function(){this.listenTo(f.e.LIBRARY,"".concat(f.f.FOLDER,":").concat(this.options.collectionIdentifier.id,":sync libraries:sync"),this.render),this.listenTo(f.e.LIBRARY,"".concat(f.f.FOLDER,":").concat(this.options.collectionIdentifier.id,":error"),this.onError),this.listenTo(f.e.LIBRARY,"".concat(f.f.UPDATE_FOLDER_BANNER,":").concat(this.options.collectionIdentifier.id,":sync"),this.fetchModel),Gt(ne(n.prototype),"bindListeners",this).call(this)}},{key:"onError",value:function(t){switch(t.type){case c.a.Forbidden:o.a.ErrorHelper.throw(new Wt.e);break;case c.a.NotFound:o.a.ErrorHelper.throw(new Wt.d)}}},{key:"appLinkAction",value:function(){return f.a.LibraryEditor.FOLDER}},{key:"allowBulk",value:function(){return!0}},{key:"emptyStateType",value:function(){return d.c.Folder}},{key:"emptyStateOptions",value:function(){return{heading:r.a.getPhrase(this.lang,"emptyStateHeading"),description:r.a.getPhrase(this.lang,"emptyStateInfo",{url:a.a.safeUrlConcat(this.config.get("supportSiteUrl"),f.y.ADD_FROM_ONLINE),classNames:"info-link"})}}},{key:"showFolderSource",value:function(){return!1}},{key:"getVideoCollectionSource",value:function(){return v.e.Folder}},{key:"fetchModel",value:function(){this.model=this.libraryDataService.getFolder(this.collectionIdentifier.id)}},{key:"fetchVideoCollection",value:function(){this.videoCollection=this.videoDataService.getCollectionVideos(this.collectionIdentifier)}},{key:"onBeforeRender",value:function(){return this.folderWithChildren=h.f.getModelFromCollection(this.collectionIdentifier.id,this.libraryCollection),this.folderWithChildren.children&&this.listenTo(this.folderWithChildren.children,"add remove",this.render),Gt(ne(n.prototype),"onBeforeRender",this).call(this)}},{key:"name",get:function(){return"FolderView"}},{key:"lang",get:function(){return"libraryEditor.folderView"}},{key:"componentType",get:function(){return m.b.Draggable}}]),n}(oe),re=function(t){Zt(n,t);var e=te(n);function n(){return Jt(this,n),e.apply(this,arguments)}return Qt(n,[{key:"initialize",value:function(){this.seriesDataService=i.a.getInstance(f.g.Series,this),Gt(ne(n.prototype),"initialize",this).call(this)}},{key:"bindListeners",value:function(){this.listenTo(f.e.SERIES,"".concat(f.f.SERIES,":").concat(this.options.collectionIdentifier.id,":sync"),this.render),this.listenTo(f.e.SERIES,"".concat(f.f.SERIES,":").concat(this.options.collectionIdentifier.id,":error"),this.onError),Gt(ne(n.prototype),"bindListeners",this).call(this)}},{key:"onError",value:function(t){switch(t.type){case c.a.NotFound:o.a.ErrorHelper.throw(new Wt.k)}}},{key:"appLinkAction",value:function(){return f.a.LibraryEditor.SERIES}},{key:"allowBulk",value:function(){return!1}},{key:"emptyStateType",value:function(){return d.c.Series}},{key:"emptyStateOptions",value:function(){return{heading:r.a.getPhrase(this.lang,"emptyStateHeading"),description:r.a.getPhrase(this.lang,"emptyStateInfo",{url:a.a.safeUrlConcat(this.config.get("supportSiteUrl"),f.y.ADD_FROM_ONLINE),classNames:"info-link"})}}},{key:"showFolderSource",value:function(){return!0}},{key:"getVideoCollectionSource",value:function(){return v.e.Series}},{key:"fetchModel",value:function(){this.model=this.seriesDataService.getSeries(this.collectionIdentifier.id)}},{key:"fetchVideoCollection",value:function(){this.videoCollection=this.videoDataService.getSeriesVideos(this.collectionIdentifier,this.libraryCollection.pluck("id"))}},{key:"name",get:function(){return"SeriesView"}},{key:"lang",get:function(){return"libraryEditor.seriesView"}},{key:"componentType",get:function(){return m.b.Base}}]),n}(oe)},672:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var o=n(1),i=n(2),r=n(4),a=n(31),c=n(673),l=n.n(c);class s extends i.a.Component{constructor(t){super(t)}get defaults(){return{cursors:{},cursorParamName:"cursor"}}get name(){return"PaginationComponent"}get template(){return l.a}get lang(){return"shared._pagination"}get appLinks(){const t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){let e=this.options.cursors.previous;const n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}events(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}buildCursor(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:o.extend({},this.options.appLink.params,{[this.options.cursorParamName]:t})}}onClickPrevious(){this.logAction("previous")}onClickNext(){this.logAction("next")}logAction(t){const e=a.a.mergeOptions(this.options.analyticsOptions,{location:r.k.Pagination,entity:r.e.Pagination,actionType:r.q.Navigate,workflowPhase:r.r.Complete}),n={id:this.options.collectionId,page:t};a.a.logUserAction(n,e)}viewOptions(){return{cursors:this.options.cursors}}onBeforeRender(){return!!this.options.cursors}}},673:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,l=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+l((n.lang||e&&e.lang||c).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+l((n.lang||e&&e.lang||c).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})},681:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var o=n(1),i=n(7),r=n(2),a=n(91);function c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function l(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=h(t);if(e){var i=h(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==c(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var d=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(p,t);var e,n,r,c=f(p);function p(){return l(this,p),c.apply(this,arguments)}return e=p,(n=[{key:"getDroppableElement",value:function(){return this.options.ui?this.view.getUI(this.options.ui):this.$el}},{key:"drop",value:function(){var t=this;o.each(this.options.channelNames,(function(e){i.Radio.channel(e).trigger("drag:drop",t.view.model,t.options.analyticsOptions)}))}},{key:"accept",value:function(){var t=this,e=!1;return o.each(this.options.channelNames,(function(n){!0===i.Radio.channel(n).request("accept",t.view.model)&&(e=!0)})),e}},{key:"over",value:function(){var t=this;this.isHoveringOver=!0,window.setTimeout((function(){t.isHoveringOver&&t.view.trigger("open:sub:folders",a.active)}),500)}},{key:"out",value:function(){this.isHoveringOver=!1}},{key:"onRender",value:function(){var t={tolerance:"pointer",drop:o.bind(this.drop,this),accept:o.bind(this.accept,this),over:o.bind(this.over,this),out:o.bind(this.out,this)};t.classes={"ui-droppable":a.droppable,"ui-droppable-active":a.active,"ui-droppable-hover":a.hover},this.getDroppableElement().droppable(t)}},{key:"onBeforeDestroy",value:function(){this.getDroppableElement().droppable("instance")&&this.getDroppableElement().droppable("destroy")}}])&&s(e.prototype,n),r&&s(e,r),p}(r.a.Behavior)},686:function(t,e,n){"use strict";n.d(e,"a",(function(){return b}));var o=n(1),i=n(7),r=n(2),a=n(13),c=n(0),l=n(685),s=n(693),u=n.n(s);function f(t){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function p(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=g(t);if(e){var i=g(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return m(this,n)}}function m(t,e){return!e||"object"!==f(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function g(t){return(g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var b=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&d(t,e)}(f,t);var e,n,r,s=y(f);function f(){return p(this,f),s.apply(this,arguments)}return e=f,(n=[{key:"getClassMappings",value:function(){return{"ui-draggable":l.c.draggable,"ui-draggable-handle":l.c.handle,"ui-draggable-disabled":l.c.disabled,"ui-draggable-dragging":l.c.dragging}}},{key:"helper",value:function(){return new l.b({text:this.view.model.get("name"),svg:a.a.getSvg(a.b.Folder)}).render().el}},{key:"start",value:function(){i.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(u.a.draggingFolder)}},{key:"stop",value:function(){i.Radio.channel(c.w.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(u.a.draggingFolder)}},{key:"onRender",value:function(){var t={helper:o.bind(this.helper,this),start:o.bind(this.start,this),stop:o.bind(this.stop,this)};t.classes=this.getClassMappings(),this.view.$el.draggable(o.extend({},l.a,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&h(e.prototype,n),r&&h(e,r),f}(r.a.Behavior)},691:function(t,e,n){"use strict";var o=n(2),i=n(13),r=n(54),a=n(4),c=n(31),l=n(659),s=n(0),u=n(3),f=n(694),p=n.n(f);function h(t){return(h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function y(t,e){return(y=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=b(t);if(e){var i=b(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return g(this,n)}}function g(t,e){return!e||"object"!==h(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function b(t){return(b=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&y(t,e)}(f,t);var e,n,i,r=m(f);function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),r.call(this,t)}return e=f,(n=[{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:u.a.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"rename"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Rename,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"move"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Move,entity:a.e.Folder,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"editImages"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.EditAssoc,entity:a.e.Folder,workflowPhase:a.r.Start,descriptor:a.a.Image}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Create,entity:a.e.PDF,workflowPhase:a.r.Start}),appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]}},{title:u.a.getPhrase(this.lang,"remove"),analyticsOptions:c.a.mergeOptions(this.options.analyticsOptions,{actionType:a.q.Delete,entity:a.e.Folder,workflowPhase:a.r.Start}),classes:"text-danger",appLink:{application:s.b.LIBRARY_EDITOR,action:s.a.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]}}]}},{key:"onRender",value:function(){this.showChildView("items",new l.a({analyticsHelper:c.a,displayOptions:{alignment:"right"},channelName:this.channelName,collection:new o.a.Collection(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}},{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return p.a}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}}])&&d(e.prototype,n),i&&d(e,i),f}(o.a.Component),k=n(695),w=n.n(k),O=n(696),S=n.n(O);function R(t){return(R="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function E(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function C(t,e){return(C=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=D(t);if(e){var i=D(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return I(this,n)}}function I(t,e){return!e||"object"!==R(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function D(t){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return P}));var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&C(t,e)}(c,t);var e,n,o,a=_(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"events",value:function(){return{"click @ui.dropdownToggle":"onClickDropdownToggle","click @ui.dropdownItem":"onClickDropdownItem"}}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"onClickDropdownToggle",value:function(){this.model instanceof r.a&&this.showChildView("items",new v({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"onClickDropdownItem",value:function(t){t.stopPropagation(),t.preventDefault(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof r.a,dropdownClass:"".concat(S.a.dropdownButton," ").concat(this.options.buttonClass),svg:i.a.getSvg(i.b.More)}}},{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof r.a)return"position-absolute ".concat(S.a.dropdownContainer," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",dropdownItem:".dropdown-item"}}},{key:"template",get:function(){return w.a}}])&&E(e.prototype,n),o&&E(e,o),c}(o.a.Component)},693:function(t,e,n){t.exports={dragging:"_2wBn3",draggingFolder:"_1r3AS"}},694:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="items-region"></div>'},useData:!0})},695:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.lambda;return'<span data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(r=null!=e?e.options:e)?r.dropdownClass:r,e))+' d-inline-block ui-dropdown-toggle">\r\n '+(null!=(r=a(null!=(r=null!=e?e.options:e)?r.svg:r,e))?r:"")+'\r\n</span>\r\n<div class="items-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hasActions:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:""},useData:!0})},696:function(t,e,n){t.exports={dropdownContainer:"_2F3Cz",dropdownButton:"_2TdId"}},735:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<nav class="breadcrumbs-region" aria-label="breadcrumb"></nav>'},useData:!0})},736:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+"\r\n"},3:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<a class="info-link">'+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.isActive:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.program(3,i,0),data:i}))?r:""},useData:!0})},784:function(t,e,n){"use strict";var o=n(2),i=n(735),r=n.n(i),a=n(736),c=n.n(a);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function f(t,e,n){return e&&u(t.prototype,e),n&&u(t,n),t}function p(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&h(t,e)}function h(t,e){return(h=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=m(t);if(e){var i=m(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return y(this,n)}}function y(t,e){return!e||"object"!==l(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function m(t){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){p(n,t);var e=d(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,[{key:"viewOptions",value:function(){return{isActive:this.model.get("active")}}},{key:"name",get:function(){return"BreadcrumbItemComponent"}},{key:"template",get:function(){return c.a}},{key:"tagName",get:function(){return"li"}},{key:"className",get:function(){var t="breadcrumb-item";return this.model.get("active")&&(t+=" active"),t}},{key:"attributes",get:function(){return this.model.get("active")?{"aria-current":"page"}:{}}},{key:"appLinks",get:function(){return this.model.get("active")?{}:{a:this.model.get("appLink")}}}]),n}(o.a.Component),b=function(t){p(n,t);var e=d(n);function n(){return s(this,n),e.apply(this,arguments)}return f(n,[{key:"name",get:function(){return"BreadcrumbComponentCollection"}},{key:"tagName",get:function(){return"ol"}},{key:"className",get:function(){return"breadcrumb m-0 p-0"}},{key:"childView",get:function(){return g}}]),n}(o.a.ComponentCollection),v=n(36),k=n(0);function w(t){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function O(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function S(t,e){return(S=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function R(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=C(t);if(e){var i=C(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return E(this,n)}}function E(t,e){return!e||"object"!==w(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function C(t){return(C=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}n.d(e,"a",(function(){return _}));var _=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&S(t,e)}(c,t);var e,n,i,a=R(c);function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.getBreadcrumbs()}},{key:"regions",value:function(){return{breadcrumbs:".breadcrumbs-region"}}},{key:"getBreadcrumbs",value:function(){this.breadcrumbCollection=new o.a.Collection;var t,e=this.options.folder;do{if(t=v.a.getParent(e.id,this.options.libraries),this.breadcrumbCollection.add(this.getBreadcrumb(e,!!t),{at:0}),!t)break;e=t}while(t);this.options.video&&this.breadcrumbCollection.add({name:this.options.video.get("name"),appLink:{application:k.b.LIBRARY_EDITOR,action:k.a.LibraryEditor.VIDEO_DETAILS,args:[this.options.video.id]}}),this.breadcrumbCollection.length&&this.breadcrumbCollection.last().set("active",!this.options.enableLastItemAppLink)}},{key:"getBreadcrumb",value:function(t,e){var n=e?k.a.LibraryEditor.FOLDER:k.a.LibraryEditor.LIBRARY;return{name:t.get("name"),appLink:{application:k.b.LIBRARY_EDITOR,action:n,args:[t.id]}}}},{key:"onRender",value:function(){var t=new b({collection:this.breadcrumbCollection});this.showChildView("breadcrumbs",t)}},{key:"name",get:function(){return"BreadcrumbsComponent"}},{key:"template",get:function(){return r.a}},{key:"className",get:function(){return"d-inline-block"}}])&&O(e.prototype,n),i&&O(e,i),c}(o.a.Component)},837:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<h1 class="text-white position-absolute m-0">\r\n '+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+'\r\n</h1>\r\n<div class="options-region"></div>'},useData:!0})},838:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a,c=t.lambda,l=t.escapeExpression,s=null!=e?e:t.nullContext||{},u=t.hooks.helperMissing;return'<div class="rounded p-2 text-dark position-relative ui-block '+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folderBlock:r,e))+'">\r\n <a class="text-dark text-truncate d-block pr-4 font-weight-bold '+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folder:r,e))+'" title="'+l("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:u)?a.call(s,{name:"name",hash:{},data:i}):a)+'">\r\n <span class="'+l(c(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.folderIcon:r,e))+' d-inline-block position-absolute">\r\n '+(null!=(r=c(null!=(r=null!=e?e.options:e)?r.svg:r,e))?r:"")+"\r\n </span>\r\n "+l("function"==typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:u)?a.call(s,{name:"name",hash:{},data:i}):a)+'\r\n </a>\r\n <span class="actions-region"></div>\r\n</div>\r\n'},useData:!0})},839:function(t,e,n){t.exports={folderIcon:"_3yOKC",folder:"_1mL-8",folderBlock:"_3Z20g",actions:"_1NQjU"}},840:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="subfolders-region"></div>'},useData:!0})},841:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"pl-2"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<div class="d-inline-flex justify-content-start">\r\n <div class="check-all-region d-inline-flex align-items-center"></div>\r\n <div class="bulk-actions-region"></div>\r\n <div class="breadcrumbs-region d-inline-flex align-items-center '+(null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.showBulkActions:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'"></div>\r\n</div>\r\n<div class="sorting-region"></div>\r\n'},useData:!0})},842:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;return'<button class="dropdown-toggle btn btn-light" type="button" id="bulkActions" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+t.escapeExpression((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"options",{name:"lang",hash:{},data:i}))+'\r\n</button>\r\n<div class="dropdown-menu-region"></div>'},useData:!0})},843:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;t.propertyIsEnumerable;return'<button class="dropdown-toggle form-control text-left cursor-pointer" type="button" id="sortSelectButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">\r\n '+t.escapeExpression("function"==typeof(r=null!=(r=n.name||(null!=e?e.name:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"name",hash:{},data:i}):r)+'\r\n</button>\r\n<div class="dropdown-menu-region"></div>'},useData:!0})},844:function(t,e,n){t.exports={sortSelect:"_3o-cY",sortSelectDropdown:"_3O1cI"}},845:function(t,e,n){var o=n(8);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){return'<div class="banner-region"></div>\r\n<div class="child-folders-region"></div>\r\n<div class="header-region"></div>\r\n<div class="video-list-region"></div>\r\n<div class="pagination-region"></div>'},useData:!0})}}]);