@clickview/lite 0.27.0-dev.0 → 0.27.0-rc.0
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/.eslintrc.json +2 -2
- package/dist/bundles.json +1 -1
- package/dist/css/{1181-lite-d024d94988.chunk.css → 1181-lite-128a1a9952.chunk.css} +1 -1
- package/dist/css/{317-lite-322c2dae33.chunk.css → 317-lite-d3040de97d.chunk.css} +1 -1
- package/dist/css/{9296-lite-1585614993.chunk.css → 9296-lite-bfc8c517bf.chunk.css} +1 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/{1200-9877a7ee56-lite.chunk.js → 1200-6a89c2db3a-lite.chunk.js} +1 -1
- package/dist/scripts/{1592-cf0f982494-lite.chunk.js → 1592-fbec415025-lite.chunk.js} +1 -1
- package/dist/scripts/{1672-cdf3a9a034-lite.chunk.js → 1672-50c8debade-lite.chunk.js} +1 -1
- package/dist/scripts/1976-c75baa71eb-lite.chunk.js +2 -0
- package/dist/scripts/{2097-f9b13023a1-lite.chunk.js → 2097-5b2064a2de-lite.chunk.js} +1 -1
- package/dist/scripts/3533-c77aa5f546-lite.chunk.js +1 -0
- package/dist/scripts/{3645-46860b112f-lite.chunk.js → 3645-7b001dbb07-lite.chunk.js} +1 -1
- package/dist/scripts/{3667-4c841df29a-lite.chunk.js → 3667-f0384d124f-lite.chunk.js} +1 -1
- package/dist/scripts/{4617-4be7ef4496-lite.chunk.js → 4617-102986b146-lite.chunk.js} +1 -1
- package/dist/scripts/4632-aaebd088d3-lite.chunk.js +1 -0
- package/dist/scripts/{5622-6d7a8a4f10-lite.chunk.js → 5622-2c1ba91057-lite.chunk.js} +1 -1
- package/dist/scripts/6204-3f6b0e0be3-lite.chunk.js +1 -0
- package/dist/scripts/6285-8b41c19cfe-lite.chunk.js +1 -0
- package/dist/scripts/6381-044ed8885d-lite.chunk.js +1 -0
- package/dist/scripts/{6736-fcc416a392-lite.chunk.js → 6736-3f5c69bde8-lite.chunk.js} +1 -1
- package/dist/scripts/{6801-0a42301681-lite.chunk.js → 6801-150c253f94-lite.chunk.js} +1 -1
- package/dist/scripts/{7221-6f736071b0-lite.chunk.js → 7221-de323cddf1-lite.chunk.js} +1 -1
- package/dist/scripts/7318-3483e60edc-lite.chunk.js +1 -1
- package/dist/scripts/7939-70aa3d7b55-lite.chunk.js +1 -0
- package/dist/scripts/{8323-dbef982594-lite.chunk.js → 8323-4934589220-lite.chunk.js} +1 -1
- package/dist/scripts/{862-8bc17ac62b-lite.chunk.js → 862-59a502c1b0-lite.chunk.js} +1 -1
- package/dist/scripts/{8681-b910a0df72-lite.chunk.js → 8681-d55034eb3e-lite.chunk.js} +1 -1
- package/dist/scripts/{9428-9a436fe6e2-lite.chunk.js → 9428-cd86676f05-lite.chunk.js} +1 -1
- package/dist/scripts/{9478-c2e956f0fb-lite.chunk.js → 9478-54ed57bd4c-lite.chunk.js} +2 -2
- package/dist/scripts/bundle-eac69cac9a.min.js +2 -0
- package/jest.config.js +11 -11
- package/package.json +62 -62
- package/typings/libs/CVEvents.d.ts +12 -12
- package/typings/libs/CVLanguages.d.ts +24 -24
- package/typings/libs/backbone.validation.d.ts +99 -99
- package/typings/libs/cloneDeep.d.ts +4 -4
- package/typings/libs/cookiesjs.d.ts +25 -25
- package/typings/libs/draft-convert.d.ts +3 -3
- package/typings/libs/google-api.d.ts +93 -93
- package/typings/libs/intersection-observer.d.ts +82 -82
- package/typings/libs/microsoft-teams.d.ts +2 -2
- package/typings/libs/react-table-config.d.ts +138 -138
- package/typings/libs/trackjs.d.ts +2 -2
- package/typings/libs/videojs-contrib-quality-levels.d.ts +28 -28
- package/typings/utils/imports.d.ts +13 -13
- package/dist/scripts/2272-90dc43b966-lite.chunk.js +0 -1
- package/dist/scripts/3533-fd7c9a71d9-lite.chunk.js +0 -1
- package/dist/scripts/4632-fd1d044549-lite.chunk.js +0 -1
- package/dist/scripts/6204-02c345a991-lite.chunk.js +0 -1
- package/dist/scripts/6285-4126715f0a-lite.chunk.js +0 -1
- package/dist/scripts/6825-6fb3ef7569-lite.chunk.js +0 -2
- package/dist/scripts/7338-01aaacd827-lite.chunk.js +0 -1
- package/dist/scripts/7818-1463edc3d0-lite.chunk.js +0 -1
- package/dist/scripts/bundle-5760806ecd.min.js +0 -2
- /package/dist/css/{7818-lite-e7bdc675ac.chunk.css → 6381-lite-e7bdc675ac.chunk.css} +0 -0
- /package/dist/scripts/{1181-a49607579e-lite.chunk.js → 1181-7458474570-lite.chunk.js} +0 -0
- /package/dist/scripts/{1200-9877a7ee56-lite.chunk.js.LICENSE.txt → 1200-6a89c2db3a-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1301-ddd8da2bb1-lite.chunk.js → 1301-038e62a24b-lite.chunk.js} +0 -0
- /package/dist/scripts/{1324-3b9ff8b09b-lite.chunk.js → 1324-6b6f9dc959-lite.chunk.js} +0 -0
- /package/dist/scripts/{1341-f85c00256c-lite.chunk.js → 1341-a23e890814-lite.chunk.js} +0 -0
- /package/dist/scripts/{1351-f69a47758a-lite.chunk.js → 1351-e48f564f4c-lite.chunk.js} +0 -0
- /package/dist/scripts/{1518-f247316051-lite.chunk.js → 1518-e638c52346-lite.chunk.js} +0 -0
- /package/dist/scripts/{1592-cf0f982494-lite.chunk.js.LICENSE.txt → 1592-fbec415025-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1672-cdf3a9a034-lite.chunk.js.LICENSE.txt → 1672-50c8debade-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{1725-149189d1d7-lite.chunk.js → 1725-37c76bc83b-lite.chunk.js} +0 -0
- /package/dist/scripts/{1766-e65a5c7a6b-lite.chunk.js → 1766-d111dca804-lite.chunk.js} +0 -0
- /package/dist/scripts/{1820-345bda9a6f-lite.chunk.js → 1820-156a2f5391-lite.chunk.js} +0 -0
- /package/dist/scripts/{189-daaba5ce15-lite.chunk.js → 189-45e4b50c90-lite.chunk.js} +0 -0
- /package/dist/scripts/{1891-66ab2f3ee8-lite.chunk.js → 1891-6d6a9e64ec-lite.chunk.js} +0 -0
- /package/dist/scripts/{1924-4b80915a85-lite.chunk.js → 1924-27db747ee4-lite.chunk.js} +0 -0
- /package/dist/scripts/{2097-f9b13023a1-lite.chunk.js.LICENSE.txt → 1976-c75baa71eb-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3645-46860b112f-lite.chunk.js.LICENSE.txt → 2097-5b2064a2de-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{2229-ca15880387-lite.chunk.js → 2229-fd3d4d2908-lite.chunk.js} +0 -0
- /package/dist/scripts/{227-59850afce4-lite.chunk.js → 227-dd52f8f742-lite.chunk.js} +0 -0
- /package/dist/scripts/{2279-c450fff61a-lite.chunk.js → 2279-ccc2a79f5b-lite.chunk.js} +0 -0
- /package/dist/scripts/{2452-486a1274d5-lite.chunk.js → 2452-7790633d59-lite.chunk.js} +0 -0
- /package/dist/scripts/{2512-104774fab9-lite.chunk.js → 2512-a8d4c192e9-lite.chunk.js} +0 -0
- /package/dist/scripts/{2608-b4e60f73a3-lite.chunk.js → 2608-7602efd51b-lite.chunk.js} +0 -0
- /package/dist/scripts/{2883-469869d36d-lite.chunk.js → 2883-2f0c5e5750-lite.chunk.js} +0 -0
- /package/dist/scripts/{2966-5e37b17d4d-lite.chunk.js → 2966-0c49e10e6c-lite.chunk.js} +0 -0
- /package/dist/scripts/{3007-500410ac05-lite.chunk.js → 3007-8bd8fa2d39-lite.chunk.js} +0 -0
- /package/dist/scripts/{3020-a86c397bf9-lite.chunk.js → 3020-a6640c405e-lite.chunk.js} +0 -0
- /package/dist/scripts/{3108-4f06a2697e-lite.chunk.js → 3108-e908e3d0b6-lite.chunk.js} +0 -0
- /package/dist/scripts/{3135-bd827bdc99-lite.chunk.js → 3135-fef64a55b2-lite.chunk.js} +0 -0
- /package/dist/scripts/{3171-344b4d7c38-lite.chunk.js → 3171-55ee5b20b2-lite.chunk.js} +0 -0
- /package/dist/scripts/{3200-c533d42a45-lite.chunk.js → 3200-09251b177e-lite.chunk.js} +0 -0
- /package/dist/scripts/{3216-f1c5ee07cb-lite.chunk.js → 3216-8217ac9cd1-lite.chunk.js} +0 -0
- /package/dist/scripts/{3285-b1fb6f6e84-lite.chunk.js → 3285-77c88377ad-lite.chunk.js} +0 -0
- /package/dist/scripts/{3468-c174c68fc8-lite.chunk.js → 3468-44e40ddbee-lite.chunk.js} +0 -0
- /package/dist/scripts/{3667-4c841df29a-lite.chunk.js.LICENSE.txt → 3645-7b001dbb07-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5622-6d7a8a4f10-lite.chunk.js.LICENSE.txt → 3667-f0384d124f-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3754-8fa54c697c-lite.chunk.js → 3754-e7441bc6b1-lite.chunk.js} +0 -0
- /package/dist/scripts/{3787-717801553f-lite.chunk.js → 3787-ae769c8aab-lite.chunk.js} +0 -0
- /package/dist/scripts/{389-17db049de5-lite.chunk.js → 389-884dd437ea-lite.chunk.js} +0 -0
- /package/dist/scripts/{3952-2069c6f558-lite.chunk.js → 3952-facba08ed6-lite.chunk.js} +0 -0
- /package/dist/scripts/{4113-6883ae9f75-lite.chunk.js → 4113-4297cbc477-lite.chunk.js} +0 -0
- /package/dist/scripts/{4182-5d02d8b7fe-lite.chunk.js → 4182-8e55433ee6-lite.chunk.js} +0 -0
- /package/dist/scripts/{4332-1c9c4a94b6-lite.chunk.js → 4332-7717ffe8b8-lite.chunk.js} +0 -0
- /package/dist/scripts/{4380-5e4b479ec8-lite.chunk.js → 4380-25ddeb26ad-lite.chunk.js} +0 -0
- /package/dist/scripts/{4541-f194b26fa5-lite.chunk.js → 4541-f00a2a6ad2-lite.chunk.js} +0 -0
- /package/dist/scripts/{455-3852432f2c-lite.chunk.js → 455-2014a0ee45-lite.chunk.js} +0 -0
- /package/dist/scripts/{4690-1b322998c5-lite.chunk.js → 4690-686dc871cf-lite.chunk.js} +0 -0
- /package/dist/scripts/{482-db8b006570-lite.chunk.js → 482-4dcd1126a2-lite.chunk.js} +0 -0
- /package/dist/scripts/{4893-4e4125e58c-lite.chunk.js → 4893-4a1bb6f0a1-lite.chunk.js} +0 -0
- /package/dist/scripts/{4898-a867d3f212-lite.chunk.js → 4898-30175e8513-lite.chunk.js} +0 -0
- /package/dist/scripts/{5143-23d3632f9e-lite.chunk.js → 5143-cb0de0a629-lite.chunk.js} +0 -0
- /package/dist/scripts/{5347-68f0bb6f28-lite.chunk.js → 5347-6db9c6380f-lite.chunk.js} +0 -0
- /package/dist/scripts/{5606-3fc37aa573-lite.chunk.js → 5606-0bc69e3f55-lite.chunk.js} +0 -0
- /package/dist/scripts/{6736-fcc416a392-lite.chunk.js.LICENSE.txt → 5622-2c1ba91057-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{5877-296f1ab445-lite.chunk.js → 5877-55be7736ed-lite.chunk.js} +0 -0
- /package/dist/scripts/{5914-f3ab2a7a44-lite.chunk.js → 5914-f79b26ae07-lite.chunk.js} +0 -0
- /package/dist/scripts/{5929-2b4ac12ea7-lite.chunk.js → 5929-b529690f9b-lite.chunk.js} +0 -0
- /package/dist/scripts/{5940-0c60ea404a-lite.chunk.js → 5940-65a35dbbc9-lite.chunk.js} +0 -0
- /package/dist/scripts/{5974-446e64b8c7-lite.chunk.js → 5974-ca578c0bef-lite.chunk.js} +0 -0
- /package/dist/scripts/{6001-acf5bbb565-lite.chunk.js → 6001-34850587e9-lite.chunk.js} +0 -0
- /package/dist/scripts/{6113-5ed0a4082c-lite.chunk.js → 6113-aeba5a379a-lite.chunk.js} +0 -0
- /package/dist/scripts/{614-929649208c-lite.chunk.js → 614-ca84a9ab7b-lite.chunk.js} +0 -0
- /package/dist/scripts/{6158-37ae21245e-lite.chunk.js → 6158-f19e8306aa-lite.chunk.js} +0 -0
- /package/dist/scripts/{6186-2d2b24c7bd-lite.chunk.js → 6186-31d0d84aa2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6274-0cc8c6d18a-lite.chunk.js → 6274-696f3554c8-lite.chunk.js} +0 -0
- /package/dist/scripts/{6290-1f29f4a29a-lite.chunk.js → 6290-85ab8bb383-lite.chunk.js} +0 -0
- /package/dist/scripts/{6302-508f3631e4-lite.chunk.js → 6302-c7e8411d7e-lite.chunk.js} +0 -0
- /package/dist/scripts/{6325-ec5ce1bb36-lite.chunk.js → 6325-021b3eb470-lite.chunk.js} +0 -0
- /package/dist/scripts/{6368-f405248f28-lite.chunk.js → 6368-2856c1f08a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6370-c7580fe700-lite.chunk.js → 6370-7c4683f6a7-lite.chunk.js} +0 -0
- /package/dist/scripts/{6427-4e2c07fbf4-lite.chunk.js → 6427-06f42f7c39-lite.chunk.js} +0 -0
- /package/dist/scripts/{6450-40522dbebd-lite.chunk.js → 6450-e6712cdbf2-lite.chunk.js} +0 -0
- /package/dist/scripts/{6465-bdacf40f70-lite.chunk.js → 6465-2abd3029e9-lite.chunk.js} +0 -0
- /package/dist/scripts/{6477-1af2eff1c8-lite.chunk.js → 6477-aaa1a15c16-lite.chunk.js} +0 -0
- /package/dist/scripts/{6480-494cf7486f-lite.chunk.js → 6480-f6992f0d69-lite.chunk.js} +0 -0
- /package/dist/scripts/{6493-6fe904db3f-lite.chunk.js → 6493-d6d417c652-lite.chunk.js} +0 -0
- /package/dist/scripts/{6604-974b54d52d-lite.chunk.js → 6604-3d22ae919a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6725-cb3aa9156c-lite.chunk.js → 6725-fede9c3e66-lite.chunk.js} +0 -0
- /package/dist/scripts/{6825-6fb3ef7569-lite.chunk.js.LICENSE.txt → 6736-3f5c69bde8-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6821-f3accffe10-lite.chunk.js → 6821-68dc55c20a-lite.chunk.js} +0 -0
- /package/dist/scripts/{6873-583b864180-lite.chunk.js → 6873-c9698cdac7-lite.chunk.js} +0 -0
- /package/dist/scripts/{6884-3643f0b39a-lite.chunk.js → 6884-c983c13f79-lite.chunk.js} +0 -0
- /package/dist/scripts/{7045-5fd0615e0c-lite.chunk.js → 7045-82600d820b-lite.chunk.js} +0 -0
- /package/dist/scripts/{7056-e2276e17b0-lite.chunk.js → 7056-2b36668764-lite.chunk.js} +0 -0
- /package/dist/scripts/{7115-fc2ee52102-lite.chunk.js → 7115-ec16a77eaa-lite.chunk.js} +0 -0
- /package/dist/scripts/{7128-49a65ce567-lite.chunk.js → 7128-f63b7440f2-lite.chunk.js} +0 -0
- /package/dist/scripts/{714-4959b01e01-lite.chunk.js → 714-b0e9ada45d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7153-60c480f405-lite.chunk.js → 7153-0d625cfcd1-lite.chunk.js} +0 -0
- /package/dist/scripts/{7172-f75969c7a6-lite.chunk.js → 7172-9e41478825-lite.chunk.js} +0 -0
- /package/dist/scripts/{7178-86872f0c66-lite.chunk.js → 7178-317b92c166-lite.chunk.js} +0 -0
- /package/dist/scripts/{7201-a2506ef649-lite.chunk.js → 7201-e88a5b4e34-lite.chunk.js} +0 -0
- /package/dist/scripts/{7221-6f736071b0-lite.chunk.js.LICENSE.txt → 7221-de323cddf1-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{7506-5f5822c223-lite.chunk.js → 7506-ae381b0f4a-lite.chunk.js} +0 -0
- /package/dist/scripts/{7510-04f9925b31-lite.chunk.js → 7510-f8bfdcaae8-lite.chunk.js} +0 -0
- /package/dist/scripts/{7708-a41a668688-lite.chunk.js → 7708-b8c7b03f5a-lite.chunk.js} +0 -0
- /package/dist/scripts/{7767-aa7c04e92b-lite.chunk.js → 7767-d77cbefe9d-lite.chunk.js} +0 -0
- /package/dist/scripts/{7855-d2fccb4828-lite.chunk.js → 7855-4576f031b3-lite.chunk.js} +0 -0
- /package/dist/scripts/{7925-592a86ae68-lite.chunk.js → 7925-b905e7accb-lite.chunk.js} +0 -0
- /package/dist/scripts/{7954-fcef687dda-lite.chunk.js → 7954-ef9ea53f3f-lite.chunk.js} +0 -0
- /package/dist/scripts/{7966-6b9c890010-lite.chunk.js → 7966-91aee59e9f-lite.chunk.js} +0 -0
- /package/dist/scripts/{8025-be79ad6319-lite.chunk.js → 8025-19a1080300-lite.chunk.js} +0 -0
- /package/dist/scripts/{8038-81106fb644-lite.chunk.js → 8038-4b3d6a9201-lite.chunk.js} +0 -0
- /package/dist/scripts/{8046-5454db6ce2-lite.chunk.js → 8046-bfe732f968-lite.chunk.js} +0 -0
- /package/dist/scripts/{8056-079ad44052-lite.chunk.js → 8056-eb013779e5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8114-2731d10a41-lite.chunk.js → 8114-fd83004fee-lite.chunk.js} +0 -0
- /package/dist/scripts/{823-d546ce3529-lite.chunk.js → 823-41f9646545-lite.chunk.js} +0 -0
- /package/dist/scripts/{8252-3d6aa9f04c-lite.chunk.js → 8252-a75eab0ef5-lite.chunk.js} +0 -0
- /package/dist/scripts/{8300-a853d64040-lite.chunk.js → 8300-c9a25e7d05-lite.chunk.js} +0 -0
- /package/dist/scripts/{8323-dbef982594-lite.chunk.js.LICENSE.txt → 8323-4934589220-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8466-6a8853c5e1-lite.chunk.js → 8466-d2bc435426-lite.chunk.js} +0 -0
- /package/dist/scripts/{8564-5bd66f3b3a-lite.chunk.js → 8564-07109cac6f-lite.chunk.js} +0 -0
- /package/dist/scripts/{862-8bc17ac62b-lite.chunk.js.LICENSE.txt → 862-59a502c1b0-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8681-b910a0df72-lite.chunk.js.LICENSE.txt → 8681-d55034eb3e-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{8779-af551ee653-lite.chunk.js → 8779-a7a4a5ae60-lite.chunk.js} +0 -0
- /package/dist/scripts/{8789-99092c3982-lite.chunk.js → 8789-54fe5b6a66-lite.chunk.js} +0 -0
- /package/dist/scripts/{8816-7c252655d7-lite.chunk.js → 8816-d69451ba89-lite.chunk.js} +0 -0
- /package/dist/scripts/{8944-a558edd144-lite.chunk.js → 8944-98b6638607-lite.chunk.js} +0 -0
- /package/dist/scripts/{8955-1347621729-lite.chunk.js → 8955-9d1c302c16-lite.chunk.js} +0 -0
- /package/dist/scripts/{9060-468a11d9fc-lite.chunk.js → 9060-7a480e9b29-lite.chunk.js} +0 -0
- /package/dist/scripts/{9133-4a4612ed74-lite.chunk.js → 9133-fa2a7a4d58-lite.chunk.js} +0 -0
- /package/dist/scripts/{9150-e9f6fa5c3a-lite.chunk.js → 9150-796e203c3f-lite.chunk.js} +0 -0
- /package/dist/scripts/{9226-a03f8ea188-lite.chunk.js → 9226-1e1fe27361-lite.chunk.js} +0 -0
- /package/dist/scripts/{9242-236946a839-lite.chunk.js → 9242-1e9f365b16-lite.chunk.js} +0 -0
- /package/dist/scripts/{9296-37ae1d156f-lite.chunk.js → 9296-2681226283-lite.chunk.js} +0 -0
- /package/dist/scripts/{9428-9a436fe6e2-lite.chunk.js.LICENSE.txt → 9428-cd86676f05-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9455-12f9f94833-lite.chunk.js → 9455-7961651b8d-lite.chunk.js} +0 -0
- /package/dist/scripts/{9478-c2e956f0fb-lite.chunk.js.LICENSE.txt → 9478-54ed57bd4c-lite.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{9483-b2d2f6ec2b-lite.chunk.js → 9483-9fd26dd46b-lite.chunk.js} +0 -0
- /package/dist/scripts/{9556-f9115953cc-lite.chunk.js → 9556-b90a89a605-lite.chunk.js} +0 -0
- /package/dist/scripts/{9590-e34455c9ee-lite.chunk.js → 9590-abe4e4e0ef-lite.chunk.js} +0 -0
- /package/dist/scripts/{9686-cf6f34fead-lite.chunk.js → 9686-18d9908ba6-lite.chunk.js} +0 -0
- /package/dist/scripts/{9863-4aae121b7e-lite.chunk.js → 9863-44ee032961-lite.chunk.js} +0 -0
- /package/dist/scripts/{9897-8dcae4612b-lite.chunk.js → 9897-c6f41816e8-lite.chunk.js} +0 -0
- /package/dist/scripts/{9905-e6ac80a154-lite.chunk.js → 9905-c97398f045-lite.chunk.js} +0 -0
- /package/dist/scripts/{9961-701360574b-lite.chunk.js → 9961-45cbc7ccad-lite.chunk.js} +0 -0
- /package/dist/scripts/{bundle-5760806ecd.min.js.LICENSE.txt → bundle-eac69cac9a.min.js.LICENSE.txt} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 8681-
|
|
1
|
+
/*! For license information please see 8681-d55034eb3e-lite.chunk.js.LICENSE.txt */
|
|
2
2
|
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[8681],{17464:(e,t,r)=>{r.d(t,{c:()=>a});var n=r(1024),o=r(7121);function a(e){var t="d-flex align-items-center badge-list ".concat(o.Z.minHeight);return e.className&&(t+=" ".concat(e.className)),n.createElement("div",{className:t},e.children)}},84678:(e,t,r)=>{r.d(t,{L:()=>i});var n=r(1024),o=r.n(n),a=r(76246);function i(e){return o().createElement(a.C,{type:a.g.Restriction,data:{restrictions:e.restrictions,yearGroups:e.yearGroups},inline:!0})}},21491:(e,t,r)=>{r.d(t,{I:()=>i});var n=r(99940),o=r(97395),a=r(62803),i={getRestrictions:function(e){return{key:"restrictions:".concat(e),url:o._.urlBuilder("{gateway}/v1/objects/restrictions",{id:e})}},addRestriction:function(e){return{type:n.k.POST,key:"restrictions:".concat(e.objectTypeId,":").concat(e.objectId,":add"),url:"{gateway}/v1/restrictions",data:[e],invalidationKeys:["restrictions"]}},deleteRestrictions:function(e){return{url:o._.urlBuilder("{gateway}/v1/restrictions",{objectId:e}),key:"restrictions:delete",type:n.k.DELETE,invalidationKeys:["restrictions"]}},getRestrictedObjects:function(e,t){var r={type:e,"query.video":a.v.VIDEO_COLLECTION,"query.interactive":a.v.INTERACTIVE,"query.clip":a.v.CLIP_COLLECTION};return t&&(r.cursor=t),{url:o._.urlBuilder("{gateway}/v1/restrictions/objects",r),key:"restrictions:objects:".concat(e.sort().join(","),":").concat(t)}},approveAll:function(){return{url:"{gateway}/v1/library-reviews/restrictions",key:"restrictions:approve:all",type:n.k.DELETE}}}},48681:(e,t,r)=>{r.r(t),r.d(t,{ManageAccessPopupView:()=>K});var n=r(1024),o=r.n(n),a=r(20354),i=r(23481),c=r(83345),u=r(9111),l=r(11607),s=r(31949),f=r(1666),p=r(13876),d=r(5345),v=r(21491),h=r(58130),y=r(28329),m=r(49439),g=r(83914),b=r(36532),E=r(76246);const w={firstItem:"RcBIB",lastItem:"_YfTU",opacity100:"QV8wx",opacity50:"WoP6Y",yearGroupButton:"DOT14"};var S="shared.verticalYearGroupSelector";function x(e){return e.isDisabled?o().createElement("span",{className:"text-muted"},o().createElement(c.x,{namespace:S,phrase:"isDisabled"})," ",o().createElement("span",{className:w.opacity50},o().createElement(E.C,{data:e.contentRating,type:E.g.Rating,inline:!0}))," ",o().createElement(c.x,{namespace:S,phrase:"ratingRestricted"})):e.isSelected?o().createElement(c.x,{namespace:S,phrase:"isSelected"}):o().createElement(c.x,{namespace:S,phrase:"canAccess"})}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var k=i.T.encloseNamespace("shared.verticalYearGroupSelector");function N(e){var t,r,n=(t=(0,m.X)({delay: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 n,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(t,r)||function(e,t){if(e){if("string"==typeof e)return I(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)?I(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.")}()),a=n[0],i=n[1];return o().useEffect((function(){e.isDisabled||e.onHover(i)}),[i]),o().createElement("div",{className:"row align-items-center mx-auto"},o().createElement(b.u,{title:e.isDisabled?k("tooltip"):"",placement:"left",spanHack:!0},o().createElement(l.L,{ref:a,onClick:e.onClick,className:"btn px-2 py-1 border ".concat(w.yearGroupButton," ").concat(e.getButtonClass())},o().createElement(g.x,{size:g.S.Standard,svgName:e.getButtonSvg()}))),o().createElement("div",{className:"col-3"},e.item.name),o().createElement("div",{className:"col"},o().createElement(x,{contentRating:e.contentRating,isDisabled:e.isDisabled,isSelected:e.isSelected})))}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var j=i.T.encloseNamespace("shared.verticalYearGroupSelector");function O(e){var t,r,n=(t=o().useState(),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 n,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(t,r)||function(e,t){if(e){if("string"==typeof e)return L(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)?L(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.")}()),a=n[0],i=n[1],c=(0,y.N)(a,20),u={name:j("staff"),value:Number.MAX_SAFE_INTEGER};function l(e,t){i(t?e:void 0)}function s(e){return!!c&&e<=c}function f(t){return!!e.selection&&t.value<=e.selection.value}function p(t){var r,n,o=null!==(r=e.yearGroups[t])&&void 0!==r?r:u;(null===(n=e.selection)||void 0===n?void 0:n.value)===o.value&&(o=t?e.yearGroups[t-1]:void 0),o&&d(o)&&(o=void 0),e.onSelect(o)}function d(t){return"rating"in t&&t.rating.value<e.contentRating.value}function v(t,r){var n=s(t),o=f(r),a=d(r),i=0===t,c=t===e.yearGroups.length,u="rounded-0 border-bottom-0";return!n||a||o||(u+=" hovering"),i&&(u="rounded-top border-bottom-0 ".concat(w.firstItem)),c&&(u="rounded-bottom ".concat(w.lastItem)),"".concat(u,o||a?" btn-dark":" btn-outline-dark")}function m(e,t){var r=s(e),n=f(t),o=d(t);return r||n||o?h.vn.Lock:h.vn.VisibleOn}return o().createElement("div",{className:"pb-2"},e.yearGroups.map((function(t,r){return o().createElement(N,{key:t.id,item:t,contentRating:e.contentRating,isActive:s(r),isSelected:f(t),onClick:function(){return p(r)},onHover:function(e){return l(r,e)},getButtonClass:function(){return v(r,t)},getButtonSvg:function(){return m(r,t)},isDisabled:d(t)})})),o().createElement(N,{item:u,contentRating:e.contentRating,isActive:s(e.yearGroups.length),isSelected:f(u),onClick:function(){return p(e.yearGroups.length)},onHover:function(t){return l(e.yearGroups.length,t)},getButtonClass:function(){return v(e.yearGroups.length,u)},getButtonSvg:function(){return m(e.yearGroups.length,u)},isDisabled:!1}))}var A=r(69883),G=r(4594),T=r(11025),C=r(60139),_=r(97291),R=r(14070),P=r(84678),B=r(17464),F=r(36848);function D(e){return D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D(e)}function M(){M=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,n=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function l(e,t,r,o){var a=t&&t.prototype instanceof p?t:p,i=Object.create(a.prototype),c=new k(o||[]);return n(i,"_invoke",{value:w(e,r,c)}),i}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=l;var f={};function p(){}function d(){}function v(){}var h={};u(h,a,(function(){return this}));var y=Object.getPrototypeOf,m=y&&y(y(N([])));m&&m!==t&&r.call(m,a)&&(h=m);var g=v.prototype=p.prototype=Object.create(h);function b(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function o(n,a,i,c){var u=s(e[n],e,a);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==D(f)&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){o("next",e,i,c)}),(function(e){o("throw",e,i,c)})):t.resolve(f).then((function(e){l.value=e,i(l)}),(function(e){return o("throw",e,i,c)}))}c(u.arg)}var a;n(this,"_invoke",{value:function(e,r){function n(){return new t((function(t,n){o(e,r,t,n)}))}return a=a?a.then(n,n):n()}})}function w(e,t,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=S(i,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(e,t,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(e,t){var r=t.method,n=e.iterator[r];if(void 0===n)return t.delegate=null,"throw"===r&&e.iterator.return&&(t.method="return",t.arg=void 0,S(e,t),"throw"===t.method)||"return"!==r&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var a=o.arg;return a?a.done?(t[e.resultName]=a.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):a:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function N(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,o=function t(){for(;++n<e.length;)if(r.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}return{next:L}}function L(){return{value:void 0,done:!0}}return d.prototype=v,n(g,"constructor",{value:v,configurable:!0}),n(v,"constructor",{value:d,configurable:!0}),d.displayName=u(v,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,c,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},b(E.prototype),u(E.prototype,i,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,a){void 0===a&&(a=Promise);var i=new E(l(t,r,n,o),a);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},b(g),u(g,c,"Generator"),u(g,a,(function(){return this})),u(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},e.values=N,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(r,n){return i.type="throw",i.arg=e,t.next=r,n&&(t.method="next",t.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===e||"continue"===e)&&a.tryLoc<=t&&t<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=e,i.arg=t,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),I(r),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:N(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},e}function U(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,l=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);u=!0);}catch(e){l=!0,o=e}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw o}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return V(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)?V(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 V(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Y=function(e,t,r,n){return new(r||(r=Promise))((function(o,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function c(e){try{u(n.throw(e))}catch(e){a(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(i,c)}u((n=n.apply(e,t||[])).next())}))},H="shared.manageAccessPopup",X=i.T.encloseNamespace(H),q={application:_.O.SETTINGS,action:R.e.Settings.CONTENT_PERMISSIONS};function K(e){var t,r,n=a.a.useGetFetchAsync(),i=U(o().useState(),2),h=i[0],y=i[1],m=U(o().useState(),2),g=m[0],b=m[1],E=U(o().useState(!1),2),w=E[0],S=E[1],x=(0,A.Z)(),I=a.a.useBasicFetch(s.N.currentUser()),k=a.a.useBasicFetch((null===(t=I.data)||void 0===t?void 0:t.isAuthenticated)&&f.h.yearGroups(I.data.customerId)),N=T.M.getVideoRequest(e.objectId,e.objectTypeId),L=a.a.useBasicFetch(N),j=a.a.useBasicFetch(v.I.getRestrictions(e.objectId));o().useEffect((function(){var e;if(j.hasCompleted&&k.hasCompleted&&L.hasCompleted){var t=null===(e=j.data)||void 0===e?void 0:e.find((function(e){return e.type===d.c.User}));if(t){var r=k.data.find((function(e){return e.value===t.yearGroup}));if(r)return b(r),void y(r);var n={name:null,value:Number.MAX_SAFE_INTEGER};b(n),y(n)}}}),[j.data,k.data,L.data]);var D=j.hasCompleted&&L.hasCompleted&&(!(null===(r=I.data)||void 0===r?void 0:r.isAuthenticated)||k.hasCompleted),V=D&&T.M.getRating(L.data),K=D&&k.data.filter((function(e){return e.rating.value<=V.value})),$=D&&k.data.filter((function(e){return!K.includes(e)&&e.value<=(null==g?void 0:g.value)}));return o().createElement(u.G,{title:X("title"),closePopup:e.closePopup,showLoadingSpinner:!D},D&&o().createElement(o().Fragment,null,o().createElement("div",{className:"mb-3"},o().createElement("p",null,o().createElement(F.F,{appLink:q,className:"info-link",onClick:e.closePopup},o().createElement(c.x,{namespace:H,phrase:"infoStart"})),o().createElement(c.x,{namespace:H,phrase:"infoEnd"})),o().createElement("p",null,o().createElement(c.x,{namespace:H,phrase:"prompt"})),o().createElement(O,{selection:g,yearGroups:k.data,contentRating:V,onSelect:function(e){b(e)}}),g&&o().createElement(B.c,{className:"pt-1 mb-2"},o().createElement(P.L,{restrictions:{value:[{type:d.c.User,yearGroup:g.value===Number.MAX_SAFE_INTEGER?null:g.value}]},yearGroups:k.data})),!!g&&o().createElement(l.L,{onClick:function(){b(void 0)},className:"d-inline info-link"},o().createElement(c.x,{namespace:H,phrase:"clear",options:{smartCount:null==$?void 0:$.length}}))),o().createElement(p.u,null,o().createElement(p.u.Cancel,{text:X("cancel"),onClick:e.closePopup}),o().createElement(p.u.Submit,{text:X("update"),onClick:function(){g?function(){Y(this,void 0,void 0,M().mark((function t(){var r,o;return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return S(!0),(r=g.value)===Number.MAX_SAFE_INTEGER&&(r=null),o={targetId:I.data.customerId,targetTypeId:G.E.Customer,objectId:L.data.id,objectTypeId:L.data.typeId,ownerId:I.data.id,type:d.c.User,yearGroup:r},t.prev=4,t.next=7,n(v.I.addRestriction(o));case 7:return t.next=9,n(N);case 9:x.success({heading:C.R6.Success,type:C.NK.Success,message:X("success",{name:L.data.name}),appLink:{application:_.O.SETTINGS,action:R.e.Settings.VIDEO_RESTRICTIONS},appLinkText:X("successAppLink"),appLinkClassName:"info-link"}),e.closePopup(),t.next=16;break;case 13:t.prev=13,t.t0=t.catch(4),x.error(X("error"));case 16:S(!1);case 17:case"end":return t.stop()}}),t,null,[[4,13]])})))}():function(){Y(this,void 0,void 0,M().mark((function t(){return M().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return S(!0),t.prev=1,t.next=4,n(v.I.deleteRestrictions(L.data.id));case 4:return t.next=6,n(N);case 6:x.success(X("removedSuccess")),e.closePopup(),t.next=13;break;case 10:t.prev=10,t.t0=t.catch(1),x.error(X("error"));case 13:S(!0);case 14:case"end":return t.stop()}}),t,null,[[1,10]])})))}()},variant:"dark",showSpinner:w,disabled:(null==h?void 0:h.value)===(null==g?void 0:g.value)}))))}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 9428-
|
|
1
|
+
/*! For license information please see 9428-cd86676f05-lite.chunk.js.LICENSE.txt */
|
|
2
2
|
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9428],{89428:(t,e,r)=>{r.r(e),r.d(e,{ApproveAllVideosView:()=>L});var n=r(1024),o=r.n(n),i=r(20354),a=r(55460),c=r(23481),u=r(9111),l=r(83345),s=r(36848),f=r(13876),h=r(69883),p=r(97291),y=r(14070),v=r(21491);function d(t){return d="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},d(t)}function m(){m=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function l(t,e,r,o){var i=e&&e.prototype instanceof h?e:h,a=Object.create(i.prototype),c=new S(o||[]);return n(a,"_invoke",{value:x(t,r,c)}),a}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function h(){}function p(){}function y(){}var v={};u(v,i,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(_([])));w&&w!==e&&r.call(w,i)&&(v=w);var b=y.prototype=h.prototype=Object.create(v);function E(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function o(n,i,a,c){var u=s(t[n],t,i);if("throw"!==u.type){var l=u.arg,f=l.value;return f&&"object"==d(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){l.value=t,a(l)}),(function(t){return o("throw",t,a,c)}))}c(u.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function x(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=k(a,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=s(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function k(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=s(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function j(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function _(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:T}}function T(){return{value:void 0,done:!0}}return p.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,u(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},E(L.prototype),u(L.prototype,a,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new L(l(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},E(b),u(b,c,"Generator"),u(b,i,(function(){return this})),u(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=_,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(j),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),j(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:_(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var w=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},b="settings.approveAllVideos",E=c.T.encloseNamespace(b);function L(t){var e,r,n=(e=o().useState(!1),r=2,function(t){if(Array.isArray(t))return t}(e)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(e,r)||function(t,e){if(t){if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(t,e):void 0}}(e,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.")}()),c=n[0],d=n[1],L=i.a.useGetFetchAsync(),x=(0,h.Z)();return o().createElement(u.G,{title:E("heading"),closePopup:t.closePopup},o().createElement("p",null,o().createElement(l.x,{namespace:b,phrase:"message1"})),o().createElement("p",null,o().createElement(l.x,{namespace:b,phrase:"message2"})," ",o().createElement(s.F,{className:"info-link",appLink:{application:p.O.SETTINGS,action:y.e.Settings.CONTENT_REVIEW_SETTINGS},onClick:t.closePopup},o().createElement(l.x,{namespace:b,phrase:"contentReviewAppLink"})," ")),o().createElement(f.u,null,o().createElement(f.u.Cancel,{onClick:t.closePopup}),o().createElement(f.u.Submit,{variant:"dark",text:E("approveAll"),showSpinner:c,onClick:function(){return w(this,void 0,void 0,m().mark((function t(){return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return d(!0),t.prev=1,t.next=4,L(v.I.approveAll());case 4:x.success(E("success")),a.LocationUtils.Reload(),t.next=12;break;case 8:t.prev=8,t.t0=t.catch(1),x.error(E("error")),d(!1);case 12:case"end":return t.stop()}}),t,null,[[1,8]])})))}})))}},21491:(t,e,r)=>{r.d(e,{I:()=>a});var n=r(99940),o=r(97395),i=r(62803),a={getRestrictions:function(t){return{key:"restrictions:".concat(t),url:o._.urlBuilder("{gateway}/v1/objects/restrictions",{id:t})}},addRestriction:function(t){return{type:n.k.POST,key:"restrictions:".concat(t.objectTypeId,":").concat(t.objectId,":add"),url:"{gateway}/v1/restrictions",data:[t],invalidationKeys:["restrictions"]}},deleteRestrictions:function(t){return{url:o._.urlBuilder("{gateway}/v1/restrictions",{objectId:t}),key:"restrictions:delete",type:n.k.DELETE,invalidationKeys:["restrictions"]}},getRestrictedObjects:function(t,e){var r={type:t,"query.video":i.v.VIDEO_COLLECTION,"query.interactive":i.v.INTERACTIVE,"query.clip":i.v.CLIP_COLLECTION};return e&&(r.cursor=e),{url:o._.urlBuilder("{gateway}/v1/restrictions/objects",r),key:"restrictions:objects:".concat(t.sort().join(","),":").concat(e)}},approveAll:function(){return{url:"{gateway}/v1/library-reviews/restrictions",key:"restrictions:approve:all",type:n.k.DELETE}}}}}]);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/*! For license information please see 9478-
|
|
2
|
-
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9478],{39478:(t,e,r)=>{r.r(e),r.d(e,{BaseShareLinkView:()=>d});var n=r(1024),o=r.n(n),i=r(20354),a=r(30439),c=r(4594);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},u(t)}function l(){l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:L(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function v(){}function p(){}function y(){}var m={};s(m,i,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(O([])));w&&w!==e&&r.call(w,i)&&(m=w);var b=y.prototype=v.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function o(n,i,a,c){var l=h(t[n],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function L(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=s(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(E.prototype),s(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),s(b,c,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var f=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},h=function(t,e){var n,i,a=(n=o().useState(),i=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(n,i)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(n,i)||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.")}()),u=a[0],h=a[1];return o().useEffect((function(){u&&h(null)}),[e.videoId]),o().useEffect((function(){if(t&&!u){var n=t.objectTypeId;switch(e.videoId?n=c.E.Video:e.clipId?n=c.E.Clip:e.interactiveId&&(n=c.E.Interactive),n){case c.E.Video:var i=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(2272),r.e(5986),r.e(4632),r.e(1518),r.e(9150),r.e(8789),r.e(8882)]).then(r.bind(r,93978));case 2:return e=t.sent,n=e.PlaySharedVideoView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(i);break;case c.E.Interactive:var a=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(2272),r.e(5986),r.e(4632),r.e(1518),r.e(9150),r.e(7966),r.e(9590)]).then(r.bind(r,38280));case 2:return e=t.sent,n=e.SharedInteractiveView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(a);break;case c.E.Clip:var s=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(2272),r.e(5986),r.e(4632),r.e(1518),r.e(9150),r.e(3784)]).then(r.bind(r,41021));case 2:return e=t.sent,n=e.PlaySharedClipView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(s);break;case c.E.Playlist:var d=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(2272),r.e(5986),r.e(4632),r.e(7201),r.e(7591)]).then(r.bind(r,67537));case 2:return e=t.sent,n=e.SharedPlaylistView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(d);break;case c.E.Series:var v=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(2272),r.e(5986),r.e(4632),r.e(7153),r.e(1095)]).then(r.bind(r,96922));case 2:return e=t.sent,n=e.SharedSeriesView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(v)}}}),[t,u]),u};function d(t){var e=t.shareId,r=t.queryParams,n=i.a.useBasicFetch(e&&a.o.getShareObject(e)),c=h(n.data,r);if(!c)return o().createElement(o().Fragment,null);var u={shareId:e,queryParams:r,objectId:r.videoId?r.videoId:r.clipId?r.clipId:r.interactiveId?r.interactiveId:n.data.objectId};return o().createElement(o().Suspense,{fallback:o().createElement(o().Fragment,null)},o().createElement(c,Object.assign({},u)))}}}]);
|
|
1
|
+
/*! For license information please see 9478-54ed57bd4c-lite.chunk.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[9478],{39478:(t,e,r)=>{r.r(e),r.d(e,{BaseShareLinkView:()=>d});var n=r(1024),o=r.n(n),i=r(20354),a=r(30439),c=r(4594);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},u(t)}function l(){l=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function f(t,e,r,o){var i=e&&e.prototype instanceof v?e:v,a=Object.create(i.prototype),c=new j(o||[]);return n(a,"_invoke",{value:L(t,r,c)}),a}function h(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var d={};function v(){}function p(){}function y(){}var m={};s(m,i,(function(){return this}));var g=Object.getPrototypeOf,w=g&&g(g(O([])));w&&w!==e&&r.call(w,i)&&(m=w);var b=y.prototype=v.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function o(n,i,a,c){var l=h(t[n],t,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==u(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,a,c)}),(function(t){o("throw",t,a,c)})):e.resolve(f).then((function(t){s.value=t,a(s)}),(function(t){return o("throw",t,a,c)}))}c(l.arg)}var i;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}})}function L(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return{value:void 0,done:!0}}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=S(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=h(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function S(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,S(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=h(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,d;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function k(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function I(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function j(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function O(t){if(t){var e=t[i];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return p.prototype=y,n(b,"constructor",{value:y,configurable:!0}),n(y,"constructor",{value:p,configurable:!0}),p.displayName=s(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,s(t,c,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},x(E.prototype),s(E.prototype,a,(function(){return this})),t.AsyncIterator=E,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new E(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},x(b),s(b,c,"Generator"),s(b,i,(function(){return this})),s(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,j.prototype={constructor:j,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(I),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,d):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),I(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;I(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var f=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function a(t){try{u(n.next(t))}catch(t){i(t)}}function c(t){try{u(n.throw(t))}catch(t){i(t)}}function u(t){var e;t.done?o(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(a,c)}u((n=n.apply(t,e||[])).next())}))},h=function(t,e){var n,i,a=(n=o().useState(),i=2,function(t){if(Array.isArray(t))return t}(n)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,l=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){l=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(l)throw o}}return c}}(n,i)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?s(t,e):void 0}}(n,i)||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.")}()),u=a[0],h=a[1];return o().useEffect((function(){u&&h(null)}),[e.videoId]),o().useEffect((function(){if(t&&!u){var n=t.objectTypeId;switch(e.videoId?n=c.E.Video:e.clipId?n=c.E.Clip:e.interactiveId&&(n=c.E.Interactive),n){case c.E.Video:var i=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(4632),r.e(5986),r.e(1518),r.e(9150),r.e(8789),r.e(8882)]).then(r.bind(r,93978));case 2:return e=t.sent,n=e.PlaySharedVideoView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(i);break;case c.E.Interactive:var a=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(4632),r.e(5986),r.e(1518),r.e(9150),r.e(7966),r.e(9590)]).then(r.bind(r,38280));case 2:return e=t.sent,n=e.SharedInteractiveView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(a);break;case c.E.Clip:var s=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(4632),r.e(5986),r.e(1518),r.e(9150),r.e(3784)]).then(r.bind(r,41021));case 2:return e=t.sent,n=e.PlaySharedClipView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(s);break;case c.E.Playlist:var d=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(4632),r.e(5986),r.e(7201),r.e(7591)]).then(r.bind(r,67537));case 2:return e=t.sent,n=e.SharedPlaylistView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(d);break;case c.E.Series:var v=o().lazy((function(){return f(void 0,void 0,void 0,l().mark((function t(){var e,n;return l().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,Promise.all([r.e(8564),r.e(4632),r.e(5986),r.e(7153),r.e(1095)]).then(r.bind(r,96922));case 2:return e=t.sent,n=e.SharedSeriesView,t.abrupt("return",{default:n});case 5:case"end":return t.stop()}}),t)})))}));h(v)}}}),[t,u]),u};function d(t){var e=t.shareId,r=t.queryParams,n=i.a.useBasicFetch(e&&a.o.getShareObject(e)),c=h(n.data,r);if(!c)return o().createElement(o().Fragment,null);var u={shareId:e,queryParams:r,objectId:r.videoId?r.videoId:r.clipId?r.clipId:r.interactiveId?r.interactiveId:n.data.objectId};return o().createElement(o().Suspense,{fallback:o().createElement(o().Fragment,null)},o().createElement(c,Object.assign({},u)))}}}]);
|