@clickview/lite 0.5.2-rc.0 → 0.5.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +2 -2
- package/dist/css/{1736-lite-c52708c1f8.chunk.css → 1736-lite-70aac78870.chunk.css} +2 -2
- package/dist/css/{1874-lite-62be96c07d.chunk.css → 1874-lite-b70ba3e55c.chunk.css} +1 -1
- package/dist/css/{2109-lite-418f22c2e6.chunk.css → 2109-lite-5600ffd35c.chunk.css} +1 -1
- package/dist/css/{8416-lite-2e8fd6d18f.chunk.css → 2246-lite-9434ba512e.chunk.css} +3 -3
- package/dist/css/{2405-lite-c1ba28b1e9.chunk.css → 2405-lite-f6e8a8bc16.chunk.css} +2 -2
- package/dist/css/{2711-lite-9b6610d234.chunk.css → 2711-lite-ee849b44db.chunk.css} +2 -2
- package/dist/css/{2780-lite-4d4e2559be.chunk.css → 2780-lite-82ab4b0a3b.chunk.css} +2 -2
- package/dist/css/{3044-lite-e7cc081460.chunk.css → 3044-lite-f6f7ccd27d.chunk.css} +1 -1
- package/dist/css/{3601-lite-85c76231a3.chunk.css → 3601-lite-426b120700.chunk.css} +2 -2
- package/dist/css/{263-lite-6c85e511fc.chunk.css → 3994-lite-f48c952d11.chunk.css} +3 -5
- package/dist/css/{4512-lite-8e218a8d38.chunk.css → 4512-lite-8ae16de67b.chunk.css} +2 -2
- package/dist/css/{5027-lite-515486bea4.chunk.css → 5027-lite-37a1bfe443.chunk.css} +2 -2
- package/dist/css/{5266-lite-ac4e1204c4.chunk.css → 5266-lite-7a7ac74447.chunk.css} +2 -2
- package/dist/css/{5466-lite-35d1cf195e.chunk.css → 5466-lite-1ca65f3fa2.chunk.css} +2 -2
- package/dist/css/{985-lite-690bdf22ca.chunk.css → 5942-lite-ed7f448bf3.chunk.css} +1 -1
- package/dist/css/{6473-lite-9e7e40b145.chunk.css → 6167-lite-436097518f.chunk.css} +2 -2
- package/dist/css/{6355-lite-47af9787f9.chunk.css → 6355-lite-9dc5ba23e3.chunk.css} +2 -2
- package/dist/css/{9096-lite-2b19219c37.chunk.css → 6473-lite-436097518f.chunk.css} +6 -6
- package/dist/css/{6570-lite-78515e047b.chunk.css → 6570-lite-435d27636f.chunk.css} +1 -1
- package/dist/css/{6715-lite-d1c864529a.chunk.css → 6715-lite-843cc4be75.chunk.css} +2 -2
- package/dist/css/{8408-lite-43c00f7c3f.chunk.css → 705-lite-8a0c6befc3.chunk.css} +8 -12
- package/dist/css/{7066-lite-fa014b8ba1.chunk.css → 7066-lite-edc09d2bf1.chunk.css} +2 -2
- package/dist/css/{7722-lite-515486bea4.chunk.css → 7722-lite-37a1bfe443.chunk.css} +2 -2
- package/dist/css/{8072-lite-644b99bc70.chunk.css → 8072-lite-1e48afb701.chunk.css} +2 -2
- package/dist/css/{8414-lite-07431e26fc.chunk.css → 8414-lite-43f262c18d.chunk.css} +3 -3
- package/dist/css/{2246-lite-2e8fd6d18f.chunk.css → 8416-lite-9434ba512e.chunk.css} +3 -3
- package/dist/css/{8584-lite-761da9c3ca.chunk.css → 8584-lite-d98ca340e7.chunk.css} +2 -2
- package/dist/css/{8618-lite-55e5e08f1f.chunk.css → 8618-lite-7cf276d202.chunk.css} +2 -2
- package/dist/css/{8835-lite-07431e26fc.chunk.css → 8835-lite-43f262c18d.chunk.css} +3 -3
- package/dist/css/{898-lite-4dad108831.chunk.css → 898-lite-cc5552ac6a.chunk.css} +2 -2
- package/dist/css/{6167-lite-9e7e40b145.chunk.css → 9096-lite-8e8ad037b8.chunk.css} +6 -6
- package/dist/css/{9200-lite-00be85d1a0.chunk.css → 9200-lite-494992e1f0.chunk.css} +1 -1
- package/dist/css/{9490-lite-5eb0c6a883.chunk.css → 9490-lite-db834aaea4.chunk.css} +2 -2
- package/dist/css/{lite-app-9cd32c6274.css → lite-app-20d839f193.css} +1 -3
- package/dist/en.json +1 -1
- package/dist/scripts/1106-7d203252ab-lite.chunk.js +1 -0
- package/dist/scripts/{1235-ac373ec8e0-lite.chunk.js → 1235-ddd3083c87-lite.chunk.js} +1 -1
- package/dist/scripts/{1291-6f2cdae2c5-lite.chunk.js → 1291-b8f30160e5-lite.chunk.js} +1 -1
- package/dist/scripts/{1592-8d486ae6af-lite.chunk.js → 1592-d92f7c0840-lite.chunk.js} +1 -1
- package/dist/scripts/{160-c54d3772aa-lite.chunk.js → 160-42301e68e8-lite.chunk.js} +1 -1
- package/dist/scripts/1628-e6ea2db77d-lite.chunk.js +1 -0
- package/dist/scripts/1725-21209f22ac-lite.chunk.js +1 -0
- package/dist/scripts/1726-116d81b612-lite.chunk.js +1 -0
- package/dist/scripts/1736-5d3350eace-lite.chunk.js +1 -0
- package/dist/scripts/2044-7be628bc71-lite.chunk.js +1 -0
- package/dist/scripts/{2097-df33b4fdda-lite.chunk.js → 2097-4ee3760988-lite.chunk.js} +1 -1
- package/dist/scripts/2175-723b0b209d-lite.chunk.js +1 -0
- package/dist/scripts/2215-08998bd8fb-lite.chunk.js +1 -0
- package/dist/scripts/2229-74688cb3d0-lite.chunk.js +1 -0
- package/dist/scripts/227-b167b3d0a9-lite.chunk.js +1 -0
- package/dist/scripts/2560-542bcd21c0-lite.chunk.js +1 -0
- package/dist/scripts/2561-bf72b53216-lite.chunk.js +1 -0
- package/dist/scripts/2562-f789f3ab41-lite.chunk.js +1 -0
- package/dist/scripts/2566-ed4351dc7a-lite.chunk.js +1 -0
- package/dist/scripts/2644-23e6823b34-lite.chunk.js +1 -0
- package/dist/scripts/2665-5f5c6ff6c9-lite.chunk.js +1 -0
- package/dist/scripts/2780-d662b75ff1-lite.chunk.js +1 -0
- package/dist/scripts/2802-a0fa50a638-lite.chunk.js +2 -0
- package/dist/scripts/2802-a0fa50a638-lite.chunk.js.LICENSE.txt +17 -0
- package/dist/scripts/3044-5e456718e6-lite.chunk.js +1 -0
- package/dist/scripts/3108-0e5c09f5a7-lite.chunk.js +1 -0
- package/dist/scripts/3171-a38ae5ebeb-lite.chunk.js +1 -0
- package/dist/scripts/{3216-d35e0f13e8-lite.chunk.js → 3216-25cdfa7669-lite.chunk.js} +1 -1
- package/dist/scripts/3468-a5adbdb9b7-lite.chunk.js +1 -0
- package/dist/scripts/3732-5e72877fbb-lite.chunk.js +1 -0
- package/dist/scripts/3994-a9d50b2dfb-lite.chunk.js +1 -0
- package/dist/scripts/4067-1fea93ec7f-lite.chunk.js +1 -0
- package/dist/scripts/4182-7cb03a20bd-lite.chunk.js +1 -0
- package/dist/scripts/4541-ba25b9e6e5-lite.chunk.js +1 -0
- package/dist/scripts/4632-ec79136629-lite.chunk.js +1 -0
- package/dist/scripts/{4770-2652dab618-lite.chunk.js → 4770-b7cfbdbed6-lite.chunk.js} +1 -1
- package/dist/scripts/{4893-01e4c82863-lite.chunk.js → 4893-067d26b9ff-lite.chunk.js} +1 -1
- package/dist/scripts/4895-333d5f3d08-lite.chunk.js +1 -0
- package/dist/scripts/{5466-f81c2ddf69-lite.chunk.js → 5466-faad2468f4-lite.chunk.js} +1 -1
- package/dist/scripts/5606-3333d4d070-lite.chunk.js +1 -0
- package/dist/scripts/{584-be40ea0513-lite.chunk.js → 584-bb1c311390-lite.chunk.js} +1 -1
- package/dist/scripts/5877-0cb46dc622-lite.chunk.js +1 -0
- package/dist/scripts/5914-1e321686f5-lite.chunk.js +1 -0
- package/dist/scripts/5942-5f49e048b9-lite.chunk.js +1 -0
- package/dist/scripts/5974-f5aa983720-lite.chunk.js +1 -0
- package/dist/scripts/5986-37ec610b54-lite.chunk.js +1 -0
- package/dist/scripts/6156-c8a26283cc-lite.chunk.js +1 -0
- package/dist/scripts/6274-ee8382274b-lite.chunk.js +1 -0
- package/dist/scripts/6285-da86145f93-lite.chunk.js +1 -0
- package/dist/scripts/6370-73facccb88-lite.chunk.js +1 -0
- package/dist/scripts/6465-e9102df7a6-lite.chunk.js +1 -0
- package/dist/scripts/6570-b7bf9658d1-lite.chunk.js +1 -0
- package/dist/scripts/660-2debb59a5a-lite.chunk.js +1 -0
- package/dist/scripts/{6736-5dbd730fec-lite.chunk.js → 6736-f60da723db-lite.chunk.js} +2 -2
- package/dist/scripts/{6801-e078d915ed-lite.chunk.js → 6801-14cba66ade-lite.chunk.js} +1 -1
- package/dist/scripts/6856-53ae5e3ed1-lite.chunk.js +2 -0
- package/dist/scripts/6864-c7caa65c2b-lite.chunk.js +1 -0
- package/dist/scripts/6866-4c96fad3fb-lite.chunk.js +1 -0
- package/dist/scripts/6873-a0a28a9bf2-lite.chunk.js +1 -0
- package/dist/scripts/6913-4413a87512-lite.chunk.js +1 -0
- package/dist/scripts/7045-dd37be1caa-lite.chunk.js +1 -0
- package/dist/scripts/705-132a0130aa-lite.chunk.js +1 -0
- package/dist/scripts/7115-9a443915cb-lite.chunk.js +1 -0
- package/dist/scripts/7128-d037b9d9c9-lite.chunk.js +1 -0
- package/dist/scripts/7172-d4f32a3d07-lite.chunk.js +1 -0
- package/dist/scripts/7318-ff9c0bc9d2-lite.chunk.js +2 -0
- package/dist/scripts/7385-eddeb8fd12-lite.chunk.js +1 -0
- package/dist/scripts/7498-abe2cd1b9a-lite.chunk.js +1 -0
- package/dist/scripts/{7524-3a08bc70db-lite.chunk.js → 7524-fbe88f8bcb-lite.chunk.js} +1 -1
- package/dist/scripts/7545-4b21b7ff75-lite.chunk.js +1 -0
- package/dist/scripts/7713-0b8448661f-lite.chunk.js +1 -0
- package/dist/scripts/7760-2d4f4e766b-lite.chunk.js +1 -0
- package/dist/scripts/{7804-9643fa943c-lite.chunk.js → 7804-b0fb78215e-lite.chunk.js} +1 -1
- package/dist/scripts/7831-7549c0d54c-lite.chunk.js +1 -0
- package/dist/scripts/{7901-a802455312-lite.chunk.js → 7901-1b4d52301c-lite.chunk.js} +1 -1
- package/dist/scripts/7989-e7e6f77785-lite.chunk.js +2 -0
- package/dist/scripts/8025-fa1abd761d-lite.chunk.js +1 -0
- package/dist/scripts/8056-f8bd03e2fc-lite.chunk.js +1 -0
- package/dist/scripts/811-9ee0e01271-lite.chunk.js +1 -0
- package/dist/scripts/{8320-e05cf1585e-lite.chunk.js → 8320-d718df3e3f-lite.chunk.js} +1 -1
- package/dist/scripts/{8323-6c9b4e877a-lite.chunk.js → 8323-76be74d3ed-lite.chunk.js} +1 -1
- package/dist/scripts/8383-32ea31d394-lite.chunk.js +1 -0
- package/dist/scripts/8594-fc207eb0bb-lite.chunk.js +1 -0
- package/dist/scripts/8618-204eee61a2-lite.chunk.js +1 -0
- package/dist/scripts/8687-37c7693226-lite.chunk.js +1 -0
- package/dist/scripts/872-d0833f1c5e-lite.chunk.js +1 -0
- package/dist/scripts/8946-6cf7089c17-lite.chunk.js +1 -0
- package/dist/scripts/8955-4e5c6d5a55-lite.chunk.js +1 -0
- package/dist/scripts/8968-17e0d03ecb-lite.chunk.js +1 -0
- package/dist/scripts/9005-61a64d23b5-lite.chunk.js +1 -0
- package/dist/scripts/9016-49b04c0ad3-lite.chunk.js +1 -0
- package/dist/scripts/9060-d4b5c726e6-lite.chunk.js +1 -0
- package/dist/scripts/9096-ce2875b0fb-lite.chunk.js +1 -0
- package/dist/scripts/9200-6d0f2c533e-lite.chunk.js +1 -0
- package/dist/scripts/9374-95e2a1f45a-lite.chunk.js +1 -0
- package/dist/scripts/9476-43d3dc6428-lite.chunk.js +1 -0
- package/dist/scripts/{9478-9176bdf440-lite.chunk.js → 9478-ed1ca219f2-lite.chunk.js} +1 -1
- package/dist/scripts/9490-261925b498-lite.chunk.js +1 -0
- package/dist/scripts/956-43e15a3db2-lite.chunk.js +1 -0
- package/dist/scripts/{9607-1298469ce9-lite.chunk.js → 9607-ddab940183-lite.chunk.js} +1 -1
- package/dist/scripts/{9686-8b05615808-lite.chunk.js → 9686-cb67f530b3-lite.chunk.js} +1 -1
- package/dist/scripts/9798-addb88197f-lite.chunk.js +1 -0
- package/dist/scripts/bundle-a0d8236822.min.js +2 -0
- package/dist/scripts/{bundle-57e951683b.min.js.LICENSE.txt → bundle-a0d8236822.min.js.LICENSE.txt} +0 -18
- package/package.json +61 -61
- package/typings/libs/Trackers.d.ts +10 -0
- package/dist/scripts/1106-25deab2f0e-lite.chunk.js +0 -1
- package/dist/scripts/1628-711cd9da94-lite.chunk.js +0 -1
- package/dist/scripts/1725-e724bdca4d-lite.chunk.js +0 -1
- package/dist/scripts/1726-879ba850ee-lite.chunk.js +0 -1
- package/dist/scripts/1736-856d322b49-lite.chunk.js +0 -1
- package/dist/scripts/2044-e71dfeaff9-lite.chunk.js +0 -1
- package/dist/scripts/2175-cd5e51d2a5-lite.chunk.js +0 -1
- package/dist/scripts/2215-5dbc6c9657-lite.chunk.js +0 -1
- package/dist/scripts/2229-af969a3b74-lite.chunk.js +0 -1
- package/dist/scripts/227-49ee867b63-lite.chunk.js +0 -1
- package/dist/scripts/2560-f81a2d30a8-lite.chunk.js +0 -1
- package/dist/scripts/2561-9a3fb43eff-lite.chunk.js +0 -1
- package/dist/scripts/2562-41a835ab98-lite.chunk.js +0 -1
- package/dist/scripts/2566-617ccc8d36-lite.chunk.js +0 -1
- package/dist/scripts/263-9b009afca2-lite.chunk.js +0 -1
- package/dist/scripts/2644-549bd06a6b-lite.chunk.js +0 -1
- package/dist/scripts/2665-4d82e66d00-lite.chunk.js +0 -1
- package/dist/scripts/2780-23c3cddf3d-lite.chunk.js +0 -1
- package/dist/scripts/291-9faeedb554-lite.chunk.js +0 -1
- package/dist/scripts/3044-b1073ffc01-lite.chunk.js +0 -1
- package/dist/scripts/3108-b5496da3bf-lite.chunk.js +0 -1
- package/dist/scripts/3468-71a0af0edb-lite.chunk.js +0 -1
- package/dist/scripts/3732-b81af45d54-lite.chunk.js +0 -1
- package/dist/scripts/4067-ce02798555-lite.chunk.js +0 -1
- package/dist/scripts/4182-4b9926d4b7-lite.chunk.js +0 -1
- package/dist/scripts/4541-f1bff715ae-lite.chunk.js +0 -1
- package/dist/scripts/4632-5d20b63377-lite.chunk.js +0 -1
- package/dist/scripts/4895-436d9bc8e7-lite.chunk.js +0 -1
- package/dist/scripts/5606-5d9fd1d643-lite.chunk.js +0 -1
- package/dist/scripts/5877-9cea853c61-lite.chunk.js +0 -1
- package/dist/scripts/5914-27066f3e79-lite.chunk.js +0 -1
- package/dist/scripts/5974-f11308181d-lite.chunk.js +0 -1
- package/dist/scripts/5986-244e543047-lite.chunk.js +0 -1
- package/dist/scripts/6156-65a373afec-lite.chunk.js +0 -1
- package/dist/scripts/6274-10b6dc889f-lite.chunk.js +0 -1
- package/dist/scripts/6370-b3140fafc4-lite.chunk.js +0 -1
- package/dist/scripts/6465-919c0293dc-lite.chunk.js +0 -1
- package/dist/scripts/6570-ec12da9c41-lite.chunk.js +0 -1
- package/dist/scripts/660-aaa1a85f1a-lite.chunk.js +0 -1
- package/dist/scripts/6856-ebcf89a5bc-lite.chunk.js +0 -2
- package/dist/scripts/6864-e2515db428-lite.chunk.js +0 -1
- package/dist/scripts/6866-605f04d252-lite.chunk.js +0 -1
- package/dist/scripts/6873-699829de32-lite.chunk.js +0 -1
- package/dist/scripts/6913-ca2af4e505-lite.chunk.js +0 -1
- package/dist/scripts/7045-e92ba934cd-lite.chunk.js +0 -1
- package/dist/scripts/7115-81fa8d118a-lite.chunk.js +0 -1
- package/dist/scripts/7128-45a77bed15-lite.chunk.js +0 -1
- package/dist/scripts/7172-712031a6d8-lite.chunk.js +0 -1
- package/dist/scripts/7318-2b9176a3df-lite.chunk.js +0 -2
- package/dist/scripts/7385-4b98a8ae85-lite.chunk.js +0 -1
- package/dist/scripts/7498-b1add3759b-lite.chunk.js +0 -1
- package/dist/scripts/7545-ce783204a9-lite.chunk.js +0 -1
- package/dist/scripts/7760-585bd5ede6-lite.chunk.js +0 -1
- package/dist/scripts/7831-0ddb53dcb8-lite.chunk.js +0 -1
- package/dist/scripts/7982-0a04ae5f05-lite.chunk.js +0 -1
- package/dist/scripts/7989-0e448172f5-lite.chunk.js +0 -2
- package/dist/scripts/7997-51e8c27f91-lite.chunk.js +0 -1
- package/dist/scripts/8025-872ec71c41-lite.chunk.js +0 -1
- package/dist/scripts/8056-f3f4dc1da1-lite.chunk.js +0 -1
- package/dist/scripts/811-26758e673a-lite.chunk.js +0 -1
- package/dist/scripts/8408-6851c3b7fd-lite.chunk.js +0 -1
- package/dist/scripts/8425-f980e9a568-lite.chunk.js +0 -1
- package/dist/scripts/8594-c5a3664f77-lite.chunk.js +0 -1
- package/dist/scripts/8618-c11b9d46b2-lite.chunk.js +0 -1
- package/dist/scripts/8687-3a0d4cd9d2-lite.chunk.js +0 -1
- package/dist/scripts/872-7badeba002-lite.chunk.js +0 -1
- package/dist/scripts/8946-0fc1890a66-lite.chunk.js +0 -1
- package/dist/scripts/8955-6d5689ce2f-lite.chunk.js +0 -1
- package/dist/scripts/8968-6c7e8e7e92-lite.chunk.js +0 -1
- package/dist/scripts/9005-c4c5de30fc-lite.chunk.js +0 -1
- package/dist/scripts/9016-223edf92ce-lite.chunk.js +0 -1
- package/dist/scripts/9060-5807a3492e-lite.chunk.js +0 -1
- package/dist/scripts/9096-6facd0e6fa-lite.chunk.js +0 -1
- package/dist/scripts/9200-f47c1d2d6a-lite.chunk.js +0 -1
- package/dist/scripts/9490-654b218b7b-lite.chunk.js +0 -1
- package/dist/scripts/956-97518b5e07-lite.chunk.js +0 -1
- package/dist/scripts/9798-825ded9dfc-lite.chunk.js +0 -1
- package/dist/scripts/985-ae7d483abc-lite.chunk.js +0 -1
- package/dist/scripts/bundle-57e951683b.min.js +0 -2
- /package/dist/css/{291-lite-885b7ea1f0.chunk.css → 6285-lite-885b7ea1f0.chunk.css} +0 -0
- /package/dist/css/{7997-lite-227bd1df53.chunk.css → 8383-lite-227bd1df53.chunk.css} +0 -0
- /package/dist/css/{8425-lite-227bd1df53.chunk.css → 9476-lite-227bd1df53.chunk.css} +0 -0
- /package/dist/scripts/{1659-64d8471ea3-lite.chunk.js → 1659-45b52e02eb-lite.chunk.js} +0 -0
- /package/dist/scripts/{1825-0bea5590c7-lite.chunk.js → 1825-cef10038d6-lite.chunk.js} +0 -0
- /package/dist/scripts/{1874-ff3caa50de-lite.chunk.js → 1874-38c4a1834e-lite.chunk.js} +0 -0
- /package/dist/scripts/{1891-1e8ec8fef1-lite.chunk.js → 1891-8a3f2f9b5a-lite.chunk.js} +0 -0
- /package/dist/scripts/{1913-d537de0be9-lite.chunk.js → 1913-2183c7ca80-lite.chunk.js} +0 -0
- /package/dist/scripts/{1924-c7e8cd2caf-lite.chunk.js → 1924-8a2f7c326a-lite.chunk.js} +0 -0
- /package/dist/scripts/{2022-0704e75931-lite.chunk.js → 2022-61bfa5417c-lite.chunk.js} +0 -0
- /package/dist/scripts/{2097-df33b4fdda-lite.chunk.js.LICENSE.txt → 2097-4ee3760988-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2109-b648b7e321-lite.chunk.js → 2109-dddddb6312-lite.chunk.js} +0 -0
- /package/dist/scripts/{2190-1d8efed495-lite.chunk.js → 2190-ae1ead18ea-lite.chunk.js} +0 -0
- /package/dist/scripts/{2246-6e5da40ec6-lite.chunk.js → 2246-58022fb8e3-lite.chunk.js} +0 -0
- /package/dist/scripts/{2279-7c61a8ca18-lite.chunk.js → 2279-d53e39f223-lite.chunk.js} +0 -0
- /package/dist/scripts/{2405-96c2bfad6c-lite.chunk.js → 2405-bcd5adfb90-lite.chunk.js} +0 -0
- /package/dist/scripts/{2541-2e9b3af124-lite.chunk.js → 2541-bbbeb9e638-lite.chunk.js} +0 -0
- /package/dist/scripts/{2711-40a3b3ccf5-lite.chunk.js → 2711-68fc1dd44e-lite.chunk.js} +0 -0
- /package/dist/scripts/{2935-d8ca7e831a-lite.chunk.js → 2935-fad8717caf-lite.chunk.js} +0 -0
- /package/dist/scripts/{2966-9e54c2fd17-lite.chunk.js → 2966-9be3dbc5f1-lite.chunk.js} +0 -0
- /package/dist/scripts/{3007-7ae7d052ef-lite.chunk.js → 3007-46bd59dea2-lite.chunk.js} +0 -0
- /package/dist/scripts/{3012-b974d7559e-lite.chunk.js → 3012-b3f6350d48-lite.chunk.js} +0 -0
- /package/dist/scripts/{3020-68022006d3-lite.chunk.js → 3020-ee451eada3-lite.chunk.js} +0 -0
- /package/dist/scripts/{3096-dbd62cfd77-lite.chunk.js → 3096-bd62227310-lite.chunk.js} +0 -0
- /package/dist/scripts/{3133-9dc4315da6-lite.chunk.js → 3133-6a9fc0c0cb-lite.chunk.js} +0 -0
- /package/dist/scripts/{3237-440eca9126-lite.chunk.js → 3237-b68bc678b0-lite.chunk.js} +0 -0
- /package/dist/scripts/{3285-4a7ebfbb60-lite.chunk.js → 3285-91b9234c93-lite.chunk.js} +0 -0
- /package/dist/scripts/{336-6a147acd2c-lite.chunk.js → 336-def57493d9-lite.chunk.js} +0 -0
- /package/dist/scripts/{3509-fcf1ccfdf5-lite.chunk.js → 3509-ec99c6f7b4-lite.chunk.js} +0 -0
- /package/dist/scripts/{3601-fe920585bd-lite.chunk.js → 3601-72c3b7ea12-lite.chunk.js} +0 -0
- /package/dist/scripts/{3754-d3e7f65aea-lite.chunk.js → 3754-6077ffacda-lite.chunk.js} +0 -0
- /package/dist/scripts/{3891-91b2966561-lite.chunk.js → 3891-c515003589-lite.chunk.js} +0 -0
- /package/dist/scripts/{4111-7effe64a75-lite.chunk.js → 4111-80fea1a036-lite.chunk.js} +0 -0
- /package/dist/scripts/{436-9230220b92-lite.chunk.js → 436-d22d34ba5e-lite.chunk.js} +0 -0
- /package/dist/scripts/{4423-c036551ba4-lite.chunk.js → 4423-e84d3aa86e-lite.chunk.js} +0 -0
- /package/dist/scripts/{4512-c431d4db60-lite.chunk.js → 4512-5c37ad577c-lite.chunk.js} +0 -0
- /package/dist/scripts/{4767-f3e9a749dc-lite.chunk.js → 4767-77413c886d-lite.chunk.js} +0 -0
- /package/dist/scripts/{5-319f5bc3da-lite.chunk.js → 5-d8319e1ae9-lite.chunk.js} +0 -0
- /package/dist/scripts/{5027-c32e997eba-lite.chunk.js → 5027-b40bef5a12-lite.chunk.js} +0 -0
- /package/dist/scripts/{5189-e58fd04bf6-lite.chunk.js → 5189-258243844f-lite.chunk.js} +0 -0
- /package/dist/scripts/{5266-efd39e89b2-lite.chunk.js → 5266-760c910e3a-lite.chunk.js} +0 -0
- /package/dist/scripts/{5585-87926e032f-lite.chunk.js → 5585-e5206f011c-lite.chunk.js} +0 -0
- /package/dist/scripts/{5753-907ddfead9-lite.chunk.js → 5753-ace5e0d744-lite.chunk.js} +0 -0
- /package/dist/scripts/{5933-d06994bdb4-lite.chunk.js → 5933-2af150999c-lite.chunk.js} +0 -0
- /package/dist/scripts/{5956-8d8030ffd6-lite.chunk.js → 5956-e4bae69521-lite.chunk.js} +0 -0
- /package/dist/scripts/{6167-d964559fd4-lite.chunk.js → 6167-7c9d16278a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6302-dc67821b4d-lite.chunk.js → 6302-681f415c3b-lite.chunk.js} +0 -0
- /package/dist/scripts/{6355-f4f5b9ea45-lite.chunk.js → 6355-1fffbda6b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{6507-9431cbe881-lite.chunk.js → 6507-fd37d1104c-lite.chunk.js} +0 -0
- /package/dist/scripts/{6604-918f966171-lite.chunk.js → 6604-ff8fe8326a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6715-4b0f97374f-lite.chunk.js → 6715-2f720bfcc6-lite.chunk.js} +0 -0
- /package/dist/scripts/{6725-de5a267fff-lite.chunk.js → 6725-821f06d6a1-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-5dbd730fec-lite.chunk.js.LICENSE.txt → 6736-f60da723db-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6856-ebcf89a5bc-lite.chunk.js.LICENSE.txt → 6856-53ae5e3ed1-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7066-615e5f57ea-lite.chunk.js → 7066-72cdd0e88e-lite.chunk.js} +0 -0
- /package/dist/scripts/{7178-486219a924-lite.chunk.js → 7178-84a1fdf7ff-lite.chunk.js} +0 -0
- /package/dist/scripts/{7318-2b9176a3df-lite.chunk.js.LICENSE.txt → 7318-ff9c0bc9d2-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7552-3efd1e45c6-lite.chunk.js → 7552-e087da0121-lite.chunk.js} +0 -0
- /package/dist/scripts/{7767-a35c254302-lite.chunk.js → 7767-b47f9401a8-lite.chunk.js} +0 -0
- /package/dist/scripts/{7855-87ee1981a9-lite.chunk.js → 7855-e8b7c14aab-lite.chunk.js} +0 -0
- /package/dist/scripts/{7888-107449840b-lite.chunk.js → 7888-96a913468c-lite.chunk.js} +0 -0
- /package/dist/scripts/{7925-1803456dd0-lite.chunk.js → 7925-5ee14db222-lite.chunk.js} +0 -0
- /package/dist/scripts/{7989-0e448172f5-lite.chunk.js.LICENSE.txt → 7989-e7e6f77785-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8046-4ec616094f-lite.chunk.js → 8046-d7b99545d4-lite.chunk.js} +0 -0
- /package/dist/scripts/{8072-b0dbb902c0-lite.chunk.js → 8072-af8df53464-lite.chunk.js} +0 -0
- /package/dist/scripts/{823-c6c4bc0958-lite.chunk.js → 823-49fa5ac1dd-lite.chunk.js} +0 -0
- /package/dist/scripts/{8252-6231823a7c-lite.chunk.js → 8252-f7762f2c9c-lite.chunk.js} +0 -0
- /package/dist/scripts/{8322-30f64cb35d-lite.chunk.js → 8322-9706ad09cf-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-6c9b4e877a-lite.chunk.js.LICENSE.txt → 8323-76be74d3ed-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8414-2d00be397c-lite.chunk.js → 8414-188c1d3add-lite.chunk.js} +0 -0
- /package/dist/scripts/{8416-6769ec16cb-lite.chunk.js → 8416-0791d3e2f5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8466-f489de0df1-lite.chunk.js → 8466-e5bf8d82c0-lite.chunk.js} +0 -0
- /package/dist/scripts/{8584-6930a805f6-lite.chunk.js → 8584-a2e7b25a1f-lite.chunk.js} +0 -0
- /package/dist/scripts/{8772-19c3c22c02-lite.chunk.js → 8772-cb152741b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{8835-94aea44d21-lite.chunk.js → 8835-7b44462f86-lite.chunk.js} +0 -0
- /package/dist/scripts/{8868-4d2c823f18-lite.chunk.js → 8868-fc6ae4d8b7-lite.chunk.js} +0 -0
- /package/dist/scripts/{8905-0d0ce88107-lite.chunk.js → 8905-343ca9bee1-lite.chunk.js} +0 -0
- /package/dist/scripts/{898-a6a43e32f0-lite.chunk.js → 898-5013a218c7-lite.chunk.js} +0 -0
- /package/dist/scripts/{9001-4f561928d6-lite.chunk.js → 9001-05d5b3e2d7-lite.chunk.js} +0 -0
- /package/dist/scripts/{9133-60eda20f56-lite.chunk.js → 9133-fbd692ad52-lite.chunk.js} +0 -0
- /package/dist/scripts/{9242-fed84e32e9-lite.chunk.js → 9242-30fef2e73c-lite.chunk.js} +0 -0
- /package/dist/scripts/{9478-9176bdf440-lite.chunk.js.LICENSE.txt → 9478-ed1ca219f2-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9708-f869f4d031-lite.chunk.js → 9708-525003829c-lite.chunk.js} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9686],{60051:(e,t,n)=>{var r;n.d(t,{f:()=>r}),function(e){e.Share="share",e.MasterObject="masterobject"}(r||(r={}))},47812:(e,t,n)=>{n.d(t,{k:()=>i});var r=n(99940),i={createViewKey:function(e,t,n){var i={mediaId:e.toString(),mediaIdType:t};return n&&(i.shareContextId=n),{url:"/api/player/create-view-key",key:"view:key:".concat(e,":").concat(t),type:r.k.POST,data:i,expiryTime:28800}}}},93264:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(39479),i=function(e,t,n){var r=t-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(n)+e},o={ToDisplayDuration:function(e){if(!r.isNumber(e))return"";var t=new Date(e),n=t.getUTCHours(),o=i(t.getUTCMinutes(),2,"0"),a=i(t.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(o,":").concat(a):"".concat(o,":").concat(a)}}},99686:(e,t,n)=>{n.r(t),n.d(t,{EditClipTimepointsView:()=>Me});var r=n(1024),i=n.n(r),o=n(20354),a=n(2948),c=n(81886),u=n(23481),l=n(23049),s=n(47812),f=n(39151),p=n(497),d=n(60857),y=n(16235);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=g(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},b.apply(this,arguments)}function g(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=w(e)););return e}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function O(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(r);if(i){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return O(this,e)});function a(){return m(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"buildCSSClass",value:function(){return"cv-clip-timepoint-handle ".concat(b(w(a.prototype),"buildCSSClass",this).call(this))}},{key:"createEl",value:function(e,t,n){return b(w(a.prototype),"createEl",this).call(this,e,Object.assign(Object.assign({},t),{className:this.buildCSSClass(),innerHTML:'<svg viewBox="0 0 5 14" pointer-events="none"><g id="Clips" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Clip-2" transform="translate(-835.000000, -632.000000)" fill="#FFFFFF"><g id="Video-Copy" transform="translate(275.000000, 96.000000)"><g id="Handles" transform="translate(560.000000, 536.000000)"><circle id="Oval" cx="1" cy="1" r="1"></circle><circle id="Oval-Copy-2" cx="1" cy="5" r="1"></circle><circle id="Oval-Copy-4" cx="1" cy="9" r="1"></circle><circle id="Oval-Copy-8" cx="1" cy="13" r="1"></circle><circle id="Oval-Copy" cx="4" cy="1" r="1"></circle><circle id="Oval-Copy-3" cx="4" cy="5" r="1"></circle><circle id="Oval-Copy-5" cx="4" cy="9" r="1"></circle><circle id="Oval-Copy-9" cx="4" cy="13" r="1"></circle></g></g></g></g></svg>'}),n)}},{key:"isEventTarget",value:function(e){return this.el().contains(e.target)}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(){return C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=k(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},C.apply(this,arguments)}function k(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=D(e)););return e}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function j(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=D(r);if(i){var n=D(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return j(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).dragStartActive=!1,n.dragEndActive=!1,n.dragSliderActive=!1,n.dragSliderCurrentPosition=null,n.minDuration=Math.min(e.duration(),n.options_.minDuration),n.setStartTime(t.startTime,!1),n.setEndTime(t.endTime,!1),n.startHandle=new S(n.player(),t),n.startHandle.addClass("cv-clip-start-handle"),n.addChild(n.startHandle),n.endHandle=new S(n.player(),t),n.endHandle.addClass("cv-clip-end-handle"),n.addChild(n.endHandle),n.on(n.player(),"update:clip:start:time",(function(e){var t=e.time;return n.setStartTime(t)})),n.on(n.player(),"update:clip:end:time",(function(e){var t=e.time;return n.setEndTime(t)})),n.bindListeners(),n.update(),n}return t=a,n=[{key:"createEl",value:function(){return C(D(a.prototype),"createEl",this).call(this,"div",{className:"cv-clip-timepoint-selector"},{})}},{key:"update",value:function(){var e=this;this.options_.onChangeStartTime(this.startTime),this.options_.onChangeEndTime(this.endTime),this.requestAnimationFrame((function(){e.setStartOffset(),e.setWidth()}))}},{key:"setStartTime",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(e)){var n=this.hasStartTime()&&this.hasEndTime()&&this.endTime-this.startTime,r=this.player().duration()-this.minDuration;if(e>r&&(e=r),e<0&&(e=0),this.startTime=e,this.endTime&&this.endTime-this.startTime<this.minDuration){var i="number"==typeof n?this.startTime+n:this.startTime+this.minDuration;this.setEndTime(i)}this.player().currentTime(this.startTime),t&&this.update()}}},{key:"setEndTime",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(e)){var n=this.hasStartTime()&&this.hasEndTime()&&this.endTime-this.startTime,r=this.minDuration;if(e<r&&(e=r),e>this.player().duration()&&(e=this.player().duration()),this.endTime=e,this.startTime&&this.endTime-this.startTime<this.minDuration){var i="number"==typeof n?this.endTime-n:this.endTime-this.minDuration;this.setStartTime(i)}t&&this.update()}}},{key:"bindListeners",value:function(){var e=this;this.onTimeupdate=this.onTimeupdate.bind(this),this.player().on("timeupdate",this.onTimeupdate),this.on("mousedown",this.dragStart),this.on("touchstart",this.dragStart),this.player().on("dispose",(function(){e.player().off("timeupdate",e.onTimeupdate),e.off("mousedown",e.dragStart),e.off("touchstart",e.dragStart)}))}},{key:"hasStartTime",value:function(){return"number"==typeof this.startTime}},{key:"hasEndTime",value:function(){return"number"==typeof this.endTime}},{key:"onTimeupdate",value:function(){var e=this.player().currentTime();e>this.endTime&&e<this.endTime+.5&&this.player().pause()}},{key:"dragStart",value:function(e){this.startHandle.isEventTarget(e)&&(e.stopImmediatePropagation(),this.dragStartActive=!0),this.endHandle.isEventTarget(e)&&(e.stopImmediatePropagation(),this.dragEndActive=!0),e.target===this.el()&&(e.stopImmediatePropagation(),this.dragSliderActive=!0,this.dragSliderCurrentPosition=this.getPosition(e));var t=this.el().ownerDocument;this.on(t,"mousemove",this.drag),this.on(t,"mouseup",this.dragEnd),this.on(t,"touchmove",this.drag),this.on(t,"touchend",this.dragEnd),this.drag(e)}},{key:"dragEnd",value:function(){this.dragStartActive=!1,this.dragEndActive=!1,this.dragSliderActive=!1,this.dragSliderCurrentPosition=null;var e=this.el().ownerDocument;this.off(e,"mousemove",this.drag),this.off(e,"mouseup",this.dragEnd),this.off(e,"touchmove",this.drag),this.off(e,"touchend",this.dragEnd)}},{key:"drag",value:function(e){if((this.dragStartActive||this.dragEndActive||this.dragSliderActive)&&y.Z.dom.isSingleLeftClick(e)){var t=this.getPosition(e),n=t*this.player().duration();this.dragStartActive&&this.handleStartHandleDrag(n),this.dragEndActive&&this.handleEndHandleDrag(n),this.dragSliderActive&&this.handleSliderDrag(t)}}},{key:"handleStartHandleDrag",value:function(e){this.setStartTime(e)}},{key:"handleEndHandleDrag",value:function(e){this.setEndTime(e)}},{key:"handleSliderDrag",value:function(e){var t=(e-this.dragSliderCurrentPosition)*this.player().duration(),n=this.startTime+t,r=this.endTime+t;n<=0||r>=this.player().duration()||(this.dragSliderCurrentPosition=e,this.setStartTime(n),this.setEndTime(r))}},{key:"getPosition",value:function(e){return y.Z.dom.getPointerPosition(this.el_.parentNode,e).x}},{key:"setStartOffset",value:function(){this.el_.style.marginLeft="".concat(this.getPercentage(this.startTime),"%")}},{key:"setWidth",value:function(){this.el_.style.width="".concat(this.getPercentage(this.endTime-this.startTime),"%")}},{key:"getPercentage",value:function(e){return+(e/this.player().duration()*100).toFixed(4)}}],n&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=N(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},x.apply(this,arguments)}function N(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=L(e)););return e}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function I(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(r);if(i){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).seekBar_=t.seekBar,n.playProgressBar_=t.playProgressBar,n.bindListeners(),n.player_.one("dispose",(function(){n.unbindListeners()})),n}return t=a,(n=[{key:"createEl",value:function(e,t,n){return x(L(a.prototype),"createEl",this).call(this,e,Object.assign(Object.assign({},t),{className:"cv-create-clip-progress-indicator"}),n)}},{key:"bindListeners",value:function(){this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown)}},{key:"unbindListeners",value:function(){var e=this.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp)}},{key:"handleMouseDown",value:function(e){if(y.Z.dom.isSingleLeftClick(e)){e.stopPropagation(),"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||y.Z.browser.IS_CHROME||e.preventDefault(),this.player_.scrubbing(!0),this.videoWasPlaying_=!this.player_.paused(),this.player_.pause(),y.Z.dom.blockTextSelection();var t=this.el_.ownerDocument;this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e),this.player_.addClass("cv-hide-mouse-time")}}},{key:"handleMouseMove",value:function(e){if(y.Z.dom.isSingleLeftClick(e)){var t=y.Z.dom.getPointerPosition(this.seekBar_.el_,e).x*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t),this.playProgressBar_.update()}}},{key:"handleMouseUp",value:function(e){y.Z.dom.unblockTextSelection();var t=this.el_.ownerDocument;this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),null==e||e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying_&&this.player_.play(),this.seekBar_.update(),this.player_.removeClass("cv-hide-mouse-time")}}])&&B(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function K(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}y.Z.registerComponent("CreateClipProgressIndicator",F);var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=V(r);if(i){var n=V(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return K(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).addClass("cv-create-clip-seek-bar"),n}return t=a,(n=[{key:"initialize",value:function(e){var t=new R(this.player(),e);this.addChild(t);var n=this.getChild("playProgressBar"),r=new F(this.player_,{seekBar:this,playProgressBar:n});n.addChild(r)}}])&&Z(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("SeekBar"));function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(){return Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Y(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Q.apply(this,arguments)}function Y(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=X(e)););return e}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function q(e,t){if(t&&("object"===z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return J(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},X(e)}W.prototype.options_={children:["playProgressBar"],barName:"playProgressBar"},y.Z.browser.IS_IOS||y.Z.browser.IS_ANDROID||W.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),y.Z.registerComponent("CreateClipSeekBar",W);var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=X(r);if(i){var n=X(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return q(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).options=t,n.initCreateClipSeekBar=n.initCreateClipSeekBar.bind(J(n)),n.player.one("loadedmetadata",(function(){return n.player.ready(n.initCreateClipSeekBar)})),n}return t=a,(n=[{key:"initCreateClipSeekBar",value:function(){var e,t=null===(e=this.player.controlBar.getChild("ProgressControl"))||void 0===e?void 0:e.getChild("SeekBar");if(t){var n=!isNaN(this.options.startTime)&&this.options.startTime>=0?this.options.startTime:0,r=!isNaN(this.options.endTime)&&this.options.endTime<=this.player.duration()?this.options.endTime:this.player.duration(),i=Math.min(this.options.minDuration||5,this.player.duration());t.initialize({startTime:n,endTime:r,minDuration:i,onChangeStartTime:this.options.onChangeStartTime,onChangeEndTime:this.options.onChangeEndTime})}}},{key:"dispose",value:function(){this.player.off("loadedmetadata",this.initCreateClipSeekBar),Q(X(a.prototype),"dispose",this).call(this)}}])&&G(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getPlugin("plugin"));function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(){return re="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ie(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},re.apply(this,arguments)}function ie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ce(e)););return e}function oe(e,t){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oe(e,t)}function ae(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ce(e){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ce(e)}y.Z.registerPlugin("createClipPlugin",ee);var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oe(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ce(r);if(i){var n=ce(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ae(this,e)});function a(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,e,Object.assign(Object.assign({},t),{playbackRates:null,enableLocalCache:!1}))}return t=a,(n=[{key:"getPlayerClassName",value:function(){return"cv-create-clip-player"}},{key:"configurePlugins",value:function(){var e=this.options,t=e.startTime,n=e.endTime,r=e.minDuration,i=e.onChangeStartTime,o=e.onChangeEndTime;this.player.createClipPlugin({startTime:t,endTime:n,minDuration:r,onChangeStartTime:i,onChangeEndTime:o})}},{key:"getPlayerOptions",value:function(){var e=re(ce(a.prototype),"getPlayerOptions",this).call(this);return e.inactivityTimeout=0,e}},{key:"getSeekBarName",value:function(){return"CreateClipSeekBar"}},{key:"getAnalyticsPlayerType",value:function(){return"create-clip-player"}}])&&ne(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(d.r);function le(e){var t=e.onReady,n=e.onDispose,r=i().useRef(),o=i().useRef();return i().useEffect((function(){var i;if(null===(i=o.current)||void 0===i||i.dispose(),r)return o.current=new ue(r.current,e),t&&o.current.ready((function(){t(o.current)})),n&&o.current.one("dispose",n),function(){var e;null===(e=o.current)||void 0===e||e.dispose()}}),[e.viewKey]),i().useEffect((function(){var t;null===(t=o.current)||void 0===t||t.trigger({type:"update:clip:start:time",time:e.startTime})}),[e.startTime]),i().useEffect((function(){var t;null===(t=o.current)||void 0===t||t.trigger({type:"update:clip:end:time",time:e.endTime})}),[e.endTime]),i().createElement("div",{ref:r})}var se=n(86702),fe=n(93264),pe=n(83345),de=n(95047);const ye="lFyGP";function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?me(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ve=/[^0-9]/g,be=/^0+/,ge=":";function Te(e){var t=function(e){var t=function(e){return fe.T.ToDisplayDuration(1e3*e)},n=he(r.useState(t(e.value)),2),i=n[0],o=n[1];return r.useEffect((function(){o(t(e.value))}),[e.value]),[i,o]}(e),n=he(t,2),i=n[0],o=n[1];function a(){var t=de.k.convertDurationToSeconds(i)+1;e.setTime(t)}function c(){var t=de.k.convertDurationToSeconds(i)-1;t<0||e.setTime(t)}return r.createElement("div",{className:"position-relative ".concat("xvpu6")},r.createElement("input",{className:"form-control form-control".concat("md"===e.formSize?"-md":"-lg"," ").concat(e.hasError?"is-invalid":""," text-center ").concat("vW_eV"),value:i,onChange:function(t){if(e.allowKeyboardInput){var n=function(e){var t=e.trim().replace(ve,"").replace(be,"").slice(0,6);if(!t)return"00:00";for(var n=t.split(""),r=[],i=n.length-1;i>=0;i--){var o=r.indexOf(ge);(-1===o&&2===r.length||2===o)&&r.unshift(ge),r.unshift(n[i])}return 1!==r.length&&1!==r.indexOf(ge)||r.unshift("0"),2===r.length&&r.unshift("00",ge),r.join("")}(t.target.value);n&&o(n)}},onBlur:function(){e.allowKeyboardInput&&e.setTime(de.k.convertDurationToSeconds(i))},onKeyDown:function(e){38===e.keyCode&&a(),40===e.keyCode&&c()}}),r.createElement("div",{className:"A8cSJ"},r.createElement("div",{className:ye,onClick:a},r.createElement("div",{className:"_zBG5"})),r.createElement("div",{className:ye,onClick:c},r.createElement("div",{className:"kuLky"}))))}Te.defaultProps={allowKeyboardInput:!0,size:"lg"};var Oe="shared.clipTimeForm",we=u.T.encloseNamespace(Oe);function Se(e){if(isNaN(e.startTime)||isNaN(e.endTime))return r.createElement(r.Fragment,null);var t=Math.floor(e.endTime)-Math.floor(e.startTime);return r.createElement("div",{className:"px-3"},r.createElement("form",{className:"form-inline justify-content-center pb-4"},r.createElement("div",{className:"form-group"},r.createElement(Te,{value:e.startTime,setTime:e.setStartTime})),r.createElement("span",{className:"px-2"},"-"),r.createElement("div",{className:"form-group mr-2"},r.createElement(Te,{value:e.endTime,setTime:e.setEndTime})),r.createElement("span",null,r.createElement("strong",null,r.createElement(pe.x,{namespace:Oe,phrase:"duration"}))," ",fe.T.ToDisplayDuration(1e3*t))),r.createElement("div",{className:"d-flex justify-content-end"},r.createElement("button",{className:"btn btn-link",onClick:e.onCancel},we("cancel")),r.createElement("button",{className:"btn btn-dark",onClick:e.onSubmit},we("next"))))}var Pe=n(97291),Ee=n(14070),Ce=n(43012),ke=n(1575),_e=n(89476),je=n(60051),De=n(28400);function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ae(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Be="edit-clip-timepoints",xe="shared.editClipTimepoints",Ne=u.T.encloseNamespace(xe);function Me(e){var t,n,i,d,y=Re((0,a.D)(se.y.WEB_PLAYER_DATA),2),h=y[0],m=y[1],v=r.useRef(),b=e.startTime||(null===(t=null==h?void 0:h.playerRef)||void 0===t?void 0:t.currentTime())||0,g=Re(r.useState(b),2),T=g[0],O=g[1],w=Re(r.useState(b+30),2),S=w[0],P=w[1],E=o.a.useBasicFetch(f.L.config()),C=o.a.useBasicFetch(!!e.id&&Ce.e.clip(e.id)),k=(null===(i=null===(n=C.data)||void 0===n?void 0:n.video)||void 0===i?void 0:i.id)||e.videoId,_=o.a.useBasicFetch(!!k&&s.k.createViewKey(k,je.f.MasterObject)),j=o.a.useBasicFetch(!!k&&ke.R.video(k)),D=(0,_e.f)();return(0,l.o)(e.id?null===(d=C.data)||void 0===d?void 0:d.name:Ne("pageTitle")),r.useEffect((function(){m("allowFloatingPlayer",!1),D.lock({id:Be,title:u.T.getPhrase(xe,"navLockTitle"),text:u.T.getPhrase(xe,"navLockBody")})}),[]),r.useEffect((function(){C.data&&(O(C.data.startTime),P(C.data.endTime))}),[C.data]),e.id||e.videoId?r.createElement("div",{className:"px-3"},!!E.data&&!!_.data&&!!j.data&&(!e.id||!!C.data)&&r.createElement("div",{className:"pb-3"},r.createElement("div",{className:"mb-3"},r.createElement(le,{onReady:function(e){v.current=e},playerApi:new URL(E.data.playerApiUrl),viewKey:_.data.viewKey,startTime:T,endTime:S,onChangeStartTime:O,onChangeEndTime:P,minDuration:5,autoplay:!0})),r.createElement(Se,{startTime:T,endTime:S,setStartTime:O,setEndTime:P,onSubmit:function(){var t="";T>S&&(t=Ne("startTimeGreaterThanEndTime")),S-T<5&&(t=Ne("tooShort",{minDuration:5})),t?function(e){p.M.render(r.createElement("p",null,e),{title:Ne("errorHeading"),cancelButtonProps:{variant:"link",text:Ne("close")}})}(t):(D.unlock(Be),c.Q.AppLinkHelper.trigger({application:Pe.O.DEFAULT,action:e.id?Ee.e.Default.EDIT_CLIP_DETAILS:Ee.e.Default.CREATE_CLIP_DETAILS,args:e.id?[e.id]:[e.videoId],params:{startTime:T,endTime:S}}))},onCancel:function(){var e,t;v.current&&m("startTime",v.current.currentTime()),c.Q.AppLinkHelper.trigger({application:Pe.O.DEFAULT,action:Ee.e.Default.PLAY_VIDEO,args:[null===(e=j.data)||void 0===e?void 0:e.id,De.m.slugify(null===(t=j.data)||void 0===t?void 0:t.name)]})}}))):r.createElement(r.Fragment,null)}}}]);
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9686],{60051:(e,t,n)=>{var r;n.d(t,{f:()=>r}),function(e){e.Share="share",e.MasterObject="masterobject"}(r||(r={}))},47812:(e,t,n)=>{n.d(t,{k:()=>i});var r=n(99940),i={createViewKey:function(e,t,n){var i={mediaId:e.toString(),mediaIdType:t};return n&&(i.shareContextId=n),{url:"/api/player/create-view-key",key:"view:key:".concat(e,":").concat(t),type:r.k.POST,data:i,expiryTime:28800}}}},93264:(e,t,n)=>{n.d(t,{T:()=>o});var r=n(39479),i=function(e,t,n){var r=t-(e=e.toString()).length;return r<=0?e:new Array(r+1).join(n)+e},o={ToDisplayDuration:function(e){if(!r.isNumber(e))return"";var t=new Date(e),n=t.getUTCHours(),o=i(t.getUTCMinutes(),2,"0"),a=i(t.getUTCSeconds(),2,"0");return n>0?"".concat(n,":").concat(o,":").concat(a):"".concat(o,":").concat(a)}}},99686:(e,t,n)=>{n.r(t),n.d(t,{EditClipTimepointsView:()=>Me});var r=n(1024),i=n.n(r),o=n(20354),a=n(2948),c=n(81886),u=n(23481),l=n(23049),s=n(47812),f=n(39151),p=n(497),d=n(48420),y=n(16235);function h(e){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},h(e)}function m(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function v(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function b(){return b="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=g(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},b.apply(this,arguments)}function g(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=w(e)););return e}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}function O(e,t){if(t&&("object"===h(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function w(e){return w=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},w(e)}var S=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=w(r);if(i){var n=w(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return O(this,e)});function a(){return m(this,a),o.apply(this,arguments)}return t=a,(n=[{key:"buildCSSClass",value:function(){return"cv-clip-timepoint-handle ".concat(b(w(a.prototype),"buildCSSClass",this).call(this))}},{key:"createEl",value:function(e,t,n){return b(w(a.prototype),"createEl",this).call(this,e,Object.assign(Object.assign({},t),{className:this.buildCSSClass(),innerHTML:'<svg viewBox="0 0 5 14" pointer-events="none"><g id="Clips" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><g id="Clip-2" transform="translate(-835.000000, -632.000000)" fill="#FFFFFF"><g id="Video-Copy" transform="translate(275.000000, 96.000000)"><g id="Handles" transform="translate(560.000000, 536.000000)"><circle id="Oval" cx="1" cy="1" r="1"></circle><circle id="Oval-Copy-2" cx="1" cy="5" r="1"></circle><circle id="Oval-Copy-4" cx="1" cy="9" r="1"></circle><circle id="Oval-Copy-8" cx="1" cy="13" r="1"></circle><circle id="Oval-Copy" cx="4" cy="1" r="1"></circle><circle id="Oval-Copy-3" cx="4" cy="5" r="1"></circle><circle id="Oval-Copy-5" cx="4" cy="9" r="1"></circle><circle id="Oval-Copy-9" cx="4" cy="13" r="1"></circle></g></g></g></g></svg>'}),n)}},{key:"isEventTarget",value:function(e){return this.el().contains(e.target)}}])&&v(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function P(e){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},P(e)}function E(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function C(){return C="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=k(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},C.apply(this,arguments)}function k(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=D(e)););return e}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}function j(e,t){if(t&&("object"===P(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function D(e){return D=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},D(e)}var R=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=D(r);if(i){var n=D(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return j(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).dragStartActive=!1,n.dragEndActive=!1,n.dragSliderActive=!1,n.dragSliderCurrentPosition=null,n.minDuration=Math.min(e.duration(),n.options_.minDuration),n.setStartTime(t.startTime,!1),n.setEndTime(t.endTime,!1),n.startHandle=new S(n.player(),t),n.startHandle.addClass("cv-clip-start-handle"),n.addChild(n.startHandle),n.endHandle=new S(n.player(),t),n.endHandle.addClass("cv-clip-end-handle"),n.addChild(n.endHandle),n.on(n.player(),"update:clip:start:time",(function(e){var t=e.time;return n.setStartTime(t)})),n.on(n.player(),"update:clip:end:time",(function(e){var t=e.time;return n.setEndTime(t)})),n.bindListeners(),n.update(),n}return t=a,n=[{key:"createEl",value:function(){return C(D(a.prototype),"createEl",this).call(this,"div",{className:"cv-clip-timepoint-selector"},{})}},{key:"update",value:function(){var e=this;this.options_.onChangeStartTime(this.startTime),this.options_.onChangeEndTime(this.endTime),this.requestAnimationFrame((function(){e.setStartOffset(),e.setWidth()}))}},{key:"setStartTime",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(e)){var n=this.hasStartTime()&&this.hasEndTime()&&this.endTime-this.startTime,r=this.player().duration()-this.minDuration;if(e>r&&(e=r),e<0&&(e=0),this.startTime=e,this.endTime&&this.endTime-this.startTime<this.minDuration){var i="number"==typeof n?this.startTime+n:this.startTime+this.minDuration;this.setEndTime(i)}this.player().currentTime(this.startTime),t&&this.update()}}},{key:"setEndTime",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(!isNaN(e)){var n=this.hasStartTime()&&this.hasEndTime()&&this.endTime-this.startTime,r=this.minDuration;if(e<r&&(e=r),e>this.player().duration()&&(e=this.player().duration()),this.endTime=e,this.startTime&&this.endTime-this.startTime<this.minDuration){var i="number"==typeof n?this.endTime-n:this.endTime-this.minDuration;this.setStartTime(i)}t&&this.update()}}},{key:"bindListeners",value:function(){var e=this;this.onTimeupdate=this.onTimeupdate.bind(this),this.player().on("timeupdate",this.onTimeupdate),this.on("mousedown",this.dragStart),this.on("touchstart",this.dragStart),this.player().on("dispose",(function(){e.player().off("timeupdate",e.onTimeupdate),e.off("mousedown",e.dragStart),e.off("touchstart",e.dragStart)}))}},{key:"hasStartTime",value:function(){return"number"==typeof this.startTime}},{key:"hasEndTime",value:function(){return"number"==typeof this.endTime}},{key:"onTimeupdate",value:function(){var e=this.player().currentTime();e>this.endTime&&e<this.endTime+.5&&this.player().pause()}},{key:"dragStart",value:function(e){this.startHandle.isEventTarget(e)&&(e.stopImmediatePropagation(),this.dragStartActive=!0),this.endHandle.isEventTarget(e)&&(e.stopImmediatePropagation(),this.dragEndActive=!0),e.target===this.el()&&(e.stopImmediatePropagation(),this.dragSliderActive=!0,this.dragSliderCurrentPosition=this.getPosition(e));var t=this.el().ownerDocument;this.on(t,"mousemove",this.drag),this.on(t,"mouseup",this.dragEnd),this.on(t,"touchmove",this.drag),this.on(t,"touchend",this.dragEnd),this.drag(e)}},{key:"dragEnd",value:function(){this.dragStartActive=!1,this.dragEndActive=!1,this.dragSliderActive=!1,this.dragSliderCurrentPosition=null;var e=this.el().ownerDocument;this.off(e,"mousemove",this.drag),this.off(e,"mouseup",this.dragEnd),this.off(e,"touchmove",this.drag),this.off(e,"touchend",this.dragEnd)}},{key:"drag",value:function(e){if((this.dragStartActive||this.dragEndActive||this.dragSliderActive)&&y.Z.dom.isSingleLeftClick(e)){var t=this.getPosition(e),n=t*this.player().duration();this.dragStartActive&&this.handleStartHandleDrag(n),this.dragEndActive&&this.handleEndHandleDrag(n),this.dragSliderActive&&this.handleSliderDrag(t)}}},{key:"handleStartHandleDrag",value:function(e){this.setStartTime(e)}},{key:"handleEndHandleDrag",value:function(e){this.setEndTime(e)}},{key:"handleSliderDrag",value:function(e){var t=(e-this.dragSliderCurrentPosition)*this.player().duration(),n=this.startTime+t,r=this.endTime+t;n<=0||r>=this.player().duration()||(this.dragSliderCurrentPosition=e,this.setStartTime(n),this.setEndTime(r))}},{key:"getPosition",value:function(e){return y.Z.dom.getPointerPosition(this.el_.parentNode,e).x}},{key:"setStartOffset",value:function(){this.el_.style.marginLeft="".concat(this.getPercentage(this.startTime),"%")}},{key:"setWidth",value:function(){this.el_.style.width="".concat(this.getPercentage(this.endTime-this.startTime),"%")}},{key:"getPercentage",value:function(e){return+(e/this.player().duration()*100).toFixed(4)}}],n&&E(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function B(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function x(){return x="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=N(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},x.apply(this,arguments)}function N(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=L(e)););return e}function M(e,t){return M=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},M(e,t)}function I(e,t){if(t&&("object"===A(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function L(e){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},L(e)}var F=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&M(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=L(r);if(i){var n=L(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return I(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).seekBar_=t.seekBar,n.playProgressBar_=t.playProgressBar,n.bindListeners(),n.player_.one("dispose",(function(){n.unbindListeners()})),n}return t=a,(n=[{key:"createEl",value:function(e,t,n){return x(L(a.prototype),"createEl",this).call(this,e,Object.assign(Object.assign({},t),{className:"cv-create-clip-progress-indicator"}),n)}},{key:"bindListeners",value:function(){this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown)}},{key:"unbindListeners",value:function(){var e=this.el_.ownerDocument;this.off("mousedown",this.handleMouseDown),this.off("touchstart",this.handleMouseDown),this.off(e,"mousemove",this.handleMouseMove),this.off(e,"mouseup",this.handleMouseUp),this.off(e,"touchmove",this.handleMouseMove),this.off(e,"touchend",this.handleMouseUp)}},{key:"handleMouseDown",value:function(e){if(y.Z.dom.isSingleLeftClick(e)){e.stopPropagation(),"mousedown"===e.type&&e.preventDefault(),"touchstart"!==e.type||y.Z.browser.IS_CHROME||e.preventDefault(),this.player_.scrubbing(!0),this.videoWasPlaying_=!this.player_.paused(),this.player_.pause(),y.Z.dom.blockTextSelection();var t=this.el_.ownerDocument;this.on(t,"mousemove",this.handleMouseMove),this.on(t,"mouseup",this.handleMouseUp),this.on(t,"touchmove",this.handleMouseMove),this.on(t,"touchend",this.handleMouseUp),this.handleMouseMove(e),this.player_.addClass("cv-hide-mouse-time")}}},{key:"handleMouseMove",value:function(e){if(y.Z.dom.isSingleLeftClick(e)){var t=y.Z.dom.getPointerPosition(this.seekBar_.el_,e).x*this.player_.duration();t===this.player_.duration()&&(t-=.1),this.player_.currentTime(t),this.playProgressBar_.update()}}},{key:"handleMouseUp",value:function(e){y.Z.dom.unblockTextSelection();var t=this.el_.ownerDocument;this.off(t,"mousemove",this.handleMouseMove),this.off(t,"mouseup",this.handleMouseUp),this.off(t,"touchmove",this.handleMouseMove),this.off(t,"touchend",this.handleMouseUp),null==e||e.stopPropagation(),this.player_.scrubbing(!1),this.player_.trigger({type:"timeupdate",target:this,manuallyTriggered:!0}),this.videoWasPlaying_&&this.player_.play(),this.seekBar_.update(),this.player_.removeClass("cv-hide-mouse-time")}}])&&B(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("Component"));function H(e){return H="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},H(e)}function Z(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function U(e,t){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},U(e,t)}function K(e,t){if(t&&("object"===H(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},V(e)}y.Z.registerComponent("CreateClipProgressIndicator",F);var W=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&U(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=V(r);if(i){var n=V(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return K(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).addClass("cv-create-clip-seek-bar"),n}return t=a,(n=[{key:"initialize",value:function(e){var t=new R(this.player(),e);this.addChild(t);var n=this.getChild("playProgressBar"),r=new F(this.player_,{seekBar:this,playProgressBar:n});n.addChild(r)}}])&&Z(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getComponent("SeekBar"));function z(e){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z(e)}function G(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Q(){return Q="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=Y(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},Q.apply(this,arguments)}function Y(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=X(e)););return e}function $(e,t){return $=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$(e,t)}function q(e,t){if(t&&("object"===z(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return J(e)}function J(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function X(e){return X=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},X(e)}W.prototype.options_={children:["playProgressBar"],barName:"playProgressBar"},y.Z.browser.IS_IOS||y.Z.browser.IS_ANDROID||W.prototype.options_.children.splice(1,0,"mouseTimeDisplay"),y.Z.registerComponent("CreateClipSeekBar",W);var ee=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=X(r);if(i){var n=X(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return q(this,e)});function a(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(n=o.call(this,e,t)).options=t,n.initCreateClipSeekBar=n.initCreateClipSeekBar.bind(J(n)),n.player.one("loadedmetadata",(function(){return n.player.ready(n.initCreateClipSeekBar)})),n}return t=a,(n=[{key:"initCreateClipSeekBar",value:function(){var e,t=null===(e=this.player.controlBar.getChild("ProgressControl"))||void 0===e?void 0:e.getChild("SeekBar");if(t){var n=!isNaN(this.options.startTime)&&this.options.startTime>=0?this.options.startTime:0,r=!isNaN(this.options.endTime)&&this.options.endTime<=this.player.duration()?this.options.endTime:this.player.duration(),i=Math.min(this.options.minDuration||5,this.player.duration());t.initialize({startTime:n,endTime:r,minDuration:i,onChangeStartTime:this.options.onChangeStartTime,onChangeEndTime:this.options.onChangeEndTime})}}},{key:"dispose",value:function(){this.player.off("loadedmetadata",this.initCreateClipSeekBar),Q(X(a.prototype),"dispose",this).call(this)}}])&&G(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(y.Z.getPlugin("plugin"));function te(e){return te="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},te(e)}function ne(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function re(){return re="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var r=ie(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(arguments.length<3?e:n):i.value}},re.apply(this,arguments)}function ie(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=ce(e)););return e}function oe(e,t){return oe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},oe(e,t)}function ae(e,t){if(t&&("object"===te(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function ce(e){return ce=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ce(e)}y.Z.registerPlugin("createClipPlugin",ee);var ue=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&oe(e,t)}(a,e);var t,n,r,i,o=(r=a,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=ce(r);if(i){var n=ce(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return ae(this,e)});function a(e,t){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),o.call(this,e,Object.assign(Object.assign({},t),{playbackRates:null,enableLocalCache:!1}))}return t=a,(n=[{key:"getPlayerClassName",value:function(){return"cv-create-clip-player"}},{key:"configurePlugins",value:function(){var e=this.options,t=e.startTime,n=e.endTime,r=e.minDuration,i=e.onChangeStartTime,o=e.onChangeEndTime;this.player.createClipPlugin({startTime:t,endTime:n,minDuration:r,onChangeStartTime:i,onChangeEndTime:o})}},{key:"getPlayerOptions",value:function(){var e=re(ce(a.prototype),"getPlayerOptions",this).call(this);return e.inactivityTimeout=0,e}},{key:"getSeekBarName",value:function(){return"CreateClipSeekBar"}},{key:"getAnalyticsPlayerType",value:function(){return"create-clip-player"}}])&&ne(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),a}(d.r);function le(e){var t=e.onReady,n=e.onDispose,r=i().useRef(),o=i().useRef();return i().useEffect((function(){var i;if(null===(i=o.current)||void 0===i||i.dispose(),r)return o.current=new ue(r.current,e),t&&o.current.ready((function(){t(o.current)})),n&&o.current.one("dispose",n),function(){var e;null===(e=o.current)||void 0===e||e.dispose()}}),[e.viewKey]),i().useEffect((function(){var t;null===(t=o.current)||void 0===t||t.trigger({type:"update:clip:start:time",time:e.startTime})}),[e.startTime]),i().useEffect((function(){var t;null===(t=o.current)||void 0===t||t.trigger({type:"update:clip:end:time",time:e.endTime})}),[e.endTime]),i().createElement("div",{ref:r})}var se=n(86702),fe=n(93264),pe=n(83345),de=n(95047);const ye="lFyGP";function he(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return me(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?me(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var ve=/[^0-9]/g,be=/^0+/,ge=":";function Te(e){var t=function(e){var t=function(e){return fe.T.ToDisplayDuration(1e3*e)},n=he(r.useState(t(e.value)),2),i=n[0],o=n[1];return r.useEffect((function(){o(t(e.value))}),[e.value]),[i,o]}(e),n=he(t,2),i=n[0],o=n[1];function a(){var t=de.k.convertDurationToSeconds(i)+1;e.setTime(t)}function c(){var t=de.k.convertDurationToSeconds(i)-1;t<0||e.setTime(t)}return r.createElement("div",{className:"position-relative ".concat("xvpu6")},r.createElement("input",{className:"form-control form-control".concat("md"===e.formSize?"-md":"-lg"," ").concat(e.hasError?"is-invalid":""," text-center ").concat("vW_eV"),value:i,onChange:function(t){if(e.allowKeyboardInput){var n=function(e){var t=e.trim().replace(ve,"").replace(be,"").slice(0,6);if(!t)return"00:00";for(var n=t.split(""),r=[],i=n.length-1;i>=0;i--){var o=r.indexOf(ge);(-1===o&&2===r.length||2===o)&&r.unshift(ge),r.unshift(n[i])}return 1!==r.length&&1!==r.indexOf(ge)||r.unshift("0"),2===r.length&&r.unshift("00",ge),r.join("")}(t.target.value);n&&o(n)}},onBlur:function(){e.allowKeyboardInput&&e.setTime(de.k.convertDurationToSeconds(i))},onKeyDown:function(e){38===e.keyCode&&a(),40===e.keyCode&&c()}}),r.createElement("div",{className:"A8cSJ"},r.createElement("div",{className:ye,onClick:a},r.createElement("div",{className:"_zBG5"})),r.createElement("div",{className:ye,onClick:c},r.createElement("div",{className:"kuLky"}))))}Te.defaultProps={allowKeyboardInput:!0,size:"lg"};var Oe="shared.clipTimeForm",we=u.T.encloseNamespace(Oe);function Se(e){if(isNaN(e.startTime)||isNaN(e.endTime))return r.createElement(r.Fragment,null);var t=Math.floor(e.endTime)-Math.floor(e.startTime);return r.createElement("div",{className:"px-3"},r.createElement("form",{className:"form-inline justify-content-center pb-4"},r.createElement("div",{className:"form-group"},r.createElement(Te,{value:e.startTime,setTime:e.setStartTime})),r.createElement("span",{className:"px-2"},"-"),r.createElement("div",{className:"form-group mr-2"},r.createElement(Te,{value:e.endTime,setTime:e.setEndTime})),r.createElement("span",null,r.createElement("strong",null,r.createElement(pe.x,{namespace:Oe,phrase:"duration"}))," ",fe.T.ToDisplayDuration(1e3*t))),r.createElement("div",{className:"d-flex justify-content-end"},r.createElement("button",{className:"btn btn-link",onClick:e.onCancel},we("cancel")),r.createElement("button",{className:"btn btn-dark",onClick:e.onSubmit},we("next"))))}var Pe=n(97291),Ee=n(14070),Ce=n(43012),ke=n(1575),_e=n(89476),je=n(60051),De=n(28400);function Re(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw i}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ae(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ae(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Be="edit-clip-timepoints",xe="shared.editClipTimepoints",Ne=u.T.encloseNamespace(xe);function Me(e){var t,n,i,d,y=Re((0,a.D)(se.y.WEB_PLAYER_DATA),2),h=y[0],m=y[1],v=r.useRef(),b=e.startTime||(null===(t=null==h?void 0:h.playerRef)||void 0===t?void 0:t.currentTime())||0,g=Re(r.useState(b),2),T=g[0],O=g[1],w=Re(r.useState(b+30),2),S=w[0],P=w[1],E=o.a.useBasicFetch(f.L.config()),C=o.a.useBasicFetch(!!e.id&&Ce.e.clip(e.id)),k=(null===(i=null===(n=C.data)||void 0===n?void 0:n.video)||void 0===i?void 0:i.id)||e.videoId,_=o.a.useBasicFetch(!!k&&s.k.createViewKey(k,je.f.MasterObject)),j=o.a.useBasicFetch(!!k&&ke.R.video(k)),D=(0,_e.f)();return(0,l.o)(e.id?null===(d=C.data)||void 0===d?void 0:d.name:Ne("pageTitle")),r.useEffect((function(){m("allowFloatingPlayer",!1),D.lock({id:Be,title:u.T.getPhrase(xe,"navLockTitle"),text:u.T.getPhrase(xe,"navLockBody")})}),[]),r.useEffect((function(){C.data&&(O(C.data.startTime),P(C.data.endTime))}),[C.data]),e.id||e.videoId?r.createElement("div",{className:"px-3"},!!E.data&&!!_.data&&!!j.data&&(!e.id||!!C.data)&&r.createElement("div",{className:"pb-3"},r.createElement("div",{className:"mb-3"},r.createElement(le,{onReady:function(e){v.current=e},playerApi:new URL(E.data.playerApiUrl),viewKey:_.data.viewKey,startTime:T,endTime:S,onChangeStartTime:O,onChangeEndTime:P,minDuration:5,autoplay:!0})),r.createElement(Se,{startTime:T,endTime:S,setStartTime:O,setEndTime:P,onSubmit:function(){var t="";T>S&&(t=Ne("startTimeGreaterThanEndTime")),S-T<5&&(t=Ne("tooShort",{minDuration:5})),t?function(e){p.M.render(r.createElement("p",null,e),{title:Ne("errorHeading"),buttons:[{variant:"link",buttonText:Ne("close")}]})}(t):(D.unlock(Be),c.Q.AppLinkHelper.trigger({application:Pe.O.DEFAULT,action:e.id?Ee.e.Default.EDIT_CLIP_DETAILS:Ee.e.Default.CREATE_CLIP_DETAILS,args:e.id?[e.id]:[e.videoId],params:{startTime:T,endTime:S}}))},onCancel:function(){var e,t;v.current&&m("startTime",v.current.currentTime()),c.Q.AppLinkHelper.trigger({application:Pe.O.DEFAULT,action:Ee.e.Default.PLAY_VIDEO,args:[null===(e=j.data)||void 0===e?void 0:e.id,De.m.slugify(null===(t=j.data)||void 0===t?void 0:t.name)]})}}))):r.createElement(r.Fragment,null)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9798],{19798:(e,t,r)=>{r.r(t),r.d(t,{BulkActionSummaryView:()=>h});var o=r(1024),a=r.n(o),n=r(20354),c=r(23481),s=r(9111),u=r(110),l=r(76881),i=r(69883),p=r(13876),m=r(83345),y=r(93278);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,o=new Array(t);r<t;r++)o[r]=e[r];return o}var d="userManager.bulkActionSummary";function g(e){var t,r,o=(t=a().useState(!1),r=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var o,a,n=[],c=!0,s=!1;try{for(r=r.call(e);!(c=(o=r.next()).done)&&(n.push(o.value),!t||n.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{c||null==r.return||r.return()}finally{if(s)throw a}}return n}}(t,r)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?b(e,t):void 0}}(t,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),n=o[0],s=o[1],g=(0,i.Z)(),f=y.b.mapDataTypeToUserType(e.job.dataType);return a().createElement(m.D.Provider,{value:d},a().createElement("p",null,a().createElement(m.x,{phrase:f===l.Y.Learner?"detailsStudent":"detailsStaff",options:{name:e.job.submitterName,actionName:y.b.mapJobTypeToName(e.job.type),date:u.O.format(e.job.dateCreated,"Do MMMM YYYY"),smartCount:e.summary.totalProcessed}})),a().createElement("p",{className:"font-weight-bold"},a().createElement(m.x,{phrase:"summary"})),a().createElement("div",{className:"".concat("e6MNo"," rounded-lg p-3 mb-3")},a().createElement("p",{className:"mb-1"},a().createElement(m.x,{phrase:"totalProcessed",options:{count:e.summary.totalProcessed}})),a().createElement("p",{className:"mb-1"},a().createElement(m.x,{phrase:"totalSucceeded",options:{count:e.summary.totalSucceeded}})),a().createElement("p",{className:"mb-1"},a().createElement(m.x,{phrase:"totalErrored",options:{count:e.summary.totalErrored}})),a().createElement("p",{className:"mb-0"},a().createElement(m.x,{phrase:"totalNoAction",options:{count:e.summary.totalNoAction}}))),a().createElement(p.u,{buttons:[{buttonText:c.T.getPhrase(d,"close"),variant:"link",onClick:e.closePopup},{buttonText:c.T.getPhrase(d,"exportLog"),variant:"dark",onClick:function(){s(!0),e.onClickExportLog().then((function(){return g.success(c.T.getPhrase(d,"exportSuccess"))})).catch((function(){return g.error(c.T.getPhrase(d,"exportError"))})).finally((function(){return s(!1)}))},isSpinnerButton:!0,showSpinner:n}]}))}var f=r(29613);function h(e){var t=n.a.useBasicFetch(f.q.getJob(e.id)),r=n.a.useBasicFetch(f.q.getJobSummary(e.id)),o=n.a.useGetFetchAsync(),u=!!t.data&&!!r.data;return a().createElement(s.G,{title:c.T.getPhrase("userManager.bulkActionSummaryView","title"),closePopup:e.closePopup,showLoadingSpinner:!u},u&&a().createElement(g,{job:t.data,summary:r.data,onClickExportLog:function(){return o(f.q.sendJobReports([e.id]))},closePopup:e.closePopup}))}},29613:(e,t,r)=>{r.d(t,{q:()=>n});var o=r(99940),a=r(97395),n={createJob:function(e,t,r){return{url:"{gateway}/v1/batch/jobs",key:"create:job",type:o.k.POST,data:e,success:t,error:r}},getJobs:function(e){var t={},r=[],o=[];return e.cursor&&(t.cursor=e.cursor),e.sort&&("oldest"===e.sort?t.order="ASC":t.order="DESC"),e.bulkActionType&&(r=Array.isArray(e.bulkActionType)?e.bulkActionType:[e.bulkActionType],t.type=r),e.userType&&(o=Array.isArray(e.userType)?e.userType:[e.userType],t.dataType=o),{url:a._.urlBuilder("{gateway}/v1/batch/jobs",t),key:"batch:jobs:".concat(e.cursor,":").concat(e.sort,":").concat(r.sort().join(":"),":").concat(o.sort().join(":"))}},getJob:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e),key:"job:".concat(e)}},getJobProgress:function(e,t,r){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/progress"),key:"job:".concat(e,":progress"),invalidationKeys:"job:".concat(e,":progress"),success:t,error:r}},getJobResults:function(e,t,r,o,n){var c={status:t};return r&&(c.cursor=r),{url:a._.urlBuilder("{gateway}/v1/batch/jobs/".concat(e,"/results"),c),key:"job:".concat(e,":results:").concat(t,":").concat(r),success:o,error:n}},getYearGroupRolloverStatus:function(e){return{url:"{gateway}/v1/batch/validations/customers/".concat(e,"/year-group-roll-over"),key:"year:group:rollover:status"}},sendJobReports:function(e){return{url:"{gateway}/v1/batch/results/export",key:"send:job:reports:".concat(e.sort().join(":")),type:o.k.POST,data:{jobIds:e}}},getJobSummary:function(e){return{url:"{gateway}/v1/batch/jobs/".concat(e,"/summary"),key:"job:summary:".concat(e)}}}}}]);
|