@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.
- package/dist/bundles.json +1 -1
- package/dist/scripts/{bundle-f18858be26.min.js → bundle-d78cc0ce15.min.js} +1 -1
- package/package.json +3 -3
- package/dist/css/0-library-editor.chunk.css +0 -26
- package/dist/css/10-library-editor.chunk.css +0 -25
- package/dist/css/11-library-editor.chunk.css +0 -135
- package/dist/css/12-library-editor.chunk.css +0 -18
- package/dist/css/13-library-editor.chunk.css +0 -21
- package/dist/css/14-library-editor.chunk.css +0 -76
- package/dist/css/16-library-editor.chunk.css +0 -52
- package/dist/css/17-library-editor.chunk.css +0 -14
- package/dist/css/18-library-editor.chunk.css +0 -18
- package/dist/css/2-library-editor.chunk.css +0 -143
- package/dist/css/21-library-editor.chunk.css +0 -52
- package/dist/css/22-library-editor.chunk.css +0 -12
- package/dist/css/23-library-editor.chunk.css +0 -25
- package/dist/css/25-library-editor.chunk.css +0 -35
- package/dist/css/26-library-editor.chunk.css +0 -20
- package/dist/css/28-library-editor.chunk.css +0 -63
- package/dist/css/29-library-editor.chunk.css +0 -80
- package/dist/css/3-library-editor.chunk.css +0 -15
- package/dist/css/30-library-editor.chunk.css +0 -33
- package/dist/css/31-library-editor.chunk.css +0 -30
- package/dist/css/32-library-editor.chunk.css +0 -45
- package/dist/css/33-library-editor.chunk.css +0 -13
- package/dist/css/34-library-editor.chunk.css +0 -19
- package/dist/css/35-library-editor.chunk.css +0 -18
- package/dist/css/36-library-editor.chunk.css +0 -12
- package/dist/css/37-library-editor.chunk.css +0 -5
- package/dist/css/38-library-editor.chunk.css +0 -5
- package/dist/css/40-library-editor.chunk.css +0 -24
- package/dist/css/41-library-editor.chunk.css +0 -76
- package/dist/css/42-library-editor.chunk.css +0 -44
- package/dist/css/43-library-editor.chunk.css +0 -30
- package/dist/css/44-library-editor.chunk.css +0 -12
- package/dist/css/45-library-editor.chunk.css +0 -25
- package/dist/css/46-library-editor.chunk.css +0 -24
- package/dist/css/47-library-editor.chunk.css +0 -84
- package/dist/css/48-library-editor.chunk.css +0 -4
- package/dist/css/49-library-editor.chunk.css +0 -33
- package/dist/css/50-library-editor.chunk.css +0 -20
- package/dist/css/51-library-editor.chunk.css +0 -37
- package/dist/css/52-library-editor.chunk.css +0 -64
- package/dist/css/55-library-editor.chunk.css +0 -3
- package/dist/css/56-library-editor.chunk.css +0 -3
- package/dist/css/58-library-editor.chunk.css +0 -3
- package/dist/css/59-library-editor.chunk.css +0 -3
- package/dist/css/6-library-editor.chunk.css +0 -42
- package/dist/css/60-library-editor.chunk.css +0 -16
- package/dist/css/62-library-editor.chunk.css +0 -4
- package/dist/css/63-library-editor.chunk.css +0 -168
- package/dist/css/67-library-editor.chunk.css +0 -76
- package/dist/css/68-library-editor.chunk.css +0 -15
- package/dist/css/69-library-editor.chunk.css +0 -15
- package/dist/css/7-library-editor.chunk.css +0 -10
- package/dist/css/70-library-editor.chunk.css +0 -21
- package/dist/css/71-library-editor.chunk.css +0 -38
- package/dist/css/72-library-editor.chunk.css +0 -14
- package/dist/css/73-library-editor.chunk.css +0 -35
- package/dist/css/74-library-editor.chunk.css +0 -27
- package/dist/css/75-library-editor.chunk.css +0 -4
- package/dist/css/76-library-editor.chunk.css +0 -4
- package/dist/css/8-library-editor.chunk.css +0 -7
- package/dist/css/library-editor-app.css +0 -9291
- package/dist/scripts/0-2f5a66d67a.chunk.js +0 -1
- package/dist/scripts/0-aaa3608203.chunk.js +0 -1
- package/dist/scripts/0.chunk.js +0 -64
- package/dist/scripts/1-323257c9af.chunk.js +0 -1
- package/dist/scripts/1-c690200bdb.chunk.js +0 -1
- package/dist/scripts/1.chunk.js +0 -75
- package/dist/scripts/10-466cc9683b.chunk.js +0 -1
- package/dist/scripts/10-abb1be81df.chunk.js +0 -1
- package/dist/scripts/10.chunk.js +0 -62
- package/dist/scripts/11-3dec7d2c7e.chunk.js +0 -11
- package/dist/scripts/11-3ea7c37829.chunk.js +0 -11
- package/dist/scripts/11.chunk.js +0 -317
- package/dist/scripts/12-26db35cb21.chunk.js +0 -1
- package/dist/scripts/12-bb9475eac6.chunk.js +0 -1
- package/dist/scripts/12.chunk.js +0 -56
- package/dist/scripts/13-a886aeba95.chunk.js +0 -1
- package/dist/scripts/13-de5b2bb606.chunk.js +0 -1
- package/dist/scripts/13.chunk.js +0 -25
- package/dist/scripts/14-c671e8bc46.chunk.js +0 -1
- package/dist/scripts/14-d80e0ddb3c.chunk.js +0 -1
- package/dist/scripts/14.chunk.js +0 -272
- package/dist/scripts/15-3c4f92249c.chunk.js +0 -1
- package/dist/scripts/15-ac502fa5ec.chunk.js +0 -1
- package/dist/scripts/15.chunk.js +0 -35
- package/dist/scripts/16-082a975dbb.chunk.js +0 -1
- package/dist/scripts/16-783d3e4092.chunk.js +0 -1
- package/dist/scripts/16.chunk.js +0 -79
- package/dist/scripts/17-b13fb41bd3.chunk.js +0 -1
- package/dist/scripts/17-c66a2978ae.chunk.js +0 -1
- package/dist/scripts/17.chunk.js +0 -40
- package/dist/scripts/18.chunk.js +0 -40
- package/dist/scripts/19.chunk.js +0 -43
- package/dist/scripts/2-7cc9176e8a.chunk.js +0 -1
- package/dist/scripts/2-8e809f7467.chunk.js +0 -1
- package/dist/scripts/2.chunk.js +0 -33
- package/dist/scripts/20-6dd45d4f46.chunk.js +0 -1
- package/dist/scripts/20-d3444fe825.chunk.js +0 -1
- package/dist/scripts/20.chunk.js +0 -18
- package/dist/scripts/21-4de1bd55b0.chunk.js +0 -1
- package/dist/scripts/21-df15d4d827.chunk.js +0 -1
- package/dist/scripts/21.chunk.js +0 -55
- package/dist/scripts/22-5d9b14f0b0.chunk.js +0 -1
- package/dist/scripts/22-6d8b1c21c5.chunk.js +0 -1
- package/dist/scripts/22.chunk.js +0 -47
- package/dist/scripts/23-30dffdfecf.chunk.js +0 -1
- package/dist/scripts/23-9f6cc70b65.chunk.js +0 -1
- package/dist/scripts/23.chunk.js +0 -47
- package/dist/scripts/24-a675687323.chunk.js +0 -1
- package/dist/scripts/24-b6ec3366cb.chunk.js +0 -1
- package/dist/scripts/24.chunk.js +0 -33
- package/dist/scripts/25-7faa89d5e3.chunk.js +0 -1
- package/dist/scripts/25-a1259842aa.chunk.js +0 -1
- package/dist/scripts/25.chunk.js +0 -25
- package/dist/scripts/26-2d98320aae.chunk.js +0 -1
- package/dist/scripts/26-bbf1c17cb5.chunk.js +0 -1
- package/dist/scripts/26.chunk.js +0 -25
- package/dist/scripts/27-531532942a.chunk.js +0 -1
- package/dist/scripts/27-eff11570d8.chunk.js +0 -1
- package/dist/scripts/27.chunk.js +0 -10
- package/dist/scripts/28-285eb18d9a.chunk.js +0 -1
- package/dist/scripts/28-b71b9ac0eb.chunk.js +0 -1
- package/dist/scripts/28.chunk.js +0 -334
- package/dist/scripts/29-7be825c44d.chunk.js +0 -1
- package/dist/scripts/29-b7d2b7cde1.chunk.js +0 -1
- package/dist/scripts/29.chunk.js +0 -202
- package/dist/scripts/3-151fc3d544.chunk.js +0 -1
- package/dist/scripts/3-eeb2d3d492.chunk.js +0 -1
- package/dist/scripts/3.chunk.js +0 -57
- package/dist/scripts/30-0e805630f4.chunk.js +0 -1
- package/dist/scripts/30-6fdc3a1e11.chunk.js +0 -1
- package/dist/scripts/30.chunk.js +0 -137
- package/dist/scripts/31-49c7676cff.chunk.js +0 -1
- package/dist/scripts/31-b1a679306a.chunk.js +0 -1
- package/dist/scripts/31.chunk.js +0 -113
- package/dist/scripts/32-7e2b293f23.chunk.js +0 -1
- package/dist/scripts/32-e448ef7e82.chunk.js +0 -1
- package/dist/scripts/32.chunk.js +0 -115
- package/dist/scripts/33-8de738bfb9.chunk.js +0 -1
- package/dist/scripts/33-b5cf4cfa6f.chunk.js +0 -1
- package/dist/scripts/33.chunk.js +0 -93
- package/dist/scripts/34-894005f525.chunk.js +0 -1
- package/dist/scripts/34-b206a218e9.chunk.js +0 -1
- package/dist/scripts/34.chunk.js +0 -63
- package/dist/scripts/35-9cdb858587.chunk.js +0 -1
- package/dist/scripts/35-d0137a950e.chunk.js +0 -1
- package/dist/scripts/35.chunk.js +0 -48
- package/dist/scripts/36-54624daa85.chunk.js +0 -1
- package/dist/scripts/36-846ab1a7ae.chunk.js +0 -1
- package/dist/scripts/36.chunk.js +0 -33
- package/dist/scripts/37-43b5d8c3af.chunk.js +0 -1
- package/dist/scripts/37-6ffb96d64b.chunk.js +0 -1
- package/dist/scripts/37.chunk.js +0 -25
- package/dist/scripts/38-1b53bc0747.chunk.js +0 -1
- package/dist/scripts/38-d5dc6c775d.chunk.js +0 -1
- package/dist/scripts/38.chunk.js +0 -25
- package/dist/scripts/39-674f9ca697.chunk.js +0 -1
- package/dist/scripts/39-d1b6c2defd.chunk.js +0 -1
- package/dist/scripts/39.chunk.js +0 -19
- package/dist/scripts/4-3516e54324.chunk.js +0 -1
- package/dist/scripts/4-adab2b69d4.chunk.js +0 -1
- package/dist/scripts/4.chunk.js +0 -26
- package/dist/scripts/40-4f0571b8a2.chunk.js +0 -1
- package/dist/scripts/40-bc2c6ae993.chunk.js +0 -1
- package/dist/scripts/40.chunk.js +0 -182
- package/dist/scripts/41-2084077727.chunk.js +0 -1
- package/dist/scripts/41-a4121258fa.chunk.js +0 -1
- package/dist/scripts/41.chunk.js +0 -175
- package/dist/scripts/42-16c4690eeb.chunk.js +0 -1
- package/dist/scripts/42-c280d7752c.chunk.js +0 -1
- package/dist/scripts/42.chunk.js +0 -176
- package/dist/scripts/43-16efe31266.chunk.js +0 -1
- package/dist/scripts/43-c0a7d44737.chunk.js +0 -1
- package/dist/scripts/43.chunk.js +0 -121
- package/dist/scripts/44-b04dab25e6.chunk.js +0 -1
- package/dist/scripts/44-dbc3731bcb.chunk.js +0 -1
- package/dist/scripts/44.chunk.js +0 -122
- package/dist/scripts/45-a6b9650b26.chunk.js +0 -1
- package/dist/scripts/45-bc07f6ed34.chunk.js +0 -1
- package/dist/scripts/45.chunk.js +0 -85
- package/dist/scripts/46-319d735448.chunk.js +0 -1
- package/dist/scripts/46-b403f6be5b.chunk.js +0 -1
- package/dist/scripts/46.chunk.js +0 -78
- package/dist/scripts/47-87b93cae7d.chunk.js +0 -1
- package/dist/scripts/47-b482682154.chunk.js +0 -1
- package/dist/scripts/47.chunk.js +0 -70
- package/dist/scripts/48-92ee4ae7a7.chunk.js +0 -1
- package/dist/scripts/48-d924ddb603.chunk.js +0 -1
- package/dist/scripts/48.chunk.js +0 -88
- package/dist/scripts/49-3728b15a3c.chunk.js +0 -1
- package/dist/scripts/49-5c6fe71808.chunk.js +0 -1
- package/dist/scripts/49.chunk.js +0 -62
- package/dist/scripts/5-3fe2876121.chunk.js +0 -1
- package/dist/scripts/5-c3a1e51e77.chunk.js +0 -1
- package/dist/scripts/5.chunk.js +0 -10
- package/dist/scripts/50-38186c72b7.chunk.js +0 -1
- package/dist/scripts/50-a20245292f.chunk.js +0 -1
- package/dist/scripts/50.chunk.js +0 -64
- package/dist/scripts/51-37749b146e.chunk.js +0 -1
- package/dist/scripts/51-4e98f3c73f.chunk.js +0 -1
- package/dist/scripts/51.chunk.js +0 -55
- package/dist/scripts/52-1ece273b07.chunk.js +0 -1
- package/dist/scripts/52-67c9e2601b.chunk.js +0 -1
- package/dist/scripts/52.chunk.js +0 -47
- package/dist/scripts/53-16ef9ed0cb.chunk.js +0 -1
- package/dist/scripts/53-eae4eb72dc.chunk.js +0 -1
- package/dist/scripts/53.chunk.js +0 -56
- package/dist/scripts/54-56e7cb4493.chunk.js +0 -1
- package/dist/scripts/54-8d377c5aff.chunk.js +0 -1
- package/dist/scripts/54.chunk.js +0 -56
- package/dist/scripts/55-b621cecfd3.chunk.js +0 -1
- package/dist/scripts/55-c7303d997f.chunk.js +0 -1
- package/dist/scripts/55.chunk.js +0 -41
- package/dist/scripts/56-53c4bdf797.chunk.js +0 -1
- package/dist/scripts/56-db9dbfd5fa.chunk.js +0 -1
- package/dist/scripts/56.chunk.js +0 -41
- package/dist/scripts/57-be599f08b2.chunk.js +0 -1
- package/dist/scripts/57-d31643829d.chunk.js +0 -1
- package/dist/scripts/57.chunk.js +0 -50
- package/dist/scripts/58-8d1653ecd7.chunk.js +0 -1
- package/dist/scripts/58-c0e985cbc4.chunk.js +0 -1
- package/dist/scripts/58.chunk.js +0 -33
- package/dist/scripts/59-b36d9e7be9.chunk.js +0 -1
- package/dist/scripts/59-fcf6a940d6.chunk.js +0 -1
- package/dist/scripts/59.chunk.js +0 -33
- package/dist/scripts/6-19be7f0d3b.chunk.js +0 -1
- package/dist/scripts/6-deb7609cc9.chunk.js +0 -1
- package/dist/scripts/6.chunk.js +0 -40
- package/dist/scripts/60-6995cd4cf5.chunk.js +0 -1
- package/dist/scripts/60-b4f7090720.chunk.js +0 -1
- package/dist/scripts/60.chunk.js +0 -33
- package/dist/scripts/61-7d1475b277.chunk.js +0 -1
- package/dist/scripts/61-cac68e627b.chunk.js +0 -1
- package/dist/scripts/61.chunk.js +0 -33
- package/dist/scripts/62-35425b2e29.chunk.js +0 -1
- package/dist/scripts/62-3a96a88b11.chunk.js +0 -1
- package/dist/scripts/62.chunk.js +0 -25
- package/dist/scripts/63-714e5c1ee7.chunk.js +0 -1
- package/dist/scripts/63-90bb249d0f.chunk.js +0 -1
- package/dist/scripts/63.chunk.js +0 -25
- package/dist/scripts/64-4f64cd6916.chunk.js +0 -1
- package/dist/scripts/64-b92f429d9a.chunk.js +0 -1
- package/dist/scripts/64.chunk.js +0 -33
- package/dist/scripts/65-4041af23f8.chunk.js +0 -1
- package/dist/scripts/65-fe362dec65.chunk.js +0 -1
- package/dist/scripts/65.chunk.js +0 -34
- package/dist/scripts/66-0bda221806.chunk.js +0 -1
- package/dist/scripts/66-1089ec4f34.chunk.js +0 -1
- package/dist/scripts/66.chunk.js +0 -33
- package/dist/scripts/67-9773a2f9cf.chunk.js +0 -1
- package/dist/scripts/67-c03fd65497.chunk.js +0 -1
- package/dist/scripts/67.chunk.js +0 -25
- package/dist/scripts/68-2ff366d408.chunk.js +0 -1
- package/dist/scripts/68-53e4b905db.chunk.js +0 -1
- package/dist/scripts/68.chunk.js +0 -25
- package/dist/scripts/69-5368c32a2e.chunk.js +0 -1
- package/dist/scripts/69-6e315af542.chunk.js +0 -1
- package/dist/scripts/69.chunk.js +0 -25
- package/dist/scripts/7-8626ad1134.chunk.js +0 -1
- package/dist/scripts/7-c86af5cc3a.chunk.js +0 -1
- package/dist/scripts/7.chunk.js +0 -33
- package/dist/scripts/70-3650ef74f8.chunk.js +0 -1
- package/dist/scripts/70-e782f523de.chunk.js +0 -1
- package/dist/scripts/70.chunk.js +0 -25
- package/dist/scripts/71-979bac4e9f.chunk.js +0 -1
- package/dist/scripts/71-a45419aed7.chunk.js +0 -1
- package/dist/scripts/71.chunk.js +0 -25
- package/dist/scripts/72-93adcc17c5.chunk.js +0 -1
- package/dist/scripts/72-be5d02bfe6.chunk.js +0 -1
- package/dist/scripts/72.chunk.js +0 -25
- package/dist/scripts/73.chunk.js +0 -25
- package/dist/scripts/74.chunk.js +0 -25
- package/dist/scripts/75.chunk.js +0 -25
- package/dist/scripts/76.chunk.js +0 -25
- package/dist/scripts/77.chunk.js +0 -26
- package/dist/scripts/78.chunk.js +0 -26
- package/dist/scripts/79.chunk.js +0 -26
- package/dist/scripts/8-2e66d6cb35.chunk.js +0 -1
- package/dist/scripts/8-82c9c86dfd.chunk.js +0 -1
- package/dist/scripts/8.chunk.js +0 -33
- package/dist/scripts/80.chunk.js +0 -26
- package/dist/scripts/81.chunk.js +0 -26
- package/dist/scripts/82.chunk.js +0 -26
- package/dist/scripts/83.chunk.js +0 -26
- package/dist/scripts/84.chunk.js +0 -26
- package/dist/scripts/85.chunk.js +0 -26
- package/dist/scripts/86.chunk.js +0 -18
- package/dist/scripts/87.chunk.js +0 -18
- package/dist/scripts/88.chunk.js +0 -18
- package/dist/scripts/89.chunk.js +0 -18
- package/dist/scripts/9-61225547b6.chunk.js +0 -1
- package/dist/scripts/9-bd46228181.chunk.js +0 -1
- package/dist/scripts/9.chunk.js +0 -18
- package/dist/scripts/90.chunk.js +0 -18
- package/dist/scripts/91.chunk.js +0 -18
- package/dist/scripts/92.chunk.js +0 -18
- package/dist/scripts/bundle-39b749b21d.min.js +0 -10
- package/dist/scripts/bundle-42046b5b88.min.js +0 -10
- package/dist/scripts/bundle-a8b8854ef1.min.js +0 -10
- package/dist/scripts/bundle.js +0 -8153
- package/dist/scripts/polyfills-022d27190f.min.js +0 -1
- package/dist/scripts/polyfills-5139b6bb05.min.js +0 -1
- package/dist/scripts/polyfills.js +0 -2701
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[6],{1049:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return" cursor-pointer"},3:function(e,t,n,o,r){return"checked"},5:function(e,t,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<div class="custom-control custom-checkbox '+a(l(null!=(i=null!=t?t.options:t)?i.checkboxClassName:i,t))+'">\r\n <input name="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'" id="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'" type="checkbox" class="custom-control-input'+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" '+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.checked:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+" "+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+' />\r\n <label class="custom-control-label'+(null!=(i=n.unless.call(u,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"unless",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'" for="checkbox-'+a(l(null!=(i=null!=t?t.options:t)?i.id:i,t))+'"> </label>\r\n</div>'},useData:!0})},1056:function(e,t,n){"use strict";n.d(t,"a",(function(){return y})),n.d(t,"b",(function(){return g}));var o=n(1),r=n(2),i=n(1049),l=n.n(i),a=n(13);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function f(e,t){return(f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=d(e);if(t){var r=d(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return h(this,n)}}function h(e,t){return!t||"object"!==u(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 d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var y="checkbox-all",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&&f(e,t)}(u,e);var t,n,r,i=p(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),i.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"BulkCheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return l.a}},{key:"getViewModel",value:function(){this.model=a.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change",this.onChange)}},{key:"events",value:function(){return{"change .custom-control-input":"onClick"}}},{key:"onChange",value:function(){this.checkAllChecked(),this.render()}},{key:"checkAllChecked",value:function(){var e=o.values(this.model.omit("all",y));o.every(e,(function(e){return!!e}))&&(this.model.get("all")||e.length===this.options.numberOfItems)&&this.model.set(c({all:!0},this.getItemId(),!0))}},{key:"getItemId",value:function(){return y}},{key:"onClick",value:function(){this.model.get(this.getItemId())?this.model.clear():(this.model.clear(),this.model.set(c({all:!0},this.getItemId(),!0)))}},{key:"viewOptions",value:function(){return{id:this.getItemId(),checked:this.model.get(y),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&s(t.prototype,n),r&&s(t,r),u}(r.a.Component)},1063:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),r=n(1049),i=n.n(r),l=n(13),a=n(1056);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(u,e);var t,n,o,r=f(u);function u(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),r.call(this,e)}return t=u,(n=[{key:"initialize",value:function(){if(this.getViewModel(),this.bindListeners(),this.options.checked){var e=this.getItemId();this.model.set(e,!0,{silent:!0})}}},{key:"name",get:function(){return"CheckboxComponent"}},{key:"className",get:function(){return this.options.className}},{key:"template",get:function(){return i.a}},{key:"getViewModel",value:function(){this.model=l.a.GetViewModel(this.options.key,this.options.type)}},{key:"bindListeners",value:function(){this.options.disabled||this.listenTo(this.model,"change:all change:".concat(this.getItemId()),this.render)}},{key:"events",value:function(){return{"click .custom-checkbox":"onClickCheckbox","change .custom-control-input":"onChangeCheckbox"}}},{key:"getItemId",value:function(){return this.options.itemId.toString()}},{key:"onClickCheckbox",value:function(e){e.stopPropagation()}},{key:"onChangeCheckbox",value:function(){if(!this.options.disabled){var e=this.getItemId();this.model.has(e)||this.model.get("all")?!1===this.model.get(e)?this.model.set(e,!0):(this.model.set(e,!1),this.model.set(a.a,!1)):this.model.set(e,!0)}}},{key:"viewOptions",value:function(){var e=this.getItemId();return{id:e,checked:this.model.has(e)?this.model.get(e):this.model.get("all"),disabled:this.options.disabled,checkboxClassName:this.options.checkboxClassName}}}])&&c(t.prototype,n),o&&c(t,o),u}(o.a.Component)},1118:function(e,t,n){"use strict";var o=n(2),r=n(17),i=n(0),l=n(330),a=n(1373),u=n.n(a);function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function f(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function p(e,t){return(p=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function h(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,o=y(e);if(t){var r=y(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function y(e){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&p(e,t)}(c,e);var t,n,o,a=h(c);function c(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,e)}return t=c,(n=[{key:"name",get:function(){return"SearchBarComponent"}},{key:"template",get:function(){return u.a}},{key:"lang",get:function(){return"migrationWizard.searchBar"}},{key:"className",get:function(){var e="container";return"publisher-archive"===this.options.selected&&(e+=" ".concat(l.publisherArchive)),"migration-errors"===this.options.selected&&(e+=" ".concat(l.migrationErrors)),"none"===this.options.selected&&(e+=" ".concat(l.none)),e}},{key:"elements",get:function(){return{search:".search"}}},{key:"regions",value:function(){return{generateReport:{el:".generate-report-region",replaceElement:!0}}}},{key:"appLinks",get:function(){var e;return s(e={},".".concat(l.reviewErroredAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.MIGRATION_ERRORS}),s(e,".".concat(l.publisherArchiveAppLink),{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.HOME}),e}},{key:"viewOptions",value:function(){return{styles:l,warningSvg:r.a.getSvg(r.b.Warning)}}},{key:"onRender",value:function(){this.showChildView("generateReport",new Wt)}}])&&f(t.prototype,n),o&&f(t,o),c}(o.a.Component),b=n(1),m=n(6),v=n(1056),k=n(13),O=n(194),w=n(1125),C=n(53),x=n(331),R=n.n(x),_=n(1374),S=n.n(_);function E(e){return(E="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function j(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function I(e,t){return(I=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=M(e);if(t){var r=M(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return T(this,n)}}function T(e,t){return!t||"object"!==E(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 B=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&I(e,t)}(a,e);var t,n,o,l=P(a);function a(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),l.call(this,e)}return t=a,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.listenTo(this.viewModel,"change:".concat(v.a),this.onCheckboxChange)}},{key:"name",get:function(){return"SortingRowComponent"}},{key:"template",get:function(){return S.a}},{key:"className",get:function(){return"row no-gutters px-2 py-1 ".concat(R.a.sortingRow)}},{key:"lang",get:function(){return"migrationWizard.sortingRow"}},{key:"viewOptions",value:function(){return{styles:R.a,showCategory:this.options.searchTerm,sortSvg:r.a.getSvg(r.b.UpDown)}}},{key:"elements",get:function(){return{sortOption:".sort"}}},{key:"events",value:function(){return{"click .sort-title":"sortTitle","click .sort-views":"sortViews"}}},{key:"regions",value:function(){return{selectAll:{replaceElement:!0,el:".select-all"}}}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.options.folderChord}},{key:"onRender",value:function(){this.showChildView("selectAll",new v.b({type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,key:this.getCheckboxKey(),disabled:0===this.getVideosThatCanBeMigrated().length,className:"".concat(R.a.bulkCheckbox," position-relative d-inline-block"),numberOfItems:this.collection.length}))}},{key:"sortTitle",value:function(){this.sort(C.e.Title)}},{key:"sortViews",value:function(){this.sort(C.e.Views)}},{key:"getVideosThatCanBeMigrated",value:function(){return this.collection.filter((function(e){return e.get("migrationStatus")===w.a.HasNotBeenMigrated}))}},{key:"sort",value:function(e){m.Radio.channel(i.e.MIGRATION).trigger(i.i.MigrationWizard.SORT_VIDEOS,e)}},{key:"onCheckboxChange",value:function(){var e=m.Radio.channel(this.options.channelName),t=this.viewModel.get(v.a),n=this.getVideosThatCanBeMigrated();t?e.trigger("add:selected",n,this.options.folderChord):b.isUndefined(t)&&e.trigger("remove:selected",n,this.options.folderChord)}}])&&j(t.prototype,n),o&&j(t,o),a}(o.a.Component),V=n(1375),N=n.n(V),L=n(285);function A(e){return(A="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 o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function W(e,t){return(W=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function z(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,o=U(e);if(t){var r=U(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return G(this,n)}}function G(e,t){return!t||"object"!==A(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 U(e){return(U=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var H=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&W(e,t)}(i,e);var t,n,o,r=z(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"StatusBarComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(L.statusBar)}},{key:"template",get:function(){return N.a}},{key:"lang",get:function(){return"migrationWizard.statusBar"}},{key:"appLinks",get:function(){var e=this.options,t=e.nextAppLink,n=e.backAppLink,o={".applink-next":t};return n&&(o[".applink-back"]=n),o}},{key:"events",value:function(){return{"click .applink-next":"onClickNext","click .applink-back":"onClickBack"}}},{key:"onClickNext",value:function(){this.options.nextDisabled||b.isFunction(this.options.onClickNext)&&this.options.onClickNext()}},{key:"onClickBack",value:function(){b.isFunction(this.options.onClickBack)&&this.options.onClickBack()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:L},this.options),{multipleVideosAvailable:1!==this.options.numberAvailable,numberAvailable:this.options.numberAvailable||0,videoCount:this.options.numberSelected||0})}}])&&D(t.prototype,n),o&&D(t,o),i}(o.a.Component),K=n(5),Z=n(332),F=n.n(Z),Y=n(1376),J=n.n(Y),X=n(1063);function q(e){return(q="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Q(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ee(e,t){return(ee=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function te(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,o=oe(e);if(t){var r=oe(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ne(this,n)}}function ne(e,t){return!t||"object"!==q(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 oe(e){return(oe=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var re=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&&ee(e,t)}(l,e);var t,n,o,r=te(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.viewModel=k.a.GetViewModel(this.getCheckboxKey(),O.CheckboxTypes.MIGRATION_VIDEO_LIST),this.selectedVideoService=K.a.getInstance(i.x.SelectedVideo,this),this.bindListeners()}},{key:"bindListeners",value:function(){this.listenTo(this.viewModel,"change:".concat(this.getCheckboxId()),this.onCheckboxChange)}},{key:"template",get:function(){return J.a}},{key:"name",get:function(){return"MigrationVideoItemComponent"}},{key:"className",get:function(){if(this.shouldRender())return"col-12 py-1 ".concat(F.a.videoRow)}},{key:"lang",get:function(){return"migrationWizard.migrationVideoItem"}},{key:"appLinks",get:function(){return{".applink-show":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.SHOW_PUBLISHER_VIDEO,args:[this.model.get("trackingCode")]},".applink-remigrate":{application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.REMIGRATE_VIDEO,args:[this.model.get("id").toString(),this.model.get("masterId")&&this.model.get("masterId").toString(),this.model.get("categoryChord")]}}}},{key:"regions",value:function(){return{bulkCheckbox:{replaceElement:!0,el:".bulk-checkbox-region"},errorCode:{replaceElement:!0,el:".error-code-region"}}}},{key:"hasBeenMigrated",value:function(){return this.model.get("migrationStatus")!==w.a.HasNotBeenMigrated}},{key:"getCheckboxKey",value:function(){return this.options.searchTerm||this.model.get("categoryChord")}},{key:"getCheckboxId",value:function(){return this.model.get("id")}},{key:"onCheckboxChange",value:function(){if(!this.hasBeenMigrated()){var e=this.viewModel.get("".concat(this.getCheckboxId()));e?this.selectedVideoService.addSelectedVideos(this.model,this.options.folderChord):b.isUndefined(e)||this.selectedVideoService.removeSelectedVideos(this.model,this.options.folderChord)}}},{key:"shouldRender",value:function(){return!this.model.get("hidden")}},{key:"renderCheckbox",value:function(){var e=this.hasBeenMigrated(),t=e?" ".concat(F.a.faded):"",n=this.model.get("selected")||this.model.get("checkedForMigration")||e;this.showChildView("bulkCheckbox",new X.a({checked:n,checkboxClassName:t,disabled:e,key:this.getCheckboxKey(),itemId:this.getCheckboxId(),type:O.CheckboxTypes.MIGRATION_VIDEO_LIST,className:"".concat(F.a.bulkCheckbox," position-relative d-inline-block")}))}},{key:"onBeforeRender",value:function(){return this.shouldRender()}},{key:"viewOptions",value:function(){return Object.assign(Object.assign({styles:F.a},this.options),{migrated:this.hasBeenMigrated(),views:this.model.get("viewsLast3Years")})}},{key:"onRender",value:function(){this.renderCheckbox()}}])&&Q(t.prototype,n),o&&Q(t,o),l}(o.a.Component),ie=n(3),le=n(1126),ae=n(1377),ue=n.n(ae);function ce(e){return(ce="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 se(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function fe(e,t){return(fe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pe(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,o=de(e);if(t){var r=de(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return he(this,n)}}function he(e,t){return!t||"object"!==ce(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 de(e){return(de=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ye=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&&fe(e,t)}(l,e);var t,n,o,r=pe(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"VideoListCollection"}},{key:"template",get:function(){return ue.a}},{key:"lang",get:function(){return"migrationWizard.videoList"}},{key:"regions",value:function(){return{videoListSort:{replaceElement:!0,el:".video-sorting-region"},videoList:{el:".video-list-region",replaceElement:!0}}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.SORT_VIDEOS,this.sort),this.listenTo(i.e.MIGRATION,i.i.MigrationWizard.TOGGLE_MIGRATED,this.toggleMigrated)}},{key:"toggleMigrated",value:function(e){this.collection&&0!==this.collection.length&&(this.collection=le.a.toggleMigrated(this.collection,e),this.render())}},{key:"sort",value:function(e){0!==this.collection.length&&(this.sortedBy=this.sortedBy===e?void 0:e,this.collection=le.a.sortVideos(this.collection,e,this.sortedBy===e),this.renderVideoList())}},{key:"renderEmptyMessage",value:function(){this.showChildView("videoList",new it({text:ie.a.getPhrase(this.lang,"noVideos")}))}},{key:"renderSortingRow",value:function(){this.showChildView("videoListSort",new B({collection:this.collection,folderChord:this.options.folderChord,searchTerm:this.options.searchTerm,channelName:this.options.channelName}))}},{key:"renderVideoList",value:function(){this.showChildView("videoList",new xe({folderChord:this.options.folderChord,collection:this.collection,searchTerm:this.options.searchTerm,supportSiteUrl:this.options.supportSiteUrl}))}},{key:"onRender",value:function(){this.renderSortingRow(),0!==this.collection.where({hidden:!1}).length?this.renderVideoList():this.renderEmptyMessage()}}])&&se(t.prototype,n),o&&se(t,o),l}(o.a.Component),ge=n(1378),be=n.n(ge);function me(e){return(me="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ve(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function ke(e,t){return(ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oe(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,o=Ce(e);if(t){var r=Ce(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return we(this,n)}}function we(e,t){return!t||"object"!==me(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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var xe=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&&ke(e,t)}(i,e);var t,n,o,r=Oe(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"VideoListCollectionComponent"}},{key:"className",get:function(){return be.a.videoList}},{key:"childView",get:function(){return re}},{key:"childViewOptions",get:function(){return{folderChord:this.options.folderChord,searchTerm:this.getOption("searchTerm"),supportSiteUrl:this.options.supportSiteUrl}}}])&&ve(t.prototype,n),o&&ve(t,o),i}(o.a.ComponentCollection),Re=n(305),_e=n(303),Se=n(1379),Ee=n.n(Se),je=n(1380),Ie=n.n(je);function Pe(e){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Te(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Me(e,t){return(Me=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Be(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,o=Ne(e);if(t){var r=Ne(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Ve(this,n)}}function Ve(e,t){return!t||"object"!==Pe(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 Ne(e){return(Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Le=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&&Me(e,t)}(i,e);var t,n,o,r=Be(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"BannerComponent"}},{key:"className",get:function(){return"w-100 p-2 pl-3 pr-3 ".concat(Ee.a.banner)}},{key:"lang",get:function(){return"migrationWizard.banner"}},{key:"props",get:function(){return["config"]}},{key:"template",get:function(){return Ie.a}},{key:"viewOptions",value:function(){return{styles:Ee.a,learnMoreUrl:this.getLearnMoreUrl()}}},{key:"getLearnMoreUrl",value:function(){var e,t;return Re.a.getArticle(null===(e=this.config)||void 0===e?void 0:e.get("supportSiteUrl"),_e.a.PublisherArchive,null===(t=this.currentUser)||void 0===t?void 0:t.get("countryCode"))}}])&&Te(t.prototype,n),o&&Te(t,o),i}(o.a.Component),Ae=n(1381),De=n.n(Ae),We=n(1382),ze=n.n(We);function Ge(e){return(Ge="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 Ue(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Ze(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,o=Ye(e);if(t){var r=Ye(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return Fe(this,n)}}function Fe(e,t){return!t||"object"!==Ge(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 Ye(e){return(Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Je=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&&Ke(e,t)}(i,e);var t,n,o,r=Ze(i);function i(){return Ue(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"name",get:function(){return"SelectedVideoItemComponent"}},{key:"template",get:function(){return ze.a}},{key:"lang",get:function(){return"migrationWizard.selectedVideoItem"}},{key:"className",get:function(){return"ml-2 pt-1"}},{key:"viewOptions",value:function(){return{styles:De.a,folder:this.model.get("folderChord").split("->").join(" / "),videoCount:this.model.get("count")}}}])&&He(t.prototype,n),o&&He(t,o),i}(o.a.Component),$e=n(1383),Xe=n(1384),qe=n.n(Xe);function Qe(e){return(Qe="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 et(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function tt(e,t){return(tt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function nt(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,o=rt(e);if(t){var r=rt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return ot(this,n)}}function ot(e,t){return!t||"object"!==Qe(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 rt(e){return(rt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var it=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&&tt(e,t)}(i,e);var t,n,o,r=nt(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"EmptyVideoListComponent"}},{key:"className",get:function(){return"d-flex justify-content-center align-items-center text-muted p-5 ".concat($e.videoList)}},{key:"template",get:function(){return qe.a}},{key:"viewOptions",value:function(){return{text:this.options.text}}}])&&et(t.prototype,n),o&&et(t,o),i}(o.a.Component),lt=n(1385),at=n.n(lt),ut=n(1386),ct=n.n(ut);function st(e){return(st="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 ft(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function pt(e,t){return(pt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ht(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,o=yt(e);if(t){var r=yt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return dt(this,n)}}function dt(e,t){return!t||"object"!==st(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 yt(e){return(yt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var gt=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&&pt(e,t)}(i,e);var t,n,o,r=ht(i);function i(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),r.call(this,e)}return t=i,(n=[{key:"name",get:function(){return"ProgressBarComponent"}},{key:"className",get:function(){return this.options.class||""}},{key:"template",get:function(){return ct.a}},{key:"elements",get:function(){return{progressBar:".progress-bar",progressText:".progress-text"}}},{key:"viewOptions",value:function(){return{styles:at.a,background:this.options.backgroundClass,progress:this.options.percentage}}},{key:"update",value:function(){var e=this.getUI("progressBar"),t=this.getUI("progressText");e&&e.get(0)&&$(e.get(0)).css("width","".concat(this.model.get("percentage"),"%")),t&&t.get(0)&&$(t.get(0)).text("".concat(this.model.get("percentage"),"%"))}},{key:"onRender",value:function(){this.update()}}])&&ft(t.prototype,n),o&&ft(t,o),i}(o.a.Component),bt=n(1124),mt=n(1186),vt=n(1387),kt=n.n(vt);function Ot(e){return(Ot="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 wt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ct(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function xt(e,t){return(xt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Rt(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,o=St(e);if(t){var r=St(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return _t(this,n)}}function _t(e,t){return!t||"object"!==Ot(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 St(e){return(St=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Et=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&&xt(e,t)}(a,e);var t,n,r,l=Rt(a);function a(){var e;return wt(this,a),(e=l.apply(this,arguments)).buttonDisabled=!0,e}return t=a,(n=[{key:"initialize",value:function(){this.migrationVideoDataService=K.a.getInstance(i.g.MigrationVideo,this),this.bindListeners()}},{key:"name",get:function(){return"GenerateReportComponent"}},{key:"template",get:function(){return kt.a}},{key:"className",get:function(){return"dropdown-menu dropdown-menu-right dropdown-arrow"}},{key:"lang",get:function(){return"migrationWizard.generateReport"}},{key:"events",value:function(){return{"click .options":"onClickOptionsContainer","change #migrated-option":"onToggleMigratedOption","change #remaining-option":"onToggleRemainingOption","change #errored-option":"onToggleErroredOption","change #content-matched-option":"onToggleContentMatchedOption","click .generate-report":"onClickSubmit"}}},{key:"elements",get:function(){return{generateReportBtn:".generate-report"}}},{key:"bindListeners",value:function(){this.listenTo(i.e.MIGRATION,"get:migration:report:options",this.render)}},{key:"onClickOptionsContainer",value:function(e){e.stopPropagation()}},{key:"onToggleMigratedOption",value:function(){var e=this.reportOptions[C.d.Migrated];e.selected=!e.selected,this.updateButton()}},{key:"onToggleRemainingOption",value:function(){var e=this.reportOptions[C.d.Remaining];e.selected=!e.selected,this.updateButton()}},{key:"onToggleErroredOption",value:function(){var e=this.reportOptions[C.d.Errored];e.selected=!e.selected,this.updateButton()}},{key:"onToggleContentMatchedOption",value:function(){var e=this.reportOptions[C.d.ContentMatched];e.selected=!e.selected,this.updateButton()}},{key:"onClickSubmit",value:function(){this.buttonDisabled||o.a.AppLinkHelper.trigger({application:i.b.MIGRATION_WIZARD,action:i.a.MigrationWizard.GENERATE_CSV_REPORT,params:{options:mt.a.filterSelectedOptions(this.reportOptions)}})}},{key:"updateButton",value:function(){var e=this.getUI("generateReportBtn");mt.a.filterSelectedOptions(this.reportOptions).length?(this.buttonDisabled=!1,e.removeAttr("disabled")):(this.buttonDisabled=!0,e.attr("disabled","disabled"))}},{key:"fetchMigrationReportOptions",value:function(){var e=this;this.migrationVideoDataService.getMigrationReportOptions((function(t){e.reportOptions=mt.a.processValidReportOptions(t),e.render()}))}},{key:"viewOptions",value:function(){return{reportOptions:this.reportOptions}}},{key:"onRender",value:function(){this.reportOptions||this.fetchMigrationReportOptions()}}])&&Ct(t.prototype,n),r&&Ct(t,r),a}(o.a.Component),jt=n(1388),It=n.n(jt),Pt=n(1389),Tt=n.n(Pt);function Mt(e){return(Mt="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 Bt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Nt(e,t){return(Nt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Lt(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,o=Dt(e);if(t){var r=Dt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return At(this,n)}}function At(e,t){return!t||"object"!==Mt(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 Dt(e){return(Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Wt=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&&Nt(e,t)}(i,e);var t,n,o,r=Lt(i);function i(){return Bt(this,i),r.apply(this,arguments)}return t=i,(n=[{key:"name",get:function(){return"GenerateReportButtonComponent"}},{key:"template",get:function(){return It.a}},{key:"lang",get:function(){return"migrationWizard.generateReportButton"}},{key:"regions",value:function(){return{options:{el:".options-region",replaceElement:!0}}}},{key:"viewOptions",value:function(){return{styles:Tt.a}}},{key:"onRender",value:function(){this.showChildView("options",new Et)}}])&&Vt(t.prototype,n),o&&Vt(t,o),i}(o.a.Component);n.d(t,"h",(function(){return g})),n.d(t,"j",(function(){return B})),n.d(t,"k",(function(){return H})),n.d(t,"e",(function(){return re})),n.d(t,"l",(function(){return ye})),n.d(t,"m",(function(){return xe})),n.d(t,"a",(function(){return Le})),n.d(t,"i",(function(){return Je})),n.d(t,"b",(function(){return it})),n.d(t,"f",(function(){return gt})),n.d(t,"g",(function(){return bt.a})),n.d(t,"d",(function(){return Et})),n.d(t,"c",(function(){return Wt}))},1124:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));var o=n(2),r=n(1184),i=n.n(r),l=n(1185),a=n.n(l);function u(e){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function f(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,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==u(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 h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(l,e);var t,n,o,r=f(l);function l(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),r.call(this,e)}return t=l,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return a.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}},{key:"viewOptions",value:function(){return{styles:i.a,text:this.options.text,class:this.options.class,percentage:this.options.percentage}}},{key:"onRender",value:function(){this.update()}},{key:"update",value:function(){var e=this.model.get("percentage")||0,t=this.getUI("circle").get(0),n=2*t.r.baseVal.value*Math.PI;t.style.strokeDasharray="".concat(n," ").concat(n),t.style.strokeDashoffset=n;var o=n-e/100*n;t.style.strokeDashoffset=o;var r=this.getUI("text");r&&r.text("".concat(e,"%"))}}])&&c(t.prototype,n),o&&c(t,o),l}(o.a.Component)},1125:function(e,t,n){"use strict";var o;n.d(t,"a",(function(){return o})),function(e){e[e.NeedsManualReview=-1]="NeedsManualReview",e[e.HasNotBeenMigrated=0]="HasNotBeenMigrated",e[e.MigratedByUser=1]="MigratedByUser"}(o||(o={}))},1126:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n(1),r=n(2),i=n(90),l=n(1125),a={setChecked:function(e,t,n){e.set("selected",!1);var r=n&&e.get("viewsLast3Years")>0;(o.contains(t,e.id.toString())||r&&0===t.length)&&e.set("selected",!0)},sortVideos:function(e,t,n){var o="name";return e.comparator=function(e,r){e.keys().forEach((function(e){e===t&&(o=e)}));var i=e.get(o),l=r.get(o);return"string"==typeof i&&"string"==typeof l&&(i=i.toLowerCase(),l=l.toLowerCase()),i<l?n?1:-1:i>l?n?-1:1:0},e.sort(),e},toggleMigrated:function(e,t){return e.each((function(e){var n=e.get("migrationStatus")!==l.a.HasNotBeenMigrated,r=e.get("hidden");!o.isUndefined(t)&&n?e.set("hidden",t):n?e.set("hidden",!r):e.set("hidden",!1)})),e},getSelectedVideosCollection:function(e){var t=new r.a.Collection;return Object.keys(e).forEach((function(n){var o=e[n],r=o.id,l=o.folderChord,a=t.findWhere({folderChord:l});a?(a.set("count",a.get("count")+1),a.get("videoIds").push(r)):t.add(new i.f({count:1,folderChord:l,videoIds:[r]}))})),t.each((function(e){e.set("folderChord",e.get("folderChord"))})),t}}},1184:function(e,t,n){e.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1185:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return' <span class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.extraText:i,t))+'">'+a(l(null!=(i=null!=t?t.options:t)?i.text:i,t))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{};return'<div class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.circle:i,t))+" "+a(l(null!=(i=null!=t?t.options:t)?i.class:i,t))+'">\r\n <span>\r\n <span class="progress-circle-text">'+a((n.lang||t&&t.lang||e.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=t?t.options:t)?i.percentage:i},data:r}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=t?t.options:t)?i.text:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </span>\r\n\r\n <svg class="'+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressCircleContainer:i,t))+'">\r\n <circle class="progress-circle '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressCircle:i,t))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1186:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var o=n(1),r=n(3),i=n(53);function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var a="migrationWizard.utils",u={getReportOptions:function(){var e;return l(e={},i.d.Migrated,{id:"migrated",type:"homemigrator.le.migration.migrated.report",labelText:r.a.getPhrase(a,"migratedOption")}),l(e,i.d.Remaining,{id:"remaining",type:"homemigrator.le.migration.videos.remaining.report",labelText:r.a.getPhrase(a,"remainingOption")}),l(e,i.d.Errored,{id:"errored",type:"homemigrator.le.migration.error.report",labelText:r.a.getPhrase(a,"erroredOption")}),l(e,i.d.ContentMatched,{id:"content-matched",type:"homemigrator.le.migration.content.matched.report",labelText:r.a.getPhrase(a,"linkedOption")}),e},processValidReportOptions:function(e){var t=this.getReportOptions(),n={};return o.each(o.keys(t),(function(r){o.contains(e,t[r].type)&&(n[r]=t[r])})),n},filterSelectedOptions:function(e){return o.filter(o.keys(e),(function(t){return e[t].selected})).map((function(t){return e[t].id}))},getSelectedOptionsText:function(e){var t=this.getReportOptions();return o.filter(o.keys(t),(function(n){return o.contains(e,t[n].id)})).map((function(e){return t[e].labelText}))}}},1373:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="row '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.tabContainer:i,t))+' position-relative">\r\n <a class="col-4 p-3 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.publisherArchiveAppLink:i,t))+'"><h1 class="m-0 h5">'+a((n.lang||t&&t.lang||c).call(u,"addVideos",{name:"lang",hash:{},data:r}))+'</h1></a>\r\n <a class="p-3 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.reviewErroredAppLink:i,t))+'"><h1 class="m-0 h5">'+a((n.lang||t&&t.lang||c).call(u,"migrationWarnings",{name:"lang",hash:{},data:r}))+'<span class="ml-2 svg-container d-inline-block '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.warningSvg:i,t))?i:"")+'</span></h1></a>\r\n <div class="generate-report-region"></div>\r\n</div>'},useData:!0})},1374:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression,u=null!=t?t:e.nullContext||{},c=e.hooks.helperMissing;return'<div class="col-8">\r\n <div class="select-all"></div>\r\n <div class="align-middle d-inline-block">\r\n <span class="cursor-pointer sort sort-title '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sortOption:i,t))+'">\r\n <span>'+a((n.lang||t&&t.lang||c).call(u,"sortTitle",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.sortSvg:i,t))?i:"")+'</span>\r\n </span>\r\n </div>\r\n</div>\r\n\r\n<div class="col-4 pr-3 text-right">\r\n <span class="cursor-pointer sort mr-3 sort-views '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.sortOption:i,t))+'">\r\n <span>'+a((n.lang||t&&t.lang||c).call(u,"sortViews",{name:"lang",hash:{},data:r}))+'</span>\r\n <span class="svg-container '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.svgContainer:i,t))+'">'+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.sortSvg:i,t))?i:"")+"</span>\r\n </span>\r\n</div>"},useData:!0})},1375:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <button class="applink-back btn btn-secondary '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"back",{name:"lang",hash:{},data:r}))+"\r\n </button>\r\n"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <span class="align-middle '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.statusBarMessage:i,t))+'">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"videosSelected",{name:"lang",hash:{videoCount:null!=(i=null!=t?t.options:t)?i.videoCount:i,smartCount:null!=(i=null!=t?t.options:t)?i.numberAvailable:i},data:r}))+"\r\n </span>\r\n"},5:function(e,t,n,o,r){return"disabled"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.lambda,u=e.escapeExpression;return'<div class="row">\r\n <div class="col-4">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showBackButton:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-6">\r\n'+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.showSelected:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' </div>\r\n <div class="col-2 text-right">\r\n <button class="applink-next btn btn-primary '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.button:i,t))+'" '+(null!=(i=n.if.call(l,null!=(i=null!=t?t.options:t)?i.nextDisabled:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+">\r\n "+u(a(null!=(i=null!=t?t.options:t)?i.text:i,t))+"\r\n </button>\r\n </div>\r\n</div>"},useData:!0})},1376:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){return"text-muted"},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <a class="applink-remigrate cursor-pointer '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewLink:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"readd",{name:"lang",hash:{},data:r}))+"</a>\r\n"},5:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return' <a class="applink-show cursor-pointer '+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewLink:i,t))+'">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"details",{name:"lang",hash:{},data:r}))+"</a>\r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l,a=e.lambda,u=e.escapeExpression,c=null!=t?t:e.nullContext||{},s=e.hooks.helperMissing;return'<div class="row no-gutters">\r\n <div class="col-8">\r\n <div class="bulk-checkbox-region '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.bulkCheckbox:i,t))+'"></div>\r\n <a class="applink-show align-middle cursor-pointer mt-2 '+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.videoTitle:i,t))+" "+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.migrated:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">'+u("function"==typeof(l=null!=(l=n.name||(null!=t?t.name:t))?l:s)?l.call(c,{name:"name",hash:{},data:r}):l)+'</a>\r\n </div>\r\n <div class="col-4 position-static">\r\n <div class="row no-gutters">\r\n <div class="col-11 text-right pr-2">\r\n'+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.migrated:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.program(5,r,0),data:r}))?i:"")+' <div class="'+u(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.viewCount:i,t))+'">\r\n <span>\r\n '+u((n.lang||t&&t.lang||s).call(c,"views",{name:"lang",hash:{smartCount:null!=(i=null!=t?t.options:t)?i.views:i},data:r}))+'\r\n </span>\r\n </div>\r\n </div>\r\n <div class="col-1 d-flex justify-content-center position-static">\r\n <div class="error-code-region"></div>\r\n </div>\r\n </div>\r\n </div>\r\n</div>'},useData:!0})},1377:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="video-sorting-region"></div>\r\n<div class="video-list-region"></div>'},useData:!0})},1378:function(e,t,n){e.exports={videoList:"_3RFYO"}},1379:function(e,t,n){e.exports={banner:"O5CMF",learnMore:"MjcUE"}},1380:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression,c=e.lambda;return'<span class="text-white mr-1">'+u((n.lang||t&&t.lang||a).call(l,"banner",{name:"lang",hash:{},data:r}))+'</span>\r\n<a href="'+u(c(null!=(i=null!=t?t.options:t)?i.learnMoreUrl:i,t))+'" class="'+u(c(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.learnMore:i,t))+'" target="_blank">'+u((n.lang||t&&t.lang||a).call(l,"learnMore",{name:"lang",hash:{},data:r}))+"</a>"},useData:!0})},1381:function(e,t,n){e.exports={category:"BSPKV"}},1382:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return null!=(i=(n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"selectedVideos",{name:"lang",hash:{folder:null!=(i=null!=t?t.options:t)?i.folder:i,className:null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.category:i,smartCount:null!=(i=null!=t?t.options:t)?i.videoCount:i},data:r}))?i:""},useData:!0})},1383:function(e,t,n){e.exports={videoList:"_3TgUv"}},1384:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;e.propertyIsEnumerable;return'<h3 class="m-0">'+e.escapeExpression(e.lambda(null!=(i=null!=t?t.options:t)?i.text:i,t))+"</h3>"},useData:!0})},1385:function(e,t,n){e.exports={progressBarContainter:"_1aNlZ",progressBar:"_325nt"}},1386:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.lambda,a=e.escapeExpression;return'<div class="row">\r\n <div class="col-11 '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBarContainter:i,t))+' pl-0">\r\n <div class="progress '+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBar:i,t))+'">\r\n <div class="progress-bar '+a(l(null!=(i=null!=t?t.options:t)?i.background:i,t))+" "+a(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.progressBar:i,t))+'" role="progressbar" aria-valuenow="'+a(l(null!=(i=null!=t?t.options:t)?i.progress:i,t))+'" aria-valuemin="0" aria-valuemax="100"></div>\r\n </div>\r\n </div>\r\n <div class="col-1 pr-0">\r\n <span class="float-right progress-text">'+a(l(null!=(i=null!=t?t.options:t)?i.progress:i,t))+"%</span>\r\n </div>\r\n</div>\r\n\r\n"},useData:!0})},1387:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i=e.lambda,l=e.escapeExpression;return' <div class="d-flex py-1">\r\n <div class="custom-control custom-checkbox">\r\n <input id="'+l(i(null!=t?t.id:t,t))+'-option" name="checkbox-'+l(i(null!=t?t.id:t,t))+'" type="checkbox" class="custom-control-input cursor-pointer">\r\n <label class="custom-control-label cursor-pointer" for="'+l(i(null!=t?t.id:t,t))+'-option"> </label>\r\n </div>\r\n <label for="'+l(i(null!=t?t.id:t,t))+'-option">'+l(i(null!=t?t.labelText:t,t))+"</label>\r\n </div> \r\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=null!=t?t:e.nullContext||{},a=e.hooks.helperMissing,u=e.escapeExpression;return'<h1 class="h5 py-1 mx-2">'+u((n.lang||t&&t.lang||a).call(l,"heading",{name:"lang",hash:{},data:r}))+'</h1>\r\n<div class="dropdown-divider"></div>\r\n<p class="m-2 mt-0">'+u((n.lang||t&&t.lang||a).call(l,"options",{name:"lang",hash:{},data:r}))+'</p>\r\n\r\n<div class="mx-2 options">\r\n'+(null!=(i=n.each.call(l,null!=(i=null!=t?t.options:t)?i.reportOptions:i,{name:"each",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'</div>\r\n\r\n<div class="dropdown-divider"></div>\r\n<div class="mr-3">\r\n <button class="btn btn-primary w-100 mx-2 generate-report" disabled>'+u((n.lang||t&&t.lang||a).call(l,"generate",{name:"lang",hash:{},data:r}))+"</button>\r\n</div>"},useData:!0})},1388:function(e,t,n){var o=n(10);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,l=e.escapeExpression;return'<div\r\n data-toggle="dropdown"\r\n aria-haspopup="true"\r\n aria-expanded="false"\r\n class="'+l(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.generateReport:i,t))+' mr-2"\r\n>\r\n <div class="btn btn-link border px-2 my-2">\r\n '+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"generateReport",{name:"lang",hash:{},data:r}))+'\r\n </div>\r\n</div>\r\n<div class="options-region"></div>'},useData:!0})},1389:function(e,t,n){e.exports={generateReport:"_2PRgW"}}}]);
|
package/dist/scripts/6.chunk.js
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[6],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/shared/components/video-description/VideoDescription.hbs":
|
|
4
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <div class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.descriptionWrapper : stack1), depth0))\n + \"\\\">\\r\\n <p class=\\\"description \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.description : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.expandable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(2, data, 0),\"inverse\":container.program(4, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n </div>\\r\\n\";\n},\"2\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"<span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showMoreEllipsis : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.hideEllipsis : stack1), depth0))\n + \"\\\">... \"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"showMore\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</span>\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"<span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.singleEllipsis : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.hideEllipsis : stack1), depth0))\n + \"\\\">...</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda;\n\n return \" <p class=\\\"\"\n + container.escapeExpression(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.description : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.description : stack1), depth0)) != null ? stack1 : \"\")\n + \"</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.truncate : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(6, data, 0),\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vVmlkZW9EZXNjcmlwdGlvbi5oYnMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vVmlkZW9EZXNjcmlwdGlvbi5oYnMiXSwic291cmNlc0NvbnRlbnQiOlsidmFyIEhhbmRsZWJhcnMgPSByZXF1aXJlKCdoYW5kbGViYXJzJyk7XG5tb2R1bGUuZXhwb3J0cyA9IChIYW5kbGViYXJzWydkZWZhdWx0J10gfHwgSGFuZGxlYmFycykudGVtcGxhdGUoe1wiMVwiOmZ1bmN0aW9uKGNvbnRhaW5lcixkZXB0aDAsaGVscGVycyxwYXJ0aWFscyxkYXRhKSB7XG4gICAgdmFyIHN0YWNrMSwgYWxpYXMxPWNvbnRhaW5lci5wcm9wZXJ0eUlzRW51bWVyYWJsZSwgYWxpYXMyPWNvbnRhaW5lci5sYW1iZGEsIGFsaWFzMz1jb250YWluZXIuZXNjYXBlRXhwcmVzc2lvbjtcblxuICByZXR1cm4gXCIgIDxkaXYgY2xhc3M9XFxcIlwiXG4gICAgKyBhbGlhczMoYWxpYXMyKCgoc3RhY2sxID0gKChzdGFjazEgPSAoZGVwdGgwICE9IG51bGwgPyBkZXB0aDAub3B0aW9ucyA6IGRlcHRoMCkpICE9IG51bGwgPyBzdGFjazEuc3R5bGVzIDogc3RhY2sxKSkgIT0gbnVsbCA/IHN0YW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jp7fSxcImZuXCI6Y29udGFpbmVyLnByb2dyYW0oMSwgZGF0YSwgMCksXCJpbnZlcnNlXCI6Y29udGFpbmVyLnByb2dyYW0oNiwgZGF0YSwgMCksXCJkYXRhXCI6ZGF0YX0pKSAhPSBudWxsID8gc3RhY2sxIDogXCJcIik7XG59LFwidXNlRGF0YVwiOnRydWV9KTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/shared/components/video-description/VideoDescription.hbs\n");
|
|
7
|
-
|
|
8
|
-
/***/ }),
|
|
9
|
-
|
|
10
|
-
/***/ "./src/shared/components/video-description/VideoDescriptionComponent.ts":
|
|
11
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
12
|
-
|
|
13
|
-
"use strict";
|
|
14
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VideoDescriptionTruncationSize\", function() { return VideoDescriptionTruncationSize; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VideoDescriptionComponent\", function() { return VideoDescriptionComponent; });\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var _VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"./src/shared/components/video-description/VideoDescription.hbs\");\n/* harmony import */ var _VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var _video_description_scss__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"./src/shared/components/video-description/video-description.scss\");\n/* harmony import */ var _video_description_scss__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(_video_description_scss__WEBPACK_IMPORTED_MODULE_4__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nvar _VideoDescriptionTrun;\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n\n\n\n\n\nvar VideoDescriptionTruncationSize;\n\n(function (VideoDescriptionTruncationSize) {\n VideoDescriptionTruncationSize[\"Small\"] = \"sm\";\n VideoDescriptionTruncationSize[\"Large\"] = \"lg\";\n})(VideoDescriptionTruncationSize || (VideoDescriptionTruncationSize = {}));\n\nvar VideoDescriptionTruncationLineNumbers = (_VideoDescriptionTrun = {}, _defineProperty(_VideoDescriptionTrun, VideoDescriptionTruncationSize.Small, 3), _defineProperty(_VideoDescriptionTrun, VideoDescriptionTruncationSize.Large, 5), _VideoDescriptionTrun);\n/**\r\n * A single line of text = 0.875rem (14px) * 1.5 (line-height) = 21px.\r\n * If we change either the line-height or base font size, this number will\r\n * likely need to be updated too.\r\n */\n\nvar LINE_HEIGHT = 21;\nvar VideoDescriptionComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(VideoDescriptionComponent, _Core$Component);\n\n var _super = _createSuper(VideoDescriptionComponent);\n\n function VideoDescriptionComponent(options) {\n var _this;\n\n _classCallCheck(this, VideoDescriptionComponent);\n\n _this = _super.call(this, options);\n _this.showingMore = false;\n return _this;\n }\n\n _createClass(VideoDescriptionComponent, [{\n key: \"name\",\n get: function get() {\n return 'VideoDescriptionComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _VideoDescription_hbs__WEBPACK_IMPORTED_MODULE_3___default.a;\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'shared.videoDescription';\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return {\n size: 'sm'\n };\n }\n }, {\n key: \"elements\",\n get: function get() {\n return {\n description: \".description\",\n ellipsis: this.options.allowExpand ? \".\".concat(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.showMoreEllipsis) : \".\".concat(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.singleEllipsis)\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return _defineProperty({}, \"click .\".concat(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.showMoreEllipsis), 'onClickShowMore');\n }\n }, {\n key: \"onClickShowMore\",\n value: function onClickShowMore(e) {\n e.preventDefault();\n this.showingMore ? this.showLessDescription() : this.showMoreDescription();\n }\n }, {\n key: \"getDescription\",\n value: function getDescription() {\n if (this.options.linkify) return shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].linkifyText(shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].escapeExpression(this.model.get('description')));\n if (this.options.highlighter) return shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].wordsHighlighter(shared_utils__WEBPACK_IMPORTED_MODULE_1__[\"TextHelper\"].escapeExpression(this.model.get('description')), this.model.get('_matchedWords'));\n }\n }, {\n key: \"getDescriptionElements\",\n value: function getDescriptionElements() {\n var descriptionTextEl = this.getUI('description');\n var ellipsisEl = this.getUI('ellipsis');\n return {\n descriptionTextEl: descriptionTextEl,\n ellipsisEl: ellipsisEl\n };\n }\n }, {\n key: \"showMoreDescription\",\n value: function showMoreDescription() {\n var _this$getDescriptionE = this.getDescriptionElements(),\n descriptionTextEl = _this$getDescriptionE.descriptionTextEl,\n ellipsisEl = _this$getDescriptionE.ellipsisEl;\n\n descriptionTextEl.removeClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.truncateLarge).addClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.open);\n ellipsisEl.text(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__[\"LanguageService\"].getPhrase(this.lang, 'showLess'));\n this.showingMore = true;\n }\n }, {\n key: \"showLessDescription\",\n value: function showLessDescription() {\n var _this$getDescriptionE2 = this.getDescriptionElements(),\n descriptionTextEl = _this$getDescriptionE2.descriptionTextEl,\n ellipsisEl = _this$getDescriptionE2.ellipsisEl;\n\n var truncationClass;\n if (this.options.size === VideoDescriptionTruncationSize.Small) truncationClass = 'truncateSmall';\n if (this.options.size === VideoDescriptionTruncationSize.Large) truncationClass = 'truncateLarge';\n descriptionTextEl.addClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a[truncationClass]);\n ellipsisEl.text(this.options.allowExpand ? \"... \".concat(libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_2__[\"LanguageService\"].getPhrase(this.lang, 'showMore')) : '...').removeClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.hideEllipsis).addClass(_video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a.showEllipsis);\n this.showingMore = false;\n }\n }, {\n key: \"truncateDescription\",\n value: function truncateDescription() {\n if (!this.options.truncate) return;\n\n var _this$getDescriptionE3 = this.getDescriptionElements(),\n descriptionTextEl = _this$getDescriptionE3.descriptionTextEl;\n\n var maxLines = VideoDescriptionTruncationLineNumbers[this.options.size];\n if (descriptionTextEl.height() <= LINE_HEIGHT * maxLines) return;\n this.showLessDescription();\n }\n }, {\n key: \"viewOptions\",\n value: function viewOptions() {\n return {\n styles: _video_description_scss__WEBPACK_IMPORTED_MODULE_4___default.a,\n truncate: this.options.truncate,\n expandable: this.options.allowExpand,\n description: this.getDescription()\n };\n }\n }, {\n key: \"onAttach\",\n value: function onAttach() {\n this.truncateDescription();\n }\n }]);\n\n return VideoDescriptionComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_0__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vVmlkZW9EZXNjcmlwdGlvbkNvbXBvbmVudC50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy92aWRlby1kZXNjcmlwdGlvbi9WaWRlb0Rlc2NyaXB0aW9uQ29tcG9uZW50LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9iamVjdEhhc2ggfSBmcm9tICdiYWNrYm9uZSc7XHJcblxyXG5pbXBvcnQgeyBDb3JlIH0gZnJvbSAnbGlicy9jb21tb24vY29yZSc7XHJcblxyXG5pbXBvcnQgeyBUZXh0SGVscGVyIH0gZnJvbSAnc2hhcmVkL3V0aWxzJztcclxuaW1wb3J0IHsgTGFuZ3VhZ2VTZXJ2aWNlIH0gZn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QTtBQXJDQTtBQUFBO0FBQUE7QUF3Q0E7QUFDQTtBQUNBO0FBMUNBO0FBQUE7QUFBQTtBQTZDQTtBQUdBO0FBRUE7QUFsREE7QUFBQTtBQUFBO0FBcURBO0FBQ0E7QUFFQTtBQUFBO0FBQUE7QUFBQTtBQUNBO0FBekRBO0FBQUE7QUFBQTtBQTJEQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBSUE7QUFFQTtBQUNBO0FBckVBO0FBQUE7QUFBQTtBQXVFQTtBQUFBO0FBQUE7QUFDQTtBQUVBO0FBQ0E7QUFDQTtBQUNBO0FBRUE7QUFLQTtBQUNBO0FBckZBO0FBQUE7QUFBQTtBQXdGQTtBQUNBO0FBRkE7QUFBQTtBQUNBO0FBSUE7QUFDQTtBQUdBO0FBQ0E7QUFqR0E7QUFBQTtBQUFBO0FBb0dBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFKQTtBQU1BO0FBMUdBO0FBQUE7QUFBQTtBQTZHQTtBQUNBO0FBOUdBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/shared/components/video-description/VideoDescriptionComponent.ts\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/shared/components/video-description/video-description.scss":
|
|
19
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"columnNames\":\"cv--columnNames--1a1Re\",\"descriptionWrapper\":\"cv--descriptionWrapper--2MZC5\",\"description\":\"cv--description--3U9j9\",\"ellipsis\":\"cv--ellipsis--1YjUg\",\"singleEllipsis\":\"cv--singleEllipsis--3SNtn\",\"showMoreEllipsis\":\"cv--showMoreEllipsis--xy3i9\",\"showEllipsis\":\"cv--showEllipsis--1_L9t\",\"hideEllipsis\":\"cv--hideEllipsis--TCdgP\",\"open\":\"cv--open--18ojI\",\"truncateSmall\":\"cv--truncateSmall--nLuVF\",\"truncateLarge\":\"cv--truncateLarge--sEELY\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tZGVzY3JpcHRpb24vdmlkZW8tZGVzY3JpcHRpb24uc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9zaGFyZWQvY29tcG9uZW50cy92aWRlby1kZXNjcmlwdGlvbi92aWRlby1kZXNjcmlwdGlvbi5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxubW9kdWxlLmV4cG9ydHMgPSB7XCJjb2x1bW5OYW1lc1wiOlwiY3YtLWNvbHVtbk5hbWVzLS0xYTFSZVwiLFwiZGVzY3JpcHRpb25XcmFwcGVyXCI6XCJjdi0tZGVzY3JpcHRpb25XcmFwcGVyLS0yTVpDNVwiLFwiZGVzY3JpcHRpb25cIjpcImN2LS1kZXNjcmlwdGlvbi0tM1U5ajlcIixcImVsbGlwc2lzXCI6XCJjdi0tZWxsaXBzaXMtLTFZalVnXCIsXCJzaW5nbGVFbGxpcHNpc1wiOlwiY3YtLXNpbmdsZUVsbGlwc2lzLS0zU050blwiLFwic2hvd01vcmVFbGxpcHNpc1wiOlwiY3YtLXNob3dNb3JlRWxsaXBzaXMtLXh5M2k5XCIsXCJzaG93RWxsaXBzaXNcIjpcImN2LS1zaG93RWxsaXBzaXMtLTFfTDl0XCIsXCJoaWRlRWxsaXBzaXNcIjpcImN2LS1oaWRlRWxsaXBzaXMtLVRDZGdQXCIsXCJvcGVuXCI6XCJjdi0tb3Blbi0tMThvaklcIixcInRydW5jYXRlU21hbGxcIjpcImN2LS10cnVuY2F0ZVNtYWxsLS1uTHVWRlwiLFwidHJ1bmNhdGVMYXJnZVwiOlwiY3YtLXRydW5jYXRlTGFyZ2UtLXNFRUxZXCJ9OyJdLCJtYXBwaW5ncyI6IkFBQUE7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/video-description/video-description.scss\n");
|
|
22
|
-
|
|
23
|
-
/***/ }),
|
|
24
|
-
|
|
25
|
-
/***/ "./src/shared/components/video-preview/VideoPreview.hbs":
|
|
26
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
27
|
-
|
|
28
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"video-player-region cursor-pointer responsize-img\\\">\\r\\n <div class=\\\"thumbnail-region\\\"></div>\\r\\n</div>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvc2hhcmVkL2NvbXBvbmVudHMvdmlkZW8tcHJldmlldy9WaWRlb1ByZXZpZXcuaGJzLmpzIiwic291cmNlcyI6WyJmaWxlOi8vQzovQ2xpY2tWaWV3IFByb2plY3RzL0BjbGlja3ZpZXcvcGFja2FnZXMvcHJvamVjdHMvbGlicmFyeS1lZGl0b3Ivc3JjL3NoYXJlZC9jb21wb25lbnRzL3ZpZGVvLXByZXZpZXcvVmlkZW9QcmV2aWV3LmhicyJdLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgSGFuZGxlYmFycyA9IHJlcXVpcmUoJ2hhbmRsZWJhcnMnKTtcbm1vZHVsZS5leHBvcnRzID0gKEhhbmRsZWJhcnNbJ2RlZmF1bHQnXSB8fCBIYW5kbGViYXJzKS50ZW1wbGF0ZSh7XCJjb21waWxlclwiOls4LFwiPj0gNC4zLjBcIl0sXCJtYWluXCI6ZnVuY3Rpb24oY29udGFpbmVyLGRlcHRoMCxoZWxwZXJzLHBhcnRpYWxzLGRhdGEpIHtcbiAgICByZXR1cm4gXCI8ZGl2IGNsYXNzPVxcXCJ2aWRlby1wbGF5ZXItcmVnaW9uIGN1cnNvci1wb2ludGVyIHJlc3BvbnNpemUtaW1nXFxcIj5cXHJcXG4gIDxkaXYgY2xhc3M9XFxcInRodW1ibmFpbC1yZWdpb25cXFwiPjwvZGl2PlxcclxcbjwvZGl2PlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/video-preview/VideoPreview.hbs\n");
|
|
29
|
-
|
|
30
|
-
/***/ }),
|
|
31
|
-
|
|
32
|
-
/***/ "./src/shared/components/video-preview/VideoPreviewComponent.ts":
|
|
33
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
34
|
-
|
|
35
|
-
"use strict";
|
|
36
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"VideoPreviewComponent\", function() { return VideoPreviewComponent; });\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"underscore\");\n/* harmony import */ var underscore__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(underscore__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/analytics/src/interfaces/index.ts\");\n/* harmony import */ var libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/analytics/src/AnalyticsHelper.ts\");\n/* harmony import */ var libs_shared_enums_Images__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"../../libs/shared/src/enums/Images.ts\");\n/* harmony import */ var libs_shared_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"../../libs/shared/src/legacy/components/thumbnail/ThumbnailComponent.ts\");\n/* harmony import */ var shared_behaviors__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/shared/behaviors/index.ts\");\n/* harmony import */ var shared_utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/shared/utils/index.ts\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var shared_components_web_player_WebPlayerComponent__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/shared/components/web-player/WebPlayerComponent.ts\");\n/* harmony import */ var _VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/shared/components/video-preview/VideoPreview.hbs\");\n/* harmony import */ var _VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar VideoPreviewComponent = /*#__PURE__*/function (_Core$Component) {\n _inherits(VideoPreviewComponent, _Core$Component);\n\n var _super = _createSuper(VideoPreviewComponent);\n\n function VideoPreviewComponent(options) {\n _classCallCheck(this, VideoPreviewComponent);\n\n return _super.call(this, options);\n }\n\n _createClass(VideoPreviewComponent, [{\n key: \"initialize\",\n value: function initialize() {\n this.bindListeners();\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'VideoPreviewComponent';\n }\n }, {\n key: \"template\",\n get: function get() {\n return _VideoPreview_hbs__WEBPACK_IMPORTED_MODULE_11___default.a;\n }\n }, {\n key: \"instanceChannelName\",\n get: function get() {\n return shared_utils__WEBPACK_IMPORTED_MODULE_8__[\"RadioChannelHelper\"].generateUniqueChannelName(this);\n }\n }, {\n key: \"defaults\",\n get: function get() {\n return {\n captureAnalytics: true\n };\n }\n }, {\n key: \"behaviors\",\n get: function get() {\n var _this = this;\n\n return [{\n behaviorClass: shared_behaviors__WEBPACK_IMPORTED_MODULE_7__[\"LazyLoadBehavior\"],\n selector: '.lazy-img',\n callback: function callback() {\n var channel = backbone__WEBPACK_IMPORTED_MODULE_1__[\"Radio\"].channel(_this.instanceChannelName);\n channel.trigger('show:play:icon');\n },\n minBrowserSupportVersion: shared_constants__WEBPACK_IMPORTED_MODULE_9__[\"LazyLoadMinBrowserSupportVersion\"]\n }];\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n player: {\n el: '.video-player-region',\n replaceElement: false\n },\n thumbnail: {\n el: '.thumbnail-region',\n replaceElement: true\n }\n };\n }\n }, {\n key: \"events\",\n value: function events() {\n return {\n click: 'onClick'\n };\n }\n }, {\n key: \"bindListeners\",\n value: function bindListeners() {\n if (!this.options.channelName) return;\n this.listenTo(this.options.channelName, 'update:chapter:time', this.onUpdateWebplayer);\n }\n }, {\n key: \"onUpdateWebplayer\",\n value: function onUpdateWebplayer(time) {\n /**\r\n * Where the webplayer hasn't been set up yet, we want to render it then jump to\r\n * the chapter's timepoint immediately once it has been initialised.\r\n */\n if (!this.player) {\n this.listenToOnce(this.options.channelName, 'webplayer:loaded', underscore__WEBPACK_IMPORTED_MODULE_0__[\"bind\"](this.seekToChapter, this, time));\n this.renderVideoPreview();\n return;\n }\n\n this.seekToChapter(time);\n }\n }, {\n key: \"seekToChapter\",\n value: function seekToChapter(time) {\n this.player.seekTo(time);\n }\n }, {\n key: \"onClick\",\n value: function onClick() {\n if (this.player) return;\n this.renderVideoPreview();\n }\n }, {\n key: \"renderThumbnail\",\n value: function renderThumbnail() {\n this.showChildView('thumbnail', new libs_shared_legacy_components_thumbnail_ThumbnailComponent__WEBPACK_IMPORTED_MODULE_6__[\"ThumbnailComponent\"]({\n model: this.model,\n thumbnailOptions: {\n size: libs_shared_enums_Images__WEBPACK_IMPORTED_MODULE_5__[\"ImageSize\"].Medium\n },\n playIcon: true,\n lazyload: true,\n channelName: this.instanceChannelName\n }));\n }\n }, {\n key: \"renderVideoPreview\",\n value: function renderVideoPreview() {\n this.player = new shared_components_web_player_WebPlayerComponent__WEBPACK_IMPORTED_MODULE_10__[\"WebPlayerComponent\"]({\n model: this.model,\n webPlayerUrl: this.options.webPlayerUrl,\n parentChannelName: this.options.channelName,\n autoplay: true,\n analyticsOptions: libs_analytics_AnalyticsHelper__WEBPACK_IMPORTED_MODULE_4__[\"AnalyticsHelper\"].mergeOptions(this.options.analyticsOptions, {\n entity: libs_analytics_interfaces__WEBPACK_IMPORTED_MODULE_3__[\"EntityType\"].Video\n }),\n captureAnalytics: this.options.captureAnalytics,\n currentUser: this.options.currentUser\n });\n this.showChildView('player', this.player);\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n this.renderThumbnail();\n }\n }]);\n\n return VideoPreviewComponent;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_2__[\"Core\"].Component);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9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O0FBQUE7QUFBQTtBQXFCQTtBQUNBO0FBdEJBO0FBQUE7QUFBQTtBQXlCQTtBQUNBO0FBREE7QUFHQTtBQTVCQTtBQUFBO0FBQUE7QUE4QkE7QUFDQTtBQUFBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFQQTtBQVNBO0FBeENBO0FBQUE7QUFBQTtBQTJDQTtBQUNBO0FBQ0E7QUFDQTtBQUZBO0FBSUE7QUFDQTtBQUNBO0FBRkE7QUFMQTtBQVVBO0FBckRBO0FBQUE7QUFBQTtBQXdEQTtBQUNBO0FBREE7QUFHQTtBQTNEQTtBQUFBO0FBQUE7QUE4REE7QUFHQTtBQUNBO0FBbEVBO0FBQUE7QUFBQTtBQXFFQTs7O0FBR0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBaEZBO0FBQUE7QUFBQTtBQW1GQTtBQUNBO0FBcEZBO0FBQUE7QUFBQTtBQXVGQTtBQUVBO0FBQ0E7QUExRkE7QUFBQTtBQUFBO0FBNkZBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBQ0E7QUFMQTtBQU9BO0FBcEdBO0FBQUE7QUFBQTtBQXVHQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQURBO0FBR0E7QUFDQTtBQVRBO0FBWUE7QUFDQTtBQXBIQTtBQUFBO0FBQUE7QUF1SEE7QUFDQTtBQXhIQTtBQUNBO0FBREE7QUFBQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/shared/components/video-preview/VideoPreviewComponent.ts\n");
|
|
37
|
-
|
|
38
|
-
/***/ })
|
|
39
|
-
|
|
40
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[60],{1034:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=l(c);function c(){return a(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),c}(r.a.Model)},1190:function(e,t,n){"use strict";var r=n(3),o="staffRequests.utils",i={destinationLibrary:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectLibrary")},destinationFolder:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectFolder")}},a={message:[{required:!0,msg:function(){return r.a.getPhrase("staffRequests.utils","provideMessage")}}]};n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},1335:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return"<p><strong>"+a(e.lambda(null!=(i=null!=t?t.video:t)?i.name:i,t))+"</strong> "+a((n.lang||t&&t.lang||u).call(s,"notAddedToLibrary",{name:"lang",hash:{},data:o}))+'</p>\r\n<div class="form-group">\r\n <label for="message">'+a((n.lang||t&&t.lang||u).call(s,"provideMessageForUser",{name:"lang",hash:{lastName:null!=(i=null!=t?t.user:t)?i.surname:i,firstName:null!=(i=null!=t?t.user:t)?i.username:i},data:o}))+'</label>\r\n <textarea class="form-control" id="message" name="message" autofocus></textarea>\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1442:function(e,t,n){"use strict";n.r(t),n.d(t,"RejectStaffRequestView",(function(){return T}));var r=n(6),o=n(2),i=n(30),a=n(5),s=n(4),u=n(42),l=n(300),c=n(261),f=n(1034),d=n(0),p=n(13),h=n(3),y=n(1190),m=n(1335),b=n.n(m);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(R,e);var t,n,m,g=S(R);function R(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),g.call(this,e)}return t=R,(n=[{key:"initialize",value:function(){this.staffRequestDataService=a.a.getInstance(d.g.StaffRequests,this),this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"RejectStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.rejectStaffRequest"}},{key:"template",get:function(){return b.a}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.requestId)}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:l.e,title:h.a.getPhrase(this.lang,"rejectCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"reject"),extraButtonClass:"btn-danger",onClick:function(t){return e.onSubmit(t)},tooltip:function(){return e.getBtnTooltipOptions()}}},{behaviorClass:l.f,bindViewModel:!0}]}},{key:"bindings",get:function(){return{"[name=message]":{observe:"message",setOptions:{validate:!0}}}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(d.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(d.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(this.viewModel,"change",this.onChange)}},{key:"getViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName),this.viewModel.addValidation(y.b)}},{key:"getBtnTooltipOptions",value:function(){if(!this.viewModel.isValid())return{title:h.a.getPhrase(this.lang,"provideMessage")}}},{key:"onChange",value:function(){this.spinnerModel.set(c.c.Disabled,!1===this.viewModel.isValid())}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(c.b.ShowSpinner),this.staffRequestDataService.rejectStaffRequest(this.options.requestId,this.viewModel.get("message")),this.logAction())}},{key:"logAction",value:function(){var e={location:s.LocationContext.Popup,actionType:s.UserAction.Reject,entity:s.EntityType.StaffRequest,workflowPhase:s.WorkflowPhase.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id};u.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:d.b.STAFF_REQUESTS,action:d.a.StaffRequests.HOME})}},{key:"onBeforeRender",value:function(){this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:p.r.getSpinner({size:p.s.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){r.Validation.bind(this,{model:this.viewModel})}}])&&v(t.prototype,n),m&&v(t,m),R}(o.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[60],{1026:function(e,t,n){"use strict";n.d(t,"a",(function(){return d}));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 a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function l(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return c(this,n)}}function c(e,t){return!t||"object"!==i(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var d=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(c,e);var t,n,r,i=l(c);function c(){return a(this,c),i.apply(this,arguments)}return t=c,(n=[{key:"defaults",value:function(){return e={},t=o.c.Disabled,n=!0,t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}}])&&s(t.prototype,n),r&&s(t,r),c}(r.a.Model)},1182:function(e,t,n){"use strict";var r=n(3),o="staffRequests.utils",i={destinationLibrary:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectLibrary")},destinationFolder:function(e){if(!e||!e.id)return r.a.getPhrase(o,"selectFolder")}},a={message:[{required:!0,msg:function(){return r.a.getPhrase("staffRequests.utils","provideMessage")}}]};n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}))},1327:function(e,t,n){var r=n(10);e.exports=(r.default||r).template({1:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return(null!=(i=e.lambda(null!=(i=null!=t?t.options:t)?i.spinnerEl:i,t))?i:"")+"\r\n"},3:function(e,t,n,r,o){e.propertyIsEnumerable;var i,a=e.escapeExpression,s=null!=t?t:e.nullContext||{},u=e.hooks.helperMissing;return"<p><strong>"+a(e.lambda(null!=(i=null!=t?t.video:t)?i.name:i,t))+"</strong> "+a((n.lang||t&&t.lang||u).call(s,"notAddedToLibrary",{name:"lang",hash:{},data:o}))+'</p>\r\n<div class="form-group">\r\n <label for="message">'+a((n.lang||t&&t.lang||u).call(s,"provideMessageForUser",{name:"lang",hash:{lastName:null!=(i=null!=t?t.user:t)?i.surname:i,firstName:null!=(i=null!=t?t.user:t)?i.username:i},data:o}))+'</label>\r\n <textarea class="form-control" id="message" name="message" autofocus></textarea>\r\n <div class="form-feedback"></div>\r\n</div>\r\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,r,o){var i;e.propertyIsEnumerable;return null!=(i=n.unless.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.dataFetched:i,{name:"unless",hash:{},fn:e.program(1,o,0),inverse:e.program(3,o,0),data:o}))?i:""},useData:!0})},1434:function(e,t,n){"use strict";n.r(t),n.d(t,"RejectStaffRequestView",(function(){return T}));var r=n(6),o=n(2),i=n(30),a=n(5),s=n(4),u=n(42),l=n(301),c=n(262),f=n(1026),d=n(0),p=n(13),h=n(3),y=n(1182),m=n(1327),b=n.n(m);function g(e){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function w(e,t){return(w=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function S(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=k(e);if(t){var o=k(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(e,t){return!t||"object"!==g(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&w(e,t)}(R,e);var t,n,m,g=S(R);function R(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,R),g.call(this,e)}return t=R,(n=[{key:"initialize",value:function(){this.staffRequestDataService=a.a.getInstance(d.g.StaffRequests,this),this.getViewModel(),this.bindListeners()}},{key:"name",get:function(){return"RejectStaffRequestView"}},{key:"title",get:function(){return h.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"staffRequests.rejectStaffRequest"}},{key:"template",get:function(){return b.a}},{key:"tagName",get:function(){return"form"}},{key:"viewModelName",get:function(){return"".concat(this.name,":").concat(this.options.requestId)}},{key:"channelName",get:function(){return p.k.generateUniqueChannelName(this)}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:l.e,title:h.a.getPhrase(this.lang,"rejectCheck"),size:"modal-md",spinnerButtonOptions:{model:this.spinnerModel=new f.a,channelName:this.channelName,buttonText:h.a.getPhrase(this.lang,"reject"),extraButtonClass:"btn-danger",onClick:function(t){return e.onSubmit(t)},tooltip:function(){return e.getBtnTooltipOptions()}}},{behaviorClass:l.f,bindViewModel:!0}]}},{key:"bindings",get:function(){return{"[name=message]":{observe:"message",setOptions:{validate:!0}}}}},{key:"events",value:function(){return{submit:"onSubmit"}}},{key:"bindListeners",value:function(){var e="".concat(d.f.STAFF_REQUEST_BY_ID,":").concat(this.options.requestId);this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":sync"),this.render),this.listenTo(d.e.STAFF_REQUEST,"".concat(e,":error"),this.redirectToHome);var t="".concat(d.f.STAFF_REQUESTS,":").concat(this.options.requestId,":update");this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":sync"),this.redirectToHome),this.listenTo(d.e.STAFF_REQUEST,"".concat(t,":error"),this.redirectToHome),this.listenTo(this.viewModel,"change",this.onChange)}},{key:"getViewModel",value:function(){this.viewModel=i.a.get(this.viewModelName),this.viewModel.addValidation(y.b)}},{key:"getBtnTooltipOptions",value:function(){if(!this.viewModel.isValid())return{title:h.a.getPhrase(this.lang,"provideMessage")}}},{key:"onChange",value:function(){this.spinnerModel.set(c.c.Disabled,!1===this.viewModel.isValid())}},{key:"onSubmit",value:function(e){e&&e.preventDefault(),this.viewModel.validate(),!1!==this.viewModel.isValid()&&(r.Radio.channel(this.channelName).trigger(c.b.ShowSpinner),this.staffRequestDataService.rejectStaffRequest(this.options.requestId,this.viewModel.get("message")),this.logAction())}},{key:"logAction",value:function(){var e={location:s.LocationContext.Popup,actionType:s.UserAction.Reject,entity:s.EntityType.StaffRequest,workflowPhase:s.WorkflowPhase.Complete},t={id:this.options.requestId,videoId:this.model.get("video")&&this.model.get("video").id,requestingUserId:this.model.get("user")&&this.model.get("user").id,sourceLibraryId:this.model.get("sourceLibrary")&&this.model.get("sourceLibrary").id,sourceFolderId:this.model.get("sourceFolder")&&this.model.get("sourceFolder").id};u.a.logUserAction(t,e)}},{key:"redirectToHome",value:function(){o.a.AppLinkHelper.trigger({application:d.b.STAFF_REQUESTS,action:d.a.StaffRequests.HOME})}},{key:"onBeforeRender",value:function(){this.model=this.staffRequestDataService.getStaffRequest(this.options.requestId)}},{key:"viewOptions",value:function(){return{dataFetched:!!this.model,spinnerEl:p.r.getSpinner({size:p.s.Large,extraClasses:"mx-auto"})}}},{key:"onRender",value:function(){r.Validation.bind(this,{model:this.viewModel})}}])&&v(t.prototype,n),m&&v(t,m),R}(o.a.View)}}]);
|
package/dist/scripts/60.chunk.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
(window["webpackJsonp_clickview_library_editor"] = window["webpackJsonp_clickview_library_editor"] || []).push([[60],{
|
|
2
|
-
|
|
3
|
-
/***/ "./src/apps/migration-wizard/enums/FinalisationTaskStatus.ts":
|
|
4
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
5
|
-
|
|
6
|
-
"use strict";
|
|
7
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"FinalisationTaskStatus\", function() { return FinalisationTaskStatus; });\nvar FinalisationTaskStatus;\n\n(function (FinalisationTaskStatus) {\n FinalisationTaskStatus[FinalisationTaskStatus[\"Processing\"] = 1] = \"Processing\";\n FinalisationTaskStatus[FinalisationTaskStatus[\"Completed\"] = 2] = \"Completed\";\n FinalisationTaskStatus[FinalisationTaskStatus[\"Queued\"] = 3] = \"Queued\";\n})(FinalisationTaskStatus || (FinalisationTaskStatus = {}));//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL2VudW1zL0ZpbmFsaXNhdGlvblRhc2tTdGF0dXMudHMuanMiLCJzb3VyY2VzIjpbImZpbGU6Ly9DOi9DbGlja1ZpZXcgUHJvamVjdHMvQGNsaWNrdmlldy9wYWNrYWdlcy9wcm9qZWN0cy9saWJyYXJ5LWVkaXRvci9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL2VudW1zL0ZpbmFsaXNhdGlvblRhc2tTdGF0dXMudHMiXSwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRmluYWxpc2F0aW9uVGFza1N0YXR1cyB7XHJcbiAgICBQcm9jZXNzaW5nID0gMSxcclxuICAgIENvbXBsZXRlZCA9IDIsXHJcbiAgICBRdWV1ZWQgPSAzXHJcbn0iXSwibWFwcGluZ3MiOiJBQUFBO0FBQUE7QUFBQTtBQUNBO0FBREE7QUFDQTtBQUNBO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/enums/FinalisationTaskStatus.ts\n");
|
|
8
|
-
|
|
9
|
-
/***/ }),
|
|
10
|
-
|
|
11
|
-
/***/ "./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgress.hbs":
|
|
12
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
13
|
-
|
|
14
|
-
eval("var Handlebars = __webpack_require__(\"handlebars\");\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \"<h4 class=\\\"pb-4\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"heading\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</h4>\\r\\n<div class=\\\"progress-circle-region\\\"></div>\\r\\n<p class=\\\"\"\n + alias4(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.info : stack1), depth0))\n + \" pt-4\\\">\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"body\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n <br>\\r\\n \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"note\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</p>\";\n},\"useData\":true});//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL3ZpZXdzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy9QdWJsaXNoTGlicmFyeVByb2dyZXNzLmhicy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL21pZ3JhdGlvbi13aXphcmQvdmlld3MvcHVibGlzaC1saWJyYXJ5LXByb2dyZXNzL1B1Ymxpc2hMaWJyYXJ5UHJvZ3Jlc3MuaGJzIl0sInNvdXJjZXNDb250ZW50IjpbInZhciBIYW5kbGViYXJzID0gcmVxdWlyZSgnaGFuZGxlYmFycycpO1xubW9kdWxlLmV4cG9yd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sYW5nfHwoZGVwdGgwICYmIGRlcHRoMC5sYW5nKXx8YWxpYXMzKS5jYWxsKGFsaWFzMixcImJvZHlcIix7XCJuYW1lXCI6XCJsYW5nXCIsXCJoYXNoXCI6e30sXCJkYXRhXCI6ZGF0YX0pKVxuICAgICsgXCJcXHJcXG4gIDxicj5cXHJcXG4gIFwiXG4gICAgKyBhbGlhczQoKGhlbHBlcnMubGFuZ3x8KGRlcHRoMCAmJiBkZXB0aDAubGFuZyl8fGFsaWFzMykuY2FsbChhbGlhczIsXCJub3RlXCIse1wibmFtZVwiOlwibGFuZ1wiLFwiaGFzaFwiOnt9LFwiZGF0YVwiOmRhdGF9KSlcbiAgICArIFwiXFxyXFxuPC9wPlwiO1xufSxcInVzZURhdGFcIjp0cnVlfSk7Il0sIm1hcHBpbmdzIjoiQUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgress.hbs\n");
|
|
15
|
-
|
|
16
|
-
/***/ }),
|
|
17
|
-
|
|
18
|
-
/***/ "./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.ts":
|
|
19
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
20
|
-
|
|
21
|
-
"use strict";
|
|
22
|
-
eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"PublishLibraryProgressView\", function() { return PublishLibraryProgressView; });\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(\"backbone\");\n/* harmony import */ var backbone__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(backbone__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var libs_common_core__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(\"../../libs/common/src/backbone/index.ts\");\n/* harmony import */ var libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(\"../../libs/common/src/backbone/services/InstanceManager.ts\");\n/* harmony import */ var libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(\"../../libs/common/src/backbone/services/ViewModelService.ts\");\n/* harmony import */ var libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(\"../../libs/common/src/backbone/services/LanguageService.tsx\");\n/* harmony import */ var shared_constants__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(\"./src/shared/constants/index.ts\");\n/* harmony import */ var apps_migration_wizard_components__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(\"./src/apps/migration-wizard/components/index.ts\");\n/* harmony import */ var apps_migration_wizard_enums_FinalisationType__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(\"./src/apps/migration-wizard/enums/FinalisationType.ts\");\n/* harmony import */ var apps_migration_wizard_enums_FinalisationTaskStatus__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(\"./src/apps/migration-wizard/enums/FinalisationTaskStatus.ts\");\n/* harmony import */ var apps_migration_wizard_utils_MigrationRadioChannels__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(\"./src/apps/migration-wizard/utils/MigrationRadioChannels.ts\");\n/* harmony import */ var _publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(\"./src/apps/migration-wizard/views/publish-library-progress/publish-library-progress.scss\");\n/* harmony import */ var _publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(\"./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgress.hbs\");\n/* harmony import */ var _PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11__);\nfunction _typeof(obj) { \"@babel/helpers - typeof\"; if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; } return _typeof(obj); }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }\n\nfunction _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function\"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); if (superClass) _setPrototypeOf(subClass, superClass); }\n\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }\n\nfunction _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) { return call; } return _assertThisInitialized(self); }\n\nfunction _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return self; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\nfunction _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }\n\n\n\n\n\n\n\n\n\n\n\n\n\n/**\r\n * Interval in ms to poll\r\n */\n\nvar pollingInterval = 3000;\nvar PublishLibraryProgressView = /*#__PURE__*/function (_Core$View) {\n _inherits(PublishLibraryProgressView, _Core$View);\n\n var _super = _createSuper(PublishLibraryProgressView);\n\n function PublishLibraryProgressView() {\n _classCallCheck(this, PublishLibraryProgressView);\n\n return _super.apply(this, arguments);\n }\n\n _createClass(PublishLibraryProgressView, [{\n key: \"initialize\",\n value: function initialize() {\n this.migrationVideoDataService = libs_common_backbone_services_InstanceManager__WEBPACK_IMPORTED_MODULE_2__[\"InstanceManager\"].getInstance(shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"DataServices\"].MigrationVideo, this);\n this.viewModel = libs_common_backbone_services_ViewModelService__WEBPACK_IMPORTED_MODULE_3__[\"ViewModelService\"].get('publish:library:progress', {\n percentage: 0\n });\n }\n }, {\n key: \"name\",\n get: function get() {\n return 'PublishLibraryProgressView';\n }\n }, {\n key: \"title\",\n get: function get() {\n return libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'title');\n }\n }, {\n key: \"lang\",\n get: function get() {\n return 'migrationWizard.publishLibraryProgress';\n }\n }, {\n key: \"className\",\n get: function get() {\n return \"container text-center p-5 bg-white \".concat(_publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__[\"migrationBackupContainer\"], \" \").concat(_publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__[\"backupProgress\"]);\n }\n }, {\n key: \"template\",\n get: function get() {\n return _PublishLibraryProgress_hbs__WEBPACK_IMPORTED_MODULE_11__;\n }\n }, {\n key: \"regions\",\n value: function regions() {\n return {\n progressCircle: {\n replaceElement: true,\n el: '.progress-circle-region'\n }\n };\n }\n }, {\n key: \"poll\",\n value: function poll() {\n var _this = this;\n\n this.migrationVideoDataService.getPublishLibrariesProgress(apps_migration_wizard_enums_FinalisationType__WEBPACK_IMPORTED_MODULE_7__[\"FinalisationType\"].Phase2, function (progress) {\n /**\r\n * This prevents the polling from returning and redirecting back to this view\r\n * if the user has already been directed to backup_complete and is trying\r\n * to progress onto the start view\r\n */\n if (_this.isDestroyed()) return;\n\n if (progress.get('type') !== apps_migration_wizard_enums_FinalisationType__WEBPACK_IMPORTED_MODULE_7__[\"FinalisationType\"].Phase2) {\n _this.progress = 0;\n setTimeout(function () {\n return _this.poll();\n }, pollingInterval);\n return;\n }\n\n _this.progress = progress.get('progressPercentage') * 100;\n\n _this.setPercentage();\n\n if (progress.get('status') === apps_migration_wizard_enums_FinalisationTaskStatus__WEBPACK_IMPORTED_MODULE_8__[\"FinalisationTaskStatus\"].Completed) {\n _this.migrationVideoDataService.clearCacheAndGetCustomerMetadata(function () {\n backbone__WEBPACK_IMPORTED_MODULE_0__[\"Radio\"].channel(apps_migration_wizard_utils_MigrationRadioChannels__WEBPACK_IMPORTED_MODULE_9__[\"MigrationRadioChannels\"].LIBRARY_STATUS).trigger('status:changed');\n libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].AppLinkHelper.trigger({\n application: shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"AppChannels\"].MIGRATION_WIZARD,\n action: shared_constants__WEBPACK_IMPORTED_MODULE_5__[\"Actions\"].MigrationWizard.PUBLISH_LIBRARY_COMPLETE\n });\n });\n\n return;\n }\n\n setTimeout(function () {\n return _this.poll();\n }, pollingInterval);\n });\n }\n }, {\n key: \"setPercentage\",\n value: function setPercentage() {\n if (!this.progress) return;\n this.viewModel.set({\n percentage: Math.round(this.progress)\n });\n }\n }, {\n key: \"renderProgressCircle\",\n value: function renderProgressCircle() {\n this.showChildView('progressCircle', new apps_migration_wizard_components__WEBPACK_IMPORTED_MODULE_6__[\"ProgressCircleComponent\"]({\n model: this.viewModel,\n text: libs_common_backbone_services_LanguageService__WEBPACK_IMPORTED_MODULE_4__[\"LanguageService\"].getPhrase(this.lang, 'hasBeenPublished'),\n class: _publish_library_progress_scss__WEBPACK_IMPORTED_MODULE_10__[\"progress\"]\n }));\n }\n }, {\n key: \"onRender\",\n value: function onRender() {\n if (!this.pollingStarted) {\n this.poll();\n this.pollingStarted = true;\n }\n\n this.renderProgressCircle();\n }\n }]);\n\n return PublishLibraryProgressView;\n}(libs_common_core__WEBPACK_IMPORTED_MODULE_1__[\"Core\"].View);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL3ZpZXdzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy9QdWJsaXNoTGlicmFyeVByb2dyZXNzVmlldy50cy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL21pZ3JhdGlvbi13aXphcmQvdmlld3MvcHVibGlzaC1saWJyYXJ5LXByb2dyZXNzL1B1Ymxpc2hMaWJyYXJ5UHJvZ3Jlc3NWaWV3LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE9iamVjdEhhc2gsIFJhZGlvIH0gZnJvbSAnYmFja2JvbmUnO1xyXG5cclxuaW1w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TtBQUNBO0FBQ0E7QUFFQTtBQUNBO0FBQ0E7QUFGQTtBQUlBO0FBQ0E7QUFBQTtBQUNBO0FBQ0E7QUFDQTtBQUFBO0FBQUE7QUFDQTtBQUNBO0FBN0VBO0FBQUE7QUFBQTtBQWdGQTtBQUVBO0FBQUE7QUFBQTtBQUNBO0FBbkZBO0FBQUE7QUFBQTtBQXNGQTtBQUNBO0FBQ0E7QUFDQTtBQUhBO0FBS0E7QUEzRkE7QUFBQTtBQUFBO0FBOEZBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBcEdBO0FBQ0E7QUFEQTtBQUFBIiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/views/publish-library-progress/PublishLibraryProgressView.ts\n");
|
|
23
|
-
|
|
24
|
-
/***/ }),
|
|
25
|
-
|
|
26
|
-
/***/ "./src/apps/migration-wizard/views/publish-library-progress/publish-library-progress.scss":
|
|
27
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
28
|
-
|
|
29
|
-
eval("// extracted by mini-css-extract-plugin\nmodule.exports = {\"backupProgress\":\"cv--backupProgress--sg8Kg\",\"info\":\"cv--info--2HxTI\",\"progress\":\"cv--progress--hbLuA\",\"migrationBackupContainer\":\"cv--migrationBackupContainer--2lpDI\"};//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9zcmMvYXBwcy9taWdyYXRpb24td2l6YXJkL3ZpZXdzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy9wdWJsaXNoLWxpYnJhcnktcHJvZ3Jlc3Muc2Nzcy5qcyIsInNvdXJjZXMiOlsiZmlsZTovL0M6L0NsaWNrVmlldyBQcm9qZWN0cy9AY2xpY2t2aWV3L3BhY2thZ2VzL3Byb2plY3RzL2xpYnJhcnktZWRpdG9yL3NyYy9hcHBzL21pZ3JhdGlvbi13aXphcmQvdmlld3MvcHVibGlzaC1saWJyYXJ5LXByb2dyZXNzL3B1Ymxpc2gtbGlicmFyeS1wcm9ncmVzcy5zY3NzIl0sInNvdXJjZXNDb250ZW50IjpbIi8vIGV4dHJhY3RlZCBieSBtaW5pLWNzcy1leHRyYWN0LXBsdWdpblxubW9kdWxlLmV4cG9ydHMgPSB7XCJiYWNrdXBQcm9ncmVzc1wiOlwiY3YtLWJhY2t1cFByb2dyZXNzLS1zZzhLZ1wiLFwiaW5mb1wiOlwiY3YtLWluZm8tLTJIeFRJXCIsXCJwcm9ncmVzc1wiOlwiY3YtLXByb2dyZXNzLS1oYkx1QVwiLFwibWlncmF0aW9uQmFja3VwQ29udGFpbmVyXCI6XCJjdi0tbWlncmF0aW9uQmFja3VwQ29udGFpbmVyLS0ybHBESVwifTsiXSwibWFwcGluZ3MiOiJBQUFBO0FBQ0EiLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///./src/apps/migration-wizard/views/publish-library-progress/publish-library-progress.scss\n");
|
|
30
|
-
|
|
31
|
-
/***/ })
|
|
32
|
-
|
|
33
|
-
}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[61],{1346:function(n,e,t){var r=t(10);n.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(n,e,t,r,o){n.propertyIsEnumerable;var a,l=null!=e?e:n.nullContext||{},i=n.hooks.helperMissing,c=n.escapeExpression,s=n.lambda;return'<div class="p-3 my-3 bg-white text-center">\r\n <h1>'+c((t.lang||e&&e.lang||i).call(l,"uploadVideos",{name:"lang",hash:{},data:o}))+'</h1>\r\n <div class="my-3">\r\n <img src="/images/upload/upload-vid@2x.png" class="'+c(s(null!=(a=null!=(a=null!=e?e.options:e)?a.styles:a)?a.uploadImage:a,e))+'" />\r\n </div>\r\n <div>\r\n <button class="btn btn-primary choose-files">'+c((t.lang||e&&e.lang||i).call(l,"chooseVideo",{name:"lang",hash:{},data:o}))+"</button>\r\n </div>\r\n <div>\r\n <span>"+c((t.lang||e&&e.lang||i).call(l,"dragDrop",{name:"lang",hash:{},data:o}))+'</span>\r\n </div>\r\n</div>\r\n<div class="p-3 bg-white container-fluid">\r\n <div class="row">\r\n <div class="col-4">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"help",{name:"lang",hash:{},data:o}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ul>\r\n <li><a class="info-link" href="'+c(s(null!=(a=null!=e?e.options:e)?a.uploadArticleUrl:a,e))+'" target="_blank">'+c((t.lang||e&&e.lang||i).call(l,"instructionsHeading",{name:"lang",hash:{},data:o}))+'</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="col-8">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"termsHeading",{name:"lang",hash:{},data:o}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ol>\r\n <li>'+c((t.lang||e&&e.lang||i).call(l,"term1",{name:"lang",hash:{},data:o}))+"</li>\r\n <li>"+c((t.lang||e&&e.lang||i).call(l,"term2",{name:"lang",hash:{},data:o}))+"</li>\r\n <li>"+(null!=(a=(t.lang||e&&e.lang||i).call(l,"term3",{name:"lang",hash:{classNames:null!=(a=null!=e?e.options:e)?a.classNames:a,uploadTermsUrl:null!=(a=null!=e?e.options:e)?a.uploadTermsUrl:a},data:o}))?a:"")+"</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"},useData:!0})},1347:function(n,e,t){n.exports={uploadImage:"_2qNTM"}},1448:function(n,e,t){"use strict";t.r(e),t.d(e,"FileSelectView",(function(){return C}));var r=t(1),o=t(2),a=t(5),l=t(3),i=t(59),c=t(195),s=t(4),u=t(42),p=t(0),d=t(1346),f=t.n(d),h=t(1347),g=t.n(h),y=t(312),m=t(44),v=t(305),b=t(303),w=t(494);function k(n){return(k="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 U(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function S(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function _(n,e){return(_=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function T(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,r=x(n);if(e){var o=x(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return O(this,t)}}function O(n,e){return!e||"object"!==k(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 x(n){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var C=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&&_(n,e)}(h,n);var e,t,o,d=T(h);function h(){return U(this,h),d.apply(this,arguments)}return e=h,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,m.a.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=a.a.getInstance(p.x.VideoUpload,this)}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return f.a}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=r.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:y.a,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"onFilesSelected",value:function(n,e){this.videoUploadService.addFiles(n),this.logAction(n,e)}},{key:"logAction",value:function(n,e){var t={actionType:s.UserAction.Upload,entity:s.EntityType.Video,location:s.LocationContext.VideoUpload,workflowPhase:s.WorkflowPhase.Start,descriptor:u.a.mapInteractionType(e)};u.a.logUserAction(n,t)}},{key:"requiredResources",get:function(){return{config:c.b.config,currentUser:w.a.currentUser}}},{key:"viewOptions",value:function(){var n,e;return{styles:g.a,uploadArticleUrl:v.a.getArticle(null===(n=this.config)||void 0===n?void 0:n.get("supportSiteUrl"),b.a.UploadToLibraryEditor,null===(e=this.currentUser)||void 0===e?void 0:e.get("countryCode")),uploadTermsUrl:this.config?i.a.safeUrlConcat(this.config.get("marketingSiteUrl"),p.r.UploadingUserContent):"",classNames:"info-link"}}}])&&S(e.prototype,t),o&&S(e,o),h}(o.a.View)}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[61],{1338:function(n,e,t){var r=t(10);n.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(n,e,t,r,o){n.propertyIsEnumerable;var a,l=null!=e?e:n.nullContext||{},i=n.hooks.helperMissing,c=n.escapeExpression,s=n.lambda;return'<div class="p-3 my-3 bg-white text-center">\r\n <h1>'+c((t.lang||e&&e.lang||i).call(l,"uploadVideos",{name:"lang",hash:{},data:o}))+'</h1>\r\n <div class="my-3">\r\n <img src="/images/upload/upload-vid@2x.png" class="'+c(s(null!=(a=null!=(a=null!=e?e.options:e)?a.styles:a)?a.uploadImage:a,e))+'" />\r\n </div>\r\n <div>\r\n <button class="btn btn-primary choose-files">'+c((t.lang||e&&e.lang||i).call(l,"chooseVideo",{name:"lang",hash:{},data:o}))+"</button>\r\n </div>\r\n <div>\r\n <span>"+c((t.lang||e&&e.lang||i).call(l,"dragDrop",{name:"lang",hash:{},data:o}))+'</span>\r\n </div>\r\n</div>\r\n<div class="p-3 bg-white container-fluid">\r\n <div class="row">\r\n <div class="col-4">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"help",{name:"lang",hash:{},data:o}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ul>\r\n <li><a class="info-link" href="'+c(s(null!=(a=null!=e?e.options:e)?a.uploadArticleUrl:a,e))+'" target="_blank">'+c((t.lang||e&&e.lang||i).call(l,"instructionsHeading",{name:"lang",hash:{},data:o}))+'</a></li>\r\n </ul>\r\n </div>\r\n </div>\r\n <div class="col-8">\r\n <h4>'+c((t.lang||e&&e.lang||i).call(l,"termsHeading",{name:"lang",hash:{},data:o}))+'</h2>\r\n <div class="border-top pt-2">\r\n <ol>\r\n <li>'+c((t.lang||e&&e.lang||i).call(l,"term1",{name:"lang",hash:{},data:o}))+"</li>\r\n <li>"+c((t.lang||e&&e.lang||i).call(l,"term2",{name:"lang",hash:{},data:o}))+"</li>\r\n <li>"+(null!=(a=(t.lang||e&&e.lang||i).call(l,"term3",{name:"lang",hash:{classNames:null!=(a=null!=e?e.options:e)?a.classNames:a,uploadTermsUrl:null!=(a=null!=e?e.options:e)?a.uploadTermsUrl:a},data:o}))?a:"")+"</li>\r\n </ol>\r\n </div>\r\n </div>\r\n </div>\r\n</div>"},useData:!0})},1339:function(n,e,t){n.exports={uploadImage:"_2qNTM"}},1440:function(n,e,t){"use strict";t.r(e),t.d(e,"FileSelectView",(function(){return C}));var r=t(1),o=t(2),a=t(5),l=t(3),i=t(59),c=t(196),s=t(4),u=t(42),p=t(0),d=t(1338),f=t.n(d),h=t(1339),g=t.n(h),y=t(313),m=t(44),v=t(306),b=t(304),w=t(490);function k(n){return(k="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 U(n,e){if(!(n instanceof e))throw new TypeError("Cannot call a class as a function")}function S(n,e){for(var t=0;t<e.length;t++){var r=e[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function _(n,e){return(_=Object.setPrototypeOf||function(n,e){return n.__proto__=e,n})(n,e)}function T(n){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var t,r=x(n);if(e){var o=x(this).constructor;t=Reflect.construct(r,arguments,o)}else t=r.apply(this,arguments);return O(this,t)}}function O(n,e){return!e||"object"!==k(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 x(n){return(x=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}var C=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&&_(n,e)}(h,n);var e,t,o,d=T(h);function h(){return U(this,h),d.apply(this,arguments)}return e=h,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,m.a.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=a.a.getInstance(p.x.VideoUpload,this)}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return l.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return f.a}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=r.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:y.a,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"onFilesSelected",value:function(n,e){this.videoUploadService.addFiles(n),this.logAction(n,e)}},{key:"logAction",value:function(n,e){var t={actionType:s.UserAction.Upload,entity:s.EntityType.Video,location:s.LocationContext.VideoUpload,workflowPhase:s.WorkflowPhase.Start,descriptor:u.a.mapInteractionType(e)};u.a.logUserAction(n,t)}},{key:"requiredResources",get:function(){return{config:c.b.config,currentUser:w.a.currentUser}}},{key:"viewOptions",value:function(){var n,e;return{styles:g.a,uploadArticleUrl:v.a.getArticle(null===(n=this.config)||void 0===n?void 0:n.get("supportSiteUrl"),b.a.UploadToLibraryEditor,null===(e=this.currentUser)||void 0===e?void 0:e.get("countryCode")),uploadTermsUrl:this.config?i.a.safeUrlConcat(this.config.get("marketingSiteUrl"),p.r.UploadingUserContent):"",classNames:"info-link"}}}])&&S(e.prototype,t),o&&S(e,o),h}(o.a.View)}}]);
|