@clickview/library-editor 1.1.23-rc.3 → 1.1.23
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/css/1.chunk.css.map +1 -1
- package/dist/css/10.chunk.css.map +1 -1
- package/dist/css/11.chunk.css.map +1 -1
- package/dist/css/12.chunk.css.map +1 -1
- package/dist/css/13.chunk.css.map +1 -1
- package/dist/css/14.chunk.css.map +1 -1
- package/dist/css/16.chunk.css.map +1 -1
- package/dist/css/17.chunk.css.map +1 -1
- package/dist/css/18.chunk.css.map +1 -1
- package/dist/css/2.chunk.css.map +1 -1
- package/dist/css/21.chunk.css.map +1 -1
- package/dist/css/22.chunk.css.map +1 -1
- package/dist/css/23.chunk.css.map +1 -1
- package/dist/css/25.chunk.css.map +1 -1
- package/dist/css/26.chunk.css.map +1 -1
- package/dist/css/28.chunk.css.map +1 -1
- package/dist/css/29.chunk.css.map +1 -1
- package/dist/css/3.chunk.css.map +1 -1
- package/dist/css/30.chunk.css.map +1 -1
- package/dist/css/31.chunk.css.map +1 -1
- package/dist/css/32.chunk.css.map +1 -1
- package/dist/css/33.chunk.css.map +1 -1
- package/dist/css/34.chunk.css.map +1 -1
- package/dist/css/35.chunk.css.map +1 -1
- package/dist/css/36.chunk.css.map +1 -1
- package/dist/css/37.chunk.css.map +1 -1
- package/dist/css/38.chunk.css.map +1 -1
- package/dist/css/40.chunk.css.map +1 -1
- package/dist/css/41.chunk.css.map +1 -1
- package/dist/css/42.chunk.css.map +1 -1
- package/dist/css/43.chunk.css.map +1 -1
- package/dist/css/44.chunk.css.map +1 -1
- package/dist/css/45.chunk.css.map +1 -1
- package/dist/css/46.chunk.css.map +1 -1
- package/dist/css/47.chunk.css.map +1 -1
- package/dist/css/48.chunk.css.map +1 -1
- package/dist/css/49.chunk.css.map +1 -1
- package/dist/css/50.chunk.css.map +1 -1
- package/dist/css/51.chunk.css.map +1 -1
- package/dist/css/52.chunk.css.map +1 -1
- package/dist/css/55.chunk.css.map +1 -1
- package/dist/css/56.chunk.css.map +1 -1
- package/dist/css/58.chunk.css.map +1 -1
- package/dist/css/59.chunk.css.map +1 -1
- package/dist/css/6.chunk.css.map +1 -1
- package/dist/css/60.chunk.css.map +1 -1
- package/dist/css/62.chunk.css.map +1 -1
- package/dist/css/63.chunk.css.map +1 -1
- package/dist/css/67.chunk.css.map +1 -1
- package/dist/css/68.chunk.css.map +1 -1
- package/dist/css/69.chunk.css.map +1 -1
- package/dist/css/7.chunk.css.map +1 -1
- package/dist/css/70.chunk.css.map +1 -1
- package/dist/css/71.chunk.css.map +1 -1
- package/dist/css/72.chunk.css.map +1 -1
- package/dist/css/73.chunk.css.map +1 -1
- package/dist/css/74.chunk.css.map +1 -1
- package/dist/css/75.chunk.css.map +1 -1
- package/dist/css/76.chunk.css.map +1 -1
- package/dist/css/8.chunk.css.map +1 -1
- package/dist/css/library-editor-app.css.map +1 -1
- package/dist/scripts/{0-2765595d0a.chunk.js → 0-09e1e33a5c.chunk.js} +1 -1
- package/dist/scripts/0.chunk.js +1 -1
- package/dist/scripts/0.chunk.js.map +1 -1
- package/dist/scripts/{1-b6dedae131.chunk.js → 1-a66bb44471.chunk.js} +1 -1
- package/dist/scripts/1.chunk.js.map +1 -1
- package/dist/scripts/{10-8307f8e248.chunk.js → 10-6c79d8c6f9.chunk.js} +1 -1
- package/dist/scripts/10.chunk.js.map +1 -1
- package/dist/scripts/{11-9dbae07504.chunk.js → 11-6eef9e160e.chunk.js} +1 -1
- package/dist/scripts/11.chunk.js.map +1 -1
- package/dist/scripts/{12-06cf65b136.chunk.js → 12-dbffa50a92.chunk.js} +1 -1
- package/dist/scripts/12.chunk.js.map +1 -1
- package/dist/scripts/{13-3d84e237b9.chunk.js → 13-37e5cfab3e.chunk.js} +1 -1
- package/dist/scripts/13.chunk.js.map +1 -1
- package/dist/scripts/{14-988bab314d.chunk.js → 14-b524fbd295.chunk.js} +1 -1
- package/dist/scripts/14.chunk.js.map +1 -1
- package/dist/scripts/{15-eed00bc875.chunk.js → 15-1ff1252d1a.chunk.js} +1 -1
- package/dist/scripts/15.chunk.js.map +1 -1
- package/dist/scripts/{16-3a99050a93.chunk.js → 16-b27142fe98.chunk.js} +1 -1
- package/dist/scripts/16.chunk.js.map +1 -1
- package/dist/scripts/{17-bff211f26a.chunk.js → 17-c3bbe50816.chunk.js} +1 -1
- package/dist/scripts/17.chunk.js +1 -1
- package/dist/scripts/17.chunk.js.map +1 -1
- package/dist/scripts/18.chunk.js.map +1 -1
- package/dist/scripts/19.chunk.js +1 -1
- package/dist/scripts/19.chunk.js.map +1 -1
- package/dist/scripts/{2-5079f4b088.chunk.js → 2-2cc3988222.chunk.js} +1 -1
- package/dist/scripts/2.chunk.js.map +1 -1
- package/dist/scripts/{20-d4470b4a53.chunk.js → 20-6d9086f5db.chunk.js} +1 -1
- package/dist/scripts/20.chunk.js.map +1 -1
- package/dist/scripts/{21-77f6ddec3d.chunk.js → 21-2f10553302.chunk.js} +1 -1
- package/dist/scripts/21.chunk.js.map +1 -1
- package/dist/scripts/{22-9ef39722d1.chunk.js → 22-59ae44b448.chunk.js} +1 -1
- package/dist/scripts/22.chunk.js.map +1 -1
- package/dist/scripts/{23-c8071cb869.chunk.js → 23-11e008ee63.chunk.js} +1 -1
- package/dist/scripts/23.chunk.js +3 -3
- package/dist/scripts/23.chunk.js.map +1 -1
- package/dist/scripts/{24-b655377e1f.chunk.js → 24-7f21e384d2.chunk.js} +1 -1
- package/dist/scripts/24.chunk.js.map +1 -1
- package/dist/scripts/{25-f814e3921c.chunk.js → 25-f0f7fa16a4.chunk.js} +1 -1
- package/dist/scripts/25.chunk.js.map +1 -1
- package/dist/scripts/{26-9dd482e1e6.chunk.js → 26-e65533bd94.chunk.js} +1 -1
- package/dist/scripts/26.chunk.js.map +1 -1
- package/dist/scripts/{27-5ecd204dab.chunk.js → 27-9dc0f5a4df.chunk.js} +1 -1
- package/dist/scripts/27.chunk.js +3 -3
- package/dist/scripts/27.chunk.js.map +1 -1
- package/dist/scripts/{28-e9b8962af8.chunk.js → 28-26e5c371c7.chunk.js} +1 -1
- package/dist/scripts/28.chunk.js +6 -6
- package/dist/scripts/28.chunk.js.map +1 -1
- package/dist/scripts/{29-e3391b4e4b.chunk.js → 29-61415c2af0.chunk.js} +1 -1
- package/dist/scripts/29.chunk.js.map +1 -1
- package/dist/scripts/{3-079c0b4d3b.chunk.js → 3-5eff8c9df5.chunk.js} +1 -1
- package/dist/scripts/3.chunk.js +13 -25
- package/dist/scripts/3.chunk.js.map +1 -1
- package/dist/scripts/{30-a6a7291b5e.chunk.js → 30-6075c28972.chunk.js} +1 -1
- package/dist/scripts/30.chunk.js +6 -6
- package/dist/scripts/30.chunk.js.map +1 -1
- package/dist/scripts/31-e35ae4e153.chunk.js +1 -0
- package/dist/scripts/31.chunk.js.map +1 -1
- package/dist/scripts/{32-96ac2f9c32.chunk.js → 32-d5a50a7592.chunk.js} +1 -1
- package/dist/scripts/32.chunk.js.map +1 -1
- package/dist/scripts/{33-061a87935f.chunk.js → 33-5ae90ed7d7.chunk.js} +1 -1
- package/dist/scripts/33.chunk.js.map +1 -1
- package/dist/scripts/{34-56f92b9a87.chunk.js → 34-50402c1835.chunk.js} +1 -1
- package/dist/scripts/34.chunk.js.map +1 -1
- package/dist/scripts/{35-cdd788a4b5.chunk.js → 35-ec8c190357.chunk.js} +1 -1
- package/dist/scripts/35.chunk.js.map +1 -1
- package/dist/scripts/{36-7d33d11b58.chunk.js → 36-4d467bc42e.chunk.js} +1 -1
- package/dist/scripts/36.chunk.js.map +1 -1
- package/dist/scripts/{37-fbd149e569.chunk.js → 37-37e8965783.chunk.js} +1 -1
- package/dist/scripts/37.chunk.js.map +1 -1
- package/dist/scripts/{38-57af633fa1.chunk.js → 38-3dc24b8867.chunk.js} +1 -1
- package/dist/scripts/38.chunk.js.map +1 -1
- package/dist/scripts/{39-cc627dfe2b.chunk.js → 39-350ff66a2b.chunk.js} +1 -1
- package/dist/scripts/39.chunk.js.map +1 -1
- package/dist/scripts/{4-0a8a5ac2f0.chunk.js → 4-b3f3c7c71c.chunk.js} +1 -1
- package/dist/scripts/4.chunk.js.map +1 -1
- package/dist/scripts/{40-78639874b5.chunk.js → 40-3443f99cb2.chunk.js} +1 -1
- package/dist/scripts/40.chunk.js.map +1 -1
- package/dist/scripts/{41-2c6722e410.chunk.js → 41-b5dfd35e9e.chunk.js} +1 -1
- package/dist/scripts/41.chunk.js.map +1 -1
- package/dist/scripts/{42-9b7795d20a.chunk.js → 42-103fecb7b6.chunk.js} +1 -1
- package/dist/scripts/42.chunk.js.map +1 -1
- package/dist/scripts/{43-006ce08a8f.chunk.js → 43-57b07579f7.chunk.js} +1 -1
- package/dist/scripts/43.chunk.js.map +1 -1
- package/dist/scripts/{44-b4c134efe8.chunk.js → 44-210d64dffe.chunk.js} +1 -1
- package/dist/scripts/44.chunk.js.map +1 -1
- package/dist/scripts/{45-3e85e78a77.chunk.js → 45-632b07e926.chunk.js} +1 -1
- package/dist/scripts/45.chunk.js.map +1 -1
- package/dist/scripts/{46-1256828b60.chunk.js → 46-82cce63cbf.chunk.js} +1 -1
- package/dist/scripts/46.chunk.js +6 -6
- package/dist/scripts/46.chunk.js.map +1 -1
- package/dist/scripts/{47-9e514e7536.chunk.js → 47-595b4aae87.chunk.js} +1 -1
- package/dist/scripts/47.chunk.js +1 -2
- package/dist/scripts/47.chunk.js.map +1 -1
- package/dist/scripts/{48-9af8b50e4f.chunk.js → 48-fcf6378889.chunk.js} +1 -1
- package/dist/scripts/48.chunk.js.map +1 -1
- package/dist/scripts/{49-883d9131af.chunk.js → 49-d8a4899eb1.chunk.js} +1 -1
- package/dist/scripts/49.chunk.js.map +1 -1
- package/dist/scripts/{5-f5ad097d2b.chunk.js → 5-06bc197b1e.chunk.js} +1 -1
- package/dist/scripts/5.chunk.js +3 -3
- package/dist/scripts/5.chunk.js.map +1 -1
- package/dist/scripts/{50-198f89794c.chunk.js → 50-11b1a49916.chunk.js} +1 -1
- package/dist/scripts/50.chunk.js.map +1 -1
- package/dist/scripts/{51-61bb2b80fe.chunk.js → 51-72a75e0265.chunk.js} +1 -1
- package/dist/scripts/51.chunk.js.map +1 -1
- package/dist/scripts/{52-e7fd215888.chunk.js → 52-195f73bcd6.chunk.js} +1 -1
- package/dist/scripts/52.chunk.js.map +1 -1
- package/dist/scripts/{53-595b1efa1a.chunk.js → 53-bb4f37ee25.chunk.js} +1 -1
- package/dist/scripts/53.chunk.js.map +1 -1
- package/dist/scripts/{54-646c8458e0.chunk.js → 54-7a201d8285.chunk.js} +1 -1
- package/dist/scripts/54.chunk.js.map +1 -1
- package/dist/scripts/{55-dac67eae0b.chunk.js → 55-be3d7b8805.chunk.js} +1 -1
- package/dist/scripts/55.chunk.js.map +1 -1
- package/dist/scripts/{56-9a02efb9a1.chunk.js → 56-6aeece1bf1.chunk.js} +1 -1
- package/dist/scripts/56.chunk.js.map +1 -1
- package/dist/scripts/{57-bf72265d49.chunk.js → 57-59ee15161b.chunk.js} +1 -1
- package/dist/scripts/57.chunk.js.map +1 -1
- package/dist/scripts/{58-34ef45f4b6.chunk.js → 58-8ff58b194a.chunk.js} +1 -1
- package/dist/scripts/58.chunk.js.map +1 -1
- package/dist/scripts/{59-f3d473090d.chunk.js → 59-3d33954fcb.chunk.js} +1 -1
- package/dist/scripts/59.chunk.js.map +1 -1
- package/dist/scripts/{6-a5f6258253.chunk.js → 6-a469872b10.chunk.js} +1 -1
- package/dist/scripts/6.chunk.js.map +1 -1
- package/dist/scripts/{60-ac4f11764a.chunk.js → 60-f092baa91c.chunk.js} +1 -1
- package/dist/scripts/60.chunk.js.map +1 -1
- package/dist/scripts/{61-62ec9b3628.chunk.js → 61-bd9ef62ccd.chunk.js} +1 -1
- package/dist/scripts/61.chunk.js +12 -12
- package/dist/scripts/61.chunk.js.map +1 -1
- package/dist/scripts/{62-4d0e82f903.chunk.js → 62-f15b3bf74c.chunk.js} +1 -1
- package/dist/scripts/62.chunk.js.map +1 -1
- package/dist/scripts/{63-47af37825d.chunk.js → 63-92757f75e7.chunk.js} +1 -1
- package/dist/scripts/63.chunk.js.map +1 -1
- package/dist/scripts/{64-c42635a917.chunk.js → 64-c5a1c55521.chunk.js} +1 -1
- package/dist/scripts/64.chunk.js.map +1 -1
- package/dist/scripts/{65-7780441e5e.chunk.js → 65-6bb10ae23b.chunk.js} +1 -1
- package/dist/scripts/65.chunk.js.map +1 -1
- package/dist/scripts/{66-7f2750cd97.chunk.js → 66-f047027f7d.chunk.js} +1 -1
- package/dist/scripts/66.chunk.js.map +1 -1
- package/dist/scripts/{67-564ff2bd16.chunk.js → 67-2e1a011200.chunk.js} +1 -1
- package/dist/scripts/67.chunk.js.map +1 -1
- package/dist/scripts/{68-df9024fadc.chunk.js → 68-d5c0ab3fc1.chunk.js} +1 -1
- package/dist/scripts/68.chunk.js.map +1 -1
- package/dist/scripts/{69-4d32ddddbc.chunk.js → 69-fc8325afc9.chunk.js} +1 -1
- package/dist/scripts/69.chunk.js.map +1 -1
- package/dist/scripts/{7-2696f5afc4.chunk.js → 7-58dd909fa3.chunk.js} +1 -1
- package/dist/scripts/7.chunk.js.map +1 -1
- package/dist/scripts/{70-2a427b3dd0.chunk.js → 70-ceda95013e.chunk.js} +1 -1
- package/dist/scripts/70.chunk.js.map +1 -1
- package/dist/scripts/{71-215cac8b69.chunk.js → 71-6e8fc95beb.chunk.js} +1 -1
- package/dist/scripts/71.chunk.js.map +1 -1
- package/dist/scripts/{72-6eb3ef092e.chunk.js → 72-53fe3338bf.chunk.js} +1 -1
- package/dist/scripts/72.chunk.js.map +1 -1
- package/dist/scripts/73.chunk.js.map +1 -1
- package/dist/scripts/74.chunk.js.map +1 -1
- package/dist/scripts/75.chunk.js.map +1 -1
- package/dist/scripts/76.chunk.js.map +1 -1
- package/dist/scripts/77.chunk.js.map +1 -1
- package/dist/scripts/78.chunk.js.map +1 -1
- package/dist/scripts/79.chunk.js.map +1 -1
- package/dist/scripts/{8-f4f18356f7.chunk.js → 8-6974afed28.chunk.js} +1 -1
- package/dist/scripts/8.chunk.js.map +1 -1
- package/dist/scripts/80.chunk.js.map +1 -1
- package/dist/scripts/81.chunk.js.map +1 -1
- package/dist/scripts/82.chunk.js.map +1 -1
- package/dist/scripts/83.chunk.js.map +1 -1
- package/dist/scripts/84.chunk.js.map +1 -1
- package/dist/scripts/85.chunk.js.map +1 -1
- package/dist/scripts/86.chunk.js.map +1 -1
- package/dist/scripts/87.chunk.js.map +1 -1
- package/dist/scripts/88.chunk.js.map +1 -1
- package/dist/scripts/89.chunk.js.map +1 -1
- package/dist/scripts/{9-cd0bcefa7f.chunk.js → 9-9279038caa.chunk.js} +1 -1
- package/dist/scripts/9.chunk.js.map +1 -1
- package/dist/scripts/90.chunk.js.map +1 -1
- package/dist/scripts/91.chunk.js.map +1 -1
- package/dist/scripts/92.chunk.js.map +1 -1
- package/dist/scripts/bundle-06dc1f4908.min.js +8 -0
- package/dist/scripts/bundle-8498807388.min.js +1 -0
- package/dist/scripts/{bundle-5b64746afd.min.js → bundle-891db89400.min.js} +1 -1
- package/dist/scripts/bundle-f4a423ce34.min.js +1 -0
- package/dist/scripts/bundle.js +1364 -1492
- package/dist/scripts/bundle.js.map +1 -1
- package/dist/scripts/bundles.json +2 -2
- package/dist/scripts/polyfills-efb4d7caa3.min.js +1 -0
- package/dist/scripts/polyfills.js +1050 -1050
- package/dist/scripts/polyfills.js.map +1 -1
- package/package.json +3 -3
- package/dist/scripts/0-f82360fd03.chunk.js +0 -1
- package/dist/scripts/1-35f87e4cdc.chunk.js +0 -1
- package/dist/scripts/10-227e797872.chunk.js +0 -1
- package/dist/scripts/12-43e54b0a2d.chunk.js +0 -1
- package/dist/scripts/13-01ee41eb1e.chunk.js +0 -1
- package/dist/scripts/14-cf307e51d9.chunk.js +0 -1
- package/dist/scripts/15-bedb9ff6d0.chunk.js +0 -1
- package/dist/scripts/16-339a29fa2f.chunk.js +0 -1
- package/dist/scripts/17-66da06be62.chunk.js +0 -1
- package/dist/scripts/20-6019ccb462.chunk.js +0 -1
- package/dist/scripts/21-7bd1977005.chunk.js +0 -1
- package/dist/scripts/22-d88b8e9c20.chunk.js +0 -1
- package/dist/scripts/23-e8a0f60c53.chunk.js +0 -1
- package/dist/scripts/24-f62e7ff166.chunk.js +0 -1
- package/dist/scripts/25-acda0ed17e.chunk.js +0 -1
- package/dist/scripts/26-39f6c3ca17.chunk.js +0 -1
- package/dist/scripts/27-1313c7d392.chunk.js +0 -1
- package/dist/scripts/28-b583483a6e.chunk.js +0 -1
- package/dist/scripts/29-44119e600a.chunk.js +0 -1
- package/dist/scripts/3-bea2c1c371.chunk.js +0 -1
- package/dist/scripts/30-aef6a19cde.chunk.js +0 -1
- package/dist/scripts/31-4f1ea6d067.chunk.js +0 -1
- package/dist/scripts/31-70fe14b490.chunk.js +0 -1
- package/dist/scripts/32-0b05da2f4c.chunk.js +0 -1
- package/dist/scripts/33-04b1fbcdeb.chunk.js +0 -1
- package/dist/scripts/34-4f2c861480.chunk.js +0 -1
- package/dist/scripts/35-08ead0d078.chunk.js +0 -1
- package/dist/scripts/36-4db22bf8bb.chunk.js +0 -1
- package/dist/scripts/37-4de2537ff4.chunk.js +0 -1
- package/dist/scripts/38-7733a3d81e.chunk.js +0 -1
- package/dist/scripts/39-5451786b7d.chunk.js +0 -1
- package/dist/scripts/4-84fa8e49e2.chunk.js +0 -1
- package/dist/scripts/40-31940ddf04.chunk.js +0 -1
- package/dist/scripts/41-0366a0332e.chunk.js +0 -1
- package/dist/scripts/42-c87c36d7d4.chunk.js +0 -1
- package/dist/scripts/43-591954817b.chunk.js +0 -1
- package/dist/scripts/44-fc3a1d45c5.chunk.js +0 -1
- package/dist/scripts/45-32ce8dd910.chunk.js +0 -1
- package/dist/scripts/46-e096df45ef.chunk.js +0 -1
- package/dist/scripts/47-61b53964c2.chunk.js +0 -1
- package/dist/scripts/48-3f804b22a4.chunk.js +0 -1
- package/dist/scripts/49-79b28e90c9.chunk.js +0 -1
- package/dist/scripts/5-093c9ee130.chunk.js +0 -1
- package/dist/scripts/50-ce04770db1.chunk.js +0 -1
- package/dist/scripts/51-177fe97a9b.chunk.js +0 -1
- package/dist/scripts/52-d8cf26c75f.chunk.js +0 -1
- package/dist/scripts/53-e78a58c963.chunk.js +0 -1
- package/dist/scripts/54-7976c21511.chunk.js +0 -1
- package/dist/scripts/55-5e3b70736e.chunk.js +0 -1
- package/dist/scripts/56-3c520aec72.chunk.js +0 -1
- package/dist/scripts/57-6f84e1bb9d.chunk.js +0 -1
- package/dist/scripts/58-1c37240b43.chunk.js +0 -1
- package/dist/scripts/59-05cbb57b32.chunk.js +0 -1
- package/dist/scripts/6-e49b6b4c08.chunk.js +0 -1
- package/dist/scripts/60-dd50d4179f.chunk.js +0 -1
- package/dist/scripts/61-e759f86871.chunk.js +0 -1
- package/dist/scripts/62-bfd5450b13.chunk.js +0 -1
- package/dist/scripts/63-8521e39a2e.chunk.js +0 -1
- package/dist/scripts/64-12150ef48b.chunk.js +0 -1
- package/dist/scripts/65-a4fdf8777b.chunk.js +0 -1
- package/dist/scripts/66-029947cf5c.chunk.js +0 -1
- package/dist/scripts/67-47f208342a.chunk.js +0 -1
- package/dist/scripts/68-5656cc45fe.chunk.js +0 -1
- package/dist/scripts/69-a4b3442e68.chunk.js +0 -1
- package/dist/scripts/7-b39ab430b9.chunk.js +0 -1
- package/dist/scripts/70-0f070c1596.chunk.js +0 -1
- package/dist/scripts/71-c43ee23686.chunk.js +0 -1
- package/dist/scripts/72-f5a8cfc8b7.chunk.js +0 -1
- package/dist/scripts/8-1e0751e30b.chunk.js +0 -1
- package/dist/scripts/9-bb567e1c99.chunk.js +0 -1
- package/dist/scripts/bundle-e7f4d4e659.min.js +0 -8
- package/dist/scripts/bundle-f73bcaa857.min.js +0 -8
- package/dist/scripts/polyfills-9517d7e647.min.js +0 -1
- package/dist/scripts/polyfills-e442ebbfb0.min.js +0 -1
- /package/dist/scripts/{0-2d62d8ccd7.chunk.js → 0-f604eee110.chunk.js} +0 -0
- /package/dist/scripts/{1-cf6d342590.chunk.js → 1-056bd8c79b.chunk.js} +0 -0
- /package/dist/scripts/{10-7475ff8374.chunk.js → 10-028c6001e1.chunk.js} +0 -0
- /package/dist/scripts/{12-20b4c4cdb6.chunk.js → 12-d3f51f4e06.chunk.js} +0 -0
- /package/dist/scripts/{13-292e92093a.chunk.js → 13-4029d31569.chunk.js} +0 -0
- /package/dist/scripts/{14-66f92fd1d3.chunk.js → 14-4c94f97e4e.chunk.js} +0 -0
- /package/dist/scripts/{15-d580267aff.chunk.js → 15-ec9aa4878b.chunk.js} +0 -0
- /package/dist/scripts/{16-0aa5e3e5fe.chunk.js → 16-5bc8299e14.chunk.js} +0 -0
- /package/dist/scripts/{17-f44cb6ca42.chunk.js → 17-9fe035f9e2.chunk.js} +0 -0
- /package/dist/scripts/{20-af6230b8af.chunk.js → 20-60e4eee833.chunk.js} +0 -0
- /package/dist/scripts/{21-1281b41577.chunk.js → 21-a7fffe8852.chunk.js} +0 -0
- /package/dist/scripts/{22-878d242dfd.chunk.js → 22-f670791432.chunk.js} +0 -0
- /package/dist/scripts/{23-e55ad46abd.chunk.js → 23-4d26d6300a.chunk.js} +0 -0
- /package/dist/scripts/{24-87aea794c8.chunk.js → 24-813ef82099.chunk.js} +0 -0
- /package/dist/scripts/{25-b3b05ff03c.chunk.js → 25-023d08a591.chunk.js} +0 -0
- /package/dist/scripts/{26-5f79a251ff.chunk.js → 26-a9fcf0d596.chunk.js} +0 -0
- /package/dist/scripts/{27-fb5a56b6e9.chunk.js → 27-84f7bbade6.chunk.js} +0 -0
- /package/dist/scripts/{28-d75e03d0c0.chunk.js → 28-cdf603f4cf.chunk.js} +0 -0
- /package/dist/scripts/{29-2c0b30c31b.chunk.js → 29-8278d23f9b.chunk.js} +0 -0
- /package/dist/scripts/{3-29a29544af.chunk.js → 3-1fa81c9d9b.chunk.js} +0 -0
- /package/dist/scripts/{30-a373fad3e5.chunk.js → 30-7ab880728c.chunk.js} +0 -0
- /package/dist/scripts/{31-1bb00d89bc.chunk.js → 31-aa4cd0f45e.chunk.js} +0 -0
- /package/dist/scripts/{32-a5e4069473.chunk.js → 32-7717941f1d.chunk.js} +0 -0
- /package/dist/scripts/{33-c671ce256e.chunk.js → 33-6da33143ea.chunk.js} +0 -0
- /package/dist/scripts/{34-e896aea27d.chunk.js → 34-27e40f4d4b.chunk.js} +0 -0
- /package/dist/scripts/{35-be151f3db1.chunk.js → 35-3260300446.chunk.js} +0 -0
- /package/dist/scripts/{36-e1dc9478b6.chunk.js → 36-bec0c74d05.chunk.js} +0 -0
- /package/dist/scripts/{37-b3aa0290c0.chunk.js → 37-3916177181.chunk.js} +0 -0
- /package/dist/scripts/{38-c1c3eaedae.chunk.js → 38-89f7c22ea8.chunk.js} +0 -0
- /package/dist/scripts/{39-6969b0c7b0.chunk.js → 39-9456631219.chunk.js} +0 -0
- /package/dist/scripts/{4-a0d8871170.chunk.js → 4-a7f6d378e0.chunk.js} +0 -0
- /package/dist/scripts/{40-8f82ccc935.chunk.js → 40-f65196723f.chunk.js} +0 -0
- /package/dist/scripts/{41-8512aa7dc5.chunk.js → 41-70b16d99d0.chunk.js} +0 -0
- /package/dist/scripts/{42-e4f279e42c.chunk.js → 42-e17f214d6c.chunk.js} +0 -0
- /package/dist/scripts/{43-11144c5f88.chunk.js → 43-6826fbc7d4.chunk.js} +0 -0
- /package/dist/scripts/{44-558a97cea6.chunk.js → 44-593e820fa2.chunk.js} +0 -0
- /package/dist/scripts/{45-73329af938.chunk.js → 45-8231a03833.chunk.js} +0 -0
- /package/dist/scripts/{46-db028594cc.chunk.js → 46-682ca88fd9.chunk.js} +0 -0
- /package/dist/scripts/{47-8b9d860084.chunk.js → 47-aec7cf95e8.chunk.js} +0 -0
- /package/dist/scripts/{48-ab5af19e09.chunk.js → 48-7b09165697.chunk.js} +0 -0
- /package/dist/scripts/{49-df996c66c2.chunk.js → 49-0e6ceb191f.chunk.js} +0 -0
- /package/dist/scripts/{5-27d34603ed.chunk.js → 5-e2e64bc05f.chunk.js} +0 -0
- /package/dist/scripts/{50-0d6bdb887e.chunk.js → 50-fa6f6fd1dc.chunk.js} +0 -0
- /package/dist/scripts/{51-819b13fe95.chunk.js → 51-1c9fca4604.chunk.js} +0 -0
- /package/dist/scripts/{52-4977addfab.chunk.js → 52-ebce0c9f12.chunk.js} +0 -0
- /package/dist/scripts/{53-1ad87216cb.chunk.js → 53-c6807d4e0b.chunk.js} +0 -0
- /package/dist/scripts/{54-0a404f9f36.chunk.js → 54-e6195aa62a.chunk.js} +0 -0
- /package/dist/scripts/{55-9163aa1312.chunk.js → 55-f9f9a251af.chunk.js} +0 -0
- /package/dist/scripts/{56-04f189d5de.chunk.js → 56-20f27f96db.chunk.js} +0 -0
- /package/dist/scripts/{57-4eb1cc6019.chunk.js → 57-b25862dbf0.chunk.js} +0 -0
- /package/dist/scripts/{58-804f31a61a.chunk.js → 58-edf06f18f9.chunk.js} +0 -0
- /package/dist/scripts/{59-dcbd713f4b.chunk.js → 59-241a666e49.chunk.js} +0 -0
- /package/dist/scripts/{6-26cb86223d.chunk.js → 6-c631df7bda.chunk.js} +0 -0
- /package/dist/scripts/{60-d8853c434d.chunk.js → 60-ac631fa385.chunk.js} +0 -0
- /package/dist/scripts/{61-c8c69eeff5.chunk.js → 61-360e50b6cb.chunk.js} +0 -0
- /package/dist/scripts/{62-45c821e85d.chunk.js → 62-22ee1d2a94.chunk.js} +0 -0
- /package/dist/scripts/{63-c236987805.chunk.js → 63-25413d744e.chunk.js} +0 -0
- /package/dist/scripts/{64-fbab857648.chunk.js → 64-1b027092be.chunk.js} +0 -0
- /package/dist/scripts/{65-b2901f7de5.chunk.js → 65-c8a9aae545.chunk.js} +0 -0
- /package/dist/scripts/{66-fb79386913.chunk.js → 66-20aec598ca.chunk.js} +0 -0
- /package/dist/scripts/{67-048121cf49.chunk.js → 67-d8d1cb35a4.chunk.js} +0 -0
- /package/dist/scripts/{68-d529af6c1b.chunk.js → 68-869ea333d9.chunk.js} +0 -0
- /package/dist/scripts/{69-4548bb42ea.chunk.js → 69-c4ff3e5568.chunk.js} +0 -0
- /package/dist/scripts/{7-10b288197e.chunk.js → 7-1d94e0bb0c.chunk.js} +0 -0
- /package/dist/scripts/{70-e36b006dbe.chunk.js → 70-171dcf9fe1.chunk.js} +0 -0
- /package/dist/scripts/{71-5d5ec02d3d.chunk.js → 71-33e7082ca2.chunk.js} +0 -0
- /package/dist/scripts/{72-d98ffab96a.chunk.js → 72-2eef8b13b0.chunk.js} +0 -0
- /package/dist/scripts/{8-b0942a9479.chunk.js → 8-34ae87490f.chunk.js} +0 -0
- /package/dist/scripts/{9-ba4f55ce15.chunk.js → 9-0d7004dd33.chunk.js} +0 -0
- /package/dist/scripts/{polyfills-5c483eb7f4.min.js → polyfills-21eaf1215c.min.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[41],{1050:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.smartMigrationApiCall",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,i.a.getPhrase(p,"title"))).supportUrl=t,e}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"SmartMigrationApiCallError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:"<p>".concat(i.a.getPhrase(p,"errorNotice")," \n <strong>").concat(i.a.getPhrase(p,"reloadPage"),"</strong></p>\n <p>").concat(i.a.getPhrase(p,"helpGuide",{supportUrl:this.supportUrl,linkClasses:"text-info"}),"\n </p>"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},1087:function(t,e,n){"use strict";n(284);var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.backupProgress",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"BackupProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,a=m(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationProgressError","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationProgressError","heading"),text:i.a.getPhrase("migrationWizard.migrationProgressError","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationProgressError","reload"),className:"btn btn-primary",success:!0}]}}}])&&h(e.prototype,n),o&&h(e,o),c}(o.a);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,o,a=k(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationFinalisation","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationFinalisationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationFinalisation","heading"),text:i.a.getPhrase("migrationWizard.migrationFinalisation","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationFinalisation","reload"),className:"btn btn-primary",success:!0}]}}}])&&w(e.prototype,n),o&&w(e,o),c}(o.a);n(1050);n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return P})),n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return y}))},1113:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(1172),i=n.n(o),a=n(1173),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(a,t);var e,n,r,o=f(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{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 t=this.model.get("percentage")||0,e=this.getUI("circle").get(0),n=2*e.r.baseVal.value*Math.PI;e.style.strokeDasharray="".concat(n," ").concat(n),e.style.strokeDashoffset=n;var r=n-t/100*n;e.style.strokeDashoffset=r;var o=this.getUI("text");o&&o.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},1172:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1173:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({1:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return' <span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+c(a(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+c((n.lang||e&&e.lang||t.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=e?e.options:e)?i.percentage:i},data:o}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.text:i,{name:"if",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+' </span>\r\n\r\n <svg class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircle:i,e))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1351:function(t,e,n){t.exports={backupProgress:"_15jUh",info:"_1NjZL",progress:"fp9FZ",migrationBackupContainer:"_28z_5"}},1352:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<h4 class="pb-4">'+u((n.lang||e&&e.lang||c).call(a,"heading",{name:"lang",hash:{},data:o}))+'</h4>\r\n<div class="progress-circle-region"></div>\r\n<p class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.info:i,e))+' pt-4">\r\n '+(null!=(i=(n.lang||e&&e.lang||c).call(a,"info",{name:"lang",hash:{},data:o}))?i:"")+"\r\n</p>"},useData:!0})},1439:function(t,e,n){"use strict";n.r(e),n.d(e,"PublisherBackupProgressView",(function(){return O}));var r=n(2),o=n(5),i=n(30),a=n(1351),c=n.n(a),u=n(1352),s=n.n(u),l=n(1087),f=n(0),p=n(3),y=n(1113);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(g,t);var e,n,a,u=d(g);function g(){return h(this,g),u.apply(this,arguments)}return e=g,(n=[{key:"initialize",value:function(){this.viewModel=i.a.get("backup:progress",{percentage:0}),this.migrationVideoDataService=o.a.getInstance(f.g.MigrationVideo,this),this.bindMigrationDataListeners()}},{key:"regions",value:function(){return{progressCircle:{replaceElement:!0,el:".progress-circle-region"}}}},{key:"bindMigrationDataListeners",value:function(){this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_VIDEO,":count:error"),this.onError)}},{key:"onError",value:function(){r.a.ErrorHelper.throw(new l.a)}},{key:"poll",value:function(){var t=this;this.migrationVideoDataService.getCustomerVideoCount((function(e){t.isDestroyed()||(t.videoCount=e,t.setPercentage(),t.viewModel.get("percentage")>=100?t.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(){r.a.AppLinkHelper.trigger({application:f.b.MIGRATION_WIZARD,action:f.a.MigrationWizard.BACKUP_COMPLETE})})):(setTimeout((function(){return t.poll()}),5e3),t.render()))}))}},{key:"setPercentage",value:function(){if(this.videoCount){var t=100*this.videoCount.get("progressPercentage");t>100&&(t=100),this.viewModel.set({percentage:Math.round(t)})}}},{key:"renderProgressCircle",value:function(){this.showChildView("progressCircle",new y.a({model:this.viewModel,text:p.a.getPhrase(this.lang,"hasBeenBackedUp"),class:c.a.progress}))}},{key:"onBeforeRender",value:function(){return this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),!!this.customerMetadata}},{key:"viewOptions",value:function(){return{styles:c.a,timeRemaining:"30 minutes"}}},{key:"onRender",value:function(){this.pollingStarted||(this.poll(),this.pollingStarted=!0),this.renderProgressCircle()}},{key:"name",get:function(){return"PublisherBackupProgressView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackupProgress"}},{key:"className",get:function(){return"container text-center p-5 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.backupProgress)}},{key:"template",get:function(){return s.a}}])&&b(e.prototype,n),a&&b(e,a),g}(r.a.View)}}]);
|
|
1
|
+
(window.webpackJsonp_clickview_library_editor=window.webpackJsonp_clickview_library_editor||[]).push([[41],{1046:function(t,e,n){"use strict";n.d(e,"a",(function(){return y}));var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.smartMigrationApiCall",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),(e=a.call(this,i.a.getPhrase(p,"title"))).supportUrl=t,e}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"SmartMigrationApiCallError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:"<p>".concat(i.a.getPhrase(p,"errorNotice")," \n <strong>").concat(i.a.getPhrase(p,"reloadPage"),"</strong></p>\n <p>").concat(i.a.getPhrase(p,"helpGuide",{supportUrl:this.supportUrl,linkClasses:"text-info"}),"\n </p>"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a)},1083:function(t,e,n){"use strict";n(284);var r=n(2),o=n(31),i=n(3);function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function c(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=f(t);if(e){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return l(this,n)}}function l(t,e){return!e||"object"!==a(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function f(t){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var p="migrationWizard.backupProgress",y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&u(t,e)}(l,t);var e,n,o,a=s(l);function l(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,l),a.call(this,i.a.getPhrase(p,"title"))}return e=l,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"BackupProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase(p,"heading"),text:i.a.getPhrase(p,"body"),buttons:[{text:i.a.getPhrase(p,"reload"),className:"btn btn-primary",success:!0}]}}}])&&c(e.prototype,n),o&&c(e,o),l}(o.a);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function b(t,e){return(b=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function m(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=v(t);if(e){var o=v(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function v(t){return(v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var P=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&b(t,e)}(c,t);var e,n,o,a=m(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationProgressError","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationProgressError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationProgressError","heading"),text:i.a.getPhrase("migrationWizard.migrationProgressError","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationProgressError","reload"),className:"btn btn-primary",success:!0}]}}}])&&h(e.prototype,n),o&&h(e,o),c}(o.a);function O(t){return(O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function _(t,e){return(_=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function k(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=S(t);if(e){var o=S(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return R(this,n)}}function R(t,e){return!e||"object"!==O(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function S(t){return(S=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var x=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_(t,e)}(c,t);var e,n,o,a=k(c);function c(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,i.a.getPhrase("migrationWizard.migrationFinalisation","title"))}return e=c,(n=[{key:"onDone",value:function(){r.a.LocationUtils.Reload()}},{key:"name",get:function(){return"MigrationFinalisationError"}},{key:"dialogOptions",get:function(){return{title:i.a.getPhrase("migrationWizard.migrationFinalisation","heading"),text:i.a.getPhrase("migrationWizard.migrationFinalisation","body"),buttons:[{text:i.a.getPhrase("migrationWizard.migrationFinalisation","reload"),className:"btn btn-primary",success:!0}]}}}])&&w(e.prototype,n),o&&w(e,o),c}(o.a);n(1046);n.d(e,"a",(function(){return y})),n.d(e,"c",(function(){return P})),n.d(e,"b",(function(){return x})),n.d(e,"a",(function(){return y}))},1109:function(t,e,n){"use strict";n.d(e,"a",(function(){return g}));var r=n(2),o=n(1168),i=n.n(o),a=n(1169),c=n.n(a);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function l(t,e){return(l=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function f(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=y(t);if(e){var o=y(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(t,e){return!e||"object"!==u(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&l(t,e)}(a,t);var e,n,r,o=f(a);function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,t)}return e=a,(n=[{key:"initialize",value:function(){this.listenTo(this.model,"change:percentage",this.update)}},{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 t=this.model.get("percentage")||0,e=this.getUI("circle").get(0),n=2*e.r.baseVal.value*Math.PI;e.style.strokeDasharray="".concat(n," ").concat(n),e.style.strokeDashoffset=n;var r=n-t/100*n;e.style.strokeDashoffset=r;var o=this.getUI("text");o&&o.text("".concat(t,"%"))}},{key:"name",get:function(){return"ProgressCircleComponent"}},{key:"template",get:function(){return c.a}},{key:"lang",get:function(){return"migrationWizard.progressCircle"}},{key:"elements",get:function(){return{circle:".progress-circle",text:".progress-circle-text"}}}])&&s(e.prototype,n),r&&s(e,r),a}(r.a.Component)},1168:function(t,e,n){t.exports={circle:"_3iX0l",extraText:"_1nYnx",progressCircleContainer:"_2l1Al",progressCircle:"_1RbA5"}},1169:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({1:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression;return' <span class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.extraText:i,e))+'">'+c(a(null!=(i=null!=e?e.options:e)?i.text:i,e))+"</span>\r\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=t.lambda,c=t.escapeExpression,u=null!=e?e:t.nullContext||{};return'<div class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.circle:i,e))+" "+c(a(null!=(i=null!=e?e.options:e)?i.class:i,e))+'">\r\n <span>\r\n <span class="progress-circle-text">'+c((n.lang||e&&e.lang||t.hooks.helperMissing).call(u,"progress",{name:"lang",hash:{percentage:null!=(i=null!=e?e.options:e)?i.percentage:i},data:o}))+"</span>\r\n"+(null!=(i=n.if.call(u,null!=(i=null!=e?e.options:e)?i.text:i,{name:"if",hash:{},fn:t.program(1,o,0),inverse:t.noop,data:o}))?i:"")+' </span>\r\n\r\n <svg class="'+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircleContainer:i,e))+'">\r\n <circle class="progress-circle '+c(a(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.progressCircle:i,e))+'" transform=\'rotate(270 160 0)\' stroke-width="28" fill="transparent" r="150">\r\n </svg>\r\n</div>'},useData:!0})},1347:function(t,e,n){t.exports={backupProgress:"_15jUh",info:"_1NjZL",progress:"fp9FZ",migrationBackupContainer:"_28z_5"}},1348:function(t,e,n){var r=n(10);t.exports=(r.default||r).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,r,o){t.propertyIsEnumerable;var i,a=null!=e?e:t.nullContext||{},c=t.hooks.helperMissing,u=t.escapeExpression;return'<h4 class="pb-4">'+u((n.lang||e&&e.lang||c).call(a,"heading",{name:"lang",hash:{},data:o}))+'</h4>\r\n<div class="progress-circle-region"></div>\r\n<p class="'+u(t.lambda(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.info:i,e))+' pt-4">\r\n '+(null!=(i=(n.lang||e&&e.lang||c).call(a,"info",{name:"lang",hash:{},data:o}))?i:"")+"\r\n</p>"},useData:!0})},1435:function(t,e,n){"use strict";n.r(e),n.d(e,"PublisherBackupProgressView",(function(){return O}));var r=n(2),o=n(5),i=n(30),a=n(1347),c=n.n(a),u=n(1348),s=n.n(u),l=n(1083),f=n(0),p=n(3),y=n(1109);function g(t){return(g="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function h(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function m(t,e){return(m=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function d(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=P(t);if(e){var o=P(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return v(this,n)}}function v(t,e){return!e||"object"!==g(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function P(t){return(P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&m(t,e)}(g,t);var e,n,a,u=d(g);function g(){return h(this,g),u.apply(this,arguments)}return e=g,(n=[{key:"initialize",value:function(){this.viewModel=i.a.get("backup:progress",{percentage:0}),this.migrationVideoDataService=o.a.getInstance(f.g.MigrationVideo,this),this.bindMigrationDataListeners()}},{key:"regions",value:function(){return{progressCircle:{replaceElement:!0,el:".progress-circle-region"}}}},{key:"bindMigrationDataListeners",value:function(){this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_METADATA,":sync"),this.render),this.listenTo(f.e.MIGRATION,"".concat(f.f.CUSTOMER_VIDEO,":count:error"),this.onError)}},{key:"onError",value:function(){r.a.ErrorHelper.throw(new l.a)}},{key:"poll",value:function(){var t=this;this.migrationVideoDataService.getCustomerVideoCount((function(e){t.isDestroyed()||(t.videoCount=e,t.setPercentage(),t.viewModel.get("percentage")>=100?t.migrationVideoDataService.clearCacheAndGetCustomerMetadata((function(){r.a.AppLinkHelper.trigger({application:f.b.MIGRATION_WIZARD,action:f.a.MigrationWizard.BACKUP_COMPLETE})})):(setTimeout((function(){return t.poll()}),5e3),t.render()))}))}},{key:"setPercentage",value:function(){if(this.videoCount){var t=100*this.videoCount.get("progressPercentage");t>100&&(t=100),this.viewModel.set({percentage:Math.round(t)})}}},{key:"renderProgressCircle",value:function(){this.showChildView("progressCircle",new y.a({model:this.viewModel,text:p.a.getPhrase(this.lang,"hasBeenBackedUp"),class:c.a.progress}))}},{key:"onBeforeRender",value:function(){return this.customerMetadata=this.migrationVideoDataService.getCustomerMetadata(),!!this.customerMetadata}},{key:"viewOptions",value:function(){return{styles:c.a,timeRemaining:"30 minutes"}}},{key:"onRender",value:function(){this.pollingStarted||(this.poll(),this.pollingStarted=!0),this.renderProgressCircle()}},{key:"name",get:function(){return"PublisherBackupProgressView"}},{key:"title",get:function(){return p.a.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"migrationWizard.publisherBackupProgress"}},{key:"className",get:function(){return"container text-center p-5 bg-white ".concat(c.a.migrationBackupContainer," ").concat(c.a.backupProgress)}},{key:"template",get:function(){return s.a}}])&&b(e.prototype,n),a&&b(e,a),g}(r.a.View)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss?d803","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss?e9ca","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss?dece","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.ts","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationError.hbs","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/migration-error/migration-error.scss?2473","file://C:/ClickView Projects/clickview/packages/projects/library-editor/src/shared/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AACA;AACA;AACD,CAND,EAAY,wBAAwB,KAAxB,wBAAwB,MAApC,E","file":"scripts/41.chunk.js","sourcesContent":["var Handlebars = 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 \" <button class=\\\"btn btn-success use-online-copy \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectedButton : stack1), depth0))\n + \"\\\"><span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.checkSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-link dismiss\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"btn btn-outline-secondary use-online-copy\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"hide\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"7\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"show\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;\n\n return \"<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"mt-4 cursor-pointer video-item-show-preview text-right \"\n + alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showPreview : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"svg-container d-inline-block\\\">\"\n + ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewDisplayed : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"preview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</div>\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as styles from './errored-video-actions.scss';\r\nimport * as ErroredVideoActionsTemplate from './ErroredVideoActions.hbs';\r\n\r\ninterface ErroredVideoActionsComponentOptions extends Core.ComponentOptions {\r\n model: Core.Model;\r\n}\r\n\r\nexport class ErroredVideoActionsComponent extends Core.Component {\r\n public viewModel: Core.Model;\r\n private previewViewModel: Core.Model;\r\n\r\n constructor(options: ErroredVideoActionsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoActionsComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoActionsTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoActions';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .use-online-copy': 'onClickSelect',\r\n 'click .dismiss': 'onClickDismiss'\r\n };\r\n }\r\n\r\n private isSelected(): boolean {\r\n return this.viewModel.get(this.model.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }\r\n\r\n public onClickSelect(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n if (this.isSelected()) {\r\n this.viewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.USE_ONLINE_COPY);\r\n }\r\n\r\n public onClickDismiss(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.DO_NOT_ADD);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n selected: this.isSelected(),\r\n checkSvg: SvgHelper.getSvg(cvSvgLibrary.Check),\r\n previewSvg: SvgHelper.getSvg(cvSvgLibrary.Preview)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer---0ibU\",\"selectedButton\":\"cv--selectedButton--28zhr\",\"showPreview\":\"cv--showPreview--2r4VF\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<span class=\\\"border-right d-inline-block align-middle pr-3\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"videosAdded\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.countPhrase : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<span class=\\\"d-inline-block align-middle\\\"><button class=\\\"btn btn-link clear-all\\\"\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reset\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button></span>\\r\\n<button class=\\\"btn btn-primary align-middle ml-2 submit\\\" \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"submit\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\n\r\nimport * as ErroredVideoFooterTemplate from './ErroredVideoFooter.hbs';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport * as _ from 'underscore';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\ninterface ErroredVideoFooterComponentOptions extends Core.ComponentOptions {\r\n submitEvent: string;\r\n}\r\n\r\nexport class ErroredVideoFooterComponent extends Core.Component {\r\n public options: ErroredVideoFooterComponentOptions;\r\n\r\n constructor(options: ErroredVideoFooterComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n\r\n this.listenTo(this.viewModel, 'change', this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoFooterComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoFooterTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoFooter';\r\n }\r\n\r\n public get className(): string {\r\n return 'border-top px-3 py-2 text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .clear-all': 'onClickClearAll',\r\n 'click .submit': 'onClickSubmit'\r\n };\r\n }\r\n\r\n public onClickClearAll(): void {\r\n this.viewModel.clear();\r\n }\r\n\r\n public onClickSubmit(): void {\r\n Radio.channel(this.options.channelName).trigger(this.options.submitEvent);\r\n }\r\n\r\n private canSubmit(): boolean {\r\n return this.viewModel.keys().length > 0;\r\n }\r\n\r\n private countWillBeAdded(): number {\r\n return _.filter(this.viewModel.keys(), key => {\r\n return this.viewModel.get(key) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }).length;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n count: this.countWillBeAdded(),\r\n submitDisabled: !this.canSubmit()\r\n };\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \" cursor-pointer\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.doNotAdd : stack1), depth0))\n + \" text-center\\\">\\r\\n <p class=\\\"mb-0 mt-3\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willNotBeAdded\",{\"name\":\"lang\",\"hash\":{\"videoName\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n <p class=\\\"m-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willBeRemoved\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <button class=\\\"btn btn-link undo\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"undo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"d-flex justify-content-between align-items-stretch p-3 drag-item \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoItem : stack1), depth0))\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <div class=\\\"thumbnail-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.thumbnailContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"metadata-region d-inline-block px-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metaContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"video-actions-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionsContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"video-info-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.previewContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.doNotAdd : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { ThumbnailComponent } from 'libs/shared/legacy/components/thumbnail/ThumbnailComponent';\r\n\r\nimport { VideoItemComponentRegion } from 'shared/components/video-item/utils/VideoItemComponentTypes';\r\nimport { Video } from 'shared/models/Video';\r\nimport { RadioChannelHelper, LazyLoadHelper } from 'shared/utils';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport { ErroredVideoPreviewComponent } from 'apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent';\r\nimport { ErroredVideoMetadataComponent } from 'apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent';\r\nimport { ErroredVideoActionsComponent } from 'apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as ErroredVideoItemTemplate from './ErroredVideoItem.hbs';\r\nimport * as styles from './errored-video-item.scss';\r\n\r\nexport interface ErroredVideoComponentOptions extends Core.ComponentOptions {\r\n imageCdnUrl: string;\r\n webplayerUrl: string;\r\n}\r\n\r\nexport class ErroredVideoItemComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n private previewViewModel: Core.Model;\r\n private thumbnailLoaded: boolean;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n this.listenTo(this.previewViewModel, `change:${this.model.get('id')}`, this.render);\r\n\r\n this.listenTo(this.channelName, 'thumbnail:load', this.onThumbnailLoad);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoItemTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoItem';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get className(): string {\r\n return `border-bottom ${styles.component}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n [VideoItemComponentRegion.Thumbnail]: '.thumbnail-region',\r\n [VideoItemComponentRegion.Metadata]: '.metadata-region',\r\n [VideoItemComponentRegion.VideoActions]: '.video-actions-region',\r\n [VideoItemComponentRegion.VideoInfo]: '.video-info-region'\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .drag-item': 'onClick',\r\n 'click .undo': 'onClickUndo'\r\n };\r\n }\r\n\r\n private onThumbnailLoad(): void {\r\n this.thumbnailLoaded = true;\r\n }\r\n\r\n public onClick(): void {\r\n if (this.previewViewModel.get(this.model.get('id'))) {\r\n this.previewViewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.previewViewModel.clear();\r\n this.previewViewModel.set(this.model.get('id'), true);\r\n }\r\n\r\n public onClickUndo(): void {\r\n this.viewModel.unset(this.model.get('id'));\r\n }\r\n\r\n public shouldLazyLoadThumbnail(): boolean {\r\n if (!LazyLoadHelper.isLazyLoadSupported(LazyLoadMinBrowserSupportVersion))\r\n return false;\r\n\r\n return !this.thumbnailLoaded;\r\n }\r\n\r\n private renderThumbnail(): void {\r\n const thumbnailComponent = new ThumbnailComponent({\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` }\r\n }),\r\n lazyload: this.shouldLazyLoadThumbnail(),\r\n channelName: this.channelName\r\n });\r\n this.showChildView(VideoItemComponentRegion.Thumbnail, thumbnailComponent);\r\n }\r\n\r\n private renderMetadata(): void {\r\n const metadataComponent = new ErroredVideoMetadataComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.Metadata, metadataComponent);\r\n }\r\n\r\n private renderActions(): void {\r\n const videoActionsComponent = new ErroredVideoActionsComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoActions, videoActionsComponent);\r\n }\r\n\r\n private renderPreview(): void {\r\n if (!this.previewViewModel.get(this.model.get('id')))\r\n return;\r\n\r\n const previewComponent = new ErroredVideoPreviewComponent({\r\n model: this.model,\r\n webplayerUrl: this.options.webplayerUrl,\r\n imageCdnUrl: this.options.imageCdnUrl\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoInfo, previewComponent);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n doNotAdd: this.viewModel.get(this.model.get('id')) === MigrationErrorActions.DO_NOT_ADD\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderThumbnail();\r\n this.renderMetadata();\r\n this.renderActions();\r\n this.renderPreview();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"component\":\"cv--component--13khy\",\"thumbnailContainer\":\"cv--thumbnailContainer--_gEcp\",\"metaContainer\":\"cv--metaContainer--zuMb1\",\"actionsContainer\":\"cv--actionsContainer--1ppp8\",\"videoItem\":\"cv--videoItem--2Ru6c\",\"doNotAdd\":\"cv--doNotAdd--8l6WV\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"videos-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { LazyLoadBehavior } from 'shared/behaviors';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport * as ErroredVideoListTemplate from './ErroredVideoList.hbs';\r\nimport { ErroredVideoComponentOptions, ErroredVideoItemComponent } from '../errored-video-item/ErroredVideoItemComponent';\r\n\r\nclass ErroredVideoItemComponentCollection extends Core.ComponentCollection {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponentCollection';\r\n }\r\n\r\n public get childView(): typeof ErroredVideoItemComponent {\r\n return ErroredVideoItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ErroredVideoComponentOptions {\r\n return this.options;\r\n }\r\n}\r\n\r\nexport class ErroredVideoListComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoListComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoListTemplate;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: LazyLoadBehavior,\r\n selector: '.lazy-img',\r\n minBrowserSupportVersion: LazyLoadMinBrowserSupportVersion\r\n }\r\n ];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.videos-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new ErroredVideoItemComponentCollection(this.options));\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"series\",{\"name\":\"lang\",\"hash\":{\"series\":(depth0 != null ? depth0.series : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \" \"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"folder\",{\"name\":\"lang\",\"hash\":{\"folder\":(depth0 != null ? depth0.category : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n return \"<span class=\\\"mx-1\\\">|</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <span class=\\\"badge p-1 tool-tip \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingColorClass : stack1), depth0))\n + \"\\\" title=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))\n + \"</span>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"9\":function(container,depth0,helpers,partials,data) {\n return \" <div class=\\\"text-danger\\\">\"\n + container.escapeExpression(container.lambda(depth0, depth0))\n + \"</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div>\\r\\n <a class=\\\"h6\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias2,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\r\\n</div>\\r\\n<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.category : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.errorStrings : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoMetadataTemplate from './ErroredVideoMetadata.hbs';\r\nimport * as styles from './errored-video-metadata.scss';\r\nimport { MigrationErrorHelper } from 'apps/migration-wizard/utils/MigrationErrorHelper';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDetailsHelper } from 'apps/library-editor/utils';\r\n\r\nexport class ErroredVideoMetadataComponent extends Core.Component {\r\n public get name(): string {\r\n return 'ErroredVideoMetadataComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoMetadataTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoMetadata';\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n errorStrings: MigrationErrorHelper.getErrorStrings(this.model.get('clientValidationResults')),\r\n ratingColorClass: this.model.get('rating') && VideoDetailsHelper.mapRatingToClass(this.model.get('rating').value),\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"cv--rating--3IJcl\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<p class=\\\"text-uppercase text-muted\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"description\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\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 || {}),(depth0 != null ? depth0.description : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<div class=\\\"description-region\\\"></div>\\r\\n<div class=\\\"webplayer-region col-5 pl-0\\\"></div>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoPreviewTemplate from './ErroredVideoPreview.hbs';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDescriptionComponent, VideoDescriptionTruncationSize } from 'shared/components/video-description/VideoDescriptionComponent';\r\nimport { VideoPreviewComponent } from 'shared/components/video-preview/VideoPreviewComponent';\r\nimport { Video } from 'shared/models/Video';\r\n\r\ninterface ErroredVideoPreviewComponentOptions extends Core.ComponentOptions {\r\n webplayerUrl: string;\r\n imageCdnUrl: string;\r\n}\r\n\r\nexport class ErroredVideoPreviewComponent extends Core.Component {\r\n public options: ErroredVideoPreviewComponentOptions;\r\n\r\n constructor(options: ErroredVideoPreviewComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoPreviewComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'p-3 border-top';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoPreviewTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoPreview';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n description: {\r\n el: '.description-region',\r\n replaceElement: true\r\n },\r\n webplayer: {\r\n el: '.webplayer-region'\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('webplayer', new VideoPreviewComponent({\r\n webPlayerUrl: this.options.webplayerUrl,\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` },\r\n trackingCode: this.model.get('trackingCode')\r\n }),\r\n captureAnalytics: false\r\n }));\r\n\r\n if (this.model.get('description')) {\r\n this.showChildView('description', new VideoDescriptionComponent({\r\n model: this.model,\r\n linkify: true,\r\n size: VideoDescriptionTruncationSize.Large,\r\n truncate: true,\r\n allowExpand: true\r\n }));\r\n }\r\n\r\n }\r\n}","export const MigrationErrorActions = {\r\n USE_ONLINE_COPY: 'use-online-copy',\r\n DO_NOT_ADD: 'do-not-add'\r\n};","export const MigrationViewModels = {\r\n OPEN_PREVIEWS: 'migration:errored:videos:preview',\r\n SELECTED_VIDEOS: 'migration:errored:videos:selected'\r\n};","import * as _ from 'underscore';\r\nimport { ValidationResult } from 'apps/migration-wizard/enums';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nconst lang = 'migrationWizard.utils';\r\n\r\nconst videoFileMissing = () => LanguageService.getPhrase(lang, 'videoFileMissing');\r\nconst videoFileCorrupt = () => LanguageService.getPhrase(lang, 'videoFileCorrupt');\r\nconst videoFileInformationMissing = () => LanguageService.getPhrase(lang, 'videoFileInformationMissing');\r\nconst subtitleFileMissing = () => LanguageService.getPhrase(lang, 'subtitleFileMissing');\r\nconst resouceFileMissing = () => LanguageService.getPhrase(lang, 'resouceFileMissing');\r\nconst thumbnailMissing = () => LanguageService.getPhrase(lang, 'thumbnailMissing');\r\n\r\nconst mappings: { [key: number]: () => string } = {\r\n [ValidationResult.BinaryRemoved]: () => '',\r\n\r\n [ValidationResult.LocalFileNotFound]: videoFileMissing,\r\n [ValidationResult.DbEmptyChapter]: videoFileCorrupt,\r\n\r\n [ValidationResult.DbChapterChecksumNotFound]: videoFileCorrupt,\r\n [ValidationResult.DbChapterDurationNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterChecksumNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterDurationNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.SubtitleUploadFailure]: subtitleFileMissing,\r\n [ValidationResult.ResourceUploadFailure]: resouceFileMissing,\r\n [ValidationResult.ResourceFileNotFound]: resouceFileMissing,\r\n [ValidationResult.ResourceFileInvalid]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceExtensionNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotMatch]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotMatch]: resouceFileMissing,\r\n [ValidationResult.CoverImageUploadFailure]: thumbnailMissing\r\n};\r\n\r\nexport const MigrationErrorHelper = {\r\n getErrorStrings(errorCodes: number[]): string[] {\r\n return _.unique(_.map(errorCodes, e => mappings[e]()));\r\n }\r\n};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, alias5=\"function\";\n\n return \"<div class=\\\"m-auto text-warning \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = ((helper = (helper = helpers.warningSvg || (depth0 != null ? depth0.warningSvg : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningSvg\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"</div>\\r\\n<p>\\r\\n <div>\"\n + ((stack1 = ((helper = (helper = helpers.onlineCopyCountText || (depth0 != null ? depth0.onlineCopyCountText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"onlineCopyCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be migrated to your Library Editor ignoring all warnings.</div>\\r\\n <span class=\\\"text-danger\\\">\\r\\n \"\n + alias2(((helper = (helper = helpers.warningText || (depth0 != null ? depth0.warningText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningText\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n </span>\\r\\n</p> \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable;\n\n return \"<p>\"\n + ((stack1 = ((helper = (helper = helpers.doNotAddCountText || (depth0 != null ? depth0.doNotAddCountText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"doNotAddCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be removed from this list and will not be added to your library.</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.onlineCopyCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.doNotAddCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":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 \" <h2 class=\\\"h3\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"couldNotBeMigrated\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1)},\"data\":data}))\n + \"</h2>\\r\\n <p class=\\\"mb-1\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"ensureValidity\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <p class=\\\"mb-2\\\"><a href=\\\"\"\n + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportArticle : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\" class=\\\"text-info\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"moreInfo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></p>\\r\\n <button class=\\\"approve-all btn btn-success d-inline-block mr-2\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"do-not-add btn btn-link d-inline-block\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"tab-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))\n + \" border-bottom\\\"></div>\\r\\n<div class=\\\"p-3 border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.headingContainer : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"videos-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n<div class=\\\"footer-region\\\"></div>\\r\\n\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { EmptyStateBehavior } from 'libs/shared/legacy/behaviors/empty-state/EmptyStateBehavior';\r\nimport { LocationContext, EntityType, UserAction, OperationDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { NavLockService } from 'shared/services/NavigationLockService';\r\nimport { DataServices, DataChannels, Actions, AppChannels, SupportArticles, EmptyStateComponents, Services } from 'shared/constants';\r\nimport { Config } from 'shared/models/Config';\r\nimport { EmptyState, PartialLoading } from 'shared/enums';\r\nimport { RadioChannelHelper, DialogHelper } from 'shared/utils';\r\n\r\nimport { ErroredVideoListComponent } from 'apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent';\r\nimport { ErroredVideoFooterComponent } from 'apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent';\r\nimport { VideoMigrationStatus } from 'apps/migration-wizard/enums/VideoMigrationStatus';\r\nimport { SelectedVideo, FinalisationTask } from 'apps/migration-wizard/models';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\nimport { SearchBarComponent } from 'apps/migration-wizard/components';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport * as ConfirmationDialogTemplate from './ConfirmationDialog.hbs';\r\nimport * as MigrationErrorTemplate from './MigrationError.hbs';\r\nimport * as styles from './migration-error.scss';\r\n\r\nconst SUBMIT_EVENT = 'submit';\r\nconst PAGE_SIZE = 25;\r\n\r\nexport class MigrationErrorView extends Core.View {\r\n private config: Config;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private navLockService: NavLockService;\r\n private previewViewModel: Core.Model;\r\n private collectionSubset: Core.Collection;\r\n private page: number;\r\n private scrollBound: boolean;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n this.navLockService = InstanceManager.getInstance(Services.NavLock, this);\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(DataChannels.MIGRATION, `manual:review:videos:sync`, this.render);\r\n this.listenTo(this.channelName, SUBMIT_EVENT, this.onSubmit);\r\n\r\n this.listenTo(this.viewModel, 'change', this.onChangeSelected);\r\n\r\n this.page = 1;\r\n }\r\n\r\n public get name(): string {\r\n return 'MigrationErrorView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.migrationError';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n videos: '.videos-region'\r\n };\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n tabs: {\r\n el: '.tab-region',\r\n replaceElement: true\r\n },\r\n videos: {\r\n el: '.videos-region',\r\n partialLoading: PartialLoading.VideoList\r\n },\r\n footer: {\r\n el: '.footer-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: EmptyStateBehavior,\r\n region: 'videos',\r\n type: EmptyState.ManualReviewVideos,\r\n emptyStateComponents: EmptyStateComponents\r\n }\r\n ];\r\n }\r\n\r\n public get template(): any {\r\n return MigrationErrorTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `bg-white w-100 ${styles.migrationErrorView}`;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .approve-all': 'onClickApproveAll',\r\n 'click .do-not-add': 'onClickDoNotAdd'\r\n };\r\n }\r\n\r\n public onClickApproveAll(): void {\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n public onClickDoNotAdd(): void {\r\n this.previewViewModel.clear();\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.DO_NOT_ADD;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n\r\n private onChangeSelected(): void {\r\n if (this.viewModel.keys().length) {\r\n this.navLockService.lock({\r\n title: LanguageService.getPhrase(this.lang, 'navLockTitle'),\r\n text: LanguageService.getPhrase(this.lang, 'navLockBody')\r\n });\r\n } else {\r\n this.navLockService.unlock();\r\n }\r\n }\r\n\r\n private getDialog(onlineCopyCount: number, doNotAddCount: number): DialogHelper {\r\n return new DialogHelper({\r\n title: LanguageService.getPhrase(this.lang, 'dialogHeading'),\r\n text: ConfirmationDialogTemplate({\r\n onlineCopyCount,\r\n onlineCopyCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: onlineCopyCount }),\r\n warningText: LanguageService.getPhrase(this.lang, 'warningText', { smartCount: onlineCopyCount }),\r\n doNotAddCount,\r\n doNotAddCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: doNotAddCount }),\r\n styles,\r\n warningSvg: SvgHelper.getSvg(cvSvgLibrary.Warning)\r\n }),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'submit'),\r\n className: 'btn btn-primary',\r\n success: true\r\n }]\r\n });\r\n }\r\n\r\n private getSelectedVideos(): Core.Collection<SelectedVideo> {\r\n const useOnlineCopyVideos = this.collection.filter(video => {\r\n return this.viewModel.get(video.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n\r\n const groupedByCategory = _.groupBy(useOnlineCopyVideos, video => {\r\n return video.get('category');\r\n });\r\n\r\n const selectedVideos = _.map(_.keys(groupedByCategory), key => {\r\n return {\r\n folderChord: key,\r\n videoIds: _.map(groupedByCategory[key], item => item.get('id'))\r\n };\r\n });\r\n return new Core.Collection<SelectedVideo>(selectedVideos);\r\n }\r\n\r\n private onSubmit(): void {\r\n const doNotAddVideoIds: number[] = [];\r\n const useOnlineCopyVideoIds: number[] = [];\r\n\r\n _.each(this.viewModel.keys(), k => {\r\n const value = this.viewModel.get(k);\r\n if (value === MigrationErrorActions.DO_NOT_ADD)\r\n doNotAddVideoIds.push(+k);\r\n\r\n if (value === MigrationErrorActions.USE_ONLINE_COPY)\r\n useOnlineCopyVideoIds.push(+k);\r\n });\r\n\r\n const dialog = this.getDialog(useOnlineCopyVideoIds.length, doNotAddVideoIds.length);\r\n\r\n let updateMigrationStatusDone = false;\r\n let finaliseCustomerVideosDone = false;\r\n let finalisationTaskId = 0;\r\n\r\n const callback = () => {\r\n if (!updateMigrationStatusDone || !finaliseCustomerVideosDone)\r\n return;\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n /**\r\n * Silently clear the viewModel so that we don't trigger a re-render\r\n * of all the migration errors. This helps mitigate a bug where\r\n * lazyload was erroring when attempting to perform an update on\r\n * items after they've been removed from the DOM.\r\n */\r\n this.viewModel.clear({ silent: true });\r\n this.navLockService.unlock();\r\n\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.PROGRESS,\r\n args: [finalisationTaskId]\r\n });\r\n } else {\r\n this.viewModel.clear();\r\n\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata();\r\n this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n delete this.collectionSubset;\r\n }\r\n };\r\n\r\n dialog.render().done(() => {\r\n this.logMigrationActions(useOnlineCopyVideoIds, doNotAddVideoIds);\r\n\r\n if (doNotAddVideoIds.length) {\r\n this.migrationVideoDataService.updateMigrationStatus(\r\n doNotAddVideoIds, VideoMigrationStatus.HasNotBeenMigrated, () => {\r\n updateMigrationStatusDone = true;\r\n callback();\r\n }\r\n );\r\n } else {\r\n updateMigrationStatusDone = true;\r\n }\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n this.migrationVideoDataService.finaliseCustomerVideos(\r\n this.getSelectedVideos(), true, (finalisationTask: FinalisationTask) => {\r\n finaliseCustomerVideosDone = true;\r\n finalisationTaskId = finalisationTask.get('id');\r\n callback();\r\n }\r\n );\r\n } else {\r\n finaliseCustomerVideosDone = true;\r\n }\r\n });\r\n }\r\n\r\n private logMigrationActions(resolveCollection: number[], dismissCollection: number[]): void {\r\n if (resolveCollection.length) {\r\n let data = _.map(resolveCollection, id => this.processLogData(id, resolveCollection));\r\n this.logData(UserAction.ResolveWarning, data);\r\n }\r\n\r\n if (dismissCollection.length) {\r\n let data = _.map(dismissCollection, id => this.processLogData(id, dismissCollection));\r\n this.logData(UserAction.DismissWarning, data);\r\n }\r\n }\r\n\r\n private logData(actionType: UserAction, data: ObjectHash[]): void {\r\n const analyticsOptions = {\r\n location: LocationContext.MigrationWarnings,\r\n entity: EntityType.Video\r\n };\r\n\r\n // Set action descriptor where all videos have been selected for resolve/dismiss\r\n const selectedAll = data.length === this.collection.length;\r\n\r\n AnalyticsHelper.logUserAction(data, AnalyticsHelper.mergeOptions(analyticsOptions, {\r\n actionType,\r\n descriptor: selectedAll ? OperationDescriptor.All : OperationDescriptor.Single\r\n }));\r\n }\r\n\r\n // Process and build the data object we're going to log.\r\n private processLogData(id: number, migrationCollection: number[]): ObjectHash {\r\n const model = this.collection.get(id);\r\n\r\n const { name, trackingCode } = model.pick('name', 'trackingCode');\r\n\r\n const actionCount = migrationCollection.length;\r\n const warningCount = this.collection.length;\r\n\r\n return {\r\n id,\r\n name,\r\n trackingCode,\r\n actionCount,\r\n warningCount,\r\n };\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n private unBindScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.off('scroll');\r\n }\r\n\r\n private bindScroll(): void {\r\n if (this.scrollBound)\r\n return;\r\n\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.on('scroll', _.bind(this.onScroll, this));\r\n\r\n this.scrollBound = true;\r\n }\r\n\r\n private onScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n\r\n /**\r\n * If we haven't scrolled to the end, do nothing\r\n * \r\n */\r\n const loadMoreThreshold = $videosRegion.children().height() - $videosRegion.height() / 2;\r\n if ($videosRegion.scrollTop() + $videosRegion.height() < loadMoreThreshold)\r\n return;\r\n\r\n if (this.page * PAGE_SIZE > this.collection.length)\r\n return;\r\n\r\n this.collectionSubset.add(_.first(this.collection.rest(this.page * PAGE_SIZE), PAGE_SIZE));\r\n this.page++;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n\r\n const supportArticle = this.config ? `${this.config.get('supportSiteUrl')}${SupportArticles.MANUAL_REVIEW}` : '';\r\n\r\n return {\r\n styles,\r\n supportArticle,\r\n items: this.collection && this.collection.length\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.collection = this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n if (this.collection && !this.collectionSubset) {\r\n this.collectionSubset = new Core.Collection(this.collection.first(PAGE_SIZE));\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('tabs', new SearchBarComponent({\r\n selected: 'migration-errors'\r\n }));\r\n this.showChildView('videos', new ErroredVideoListComponent({\r\n collection: this.collectionSubset,\r\n imageCdnUrl: this.config.get('imageCdnUrl'),\r\n webplayerUrl: this.config.get('webPlayerUrl')\r\n }));\r\n this.showChildView('footer', new ErroredVideoFooterComponent({\r\n channelName: this.channelName,\r\n submitEvent: SUBMIT_EVENT\r\n }));\r\n this.bindScroll();\r\n }\r\n\r\n public onBeforeDestroy(): void {\r\n this.unBindScroll();\r\n }\r\n\r\n public onDestroy(): void {\r\n ViewModelService.clear(MigrationViewModels.OPEN_PREVIEWS);\r\n ViewModelService.clear(MigrationViewModels.SELECTED_VIDEOS);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"migrationErrorView\":\"cv--migrationErrorView--1Jo6e\",\"videoContainer\":\"cv--videoContainer--7tGnj\",\"svgContainer\":\"cv--svgContainer--csNIF\",\"headingContainer\":\"cv--headingContainer--30NNv\",\"tabsContainer\":\"cv--tabsContainer--10__f\"};","export enum VideoItemComponentType {\r\n Base,\r\n AwaitingReview,\r\n PastReleases,\r\n VideoAccess,\r\n ProcessingVideo,\r\n Draggable,\r\n Search\r\n}\r\n\r\nexport enum VideoItemComponentRegion {\r\n Checkbox = 'checkbox',\r\n Thumbnail = 'thumbnail',\r\n Metadata = 'metadata',\r\n VideoActions = 'videoActions',\r\n VideoInfo = 'videoInfo',\r\n}"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActions.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-actions/errored-video-actions.scss?c4d8","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooter.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItem.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-item/ErroredVideoItemComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-item/errored-video-item.scss?bf6a","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoList.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadata.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/components/errored-video-metadata/errored-video-metadata.scss?a8f7","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreview.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationErrorActions.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/contants/MigrationViewModels.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/utils/MigrationErrorHelper.ts","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/ConfirmationDialog.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationError.hbs","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/apps/migration-wizard/views/migration-error/MigrationErrorView.ts","webpack://@clickview/library-editor/./src/apps/migration-wizard/views/migration-error/migration-error.scss?7f6f","file://C:/ClickView Projects/@clickview/packages/projects/library-editor/src/shared/components/video-item/utils/VideoItemComponentTypes.ts"],"names":[],"mappings":";;;;;;;;;AAAA,iBAAiB,mBAAO,CAAC,8BAAY;AACrC,iEAAiE;AACjE;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,+IAA+I,aAAa,uBAAuB,aAAa;AAChM;AACA,CAAC;AACD,4GAA4G;;AAE5G;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,oFAAoF,uBAAuB,aAAa;AACxH;AACA,CAAC;AACD;;AAEA,sKAAsK,UAAU,uBAAuB,aAAa;AACpN,CAAC;AACD;;AAEA,sKAAsK,UAAU,uBAAuB,aAAa;AACpN,CAAC;AACD,oHAAoH;;AAEpH;AACA,uIAAuI,qBAAqB,wFAAwF;AACpP;AACA;AACA;AACA;AACA;AACA,+IAA+I,qBAAqB,wFAAwF;AAC5P;AACA,2GAA2G,uBAAuB,aAAa;AAC/I;AACA,CAAC,gBAAgB,E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACxCjB;AACA;AACA;AAEA;AACA;AAEA;AACA;AAMO,IAAM,4BAAb;AAAA;;AAAA;;AAIE,wCAAY,OAAZ,EAAwD;AAAA;;AAAA,6BAChD,OADgD;AAEvD;;AANH;AAAA;AAAA,iCAQmB;AACf,WAAK,SAAL,GAAiB,oGAAgB,CAAC,GAAjB,CAAqB,iFAAmB,CAAC,eAAzC,CAAjB;AACA,WAAK,gBAAL,GAAwB,oGAAgB,CAAC,GAAjB,CAAqB,iFAAmB,CAAC,aAAzC,CAAxB;AAEA,WAAK,QAAL,CAAc,KAAK,SAAnB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ACA,kBAAkB,wO;;;;;;;;;;;;ACDlB;AAAA;AAAA;AAAA,IAAY,sBAAZ;;AAAA,WAAY,sBAAZ,EAAkC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACD,CARD,EAAY,sBAAsB,KAAtB,sBAAsB,MAAlC;;AAUA,IAAY,wBAAZ;;AAAA,WAAY,wBAAZ,EAAoC;AAClC;AACA;AACA;AACA;AACA;AACD,CAND,EAAY,wBAAwB,KAAxB,wBAAwB,MAApC,E","file":"scripts/41.chunk.js","sourcesContent":["var Handlebars = 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 \" <button class=\\\"btn btn-success use-online-copy \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.selectedButton : stack1), depth0))\n + \"\\\"><span class=\\\"\"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.checkSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\"\n + alias3((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return \" <button class=\\\"btn btn-link dismiss\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"btn btn-outline-secondary use-online-copy\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"5\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"hide\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"7\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"show\",{\"name\":\"lang\",\"hash\":{},\"data\":data}));\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.lambda, alias4=container.escapeExpression;\n\n return \"<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.selected : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"mt-4 cursor-pointer video-item-show-preview text-right \"\n + alias4(alias3(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.showPreview : stack1), depth0))\n + \"\\\">\\r\\n <span class=\\\"svg-container d-inline-block\\\">\"\n + ((stack1 = alias3(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewSvg : stack1), depth0)) != null ? stack1 : \"\")\n + \"</span>\\r\\n \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.previewDisplayed : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(5, data, 0),\"inverse\":container.program(7, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \" \"\n + alias4((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"preview\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"\\r\\n</div>\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\n\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as styles from './errored-video-actions.scss';\r\nimport * as ErroredVideoActionsTemplate from './ErroredVideoActions.hbs';\r\n\r\ninterface ErroredVideoActionsComponentOptions extends Core.ComponentOptions {\r\n model: Core.Model;\r\n}\r\n\r\nexport class ErroredVideoActionsComponent extends Core.Component {\r\n public viewModel: Core.Model;\r\n private previewViewModel: Core.Model;\r\n\r\n constructor(options: ErroredVideoActionsComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoActionsComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoActionsTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoActions';\r\n }\r\n\r\n public get className(): string {\r\n return 'text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .use-online-copy': 'onClickSelect',\r\n 'click .dismiss': 'onClickDismiss'\r\n };\r\n }\r\n\r\n private isSelected(): boolean {\r\n return this.viewModel.get(this.model.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }\r\n\r\n public onClickSelect(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n if (this.isSelected()) {\r\n this.viewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.USE_ONLINE_COPY);\r\n }\r\n\r\n public onClickDismiss(e: JQuery.Event): void {\r\n e.stopPropagation();\r\n\r\n if (this.previewViewModel.get(this.model.get('id')))\r\n this.previewViewModel.clear();\r\n\r\n this.viewModel.set(this.model.get('id'), MigrationErrorActions.DO_NOT_ADD);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n selected: this.isSelected(),\r\n checkSvg: SvgHelper.getSvg(cvSvgLibrary.Check),\r\n previewSvg: SvgHelper.getSvg(cvSvgLibrary.Preview)\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"svgContainer\":\"cv--svgContainer---0ibU\",\"selectedButton\":\"cv--selectedButton--28zhr\",\"showPreview\":\"cv--showPreview--2r4VF\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable;\n\n return \"<span class=\\\"border-right d-inline-block align-middle pr-3\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"videosAdded\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.count : stack1)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"disabled\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {}), alias3=container.hooks.helperMissing, alias4=container.escapeExpression;\n\n return ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.countPhrase : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<span class=\\\"d-inline-block align-middle\\\"><button class=\\\"btn btn-link clear-all\\\"\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"reset\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button></span>\\r\\n<button class=\\\"btn btn-primary align-middle ml-2 submit\\\" \"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.submitDisabled : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"submit\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\n\r\nimport * as ErroredVideoFooterTemplate from './ErroredVideoFooter.hbs';\r\nimport { ObjectHash, Radio } from 'backbone';\r\nimport * as _ from 'underscore';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\ninterface ErroredVideoFooterComponentOptions extends Core.ComponentOptions {\r\n submitEvent: string;\r\n}\r\n\r\nexport class ErroredVideoFooterComponent extends Core.Component {\r\n public options: ErroredVideoFooterComponentOptions;\r\n\r\n constructor(options: ErroredVideoFooterComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n\r\n this.listenTo(this.viewModel, 'change', this.render);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoFooterComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoFooterTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoFooter';\r\n }\r\n\r\n public get className(): string {\r\n return 'border-top px-3 py-2 text-right';\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .clear-all': 'onClickClearAll',\r\n 'click .submit': 'onClickSubmit'\r\n };\r\n }\r\n\r\n public onClickClearAll(): void {\r\n this.viewModel.clear();\r\n }\r\n\r\n public onClickSubmit(): void {\r\n Radio.channel(this.options.channelName).trigger(this.options.submitEvent);\r\n }\r\n\r\n private canSubmit(): boolean {\r\n return this.viewModel.keys().length > 0;\r\n }\r\n\r\n private countWillBeAdded(): number {\r\n return _.filter(this.viewModel.keys(), key => {\r\n return this.viewModel.get(key) === MigrationErrorActions.USE_ONLINE_COPY;\r\n }).length;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n count: this.countWillBeAdded(),\r\n submitDisabled: !this.canSubmit()\r\n };\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n return \" cursor-pointer\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing;\n\n return \"<div class=\\\"\"\n + alias2(container.lambda(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.doNotAdd : stack1), depth0))\n + \" text-center\\\">\\r\\n <p class=\\\"mb-0 mt-3\\\">\"\n + ((stack1 = (helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willNotBeAdded\",{\"name\":\"lang\",\"hash\":{\"videoName\":(depth0 != null ? depth0.name : depth0)},\"data\":data})) != null ? stack1 : \"\")\n + \"</p>\\r\\n <p class=\\\"m-0\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"willBeRemoved\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <button class=\\\"btn btn-link undo\\\">\"\n + alias2((helpers.lang||(depth0 && depth0.lang)||alias4).call(alias3,\"undo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression, alias4=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div class=\\\"d-flex justify-content-between align-items-stretch p-3 drag-item \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoItem : stack1), depth0))\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.isClickable : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\\">\\r\\n <div class=\\\"thumbnail-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.thumbnailContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"metadata-region d-inline-block px-3 \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.metaContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n <div class=\\\"video-actions-region d-inline-block \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.actionsContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n</div>\\r\\n<div class=\\\"video-info-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.previewContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias4,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.doNotAdd : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { ThumbnailComponent } from 'libs/shared/legacy/components/thumbnail/ThumbnailComponent';\r\n\r\nimport { VideoItemComponentRegion } from 'shared/components/video-item/utils/VideoItemComponentTypes';\r\nimport { Video } from 'shared/models/Video';\r\nimport { RadioChannelHelper, LazyLoadHelper } from 'shared/utils';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport { ErroredVideoPreviewComponent } from 'apps/migration-wizard/components/errored-video-preview/ErroredVideoPreviewComponent';\r\nimport { ErroredVideoMetadataComponent } from 'apps/migration-wizard/components/errored-video-metadata/ErroredVideoMetadataComponent';\r\nimport { ErroredVideoActionsComponent } from 'apps/migration-wizard/components/errored-video-actions/ErroredVideoActionsComponent';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\n\r\nimport * as ErroredVideoItemTemplate from './ErroredVideoItem.hbs';\r\nimport * as styles from './errored-video-item.scss';\r\n\r\nexport interface ErroredVideoComponentOptions extends Core.ComponentOptions {\r\n imageCdnUrl: string;\r\n webplayerUrl: string;\r\n}\r\n\r\nexport class ErroredVideoItemComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n private previewViewModel: Core.Model;\r\n private thumbnailLoaded: boolean;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public initialize(): void {\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(this.viewModel, `change:${this.model.get('id')}`, this.render);\r\n this.listenTo(this.previewViewModel, `change:${this.model.get('id')}`, this.render);\r\n\r\n this.listenTo(this.channelName, 'thumbnail:load', this.onThumbnailLoad);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoItemTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoItem';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get className(): string {\r\n return `border-bottom ${styles.component}`;\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n [VideoItemComponentRegion.Thumbnail]: '.thumbnail-region',\r\n [VideoItemComponentRegion.Metadata]: '.metadata-region',\r\n [VideoItemComponentRegion.VideoActions]: '.video-actions-region',\r\n [VideoItemComponentRegion.VideoInfo]: '.video-info-region'\r\n };\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .drag-item': 'onClick',\r\n 'click .undo': 'onClickUndo'\r\n };\r\n }\r\n\r\n private onThumbnailLoad(): void {\r\n this.thumbnailLoaded = true;\r\n }\r\n\r\n public onClick(): void {\r\n if (this.previewViewModel.get(this.model.get('id'))) {\r\n this.previewViewModel.unset(this.model.get('id'));\r\n return;\r\n }\r\n\r\n this.previewViewModel.clear();\r\n this.previewViewModel.set(this.model.get('id'), true);\r\n }\r\n\r\n public onClickUndo(): void {\r\n this.viewModel.unset(this.model.get('id'));\r\n }\r\n\r\n public shouldLazyLoadThumbnail(): boolean {\r\n if (!LazyLoadHelper.isLazyLoadSupported(LazyLoadMinBrowserSupportVersion))\r\n return false;\r\n\r\n return !this.thumbnailLoaded;\r\n }\r\n\r\n private renderThumbnail(): void {\r\n const thumbnailComponent = new ThumbnailComponent({\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` }\r\n }),\r\n lazyload: this.shouldLazyLoadThumbnail(),\r\n channelName: this.channelName\r\n });\r\n this.showChildView(VideoItemComponentRegion.Thumbnail, thumbnailComponent);\r\n }\r\n\r\n private renderMetadata(): void {\r\n const metadataComponent = new ErroredVideoMetadataComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.Metadata, metadataComponent);\r\n }\r\n\r\n private renderActions(): void {\r\n const videoActionsComponent = new ErroredVideoActionsComponent({\r\n model: this.model\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoActions, videoActionsComponent);\r\n }\r\n\r\n private renderPreview(): void {\r\n if (!this.previewViewModel.get(this.model.get('id')))\r\n return;\r\n\r\n const previewComponent = new ErroredVideoPreviewComponent({\r\n model: this.model,\r\n webplayerUrl: this.options.webplayerUrl,\r\n imageCdnUrl: this.options.imageCdnUrl\r\n });\r\n this.showChildView(VideoItemComponentRegion.VideoInfo, previewComponent);\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n doNotAdd: this.viewModel.get(this.model.get('id')) === MigrationErrorActions.DO_NOT_ADD\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.renderThumbnail();\r\n this.renderMetadata();\r\n this.renderActions();\r\n this.renderPreview();\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"component\":\"cv--component--13khy\",\"thumbnailContainer\":\"cv--thumbnailContainer--_gEcp\",\"metaContainer\":\"cv--metaContainer--zuMb1\",\"actionsContainer\":\"cv--actionsContainer--1ppp8\",\"videoItem\":\"cv--videoItem--2Ru6c\",\"doNotAdd\":\"cv--doNotAdd--8l6WV\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n return \"<div class=\\\"videos-region\\\"></div>\";\n},\"useData\":true});","import { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\n\r\nimport { LazyLoadBehavior } from 'shared/behaviors';\r\nimport { LazyLoadMinBrowserSupportVersion } from 'shared/constants';\r\n\r\nimport * as ErroredVideoListTemplate from './ErroredVideoList.hbs';\r\nimport { ErroredVideoComponentOptions, ErroredVideoItemComponent } from '../errored-video-item/ErroredVideoItemComponent';\r\n\r\nclass ErroredVideoItemComponentCollection extends Core.ComponentCollection {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoItemComponentCollection';\r\n }\r\n\r\n public get childView(): typeof ErroredVideoItemComponent {\r\n return ErroredVideoItemComponent;\r\n }\r\n\r\n public get childViewOptions(): ErroredVideoComponentOptions {\r\n return this.options;\r\n }\r\n}\r\n\r\nexport class ErroredVideoListComponent extends Core.Component {\r\n public options: ErroredVideoComponentOptions;\r\n\r\n constructor(options: ErroredVideoComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoListComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoListTemplate;\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: LazyLoadBehavior,\r\n selector: '.lazy-img',\r\n minBrowserSupportVersion: LazyLoadMinBrowserSupportVersion\r\n }\r\n ];\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n videos: {\r\n el: '.videos-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('videos', new ErroredVideoItemComponentCollection(this.options));\r\n }\r\n}","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \" <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"series\",{\"name\":\"lang\",\"hash\":{\"series\":(depth0 != null ? depth0.series : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \" \"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(4, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"\\r\\n <span>\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(alias2,\"folder\",{\"name\":\"lang\",\"hash\":{\"folder\":(depth0 != null ? depth0.category : depth0)},\"data\":data}))\n + \"</span>\\r\\n\";\n},\"4\":function(container,depth0,helpers,partials,data) {\n return \"<span class=\\\"mx-1\\\">|</span>\";\n},\"6\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \" <span class=\\\"badge p-1 tool-tip \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.rating : stack1), depth0))\n + \" \"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.ratingColorClass : stack1), depth0))\n + \"\\\" title=\\\"\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.name : stack1), depth0))\n + \"\\\">\"\n + alias3(alias2(((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1), depth0))\n + \"</span>\\r\\n\";\n},\"8\":function(container,depth0,helpers,partials,data) {\n var stack1;\n\n return ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),depth0,{\"name\":\"if\",\"hash\":{},\"fn\":container.program(9, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"9\":function(container,depth0,helpers,partials,data) {\n return \" <div class=\\\"text-danger\\\">\"\n + container.escapeExpression(container.lambda(depth0, depth0))\n + \"</div>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return \"<div>\\r\\n <a class=\\\"h6\\\">\"\n + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(alias2,{\"name\":\"name\",\"hash\":{},\"data\":data}) : helper)))\n + \"</a>\\r\\n</div>\\r\\n<div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.series : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.category : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(alias2,((stack1 = (depth0 != null ? depth0.rating : depth0)) != null ? stack1.code : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(6, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers.each.call(alias2,((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.errorStrings : stack1),{\"name\":\"each\",\"hash\":{},\"fn\":container.program(8, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoMetadataTemplate from './ErroredVideoMetadata.hbs';\r\nimport * as styles from './errored-video-metadata.scss';\r\nimport { MigrationErrorHelper } from 'apps/migration-wizard/utils/MigrationErrorHelper';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDetailsHelper } from 'apps/library-editor/utils';\r\n\r\nexport class ErroredVideoMetadataComponent extends Core.Component {\r\n public get name(): string {\r\n return 'ErroredVideoMetadataComponent';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoMetadataTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoMetadata';\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n return {\r\n styles,\r\n errorStrings: MigrationErrorHelper.getErrorStrings(this.model.get('clientValidationResults')),\r\n ratingColorClass: this.model.get('rating') && VideoDetailsHelper.mapRatingToClass(this.model.get('rating').value),\r\n };\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"rating\":\"cv--rating--3IJcl\"};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var alias1=container.propertyIsEnumerable;\n\n return \"<p class=\\\"text-uppercase text-muted\\\">\"\n + container.escapeExpression((helpers.lang||(depth0 && depth0.lang)||container.hooks.helperMissing).call(depth0 != null ? depth0 : (container.nullContext || {}),\"description\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\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 || {}),(depth0 != null ? depth0.description : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + \"<div class=\\\"description-region\\\"></div>\\r\\n<div class=\\\"webplayer-region col-5 pl-0\\\"></div>\";\n},\"useData\":true});","import { Core } from 'libs/common/core';\r\n\r\nimport * as ErroredVideoPreviewTemplate from './ErroredVideoPreview.hbs';\r\nimport { ObjectHash } from 'backbone';\r\nimport { VideoDescriptionComponent, VideoDescriptionTruncationSize } from 'shared/components/video-description/VideoDescriptionComponent';\r\nimport { VideoPreviewComponent } from 'shared/components/video-preview/VideoPreviewComponent';\r\nimport { Video } from 'shared/models/Video';\r\n\r\ninterface ErroredVideoPreviewComponentOptions extends Core.ComponentOptions {\r\n webplayerUrl: string;\r\n imageCdnUrl: string;\r\n}\r\n\r\nexport class ErroredVideoPreviewComponent extends Core.Component {\r\n public options: ErroredVideoPreviewComponentOptions;\r\n\r\n constructor(options: ErroredVideoPreviewComponentOptions) {\r\n super(options);\r\n }\r\n\r\n public get name(): string {\r\n return 'ErroredVideoPreviewComponent';\r\n }\r\n\r\n public get className(): string {\r\n return 'p-3 border-top';\r\n }\r\n\r\n public get template(): any {\r\n return ErroredVideoPreviewTemplate;\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.erroredVideoPreview';\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n description: {\r\n el: '.description-region',\r\n replaceElement: true\r\n },\r\n webplayer: {\r\n el: '.webplayer-region'\r\n }\r\n };\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('webplayer', new VideoPreviewComponent({\r\n webPlayerUrl: this.options.webplayerUrl,\r\n model: new Video({\r\n duration: this.model.get('duration') * 1000,\r\n thumbnail: { url: `${this.options.imageCdnUrl}v1/thumbnails/trackingcode/${this.model.get('trackingCode')}` },\r\n trackingCode: this.model.get('trackingCode')\r\n }),\r\n captureAnalytics: false\r\n }));\r\n\r\n if (this.model.get('description')) {\r\n this.showChildView('description', new VideoDescriptionComponent({\r\n model: this.model,\r\n linkify: true,\r\n size: VideoDescriptionTruncationSize.Large,\r\n truncate: true,\r\n allowExpand: true\r\n }));\r\n }\r\n\r\n }\r\n}","export const MigrationErrorActions = {\r\n USE_ONLINE_COPY: 'use-online-copy',\r\n DO_NOT_ADD: 'do-not-add'\r\n};","export const MigrationViewModels = {\r\n OPEN_PREVIEWS: 'migration:errored:videos:preview',\r\n SELECTED_VIDEOS: 'migration:errored:videos:selected'\r\n};","import * as _ from 'underscore';\r\nimport { ValidationResult } from 'apps/migration-wizard/enums';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\n\r\nconst lang = 'migrationWizard.utils';\r\n\r\nconst videoFileMissing = () => LanguageService.getPhrase(lang, 'videoFileMissing');\r\nconst videoFileCorrupt = () => LanguageService.getPhrase(lang, 'videoFileCorrupt');\r\nconst videoFileInformationMissing = () => LanguageService.getPhrase(lang, 'videoFileInformationMissing');\r\nconst subtitleFileMissing = () => LanguageService.getPhrase(lang, 'subtitleFileMissing');\r\nconst resouceFileMissing = () => LanguageService.getPhrase(lang, 'resouceFileMissing');\r\nconst thumbnailMissing = () => LanguageService.getPhrase(lang, 'thumbnailMissing');\r\n\r\nconst mappings: { [key: number]: () => string } = {\r\n [ValidationResult.BinaryRemoved]: () => '',\r\n\r\n [ValidationResult.LocalFileNotFound]: videoFileMissing,\r\n [ValidationResult.DbEmptyChapter]: videoFileCorrupt,\r\n\r\n [ValidationResult.DbChapterChecksumNotFound]: videoFileCorrupt,\r\n [ValidationResult.DbChapterDurationNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotFound]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterChecksumNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterDurationNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.DbChapterFileSizeNotMatch]: videoFileInformationMissing,\r\n [ValidationResult.SubtitleUploadFailure]: subtitleFileMissing,\r\n [ValidationResult.ResourceUploadFailure]: resouceFileMissing,\r\n [ValidationResult.ResourceFileNotFound]: resouceFileMissing,\r\n [ValidationResult.ResourceFileInvalid]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceExtensionNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotFound]: resouceFileMissing,\r\n [ValidationResult.DbResourceChecksumNotMatch]: resouceFileMissing,\r\n [ValidationResult.DbResourceFileSizeNotMatch]: resouceFileMissing,\r\n [ValidationResult.CoverImageUploadFailure]: thumbnailMissing\r\n};\r\n\r\nexport const MigrationErrorHelper = {\r\n getErrorStrings(errorCodes: number[]): string[] {\r\n return _.unique(_.map(errorCodes, e => mappings[e]()));\r\n }\r\n};","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable, alias2=container.escapeExpression, alias3=depth0 != null ? depth0 : (container.nullContext || {}), alias4=container.hooks.helperMissing, alias5=\"function\";\n\n return \"<div class=\\\"m-auto text-warning \"\n + alias2(container.lambda(((stack1 = (depth0 != null ? depth0.styles : depth0)) != null ? stack1.svgContainer : stack1), depth0))\n + \"\\\">\"\n + ((stack1 = ((helper = (helper = helpers.warningSvg || (depth0 != null ? depth0.warningSvg : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningSvg\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \"</div>\\r\\n<p>\\r\\n <div>\"\n + ((stack1 = ((helper = (helper = helpers.onlineCopyCountText || (depth0 != null ? depth0.onlineCopyCountText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"onlineCopyCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be migrated to your Library Editor ignoring all warnings.</div>\\r\\n <span class=\\\"text-danger\\\">\\r\\n \"\n + alias2(((helper = (helper = helpers.warningText || (depth0 != null ? depth0.warningText : depth0)) != null ? helper : alias4),(typeof helper === alias5 ? helper.call(alias3,{\"name\":\"warningText\",\"hash\":{},\"data\":data}) : helper)))\n + \"\\r\\n </span>\\r\\n</p> \\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n var stack1, helper, alias1=container.propertyIsEnumerable;\n\n return \"<p>\"\n + ((stack1 = ((helper = (helper = helpers.doNotAddCountText || (depth0 != null ? depth0.doNotAddCountText : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === \"function\" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{\"name\":\"doNotAddCountText\",\"hash\":{},\"data\":data}) : helper))) != null ? stack1 : \"\")\n + \" will be removed from this list and will not be added to your library.</p>\\r\\n\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=depth0 != null ? depth0 : (container.nullContext || {});\n\n return ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.onlineCopyCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\")\n + ((stack1 = helpers[\"if\"].call(alias2,(depth0 != null ? depth0.doNotAddCount : depth0),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(3, data, 0),\"inverse\":container.noop,\"data\":data})) != null ? stack1 : \"\");\n},\"useData\":true});","var Handlebars = require('handlebars');\nmodule.exports = (Handlebars['default'] || Handlebars).template({\"1\":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 \" <h2 class=\\\"h3\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"couldNotBeMigrated\",{\"name\":\"lang\",\"hash\":{\"smartCount\":((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1)},\"data\":data}))\n + \"</h2>\\r\\n <p class=\\\"mb-1\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"ensureValidity\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</p>\\r\\n <p class=\\\"mb-2\\\"><a href=\\\"\"\n + alias4(container.lambda(((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.supportArticle : stack1), depth0))\n + \"\\\" target=\\\"_blank\\\" class=\\\"text-info\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"moreInfo\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</a></p>\\r\\n <button class=\\\"approve-all btn btn-success d-inline-block mr-2\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"resolve\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n <button class=\\\"do-not-add btn btn-link d-inline-block\\\" type=\\\"button\\\">\"\n + alias4((helpers.lang||(depth0 && depth0.lang)||alias3).call(alias2,\"dismiss\",{\"name\":\"lang\",\"hash\":{},\"data\":data}))\n + \"</button>\\r\\n\";\n},\"3\":function(container,depth0,helpers,partials,data) {\n return \"\";\n},\"compiler\":[8,\">= 4.3.0\"],\"main\":function(container,depth0,helpers,partials,data) {\n var stack1, alias1=container.propertyIsEnumerable, alias2=container.lambda, alias3=container.escapeExpression;\n\n return \"<div class=\\\"tab-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.tabsContainer : stack1), depth0))\n + \" border-bottom\\\"></div>\\r\\n<div class=\\\"p-3 border-bottom \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.headingContainer : stack1), depth0))\n + \"\\\">\\r\\n\"\n + ((stack1 = helpers[\"if\"].call(depth0 != null ? depth0 : (container.nullContext || {}),((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.items : stack1),{\"name\":\"if\",\"hash\":{},\"fn\":container.program(1, data, 0),\"inverse\":container.program(3, data, 0),\"data\":data})) != null ? stack1 : \"\")\n + \"</div>\\r\\n<div class=\\\"videos-region \"\n + alias3(alias2(((stack1 = ((stack1 = (depth0 != null ? depth0.options : depth0)) != null ? stack1.styles : stack1)) != null ? stack1.videoContainer : stack1), depth0))\n + \"\\\"></div>\\r\\n<div class=\\\"footer-region\\\"></div>\\r\\n\";\n},\"useData\":true});","import * as _ from 'underscore';\r\nimport { ObjectHash } from 'backbone';\r\n\r\nimport { Core } from 'libs/common/core';\r\nimport { InstanceManager } from 'libs/common/backbone/services/InstanceManager';\r\nimport { ViewModelService } from 'libs/common/backbone/services/ViewModelService';\r\nimport { LanguageService } from 'libs/common/backbone/services/LanguageService';\r\nimport { SvgHelper, cvSvgLibrary } from 'libs/shared/utils/SvgHelper';\r\nimport { EmptyStateBehavior } from 'libs/shared/legacy/behaviors/empty-state/EmptyStateBehavior';\r\nimport { LocationContext, EntityType, UserAction, OperationDescriptor } from 'libs/analytics/interfaces';\r\nimport { AnalyticsHelper } from 'libs/analytics/AnalyticsHelper';\r\n\r\nimport { ConfigDataServiceHelper } from 'shared/services/ConfigDataService';\r\nimport { NavLockService } from 'shared/services/NavigationLockService';\r\nimport { DataServices, DataChannels, Actions, AppChannels, SupportArticles, EmptyStateComponents, Services } from 'shared/constants';\r\nimport { Config } from 'shared/models/Config';\r\nimport { EmptyState, PartialLoading } from 'shared/enums';\r\nimport { RadioChannelHelper, DialogHelper } from 'shared/utils';\r\n\r\nimport { ErroredVideoListComponent } from 'apps/migration-wizard/components/errored-video-list/ErroredVideoListComponent';\r\nimport { ErroredVideoFooterComponent } from 'apps/migration-wizard/components/errored-video-footer/ErroredVideoFooterComponent';\r\nimport { VideoMigrationStatus } from 'apps/migration-wizard/enums/VideoMigrationStatus';\r\nimport { SelectedVideo, FinalisationTask } from 'apps/migration-wizard/models';\r\nimport { MigrationErrorActions } from 'apps/migration-wizard/contants/MigrationErrorActions';\r\nimport { MigrationViewModels } from 'apps/migration-wizard/contants/MigrationViewModels';\r\nimport { SearchBarComponent } from 'apps/migration-wizard/components';\r\nimport { MigrationVideoDataService } from 'apps/migration-wizard/services/MigrationVideoDataService';\r\n\r\nimport * as ConfirmationDialogTemplate from './ConfirmationDialog.hbs';\r\nimport * as MigrationErrorTemplate from './MigrationError.hbs';\r\nimport * as styles from './migration-error.scss';\r\n\r\nconst SUBMIT_EVENT = 'submit';\r\nconst PAGE_SIZE = 25;\r\n\r\nexport class MigrationErrorView extends Core.View {\r\n private config: Config;\r\n private migrationVideoDataService: MigrationVideoDataService;\r\n private navLockService: NavLockService;\r\n private previewViewModel: Core.Model;\r\n private collectionSubset: Core.Collection;\r\n private page: number;\r\n private scrollBound: boolean;\r\n\r\n public initialize(): void {\r\n this.migrationVideoDataService = InstanceManager.getInstance(DataServices.MigrationVideo, this);\r\n this.navLockService = InstanceManager.getInstance(Services.NavLock, this);\r\n this.viewModel = ViewModelService.get(MigrationViewModels.SELECTED_VIDEOS);\r\n this.previewViewModel = ViewModelService.get(MigrationViewModels.OPEN_PREVIEWS);\r\n\r\n this.listenTo(DataChannels.MIGRATION, `manual:review:videos:sync`, this.render);\r\n this.listenTo(this.channelName, SUBMIT_EVENT, this.onSubmit);\r\n\r\n this.listenTo(this.viewModel, 'change', this.onChangeSelected);\r\n\r\n this.page = 1;\r\n }\r\n\r\n public get name(): string {\r\n return 'MigrationErrorView';\r\n }\r\n\r\n public get title(): string {\r\n return LanguageService.getPhrase(this.lang, 'title');\r\n }\r\n\r\n public get lang(): string {\r\n return 'migrationWizard.migrationError';\r\n }\r\n\r\n public get channelName(): string {\r\n return RadioChannelHelper.generateUniqueChannelName(this);\r\n }\r\n\r\n public get elements(): ObjectHash {\r\n return {\r\n videos: '.videos-region'\r\n };\r\n }\r\n\r\n public regions(): ObjectHash {\r\n return {\r\n tabs: {\r\n el: '.tab-region',\r\n replaceElement: true\r\n },\r\n videos: {\r\n el: '.videos-region',\r\n partialLoading: PartialLoading.VideoList\r\n },\r\n footer: {\r\n el: '.footer-region',\r\n replaceElement: true\r\n }\r\n };\r\n }\r\n\r\n public get behaviors(): any[] {\r\n return [\r\n {\r\n behaviorClass: EmptyStateBehavior,\r\n region: 'videos',\r\n type: EmptyState.ManualReviewVideos,\r\n emptyStateComponents: EmptyStateComponents\r\n }\r\n ];\r\n }\r\n\r\n public get template(): any {\r\n return MigrationErrorTemplate;\r\n }\r\n\r\n public get className(): string {\r\n return `bg-white w-100 ${styles.migrationErrorView}`;\r\n }\r\n\r\n public events(): ObjectHash {\r\n return {\r\n 'click .approve-all': 'onClickApproveAll',\r\n 'click .do-not-add': 'onClickDoNotAdd'\r\n };\r\n }\r\n\r\n public onClickApproveAll(): void {\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n public onClickDoNotAdd(): void {\r\n this.previewViewModel.clear();\r\n const keys: ObjectHash = {};\r\n this.collection.each(item => {\r\n keys[item.get('id')] = MigrationErrorActions.DO_NOT_ADD;\r\n });\r\n this.viewModel.set(keys);\r\n }\r\n\r\n\r\n private onChangeSelected(): void {\r\n if (this.viewModel.keys().length) {\r\n this.navLockService.lock({\r\n title: LanguageService.getPhrase(this.lang, 'navLockTitle'),\r\n text: LanguageService.getPhrase(this.lang, 'navLockBody')\r\n });\r\n } else {\r\n this.navLockService.unlock();\r\n }\r\n }\r\n\r\n private getDialog(onlineCopyCount: number, doNotAddCount: number): DialogHelper {\r\n return new DialogHelper({\r\n title: LanguageService.getPhrase(this.lang, 'dialogHeading'),\r\n text: ConfirmationDialogTemplate({\r\n onlineCopyCount,\r\n onlineCopyCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: onlineCopyCount }),\r\n warningText: LanguageService.getPhrase(this.lang, 'warningText', { smartCount: onlineCopyCount }),\r\n doNotAddCount,\r\n doNotAddCountText: LanguageService.getPhrase(this.lang, 'videos', { smartCount: doNotAddCount }),\r\n styles,\r\n warningSvg: SvgHelper.getSvg(cvSvgLibrary.Warning)\r\n }),\r\n buttons: [{\r\n text: LanguageService.getPhrase(this.lang, 'submit'),\r\n className: 'btn btn-primary',\r\n success: true\r\n }]\r\n });\r\n }\r\n\r\n private getSelectedVideos(): Core.Collection<SelectedVideo> {\r\n const useOnlineCopyVideos = this.collection.filter(video => {\r\n return this.viewModel.get(video.get('id')) === MigrationErrorActions.USE_ONLINE_COPY;\r\n });\r\n\r\n const groupedByCategory = _.groupBy(useOnlineCopyVideos, video => {\r\n return video.get('category');\r\n });\r\n\r\n const selectedVideos = _.map(_.keys(groupedByCategory), key => {\r\n return {\r\n folderChord: key,\r\n videoIds: _.map(groupedByCategory[key], item => item.get('id'))\r\n };\r\n });\r\n return new Core.Collection<SelectedVideo>(selectedVideos);\r\n }\r\n\r\n private onSubmit(): void {\r\n const doNotAddVideoIds: number[] = [];\r\n const useOnlineCopyVideoIds: number[] = [];\r\n\r\n _.each(this.viewModel.keys(), k => {\r\n const value = this.viewModel.get(k);\r\n if (value === MigrationErrorActions.DO_NOT_ADD)\r\n doNotAddVideoIds.push(+k);\r\n\r\n if (value === MigrationErrorActions.USE_ONLINE_COPY)\r\n useOnlineCopyVideoIds.push(+k);\r\n });\r\n\r\n const dialog = this.getDialog(useOnlineCopyVideoIds.length, doNotAddVideoIds.length);\r\n\r\n let updateMigrationStatusDone = false;\r\n let finaliseCustomerVideosDone = false;\r\n let finalisationTaskId = 0;\r\n\r\n const callback = () => {\r\n if (!updateMigrationStatusDone || !finaliseCustomerVideosDone)\r\n return;\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n /**\r\n * Silently clear the viewModel so that we don't trigger a re-render\r\n * of all the migration errors. This helps mitigate a bug where\r\n * lazyload was erroring when attempting to perform an update on\r\n * items after they've been removed from the DOM.\r\n */\r\n this.viewModel.clear({ silent: true });\r\n this.navLockService.unlock();\r\n\r\n Core.AppLinkHelper.trigger({\r\n application: AppChannels.MIGRATION_WIZARD,\r\n action: Actions.MigrationWizard.PROGRESS,\r\n args: [finalisationTaskId]\r\n });\r\n } else {\r\n this.viewModel.clear();\r\n\r\n this.migrationVideoDataService.clearCacheAndGetCustomerMetadata();\r\n this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n delete this.collectionSubset;\r\n }\r\n };\r\n\r\n dialog.render().done(() => {\r\n this.logMigrationActions(useOnlineCopyVideoIds, doNotAddVideoIds);\r\n\r\n if (doNotAddVideoIds.length) {\r\n this.migrationVideoDataService.updateMigrationStatus(\r\n doNotAddVideoIds, VideoMigrationStatus.HasNotBeenMigrated, () => {\r\n updateMigrationStatusDone = true;\r\n callback();\r\n }\r\n );\r\n } else {\r\n updateMigrationStatusDone = true;\r\n }\r\n\r\n if (useOnlineCopyVideoIds.length) {\r\n this.migrationVideoDataService.finaliseCustomerVideos(\r\n this.getSelectedVideos(), true, (finalisationTask: FinalisationTask) => {\r\n finaliseCustomerVideosDone = true;\r\n finalisationTaskId = finalisationTask.get('id');\r\n callback();\r\n }\r\n );\r\n } else {\r\n finaliseCustomerVideosDone = true;\r\n }\r\n });\r\n }\r\n\r\n private logMigrationActions(resolveCollection: number[], dismissCollection: number[]): void {\r\n if (resolveCollection.length) {\r\n let data = _.map(resolveCollection, id => this.processLogData(id, resolveCollection));\r\n this.logData(UserAction.ResolveWarning, data);\r\n }\r\n\r\n if (dismissCollection.length) {\r\n let data = _.map(dismissCollection, id => this.processLogData(id, dismissCollection));\r\n this.logData(UserAction.DismissWarning, data);\r\n }\r\n }\r\n\r\n private logData(actionType: UserAction, data: ObjectHash[]): void {\r\n const analyticsOptions = {\r\n location: LocationContext.MigrationWarnings,\r\n entity: EntityType.Video\r\n };\r\n\r\n // Set action descriptor where all videos have been selected for resolve/dismiss\r\n const selectedAll = data.length === this.collection.length;\r\n\r\n AnalyticsHelper.logUserAction(data, AnalyticsHelper.mergeOptions(analyticsOptions, {\r\n actionType,\r\n descriptor: selectedAll ? OperationDescriptor.All : OperationDescriptor.Single\r\n }));\r\n }\r\n\r\n // Process and build the data object we're going to log.\r\n private processLogData(id: number, migrationCollection: number[]): ObjectHash {\r\n const model = this.collection.get(id);\r\n\r\n const { name, trackingCode } = model.pick('name', 'trackingCode');\r\n\r\n const actionCount = migrationCollection.length;\r\n const warningCount = this.collection.length;\r\n\r\n return {\r\n id,\r\n name,\r\n trackingCode,\r\n actionCount,\r\n warningCount,\r\n };\r\n }\r\n\r\n public get requiredResources(): Core.RequiredResourceHash {\r\n return {\r\n config: ConfigDataServiceHelper.config\r\n };\r\n }\r\n\r\n private unBindScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.off('scroll');\r\n }\r\n\r\n private bindScroll(): void {\r\n if (this.scrollBound)\r\n return;\r\n\r\n const $videosRegion = this.getUI('videos');\r\n $videosRegion.on('scroll', _.bind(this.onScroll, this));\r\n\r\n this.scrollBound = true;\r\n }\r\n\r\n private onScroll(): void {\r\n const $videosRegion = this.getUI('videos');\r\n\r\n /**\r\n * If we haven't scrolled to the end, do nothing\r\n * \r\n */\r\n const loadMoreThreshold = $videosRegion.children().height() - $videosRegion.height() / 2;\r\n if ($videosRegion.scrollTop() + $videosRegion.height() < loadMoreThreshold)\r\n return;\r\n\r\n if (this.page * PAGE_SIZE > this.collection.length)\r\n return;\r\n\r\n this.collectionSubset.add(_.first(this.collection.rest(this.page * PAGE_SIZE), PAGE_SIZE));\r\n this.page++;\r\n }\r\n\r\n public viewOptions(): ObjectHash {\r\n\r\n const supportArticle = this.config ? `${this.config.get('supportSiteUrl')}${SupportArticles.MANUAL_REVIEW}` : '';\r\n\r\n return {\r\n styles,\r\n supportArticle,\r\n items: this.collection && this.collection.length\r\n };\r\n }\r\n\r\n public onBeforeRender(): boolean {\r\n this.collection = this.migrationVideoDataService.getManualReviewVideos();\r\n\r\n if (this.collection && !this.collectionSubset) {\r\n this.collectionSubset = new Core.Collection(this.collection.first(PAGE_SIZE));\r\n }\r\n\r\n return !!this.collection;\r\n }\r\n\r\n public onRender(): void {\r\n this.showChildView('tabs', new SearchBarComponent({\r\n selected: 'migration-errors'\r\n }));\r\n this.showChildView('videos', new ErroredVideoListComponent({\r\n collection: this.collectionSubset,\r\n imageCdnUrl: this.config.get('imageCdnUrl'),\r\n webplayerUrl: this.config.get('webPlayerUrl')\r\n }));\r\n this.showChildView('footer', new ErroredVideoFooterComponent({\r\n channelName: this.channelName,\r\n submitEvent: SUBMIT_EVENT\r\n }));\r\n this.bindScroll();\r\n }\r\n\r\n public onBeforeDestroy(): void {\r\n this.unBindScroll();\r\n }\r\n\r\n public onDestroy(): void {\r\n ViewModelService.clear(MigrationViewModels.OPEN_PREVIEWS);\r\n ViewModelService.clear(MigrationViewModels.SELECTED_VIDEOS);\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"migrationErrorView\":\"cv--migrationErrorView--1Jo6e\",\"videoContainer\":\"cv--videoContainer--7tGnj\",\"svgContainer\":\"cv--svgContainer--csNIF\",\"headingContainer\":\"cv--headingContainer--30NNv\",\"tabsContainer\":\"cv--tabsContainer--10__f\"};","export enum VideoItemComponentType {\r\n Base,\r\n AwaitingReview,\r\n PastReleases,\r\n VideoAccess,\r\n ProcessingVideo,\r\n Draggable,\r\n Search\r\n}\r\n\r\nexport enum VideoItemComponentRegion {\r\n Checkbox = 'checkbox',\r\n Thumbnail = 'thumbnail',\r\n Metadata = 'metadata',\r\n VideoActions = 'videoActions',\r\n VideoInfo = 'videoInfo',\r\n}"],"sourceRoot":""}
|