@clickview/library-editor 1.1.45-rc.3 → 1.1.45

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 (306) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/scripts/{bundle-f18858be26.min.js → bundle-d78cc0ce15.min.js} +1 -1
  3. package/package.json +3 -3
  4. package/dist/css/0-library-editor.chunk.css +0 -26
  5. package/dist/css/10-library-editor.chunk.css +0 -25
  6. package/dist/css/11-library-editor.chunk.css +0 -135
  7. package/dist/css/12-library-editor.chunk.css +0 -18
  8. package/dist/css/13-library-editor.chunk.css +0 -21
  9. package/dist/css/14-library-editor.chunk.css +0 -76
  10. package/dist/css/16-library-editor.chunk.css +0 -52
  11. package/dist/css/17-library-editor.chunk.css +0 -14
  12. package/dist/css/18-library-editor.chunk.css +0 -18
  13. package/dist/css/2-library-editor.chunk.css +0 -143
  14. package/dist/css/21-library-editor.chunk.css +0 -52
  15. package/dist/css/22-library-editor.chunk.css +0 -12
  16. package/dist/css/23-library-editor.chunk.css +0 -25
  17. package/dist/css/25-library-editor.chunk.css +0 -35
  18. package/dist/css/26-library-editor.chunk.css +0 -20
  19. package/dist/css/28-library-editor.chunk.css +0 -63
  20. package/dist/css/29-library-editor.chunk.css +0 -80
  21. package/dist/css/3-library-editor.chunk.css +0 -15
  22. package/dist/css/30-library-editor.chunk.css +0 -33
  23. package/dist/css/31-library-editor.chunk.css +0 -30
  24. package/dist/css/32-library-editor.chunk.css +0 -45
  25. package/dist/css/33-library-editor.chunk.css +0 -13
  26. package/dist/css/34-library-editor.chunk.css +0 -19
  27. package/dist/css/35-library-editor.chunk.css +0 -18
  28. package/dist/css/36-library-editor.chunk.css +0 -12
  29. package/dist/css/37-library-editor.chunk.css +0 -5
  30. package/dist/css/38-library-editor.chunk.css +0 -5
  31. package/dist/css/40-library-editor.chunk.css +0 -24
  32. package/dist/css/41-library-editor.chunk.css +0 -76
  33. package/dist/css/42-library-editor.chunk.css +0 -44
  34. package/dist/css/43-library-editor.chunk.css +0 -30
  35. package/dist/css/44-library-editor.chunk.css +0 -12
  36. package/dist/css/45-library-editor.chunk.css +0 -25
  37. package/dist/css/46-library-editor.chunk.css +0 -24
  38. package/dist/css/47-library-editor.chunk.css +0 -84
  39. package/dist/css/48-library-editor.chunk.css +0 -4
  40. package/dist/css/49-library-editor.chunk.css +0 -33
  41. package/dist/css/50-library-editor.chunk.css +0 -20
  42. package/dist/css/51-library-editor.chunk.css +0 -37
  43. package/dist/css/52-library-editor.chunk.css +0 -64
  44. package/dist/css/55-library-editor.chunk.css +0 -3
  45. package/dist/css/56-library-editor.chunk.css +0 -3
  46. package/dist/css/58-library-editor.chunk.css +0 -3
  47. package/dist/css/59-library-editor.chunk.css +0 -3
  48. package/dist/css/6-library-editor.chunk.css +0 -42
  49. package/dist/css/60-library-editor.chunk.css +0 -16
  50. package/dist/css/62-library-editor.chunk.css +0 -4
  51. package/dist/css/63-library-editor.chunk.css +0 -168
  52. package/dist/css/67-library-editor.chunk.css +0 -76
  53. package/dist/css/68-library-editor.chunk.css +0 -15
  54. package/dist/css/69-library-editor.chunk.css +0 -15
  55. package/dist/css/7-library-editor.chunk.css +0 -10
  56. package/dist/css/70-library-editor.chunk.css +0 -21
  57. package/dist/css/71-library-editor.chunk.css +0 -38
  58. package/dist/css/72-library-editor.chunk.css +0 -14
  59. package/dist/css/73-library-editor.chunk.css +0 -35
  60. package/dist/css/74-library-editor.chunk.css +0 -27
  61. package/dist/css/75-library-editor.chunk.css +0 -4
  62. package/dist/css/76-library-editor.chunk.css +0 -4
  63. package/dist/css/8-library-editor.chunk.css +0 -7
  64. package/dist/css/library-editor-app.css +0 -9291
  65. package/dist/scripts/0-2f5a66d67a.chunk.js +0 -1
  66. package/dist/scripts/0-aaa3608203.chunk.js +0 -1
  67. package/dist/scripts/0.chunk.js +0 -64
  68. package/dist/scripts/1-323257c9af.chunk.js +0 -1
  69. package/dist/scripts/1-c690200bdb.chunk.js +0 -1
  70. package/dist/scripts/1.chunk.js +0 -75
  71. package/dist/scripts/10-466cc9683b.chunk.js +0 -1
  72. package/dist/scripts/10-abb1be81df.chunk.js +0 -1
  73. package/dist/scripts/10.chunk.js +0 -62
  74. package/dist/scripts/11-3dec7d2c7e.chunk.js +0 -11
  75. package/dist/scripts/11-3ea7c37829.chunk.js +0 -11
  76. package/dist/scripts/11.chunk.js +0 -317
  77. package/dist/scripts/12-26db35cb21.chunk.js +0 -1
  78. package/dist/scripts/12-bb9475eac6.chunk.js +0 -1
  79. package/dist/scripts/12.chunk.js +0 -56
  80. package/dist/scripts/13-a886aeba95.chunk.js +0 -1
  81. package/dist/scripts/13-de5b2bb606.chunk.js +0 -1
  82. package/dist/scripts/13.chunk.js +0 -25
  83. package/dist/scripts/14-c671e8bc46.chunk.js +0 -1
  84. package/dist/scripts/14-d80e0ddb3c.chunk.js +0 -1
  85. package/dist/scripts/14.chunk.js +0 -272
  86. package/dist/scripts/15-3c4f92249c.chunk.js +0 -1
  87. package/dist/scripts/15-ac502fa5ec.chunk.js +0 -1
  88. package/dist/scripts/15.chunk.js +0 -35
  89. package/dist/scripts/16-082a975dbb.chunk.js +0 -1
  90. package/dist/scripts/16-783d3e4092.chunk.js +0 -1
  91. package/dist/scripts/16.chunk.js +0 -79
  92. package/dist/scripts/17-b13fb41bd3.chunk.js +0 -1
  93. package/dist/scripts/17-c66a2978ae.chunk.js +0 -1
  94. package/dist/scripts/17.chunk.js +0 -40
  95. package/dist/scripts/18.chunk.js +0 -40
  96. package/dist/scripts/19.chunk.js +0 -43
  97. package/dist/scripts/2-7cc9176e8a.chunk.js +0 -1
  98. package/dist/scripts/2-8e809f7467.chunk.js +0 -1
  99. package/dist/scripts/2.chunk.js +0 -33
  100. package/dist/scripts/20-6dd45d4f46.chunk.js +0 -1
  101. package/dist/scripts/20-d3444fe825.chunk.js +0 -1
  102. package/dist/scripts/20.chunk.js +0 -18
  103. package/dist/scripts/21-4de1bd55b0.chunk.js +0 -1
  104. package/dist/scripts/21-df15d4d827.chunk.js +0 -1
  105. package/dist/scripts/21.chunk.js +0 -55
  106. package/dist/scripts/22-5d9b14f0b0.chunk.js +0 -1
  107. package/dist/scripts/22-6d8b1c21c5.chunk.js +0 -1
  108. package/dist/scripts/22.chunk.js +0 -47
  109. package/dist/scripts/23-30dffdfecf.chunk.js +0 -1
  110. package/dist/scripts/23-9f6cc70b65.chunk.js +0 -1
  111. package/dist/scripts/23.chunk.js +0 -47
  112. package/dist/scripts/24-a675687323.chunk.js +0 -1
  113. package/dist/scripts/24-b6ec3366cb.chunk.js +0 -1
  114. package/dist/scripts/24.chunk.js +0 -33
  115. package/dist/scripts/25-7faa89d5e3.chunk.js +0 -1
  116. package/dist/scripts/25-a1259842aa.chunk.js +0 -1
  117. package/dist/scripts/25.chunk.js +0 -25
  118. package/dist/scripts/26-2d98320aae.chunk.js +0 -1
  119. package/dist/scripts/26-bbf1c17cb5.chunk.js +0 -1
  120. package/dist/scripts/26.chunk.js +0 -25
  121. package/dist/scripts/27-531532942a.chunk.js +0 -1
  122. package/dist/scripts/27-eff11570d8.chunk.js +0 -1
  123. package/dist/scripts/27.chunk.js +0 -10
  124. package/dist/scripts/28-285eb18d9a.chunk.js +0 -1
  125. package/dist/scripts/28-b71b9ac0eb.chunk.js +0 -1
  126. package/dist/scripts/28.chunk.js +0 -334
  127. package/dist/scripts/29-7be825c44d.chunk.js +0 -1
  128. package/dist/scripts/29-b7d2b7cde1.chunk.js +0 -1
  129. package/dist/scripts/29.chunk.js +0 -202
  130. package/dist/scripts/3-151fc3d544.chunk.js +0 -1
  131. package/dist/scripts/3-eeb2d3d492.chunk.js +0 -1
  132. package/dist/scripts/3.chunk.js +0 -57
  133. package/dist/scripts/30-0e805630f4.chunk.js +0 -1
  134. package/dist/scripts/30-6fdc3a1e11.chunk.js +0 -1
  135. package/dist/scripts/30.chunk.js +0 -137
  136. package/dist/scripts/31-49c7676cff.chunk.js +0 -1
  137. package/dist/scripts/31-b1a679306a.chunk.js +0 -1
  138. package/dist/scripts/31.chunk.js +0 -113
  139. package/dist/scripts/32-7e2b293f23.chunk.js +0 -1
  140. package/dist/scripts/32-e448ef7e82.chunk.js +0 -1
  141. package/dist/scripts/32.chunk.js +0 -115
  142. package/dist/scripts/33-8de738bfb9.chunk.js +0 -1
  143. package/dist/scripts/33-b5cf4cfa6f.chunk.js +0 -1
  144. package/dist/scripts/33.chunk.js +0 -93
  145. package/dist/scripts/34-894005f525.chunk.js +0 -1
  146. package/dist/scripts/34-b206a218e9.chunk.js +0 -1
  147. package/dist/scripts/34.chunk.js +0 -63
  148. package/dist/scripts/35-9cdb858587.chunk.js +0 -1
  149. package/dist/scripts/35-d0137a950e.chunk.js +0 -1
  150. package/dist/scripts/35.chunk.js +0 -48
  151. package/dist/scripts/36-54624daa85.chunk.js +0 -1
  152. package/dist/scripts/36-846ab1a7ae.chunk.js +0 -1
  153. package/dist/scripts/36.chunk.js +0 -33
  154. package/dist/scripts/37-43b5d8c3af.chunk.js +0 -1
  155. package/dist/scripts/37-6ffb96d64b.chunk.js +0 -1
  156. package/dist/scripts/37.chunk.js +0 -25
  157. package/dist/scripts/38-1b53bc0747.chunk.js +0 -1
  158. package/dist/scripts/38-d5dc6c775d.chunk.js +0 -1
  159. package/dist/scripts/38.chunk.js +0 -25
  160. package/dist/scripts/39-674f9ca697.chunk.js +0 -1
  161. package/dist/scripts/39-d1b6c2defd.chunk.js +0 -1
  162. package/dist/scripts/39.chunk.js +0 -19
  163. package/dist/scripts/4-3516e54324.chunk.js +0 -1
  164. package/dist/scripts/4-adab2b69d4.chunk.js +0 -1
  165. package/dist/scripts/4.chunk.js +0 -26
  166. package/dist/scripts/40-4f0571b8a2.chunk.js +0 -1
  167. package/dist/scripts/40-bc2c6ae993.chunk.js +0 -1
  168. package/dist/scripts/40.chunk.js +0 -182
  169. package/dist/scripts/41-2084077727.chunk.js +0 -1
  170. package/dist/scripts/41-a4121258fa.chunk.js +0 -1
  171. package/dist/scripts/41.chunk.js +0 -175
  172. package/dist/scripts/42-16c4690eeb.chunk.js +0 -1
  173. package/dist/scripts/42-c280d7752c.chunk.js +0 -1
  174. package/dist/scripts/42.chunk.js +0 -176
  175. package/dist/scripts/43-16efe31266.chunk.js +0 -1
  176. package/dist/scripts/43-c0a7d44737.chunk.js +0 -1
  177. package/dist/scripts/43.chunk.js +0 -121
  178. package/dist/scripts/44-b04dab25e6.chunk.js +0 -1
  179. package/dist/scripts/44-dbc3731bcb.chunk.js +0 -1
  180. package/dist/scripts/44.chunk.js +0 -122
  181. package/dist/scripts/45-a6b9650b26.chunk.js +0 -1
  182. package/dist/scripts/45-bc07f6ed34.chunk.js +0 -1
  183. package/dist/scripts/45.chunk.js +0 -85
  184. package/dist/scripts/46-319d735448.chunk.js +0 -1
  185. package/dist/scripts/46-b403f6be5b.chunk.js +0 -1
  186. package/dist/scripts/46.chunk.js +0 -78
  187. package/dist/scripts/47-87b93cae7d.chunk.js +0 -1
  188. package/dist/scripts/47-b482682154.chunk.js +0 -1
  189. package/dist/scripts/47.chunk.js +0 -70
  190. package/dist/scripts/48-92ee4ae7a7.chunk.js +0 -1
  191. package/dist/scripts/48-d924ddb603.chunk.js +0 -1
  192. package/dist/scripts/48.chunk.js +0 -88
  193. package/dist/scripts/49-3728b15a3c.chunk.js +0 -1
  194. package/dist/scripts/49-5c6fe71808.chunk.js +0 -1
  195. package/dist/scripts/49.chunk.js +0 -62
  196. package/dist/scripts/5-3fe2876121.chunk.js +0 -1
  197. package/dist/scripts/5-c3a1e51e77.chunk.js +0 -1
  198. package/dist/scripts/5.chunk.js +0 -10
  199. package/dist/scripts/50-38186c72b7.chunk.js +0 -1
  200. package/dist/scripts/50-a20245292f.chunk.js +0 -1
  201. package/dist/scripts/50.chunk.js +0 -64
  202. package/dist/scripts/51-37749b146e.chunk.js +0 -1
  203. package/dist/scripts/51-4e98f3c73f.chunk.js +0 -1
  204. package/dist/scripts/51.chunk.js +0 -55
  205. package/dist/scripts/52-1ece273b07.chunk.js +0 -1
  206. package/dist/scripts/52-67c9e2601b.chunk.js +0 -1
  207. package/dist/scripts/52.chunk.js +0 -47
  208. package/dist/scripts/53-16ef9ed0cb.chunk.js +0 -1
  209. package/dist/scripts/53-eae4eb72dc.chunk.js +0 -1
  210. package/dist/scripts/53.chunk.js +0 -56
  211. package/dist/scripts/54-56e7cb4493.chunk.js +0 -1
  212. package/dist/scripts/54-8d377c5aff.chunk.js +0 -1
  213. package/dist/scripts/54.chunk.js +0 -56
  214. package/dist/scripts/55-b621cecfd3.chunk.js +0 -1
  215. package/dist/scripts/55-c7303d997f.chunk.js +0 -1
  216. package/dist/scripts/55.chunk.js +0 -41
  217. package/dist/scripts/56-53c4bdf797.chunk.js +0 -1
  218. package/dist/scripts/56-db9dbfd5fa.chunk.js +0 -1
  219. package/dist/scripts/56.chunk.js +0 -41
  220. package/dist/scripts/57-be599f08b2.chunk.js +0 -1
  221. package/dist/scripts/57-d31643829d.chunk.js +0 -1
  222. package/dist/scripts/57.chunk.js +0 -50
  223. package/dist/scripts/58-8d1653ecd7.chunk.js +0 -1
  224. package/dist/scripts/58-c0e985cbc4.chunk.js +0 -1
  225. package/dist/scripts/58.chunk.js +0 -33
  226. package/dist/scripts/59-b36d9e7be9.chunk.js +0 -1
  227. package/dist/scripts/59-fcf6a940d6.chunk.js +0 -1
  228. package/dist/scripts/59.chunk.js +0 -33
  229. package/dist/scripts/6-19be7f0d3b.chunk.js +0 -1
  230. package/dist/scripts/6-deb7609cc9.chunk.js +0 -1
  231. package/dist/scripts/6.chunk.js +0 -40
  232. package/dist/scripts/60-6995cd4cf5.chunk.js +0 -1
  233. package/dist/scripts/60-b4f7090720.chunk.js +0 -1
  234. package/dist/scripts/60.chunk.js +0 -33
  235. package/dist/scripts/61-7d1475b277.chunk.js +0 -1
  236. package/dist/scripts/61-cac68e627b.chunk.js +0 -1
  237. package/dist/scripts/61.chunk.js +0 -33
  238. package/dist/scripts/62-35425b2e29.chunk.js +0 -1
  239. package/dist/scripts/62-3a96a88b11.chunk.js +0 -1
  240. package/dist/scripts/62.chunk.js +0 -25
  241. package/dist/scripts/63-714e5c1ee7.chunk.js +0 -1
  242. package/dist/scripts/63-90bb249d0f.chunk.js +0 -1
  243. package/dist/scripts/63.chunk.js +0 -25
  244. package/dist/scripts/64-4f64cd6916.chunk.js +0 -1
  245. package/dist/scripts/64-b92f429d9a.chunk.js +0 -1
  246. package/dist/scripts/64.chunk.js +0 -33
  247. package/dist/scripts/65-4041af23f8.chunk.js +0 -1
  248. package/dist/scripts/65-fe362dec65.chunk.js +0 -1
  249. package/dist/scripts/65.chunk.js +0 -34
  250. package/dist/scripts/66-0bda221806.chunk.js +0 -1
  251. package/dist/scripts/66-1089ec4f34.chunk.js +0 -1
  252. package/dist/scripts/66.chunk.js +0 -33
  253. package/dist/scripts/67-9773a2f9cf.chunk.js +0 -1
  254. package/dist/scripts/67-c03fd65497.chunk.js +0 -1
  255. package/dist/scripts/67.chunk.js +0 -25
  256. package/dist/scripts/68-2ff366d408.chunk.js +0 -1
  257. package/dist/scripts/68-53e4b905db.chunk.js +0 -1
  258. package/dist/scripts/68.chunk.js +0 -25
  259. package/dist/scripts/69-5368c32a2e.chunk.js +0 -1
  260. package/dist/scripts/69-6e315af542.chunk.js +0 -1
  261. package/dist/scripts/69.chunk.js +0 -25
  262. package/dist/scripts/7-8626ad1134.chunk.js +0 -1
  263. package/dist/scripts/7-c86af5cc3a.chunk.js +0 -1
  264. package/dist/scripts/7.chunk.js +0 -33
  265. package/dist/scripts/70-3650ef74f8.chunk.js +0 -1
  266. package/dist/scripts/70-e782f523de.chunk.js +0 -1
  267. package/dist/scripts/70.chunk.js +0 -25
  268. package/dist/scripts/71-979bac4e9f.chunk.js +0 -1
  269. package/dist/scripts/71-a45419aed7.chunk.js +0 -1
  270. package/dist/scripts/71.chunk.js +0 -25
  271. package/dist/scripts/72-93adcc17c5.chunk.js +0 -1
  272. package/dist/scripts/72-be5d02bfe6.chunk.js +0 -1
  273. package/dist/scripts/72.chunk.js +0 -25
  274. package/dist/scripts/73.chunk.js +0 -25
  275. package/dist/scripts/74.chunk.js +0 -25
  276. package/dist/scripts/75.chunk.js +0 -25
  277. package/dist/scripts/76.chunk.js +0 -25
  278. package/dist/scripts/77.chunk.js +0 -26
  279. package/dist/scripts/78.chunk.js +0 -26
  280. package/dist/scripts/79.chunk.js +0 -26
  281. package/dist/scripts/8-2e66d6cb35.chunk.js +0 -1
  282. package/dist/scripts/8-82c9c86dfd.chunk.js +0 -1
  283. package/dist/scripts/8.chunk.js +0 -33
  284. package/dist/scripts/80.chunk.js +0 -26
  285. package/dist/scripts/81.chunk.js +0 -26
  286. package/dist/scripts/82.chunk.js +0 -26
  287. package/dist/scripts/83.chunk.js +0 -26
  288. package/dist/scripts/84.chunk.js +0 -26
  289. package/dist/scripts/85.chunk.js +0 -26
  290. package/dist/scripts/86.chunk.js +0 -18
  291. package/dist/scripts/87.chunk.js +0 -18
  292. package/dist/scripts/88.chunk.js +0 -18
  293. package/dist/scripts/89.chunk.js +0 -18
  294. package/dist/scripts/9-61225547b6.chunk.js +0 -1
  295. package/dist/scripts/9-bd46228181.chunk.js +0 -1
  296. package/dist/scripts/9.chunk.js +0 -18
  297. package/dist/scripts/90.chunk.js +0 -18
  298. package/dist/scripts/91.chunk.js +0 -18
  299. package/dist/scripts/92.chunk.js +0 -18
  300. package/dist/scripts/bundle-39b749b21d.min.js +0 -10
  301. package/dist/scripts/bundle-42046b5b88.min.js +0 -10
  302. package/dist/scripts/bundle-a8b8854ef1.min.js +0 -10
  303. package/dist/scripts/bundle.js +0 -8153
  304. package/dist/scripts/polyfills-022d27190f.min.js +0 -1
  305. package/dist/scripts/polyfills-5139b6bb05.min.js +0 -1
  306. package/dist/scripts/polyfills.js +0 -2701
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[15],{1026:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(262);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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(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 p=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&&c(e,t)}(s,e);var t,n,r,i=u(s);function s(){return l(this,s),i.apply(this,arguments)}return t=s,(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),s}(r.a.Model)},1043:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(6),o=n(2),i=n(3),l=n(1057),a=n(13),c=n(1044),u=n.n(c),s=n(1045),f=n.n(s);function p(e){return(p="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 d(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(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"!==p(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 g=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)}(s,e);var t,n,o,c=y(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),c.call(this,e)}return t=s,(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:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}},{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()}}])&&d(t.prototype,n),o&&d(t,o),s}(o.a.Component)},1044: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})},1045:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},1312: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'<div class="alert alert-info" role="alert">\r\n The ClickView Exchange is a community for educators, read our <a class="info-link" href="'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.guidelinesUrl:i,t))+'" target="_blank">community guidelines</a> and let\'s ensure that we keep the Exchange a place we\'re proud of!\r\n</div>\r\n<p>After you submit your video to the Exchange, we will review it and notify you when your video has been made available.</p>\r\n<div class="form-group">\r\n <label>Select a folder</label>\r\n <div class="folder-dropdown-region"></div>\r\n</div>\r\n'},3: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"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.foldersLoaded:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1431:function(e,t,n){"use strict";n.r(t),n.d(t,"AddToExchangeView",(function(){return x}));var r=n(2),o=n(5),i=n(59),l=n(51),a=n(301),c=n(1026),u=n(13),s=n(196),f=n(262),p=n(1043),d=n(0),h=n(1312),y=n.n(h);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=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&&g(e,t)}(b,e);var t,n,r,h=v(b);function b(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),h.call(this,e)}return t=b,(n=[{key:"initialize",value:function(){this.libraryDataService=o.a.getInstance(d.g.Library,this),this.videoDataService=o.a.getInstance(d.g.Video,this),this.alertService=o.a.getInstance(d.x.Alerts,this),this.listenTo(d.e.LIBRARY,"exchange:".concat(10,":sync"),this.render),this.listenTo(this.channelName,"folder:selected",this.onFolderSelected)}},{key:"name",get:function(){return"AddToExchangeView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return y.a}},{key:"channelName",get:function(){return u.k.generateUniqueChannelName(this)}},{key:"folderTreeKey",get:function(){return"folderselect:".concat(this.cid)}},{key:"regions",value:function(){return{folderDropdown:".folder-dropdown-region"}}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:a.e,title:"Add to the Exchange",spinnerButtonOptions:{model:this.spinnerModel=new c.a,channelName:this.channelName,buttonText:"Submit",onClick:function(t){return e.onClickSubmit(t)}}}]}},{key:"getExchange",value:function(){return this.exchangeLibraries.first()}},{key:"onClickSubmit",value:function(e){var t=this;e&&e.preventDefault(),this.spinnerModel.set(f.c.ShowSpinner,!0),this.videoDataService.copyVideo(this.options.videoId,this.getExchange().get("id"),this.folder.get("id"),(function(){t.alertService.createAlert({heading:"Request submitted",message:"We will notify you once your Exchange request has been approved",type:l.a.Success}),t.triggerMethod("hide")}))}},{key:"onFolderSelected",value:function(e){this.folder=e,this.spinnerModel.set(f.c.Disabled,!1),u.f.setSelected(this.folderTreeKey,e,this.getExchange().children)}},{key:"requiredResources",get:function(){return{config:s.b.config}}},{key:"onBeforeRender",value:function(){this.exchangeLibraries=this.libraryDataService.getExchange(10)}},{key:"onRender",value:function(){this.exchangeLibraries&&this.showChildView("folderDropdown",new p.a({collection:this.getExchange().children,channelName:this.channelName,folderTreeKey:this.folderTreeKey}))}},{key:"viewOptions",value:function(){return{foldersLoaded:!!this.exchangeLibraries,guidelinesUrl:i.a.safeUrlConcat(this.config.get("onlineUrl"),"/exchange/community-guidelines"),spinnerEl:u.r.getSpinner({size:u.s.Large,extraClasses:"mx-auto"})}}}])&&m(t.prototype,n),r&&m(t,r),b}(r.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[15],{1034:function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(2),o=n(261);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 c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return s(this,n)}}function s(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 p=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&&c(e,t)}(s,e);var t,n,r,i=u(s);function s(){return l(this,s),i.apply(this,arguments)}return t=s,(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),s}(r.a.Model)},1051:function(e,t,n){"use strict";n.d(t,"a",(function(){return g}));var r=n(6),o=n(2),i=n(3),l=n(1065),a=n(13),c=n(1052),u=n.n(c),s=n(1053),f=n.n(s);function p(e){return(p="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 d(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(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"!==p(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 g=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)}(s,e);var t,n,o,c=y(s);function s(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),c.call(this,e)}return t=s,(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:"name",get:function(){return"TreeDropdownComponent"}},{key:"template",get:function(){return u.a}},{key:"className",get:function(){return"position-relative"}},{key:"lang",get:function(){return"libraryEditor.treeDropdown"}},{key:"regions",value:function(){return{selector:{el:".selector-region",replaceElement:!1}}}},{key:"events",value:function(){return{"click .create-new":"onClickCreateNew"}}},{key:"defaults",get:function(){return{disabledIds:[]}}},{key:"elements",get:function(){return{button:".custom-select"}}},{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()}}])&&d(t.prototype,n),o&&d(t,o),s}(o.a.Component)},1052: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})},1053:function(e,t,n){e.exports={selectBtn:"_2TTgs",list:"_3wN7o",selector:"_3Xf1P",customItem:"_199PI"}},1320: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'<div class="alert alert-info" role="alert">\r\n The ClickView Exchange is a community for educators, read our <a class="info-link" href="'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.guidelinesUrl:i,t))+'" target="_blank">community guidelines</a> and let\'s ensure that we keep the Exchange a place we\'re proud of!\r\n</div>\r\n<p>After you submit your video to the Exchange, we will review it and notify you when your video has been made available.</p>\r\n<div class="form-group">\r\n <label>Select a folder</label>\r\n <div class="folder-dropdown-region"></div>\r\n</div>\r\n'},3: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"},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.foldersLoaded:i,{name:"if",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1439:function(e,t,n){"use strict";n.r(t),n.d(t,"AddToExchangeView",(function(){return x}));var r=n(2),o=n(5),i=n(59),l=n(51),a=n(300),c=n(1034),u=n(13),s=n(195),f=n(261),p=n(1051),d=n(0),h=n(1320),y=n.n(h);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function m(e,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 g(e,t){return(g=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return w(this,n)}}function w(e,t){return!t||"object"!==b(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var x=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&&g(e,t)}(b,e);var t,n,r,h=v(b);function b(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b),h.call(this,e)}return t=b,(n=[{key:"initialize",value:function(){this.libraryDataService=o.a.getInstance(d.g.Library,this),this.videoDataService=o.a.getInstance(d.g.Video,this),this.alertService=o.a.getInstance(d.x.Alerts,this),this.listenTo(d.e.LIBRARY,"exchange:".concat(10,":sync"),this.render),this.listenTo(this.channelName,"folder:selected",this.onFolderSelected)}},{key:"name",get:function(){return"AddToExchangeView"}},{key:"title",get:function(){return!1}},{key:"template",get:function(){return y.a}},{key:"channelName",get:function(){return u.k.generateUniqueChannelName(this)}},{key:"folderTreeKey",get:function(){return"folderselect:".concat(this.cid)}},{key:"regions",value:function(){return{folderDropdown:".folder-dropdown-region"}}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:a.e,title:"Add to the Exchange",spinnerButtonOptions:{model:this.spinnerModel=new c.a,channelName:this.channelName,buttonText:"Submit",onClick:function(t){return e.onClickSubmit(t)}}}]}},{key:"getExchange",value:function(){return this.exchangeLibraries.first()}},{key:"onClickSubmit",value:function(e){var t=this;e&&e.preventDefault(),this.spinnerModel.set(f.c.ShowSpinner,!0),this.videoDataService.copyVideo(this.options.videoId,this.getExchange().get("id"),this.folder.get("id"),(function(){t.alertService.createAlert({heading:"Request submitted",message:"We will notify you once your Exchange request has been approved",type:l.a.Success}),t.triggerMethod("hide")}))}},{key:"onFolderSelected",value:function(e){this.folder=e,this.spinnerModel.set(f.c.Disabled,!1),u.f.setSelected(this.folderTreeKey,e,this.getExchange().children)}},{key:"requiredResources",get:function(){return{config:s.b.config}}},{key:"onBeforeRender",value:function(){this.exchangeLibraries=this.libraryDataService.getExchange(10)}},{key:"onRender",value:function(){this.exchangeLibraries&&this.showChildView("folderDropdown",new p.a({collection:this.getExchange().children,channelName:this.channelName,folderTreeKey:this.folderTreeKey}))}},{key:"viewOptions",value:function(){return{foldersLoaded:!!this.exchangeLibraries,guidelinesUrl:i.a.safeUrlConcat(this.config.get("onlineUrl"),"/exchange/community-guidelines"),spinnerEl:u.r.getSpinner({size:u.s.Large,extraClasses:"mx-auto"})}}}])&&m(t.prototype,n),r&&m(t,r),b}(r.a.View)}}]);
@@ -1,35 +0,0 @@
1
- (window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[15],{
2
-
3
- /***/ "./src/shared/interfaces/LibraryFoldersIdentifier.ts":
4
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
5
-
6
- "use strict";
7
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"LibraryFoldersIdentifier\", function() { return LibraryFoldersIdentifier; });\n/* harmony import */ var libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/shared/src/legacy/interfaces/index.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/constants/index.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\nvar LibraryFoldersIdentifier = /*#__PURE__*/function (_CollectionIdentifier) {\n _inherits(LibraryFoldersIdentifier, _CollectionIdentifier);\n\n var _super = _createSuper(LibraryFoldersIdentifier);\n\n function LibraryFoldersIdentifier(id, sort) {\n var cursor = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n\n _classCallCheck(this, LibraryFoldersIdentifier);\n\n return _super.call(this, {\n collectionPrefix: shared_constants__WEBPACK_IMPORTED_MODULE_1__[\"DataPrefixes\"].LIBRARY_FOLDERS,\n id: id,\n sort: sort,\n cursor: cursor\n });\n }\n\n return LibraryFoldersIdentifier;\n}(libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_0__[\"CollectionIdentifier\"]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2ludGVyZmFjZXMvTGlicmFyeUZvbGRlcnNJZGVudGlmaWVyLnRzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9pbnRlcmZhY2VzL0xpYnJhcnlGb2xkZXJzSWRlbnRpZmllci50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDb2xsZWN0aW9uSWRlbnRpZmllciB9IGZyb20gJ2xpYnMvc2hhcmVkL2xlZ2FjeS9pbnRlcmZhY2VzJztcclxuaW1wb3J0IHsgU29ydFR5cGUgfSBmcm9tICdsaWJzL3NoYXJlZC9sZWdhY3kvZW51bXMvU29ydFR5cGUnO1xyXG5pbXBvcnQgeyBEYXRhUHJlZml4ZXMgfSBmcm9tICdzaGFyZWQvY29uc3RhbnRzJztcclxuXHJcbmV4cG9ydCBjbGFzcyBMaWJyYXJ5Rm9sZGVyc0lkZW50aWZpZXIgZXh0ZW5kcyBDb2xsZWN0aW9uSWRlbnRpZmllciB7XHJcbiAgY29uc3RydWN0b3IoaWQ6IHN0cmluZywgc29ydDogU29ydFR5cGUsIGN1cnNvcjogc3RyaW5nID0gJycpIHtcclxuICAgIHN1cGVyKHsgY29sbGVjdGlvblByZWZpeDogRGF0YVByZWZpeGVzLkxJQlJBUllfRk9MREVSUywgaWQsIHNvcnQsIGN1cnNvciB9KTtcclxuICB9XHJcbn0iXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUVBO0FBRUE7QUFBQTtBQUNBO0FBREE7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFEQTtBQUNBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBSkE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/interfaces/LibraryFoldersIdentifier.ts\n");
8
-
9
- /***/ }),
10
-
11
- /***/ "./src/shared/interfaces/RecentVideoCollectionIdentifier.ts":
12
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
13
-
14
- "use strict";
15
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RecentVideoCollectionIdentifier\", function() { return RecentVideoCollectionIdentifier; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/shared/src/legacy/interfaces/index.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var apps_search_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/apps/search/models/index.ts\");\n/* harmony import */ var apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/apps/content-updates/utils/index.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }\n\nfunction _nonIterableSpread() { throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\n\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\n\nfunction _iterableToArray(iter) { if (typeof Symbol !== \"undefined\" && Symbol.iterator in Object(iter)) return Array.from(iter); }\n\nfunction _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }\n\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\nvar RecentVideoCollectionIdentifier = /*#__PURE__*/function (_CollectionIdentifier) {\n _inherits(RecentVideoCollectionIdentifier, _CollectionIdentifier);\n\n var _super = _createSuper(RecentVideoCollectionIdentifier);\n\n function RecentVideoCollectionIdentifier(options) {\n var _this;\n\n _classCallCheck(this, RecentVideoCollectionIdentifier);\n\n _this = _super.call(this, {\n collectionPrefix: \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_2__[\"DataPrefixes\"].RECENT_VIDEOS, \":collection\"),\n cursor: options.cursor,\n sort: options.sort\n });\n\n _this.setAdditionalData(options);\n\n return _this;\n }\n\n _createClass(RecentVideoCollectionIdentifier, [{\n key: \"setAdditionalData\",\n value: function setAdditionalData(options) {\n var libraryIds = options.libraryIds,\n dateQueryString = options.dateQueryString,\n subjects = options.subjects;\n if (libraryIds) this.libraryIds = libraryIds;\n\n if (subjects) {\n if (underscore__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"](subjects) && subjects.length) this.subjects = subjects;\n if (!underscore__WEBPACK_IMPORTED_MODULE_0__[\"isArray\"](subjects)) this.subjects = [subjects];\n }\n\n var dateOptions = underscore__WEBPACK_IMPORTED_MODULE_0__[\"findWhere\"](apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_4__[\"ReleaseDateOptions\"], {\n queryString: dateQueryString\n }) || apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_4__[\"DEFAULT_DATE_OPTION\"];\n this.dateOption = new apps_search_models__WEBPACK_IMPORTED_MODULE_3__[\"Option\"](dateOptions);\n }\n }, {\n key: \"toString\",\n value: function toString() {\n var subjectNames = this.subjects && this.subjects.length && this.subjects.map(function (s) {\n return escape(s.get('name'));\n }) || [];\n var params = [this.collectionPrefix, this.libraryIds, this.dateOption.get('from'), this.dateOption.get('to')].concat(_toConsumableArray(subjectNames), [this.cursor]);\n return params.filter(Boolean).join(':');\n }\n }, {\n key: \"toParams\",\n value: function toParams() {\n var params = {};\n if (this.libraryIds) params.libraryIds = this.libraryIds;\n\n if (this.dateOption) {\n params.from = this.dateOption.get('from');\n params.to = this.dateOption.get('to');\n }\n\n if (this.subjects) params.subjectIds = underscore__WEBPACK_IMPORTED_MODULE_0__[\"flatten\"](this.subjects.map(function (s) {\n return s.get('subjectIds');\n }));\n if (this.cursor) params.cursor = this.cursor;\n return params;\n }\n }]);\n\n return RecentVideoCollectionIdentifier;\n}(libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_1__[\"CollectionIdentifier\"]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2ludGVyZmFjZXMvUmVjZW50VmlkZW9Db2xsZWN0aW9uSWRlbnRpZmllci50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvaW50ZXJmYWNlcy9SZWNlbnRWaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCAqIGFzIF8gZnJvbSAndW5kZXJzY29yZSc7XHJcbmltcG9ydCB7IE9iamVjdEhhc2ggfSBmcm9tICdiYWNrYm9uZSc7XHJcblxyXG5pbXBvcnQgeyBDb2xsZWN0aW9uSWRlbnRpZmllciwgQ29sbGVjdGlvbklkZW50aWZpZXJPcHRpb25zIH0gZnJvbSAnbGlicy9zaGFyZWQvbGVnYWN5L2ludGVyZmFjZXMnO1xyXG5cclxuaW1wb3J0IHsgRGF0YVByZWZpeGVzIH0gZnJvbSAnc2hhcmVkL2NvbnN0YW50cyc7XHJcbmltcG9ydCB7IE9wdGlvbiB9IGZyb20gJ2FwcHMvc2VhcmNoL21vZGVscyc7XHJcbmltcG9ydCB7IERFRkFVTFRfREFURV9PUFRJT04sIFJlbGVhc2VEYXRlT3B0aW9ucyB9IGZyb20gJ2FwcHMvY29udGVudC11cGRhdGVzL3V0aWxzJztcclxuXHJcbmludGVyZmFjZSBSZWNlbnRWaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyT3B0aW9ucyBleHRlbmRzIENvbGxlY3Rpb25JZGVudGlmaWVyT3B0aW9ucyB7XHJcbiAgbGlicmFyeUlkczogc3RyaW5nW107XHJcbiAgc3ViamVjdHM/OiBPcHRpb24gfCBPcHRpb25bXTtcclxuICBkYXRlUXVlcnlTdHJpbmc6IHN0cmluZztcclxuICBjdXJzb3I/OiBzdHJpbmc7XHJcbn1cclxuXHJcbmV4cG9ydCBjbGFzcyBSZWNlbnRWaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyIGV4dGVuZHMgQ29sbGVjdGlvbklkZW50aWZpZXIge1xyXG4gIHB1YmxpYyBvcHRpb25zOiBSZWNlbnRWaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyT3B0aW9ucztcclxuXHJcbiAgcHJpdmF0ZSBsaWJyYXJ5SWRzOiBzdHJpbmdbXTtcclxuICBwdWJsaWMgZGF0ZU9wdGlvbjogT3B0aW9uO1xyXG4gIHB1YmxpYyBzdWJqZWN0czogT3B0aW9uW107XHJcblxyXG4gIGNvbnN0cnVjdG9yKG9wdGlvbnM6IFJlY2VudFZpZGVvQ29sbGVjdGlvbklkZW50aWZpZXJPcHRpb25zKSB7XHJcbiAgICBzdXBlcih7XHJcbiAgICAgIGNvbGxlY3Rpb25QcmVmaXg6IGAke0RhdGFQcmVmaXhlcy5SRUNFTlRfVklERU9TfTpjb2xsZWN0aW9uYCxcclxuICAgICAgY3Vyc29yOiBvcHRpb25zLmN1cnNvcixcclxuICAgICAgc29ydDogb3B0aW9ucy5zb3J0XHJcbiAgICB9KTtcclxuXHJcbiAgICB0aGlzLnNldEFkZGl0aW9uYWxEYXRhKG9wdGlvbnMpO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBzZXRBZGRpdGlvbmFsRGF0YShvcHRpb25zOiBSZWNlbnRWaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyT3B0aW9ucyk6IHZvaWQge1xyXG4gICAgY29uc3QgeyBsaWJyYXJ5SWRzLCBkYXRlUXVlcnlTdHJpbmcsIHN1YmplY3RzIH0gPSBvcHRpb25zO1xyXG5cclxuICAgIGlmIChsaWJyYXJ5SWRzKVxyXG4gICAgICB0aGlzLmxpYnJhcnlJZHMgPSBsaWJyYXJ5SWRzO1xyXG5cclxuICAgIGlmIChzdWJqZWN0cykge1xyXG4gICAgICBpZiAoXy5pc0FycmF5KHN1YmplY3RzKSAmJiBzdWJqZWN0cy5sZW5ndGgpXHJcbiAgICAgICAgdGhpcy5zdWJqZWN0cyA9IHN1YmplY3RzO1xyXG5cclxuICAgICAgaWYgKCFfLmlzQXJyYXkoc3ViamVjdHMpKVxyXG4gICAgICAgIHRoaXMuc3ViamVjdHMgPSBbc3ViamVjdHMgYXMgT3B0aW9uXTtcclxuICAgIH1cclxuXHJcbiAgICBjb25zdCBkYXRlT3B0aW9ucyA9IF8uZmluZFdoZXJlKFJlbGVhc2VEYXRlT3B0aW9ucywgeyBxdWVyeVN0cmluZzogZGF0ZVF1ZXJ5U3RyaW5nIH0pIHx8IERFRkFVTFRfREFURV9PUFRJT047XHJcblxyXG4gICAgdGhpcy5kYXRlT3B0aW9uID0gbmV3IE9wdGlvbihkYXRlT3B0aW9ucyk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdG9TdHJpbmcoKTogc3RyaW5nIHtcclxuICAgIGNvbnN0IHN1YmplY3ROYW1lcyA9IHRoaXMuc3ViamVjdHMgJiYgdGhpcy5zdWJqZWN0cy5sZW5ndGggJiYgdGhpcy5zdWJqZWN0cy5tYXAocyA9PiBlc2NhcGUocy5nZXQoJ25hbWUnKSkpIHx8IFtdO1xyXG5cclxuICAgIGNvbnN0IHBhcmFtcyA9IFtcclxuICAgICAgdGhpcy5jb2xsZWN0aW9uUHJlZml4LFxyXG4gICAgICB0aGlzLmxpYnJhcnlJZHMsXHJcbiAgICAgIHRoaXMuZGF0ZU9wdGlvbi5nZXQoJ2Zyb20nKSxcclxuICAgICAgdGhpcy5kYXRlT3B0aW9uLmdldCgndG8nKSxcclxuICAgICAgLi4uc3ViamVjdE5hbWVzLFxyXG4gICAgICB0aGlzLmN1cnNvclxyXG4gICAgXTtcclxuXHJcbiAgICByZXR1cm4gcGFyYW1zLmZpbHRlcihCb29sZWFuKS5qb2luKCc6Jyk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdG9QYXJhbXMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICBjb25zdCBwYXJhbXM6IE9iamVjdEhhc2ggPSB7fTtcclxuXHJcbiAgICBpZiAodGhpcy5saWJyYXJ5SWRzKVxyXG4gICAgICBwYXJhbXMubGlicmFyeUlkcyA9IHRoaXMubGlicmFyeUlkcztcclxuXHJcbiAgICBpZiAodGhpcy5kYXRlT3B0aW9uKSB7XHJcbiAgICAgIHBhcmFtcy5mcm9tID0gdGhpcy5kYXRlT3B0aW9uLmdldCgnZnJvbScpO1xyXG4gICAgICBwYXJhbXMudG8gPSB0aGlzLmRhdGVPcHRpb24uZ2V0KCd0bycpO1xyXG4gICAgfVxyXG5cclxuICAgIGlmICh0aGlzLnN1YmplY3RzKVxyXG4gICAgICBwYXJhbXMuc3ViamVjdElkcyA9IF8uZmxhdHRlbih0aGlzLnN1YmplY3RzLm1hcChzID0+IHMuZ2V0KCdzdWJqZWN0SWRzJykpKTtcclxuXHJcbiAgICBpZiAodGhpcy5jdXJzb3IpXHJcbiAgICAgIHBhcmFtcy5jdXJzb3IgPSB0aGlzLmN1cnNvcjtcclxuXHJcbiAgICByZXR1cm4gcGFyYW1zO1xyXG4gIH1cclxufSJdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUE7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQVNBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFNQTtBQUFBO0FBQ0E7QUFEQTtBQUNBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFIQTtBQUNBO0FBS0E7QUFDQTtBQVJBO0FBUUE7QUFDQTtBQWhCQTtBQUFBO0FBQUE7QUFpQkE7QUFBQTtBQUFBO0FBR0E7QUFDQTtBQUVBO0FBQ0E7QUFHQTtBQUVBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFFQTtBQUNBO0FBbENBO0FBQUE7QUFBQTtBQXFDQTtBQUFBO0FBQUE7QUFFQTtBQVNBO0FBQ0E7QUFqREE7QUFBQTtBQUFBO0FBb0RBO0FBRUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQUE7QUFFQTtBQUdBO0FBQ0E7QUFyRUE7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/interfaces/RecentVideoCollectionIdentifier.ts\n");
16
-
17
- /***/ }),
18
-
19
- /***/ "./src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.ts":
20
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
21
-
22
- "use strict";
23
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"RecentVideoSubjectCollectionIdentifier\", function() { return RecentVideoSubjectCollectionIdentifier; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/shared/src/legacy/interfaces/index.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var apps_search_models__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/apps/search/models/index.ts\");\n/* harmony import */ var apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/apps/content-updates/utils/index.ts\");\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\nvar RecentVideoSubjectCollectionIdentifier = /*#__PURE__*/function (_CollectionIdentifier) {\n _inherits(RecentVideoSubjectCollectionIdentifier, _CollectionIdentifier);\n\n var _super = _createSuper(RecentVideoSubjectCollectionIdentifier);\n\n function RecentVideoSubjectCollectionIdentifier(options) {\n var _this;\n\n _classCallCheck(this, RecentVideoSubjectCollectionIdentifier);\n\n _this = _super.call(this, {\n collectionPrefix: \"\".concat(shared_constants__WEBPACK_IMPORTED_MODULE_2__[\"DataPrefixes\"].RECENT_SUBJECTS, \":collection\"),\n sort: options.sort\n });\n\n _this.setAdditionalData(options);\n\n return _this;\n }\n\n _createClass(RecentVideoSubjectCollectionIdentifier, [{\n key: \"setAdditionalData\",\n value: function setAdditionalData(options) {\n var libraryIds = options.libraryIds,\n dateQueryString = options.dateQueryString;\n if (libraryIds) this.libraryIds = libraryIds;\n var dateOptions = underscore__WEBPACK_IMPORTED_MODULE_0__[\"findWhere\"](apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_4__[\"ReleaseDateOptions\"], {\n queryString: dateQueryString\n }) || apps_content_updates_utils__WEBPACK_IMPORTED_MODULE_4__[\"DEFAULT_DATE_OPTION\"];\n this.dateOption = new apps_search_models__WEBPACK_IMPORTED_MODULE_3__[\"Option\"](dateOptions);\n }\n }, {\n key: \"toString\",\n value: function toString() {\n var params = [this.collectionPrefix, this.libraryIds, this.dateOption.get('from'), this.dateOption.get('to')];\n return params.filter(Boolean).join(':');\n }\n }, {\n key: \"toParams\",\n value: function toParams() {\n var params = {};\n if (this.libraryIds) params.libraryIds = this.libraryIds;\n\n if (this.dateOption) {\n params.from = this.dateOption.get('from');\n params.to = this.dateOption.get('to');\n }\n\n return params;\n }\n }]);\n\n return RecentVideoSubjectCollectionIdentifier;\n}(libs_shared_legacy_interfaces__WEBPACK_IMPORTED_MODULE_1__[\"CollectionIdentifier\"]);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2ludGVyZmFjZXMvUmVjZW50VmlkZW9TdWJqZWN0Q29sbGVjdGlvbklkZW50aWZpZXIudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2ludGVyZmFjZXMvUmVjZW50VmlkZW9TdWJqZWN0Q29sbGVjdGlvbklkZW50aWZpZXIudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgXyBmcm9tICd1bmRlcnNjb3JlJztcclxuaW1wb3J0IHsgT2JqZWN0SGFzaCB9IGZyb20gJ2JhY2tib25lJztcclxuaW1wb3J0IHsgQ29sbGVjdGlvbklkZW50aWZpZXIsIENvbGxlY3Rpb25JZGVudGlmaWVyT3B0aW9ucyB9IGZyb20gJ2xpYnMvc2hhcmVkL2xlZ2FjeS9pbnRlcmZhY2VzJztcclxuaW1wb3J0IHsgRGF0YVByZWZpeGVzIH0gZnJvbSAnc2hhcmVkL2NvbnN0YW50cyc7XHJcbmltcG9ydCB7IE9wdGlvbiB9IGZyb20gJ2FwcHMvc2VhcmNoL21vZGVscyc7XHJcbmltcG9ydCB7IERFRkFVTFRfREFURV9PUFRJT04sIFJlbGVhc2VEYXRlT3B0aW9ucyB9IGZyb20gJ2FwcHMvY29udGVudC11cGRhdGVzL3V0aWxzJztcclxuXHJcbmludGVyZmFjZSBSZWNlbnRWaWRlb1N1YmplY3RDb2xsZWN0aW9uSWRlbnRpZmllck9wdGlvbnMgZXh0ZW5kcyBDb2xsZWN0aW9uSWRlbnRpZmllck9wdGlvbnMge1xyXG4gIGxpYnJhcnlJZHM6IHN0cmluZ1tdO1xyXG4gIGRhdGVRdWVyeVN0cmluZzogc3RyaW5nO1xyXG59XHJcblxyXG5leHBvcnQgY2xhc3MgUmVjZW50VmlkZW9TdWJqZWN0Q29sbGVjdGlvbklkZW50aWZpZXIgZXh0ZW5kcyBDb2xsZWN0aW9uSWRlbnRpZmllciB7XHJcbiAgcHJpdmF0ZSBsaWJyYXJ5SWRzOiBzdHJpbmdbXTtcclxuICBwdWJsaWMgZGF0ZU9wdGlvbjogT3B0aW9uO1xyXG5cclxuICBjb25zdHJ1Y3RvcihvcHRpb25zOiBSZWNlbnRWaWRlb1N1YmplY3RDb2xsZWN0aW9uSWRlbnRpZmllck9wdGlvbnMpIHtcclxuICAgIHN1cGVyKHtcclxuICAgICAgY29sbGVjdGlvblByZWZpeDogYCR7RGF0YVByZWZpeGVzLlJFQ0VOVF9TVUJKRUNUU306Y29sbGVjdGlvbmAsXHJcbiAgICAgIHNvcnQ6IG9wdGlvbnMuc29ydFxyXG4gICAgfSk7XHJcblxyXG4gICAgdGhpcy5zZXRBZGRpdGlvbmFsRGF0YShvcHRpb25zKTtcclxuICB9XHJcblxyXG4gIHByaXZhdGUgc2V0QWRkaXRpb25hbERhdGEob3B0aW9uczogUmVjZW50VmlkZW9TdWJqZWN0Q29sbGVjdGlvbklkZW50aWZpZXJPcHRpb25zKTogdm9pZCB7XHJcbiAgICBjb25zdCB7IGxpYnJhcnlJZHMsIGRhdGVRdWVyeVN0cmluZyB9ID0gb3B0aW9ucztcclxuXHJcbiAgICBpZiAobGlicmFyeUlkcylcclxuICAgICAgdGhpcy5saWJyYXJ5SWRzID0gbGlicmFyeUlkcztcclxuXHJcbiAgICBjb25zdCBkYXRlT3B0aW9ucyA9IF8uZmluZFdoZXJlKFJlbGVhc2VEYXRlT3B0aW9ucywgeyBxdWVyeVN0cmluZzogZGF0ZVF1ZXJ5U3RyaW5nIH0pIHx8IERFRkFVTFRfREFURV9PUFRJT047XHJcblxyXG4gICAgdGhpcy5kYXRlT3B0aW9uID0gbmV3IE9wdGlvbihkYXRlT3B0aW9ucyk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdG9TdHJpbmcoKTogc3RyaW5nIHtcclxuICAgIGNvbnN0IHBhcmFtcyA9IFtcclxuICAgICAgdGhpcy5jb2xsZWN0aW9uUHJlZml4LFxyXG4gICAgICB0aGlzLmxpYnJhcnlJZHMsXHJcbiAgICAgIHRoaXMuZGF0ZU9wdGlvbi5nZXQoJ2Zyb20nKSxcclxuICAgICAgdGhpcy5kYXRlT3B0aW9uLmdldCgndG8nKVxyXG4gICAgXTtcclxuXHJcbiAgICByZXR1cm4gcGFyYW1zLmZpbHRlcihCb29sZWFuKS5qb2luKCc6Jyk7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgdG9QYXJhbXMoKTogT2JqZWN0SGFzaCB7XHJcbiAgICBjb25zdCBwYXJhbXM6IE9iamVjdEhhc2ggPSB7fTtcclxuXHJcbiAgICBpZiAodGhpcy5saWJyYXJ5SWRzKVxyXG4gICAgICBwYXJhbXMubGlicmFyeUlkcyA9IHRoaXMubGlicmFyeUlkcztcclxuXHJcbiAgICBpZiAodGhpcy5kYXRlT3B0aW9uKSB7XHJcbiAgICAgIHBhcmFtcy5mcm9tID0gdGhpcy5kYXRlT3B0aW9uLmdldCgnZnJvbScpO1xyXG4gICAgICBwYXJhbXMudG8gPSB0aGlzLmRhdGVPcHRpb24uZ2V0KCd0bycpO1xyXG4gICAgfVxyXG5cclxuICAgIHJldHVybiBwYXJhbXM7XHJcbiAgfVxyXG59Il0sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBT0E7QUFBQTtBQUNBO0FBREE7QUFDQTtBQUdBO0FBQUE7QUFDQTtBQURBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFGQTtBQUNBO0FBSUE7QUFDQTtBQVBBO0FBT0E7QUFDQTtBQVpBO0FBQUE7QUFBQTtBQWFBO0FBQUE7QUFHQTtBQUdBO0FBQUE7QUFBQTtBQUVBO0FBQ0E7QUF0QkE7QUFBQTtBQUFBO0FBeUJBO0FBT0E7QUFDQTtBQWpDQTtBQUFBO0FBQUE7QUFvQ0E7QUFFQTtBQUNBO0FBRUE7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUEvQ0E7QUFDQTtBQURBO0FBQUEiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.ts\n");
24
-
25
- /***/ }),
26
-
27
- /***/ "./src/shared/interfaces/index.ts":
28
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
29
-
30
- "use strict";
31
- eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _VideoCollectionIdentifier__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"./src/shared/interfaces/VideoCollectionIdentifier.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"VideoCollectionIdentifier\", function() { return _VideoCollectionIdentifier__WEBPACK_IMPORTED_MODULE_0__[\"VideoCollectionIdentifier\"]; });\n\n/* harmony import */ var _RecentVideoCollectionIdentifier__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/interfaces/RecentVideoCollectionIdentifier.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RecentVideoCollectionIdentifier\", function() { return _RecentVideoCollectionIdentifier__WEBPACK_IMPORTED_MODULE_1__[\"RecentVideoCollectionIdentifier\"]; });\n\n/* harmony import */ var _RecentVideoSubjectCollectionIdentifier__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"./src/shared/interfaces/RecentVideoSubjectCollectionIdentifier.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"RecentVideoSubjectCollectionIdentifier\", function() { return _RecentVideoSubjectCollectionIdentifier__WEBPACK_IMPORTED_MODULE_2__[\"RecentVideoSubjectCollectionIdentifier\"]; });\n\n/* harmony import */ var _LibraryFoldersIdentifier__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/interfaces/LibraryFoldersIdentifier.ts\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"LibraryFoldersIdentifier\", function() { return _LibraryFoldersIdentifier__WEBPACK_IMPORTED_MODULE_3__[\"LibraryFoldersIdentifier\"]; });\n\n\n\n\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2ludGVyZmFjZXMvaW5kZXgudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2ludGVyZmFjZXMvaW5kZXgudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9WaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyJztcclxuZXhwb3J0ICogZnJvbSAnLi9SZWNlbnRWaWRlb0NvbGxlY3Rpb25JZGVudGlmaWVyJztcclxuZXhwb3J0ICogZnJvbSAnLi9SZWNlbnRWaWRlb1N1YmplY3RDb2xsZWN0aW9uSWRlbnRpZmllcic7XHJcbmV4cG9ydCAqIGZyb20gJy4vTGlicmFyeUZvbGRlcnNJZGVudGlmaWVyJzsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFBQTtBQUFBO0FBQUE7QUFDQTtBQUNBOyIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/interfaces/index.ts\n");
32
-
33
- /***/ })
34
-
35
- }]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[16],{1304:function(n,e,r){n.exports={thumbnail:"_3S7KI"}},1305:function(n,e,r){var l=r(10);n.exports=(l.default||l).template({1:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return(null!=(o=n.lambda(null!=(o=null!=e?e.options:e)?o.spinnerEl:o,e))?o:"")+"\r\n"},3:function(n,e,r,l,t){n.propertyIsEnumerable;var o,a=null!=e?e:n.nullContext||{};return'<div class="row">\r\n <div class="col-7">\r\n <div class="row no-gutters">\r\n'+(null!=(o=r.if.call(a,null!=e?e.title:e,{name:"if",hash:{},fn:n.program(4,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.seriesName:e,{name:"if",hash:{},fn:n.program(6,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.duration:e,{name:"if",hash:{},fn:n.program(8,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.productionYear:e,{name:"if",hash:{},fn:n.program(10,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.audience:e,{name:"if",hash:{},fn:n.program(12,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.ratingCode:e,{name:"if",hash:{},fn:n.program(14,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.itemCode:e,{name:"if",hash:{},fn:n.program(16,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.producer:e,{name:"if",hash:{},fn:n.program(18,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.publisher:e,{name:"if",hash:{},fn:n.program(20,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=(o=null!=e?e.options:e)?o.dateBroadcast:o,{name:"if",hash:{},fn:n.program(22,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.distributor:e,{name:"if",hash:{},fn:n.program(24,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.source:e,{name:"if",hash:{},fn:n.program(26,t,0),inverse:n.noop,data:t}))?o:"")+' </div>\r\n </div>\r\n <div class="col-5">\r\n <div class="thumbnail-region"></div>\r\n </div>\r\n <div class="col-12">\r\n'+(null!=(o=r.if.call(a,null!=e?e.description:e,{name:"if",hash:{},fn:n.program(28,t,0),inverse:n.noop,data:t}))?o:"")+" </div>\r\n</div>\r\n"},4:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Title</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.title||(null!=e?e.title:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"title",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},6:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Series</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.seriesName||(null!=e?e.seriesName:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"seriesName",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},8:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Duration</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.duration||(null!=e?e.duration:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"duration",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},10:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Year</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.productionYear||(null!=e?e.productionYear:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"productionYear",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},12:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Audience</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.audience||(null!=e?e.audience:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"audience",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},14:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Rating</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.ratingCode||(null!=e?e.ratingCode:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"ratingCode",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},16:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Identifier</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.itemCode||(null!=e?e.itemCode:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"itemCode",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},18:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Creator</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.producer||(null!=e?e.producer:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"producer",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},20:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Publisher</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.publisher||(null!=e?e.publisher:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"publisher",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},22:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Date Broadcast</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression(n.lambda(null!=(o=null!=e?e.options:e)?o.dateBroadcast:o,e))+"</p>\r\n </div>\r\n"},24:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Distributor</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.distributor||(null!=e?e.distributor:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"distributor",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},26:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Source</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.source||(null!=e?e.source:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"source",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},28:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <label class="font-weight-bold">Description</label>\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.description||(null!=e?e.description:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"description",hash:{},data:t}):o)+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return(null!=(o=r.unless.call(null!=e?e:n.nullContext||{},null!=(o=null!=e?e.options:e)?o.dataFetched:o,{name:"unless",hash:{},fn:n.program(1,t,0),inverse:n.program(3,t,0),data:t}))?o:"")+"\r\n"},useData:!0})},1437:function(n,e,r){"use strict";r.r(e),r.d(e,"ShowPublisherVideoPopupView",(function(){return x}));var l=r(29),t=r(5),o=r(2),a=r(197),i=r(199),s=r(13),u=r(300),c=r(102),p=r(0),d=r(195),f=r(9),h=r(1304),v=r.n(h),m=r(1305),b=r.n(m);function g(n){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,e){for(var r=0;r<e.length;r++){var l=e[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,l.key,l)}}function w(n,e){return(w=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function E(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var r,l=k(n);if(e){var t=k(this).constructor;r=Reflect.construct(l,arguments,t)}else r=l.apply(this,arguments);return C(this,r)}}function C(n,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function k(n){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var x=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&w(n,e)}(m,n);var e,r,o,h=E(m);function m(n){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,m),h.call(this,n)}return e=m,(r=[{key:"initialize",value:function(){this.migrationVideoDataService=t.a.getInstance(p.g.MigrationVideo,this),this.listenTo(p.e.MIGRATION,"".concat(p.f.CUSTOMER_VIDEO,":").concat(this.options.trackingCode,":sync"),this.render),this.listenTo(p.e.MIGRATION,"".concat(p.f.CUSTOMER_VIDEO,":").concat(this.options.masterId,":sync"),this.render)}},{key:"name",get:function(){return"ShowPublisherVideoPopupView"}},{key:"title",get:function(){return!1}},{key:"tagName",get:function(){return"p"}},{key:"template",get:function(){return b.a}},{key:"regions",value:function(){return{thumbnail:".thumbnail-region"}}},{key:"behaviors",get:function(){return[{behaviorClass:u.e,title:"Publisher Archive Video Details",hideCloseButton:!0,size:"modal-lg"}]}},{key:"getUrl",value:function(){if(this.model){var n=this.config.get("imageCdnUrl"),e=this.model.get("trackingCode");return"".concat(n,"v1/thumbnails/trackingcode/").concat(e)}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?l(this.model.get("dateBroadcast")).format(f.l.FULL_YEAR):""}},{key:"viewOptions",value:function(){return{styles:v.a,dataFetched:!!this.model,spinnerEl:s.r.getSpinner({size:s.s.Large,extraClasses:"mx-auto"}),dateBroadcast:this.getBroadcastDate()}}},{key:"requiredResources",get:function(){return{config:d.b.config}}},{key:"onBeforeRender",value:function(){return this.options.trackingCode&&(this.model=this.migrationVideoDataService.getCustomerVideoByTrackingCode(this.options.trackingCode)),this.options.masterId&&(this.model=this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.masterId)),!!this.model}},{key:"onRender",value:function(){this.showChildView("thumbnail",new a.a({model:new c.a({thumbnail:{url:this.getUrl()}},{parse:!0}),thumbnailOptions:{size:i.a.Small}}))}}])&&y(e.prototype,r),o&&y(e,o),m}(o.a.View)}}]);
@@ -1 +0,0 @@
1
- (window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[16],{1296:function(n,e,r){n.exports={thumbnail:"_3S7KI"}},1297:function(n,e,r){var l=r(10);n.exports=(l.default||l).template({1:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return(null!=(o=n.lambda(null!=(o=null!=e?e.options:e)?o.spinnerEl:o,e))?o:"")+"\r\n"},3:function(n,e,r,l,t){n.propertyIsEnumerable;var o,a=null!=e?e:n.nullContext||{};return'<div class="row">\r\n <div class="col-7">\r\n <div class="row no-gutters">\r\n'+(null!=(o=r.if.call(a,null!=e?e.title:e,{name:"if",hash:{},fn:n.program(4,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.seriesName:e,{name:"if",hash:{},fn:n.program(6,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.duration:e,{name:"if",hash:{},fn:n.program(8,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.productionYear:e,{name:"if",hash:{},fn:n.program(10,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.audience:e,{name:"if",hash:{},fn:n.program(12,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.ratingCode:e,{name:"if",hash:{},fn:n.program(14,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.itemCode:e,{name:"if",hash:{},fn:n.program(16,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.producer:e,{name:"if",hash:{},fn:n.program(18,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.publisher:e,{name:"if",hash:{},fn:n.program(20,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=(o=null!=e?e.options:e)?o.dateBroadcast:o,{name:"if",hash:{},fn:n.program(22,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.distributor:e,{name:"if",hash:{},fn:n.program(24,t,0),inverse:n.noop,data:t}))?o:"")+(null!=(o=r.if.call(a,null!=e?e.source:e,{name:"if",hash:{},fn:n.program(26,t,0),inverse:n.noop,data:t}))?o:"")+' </div>\r\n </div>\r\n <div class="col-5">\r\n <div class="thumbnail-region"></div>\r\n </div>\r\n <div class="col-12">\r\n'+(null!=(o=r.if.call(a,null!=e?e.description:e,{name:"if",hash:{},fn:n.program(28,t,0),inverse:n.noop,data:t}))?o:"")+" </div>\r\n</div>\r\n"},4:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Title</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.title||(null!=e?e.title:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"title",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},6:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Series</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.seriesName||(null!=e?e.seriesName:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"seriesName",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},8:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Duration</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.duration||(null!=e?e.duration:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"duration",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},10:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Year</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.productionYear||(null!=e?e.productionYear:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"productionYear",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},12:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Audience</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.audience||(null!=e?e.audience:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"audience",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},14:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Rating</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.ratingCode||(null!=e?e.ratingCode:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"ratingCode",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},16:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Identifier</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.itemCode||(null!=e?e.itemCode:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"itemCode",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},18:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Creator</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.producer||(null!=e?e.producer:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"producer",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},20:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Publisher</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.publisher||(null!=e?e.publisher:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"publisher",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},22:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Date Broadcast</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression(n.lambda(null!=(o=null!=e?e.options:e)?o.dateBroadcast:o,e))+"</p>\r\n </div>\r\n"},24:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Distributor</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.distributor||(null!=e?e.distributor:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"distributor",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},26:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <div class="col-4">\r\n <label class="font-weight-bold">Source</label>\r\n </div>\r\n <div class="col-8">\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.source||(null!=e?e.source:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"source",hash:{},data:t}):o)+"</p>\r\n </div>\r\n"},28:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return' <label class="font-weight-bold">Description</label>\r\n <p>'+n.escapeExpression("function"==typeof(o=null!=(o=r.description||(null!=e?e.description:e))?o:n.hooks.helperMissing)?o.call(null!=e?e:n.nullContext||{},{name:"description",hash:{},data:t}):o)+"</p>\r\n"},compiler:[8,">= 4.3.0"],main:function(n,e,r,l,t){var o;n.propertyIsEnumerable;return(null!=(o=r.unless.call(null!=e?e:n.nullContext||{},null!=(o=null!=e?e.options:e)?o.dataFetched:o,{name:"unless",hash:{},fn:n.program(1,t,0),inverse:n.program(3,t,0),data:t}))?o:"")+"\r\n"},useData:!0})},1429:function(n,e,r){"use strict";r.r(e),r.d(e,"ShowPublisherVideoPopupView",(function(){return x}));var l=r(29),t=r(5),o=r(2),a=r(198),i=r(200),s=r(13),u=r(301),c=r(103),p=r(0),d=r(196),f=r(9),h=r(1296),v=r.n(h),m=r(1297),b=r.n(m);function g(n){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function y(n,e){for(var r=0;r<e.length;r++){var l=e[r];l.enumerable=l.enumerable||!1,l.configurable=!0,"value"in l&&(l.writable=!0),Object.defineProperty(n,l.key,l)}}function w(n,e){return(w=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function E(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var r,l=k(n);if(e){var t=k(this).constructor;r=Reflect.construct(l,arguments,t)}else r=l.apply(this,arguments);return C(this,r)}}function C(n,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n):e}function k(n){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var x=function(n){!function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(e&&e.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),e&&w(n,e)}(m,n);var e,r,o,h=E(m);function m(n){return function(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}(this,m),h.call(this,n)}return e=m,(r=[{key:"initialize",value:function(){this.migrationVideoDataService=t.a.getInstance(p.g.MigrationVideo,this),this.listenTo(p.e.MIGRATION,"".concat(p.f.CUSTOMER_VIDEO,":").concat(this.options.trackingCode,":sync"),this.render),this.listenTo(p.e.MIGRATION,"".concat(p.f.CUSTOMER_VIDEO,":").concat(this.options.masterId,":sync"),this.render)}},{key:"name",get:function(){return"ShowPublisherVideoPopupView"}},{key:"title",get:function(){return!1}},{key:"tagName",get:function(){return"p"}},{key:"template",get:function(){return b.a}},{key:"regions",value:function(){return{thumbnail:".thumbnail-region"}}},{key:"behaviors",get:function(){return[{behaviorClass:u.e,title:"Publisher Archive Video Details",hideCloseButton:!0,size:"modal-lg"}]}},{key:"getUrl",value:function(){if(this.model){var n=this.config.get("imageCdnUrl"),e=this.model.get("trackingCode");return"".concat(n,"v1/thumbnails/trackingcode/").concat(e)}}},{key:"getBroadcastDate",value:function(){return this.model.get("dateBroadcast")?l(this.model.get("dateBroadcast")).format(f.l.FULL_YEAR):""}},{key:"viewOptions",value:function(){return{styles:v.a,dataFetched:!!this.model,spinnerEl:s.r.getSpinner({size:s.s.Large,extraClasses:"mx-auto"}),dateBroadcast:this.getBroadcastDate()}}},{key:"requiredResources",get:function(){return{config:d.b.config}}},{key:"onBeforeRender",value:function(){return this.options.trackingCode&&(this.model=this.migrationVideoDataService.getCustomerVideoByTrackingCode(this.options.trackingCode)),this.options.masterId&&(this.model=this.migrationVideoDataService.getCustomerVideoByMasterId(this.options.masterId)),!!this.model}},{key:"onRender",value:function(){this.showChildView("thumbnail",new a.a({model:new c.a({thumbnail:{url:this.getUrl()}},{parse:!0}),thumbnailOptions:{size:i.a.Small}}))}}])&&y(e.prototype,r),o&&y(e,o),m}(o.a.View)}}]);