@clickview/library-editor 1.1.23-rc.0 → 1.1.23-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (426) 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 +20 -0
  11. package/dist/css/18.chunk.css.map +1 -0
  12. package/dist/css/2.chunk.css +145 -0
  13. package/dist/css/2.chunk.css.map +1 -0
  14. package/dist/css/21.chunk.css.map +1 -0
  15. package/dist/css/22.chunk.css.map +1 -0
  16. package/dist/css/23.chunk.css.map +1 -0
  17. package/dist/css/25.chunk.css.map +1 -0
  18. package/dist/css/26.chunk.css.map +1 -0
  19. package/dist/css/28.chunk.css.map +1 -0
  20. package/dist/css/29.chunk.css.map +1 -0
  21. package/dist/css/3.chunk.css.map +1 -0
  22. package/dist/css/30.chunk.css.map +1 -0
  23. package/dist/css/31.chunk.css.map +1 -0
  24. package/dist/css/32.chunk.css.map +1 -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 +14 -0
  31. package/dist/css/36.chunk.css.map +1 -0
  32. package/dist/css/37.chunk.css.map +1 -0
  33. package/dist/css/38.chunk.css.map +1 -0
  34. package/dist/css/40.chunk.css.map +1 -0
  35. package/dist/css/41.chunk.css.map +1 -0
  36. package/dist/css/42.chunk.css.map +1 -0
  37. package/dist/css/43.chunk.css.map +1 -0
  38. package/dist/css/44.chunk.css.map +1 -0
  39. package/dist/css/45.chunk.css.map +1 -0
  40. package/dist/css/46.chunk.css.map +1 -0
  41. package/dist/css/47.chunk.css.map +1 -0
  42. package/dist/css/48.chunk.css.map +1 -0
  43. package/dist/css/49.chunk.css +35 -0
  44. package/dist/css/49.chunk.css.map +1 -0
  45. package/dist/css/50.chunk.css.map +1 -0
  46. package/dist/css/51.chunk.css.map +1 -0
  47. package/dist/css/52.chunk.css +66 -0
  48. package/dist/css/52.chunk.css.map +1 -0
  49. package/dist/css/55.chunk.css.map +1 -0
  50. package/dist/css/56.chunk.css.map +1 -0
  51. package/dist/css/58.chunk.css.map +1 -0
  52. package/dist/css/59.chunk.css.map +1 -0
  53. package/dist/css/6.chunk.css.map +1 -0
  54. package/dist/css/60.chunk.css +18 -0
  55. package/dist/css/60.chunk.css.map +1 -0
  56. package/dist/css/62.chunk.css.map +1 -0
  57. package/dist/css/63.chunk.css +170 -0
  58. package/dist/css/63.chunk.css.map +1 -0
  59. package/dist/css/67.chunk.css +78 -0
  60. package/dist/css/67.chunk.css.map +1 -0
  61. package/dist/css/68.chunk.css +17 -0
  62. package/dist/css/68.chunk.css.map +1 -0
  63. package/dist/css/69.chunk.css +17 -0
  64. package/dist/css/69.chunk.css.map +1 -0
  65. package/dist/css/7.chunk.css.map +1 -0
  66. package/dist/css/70.chunk.css +23 -0
  67. package/dist/css/70.chunk.css.map +1 -0
  68. package/dist/css/71.chunk.css +40 -0
  69. package/dist/css/71.chunk.css.map +1 -0
  70. package/dist/css/72.chunk.css +16 -0
  71. package/dist/css/72.chunk.css.map +1 -0
  72. package/dist/css/73.chunk.css +37 -0
  73. package/dist/css/73.chunk.css.map +1 -0
  74. package/dist/css/74.chunk.css +29 -0
  75. package/dist/css/74.chunk.css.map +1 -0
  76. package/dist/css/75.chunk.css +6 -0
  77. package/dist/css/75.chunk.css.map +1 -0
  78. package/dist/css/76.chunk.css +6 -0
  79. package/dist/css/76.chunk.css.map +1 -0
  80. package/dist/css/8.chunk.css.map +1 -0
  81. package/dist/css/library-editor-app.css.map +1 -0
  82. package/dist/libs/common/src/backbone/services/data-providers/SignalRDataProvider.d.ts +3 -3
  83. package/dist/libs/common/src/backbone/utils/UrlHelper.d.ts +0 -1
  84. package/dist/libs/shared/src/apps/notifications/utils/NotificationsHelper.d.ts +1 -1
  85. package/dist/projects/library-editor/src/apps/notifications/utils/NotificationsHelper.d.ts +1 -1
  86. package/dist/scripts/{0-f82360fd03.chunk.js → 0-09e1e33a5c.chunk.js} +1 -1
  87. package/dist/scripts/0-f604eee110.chunk.js +1 -0
  88. package/dist/scripts/0.chunk.js +1034 -0
  89. package/dist/scripts/0.chunk.js.map +1 -0
  90. package/dist/scripts/1-056bd8c79b.chunk.js +1 -0
  91. package/dist/scripts/{1-b6dedae131.chunk.js → 1-a66bb44471.chunk.js} +1 -1
  92. package/dist/scripts/1.chunk.js +442 -0
  93. package/dist/scripts/1.chunk.js.map +1 -0
  94. package/dist/scripts/10-028c6001e1.chunk.js +1 -0
  95. package/dist/scripts/{10-8307f8e248.chunk.js → 10-6c79d8c6f9.chunk.js} +1 -1
  96. package/dist/scripts/10.chunk.js +820 -0
  97. package/dist/scripts/10.chunk.js.map +1 -0
  98. package/dist/scripts/{11-9dbae07504.chunk.js → 11-6eef9e160e.chunk.js} +1 -1
  99. package/dist/scripts/11-cecf8d22f0.chunk.js +11 -0
  100. package/dist/scripts/11.chunk.js +4091 -0
  101. package/dist/scripts/11.chunk.js.map +1 -0
  102. package/dist/scripts/12-d3f51f4e06.chunk.js +1 -0
  103. package/dist/scripts/{12-43e54b0a2d.chunk.js → 12-dbffa50a92.chunk.js} +1 -1
  104. package/dist/scripts/12.chunk.js +555 -0
  105. package/dist/scripts/12.chunk.js.map +1 -0
  106. package/dist/scripts/{13-3d84e237b9.chunk.js → 13-37e5cfab3e.chunk.js} +1 -1
  107. package/dist/scripts/13-4029d31569.chunk.js +1 -0
  108. package/dist/scripts/13.chunk.js +373 -0
  109. package/dist/scripts/13.chunk.js.map +1 -0
  110. package/dist/scripts/14-4c94f97e4e.chunk.js +1 -0
  111. package/dist/scripts/{14-988bab314d.chunk.js → 14-b524fbd295.chunk.js} +1 -1
  112. package/dist/scripts/14.chunk.js +2386 -0
  113. package/dist/scripts/14.chunk.js.map +1 -0
  114. package/dist/scripts/{15-bedb9ff6d0.chunk.js → 15-1ff1252d1a.chunk.js} +1 -1
  115. package/dist/scripts/15-ec9aa4878b.chunk.js +1 -0
  116. package/dist/scripts/15.chunk.js +314 -0
  117. package/dist/scripts/15.chunk.js.map +1 -0
  118. package/dist/scripts/16-5bc8299e14.chunk.js +1 -0
  119. package/dist/scripts/{16-3a99050a93.chunk.js → 16-b27142fe98.chunk.js} +1 -1
  120. package/dist/scripts/16.chunk.js +1290 -0
  121. package/dist/scripts/16.chunk.js.map +1 -0
  122. package/dist/scripts/17-9fe035f9e2.chunk.js +1 -0
  123. package/dist/scripts/{17-66da06be62.chunk.js → 17-c3bbe50816.chunk.js} +1 -1
  124. package/dist/scripts/17.chunk.js +381 -0
  125. package/dist/scripts/17.chunk.js.map +1 -0
  126. package/dist/scripts/18.chunk.js +393 -0
  127. package/dist/scripts/18.chunk.js.map +1 -0
  128. package/dist/scripts/19.chunk.js +364 -0
  129. package/dist/scripts/19.chunk.js.map +1 -0
  130. package/dist/scripts/{2-5079f4b088.chunk.js → 2-2cc3988222.chunk.js} +1 -1
  131. package/dist/scripts/2-e6d104415e.chunk.js +1 -0
  132. package/dist/scripts/2.chunk.js +523 -0
  133. package/dist/scripts/2.chunk.js.map +1 -0
  134. package/dist/scripts/20-60e4eee833.chunk.js +1 -0
  135. package/dist/scripts/{20-d4470b4a53.chunk.js → 20-6d9086f5db.chunk.js} +1 -1
  136. package/dist/scripts/20.chunk.js +317 -0
  137. package/dist/scripts/20.chunk.js.map +1 -0
  138. package/dist/scripts/{21-77f6ddec3d.chunk.js → 21-2f10553302.chunk.js} +1 -1
  139. package/dist/scripts/21-a7fffe8852.chunk.js +1 -0
  140. package/dist/scripts/21.chunk.js +531 -0
  141. package/dist/scripts/21.chunk.js.map +1 -0
  142. package/dist/scripts/{22-9ef39722d1.chunk.js → 22-59ae44b448.chunk.js} +1 -1
  143. package/dist/scripts/22-f670791432.chunk.js +1 -0
  144. package/dist/scripts/22.chunk.js +354 -0
  145. package/dist/scripts/22.chunk.js.map +1 -0
  146. package/dist/scripts/{23-e8a0f60c53.chunk.js → 23-11e008ee63.chunk.js} +1 -1
  147. package/dist/scripts/23-4d26d6300a.chunk.js +1 -0
  148. package/dist/scripts/23.chunk.js +604 -0
  149. package/dist/scripts/23.chunk.js.map +1 -0
  150. package/dist/scripts/{24-f62e7ff166.chunk.js → 24-7f21e384d2.chunk.js} +1 -1
  151. package/dist/scripts/24-813ef82099.chunk.js +1 -0
  152. package/dist/scripts/24.chunk.js +318 -0
  153. package/dist/scripts/24.chunk.js.map +1 -0
  154. package/dist/scripts/25-023d08a591.chunk.js +1 -0
  155. package/dist/scripts/{25-f814e3921c.chunk.js → 25-f0f7fa16a4.chunk.js} +1 -1
  156. package/dist/scripts/25.chunk.js +365 -0
  157. package/dist/scripts/25.chunk.js.map +1 -0
  158. package/dist/scripts/26-a9fcf0d596.chunk.js +1 -0
  159. package/dist/scripts/{26-39f6c3ca17.chunk.js → 26-e65533bd94.chunk.js} +1 -1
  160. package/dist/scripts/26.chunk.js +442 -0
  161. package/dist/scripts/26.chunk.js.map +1 -0
  162. package/dist/scripts/27-84f7bbade6.chunk.js +1 -0
  163. package/dist/scripts/{27-1313c7d392.chunk.js → 27-9dc0f5a4df.chunk.js} +1 -1
  164. package/dist/scripts/27.chunk.js +3630 -0
  165. package/dist/scripts/27.chunk.js.map +1 -0
  166. package/dist/scripts/{28-b583483a6e.chunk.js → 28-26e5c371c7.chunk.js} +1 -1
  167. package/dist/scripts/28-cdf603f4cf.chunk.js +1 -0
  168. package/dist/scripts/28.chunk.js +3173 -0
  169. package/dist/scripts/28.chunk.js.map +1 -0
  170. package/dist/scripts/{29-44119e600a.chunk.js → 29-61415c2af0.chunk.js} +1 -1
  171. package/dist/scripts/29-8278d23f9b.chunk.js +1 -0
  172. package/dist/scripts/29.chunk.js +3088 -0
  173. package/dist/scripts/29.chunk.js.map +1 -0
  174. package/dist/scripts/3-1fa81c9d9b.chunk.js +1 -0
  175. package/dist/scripts/{3-079c0b4d3b.chunk.js → 3-5eff8c9df5.chunk.js} +1 -1
  176. package/dist/scripts/3.chunk.js +833 -0
  177. package/dist/scripts/3.chunk.js.map +1 -0
  178. package/dist/scripts/{30-a6a7291b5e.chunk.js → 30-6075c28972.chunk.js} +1 -1
  179. package/dist/scripts/30-7ab880728c.chunk.js +1 -0
  180. package/dist/scripts/30.chunk.js +1852 -0
  181. package/dist/scripts/30.chunk.js.map +1 -0
  182. package/dist/scripts/31-aa4cd0f45e.chunk.js +1 -0
  183. package/dist/scripts/31-e35ae4e153.chunk.js +1 -0
  184. package/dist/scripts/31.chunk.js +958 -0
  185. package/dist/scripts/31.chunk.js.map +1 -0
  186. package/dist/scripts/32-7717941f1d.chunk.js +1 -0
  187. package/dist/scripts/{32-0b05da2f4c.chunk.js → 32-d5a50a7592.chunk.js} +1 -1
  188. package/dist/scripts/32.chunk.js +1235 -0
  189. package/dist/scripts/32.chunk.js.map +1 -0
  190. package/dist/scripts/{33-061a87935f.chunk.js → 33-5ae90ed7d7.chunk.js} +1 -1
  191. package/dist/scripts/33-6da33143ea.chunk.js +1 -0
  192. package/dist/scripts/33.chunk.js +792 -0
  193. package/dist/scripts/33.chunk.js.map +1 -0
  194. package/dist/scripts/34-27e40f4d4b.chunk.js +1 -0
  195. package/dist/scripts/{34-4f2c861480.chunk.js → 34-50402c1835.chunk.js} +1 -1
  196. package/dist/scripts/34.chunk.js +990 -0
  197. package/dist/scripts/34.chunk.js.map +1 -0
  198. package/dist/scripts/35-3260300446.chunk.js +1 -0
  199. package/dist/scripts/{35-08ead0d078.chunk.js → 35-ec8c190357.chunk.js} +1 -1
  200. package/dist/scripts/35.chunk.js +518 -0
  201. package/dist/scripts/35.chunk.js.map +1 -0
  202. package/dist/scripts/{36-4db22bf8bb.chunk.js → 36-4d467bc42e.chunk.js} +1 -1
  203. package/dist/scripts/36-bec0c74d05.chunk.js +1 -0
  204. package/dist/scripts/36.chunk.js +335 -0
  205. package/dist/scripts/36.chunk.js.map +1 -0
  206. package/dist/scripts/{37-fbd149e569.chunk.js → 37-37e8965783.chunk.js} +1 -1
  207. package/dist/scripts/37-3916177181.chunk.js +1 -0
  208. package/dist/scripts/37.chunk.js +236 -0
  209. package/dist/scripts/37.chunk.js.map +1 -0
  210. package/dist/scripts/{38-57af633fa1.chunk.js → 38-3dc24b8867.chunk.js} +1 -1
  211. package/dist/scripts/38-89f7c22ea8.chunk.js +1 -0
  212. package/dist/scripts/38.chunk.js +315 -0
  213. package/dist/scripts/38.chunk.js.map +1 -0
  214. package/dist/scripts/{39-5451786b7d.chunk.js → 39-350ff66a2b.chunk.js} +1 -1
  215. package/dist/scripts/39-9456631219.chunk.js +1 -0
  216. package/dist/scripts/39.chunk.js +116 -0
  217. package/dist/scripts/39.chunk.js.map +1 -0
  218. package/dist/scripts/4-a7f6d378e0.chunk.js +1 -0
  219. package/dist/scripts/{4-84fa8e49e2.chunk.js → 4-b3f3c7c71c.chunk.js} +1 -1
  220. package/dist/scripts/4.chunk.js +335 -0
  221. package/dist/scripts/4.chunk.js.map +1 -0
  222. package/dist/scripts/{40-78639874b5.chunk.js → 40-3443f99cb2.chunk.js} +1 -1
  223. package/dist/scripts/40-f65196723f.chunk.js +1 -0
  224. package/dist/scripts/40.chunk.js +2493 -0
  225. package/dist/scripts/40.chunk.js.map +1 -0
  226. package/dist/scripts/41-70b16d99d0.chunk.js +1 -0
  227. package/dist/scripts/{41-2c6722e410.chunk.js → 41-b5dfd35e9e.chunk.js} +1 -1
  228. package/dist/scripts/41.chunk.js +1782 -0
  229. package/dist/scripts/41.chunk.js.map +1 -0
  230. package/dist/scripts/{42-9b7795d20a.chunk.js → 42-103fecb7b6.chunk.js} +1 -1
  231. package/dist/scripts/42-e17f214d6c.chunk.js +1 -0
  232. package/dist/scripts/42.chunk.js +2116 -0
  233. package/dist/scripts/42.chunk.js.map +1 -0
  234. package/dist/scripts/{43-591954817b.chunk.js → 43-57b07579f7.chunk.js} +1 -1
  235. package/dist/scripts/43-6826fbc7d4.chunk.js +1 -0
  236. package/dist/scripts/43.chunk.js +2243 -0
  237. package/dist/scripts/43.chunk.js.map +1 -0
  238. package/dist/scripts/{44-b4c134efe8.chunk.js → 44-210d64dffe.chunk.js} +1 -1
  239. package/dist/scripts/44-593e820fa2.chunk.js +1 -0
  240. package/dist/scripts/44.chunk.js +1024 -0
  241. package/dist/scripts/44.chunk.js.map +1 -0
  242. package/dist/scripts/{45-32ce8dd910.chunk.js → 45-632b07e926.chunk.js} +1 -1
  243. package/dist/scripts/45-8231a03833.chunk.js +1 -0
  244. package/dist/scripts/45.chunk.js +1065 -0
  245. package/dist/scripts/45.chunk.js.map +1 -0
  246. package/dist/scripts/46-682ca88fd9.chunk.js +1 -0
  247. package/dist/scripts/{46-e096df45ef.chunk.js → 46-82cce63cbf.chunk.js} +1 -1
  248. package/dist/scripts/46.chunk.js +656 -0
  249. package/dist/scripts/46.chunk.js.map +1 -0
  250. package/dist/scripts/{47-9e514e7536.chunk.js → 47-595b4aae87.chunk.js} +1 -1
  251. package/dist/scripts/47-aec7cf95e8.chunk.js +1 -0
  252. package/dist/scripts/47.chunk.js +735 -0
  253. package/dist/scripts/47.chunk.js.map +1 -0
  254. package/dist/scripts/48-7b09165697.chunk.js +1 -0
  255. package/dist/scripts/{48-9af8b50e4f.chunk.js → 48-fcf6378889.chunk.js} +1 -1
  256. package/dist/scripts/48.chunk.js +994 -0
  257. package/dist/scripts/48.chunk.js.map +1 -0
  258. package/dist/scripts/49-0e6ceb191f.chunk.js +1 -0
  259. package/dist/scripts/{49-79b28e90c9.chunk.js → 49-d8a4899eb1.chunk.js} +1 -1
  260. package/dist/scripts/49.chunk.js +759 -0
  261. package/dist/scripts/49.chunk.js.map +1 -0
  262. package/dist/scripts/{5-093c9ee130.chunk.js → 5-06bc197b1e.chunk.js} +1 -1
  263. package/dist/scripts/5-e2e64bc05f.chunk.js +1 -0
  264. package/dist/scripts/5.chunk.js +15 -0
  265. package/dist/scripts/5.chunk.js.map +1 -0
  266. package/dist/scripts/{50-198f89794c.chunk.js → 50-11b1a49916.chunk.js} +1 -1
  267. package/dist/scripts/50-fa6f6fd1dc.chunk.js +1 -0
  268. package/dist/scripts/50.chunk.js +528 -0
  269. package/dist/scripts/50.chunk.js.map +1 -0
  270. package/dist/scripts/51-1c9fca4604.chunk.js +1 -0
  271. package/dist/scripts/{51-177fe97a9b.chunk.js → 51-72a75e0265.chunk.js} +1 -1
  272. package/dist/scripts/51.chunk.js +932 -0
  273. package/dist/scripts/51.chunk.js.map +1 -0
  274. package/dist/scripts/{52-d8cf26c75f.chunk.js → 52-195f73bcd6.chunk.js} +1 -1
  275. package/dist/scripts/52-ebce0c9f12.chunk.js +1 -0
  276. package/dist/scripts/52.chunk.js +408 -0
  277. package/dist/scripts/52.chunk.js.map +1 -0
  278. package/dist/scripts/{53-595b1efa1a.chunk.js → 53-bb4f37ee25.chunk.js} +1 -1
  279. package/dist/scripts/53-c6807d4e0b.chunk.js +1 -0
  280. package/dist/scripts/53.chunk.js +754 -0
  281. package/dist/scripts/53.chunk.js.map +1 -0
  282. package/dist/scripts/{54-646c8458e0.chunk.js → 54-7a201d8285.chunk.js} +1 -1
  283. package/dist/scripts/54-e6195aa62a.chunk.js +1 -0
  284. package/dist/scripts/54.chunk.js +681 -0
  285. package/dist/scripts/54.chunk.js.map +1 -0
  286. package/dist/scripts/{55-5e3b70736e.chunk.js → 55-be3d7b8805.chunk.js} +1 -1
  287. package/dist/scripts/55-f9f9a251af.chunk.js +1 -0
  288. package/dist/scripts/55.chunk.js +645 -0
  289. package/dist/scripts/55.chunk.js.map +1 -0
  290. package/dist/scripts/56-20f27f96db.chunk.js +1 -0
  291. package/dist/scripts/{56-9a02efb9a1.chunk.js → 56-6aeece1bf1.chunk.js} +1 -1
  292. package/dist/scripts/56.chunk.js +346 -0
  293. package/dist/scripts/56.chunk.js.map +1 -0
  294. package/dist/scripts/{57-6f84e1bb9d.chunk.js → 57-59ee15161b.chunk.js} +1 -1
  295. package/dist/scripts/57-b25862dbf0.chunk.js +1 -0
  296. package/dist/scripts/57.chunk.js +422 -0
  297. package/dist/scripts/57.chunk.js.map +1 -0
  298. package/dist/scripts/{58-1c37240b43.chunk.js → 58-8ff58b194a.chunk.js} +1 -1
  299. package/dist/scripts/58-edf06f18f9.chunk.js +1 -0
  300. package/dist/scripts/58.chunk.js +437 -0
  301. package/dist/scripts/58.chunk.js.map +1 -0
  302. package/dist/scripts/59-241a666e49.chunk.js +1 -0
  303. package/dist/scripts/{59-05cbb57b32.chunk.js → 59-3d33954fcb.chunk.js} +1 -1
  304. package/dist/scripts/59.chunk.js +342 -0
  305. package/dist/scripts/59.chunk.js.map +1 -0
  306. package/dist/scripts/{6-a5f6258253.chunk.js → 6-a469872b10.chunk.js} +1 -1
  307. package/dist/scripts/6-c631df7bda.chunk.js +1 -0
  308. package/dist/scripts/6.chunk.js +484 -0
  309. package/dist/scripts/6.chunk.js.map +1 -0
  310. package/dist/scripts/60-ac631fa385.chunk.js +1 -0
  311. package/dist/scripts/{60-dd50d4179f.chunk.js → 60-f092baa91c.chunk.js} +1 -1
  312. package/dist/scripts/60.chunk.js +254 -0
  313. package/dist/scripts/60.chunk.js.map +1 -0
  314. package/dist/scripts/61-360e50b6cb.chunk.js +1 -0
  315. package/dist/scripts/{61-62ec9b3628.chunk.js → 61-bd9ef62ccd.chunk.js} +1 -1
  316. package/dist/scripts/61.chunk.js +409 -0
  317. package/dist/scripts/61.chunk.js.map +1 -0
  318. package/dist/scripts/62-22ee1d2a94.chunk.js +1 -0
  319. package/dist/scripts/{62-bfd5450b13.chunk.js → 62-f15b3bf74c.chunk.js} +1 -1
  320. package/dist/scripts/62.chunk.js +142 -0
  321. package/dist/scripts/62.chunk.js.map +1 -0
  322. package/dist/scripts/63-25413d744e.chunk.js +1 -0
  323. package/dist/scripts/{63-8521e39a2e.chunk.js → 63-92757f75e7.chunk.js} +1 -1
  324. package/dist/scripts/63.chunk.js +147 -0
  325. package/dist/scripts/63.chunk.js.map +1 -0
  326. package/dist/scripts/64-1b027092be.chunk.js +1 -0
  327. package/dist/scripts/{64-12150ef48b.chunk.js → 64-c5a1c55521.chunk.js} +1 -1
  328. package/dist/scripts/64.chunk.js +439 -0
  329. package/dist/scripts/64.chunk.js.map +1 -0
  330. package/dist/scripts/{65-a4fdf8777b.chunk.js → 65-6bb10ae23b.chunk.js} +1 -1
  331. package/dist/scripts/65-c8a9aae545.chunk.js +1 -0
  332. package/dist/scripts/65.chunk.js +582 -0
  333. package/dist/scripts/65.chunk.js.map +1 -0
  334. package/dist/scripts/66-20aec598ca.chunk.js +1 -0
  335. package/dist/scripts/{66-029947cf5c.chunk.js → 66-f047027f7d.chunk.js} +1 -1
  336. package/dist/scripts/66.chunk.js +442 -0
  337. package/dist/scripts/66.chunk.js.map +1 -0
  338. package/dist/scripts/{67-564ff2bd16.chunk.js → 67-2e1a011200.chunk.js} +1 -1
  339. package/dist/scripts/67-d8d1cb35a4.chunk.js +1 -0
  340. package/dist/scripts/67.chunk.js +295 -0
  341. package/dist/scripts/67.chunk.js.map +1 -0
  342. package/dist/scripts/68-869ea333d9.chunk.js +1 -0
  343. package/dist/scripts/{68-5656cc45fe.chunk.js → 68-d5c0ab3fc1.chunk.js} +1 -1
  344. package/dist/scripts/68.chunk.js +165 -0
  345. package/dist/scripts/68.chunk.js.map +1 -0
  346. package/dist/scripts/69-c4ff3e5568.chunk.js +1 -0
  347. package/dist/scripts/{69-4d32ddddbc.chunk.js → 69-fc8325afc9.chunk.js} +1 -1
  348. package/dist/scripts/69.chunk.js +248 -0
  349. package/dist/scripts/69.chunk.js.map +1 -0
  350. package/dist/scripts/7-1d94e0bb0c.chunk.js +1 -0
  351. package/dist/scripts/{7-b39ab430b9.chunk.js → 7-58dd909fa3.chunk.js} +1 -1
  352. package/dist/scripts/7.chunk.js +309 -0
  353. package/dist/scripts/7.chunk.js.map +1 -0
  354. package/dist/scripts/70-171dcf9fe1.chunk.js +1 -0
  355. package/dist/scripts/{70-2a427b3dd0.chunk.js → 70-ceda95013e.chunk.js} +1 -1
  356. package/dist/scripts/70.chunk.js +207 -0
  357. package/dist/scripts/70.chunk.js.map +1 -0
  358. package/dist/scripts/71-33e7082ca2.chunk.js +1 -0
  359. package/dist/scripts/{71-c43ee23686.chunk.js → 71-6e8fc95beb.chunk.js} +1 -1
  360. package/dist/scripts/71.chunk.js +237 -0
  361. package/dist/scripts/71.chunk.js.map +1 -0
  362. package/dist/scripts/72-2eef8b13b0.chunk.js +1 -0
  363. package/dist/scripts/{72-6eb3ef092e.chunk.js → 72-53fe3338bf.chunk.js} +1 -1
  364. package/dist/scripts/72.chunk.js +331 -0
  365. package/dist/scripts/72.chunk.js.map +1 -0
  366. package/dist/scripts/73.chunk.js +404 -0
  367. package/dist/scripts/73.chunk.js.map +1 -0
  368. package/dist/scripts/74.chunk.js +301 -0
  369. package/dist/scripts/74.chunk.js.map +1 -0
  370. package/dist/scripts/75.chunk.js +231 -0
  371. package/dist/scripts/75.chunk.js.map +1 -0
  372. package/dist/scripts/76.chunk.js +157 -0
  373. package/dist/scripts/76.chunk.js.map +1 -0
  374. package/dist/scripts/77.chunk.js +307 -0
  375. package/dist/scripts/77.chunk.js.map +1 -0
  376. package/dist/scripts/78.chunk.js +249 -0
  377. package/dist/scripts/78.chunk.js.map +1 -0
  378. package/dist/scripts/79.chunk.js +282 -0
  379. package/dist/scripts/79.chunk.js.map +1 -0
  380. package/dist/scripts/8-34ae87490f.chunk.js +1 -0
  381. package/dist/scripts/{8-f4f18356f7.chunk.js → 8-6974afed28.chunk.js} +1 -1
  382. package/dist/scripts/8.chunk.js +307 -0
  383. package/dist/scripts/8.chunk.js.map +1 -0
  384. package/dist/scripts/80.chunk.js +308 -0
  385. package/dist/scripts/80.chunk.js.map +1 -0
  386. package/dist/scripts/81.chunk.js +366 -0
  387. package/dist/scripts/81.chunk.js.map +1 -0
  388. package/dist/scripts/82.chunk.js +314 -0
  389. package/dist/scripts/82.chunk.js.map +1 -0
  390. package/dist/scripts/83.chunk.js +328 -0
  391. package/dist/scripts/83.chunk.js.map +1 -0
  392. package/dist/scripts/84.chunk.js +313 -0
  393. package/dist/scripts/84.chunk.js.map +1 -0
  394. package/dist/scripts/85.chunk.js +291 -0
  395. package/dist/scripts/85.chunk.js.map +1 -0
  396. package/dist/scripts/86.chunk.js +119 -0
  397. package/dist/scripts/86.chunk.js.map +1 -0
  398. package/dist/scripts/87.chunk.js +219 -0
  399. package/dist/scripts/87.chunk.js.map +1 -0
  400. package/dist/scripts/88.chunk.js +194 -0
  401. package/dist/scripts/88.chunk.js.map +1 -0
  402. package/dist/scripts/89.chunk.js +522 -0
  403. package/dist/scripts/89.chunk.js.map +1 -0
  404. package/dist/scripts/9-0d7004dd33.chunk.js +1 -0
  405. package/dist/scripts/{9-cd0bcefa7f.chunk.js → 9-9279038caa.chunk.js} +1 -1
  406. package/dist/scripts/9.chunk.js +222 -0
  407. package/dist/scripts/9.chunk.js.map +1 -0
  408. package/dist/scripts/90.chunk.js +337 -0
  409. package/dist/scripts/90.chunk.js.map +1 -0
  410. package/dist/scripts/91.chunk.js +131 -0
  411. package/dist/scripts/91.chunk.js.map +1 -0
  412. package/dist/scripts/92.chunk.js +266 -0
  413. package/dist/scripts/92.chunk.js.map +1 -0
  414. package/dist/scripts/bundle-06dc1f4908.min.js +8 -0
  415. package/dist/scripts/bundle-f4a423ce34.min.js +1 -0
  416. package/dist/scripts/bundle.js +66631 -0
  417. package/dist/scripts/bundle.js.map +1 -0
  418. package/dist/scripts/bundles.json +2 -2
  419. package/dist/scripts/polyfills-21eaf1215c.min.js +1 -0
  420. package/dist/scripts/polyfills-efb4d7caa3.min.js +1 -0
  421. package/dist/scripts/polyfills.js +14866 -0
  422. package/dist/scripts/polyfills.js.map +1 -0
  423. package/package.json +4 -4
  424. package/dist/scripts/31-70fe14b490.chunk.js +0 -1
  425. package/dist/scripts/bundle-f73bcaa857.min.js +0 -8
  426. package/dist/scripts/polyfills-9517d7e647.min.js +0 -1
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[7],{1023:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),o=n(244);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=s(c);function c(){return l(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),c}(r.a.Model)},1031:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),o=n(49),i=n(159),l=n(3),a="libraryEditor.utils",u={name:[{required:!0,msg:function(){return l.a.getPhrase(a,"folderNameRequired")}},{maxLength:255,msg:function(){return l.a.getPhrase(a,"folderNameExceeds")}}]},s=function(e,t){return{parentId:function(n){return n?o.a.calculateDestinationFolderDepth(e,n,t)>i.a.MAX_FOLDER_DEPTH?l.a.getPhrase(a,"maxFolderDepth",{maxDepth:i.a.MAX_FOLDER_DEPTH}):"":l.a.getPhrase(a,"selectParentFolder")}}},c=function(e){var t=e.validateName,n=e.validateParent,o=e.folder,i=e.collection;return t&&n?r.extend({},u,s(o,i)):t?u:n?s(o,i):void 0}},1040:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(7),o=n(2),i=n(3),l=n(1054),a=n(13),u=n(1041),s=n.n(u),c=n(1042),f=n.n(c);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,o,u=y(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,!0))}),{})}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),r.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var r=a.f.getSelected(this.options.folderTreeKey,this.collection),o=r?r.get("name"):i.a.getPhrase(this.lang,"button");this.getUI("button").text(o)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.a({styles:f.a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:f.a.list,extraClasses:f.a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:f.a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return s.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}}])&&p(t.prototype,n),o&&p(t,o),c}(o.a.Component)},1041:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn font-weight-bold rounded-0 w-100 text-left '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<button\r\n class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' custom-select form-control"\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n name='+a(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+"\r\n>"+a(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\r\n <div class="selector-region"></div>\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="form-feedback"></div>'},useData:!0})},1042:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},1098:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(2),o=n(281),i=n(13),l=n(1040),a=n(1031),u=n(1099),s=n.n(u);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(c,e);var t,n,r,u=p(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,"folder:selected",this.onFolderSelected)}},{key:"regions",value:function(){return{parentFolder:".parent-folder-region"}}},{key:"onFolderSelected",value:function(e,t){e&&(i.f.setSelected(this.folderTreeKey,e,this.collection,t),t||this.model.set("parentId",e.get("id"),{validate:!0}))}},{key:"renderSubFolders",value:function(){this.options.editParent&&this.showChildView("parentFolder",new l.a({collection:this.collection,channelName:this.options.channelName,folderTreeKey:this.folderTreeKey,disabledIds:this.options.disabledParentFolderIds}))}},{key:"viewOptions",value:function(){return{editName:this.options.editName,editParent:this.options.editParent}}},{key:"onRender",value:function(){this.renderSubFolders()}},{key:"name",get:function(){return"FolderDetailsComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"libraryEditor.folderDetails"}},{key:"folderTreeKey",get:function(){return this.options.folderTreeKey||"folderselect:".concat(this.cid)}},{key:"behaviors",get:function(){return[{behaviorClass:o.a,modelValidation:Object(a.a)({validateName:this.options.editName,validateParent:this.options.editParent,folder:this.options.model,collection:this.options.collection})},{behaviorClass:o.g}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}}])&&f(t.prototype,n),r&&f(t,r),c}(r.a.Component)},1099:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,a=e.escapeExpression;return' <div class="form-group">\r\n <label for="name" class="control-label">'+a((n.lang||t&&t.lang||l).call(i,"name",{name:"lang",hash:{},data:o}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+a((n.lang||t&&t.lang||l).call(i,"namePlaceholder",{name:"lang",hash:{},data:o}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n'},3:function(e,t,n,r,o){e.propertyIsEnumerable;return' <div class="form-group pt-2">\r\n <label for="parentId" class="control-label">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"parent",{name:"lang",hash:{},data:o}))+'</label>\r\n <div class="parent-folder-region"></div>\r\n </div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return"<form>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editName:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editParent:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"</form>"},useData:!0})},1221:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){return'<div class="folder-details-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1409:function(e,t,n){"use strict";n.r(t),n.d(t,"NewFolderView",(function(){return E}));var r=n(7),o=n(19),i=n(2),l=n(5),a=n(30),u=n(42),s=n(281),c=n(0),f=n(78),d=n(1023),p=n(82),h=n(13),y=n(244),b=n(3),m=n(1098),v=n(1221),g=n.n(v),w=n(191);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(_,e);var t,n,v,k=P(_);function _(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_),k.call(this,e)}return t=_,(n=[{key:"initialize",value:function(e){var t=e.parentId,n=e.libraryId;(t?!n:n)||i.a.ErrorHelper.throw(new o.a("Must provide either a libraryId or a parentId to ".concat(this.name))),this.bindListeners(),this.libraryDataService=l.a.getInstance(c.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(c.e.LIBRARY,"libraries:sync",this.render)}},{key:"regions",value:function(){return{folderDetails:".folder-details-region"}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(y.b.ShowSpinner),this.trimFolderName(),this.addFolder(),this.logAction())}},{key:"addFolder",value:function(){var e=this,t=this.viewModel.get("parentId").toString()===this.library.get("id").toString()?null:this.viewModel.get("parentId").toString();this.libraryDataService.addFolder(this.viewModel,this.library.get("id").toString(),t,(function(t){a.a.clear(e.getViewModelKey()),e.options.routeToFolderOnCreate?i.a.AppLinkHelper.trigger({application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.FOLDER,args:[t.get("id")]}):e.triggerMethod("hide")}))}},{key:"trimFolderName",value:function(){var e=this.viewModel.get("name");this.viewModel.set("name",e.trim())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.viewModel.get("name"),isSubfolder:this.viewModel.get("parentId").toString()!==this.library.get("id").toString()};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"setUpViewModel",value:function(){if(!this.viewModel){var e=this.getViewModelKey();this.viewModel=a.a.get(e,null,{ctor:p.a}),this.viewModel.set({parentId:this.options.parentId||this.options.libraryId})}}},{key:"getViewModelKey",value:function(){return"folder:new:".concat(this.options.libraryId,":").concat(this.options.parentId)}},{key:"renderFolderDetails",value:function(){if(this.collection){var e=new m.a({model:this.viewModel,collection:this.collection,library:this.library,channelName:this.channelName,editName:!0,editParent:!0,folderTreeKey:this.folderTreeKey});this.showChildView("folderDetails",e)}}},{key:"onBeforeRender",value:function(){var e=this;if(this.libraryDataService.getLibraries((function(t){if(!e.collection){var n=e.options.libraryId||e.options.parentId;e.library=h.f.getLibrary(n,t),e.setUpViewModel(),e.collection=new f.a([e.library]),h.f.setSelected(e.folderTreeKey,e.viewModel.get("parentId"),e.collection)}})),this.collection&&this.spinnerModel.set(y.c.Disabled,!1),h.f.getFolderDepth(this.options.parentId,this.collection)>=c.s.MAX_FOLDER_DEPTH)return window.setTimeout((function(){e.triggerMethod("hide"),i.a.ErrorHelper.throw(new w.b)}),c.s.POPUP_FADE_TIMEOUT),!1}},{key:"viewOptions",value:function(){return{dataFetched:!!this.collection,spinnerEl:h.q.getSpinner({size:h.r.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){this.renderFolderDetails()}},{key:"name",get:function(){return"NewFolderView"}},{key:"lang",get:function(){return"libraryEditor.newFolder"}},{key:"title",get:function(){return b.a.getPhrase(this.lang,"title")}},{key:"folderTreeKey",get:function(){return"folderselect:".concat(this.cid)}},{key:"template",get:function(){return g.a}},{key:"channelName",get:function(){return h.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:b.a.getPhrase(this.lang,"heading"),appLink:this.options.returnAppLink,spinnerButtonOptions:{model:this.spinnerModel=new d.a,channelName:this.channelName,buttonText:b.a.getPhrase(this.lang,"create"),onClick:function(t){return e.onSubmit(t)}}}]}}])&&O(t.prototype,n),v&&O(t,v),_}(i.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[7],{1019:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var r=n(2),o=n(244);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=s(c);function c(){return l(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&a(t.prototype,n),r&&a(t,r),c}(r.a.Model)},1027:function(e,t,n){"use strict";n.d(t,"a",(function(){return c}));var r=n(1),o=n(49),i=n(159),l=n(3),a="libraryEditor.utils",u={name:[{required:!0,msg:function(){return l.a.getPhrase(a,"folderNameRequired")}},{maxLength:255,msg:function(){return l.a.getPhrase(a,"folderNameExceeds")}}]},s=function(e,t){return{parentId:function(n){return n?o.a.calculateDestinationFolderDepth(e,n,t)>i.a.MAX_FOLDER_DEPTH?l.a.getPhrase(a,"maxFolderDepth",{maxDepth:i.a.MAX_FOLDER_DEPTH}):"":l.a.getPhrase(a,"selectParentFolder")}}},c=function(e){var t=e.validateName,n=e.validateParent,o=e.folder,i=e.collection;return t&&n?r.extend({},u,s(o,i)):t?u:n?s(o,i):void 0}},1036:function(e,t,n){"use strict";n.d(t,"a",(function(){return v}));var r=n(7),o=n(2),i=n(3),l=n(1050),a=n(13),u=n(1037),s=n.n(u),c=n(1038),f=n.n(c);function d(e){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function p(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function h(e,t){return(h=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=m(e);if(t){var o=m(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function b(e,t){return!t||"object"!==d(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function m(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&h(e,t)}(c,e);var t,n,o,u=y(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.listenTo(this.options.channelName,"folder:selected new:folder:selected",this.setButtonText),this.listenTo(this.options.channelName,"re:render:selector",this.renderSelector),this.disabledIds=this.options.disabledIds&&this.options.disabledIds.reduce((function(e,t){return Object.assign(Object.assign({},e),function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},t,!0))}),{})}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"onClickCreateNew",value:function(e){e.preventDefault(),r.Radio.channel(this.options.channelName).trigger("create:folder:clicked")}},{key:"setButtonText",value:function(e,t){if(e&&!t){var n=e.get("name");this.getUI("button").text(n)}else{var r=a.f.getSelected(this.options.folderTreeKey,this.collection),o=r?r.get("name"):i.a.getPhrase(this.lang,"button");this.getUI("button").text(o)}}},{key:"renderSelector",value:function(){this.showChildView("selector",new l.a({styles:f.a,collection:this.collection,channelName:this.options.channelName,childrenProperty:"children",folderTreeId:this.options.folderTreeKey,extraClass:f.a.list,extraClasses:f.a.list,isSelector:!0,disabledIds:this.disabledIds||{}}))}},{key:"viewOptions",value:function(){return{styles:f.a,name:this.options.name||this.options.channelName,buttonText:this.buttonText,canCreateNew:this.options.canCreateNew}}},{key:"onRender",value:function(){this.setButtonText(),this.renderSelector()}},{key:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return s.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}}])&&p(t.prototype,n),o&&p(t,o),c}(o.a.Component)},1037:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="create-new btn font-weight-bold rounded-0 w-100 text-left '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.customItem:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"createNew",{name:"lang",hash:{},data:o}))+"</button>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<button\r\n class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selectBtn:i,t))+' custom-select form-control"\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n name='+a(l(null!=(i=null!=t?t.options:t)?i.name:i,t))+"\r\n>"+a(l(null!=(i=null!=t?t.options:t)?i.buttonText:i,t))+'</button>\r\n<div class="dropdown-menu '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selector:i,t))+'">\r\n <div class="selector-region"></div>\r\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.canCreateNew:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+'</div>\r\n<div class="form-feedback"></div>'},useData:!0})},1038:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},1094:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var r=n(2),o=n(281),i=n(13),l=n(1036),a=n(1027),u=n(1095),s=n.n(u);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=y(e);if(t){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(c,e);var t,n,r,u=p(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),u.call(this,e)}return t=c,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.options.channelName,"folder:selected",this.onFolderSelected)}},{key:"regions",value:function(){return{parentFolder:".parent-folder-region"}}},{key:"onFolderSelected",value:function(e,t){e&&(i.f.setSelected(this.folderTreeKey,e,this.collection,t),t||this.model.set("parentId",e.get("id"),{validate:!0}))}},{key:"renderSubFolders",value:function(){this.options.editParent&&this.showChildView("parentFolder",new l.a({collection:this.collection,channelName:this.options.channelName,folderTreeKey:this.folderTreeKey,disabledIds:this.options.disabledParentFolderIds}))}},{key:"viewOptions",value:function(){return{editName:this.options.editName,editParent:this.options.editParent}}},{key:"onRender",value:function(){this.renderSubFolders()}},{key:"name",get:function(){return"FolderDetailsComponent"}},{key:"template",get:function(){return s.a}},{key:"lang",get:function(){return"libraryEditor.folderDetails"}},{key:"folderTreeKey",get:function(){return this.options.folderTreeKey||"folderselect:".concat(this.cid)}},{key:"behaviors",get:function(){return[{behaviorClass:o.a,modelValidation:Object(a.a)({validateName:this.options.editName,validateParent:this.options.editParent,folder:this.options.model,collection:this.options.collection})},{behaviorClass:o.g}]}},{key:"bindings",get:function(){return{"[name=name]":{observe:"name",setOptions:{validate:!0}}}}}])&&f(t.prototype,n),r&&f(t,r),c}(r.a.Component)},1095:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){e.propertyIsEnumerable;var i=null!=t?t:e.nullContext||{},l=e.hooks.helperMissing,a=e.escapeExpression;return' <div class="form-group">\r\n <label for="name" class="control-label">'+a((n.lang||t&&t.lang||l).call(i,"name",{name:"lang",hash:{},data:o}))+'</label>\r\n <input name="name" id="name" type="text" class="form-control" placeholder="'+a((n.lang||t&&t.lang||l).call(i,"namePlaceholder",{name:"lang",hash:{},data:o}))+'" autocomplete="off" autofocus/>\r\n <div class="form-feedback"></div>\r\n </div>\r\n'},3:function(e,t,n,r,o){e.propertyIsEnumerable;return' <div class="form-group pt-2">\r\n <label for="parentId" class="control-label">'+e.escapeExpression((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"parent",{name:"lang",hash:{},data:o}))+'</label>\r\n <div class="parent-folder-region"></div>\r\n </div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{};return"<form>\r\n"+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editName:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.noop,data:o}))?i:"")+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.editParent:i,{name:"if",hash:{},fn:e.program(3,o,0),inverse:e.noop,data:o}))?i:"")+"</form>"},useData:!0})},1217:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){return'<div class="folder-details-region"></div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1405:function(e,t,n){"use strict";n.r(t),n.d(t,"NewFolderView",(function(){return E}));var r=n(7),o=n(19),i=n(2),l=n(5),a=n(30),u=n(42),s=n(281),c=n(0),f=n(79),d=n(1019),p=n(82),h=n(13),y=n(244),b=n(3),m=n(1094),v=n(1217),g=n.n(v),w=n(191);function k(e){return(k="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function O(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=I(e);if(t){var o=I(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return _(this,n)}}function _(e,t){return!t||"object"!==k(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function I(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var E=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&S(e,t)}(_,e);var t,n,v,k=P(_);function _(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,_),k.call(this,e)}return t=_,(n=[{key:"initialize",value:function(e){var t=e.parentId,n=e.libraryId;(t?!n:n)||i.a.ErrorHelper.throw(new o.a("Must provide either a libraryId or a parentId to ".concat(this.name))),this.bindListeners(),this.libraryDataService=l.a.getInstance(c.g.Library,this)}},{key:"bindListeners",value:function(){this.listenTo(c.e.LIBRARY,"libraries:sync",this.render)}},{key:"regions",value:function(){return{folderDetails:".folder-details-region"}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(y.b.ShowSpinner),this.trimFolderName(),this.addFolder(),this.logAction())}},{key:"addFolder",value:function(){var e=this,t=this.viewModel.get("parentId").toString()===this.library.get("id").toString()?null:this.viewModel.get("parentId").toString();this.libraryDataService.addFolder(this.viewModel,this.library.get("id").toString(),t,(function(t){a.a.clear(e.getViewModelKey()),e.options.routeToFolderOnCreate?i.a.AppLinkHelper.trigger({application:c.b.LIBRARY_EDITOR,action:c.a.LibraryEditor.FOLDER,args:[t.get("id")]}):e.triggerMethod("hide")}))}},{key:"trimFolderName",value:function(){var e=this.viewModel.get("name");this.viewModel.set("name",e.trim())}},{key:"logAction",value:function(){var e={id:this.options.libraryId,name:this.viewModel.get("name"),isSubfolder:this.viewModel.get("parentId").toString()!==this.library.get("id").toString()};u.a.logUserAction(e,this.options.analyticsOptions)}},{key:"setUpViewModel",value:function(){if(!this.viewModel){var e=this.getViewModelKey();this.viewModel=a.a.get(e,null,{ctor:p.a}),this.viewModel.set({parentId:this.options.parentId||this.options.libraryId})}}},{key:"getViewModelKey",value:function(){return"folder:new:".concat(this.options.libraryId,":").concat(this.options.parentId)}},{key:"renderFolderDetails",value:function(){if(this.collection){var e=new m.a({model:this.viewModel,collection:this.collection,library:this.library,channelName:this.channelName,editName:!0,editParent:!0,folderTreeKey:this.folderTreeKey});this.showChildView("folderDetails",e)}}},{key:"onBeforeRender",value:function(){var e=this;if(this.libraryDataService.getLibraries((function(t){if(!e.collection){var n=e.options.libraryId||e.options.parentId;e.library=h.f.getLibrary(n,t),e.setUpViewModel(),e.collection=new f.a([e.library]),h.f.setSelected(e.folderTreeKey,e.viewModel.get("parentId"),e.collection)}})),this.collection&&this.spinnerModel.set(y.c.Disabled,!1),h.f.getFolderDepth(this.options.parentId,this.collection)>=c.s.MAX_FOLDER_DEPTH)return window.setTimeout((function(){e.triggerMethod("hide"),i.a.ErrorHelper.throw(new w.b)}),c.s.POPUP_FADE_TIMEOUT),!1}},{key:"viewOptions",value:function(){return{dataFetched:!!this.collection,spinnerEl:h.q.getSpinner({size:h.r.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){this.renderFolderDetails()}},{key:"name",get:function(){return"NewFolderView"}},{key:"lang",get:function(){return"libraryEditor.newFolder"}},{key:"title",get:function(){return b.a.getPhrase(this.lang,"title")}},{key:"folderTreeKey",get:function(){return"folderselect:".concat(this.cid)}},{key:"template",get:function(){return g.a}},{key:"channelName",get:function(){return h.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:s.f,title:b.a.getPhrase(this.lang,"heading"),appLink:this.options.returnAppLink,spinnerButtonOptions:{model:this.spinnerModel=new d.a,channelName:this.channelName,buttonText:b.a.getPhrase(this.lang,"create"),onClick:function(t){return e.onSubmit(t)}}}]}}])&&O(t.prototype,n),v&&O(t,v),_}(i.a.View)}}]);
@@ -0,0 +1,309 @@
1
+ (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[7],{
2
+
3
+ /***/ "./src/shared/components/dropdown/DropdownComponentCollection.ts":
4
+ /*!***********************************************************************!*\
5
+ !*** ./src/shared/components/dropdown/DropdownComponentCollection.ts ***!
6
+ \***********************************************************************/
7
+ /*! exports provided: DropdownComponentCollection */
8
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
9
+
10
+ "use strict";
11
+ __webpack_require__.r(__webpack_exports__);
12
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "DropdownComponentCollection", function() { return DropdownComponentCollection; });
13
+ /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! underscore */ "underscore");
14
+ /* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);
15
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
16
+ /* harmony import */ var _DropdownItemComponent__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./DropdownItemComponent */ "./src/shared/components/dropdown/DropdownItemComponent.ts");
17
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
18
+
19
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
20
+
21
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
22
+
23
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
24
+
25
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
26
+
27
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
+
29
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
30
+
31
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
32
+
33
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
34
+
35
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
36
+
37
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
38
+
39
+
40
+
41
+
42
+ var DropdownComponentCollection = /*#__PURE__*/function (_Core$ComponentCollec) {
43
+ _inherits(DropdownComponentCollection, _Core$ComponentCollec);
44
+
45
+ var _super = _createSuper(DropdownComponentCollection);
46
+
47
+ function DropdownComponentCollection(options) {
48
+ _classCallCheck(this, DropdownComponentCollection);
49
+
50
+ return _super.call(this, options);
51
+ }
52
+
53
+ _createClass(DropdownComponentCollection, [{
54
+ key: "initialize",
55
+ value: function initialize() {
56
+ this.listenTo(this.options.channelName, 'center:dropdown', this.centerSelectedItem);
57
+ }
58
+ }, {
59
+ key: "getExtraClasses",
60
+ value: function getExtraClasses() {
61
+ var displayOptions = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
62
+ var _displayOptions$align = displayOptions.alignment,
63
+ alignment = _displayOptions$align === void 0 ? 'left' : _displayOptions$align,
64
+ extraClasses = displayOptions.extraClasses;
65
+ var className = "dropdown-menu-".concat(alignment);
66
+ if (extraClasses) className = "".concat(className, " ").concat(extraClasses);
67
+ return className;
68
+ }
69
+ }, {
70
+ key: "centerSelectedItem",
71
+ value: function centerSelectedItem() {
72
+ var active = this.$el.find('.active');
73
+ if (!active.length) return;
74
+ var halfRatio = 0.5;
75
+ var top = this.$el.scrollTop() + active.position().top;
76
+ var distance = this.$el.height() * halfRatio + active.height() * halfRatio;
77
+ this.$el.scrollTop(top - distance);
78
+ }
79
+ }, {
80
+ key: "name",
81
+ get: function get() {
82
+ return 'DropdownCollectionComponent';
83
+ }
84
+ }, {
85
+ key: "className",
86
+ get: function get() {
87
+ return "dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions));
88
+ }
89
+ }, {
90
+ key: "attributes",
91
+ get: function get() {
92
+ return {
93
+ 'aria-labelledby': 'dropdownSelector'
94
+ };
95
+ }
96
+ }, {
97
+ key: "childView",
98
+ get: function get() {
99
+ return _DropdownItemComponent__WEBPACK_IMPORTED_MODULE_2__["DropdownItemComponent"];
100
+ }
101
+ }, {
102
+ key: "childViewOptions",
103
+ get: function get() {
104
+ var baseChildOptions = {
105
+ channelName: this.options.channelName,
106
+ analyticsHelper: this.options.analyticsHelper
107
+ };
108
+ return underscore__WEBPACK_IMPORTED_MODULE_0__["extend"](baseChildOptions, this.options.childOptions);
109
+ }
110
+ }]);
111
+
112
+ return DropdownComponentCollection;
113
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_1__["Core"].ComponentCollection);
114
+
115
+ /***/ }),
116
+
117
+ /***/ "./src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeries.hbs":
118
+ /*!****************************************************************************************************!*\
119
+ !*** ./src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeries.hbs ***!
120
+ \****************************************************************************************************/
121
+ /*! no static exports found */
122
+ /***/ (function(module, exports, __webpack_require__) {
123
+
124
+ var Handlebars = __webpack_require__(/*! handlebars */ "handlebars");
125
+ module.exports = (Handlebars['default'] || Handlebars).template({"1":function(container,depth0,helpers,partials,data) {
126
+ var stack1, alias1=container.propertyIsEnumerable;
127
+
128
+ return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.series : stack1), depth0));
129
+ },"3":function(container,depth0,helpers,partials,data) {
130
+ var stack1, alias1=container.propertyIsEnumerable;
131
+
132
+ return "href=\""
133
+ + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seriesUrl : stack1), depth0))
134
+ + "\" target=\"_blank\"";
135
+ },"5":function(container,depth0,helpers,partials,data) {
136
+ var stack1, alias1=container.propertyIsEnumerable;
137
+
138
+ return ((stack1 = helpers["if"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seasonNumber : stack1),{"name":"if","hash":{},"fn":container.program(6, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
139
+ + " E"
140
+ + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.episodeNumber : stack1), depth0))
141
+ + "\r\n";
142
+ },"6":function(container,depth0,helpers,partials,data) {
143
+ var stack1, alias1=container.propertyIsEnumerable;
144
+
145
+ return "&nbsp;S"
146
+ + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seasonNumber : stack1), depth0))
147
+ + " &bull;";
148
+ },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
149
+ var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});
150
+
151
+ return "<a class=\"series-applink text-muted "
152
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styleUppercase : stack1),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
153
+ + "\" "
154
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seriesUrl : stack1),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
155
+ + ">\r\n "
156
+ + ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seriesName : stack1), depth0)) != null ? stack1 : "")
157
+ + ((stack1 = helpers["if"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.episodeNumber : stack1),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "")
158
+ + "</a>";
159
+ },"useData":true});
160
+
161
+ /***/ }),
162
+
163
+ /***/ "./src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.ts":
164
+ /*!************************************************************************************************************!*\
165
+ !*** ./src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.ts ***!
166
+ \************************************************************************************************************/
167
+ /*! exports provided: VideoItemSeriesComponent */
168
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
169
+
170
+ "use strict";
171
+ __webpack_require__.r(__webpack_exports__);
172
+ /* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "VideoItemSeriesComponent", function() { return VideoItemSeriesComponent; });
173
+ /* harmony import */ var _libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ../../../../../../../../libs/common/src/backbone */ "../../libs/common/src/backbone/index.ts");
174
+ /* harmony import */ var _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../../../../../../../libs/shared/src/utils/SvgHelper */ "../../libs/shared/src/utils/SvgHelper.ts");
175
+ /* harmony import */ var _utils__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../utils */ "./src/shared/utils/index.ts");
176
+ /* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../constants */ "./src/shared/constants/index.ts");
177
+ /* harmony import */ var _video_item_series_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./video-item-series.scss */ "./src/shared/components/video-item/video-item-metadata/video-item-series/video-item-series.scss");
178
+ /* harmony import */ var _video_item_series_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_video_item_series_scss__WEBPACK_IMPORTED_MODULE_4__);
179
+ /* harmony import */ var _VideoItemSeries_hbs__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ./VideoItemSeries.hbs */ "./src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeries.hbs");
180
+ /* harmony import */ var _VideoItemSeries_hbs__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(_VideoItemSeries_hbs__WEBPACK_IMPORTED_MODULE_5__);
181
+ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
182
+
183
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
184
+
185
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
186
+
187
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
188
+
189
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }
190
+
191
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
192
+
193
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
194
+
195
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } return _assertThisInitialized(self); }
196
+
197
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
198
+
199
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Date.prototype.toString.call(Reflect.construct(Date, [], function () {})); return true; } catch (e) { return false; } }
200
+
201
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
202
+
203
+
204
+
205
+
206
+
207
+
208
+
209
+ var PAD_LENGTH = 2;
210
+ var VideoItemSeriesComponent = /*#__PURE__*/function (_Core$Component) {
211
+ _inherits(VideoItemSeriesComponent, _Core$Component);
212
+
213
+ var _super = _createSuper(VideoItemSeriesComponent);
214
+
215
+ function VideoItemSeriesComponent(options) {
216
+ _classCallCheck(this, VideoItemSeriesComponent);
217
+
218
+ return _super.call(this, options);
219
+ }
220
+
221
+ _createClass(VideoItemSeriesComponent, [{
222
+ key: "padNumber",
223
+ value: function padNumber(num) {
224
+ if (!num) return null;
225
+ var numberString = num.toString();
226
+ var padLength = PAD_LENGTH;
227
+ if (numberString.length >= padLength) return numberString;
228
+ padLength = padLength - numberString.length;
229
+
230
+ while (padLength > 0) {
231
+ numberString = '0' + numberString;
232
+ padLength--;
233
+ }
234
+
235
+ return numberString;
236
+ }
237
+ }, {
238
+ key: "getSeriesName",
239
+ value: function getSeriesName() {
240
+ return this.options.highlight ? _utils__WEBPACK_IMPORTED_MODULE_2__["TextHelper"].wordsHighlighter(this.model.series.get('name'), this.model.get('_matchedWords')) : this.model.series.get('name');
241
+ }
242
+ }, {
243
+ key: "viewOptions",
244
+ value: function viewOptions() {
245
+ return {
246
+ styles: _video_item_series_scss__WEBPACK_IMPORTED_MODULE_4__,
247
+ seasonNumber: this.padNumber(this.model.season && this.model.season.get('number')),
248
+ episodeNumber: this.padNumber(this.model.get('episodeNumber')),
249
+ seriesName: this.getSeriesName(),
250
+ seriesUrl: this.options.seriesUrl,
251
+ externalSvg: _libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__["SvgHelper"].getSvg(_libs_shared_src_utils_SvgHelper__WEBPACK_IMPORTED_MODULE_1__["cvSvgLibrary"].NewWindow),
252
+ styleUppercase: this.options.styleUppercase
253
+ };
254
+ }
255
+ }, {
256
+ key: "onBeforeRender",
257
+ value: function onBeforeRender() {
258
+ return this.model.series && !!this.model.series.get('id');
259
+ }
260
+ }, {
261
+ key: "defaults",
262
+ get: function get() {
263
+ return {
264
+ styleUppercase: true
265
+ };
266
+ }
267
+ }, {
268
+ key: "name",
269
+ get: function get() {
270
+ return 'VideoItemSeriesComponent';
271
+ }
272
+ }, {
273
+ key: "template",
274
+ get: function get() {
275
+ return _VideoItemSeries_hbs__WEBPACK_IMPORTED_MODULE_5___default.a;
276
+ }
277
+ }, {
278
+ key: "appLinks",
279
+ get: function get() {
280
+ if (this.options.seriesUrl) return {};
281
+ return {
282
+ '.series-applink': {
283
+ application: _constants__WEBPACK_IMPORTED_MODULE_3__["AppChannels"].LIBRARY_EDITOR,
284
+ action: _constants__WEBPACK_IMPORTED_MODULE_3__["Actions"].LibraryEditor.SERIES,
285
+ args: [this.model.series.get('id')]
286
+ }
287
+ };
288
+ }
289
+ }]);
290
+
291
+ return VideoItemSeriesComponent;
292
+ }(_libs_common_src_backbone__WEBPACK_IMPORTED_MODULE_0__["Core"].Component);
293
+
294
+ /***/ }),
295
+
296
+ /***/ "./src/shared/components/video-item/video-item-metadata/video-item-series/video-item-series.scss":
297
+ /*!*******************************************************************************************************!*\
298
+ !*** ./src/shared/components/video-item/video-item-metadata/video-item-series/video-item-series.scss ***!
299
+ \*******************************************************************************************************/
300
+ /*! no static exports found */
301
+ /***/ (function(module, exports, __webpack_require__) {
302
+
303
+ // extracted by mini-css-extract-plugin
304
+ module.exports = {"svgContainer":"cv--svgContainer--1CUEt","series":"cv--series--oZx-K"};
305
+
306
+ /***/ })
307
+
308
+ }]);
309
+ //# sourceMappingURL=7.chunk.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/dropdown/DropdownComponentCollection.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeries.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/video-item/video-item-metadata/video-item-series/VideoItemSeriesComponent.ts","webpack://@clickview/library-editor/./src/shared/components/video-item/video-item-metadata/video-item-series/video-item-series.scss?c4b9"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAGA;AAEA;AA8BO,IAAM,2BAAb;AAAA;;AAAA;;AAGE,uCAAY,OAAZ,EAAwD;AAAA;;AAAA,6BAChD,OADgD;AAEvD;;AALH;AAAA;AAAA,iCAqBmB;AACf,WAAK,QAAL,CAAc,KAAK,OAAL,CAAa,WAA3B,EAAwC,iBAAxC,EAA2D,KAAK,kBAAhE;AACD;AAvBH;AAAA;AAAA,sCAsCqE;AAAA,UAA3C,cAA2C,uEAAF,EAAE;AAAA,kCACpB,cADoB,CACzD,SADyD;AAAA,UACzD,SADyD,sCAC7C,MAD6C;AAAA,UACrC,YADqC,GACpB,cADoB,CACrC,YADqC;AAGjE,UAAI,SAAS,2BAAoB,SAApB,CAAb;AAEA,UAAI,YAAJ,EACE,SAAS,aAAM,SAAN,cAAmB,YAAnB,CAAT;AAEF,aAAO,SAAP;AACD;AA/CH;AAAA;AAAA,yCAiD4B;AACxB,UAAM,MAAM,GAAG,KAAK,GAAL,CAAS,IAAT,CAAc,SAAd,CAAf;AAEA,UAAI,CAAC,MAAM,CAAC,MAAZ,EACE;AAEF,UAAM,SAAS,GAAG,GAAlB;AACA,UAAM,GAAG,GAAG,KAAK,GAAL,CAAS,SAAT,KAAuB,MAAM,CAAC,QAAP,GAAkB,GAArD;AACA,UAAM,QAAQ,GAAG,KAAK,GAAL,CAAS,MAAT,KAAoB,SAApB,GAAgC,MAAM,CAAC,MAAP,KAAkB,SAAnE;AACA,WAAK,GAAL,CAAS,SAAT,CAAmB,GAAG,GAAG,QAAzB;AACD;AA3DH;AAAA;AAAA,wBAOiB;AACb,aAAO,6BAAP;AACD;AATH;AAAA;AAAA,wBAWsB;AAClB,oDAAuC,KAAK,eAAL,CAAqB,KAAK,OAAL,CAAa,cAAlC,CAAvC;AACD;AAbH;AAAA;AAAA,wBAeuB;AACnB,aAAO;AACL,2BAAmB;AADd,OAAP;AAGD;AAnBH;AAAA;AAAA,wBAyBsB;AAClB,aAAO,4EAAP;AACD;AA3BH;AAAA;AAAA,wBA6B6B;AACzB,UAAM,gBAAgB,GAAe;AACnC,mBAAW,EAAE,KAAK,OAAL,CAAa,WADS;AAEnC,uBAAe,EAAE,KAAK,OAAL,CAAa;AAFK,OAArC;AAKA,aAAO,kDAAS,gBAAT,EAA2B,KAAK,OAAL,CAAa,YAAxC,CAAP;AACD;AApCH;;AAAA;AAAA,EAAiD,8DAAI,CAAC,mBAAtD,E;;;;;;;;;;;ACnCA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA,CAAC;AACD;;AAEA;AACA;AACA;AACA,CAAC;AACD;;AAEA,6FAA6F,kGAAkG,qBAAqB,yEAAyE;AAC7R;AACA;AACA;AACA,CAAC;AACD;;AAEA,gBAAgB;AAChB;AACA,cAAc;AACd,CAAC;AACD,oHAAoH;;AAEpH;AACA,6IAA6I,qBAAqB,yEAAyE;AAC3O;AACA,wIAAwI,qBAAqB,yEAAyE;AACtO;AACA;AACA,4IAA4I,qBAAqB,yEAAyE;AAC1O;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACnCjB;AACA;AAIA;AACA;AAEA;AACA;AAEA,IAAM,UAAU,GAAG,CAAnB;AASO,IAAM,wBAAb;AAAA;;AAAA;;AAGE,oCAAY,OAAZ,EAAoD;AAAA;;AAAA,6BAC5C,OAD4C;AAEnD;;AALH;AAAA;AAAA,8BAkCoB,GAlCpB,EAkCwC;AACpC,UAAI,CAAC,GAAL,EACE,OAAO,IAAP;AAEF,UAAI,YAAY,GAAG,GAAG,CAAC,QAAJ,EAAnB;AACA,UAAI,SAAS,GAAG,UAAhB;AAEA,UAAI,YAAY,CAAC,MAAb,IAAuB,SAA3B,EACE,OAAO,YAAP;AAEF,eAAS,GAAG,SAAS,GAAG,YAAY,CAAC,MAArC;;AAEA,aAAO,SAAS,GAAG,CAAnB,EAAsB;AACpB,oBAAY,GAAG,MAAM,YAArB;AACA,iBAAS;AACV;;AACD,aAAO,YAAP;AACD;AAnDH;AAAA;AAAA,oCAqDuB;AACnB,aAAO,KAAK,OAAL,CAAa,SAAb,GACH,iDAAU,CAAC,gBAAX,CAA4B,KAAK,KAAL,CAAW,MAAX,CAAkB,GAAlB,CAAsB,MAAtB,CAA5B,EAA2D,KAAK,KAAL,CAAW,GAAX,CAAe,eAAf,CAA3D,CADG,GAEH,KAAK,KAAL,CAAW,MAAX,CAAkB,GAAlB,CAAsB,MAAtB,CAFJ;AAGD;AAzDH;AAAA;AAAA,kCA2DoB;AAChB,aAAO;AACL,cAAM,EAAN,oDADK;AAEL,oBAAY,EAAE,KAAK,SAAL,CAAe,KAAK,KAAL,CAAW,MAAX,IAAqB,KAAK,KAAL,CAAW,MAAX,CAAkB,GAAlB,CAAsB,QAAtB,CAApC,CAFT;AAGL,qBAAa,EAAE,KAAK,SAAL,CAAe,KAAK,KAAL,CAAW,GAAX,CAAe,eAAf,CAAf,CAHV;AAIL,kBAAU,EAAE,KAAK,aAAL,EAJP;AAKL,iBAAS,EAAE,KAAK,OAAL,CAAa,SALnB;AAML,mBAAW,EAAE,0EAAS,CAAC,MAAV,CAAiB,6EAAY,CAAC,SAA9B,CANR;AAOL,sBAAc,EAAE,KAAK,OAAL,CAAa;AAPxB,OAAP;AASD;AArEH;AAAA;AAAA,qCAuEuB;AACnB,aAAO,KAAK,KAAL,CAAW,MAAX,IAAqB,CAAC,CAAC,KAAK,KAAL,CAAW,MAAX,CAAkB,GAAlB,CAAsB,IAAtB,CAA9B;AACD;AAzEH;AAAA;AAAA,wBAOqB;AACjB,aAAO;AACL,sBAAc,EAAE;AADX,OAAP;AAGD;AAXH;AAAA;AAAA,wBAaiB;AACb,aAAO,0BAAP;AACD;AAfH;AAAA;AAAA,wBAiBqB;AACjB,aAAO,2DAAP;AACD;AAnBH;AAAA;AAAA,wBAqBqB;AACjB,UAAI,KAAK,OAAL,CAAa,SAAjB,EACE,OAAO,EAAP;AAEF,aAAO;AACL,2BAAmB;AACjB,qBAAW,EAAE,sDAAW,CAAC,cADR;AAEjB,gBAAM,EAAE,kDAAO,CAAC,aAAR,CAAsB,MAFb;AAGjB,cAAI,EAAE,CAAC,KAAK,KAAL,CAAW,MAAX,CAAkB,GAAlB,CAAsB,IAAtB,CAAD;AAHW;AADd,OAAP;AAOD;AAhCH;;AAAA;AAAA,EAA8C,8DAAI,CAAC,SAAnD,E;;;;;;;;;;;ACpBA;AACA,kBAAkB,uE","file":"scripts/7.chunk.js","sourcesContent":["import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { DropdownItemComponent } from 'shared/components/dropdown/DropdownItemComponent';\r\n\r\nexport interface DropdownDisplayOptions {\r\n alignment?: string;\r\n extraClasses?: string;\r\n}\r\n\r\nexport interface DropdownAnalyticsHelper {\r\n logUserAction(data: ObjectHash | ObjectHash[], analyticsOptions: any): void;\r\n}\r\n\r\nexport interface DropdownChildOptions {\r\n channelName?: string;\r\n titleProperty?: string;\r\n eventName?: string;\r\n extraClasses?: string;\r\n prefixHandler?: () => string;\r\n currentSelectedMessage?: string;\r\n isDisabled?: (model: Core.Model) => boolean;\r\n getTooltip?: (model: Core.Model) => ObjectHash;\r\n truncateOptionNames?: boolean;\r\n}\r\n\r\nexport interface DropdownComponentCollectionOptions extends Core.ComponentCollectionOptions {\r\n channelName: string;\r\n childOptions?: DropdownChildOptions;\r\n displayOptions?: DropdownDisplayOptions;\r\n analyticsHelper: DropdownAnalyticsHelper;\r\n}\r\n\r\nexport class DropdownComponentCollection extends Core.ComponentCollection {\r\n public options: DropdownComponentCollectionOptions;\r\n\r\n constructor(options?: DropdownComponentCollectionOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'DropdownCollectionComponent';\r\n }\r\n\r\n public get className(): string {\r\n return `dropdown-menu items-viewpart ${this.getExtraClasses(this.options.displayOptions)}`;\r\n }\r\n\r\n public get attributes(): ObjectHash {\r\n return {\r\n 'aria-labelledby': 'dropdownSelector'\r\n };\r\n }\r\n\r\n public initialize(): void {\r\n this.listenTo(this.options.channelName, 'center:dropdown', this.centerSelectedItem);\r\n }\r\n\r\n public get childView(): any {\r\n return DropdownItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ObjectHash {\r\n const baseChildOptions: ObjectHash = {\r\n channelName: this.options.channelName,\r\n analyticsHelper: this.options.analyticsHelper\r\n };\r\n\r\n return _.extend(baseChildOptions, this.options.childOptions);\r\n }\r\n\r\n private getExtraClasses(displayOptions: DropdownDisplayOptions = {}): string {\r\n const { alignment = 'left', extraClasses } = displayOptions;\r\n\r\n let className = `dropdown-menu-${alignment}`;\r\n\r\n if (extraClasses)\r\n className = `${className} ${extraClasses}`;\r\n\r\n return className;\r\n }\r\n\r\n private centerSelectedItem(): void {\r\n const active = this.$el.find('.active');\r\n\r\n if (!active.length)\r\n return;\r\n\r\n const halfRatio = 0.5;\r\n const top = this.$el.scrollTop() + active.position().top;\r\n const distance = this.$el.height() * halfRatio + active.height() * halfRatio;\r\n this.$el.scrollTop(top - distance);\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.series : stack1), depth0));\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"href=\\\"\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seriesUrl : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\"\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seasonNumber : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \" E\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.episodeNumber : stack1), depth0))\n + \"\\r\\n\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"&nbsp;S\"\n + container.escapeExpression(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seasonNumber : stack1), depth0))\n + \" &bull;\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<a class=\\\"series-applink text-muted \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styleUppercase : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\" \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seriesUrl : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\\r\\n \"\n + ((stack1 = container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.seriesName : stack1), depth0)) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.episodeNumber : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</a>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { Video } from 'shared/models/Video';\r\nimport { ObjectHash } from 'backbone';\r\nimport { TextHelper } from 'shared/utils';\r\nimport { AppChannels, Actions } from 'shared/constants';\r\n\r\nimport * as styles from './video-item-series.scss';\r\nimport VideoItemSeriesTemplate from './VideoItemSeries.hbs';\r\n\r\nconst PAD_LENGTH = 2;\r\n\r\ninterface VideoItemSeriesComponentOptions extends Core.ComponentOptions<Video> {\r\n model: Video;\r\n highlight: boolean;\r\n seriesUrl?: string;\r\n styleUppercase?: boolean;\r\n}\r\n\r\nexport class VideoItemSeriesComponent extends Core.Component<Video> {\r\n protected options: VideoItemSeriesComponentOptions;\r\n\r\n constructor(options: VideoItemSeriesComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get defaults(): ObjectHash {\r\n return {\r\n styleUppercase: true\r\n };\r\n }\r\n\r\n public get name(): string {\r\n return 'VideoItemSeriesComponent';\r\n }\r\n\r\n public get template(): any {\r\n return VideoItemSeriesTemplate;\r\n }\r\n\r\n public get appLinks(): Core.AppLinkHash {\r\n if (this.options.seriesUrl)\r\n return {};\r\n\r\n return {\r\n '.series-applink': {\r\n application: AppChannels.LIBRARY_EDITOR,\r\n action: Actions.LibraryEditor.SERIES,\r\n args: [this.model.series.get('id')]\r\n }\r\n };\r\n }\r\n\r\n private padNumber(num: string | number): string {\r\n if (!num)\r\n return null;\r\n\r\n let numberString = num.toString();\r\n var padLength = PAD_LENGTH;\r\n\r\n if (numberString.length >= padLength)\r\n return numberString;\r\n\r\n padLength = padLength - numberString.length;\r\n\r\n while (padLength > 0) {\r\n numberString = '0' + numberString;\r\n padLength--;\r\n }\r\n return numberString;\r\n }\r\n\r\n private getSeriesName(): string {\r\n return this.options.highlight\r\n ? TextHelper.wordsHighlighter(this.model.series.get('name'), this.model.get('_matchedWords'))\r\n : this.model.series.get('name');\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n seasonNumber: this.padNumber(this.model.season && this.model.season.get('number')),\r\n episodeNumber: this.padNumber(this.model.get('episodeNumber')),\r\n seriesName: this.getSeriesName(),\r\n seriesUrl: this.options.seriesUrl,\r\n externalSvg: SvgHelper.getSvg(cvSvgLibrary.NewWindow),\r\n styleUppercase: this.options.styleUppercase\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n return this.model.series && !!this.model.series.get('id');\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer--1CUEt\",\"series\":\"cv--series--oZx-K\"};"],"sourceRoot":""}
@@ -0,0 +1 @@
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[70],{1182:function(t,e,r){var n=r(9);t.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(t,e,r,n,o){t.propertyIsEnumerable;var i,u=t.lambda,c=t.escapeExpression;return"<h1>"+c(u(null!=(i=null!=e?e.options:e)?i.name:i,e))+'</h1>\r\n<div class="alert alert-danger" role="alert">\r\n <h2>'+c(u(null!=(i=null!=e?e.options:e)?i.message:i,e))+'</h2>\r\n</div>\r\n<div class="alert alert-warning" role="alert">\r\n <h3>Call stack</h3>\r\n <code>'+c(u(null!=(i=null!=e?e.options:e)?i.stack:i,e))+"</code>\r\n</div>"},useData:!0})},1393:function(t,e,r){"use strict";r.r(e),r.d(e,"DevErrorView",(function(){return b}));var n=r(7),o=r(2),i=r(1182),u=r.n(i);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 a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}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 y(t){return(y=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&&f(t,e)}(c,t);var e,r,o,i=s(c);function c(){return a(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"initialize",value:function(){var t=n.Radio.channel("error:view");this.error=t.request("current:error")}},{key:"viewOptions",value:function(){return{message:this.error.message,stack:this.error.stack,name:this.error.name}}},{key:"name",get:function(){return"ErrorView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){return"mt-5"}}])&&l(e.prototype,r),o&&l(e,o),c}(o.a.View)}}]);
@@ -1 +1 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[70],{1194:function(t,e,r){var n=r(10);t.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(t,e,r,n,o){t.propertyIsEnumerable;var i,u=t.lambda,c=t.escapeExpression;return"<h1>"+c(u(null!=(i=null!=e?e.options:e)?i.name:i,e))+'</h1>\r\n<div class="alert alert-danger" role="alert">\r\n <h2>'+c(u(null!=(i=null!=e?e.options:e)?i.message:i,e))+'</h2>\r\n</div>\r\n<div class="alert alert-warning" role="alert">\r\n <h3>Call stack</h3>\r\n <code>'+c(u(null!=(i=null!=e?e.options:e)?i.stack:i,e))+"</code>\r\n</div>"},useData:!0})},1405:function(t,e,r){"use strict";r.r(e),r.d(e,"DevErrorView",(function(){return b}));var n=r(7),o=r(2),i=r(1194),u=r.n(i);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 a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}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 y(t){return(y=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&&f(t,e)}(c,t);var e,r,o,i=s(c);function c(){return a(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"initialize",value:function(){var t=n.Radio.channel("error:view");this.error=t.request("current:error")}},{key:"viewOptions",value:function(){return{message:this.error.message,stack:this.error.stack,name:this.error.name}}},{key:"name",get:function(){return"ErrorView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){return"mt-5"}}])&&l(e.prototype,r),o&&l(e,o),c}(o.a.View)}}]);
1
+ (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[70],{1190:function(t,e,r){var n=r(10);t.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(t,e,r,n,o){t.propertyIsEnumerable;var i,u=t.lambda,c=t.escapeExpression;return"<h1>"+c(u(null!=(i=null!=e?e.options:e)?i.name:i,e))+'</h1>\r\n<div class="alert alert-danger" role="alert">\r\n <h2>'+c(u(null!=(i=null!=e?e.options:e)?i.message:i,e))+'</h2>\r\n</div>\r\n<div class="alert alert-warning" role="alert">\r\n <h3>Call stack</h3>\r\n <code>'+c(u(null!=(i=null!=e?e.options:e)?i.stack:i,e))+"</code>\r\n</div>"},useData:!0})},1401:function(t,e,r){"use strict";r.r(e),r.d(e,"DevErrorView",(function(){return b}));var n=r(7),o=r(2),i=r(1190),u=r.n(i);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 a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function l(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function f(t,e){return(f=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=y(t);if(e){var o=y(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return p(this,r)}}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 y(t){return(y=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&&f(t,e)}(c,t);var e,r,o,i=s(c);function c(){return a(this,c),i.apply(this,arguments)}return e=c,(r=[{key:"initialize",value:function(){var t=n.Radio.channel("error:view");this.error=t.request("current:error")}},{key:"viewOptions",value:function(){return{message:this.error.message,stack:this.error.stack,name:this.error.name}}},{key:"name",get:function(){return"ErrorView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){return"mt-5"}}])&&l(e.prototype,r),o&&l(e,o),c}(o.a.View)}}]);