@clickview/lite 0.5.2-rc.0 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/css/1736-lite-70aac78870.chunk.css +56 -0
  3. package/dist/css/1874-lite-b70ba3e55c.chunk.css +26 -0
  4. package/dist/css/2109-lite-5600ffd35c.chunk.css +26 -0
  5. package/dist/css/2246-lite-9434ba512e.chunk.css +60 -0
  6. package/dist/css/2405-lite-f6e8a8bc16.chunk.css +36 -0
  7. package/dist/css/2711-lite-ee849b44db.chunk.css +42 -0
  8. package/dist/css/2780-lite-82ab4b0a3b.chunk.css +66 -0
  9. package/dist/css/3044-lite-f6f7ccd27d.chunk.css +14 -0
  10. package/dist/css/3601-lite-426b120700.chunk.css +38 -0
  11. package/dist/css/3994-lite-f48c952d11.chunk.css +36 -0
  12. package/dist/css/4512-lite-8ae16de67b.chunk.css +46 -0
  13. package/dist/css/5027-lite-37a1bfe443.chunk.css +46 -0
  14. package/dist/css/5266-lite-7a7ac74447.chunk.css +36 -0
  15. package/dist/css/5466-lite-1ca65f3fa2.chunk.css +38 -0
  16. package/dist/css/5942-lite-ed7f448bf3.chunk.css +28 -0
  17. package/dist/css/6167-lite-436097518f.chunk.css +38 -0
  18. package/dist/css/6285-lite-885b7ea1f0.chunk.css +4 -0
  19. package/dist/css/6355-lite-9dc5ba23e3.chunk.css +50 -0
  20. package/dist/css/6473-lite-436097518f.chunk.css +38 -0
  21. package/dist/css/6570-lite-435d27636f.chunk.css +14 -0
  22. package/dist/css/6715-lite-843cc4be75.chunk.css +38 -0
  23. package/dist/css/705-lite-8a0c6befc3.chunk.css +40 -0
  24. package/dist/css/7066-lite-edc09d2bf1.chunk.css +38 -0
  25. package/dist/css/7722-lite-37a1bfe443.chunk.css +46 -0
  26. package/dist/css/8072-lite-1e48afb701.chunk.css +38 -0
  27. package/dist/css/8383-lite-227bd1df53.chunk.css +2 -0
  28. package/dist/css/8414-lite-43f262c18d.chunk.css +52 -0
  29. package/dist/css/8416-lite-9434ba512e.chunk.css +60 -0
  30. package/dist/css/8584-lite-d98ca340e7.chunk.css +42 -0
  31. package/dist/css/8618-lite-7cf276d202.chunk.css +26 -0
  32. package/dist/css/8835-lite-43f262c18d.chunk.css +52 -0
  33. package/dist/css/898-lite-cc5552ac6a.chunk.css +38 -0
  34. package/dist/css/9096-lite-8e8ad037b8.chunk.css +38 -0
  35. package/dist/css/9200-lite-494992e1f0.chunk.css +22 -0
  36. package/dist/css/9476-lite-227bd1df53.chunk.css +2 -0
  37. package/dist/css/9490-lite-db834aaea4.chunk.css +26 -0
  38. package/dist/css/lite-app-20d839f193.css +161 -0
  39. package/dist/css/{lite-app-9cd32c6274.css → lite-app-f1a336bcbf.css} +1 -1
  40. package/dist/en.json +1 -1
  41. package/dist/scripts/1106-7d203252ab-lite.chunk.js +1 -0
  42. package/dist/scripts/1235-ddd3083c87-lite.chunk.js +1 -0
  43. package/dist/scripts/1291-b8f30160e5-lite.chunk.js +1 -0
  44. package/dist/scripts/1592-d92f7c0840-lite.chunk.js +1 -0
  45. package/dist/scripts/160-42301e68e8-lite.chunk.js +1 -0
  46. package/dist/scripts/1628-e6ea2db77d-lite.chunk.js +1 -0
  47. package/dist/scripts/1725-21209f22ac-lite.chunk.js +1 -0
  48. package/dist/scripts/1726-116d81b612-lite.chunk.js +1 -0
  49. package/dist/scripts/1736-5d3350eace-lite.chunk.js +1 -0
  50. package/dist/scripts/1874-38c4a1834e-lite.chunk.js +1 -0
  51. package/dist/scripts/2044-7be628bc71-lite.chunk.js +1 -0
  52. package/dist/scripts/{2097-df33b4fdda-lite.chunk.js → 2097-4ee3760988-lite.chunk.js} +1 -1
  53. package/dist/scripts/2109-dddddb6312-lite.chunk.js +1 -0
  54. package/dist/scripts/2175-723b0b209d-lite.chunk.js +1 -0
  55. package/dist/scripts/2215-08998bd8fb-lite.chunk.js +1 -0
  56. package/dist/scripts/2229-74688cb3d0-lite.chunk.js +1 -0
  57. package/dist/scripts/2246-b6485b46d9-lite.chunk.js +1 -0
  58. package/dist/scripts/227-b167b3d0a9-lite.chunk.js +1 -0
  59. package/dist/scripts/2405-bcd5adfb90-lite.chunk.js +1 -0
  60. package/dist/scripts/2560-542bcd21c0-lite.chunk.js +1 -0
  61. package/dist/scripts/2561-bf72b53216-lite.chunk.js +1 -0
  62. package/dist/scripts/2562-f789f3ab41-lite.chunk.js +1 -0
  63. package/dist/scripts/2566-ed4351dc7a-lite.chunk.js +1 -0
  64. package/dist/scripts/2644-23e6823b34-lite.chunk.js +1 -0
  65. package/dist/scripts/2665-5f5c6ff6c9-lite.chunk.js +1 -0
  66. package/dist/scripts/2711-9130aa8bbd-lite.chunk.js +1 -0
  67. package/dist/scripts/2780-d662b75ff1-lite.chunk.js +1 -0
  68. package/dist/scripts/2802-a0fa50a638-lite.chunk.js +2 -0
  69. package/dist/scripts/2802-a0fa50a638-lite.chunk.js.LICENSE.txt +17 -0
  70. package/dist/scripts/3044-5e456718e6-lite.chunk.js +1 -0
  71. package/dist/scripts/3108-0e5c09f5a7-lite.chunk.js +1 -0
  72. package/dist/scripts/3171-a38ae5ebeb-lite.chunk.js +1 -0
  73. package/dist/scripts/3216-25cdfa7669-lite.chunk.js +1 -0
  74. package/dist/scripts/3468-a5adbdb9b7-lite.chunk.js +1 -0
  75. package/dist/scripts/3601-72c3b7ea12-lite.chunk.js +1 -0
  76. package/dist/scripts/3732-5e72877fbb-lite.chunk.js +1 -0
  77. package/dist/scripts/3994-a9d50b2dfb-lite.chunk.js +1 -0
  78. package/dist/scripts/4067-1fea93ec7f-lite.chunk.js +1 -0
  79. package/dist/scripts/4182-7cb03a20bd-lite.chunk.js +1 -0
  80. package/dist/scripts/4512-5c37ad577c-lite.chunk.js +1 -0
  81. package/dist/scripts/4541-ba25b9e6e5-lite.chunk.js +1 -0
  82. package/dist/scripts/4632-ec79136629-lite.chunk.js +1 -0
  83. package/dist/scripts/4770-b7cfbdbed6-lite.chunk.js +1 -0
  84. package/dist/scripts/4893-067d26b9ff-lite.chunk.js +1 -0
  85. package/dist/scripts/4895-333d5f3d08-lite.chunk.js +1 -0
  86. package/dist/scripts/5027-b40bef5a12-lite.chunk.js +1 -0
  87. package/dist/scripts/5266-760c910e3a-lite.chunk.js +1 -0
  88. package/dist/scripts/5466-faad2468f4-lite.chunk.js +1 -0
  89. package/dist/scripts/5606-3333d4d070-lite.chunk.js +1 -0
  90. package/dist/scripts/584-bb1c311390-lite.chunk.js +1 -0
  91. package/dist/scripts/5877-0cb46dc622-lite.chunk.js +1 -0
  92. package/dist/scripts/5914-1e321686f5-lite.chunk.js +1 -0
  93. package/dist/scripts/5942-5f49e048b9-lite.chunk.js +1 -0
  94. package/dist/scripts/5974-f5aa983720-lite.chunk.js +1 -0
  95. package/dist/scripts/5986-37ec610b54-lite.chunk.js +1 -0
  96. package/dist/scripts/6156-c8a26283cc-lite.chunk.js +1 -0
  97. package/dist/scripts/6167-7c9d16278a-lite.chunk.js +1 -0
  98. package/dist/scripts/6274-ee8382274b-lite.chunk.js +1 -0
  99. package/dist/scripts/6285-da86145f93-lite.chunk.js +1 -0
  100. package/dist/scripts/6355-2bef51aa78-lite.chunk.js +1 -0
  101. package/dist/scripts/6370-73facccb88-lite.chunk.js +1 -0
  102. package/dist/scripts/6465-e9102df7a6-lite.chunk.js +1 -0
  103. package/dist/scripts/6570-b7bf9658d1-lite.chunk.js +1 -0
  104. package/dist/scripts/660-2debb59a5a-lite.chunk.js +1 -0
  105. package/dist/scripts/6715-2f720bfcc6-lite.chunk.js +1 -0
  106. package/dist/scripts/{6736-5dbd730fec-lite.chunk.js → 6736-e5d1d1784b-lite.chunk.js} +1 -1
  107. package/dist/scripts/6736-f60da723db-lite.chunk.js +2 -0
  108. package/dist/scripts/6801-14cba66ade-lite.chunk.js +1 -0
  109. package/dist/scripts/6856-53ae5e3ed1-lite.chunk.js +2 -0
  110. package/dist/scripts/{6856-ebcf89a5bc-lite.chunk.js → 6856-c5be81b923-lite.chunk.js} +1 -1
  111. package/dist/scripts/6864-c7caa65c2b-lite.chunk.js +1 -0
  112. package/dist/scripts/6866-4c96fad3fb-lite.chunk.js +1 -0
  113. package/dist/scripts/6873-a0a28a9bf2-lite.chunk.js +1 -0
  114. package/dist/scripts/6913-4413a87512-lite.chunk.js +1 -0
  115. package/dist/scripts/7045-dd37be1caa-lite.chunk.js +1 -0
  116. package/dist/scripts/705-132a0130aa-lite.chunk.js +1 -0
  117. package/dist/scripts/7066-f9a52d0f47-lite.chunk.js +1 -0
  118. package/dist/scripts/7115-9a443915cb-lite.chunk.js +1 -0
  119. package/dist/scripts/7128-d037b9d9c9-lite.chunk.js +1 -0
  120. package/dist/scripts/7172-d4f32a3d07-lite.chunk.js +1 -0
  121. package/dist/scripts/7318-2b9176a3df-lite.chunk.js +1 -1
  122. package/dist/scripts/7318-ff9c0bc9d2-lite.chunk.js +2 -0
  123. package/dist/scripts/7318-ff9c0bc9d2-lite.chunk.js.LICENSE.txt +5 -0
  124. package/dist/scripts/7385-eddeb8fd12-lite.chunk.js +1 -0
  125. package/dist/scripts/7498-abe2cd1b9a-lite.chunk.js +1 -0
  126. package/dist/scripts/7524-fbe88f8bcb-lite.chunk.js +1 -0
  127. package/dist/scripts/7545-4b21b7ff75-lite.chunk.js +1 -0
  128. package/dist/scripts/7713-0b8448661f-lite.chunk.js +1 -0
  129. package/dist/scripts/7760-2d4f4e766b-lite.chunk.js +1 -0
  130. package/dist/scripts/7804-b0fb78215e-lite.chunk.js +1 -0
  131. package/dist/scripts/7831-7549c0d54c-lite.chunk.js +1 -0
  132. package/dist/scripts/7901-1b4d52301c-lite.chunk.js +1 -0
  133. package/dist/scripts/{7989-0e448172f5-lite.chunk.js → 7989-993b3d179f-lite.chunk.js} +1 -1
  134. package/dist/scripts/7989-e7e6f77785-lite.chunk.js +2 -0
  135. package/dist/scripts/7989-e7e6f77785-lite.chunk.js.LICENSE.txt +8 -0
  136. package/dist/scripts/8025-fa1abd761d-lite.chunk.js +1 -0
  137. package/dist/scripts/8056-f8bd03e2fc-lite.chunk.js +1 -0
  138. package/dist/scripts/8072-af8df53464-lite.chunk.js +1 -0
  139. package/dist/scripts/811-9ee0e01271-lite.chunk.js +1 -0
  140. package/dist/scripts/8320-d718df3e3f-lite.chunk.js +1 -0
  141. package/dist/scripts/{8323-6c9b4e877a-lite.chunk.js → 8323-76be74d3ed-lite.chunk.js} +1 -1
  142. package/dist/scripts/8323-76be74d3ed-lite.chunk.js.LICENSE.txt +1 -0
  143. package/dist/scripts/8383-32ea31d394-lite.chunk.js +1 -0
  144. package/dist/scripts/8414-188c1d3add-lite.chunk.js +1 -0
  145. package/dist/scripts/8416-7d2a9eae56-lite.chunk.js +1 -0
  146. package/dist/scripts/8584-a2e7b25a1f-lite.chunk.js +1 -0
  147. package/dist/scripts/8594-fc207eb0bb-lite.chunk.js +1 -0
  148. package/dist/scripts/8618-204eee61a2-lite.chunk.js +1 -0
  149. package/dist/scripts/8687-37c7693226-lite.chunk.js +1 -0
  150. package/dist/scripts/872-d0833f1c5e-lite.chunk.js +1 -0
  151. package/dist/scripts/8835-92bcb124c9-lite.chunk.js +1 -0
  152. package/dist/scripts/8946-6cf7089c17-lite.chunk.js +1 -0
  153. package/dist/scripts/8955-4e5c6d5a55-lite.chunk.js +1 -0
  154. package/dist/scripts/8968-17e0d03ecb-lite.chunk.js +1 -0
  155. package/dist/scripts/898-5013a218c7-lite.chunk.js +1 -0
  156. package/dist/scripts/9005-61a64d23b5-lite.chunk.js +1 -0
  157. package/dist/scripts/9016-49b04c0ad3-lite.chunk.js +1 -0
  158. package/dist/scripts/9060-d4b5c726e6-lite.chunk.js +1 -0
  159. package/dist/scripts/9096-ce2875b0fb-lite.chunk.js +1 -0
  160. package/dist/scripts/9200-6d0f2c533e-lite.chunk.js +1 -0
  161. package/dist/scripts/9374-95e2a1f45a-lite.chunk.js +1 -0
  162. package/dist/scripts/9476-43d3dc6428-lite.chunk.js +1 -0
  163. package/dist/scripts/{9478-9176bdf440-lite.chunk.js → 9478-ed1ca219f2-lite.chunk.js} +1 -1
  164. package/dist/scripts/9478-ed1ca219f2-lite.chunk.js.LICENSE.txt +1 -0
  165. package/dist/scripts/9490-261925b498-lite.chunk.js +1 -0
  166. package/dist/scripts/956-43e15a3db2-lite.chunk.js +1 -0
  167. package/dist/scripts/9607-ddab940183-lite.chunk.js +1 -0
  168. package/dist/scripts/9686-cb67f530b3-lite.chunk.js +1 -0
  169. package/dist/scripts/9798-addb88197f-lite.chunk.js +1 -0
  170. package/dist/scripts/bundle-9d7b1e093f.min.js +2 -0
  171. package/dist/scripts/bundle-a0d8236822.min.js +2 -0
  172. package/dist/scripts/bundle-a0d8236822.min.js.LICENSE.txt +33 -0
  173. package/package.json +61 -61
  174. package/typings/libs/Trackers.d.ts +10 -0
  175. package/dist/scripts/bundle-57e951683b.min.js +0 -2
  176. /package/dist/scripts/{1235-ac373ec8e0-lite.chunk.js → 1235-34ebc65cee-lite.chunk.js} +0 -0
  177. /package/dist/scripts/{1592-8d486ae6af-lite.chunk.js → 1592-2518c1500a-lite.chunk.js} +0 -0
  178. /package/dist/scripts/{160-c54d3772aa-lite.chunk.js → 160-6b533ebc6b-lite.chunk.js} +0 -0
  179. /package/dist/scripts/{1659-64d8471ea3-lite.chunk.js → 1659-45b52e02eb-lite.chunk.js} +0 -0
  180. /package/dist/scripts/{1725-e724bdca4d-lite.chunk.js → 1725-e68dfaa8fb-lite.chunk.js} +0 -0
  181. /package/dist/scripts/{1736-856d322b49-lite.chunk.js → 1736-0debc63028-lite.chunk.js} +0 -0
  182. /package/dist/scripts/{1825-0bea5590c7-lite.chunk.js → 1825-cef10038d6-lite.chunk.js} +0 -0
  183. /package/dist/scripts/{1891-1e8ec8fef1-lite.chunk.js → 1891-8a3f2f9b5a-lite.chunk.js} +0 -0
  184. /package/dist/scripts/{1913-d537de0be9-lite.chunk.js → 1913-2183c7ca80-lite.chunk.js} +0 -0
  185. /package/dist/scripts/{1924-c7e8cd2caf-lite.chunk.js → 1924-8a2f7c326a-lite.chunk.js} +0 -0
  186. /package/dist/scripts/{2022-0704e75931-lite.chunk.js → 2022-61bfa5417c-lite.chunk.js} +0 -0
  187. /package/dist/scripts/{2097-df33b4fdda-lite.chunk.js.LICENSE.txt → 2097-4ee3760988-lite.chunk.js.LICENSE.txt} +0 -0
  188. /package/dist/scripts/{2190-1d8efed495-lite.chunk.js → 2190-ae1ead18ea-lite.chunk.js} +0 -0
  189. /package/dist/scripts/{2215-5dbc6c9657-lite.chunk.js → 2215-10604cf449-lite.chunk.js} +0 -0
  190. /package/dist/scripts/{2229-af969a3b74-lite.chunk.js → 2229-8b2c28a762-lite.chunk.js} +0 -0
  191. /package/dist/scripts/{2246-6e5da40ec6-lite.chunk.js → 2246-58022fb8e3-lite.chunk.js} +0 -0
  192. /package/dist/scripts/{227-49ee867b63-lite.chunk.js → 227-00be10303e-lite.chunk.js} +0 -0
  193. /package/dist/scripts/{2279-7c61a8ca18-lite.chunk.js → 2279-d53e39f223-lite.chunk.js} +0 -0
  194. /package/dist/scripts/{2541-2e9b3af124-lite.chunk.js → 2541-bbbeb9e638-lite.chunk.js} +0 -0
  195. /package/dist/scripts/{2560-f81a2d30a8-lite.chunk.js → 2560-8063199708-lite.chunk.js} +0 -0
  196. /package/dist/scripts/{2562-41a835ab98-lite.chunk.js → 2562-17c7a32919-lite.chunk.js} +0 -0
  197. /package/dist/scripts/{2644-549bd06a6b-lite.chunk.js → 2644-3ae6e3a99d-lite.chunk.js} +0 -0
  198. /package/dist/scripts/{2711-40a3b3ccf5-lite.chunk.js → 2711-68fc1dd44e-lite.chunk.js} +0 -0
  199. /package/dist/scripts/{2780-23c3cddf3d-lite.chunk.js → 2780-158ed56ca0-lite.chunk.js} +0 -0
  200. /package/dist/scripts/{291-9faeedb554-lite.chunk.js → 291-12c1b96eb0-lite.chunk.js} +0 -0
  201. /package/dist/scripts/{2935-d8ca7e831a-lite.chunk.js → 2935-fad8717caf-lite.chunk.js} +0 -0
  202. /package/dist/scripts/{2966-9e54c2fd17-lite.chunk.js → 2966-9be3dbc5f1-lite.chunk.js} +0 -0
  203. /package/dist/scripts/{3007-7ae7d052ef-lite.chunk.js → 3007-46bd59dea2-lite.chunk.js} +0 -0
  204. /package/dist/scripts/{3012-b974d7559e-lite.chunk.js → 3012-b3f6350d48-lite.chunk.js} +0 -0
  205. /package/dist/scripts/{3020-68022006d3-lite.chunk.js → 3020-ee451eada3-lite.chunk.js} +0 -0
  206. /package/dist/scripts/{3044-b1073ffc01-lite.chunk.js → 3044-5c013d4806-lite.chunk.js} +0 -0
  207. /package/dist/scripts/{3096-dbd62cfd77-lite.chunk.js → 3096-bd62227310-lite.chunk.js} +0 -0
  208. /package/dist/scripts/{3108-b5496da3bf-lite.chunk.js → 3108-22faf3c78d-lite.chunk.js} +0 -0
  209. /package/dist/scripts/{3133-9dc4315da6-lite.chunk.js → 3133-6a9fc0c0cb-lite.chunk.js} +0 -0
  210. /package/dist/scripts/{3216-d35e0f13e8-lite.chunk.js → 3216-02d38d7df4-lite.chunk.js} +0 -0
  211. /package/dist/scripts/{3237-440eca9126-lite.chunk.js → 3237-b68bc678b0-lite.chunk.js} +0 -0
  212. /package/dist/scripts/{3285-4a7ebfbb60-lite.chunk.js → 3285-91b9234c93-lite.chunk.js} +0 -0
  213. /package/dist/scripts/{336-6a147acd2c-lite.chunk.js → 336-def57493d9-lite.chunk.js} +0 -0
  214. /package/dist/scripts/{3468-71a0af0edb-lite.chunk.js → 3468-44845a4cd5-lite.chunk.js} +0 -0
  215. /package/dist/scripts/{3509-fcf1ccfdf5-lite.chunk.js → 3509-ec99c6f7b4-lite.chunk.js} +0 -0
  216. /package/dist/scripts/{3601-fe920585bd-lite.chunk.js → 3601-0bf95ec80c-lite.chunk.js} +0 -0
  217. /package/dist/scripts/{3732-b81af45d54-lite.chunk.js → 3732-007b3e9c6f-lite.chunk.js} +0 -0
  218. /package/dist/scripts/{3754-d3e7f65aea-lite.chunk.js → 3754-6077ffacda-lite.chunk.js} +0 -0
  219. /package/dist/scripts/{3891-91b2966561-lite.chunk.js → 3891-c515003589-lite.chunk.js} +0 -0
  220. /package/dist/scripts/{4111-7effe64a75-lite.chunk.js → 4111-80fea1a036-lite.chunk.js} +0 -0
  221. /package/dist/scripts/{4182-4b9926d4b7-lite.chunk.js → 4182-821e7d5399-lite.chunk.js} +0 -0
  222. /package/dist/scripts/{436-9230220b92-lite.chunk.js → 436-d22d34ba5e-lite.chunk.js} +0 -0
  223. /package/dist/scripts/{4423-c036551ba4-lite.chunk.js → 4423-e84d3aa86e-lite.chunk.js} +0 -0
  224. /package/dist/scripts/{4512-c431d4db60-lite.chunk.js → 4512-37aaf32f9c-lite.chunk.js} +0 -0
  225. /package/dist/scripts/{4541-f1bff715ae-lite.chunk.js → 4541-f99c01bb5c-lite.chunk.js} +0 -0
  226. /package/dist/scripts/{4632-5d20b63377-lite.chunk.js → 4632-e72f884f19-lite.chunk.js} +0 -0
  227. /package/dist/scripts/{4767-f3e9a749dc-lite.chunk.js → 4767-77413c886d-lite.chunk.js} +0 -0
  228. /package/dist/scripts/{4893-01e4c82863-lite.chunk.js → 4893-0c19492eee-lite.chunk.js} +0 -0
  229. /package/dist/scripts/{5-319f5bc3da-lite.chunk.js → 5-d8319e1ae9-lite.chunk.js} +0 -0
  230. /package/dist/scripts/{5189-e58fd04bf6-lite.chunk.js → 5189-258243844f-lite.chunk.js} +0 -0
  231. /package/dist/scripts/{5266-efd39e89b2-lite.chunk.js → 5266-06aa8505d9-lite.chunk.js} +0 -0
  232. /package/dist/scripts/{5466-f81c2ddf69-lite.chunk.js → 5466-ec560e63d0-lite.chunk.js} +0 -0
  233. /package/dist/scripts/{5585-87926e032f-lite.chunk.js → 5585-e5206f011c-lite.chunk.js} +0 -0
  234. /package/dist/scripts/{5606-5d9fd1d643-lite.chunk.js → 5606-9c93fc4bbb-lite.chunk.js} +0 -0
  235. /package/dist/scripts/{5753-907ddfead9-lite.chunk.js → 5753-ace5e0d744-lite.chunk.js} +0 -0
  236. /package/dist/scripts/{584-be40ea0513-lite.chunk.js → 584-78954070b3-lite.chunk.js} +0 -0
  237. /package/dist/scripts/{5877-9cea853c61-lite.chunk.js → 5877-bcf54aae21-lite.chunk.js} +0 -0
  238. /package/dist/scripts/{5914-27066f3e79-lite.chunk.js → 5914-c9aa9716e1-lite.chunk.js} +0 -0
  239. /package/dist/scripts/{5933-d06994bdb4-lite.chunk.js → 5933-2af150999c-lite.chunk.js} +0 -0
  240. /package/dist/scripts/{5956-8d8030ffd6-lite.chunk.js → 5956-e4bae69521-lite.chunk.js} +0 -0
  241. /package/dist/scripts/{5974-f11308181d-lite.chunk.js → 5974-4a78333392-lite.chunk.js} +0 -0
  242. /package/dist/scripts/{6274-10b6dc889f-lite.chunk.js → 6274-5d5921cd3b-lite.chunk.js} +0 -0
  243. /package/dist/scripts/{6302-dc67821b4d-lite.chunk.js → 6302-681f415c3b-lite.chunk.js} +0 -0
  244. /package/dist/scripts/{6355-f4f5b9ea45-lite.chunk.js → 6355-1fffbda6b1-lite.chunk.js} +0 -0
  245. /package/dist/scripts/{6370-b3140fafc4-lite.chunk.js → 6370-9597421b9b-lite.chunk.js} +0 -0
  246. /package/dist/scripts/{6465-919c0293dc-lite.chunk.js → 6465-f0840ef91c-lite.chunk.js} +0 -0
  247. /package/dist/scripts/{6507-9431cbe881-lite.chunk.js → 6507-fd37d1104c-lite.chunk.js} +0 -0
  248. /package/dist/scripts/{6570-ec12da9c41-lite.chunk.js → 6570-86c3a7b701-lite.chunk.js} +0 -0
  249. /package/dist/scripts/{660-aaa1a85f1a-lite.chunk.js → 660-a0579914e8-lite.chunk.js} +0 -0
  250. /package/dist/scripts/{6604-918f966171-lite.chunk.js → 6604-ff8fe8326a-lite.chunk.js} +0 -0
  251. /package/dist/scripts/{6725-de5a267fff-lite.chunk.js → 6725-821f06d6a1-lite.chunk.js} +0 -0
  252. /package/dist/scripts/{6736-5dbd730fec-lite.chunk.js.LICENSE.txt → 6736-e5d1d1784b-lite.chunk.js.LICENSE.txt} +0 -0
  253. /package/dist/scripts/{6856-ebcf89a5bc-lite.chunk.js.LICENSE.txt → 6736-f60da723db-lite.chunk.js.LICENSE.txt} +0 -0
  254. /package/dist/scripts/{6801-e078d915ed-lite.chunk.js → 6801-4b2f240a39-lite.chunk.js} +0 -0
  255. /package/dist/scripts/{8323-6c9b4e877a-lite.chunk.js.LICENSE.txt → 6856-53ae5e3ed1-lite.chunk.js.LICENSE.txt} +0 -0
  256. /package/dist/scripts/{9478-9176bdf440-lite.chunk.js.LICENSE.txt → 6856-c5be81b923-lite.chunk.js.LICENSE.txt} +0 -0
  257. /package/dist/scripts/{6864-e2515db428-lite.chunk.js → 6864-8b2f696c78-lite.chunk.js} +0 -0
  258. /package/dist/scripts/{6873-699829de32-lite.chunk.js → 6873-d0b9eda9ce-lite.chunk.js} +0 -0
  259. /package/dist/scripts/{7045-e92ba934cd-lite.chunk.js → 7045-f33a5e31b2-lite.chunk.js} +0 -0
  260. /package/dist/scripts/{7066-615e5f57ea-lite.chunk.js → 7066-72cdd0e88e-lite.chunk.js} +0 -0
  261. /package/dist/scripts/{7115-81fa8d118a-lite.chunk.js → 7115-f54443ff3d-lite.chunk.js} +0 -0
  262. /package/dist/scripts/{7128-45a77bed15-lite.chunk.js → 7128-16333fb9b9-lite.chunk.js} +0 -0
  263. /package/dist/scripts/{7172-712031a6d8-lite.chunk.js → 7172-d95c86f3a5-lite.chunk.js} +0 -0
  264. /package/dist/scripts/{7178-486219a924-lite.chunk.js → 7178-84a1fdf7ff-lite.chunk.js} +0 -0
  265. /package/dist/scripts/{7498-b1add3759b-lite.chunk.js → 7498-8e406262d5-lite.chunk.js} +0 -0
  266. /package/dist/scripts/{7545-ce783204a9-lite.chunk.js → 7545-723fe61d01-lite.chunk.js} +0 -0
  267. /package/dist/scripts/{7552-3efd1e45c6-lite.chunk.js → 7552-e087da0121-lite.chunk.js} +0 -0
  268. /package/dist/scripts/{7760-585bd5ede6-lite.chunk.js → 7760-f3770fe6ba-lite.chunk.js} +0 -0
  269. /package/dist/scripts/{7767-a35c254302-lite.chunk.js → 7767-b47f9401a8-lite.chunk.js} +0 -0
  270. /package/dist/scripts/{7804-9643fa943c-lite.chunk.js → 7804-0bd34f87fd-lite.chunk.js} +0 -0
  271. /package/dist/scripts/{7831-0ddb53dcb8-lite.chunk.js → 7831-297c7b1517-lite.chunk.js} +0 -0
  272. /package/dist/scripts/{7855-87ee1981a9-lite.chunk.js → 7855-e8b7c14aab-lite.chunk.js} +0 -0
  273. /package/dist/scripts/{7888-107449840b-lite.chunk.js → 7888-96a913468c-lite.chunk.js} +0 -0
  274. /package/dist/scripts/{7901-a802455312-lite.chunk.js → 7901-9795840e2d-lite.chunk.js} +0 -0
  275. /package/dist/scripts/{7925-1803456dd0-lite.chunk.js → 7925-5ee14db222-lite.chunk.js} +0 -0
  276. /package/dist/scripts/{7982-0a04ae5f05-lite.chunk.js → 7982-a4d12bbd4a-lite.chunk.js} +0 -0
  277. /package/dist/scripts/{7989-0e448172f5-lite.chunk.js.LICENSE.txt → 7989-993b3d179f-lite.chunk.js.LICENSE.txt} +0 -0
  278. /package/dist/scripts/{7997-51e8c27f91-lite.chunk.js → 7997-39f6c684d3-lite.chunk.js} +0 -0
  279. /package/dist/scripts/{8025-872ec71c41-lite.chunk.js → 8025-1f34f48f66-lite.chunk.js} +0 -0
  280. /package/dist/scripts/{8046-4ec616094f-lite.chunk.js → 8046-d7b99545d4-lite.chunk.js} +0 -0
  281. /package/dist/scripts/{8056-f3f4dc1da1-lite.chunk.js → 8056-ca8467bc0c-lite.chunk.js} +0 -0
  282. /package/dist/scripts/{8072-b0dbb902c0-lite.chunk.js → 8072-a0eddfd6a3-lite.chunk.js} +0 -0
  283. /package/dist/scripts/{823-c6c4bc0958-lite.chunk.js → 823-49fa5ac1dd-lite.chunk.js} +0 -0
  284. /package/dist/scripts/{8252-6231823a7c-lite.chunk.js → 8252-f7762f2c9c-lite.chunk.js} +0 -0
  285. /package/dist/scripts/{8322-30f64cb35d-lite.chunk.js → 8322-9706ad09cf-lite.chunk.js} +0 -0
  286. /package/dist/scripts/{8408-6851c3b7fd-lite.chunk.js → 8408-c3de3fa079-lite.chunk.js} +0 -0
  287. /package/dist/scripts/{8416-6769ec16cb-lite.chunk.js → 8416-0791d3e2f5-lite.chunk.js} +0 -0
  288. /package/dist/scripts/{8425-f980e9a568-lite.chunk.js → 8425-50b05fe5f7-lite.chunk.js} +0 -0
  289. /package/dist/scripts/{8466-f489de0df1-lite.chunk.js → 8466-e5bf8d82c0-lite.chunk.js} +0 -0
  290. /package/dist/scripts/{8594-c5a3664f77-lite.chunk.js → 8594-729cde30c1-lite.chunk.js} +0 -0
  291. /package/dist/scripts/{8618-c11b9d46b2-lite.chunk.js → 8618-2ef3846d33-lite.chunk.js} +0 -0
  292. /package/dist/scripts/{8687-3a0d4cd9d2-lite.chunk.js → 8687-949758944f-lite.chunk.js} +0 -0
  293. /package/dist/scripts/{8772-19c3c22c02-lite.chunk.js → 8772-cb152741b1-lite.chunk.js} +0 -0
  294. /package/dist/scripts/{8835-94aea44d21-lite.chunk.js → 8835-7b44462f86-lite.chunk.js} +0 -0
  295. /package/dist/scripts/{8868-4d2c823f18-lite.chunk.js → 8868-fc6ae4d8b7-lite.chunk.js} +0 -0
  296. /package/dist/scripts/{8905-0d0ce88107-lite.chunk.js → 8905-343ca9bee1-lite.chunk.js} +0 -0
  297. /package/dist/scripts/{8946-0fc1890a66-lite.chunk.js → 8946-2d4f902bb5-lite.chunk.js} +0 -0
  298. /package/dist/scripts/{8955-6d5689ce2f-lite.chunk.js → 8955-729a99190e-lite.chunk.js} +0 -0
  299. /package/dist/scripts/{898-a6a43e32f0-lite.chunk.js → 898-33646d2130-lite.chunk.js} +0 -0
  300. /package/dist/scripts/{9001-4f561928d6-lite.chunk.js → 9001-05d5b3e2d7-lite.chunk.js} +0 -0
  301. /package/dist/scripts/{9060-5807a3492e-lite.chunk.js → 9060-7e47290e8e-lite.chunk.js} +0 -0
  302. /package/dist/scripts/{9096-6facd0e6fa-lite.chunk.js → 9096-e432cfe2b0-lite.chunk.js} +0 -0
  303. /package/dist/scripts/{9133-60eda20f56-lite.chunk.js → 9133-fbd692ad52-lite.chunk.js} +0 -0
  304. /package/dist/scripts/{9242-fed84e32e9-lite.chunk.js → 9242-30fef2e73c-lite.chunk.js} +0 -0
  305. /package/dist/scripts/{9490-654b218b7b-lite.chunk.js → 9490-c61a158da0-lite.chunk.js} +0 -0
  306. /package/dist/scripts/{956-97518b5e07-lite.chunk.js → 956-608aa358df-lite.chunk.js} +0 -0
  307. /package/dist/scripts/{9686-8b05615808-lite.chunk.js → 9686-88a9abf395-lite.chunk.js} +0 -0
  308. /package/dist/scripts/{9708-f869f4d031-lite.chunk.js → 9708-525003829c-lite.chunk.js} +0 -0
  309. /package/dist/scripts/{985-ae7d483abc-lite.chunk.js → 985-9c307b4df6-lite.chunk.js} +0 -0
  310. /package/dist/scripts/{bundle-57e951683b.min.js.LICENSE.txt → bundle-9d7b1e093f.min.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6570],{91200:(e,t,n)=>{n.d(t,{Y:()=>l});var a=n(1024),r=n(99910),o=n(84231);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function l(e){var t,n=function(e){if(Array.isArray(e))return i(e)}(t=Array(e.numItems))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return i(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)?i(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=e.itemClassName||"";return a.createElement(a.Fragment,null,e.showHeading&&a.createElement("div",{className:"".concat(o.Z.partialHeading," mb-1 partial-loading-background")}),a.createElement(r.Row,{noGutters:!0,className:"mx-n1"},n.map((function(e,t){return a.createElement(r.Col,{key:t,xs:6,sm:4,lg:3,className:"".concat(l," px-1 mb-2")},a.createElement("div",{className:"".concat(o.Z.playlistItem," partial-loading-background")}))}))))}l.defaultProps={numItems:8}},31273:(e,t,n)=>{n.d(t,{P:()=>s});var a=n(1024),r=n(99910),o=n(65858),i=n(48745),l={actionType:o.UserAction.Click,entity:o.EntityType.Playlist,location:o.LocationContext.PlaylistListItem,descriptor:o.ClickDescriptor.Cover};function s(e){return a.createElement(r.Row,{noGutters:!0,className:"mx-n1"},e.playlists.map((function(t){return a.createElement(r.Col,{key:t.id,xs:6,sm:4,lg:3,className:"mb-2 px-1 ".concat(e.itemContainerClassName?e.itemContainerClassName:"")},a.createElement(i.t,{data:t,appLink:e.getPlaylistAppLink(t),imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,presentationAudiences:e.presentationAudiences,bgColourClassNames:e.bgColourClassNames,showCount:e.showCount,showOwner:e.showOwner,showFallbackImage:e.showFallbackImage,titleClassName:e.itemTitleClassName,itemStyle:e.itemStyle,analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({},e.analyticsOptions),l)}))})))}},83657:(e,t,n)=>{n.d(t,{e:()=>c});var a=n(1024),r=n(79014),o=n(10874),i=n(36532),l=n(86509),s=n(42735);function c(e){var t=a.useMemo((function(){return e.actions.sort((function(e,t){return e.order-t.order}))}),[e.actions]),n=[],c=[];t.forEach((function(e){e.button?n.push(e):c.push(e)}));var u="d-flex";return e.className&&(u+=" ".concat(e.className)),n.length||c.length?a.createElement("div",{className:u},a.createElement(a.Fragment,null,a.createElement("span",{className:"d-flex align-items-center"},n.length?n.map((function(e,t){return a.createElement(a.Fragment,{key:t},function(){if(e.label){var t=r.q.isFunction(e.label)?e.label:function(){return e.label};return a.createElement(s.K,{appLink:e.appLink,href:e.href,onClick:e.onClick,svgName:e.svgName,className:e.className,tooltip:e.tooltip,showSpinner:e.showSpinner,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled},t())}var n=a.createElement(o.h,{appLink:e.appLink,href:e.href,onClick:e.onClick,svgName:e.svgName,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled});return e.tooltip?a.createElement(i.u,{title:e.tooltip,spanHack:!0},n):n}())})):a.createElement(a.Fragment,null),e.sortComponent&&e.sortComponent,c.length?a.createElement(l.m,{actions:c,dropdownToggleClassName:e.actionsDropdownClassName}):a.createElement(a.Fragment,null)))):a.createElement(a.Fragment,null)}},86509:(e,t,n)=>{n.d(t,{m:()=>f});var a=n(1024),r=n(81886),o=n(45157),i=n(79014),l=n(49985),s=n(83914),c=n(8493),u=n(36532),m=n(61252);function d(e){var t="dropdown-item";return e&&(t+=" ".concat(e)),t}function p(e){var t=i.q.isFunction(e.action.label)?e.action.label:function(){return e.action.label};if(e.action.appLink)return a.createElement(c.F,{appLink:e.action.appLink,onClick:e.action.onClick,className:d(e.action.className),analyticsData:e.action.analyticsData,analyticsOptions:e.action.analyticsOptions,openInNewTab:e.action.openInNewTab,disabled:e.action.disabled},t());function n(t){t.preventDefault(),e.action.analyticsData&&e.action.analyticsOptions&&l.k.logUserAction(e.action.analyticsData,e.action.analyticsOptions),i.q.isFunction(e.action.onClick)&&e.action.onClick(),e.action.href&&r.Q.LocationUtils.PageLoad(e.action.href,e.action.openInNewTab)}return e.action.href?a.createElement("a",{className:d(e.action.className),onClick:n,href:e.action.href},t()):a.createElement("span",{className:"cursor-pointer ".concat(d(e.action.className)),onClick:n,role:"button",tabIndex:0,onKeyDown:function(e){return"Enter"===e.key&&n(e)}},t())}function f(e){if(!e.actions||!e.actions.length)return a.createElement(a.Fragment,null);var t="dropdown";e.className&&(t+=" ".concat(e.className));var n="actions-dropdown-".concat(o.Y.getRandomInt()),r="dropdown-toggle px-0 ".concat("UCAnJ");return e.dropdownToggleClassName&&(r+=" ".concat(e.dropdownToggleClassName)),a.createElement("div",{className:t},a.createElement("button",{className:r,type:"button",id:n,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},a.createElement(s.x,{svgName:m.vn.More,size:s.S.Small})),a.createElement("div",{className:"dropdown-menu dropdown-menu-right","aria-labelledby":n},e.actions.map((function(e,t){return e.tooltip?a.createElement(u.u,{key:t,title:e.tooltip,spanHack:!0},a.createElement(p,{action:e})):a.createElement(p,{key:t,action:e})}))))}f.defaultProps={dropdownToggleClassName:"btn btn-light"}},5465:(e,t,n)=>{n.d(t,{oy:()=>c,mS:()=>l});var a=n(1024),r=n(83914),o=n(61252);const i="atIHN";var l,s;function c(e){var t,n=e.type,c=e.mediaType,u=e.extraClasses;if(n===l.Video)return a.createElement("div",{className:"".concat("LolCW"," bg-light-blue")});var m=function(e){return e===l.SeriesItem?"epoLB":e===l.Playlist?"ZbKBN":e===l.Series||e===l.TallSubject?"I1mTo":e===l.Subject?"".concat("kNG8Z"," svg-container d-inline-block"):""}(n),d=function(e){return e===l.SeriesItem?o.vn.Play:e===l.Playlist?o.vn.Image:e===l.Series?o.vn.Series:e===l.Subject||e===l.TallSubject?o.vn.Subject:""}(n),p=function(e){return e===l.Subject?r.S.ExtraLarge:r.S.Standard}(n),f="".concat(function(e,t){return t===l.Subject?"m20L7":e===s.Svg?t===l.SeriesItem?"".concat(i," rounded-lg"):i:"ZvbeV"}(c,n));return u&&(f+=" ".concat(e.extraClasses)),a.createElement("div",{className:f},c===s.Svg?a.createElement(r.x,{svgName:d,className:"".concat(m," ").concat(null!==(t=e.svgContainerClassName)&&void 0!==t?t:""),tagName:"div",size:p}):a.createElement("div",{className:"nKsWZ",style:{backgroundImage:"url('".concat(d,"')")}}))}!function(e){e[e.Playlist=0]="Playlist",e[e.Series=1]="Series",e[e.SeriesItem=2]="SeriesItem",e[e.Subject=3]="Subject",e[e.TallSubject=4]="TallSubject",e[e.Video=5]="Video"}(l||(l={})),function(e){e[e.Svg=0]="Svg",e[e.Image=1]="Image"}(s||(s={})),c.defaultProps={mediaType:s.Svg}},71020:(e,t,n)=>{n.d(t,{_:()=>c});var a=n(1024),r=n(99910),o=n(64038),i=n(83914),l=n(61252);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function c(e){var t,n,c=(t=o.useInView(),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(o.push(a.value),!t||o.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}}(t,n)||function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}(t,n)||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=c[0],m=c[1];return a.useEffect((function(){e.fetchOnEnterViewport&&m&&!e.isFetching&&e.fetchNext&&e.fetchNext(e.nextCursor)}),[m,e.isFetching]),a.createElement("div",{className:"p-3 text-center ".concat("VwD1b"),ref:u},e.isFetching?a.createElement(r.Spinner,{as:"span",animation:"border",role:"status",className:"eJ85e"}):a.createElement(i.x,{svgName:l.vn.ChevronDown,className:"svg-container cursor-pointer",size:i.S.Large,onClick:function(){return e.fetchNext(e.nextCursor)}}))}},7733:(e,t,n)=>{n.d(t,{b:()=>a,o:()=>r});var a=["bg-green","bg-cyan","bg-teal","bg-blue","bg-indigo","bg-purple"],r=["bg-pink","bg-orange"].concat(a)},94644:(e,t,n)=>{n.d(t,{r:()=>u});var a=n(81886),r=n(50242),o=n(67058),i=n(49075),l=n(14553),s=n(49267),c={notFound:o.d,forbidden:{rating:l.q,yearLevel:l.q,region:s.a,privacy:l.q},badRequest:i._};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var o;o="number"==typeof e?e:e.status;var i=Object.assign(Object.assign({},c),t);o&&a.Q.ErrorHelper.isStatusCodeError(o)&&(o!==r.o.NotFound?o!==r.o.Forbidden?n.badRequest||a.Q.ErrorHelper.throw(new i.badRequest):n.forbidden||a.Q.ErrorHelper.throw(new i.forbidden.privacy):n.notFound||a.Q.ErrorHelper.throw(new i.notFound))}}},63936:(e,t,n)=>{n.d(t,{K:()=>c});var a=n(1024),r=n(50242),o=n(79014),i=n(45719),l=n(8843);function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function c(e,t,n,c,u){var m,d,p=(m=(0,a.useState)(0),d=2,function(e){if(Array.isArray(e))return e}(m)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o=[],i=!0,l=!1;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(o.push(a.value),!t||o.length!==t);i=!0);}catch(e){l=!0,r=e}finally{try{i||null==n.return||n.return()}finally{if(l)throw r}}return o}}(m,d)||function(e,t){if(e){if("string"==typeof e)return s(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)?s(e,t):void 0}}(m,d)||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.")}()),f=p[0],y=p[1],g=t,v=(0,i.P)((function(t){if(!e)return null;var n=e(t);return n?n.key:null}),c,u);return(0,l.M)((function(){if(t&&e&&v)return y((function(e){return e+1})),g(v.nextCursor)}),!!(null==v?void 0:v.nextCursor),null==v?void 0:v.isFetching),(0,a.useEffect)((function(){v&&v.shouldInitialFetch&&t&&(g(),y((function(e){return e+1})))}),[null==v?void 0:v.shouldInitialFetch,t]),(0,a.useEffect)((function(){var e,t;if((null==v?void 0:v.statusCode)&&o.q.isFunction(n)){var a=+(null===(t=null===(e=v.statusCode)||void 0===e?void 0:e.toString())||void 0===t?void 0:t.substr(0,1));a!==r.k.ClientError&&a!==r.k.ServerError||n(f,v.statusCode)}}),[null==v?void 0:v.statusCode]),{items:null==v?void 0:v.items,hasMore:!!(null==v?void 0:v.nextCursor),nextCursor:null==v?void 0:v.nextCursor,isFetching:null==v?void 0:v.isFetching,totalItems:null==v?void 0:v.totalItems}}},8843:(e,t,n)=>{n.d(t,{M:()=>o});var a=n(1024),r=n(79014);function o(e,t,n){var o=function(){n||window.innerHeight+document.documentElement.scrollTop<document.documentElement.scrollHeight-400||e()};(0,a.useEffect)((function(){var e=r.q.throttle(o,200);return t&&window.addEventListener("scroll",e),function(){return window.removeEventListener("scroll",e)}}),[t,e])}},45719:(e,t,n)=>{n.d(t,{F:()=>s,P:()=>c});var a=n(1024),r=n(58566),o=n(20354),i=n(79014);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var s={items:[],shouldInitialFetch:!1,nextCursor:null,isFetching:!1,statusCode:n(50242).o.Ok,hasCompleted:!0,totalItems:0};function c(e,t,n){function s(e){if(e)return i.q.isFunction(t)?t(e):e.data}function c(e){var t,a;if(e)return n?n(e):null===(a=null===(t=e.pagination)||void 0===t?void 0:t.cursors)||void 0===a?void 0:a.next}return(0,r.useSelector)((0,a.useMemo)((function(){return function(t){if(i.q.isFunction(e)){for(var n=e,a=i.q.isFunction(e)&&n(),r=a&&o.a.getResponse(t,a),u=r&&r.isFetching,m=r&&r.statusCode,d=r&&r.hasCompleted,p=r&&r.shouldFetch,f=s(r&&r.data),y=c(r&&r.data),g=function(e){var t;if(e)return null===(t=e)||void 0===t?void 0:t.count}(r&&r.data);y&&(u=(r=o.a.getResponse(t,n(y))).isFetching,m=r.statusCode,d=r.hasCompleted,!r.shouldFetch);){var v=s(r.data);v&&f.push.apply(f,function(e){if(Array.isArray(e))return l(e)}(E=v)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(E)||function(e,t){if(e){if("string"==typeof e)return l(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)?l(e,t):void 0}}(E)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}());var b=c(r.data);y=b===y?null:b}var h={shouldInitialFetch:p,items:f,nextCursor:y,isFetching:u,statusCode:m,hasCompleted:d};return"number"==typeof g&&(h.totalItems=g),h}var E}}),[e]))}},91453:(e,t,n)=>{n.r(t),n.d(t,{PlaylistsView:()=>_});var a=n(1024),r=n.n(a),o=n(58566),i=n(75896),l=n(23481),s=n(20354),c=n(23049),u=n(59991),m=n(89454),d=n(39151),p=n(31949),f=n(31273),y=n(91200),g=n(71020),v=n(70006),b=n(23257),h=n(83345),E=n(79014),C=n(65858),w=n(76611),N=n(8493);function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var k="playlists.playlistSortSelect",I=E.q.memoize((function(){var e;return S(e={},w.o.RecentlyUpdated,{name:l.T.getPhrase(k,"recentlyUpdated")}),S(e,w.o.AtoZ,{name:l.T.getPhrase(k,"atoz")}),S(e,w.o.ZtoA,{name:l.T.getPhrase(k,"ztoa")}),S(e,w.o.Newest,{name:l.T.getPhrase(k,"newest")}),S(e,w.o.Oldest,{name:l.T.getPhrase(k,"oldest")}),e}));function P(e){var t=e.type,n=e.getSortAppLink,r=e.variant,o=I();return a.createElement("div",{className:"dropdown"},a.createElement("a",{className:"btn btn-".concat(r," ml-2 dropdown-toggle"),type:"button",id:"sort-select","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},o[t].name),a.createElement("div",{className:"dropdown-menu dropdown-menu-right","aria-labelledby":"sort-select"},Object.values(w.o).map((function(e){var r="dropdown-item";return e===t&&(r+=" active"),a.createElement(N.F,{key:e,className:r,appLink:n(e),analyticsData:{sort:o[e].name},analyticsOptions:{location:C.LocationContext.PlaylistListHeader,entity:C.EntityType.Playlists,actionType:C.UserAction.Sort,workflowPhase:C.WorkflowPhase.Complete}},o[e].name)}))))}P.defaultProps={variant:"light"};var A=n(61252),F=n(83657),T=n(71521),x=n(94644),L=n(63936),O=n(69883),j=n(97291),U=n(14070),D=n(7733),q=n(23232),H=n(99742),M="playlists.playlistsEmptyState";function R(){return r().createElement(h.D.Provider,{value:M},r().createElement(q.u,null,r().createElement(q.u.Image,{src:H.W.EmptyStates.Playlists.PLAYLISTS}),r().createElement(q.u.Heading,null,r().createElement(h.x,{phrase:"heading"})),r().createElement(q.u.Info,null,r().createElement(h.x,{phrase:"info"})),r().createElement(q.u.Cta,{text:l.T.getPhrase(M,"cta"),icon:A.vn.Plus,appLink:{application:j.O.PLAYLISTS,action:U.e.Playlists.NEW_PLAYLIST}})))}var Y="playlists.playlists";function Z(e){return{application:j.O.PLAYLISTS,action:U.e.Playlists.HOME,params:{sort:e}}}function _(e){var t=(0,o.useDispatch)(),n=(0,O.Z)(),r=s.a.useBasicFetch(d.L.config()),E=s.a.useBasicFetch(p.N.currentUser()),w=s.a.useBasicFetch(m.O.presentationAudiences()),N=!!E.data&&T.A.getOrSetSortType(E.data.id,e.sort),S=!!N&&function(e){return u.C.getUserPlaylists(new v.l(N,e,b.e.All))},k=!!S&&function(e){s.a.getFetch(t)(S(e))};(0,c.o)(l.T.getPhrase(Y,"title"));var I=(0,L.K)(!!N&&S,k,(function(e,t){if(1===e)return(0,x.r)(t);n.error(l.T.getPhrase(Y,"error"))})),q=I.items,H=I.hasMore,M=I.isFetching,_=[{label:l.T.getPhrase(Y,"createPlaylist"),appLink:{application:j.O.PLAYLISTS,action:U.e.Playlists.NEW_PLAYLIST},svgName:A.vn.Plus,className:"btn btn-outline-dark",button:!0,analyticsData:{},analyticsOptions:{location:C.LocationContext.Banner,entity:C.EntityType.Playlist,workflowPhase:C.WorkflowPhase.Start,actionType:C.UserAction.Create}}],V=!!q&&!!E.data&&!!r.data&&(!!w.data||w.hasError);return i.m.isEmpty(q)?a.createElement(R,null):a.createElement("div",{className:"bg-white px-3"},a.createElement("div",{className:"d-flex justify-content-between align-items-end pb-3"},a.createElement("h1",{className:"h2 mb-0"},a.createElement(h.x,{namespace:Y,phrase:"title"})),!!N&&a.createElement(F.e,{actions:_,sortComponent:a.createElement(P,{variant:"outline-dark",type:N,getSortAppLink:Z})})),V?a.createElement(f.P,{playlists:q,getPlaylistAppLink:e.getPlaylistAppLink,imageCdnUrl:r.data.imageCdnUrl,currentUser:E.data,presentationAudiences:w.data||[],bgColourClassNames:D.o,itemContainerClassName:"columns-of-five",itemStyle:"round",showCount:!0,showOwner:!0}):a.createElement(y.Y,{itemClassName:"columns-of-five"}),(H||M)&&a.createElement(g._,{isFetching:M,fetchNext:k}))}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[660],{67370:(e,t,r)=>{r.d(t,{Ix:()=>l,RF:()=>u,UJ:()=>s,zV:()=>i});var n=r(18732),a=r(49985),o=r(65858);function l(e){var t=e.hasValidatedUsers,r=e.setInvalidUsers,l=e.userType,i=e.setHideValidListings;return function(e,s){var u=n.b.getInvalidUsers(e,s),c=e.reduce((function(e,t){return t.errorCodes.forEach((function(t){e[t]||(e[t]=0),e[t]++})),e}),{});t||a.k.logUserAction({totalUploaded:s.length,totalInvalid:Object.keys(u).length,errorCodeCount:c},Object.assign(Object.assign({},n.b.getAnalyticsOptions(l)),{workflowPhase:o.WorkflowPhase.Start,descriptor:o.OperationDescriptor.Bulk})),window.setTimeout((function(){Object.keys(u).length||i(!1),r(u)}),1e3)}}function i(e){var t=e.setHideValidListings,r=e.hideValidListings,l=e.userType;t(!r),a.k.logUserAction({hideValidListings:!r},Object.assign(Object.assign({},n.b.getAnalyticsOptions(l)),{actionType:o.UserAction.Click,descriptor:o.ClickDescriptor.ToggleHideValidListings,workflowPhase:o.WorkflowPhase.Complete}))}function s(e,t){e(null),t()}function u(e,t){e([]),t()}},63598:(e,t,r)=>{r.d(t,{Q:()=>p});var n=r(1024),a=r.n(n),o=r(23481),l=r(83345),i=r(9111),s=r(13876),u=r(76881),c=r(45541),d=r(49985),m=r(65858);function p(e){var t=(0,c.V)().deleteUsers,r=e.userType===u.Y.Learner?"userManager.deleteUploadedStudentPopup":"userManager.deleteUploadedStaffPopup",n=o.T.encloseNamespace(r),p=[{variant:"link",onClick:e.closePopup,buttonText:n("cancel")},{variant:"danger",onClick:function(){t(e.users),d.k.logUserAction({},d.k.mergeOptions(e.analyticsOptions,{workflowPhase:m.WorkflowPhase.Discard,descriptor:e.users.length>1?m.OperationDescriptor.Bulk:m.OperationDescriptor.Single})),e.closePopup()},buttonText:n("delete",{smartCount:e.users.length})}];return a().createElement(l.D.Provider,{value:r},a().createElement(i.G,{title:n("title",{smartCount:e.users.length}),closePopup:e.closePopup},a().createElement("p",{className:"m-0 pb-3"},a().createElement(l.x,{phrase:"confirmation",options:{smartCount:e.users.length}})),a().createElement(s.u,{buttons:p})))}},93898:(e,t,r)=>{r.d(t,{n:()=>y});var n=r(1024),a=r.n(n),o=r(23481),l=r(57900),i=r(49985),s=r(65858),u=r(9111),c=r(76012),d=r(39739),m=r(45541);function p(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,a,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(e){i=!0,a=e}finally{try{l||null==r.return||r.return()}finally{if(i)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return f(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)?f(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 f(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 v=o.T.encloseNamespace("userManager.editUploadedUserPopup"),g="_cv:edit:next:user";function y(e){var t,r,n=(0,m.V)(),o=n.invalidUsers,f=n.updateUser,y=p(a().useState(!!o[e.user.lookupId]),2),h=y[0],b=y[1],E=p(a().useState(!1),2),S=E[0],w=E[1],k=p(a().useState(!!l.SG.get(g)),2),C=k[0],P=k[1],A=a().useMemo((function(){return Object.keys(o)}),[o]);a().useEffect((function(){b(!!o[e.user.lookupId]),i.k.logUserAction({isInvalid:!!o[e.user.lookupId],data:e.user},i.k.mergeOptions(e.analyticsOptions,{workflowPhase:s.WorkflowPhase.Start}))}),[e.user]),a().useEffect((function(){S&&window.setTimeout((function(){return w(!1)}),300)}),[S,w]);var T=o[e.user.lookupId],O=h&&A.length>1,I=v(O&&C?"saveAndNext":"save"),N=d.P.getMinimumPasswordLength(e.passwordPolicy,e.userType,h?null===(t=null==T?void 0:T.user)||void 0===t?void 0:t.masterRole:null===(r=null==e?void 0:e.user)||void 0===r?void 0:r.masterRole);return h&&!T?a().createElement(a().Fragment,null):a().createElement(u.G,{closePopup:e.closePopup,title:e.title,showLoadingSpinner:S},a().createElement(c.H,{key:e.user.lookupId,initialValues:h?T.user:e.user,initialErrors:h?d.P.getErrorMessages(T.errorCodes,N):[],userType:e.userType,onSubmit:function(t,r){var n,a,l;if(h){var u=A.indexOf(e.user.lookupId),c=C?A[u+1]||A[0]:"";w(!0),e.setUser(null===(n=o[c])||void 0===n?void 0:n.user)}var d=h?null===(a=null==T?void 0:T.user)||void 0===a?void 0:a.lookupId:null===(l=null==e?void 0:e.user)||void 0===l?void 0:l.lookupId;d&&(t&&(f(Object.assign(Object.assign({},t),{lookupId:d})),i.k.logUserAction({isInvalid:!1,data:t},i.k.mergeOptions(e.analyticsOptions,{workflowPhase:s.WorkflowPhase.Complete}))),h&&A.length&&C?r&&r({reset:!0}):window.setTimeout((function(){return e.closePopup()}),300))},yearGroups:e.yearGroups,onClickCancel:e.closePopup,submitText:I,onToggleNextCheckbox:function(){P((function(e){return l.SG.set(g,!e),!e}))},shouldGoToNext:C,formSize:e.formSize,currentUser:e.currentUser,validateUser:e.validate,currentErrors:e.currentErrors,emailRequired:e.emailRequired,showPasswordField:e.showPasswordField,passwordPolicy:e.passwordPolicy,validateOnMount:!0}))}},75514:(e,t,r)=>{r.d(t,{i:()=>h});var n=r(1024),a=r.n(n),o=r(35509),l=r(83914),i=r(61252),s=r(16930),u=r(8493),c=r(79014);function d(e){return function(e){if(Array.isArray(e))return p(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(e,t){if(e){if("string"==typeof e)return p(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)?p(e,t):void 0}}function p(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}function f(e){var t,r,n,a;return{canScrollLeft:(null===(t=e.current)||void 0===t?void 0:t.scrollLeft)>0,canScrollRight:(null===(r=e.current)||void 0===r?void 0:r.scrollLeft)<(null===(n=e.current)||void 0===n?void 0:n.scrollWidth)-(null===(a=e.current)||void 0===a?void 0:a.clientWidth)}}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}function g(e){var t,r;return e.column.canSort?a().createElement("span",{className:"".concat("gFhu0","\n ").concat(e.column.isSorted?"":"text-muted","\n ").concat(null!==(r=null===(t=e.theme)||void 0===t?void 0:t.sortIndicator)&&void 0!==r?r:"")},a().createElement(l.x,{svgName:e.column.isSortedDesc||!e.column.isSorted?i.vn.ArrowRight:i.vn.ArrowLeft,size:l.S.Small})):a().createElement(a().Fragment,null)}function y(e){var t,r,n,l,i,s,c,m,p={columns:e.columns,data:e.data,disableSortBy:!e.enableSort,manualSortBy:e.manualSort,autoResetHiddenColumns:e.autoResetHiddenColumns,autoResetSortBy:e.autoResetSortBy};e.initialSelectedRowIds&&(p.initialState={selectedRowIds:(c=e.initialSelectedRowIds,m={},c.forEach((function(e){return m[e]=!0})),m)}),e.getRowId&&(p.getRowId=e.getRowId);var f,y=o.useTable.apply(void 0,[p].concat((f=function(e){var t=[o.useFlexLayout,o.useSortBy,o.useRowSelect];return e.allowFiltering&&(t=[].concat(d(t),[o.useFilters])),e.allowGlobalFiltering&&(t=[].concat(d(t),[o.useGlobalFilter])),t}(Object.assign({},e)),function(e){if(Array.isArray(e))return v(e)}(f)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(f)||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}}(f)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))),h=y.getTableProps,b=y.getTableBodyProps,E=y.headerGroups,S=y.rows,w=y.prepareRow,k=y.toggleAllRowsSelected,C=y.setGlobalFilter,P=y.setHiddenColumns,A=y.state.sortBy;return a().useEffect((function(){e.onSort&&e.onSort(A)}),[A]),a().useEffect((function(){e.globalFilter&&C(e.globalFilter)}),[e.globalFilter]),a().useEffect((function(){e.hiddenColumns&&P(e.hiddenColumns)}),[e.hiddenColumns&&e.hiddenColumns.length]),a().createElement("div",Object.assign({},h(),{className:null!==(r=null===(t=e.theme)||void 0===t?void 0:t.table)&&void 0!==r?r:""}),a().createElement("div",{className:null!==(l=null===(n=e.theme)||void 0===n?void 0:n.header)&&void 0!==l?l:""},E.map((function(t){var r,n;return a().createElement("div",Object.assign({},t.getHeaderGroupProps(),{className:null!==(n=null===(r=e.theme)||void 0===r?void 0:r.headerRow)&&void 0!==n?n:""}),t.headers.map((function(t){var r,n;return a().createElement("div",Object.assign({},t.getHeaderProps(t.getSortByToggleProps()),{className:null!==(n=null===(r=e.theme)||void 0===r?void 0:r.headerCell)&&void 0!==n?n:""}),t.render("Header",{renderSortIndicator:function(){return a().createElement(g,{column:t,theme:e.theme})}}),!t.hideSortIndicator&&a().createElement(g,{column:t,theme:e.theme}))})))}))),a().createElement("div",Object.assign({},b(),{className:null!==(s=null===(i=e.theme)||void 0===i?void 0:i.body)&&void 0!==s?s:""}),S.map((function(t){var r,n,o,l;w(t);var i=null!==(n=null===(r=e.theme)||void 0===r?void 0:r.row)&&void 0!==n?n:"";t.isSelected&&(null===(o=e.theme)||void 0===o?void 0:o.selectedRow)&&(i+=" ".concat(null===(l=e.theme)||void 0===l?void 0:l.selectedRow)),e.onSelectRow&&(i+=" cursor-pointer");var s=!!e.getRowAppLink&&e.getRowAppLink(t);function c(){return t.cells.map((function(t){var r,n,o=null!==(n=null===(r=e.theme)||void 0===r?void 0:r.cell)&&void 0!==n?n:"";return e.onSelectCell&&(o+=" cursor-pointer"),a().createElement("div",Object.assign({},t.getCellProps(),{className:o,onClick:function(){e.onSelectCell&&e.onSelectCell(t)}}),t.render("Cell"))}))}return s?a().createElement(u.F,Object.assign({},t.getRowProps(),{className:i,appLink:s}),c()):a().createElement("div",Object.assign({},t.getRowProps(),{className:i,onClick:function(){e.onSelectRow&&(e.allowSelectMultipleRows||k(!1),e.onSelectRow(t),t.toggleRowSelected(!0))},onMouseOver:e.onRowMouseOver&&function(){return e.onRowMouseOver(t)},onMouseLeave:e.onRowMouseLeave&&function(){return e.onRowMouseLeave(t)}}),c())}))))}function h(e){var t=e.enableSlider,r=e.scrollIncrement,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a<n.length;a++)t.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(e,n[a])&&(r[n[a]]=e[n[a]])}return r}(e,["enableSlider","scrollIncrement"]),o=function(){var e,t,r=a().useRef(),n=(e=a().useState(f(r)),t=2,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,a,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(e){i=!0,a=e}finally{try{l||null==r.return||r.return()}finally{if(i)throw a}}return o}}(e,t)||m(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.")}()),o=n[0],l=n[1];function i(){l(f(r))}return a().useEffect((function(){if(r.current){var e=c.q.throttle(i,200);return l(f(r)),r.current.addEventListener("scroll",e),function(){r.current.removeEventListener("scroll",e)}}}),[r.current]),{ref:r,scrollState:o,scroll:function(e){var t;null===(t=r.current)||void 0===t||t.scrollBy({left:e,top:0,behavior:"smooth"})}}}(),l=o.ref,i=o.scrollState,u=o.scroll;if(!t)return a().createElement(y,Object.assign({},n));function d(e){l.current&&u(r*("right"===e?1:-1))}return a().createElement("div",{className:"mx-n3 overflow-hidden-x"},a().createElement("div",{className:"px-3"},a().createElement("div",{className:"position-relative"},a().createElement(s.W,{direction:s.f.Left,onClick:function(){return d("left")},hide:!i.canScrollLeft}),a().createElement("div",{className:"sWUp9",ref:l},a().createElement(y,Object.assign({},n))),a().createElement(s.W,{direction:s.f.Right,onClick:function(){return d("right")},hide:!i.canScrollRight}))))}h.defaultProps={scrollIncrement:250}},16930:(e,t,r)=>{r.d(t,{W:()=>i,f:()=>l});var n=r(1024),a=r(83914),o=r(61252);var l;!function(e){e[e.Left=0]="Left",e[e.Right=1]="Right"}(l||(l={}));var i=n.memo((function(e){var t=e.direction===l.Left,r=t?o.vn.ChevronLeft:o.vn.ChevronRight,i=(e.contents,"BVcIS"+(t?" VSAPU":" kgeXh"));return e.hide?n.createElement(n.Fragment,null):n.createElement(n.Fragment,null,n.createElement("div",{role:"button",className:"".concat(i," ").concat("gAsE9"," ").concat(e.className||""),onClick:e.onClick},e.hoverText&&n.createElement("span",{className:"pl-3 pr-2 ".concat("APA36")},e.hoverText),n.createElement(a.x,{svgName:r,size:a.S.Medium,className:"svg-container d-inline-block ".concat("Ev4hr")})),e.useGradientBackdrop&&n.createElement("div",{className:t?"Pt3nx":"ZuAif"}),!e.hideExtendedClickableArea&&n.createElement("div",{role:"button",onClick:e.onClick,className:t?"wi8c2":"aLa_J"}))}))},14794:(e,t,r)=>{r.r(t),r.d(t,{BulkUserUploadFixDuplicatesView:()=>J});var n=r(1024),a=r.n(n),o=r(58566),l=r(81886),i=r(20354),s=r(76881),u=r(31949),c=r(39739),d=r(43820),m=r(26055),p=r(1048),f=r(23481),v=r(83345),g=r(61252),y=r(10874),h=r(93898),b=r(63598),E=r(18732),S=r(67370),w=r(45541),k=r(45138),C=r(23232),P="userManager.userDuplicatesEmptyState";function A(e){return a().createElement(C.u,null,a().createElement(C.u.Image,{src:e.imageUrl}),a().createElement(C.u.Heading,null,a().createElement(v.x,{namespace:P,phrase:"heading"})),a().createElement(C.u.Info,null,a().createElement(v.x,{namespace:P,phrase:"info"})),a().createElement(C.u.Cta,{text:f.T.getPhrase(P,"create"),onClick:e.onClickConfirm,className:"btn btn-dark"}))}var T=r(70226),O=r(11607),I=r(83914),N="userManager.userDuplicateSet",x=r(75514),U="userManager.userDuplicateSet",R={header:"font-weight-500 pb-1",headerCell:"px-2 py-1",cell:"px-2 py-1"};function j(e){var t,r,n,o,l=(t=e.set.errorCodes,r=e.userType===s.Y.Learner,t.find((function(e){return e===T.x.UsernameAlreadyExisted}))?f.T.getPhrase(U,r?"duplicateUsernamesStudents":"duplicateUsernamesStaff"):t.find((function(e){return e===T.x.EmailAlreadyExisted}))?f.T.getPhrase(U,r?"duplicateEmailsStudents":"duplicateEmailsStaff"):"");return l?a().createElement("div",{className:"pb-4"},a().createElement("h3",{className:"h5"},a().createElement(v.x,{namespace:U,phrase:"heading",options:{counter:e.index+1}})),a().createElement("p",{className:"text-danger mb-1"},l),a().createElement("div",{className:"p-2 border rounded-lg border-light"},a().createElement(x.i,{columns:(n=function(t){return e.onClickEdit(e.set.users.find((function(e){return e.lookupId===t})))},o=function(t){return e.onClickDelete([t])},[{Header:f.T.getPhrase(N,"firstName"),id:"firstName",accessor:"firstName",Cell:function(e){var t=e.value;return a().createElement("div",{className:"w-100"},t)},width:12.5},{Header:f.T.getPhrase(N,"lastName"),id:"surname",accessor:"surname",Cell:function(e){var t=e.value;return a().createElement("div",{className:"w-100"},t)},width:12.5},{Header:f.T.getPhrase(N,"email"),id:"email",Cell:function(e){var t=e.row.original,r=t.errorCodes.find((function(e){return e===T.x.EmailAlreadyExisted}));return a().createElement("div",{className:"w-100 ".concat(r?"text-danger":"")},t.email)},width:39},{Header:f.T.getPhrase(N,"username"),id:"username",Cell:function(e){var t=e.row.original,r=t.errorCodes.find((function(e){return e===T.x.UsernameAlreadyExisted}));return a().createElement("div",{className:"w-100 ".concat(r?"text-danger":"")},t.username)},width:29},{Header:"",id:"actions",accessor:"lookupId",Cell:function(e){var t=e.value;return a().createElement("div",{className:"w-100 d-flex align-items-center"},a().createElement(O.L,{className:"mr-2 cursor-pointer",onClick:function(){return n(t)}},a().createElement(I.x,{svgName:g.vn.Edit,title:f.T.getPhrase(N,"editTooltip"),tooltipPlacement:"top",tooltipSpanHack:!0})),a().createElement(O.L,{className:"cursor-pointer",onClick:function(){return o(t)}},a().createElement(I.x,{svgName:g.vn.Close,title:f.T.getPhrase(N,"deleteTooltip"),tooltipPlacement:"top",tooltipSpanHack:!0})))},width:7}]),data:e.set.users.map((function(t){return{lookupId:t.lookupId,firstName:t.firstName,surname:t.surname,email:t.email,username:t.username,errorCodes:e.set.errorCodes}})),theme:R}))):a().createElement(a().Fragment,null)}function L(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,a,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(e){i=!0,a=e}finally{try{l||null==r.return||r.return()}finally{if(i)throw a}}return o}}(e,t)||function(e,t){if(e){if("string"==typeof e)return F(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)?F(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 F(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}function M(e){var t=(0,w.V)(),r=t.users,n=t.duplicateSets,o=a().useContext(k.A),l=o.setDisableNext,i=o.setOnClickConfirm,u=e.userType===s.Y.Learner?"userManager.studentDuplicates":"userManager.staffDuplicates",c=f.T.encloseNamespace(u),d=L(a().useState([]),2),m=d[0],C=d[1],P=L(a().useState(),2),T=P[0],O=P[1],I=L(a().useState(n),1)[0];return a().useEffect((function(){l(!!(null==n?void 0:n.length))}),[null==n?void 0:n.length]),a().useEffect((function(){i((function(){return e.onClickConfirm}))}),[e.onClickConfirm]),(null==r?void 0:r.length)?a().createElement(a().Fragment,null,a().createElement("h2",{className:"h4"},a().createElement(v.x,{namespace:u,phrase:"heading"})),a().createElement("main",{className:"pb-3"},(null==n?void 0:n.length)?a().createElement(a().Fragment,null,a().createElement("p",{className:"mb-3 font-weight-500"},a().createElement(v.x,{namespace:u,phrase:"subheading"})),a().createElement("div",{className:"pb-3"},a().createElement(y.h,{svgName:g.vn.Upload,appLink:e.appLinks.userUploadPopup,className:"btn btn-outline-dark mr-2"},a().createElement(v.x,{namespace:u,phrase:"reupload"}))),I.map((function(t,r){return n.find((function(e){return p.t.isEqual(e,t)}))?a().createElement(j,{key:r,index:r,set:t,userType:e.userType,onClickEdit:O,onClickDelete:C}):a().createElement(a().Fragment,{key:r})}))):a().createElement(a().Fragment,null,a().createElement("p",{className:"mb-3"},a().createElement(v.x,{namespace:u,phrase:"emptyStateSubheading"})),a().createElement(A,{imageUrl:e.emptyStateImageUrl,onClickConfirm:e.onClickConfirm}))),!!T&&a().createElement(h.n,{key:T.lookupId,user:T,setUser:O,closePopup:function(){return(0,S.UJ)(O,e.closePopup)},title:c("editUser"),userType:e.userType,analyticsOptions:E.b.getAnalyticsOptions(e.userType),currentUser:e.currentUser,yearGroups:e.yearGroups,validate:e.validateUser,currentErrors:e.currentlySelectedUserErrors,formSize:e.formSize,emailRequired:e.emailRequired,passwordPolicy:e.passwordPolicy}),!!m.length&&a().createElement(b.Q,{users:m,userType:e.userType,closePopup:function(){return(0,S.RF)(C,e.closePopup)},analyticsOptions:E.b.getAnalyticsOptions(e.userType)})):a().createElement(a().Fragment,null)}var D=r(27110),H=r(18087),B=r(39872),G=r(706),V=r(99742),W=r(29613),q=r(93278);function z(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}function J(e){var t,r,n=(0,w.V)().users,p=(t=a().useState(null),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,a,o=[],l=!0,i=!1;try{for(r=r.call(e);!(l=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);l=!0);}catch(e){i=!0,a=e}finally{try{l||null==r.return||r.return()}finally{if(i)throw a}}return o}}(t,r)||function(e,t){if(e){if("string"==typeof e)return z(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)?z(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.")}()),f=p[0],v=p[1],g=i.a.useBasicFetch(u.N.currentUser()),y=i.a.useBasicFetch(g.data&&B.N.yearGroups(g.data.customerId)),h=i.a.useBasicFetch(g.data&&G.F.getCustomerSecuritySettings(g.data.customerId)),b=(0,o.useDispatch)(),S=(0,H.Y)(e.userType),k=q.b.useCreateJobErrorAlert();function C(t){l.Q.AppLinkHelper.trigger(Object.assign(Object.assign({},S.userUploadStatus.polling),{params:{userType:e.userType,jobId:t.id}}))}return g.data&&y.data?a().createElement(D.$,{appLinks:S,userType:e.userType,currentStep:"fix-duplicates"},a().createElement(m.A.Provider,{value:d.a.Primary},a().createElement("div",{className:"px-3"},a().createElement(M,{onClickConfirm:function(){var t=E.b.getJobData(n,g.data.customerId,e.userType);i.a.fetch(b,W.q.createJob(t,C,k))},closePopup:e.closePopup,appLinks:S,userType:e.userType,currentUser:g.data,yearGroups:y.data,validateUser:function(t){var r=c.P.formatCreateOrValidateUserRequest([t],e.userType,g.data.customerId);i.a.fetch(b,B.N.bulkValidate(r,null,(function(e){v(e)})))},currentlySelectedUserErrors:f,emailRequired:e.userType===s.Y.Staff,passwordPolicy:h.data,emptyStateImageUrl:V.W.EmptyStates.UserManager.DUPLICATES})))):a().createElement(a().Fragment,null)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6715],{19595:(e,t,a)=>{a.r(t),a.d(t,{ClassificationUpdateView:()=>F});var n=a(1024),i=a.n(n),o=a(33192),r=a(58566),l=a(20354),s=a(23481),c=a(23049),u=a(31949),d=a(61699),p=a(54644),f=a(69883),v=a(51365),m=a(4632),h=a(65858),g=a(97037),w=a(97816),k=a(65986),b=a(37808),y=a(74696),S=a(7813);function A(){return i().createElement("div",{className:"bg-white px-3"},i().createElement("div",{className:"partial-loading-background mb-2 ".concat("DKukI"," rounded")}),i().createElement("div",{className:"mb-1"},i().createElement(S.b2,null)),i().createElement(y.S,null))}var L=a(49985),C="contentUpdates.classificationUpdate",U=s.T.encloseNamespace(C);function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,n=new Array(t);a<t;a++)n[a]=e[a];return n}function F(e){var t,a,i,y,S,F,T,Y,D=e.classificationId,P=(0,r.useDispatch)(),j=(0,f.Z)(),x=(0,g.c)(h.LocationContext.VideoThumbnail).setFavourite,I=l.a.useBasicFetch(u.N.currentUser()),M=(T=n.useState(!1),Y=2,function(e){if(Array.isArray(e))return e}(T)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,i,o=[],r=!0,l=!1;try{for(a=a.call(e);!(r=(n=a.next()).done)&&(o.push(n.value),!t||o.length!==t);r=!0);}catch(e){l=!0,i=e}finally{try{r||null==a.return||a.return()}finally{if(l)throw i}}return o}}(T,Y)||function(e,t){if(e){if("string"==typeof e)return E(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?E(e,t):void 0}}(T,Y)||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=M[0],O=function(e){var t=e.dispatch,a=e.alerts,n=e.setShowFollowSpinner;return{onFollow:function(e,i,o){n(!0);var r=function(){n(!1),L.k.logUserAction({id:e,name:i},{location:h.LocationContext.ContentUpdatesClassificationBanner,workflowPhase:h.WorkflowPhase.Complete,descriptor:o?h.ToggleDescriptor.On:h.ToggleDescriptor.Off,actionType:h.UserAction.Follow,entity:h.EntityType.Classification}),a.success(U(o?"followed":"unfollowed",{name:i,escapeText:!0}))},c=function(){n(!1),a.error(s.T.getPhrase(C,"error"))},u=o?d.o.followSubjects([e],r,c):d.o.unfollowSubjects([e],r,c);l.a.fetch(t,u)}}}({dispatch:P,alerts:j,setShowFollowSpinner:M[1],currentUser:null==I?void 0:I.data}),V=o().subtract(1,"year").endOf("day").format("YYYY-MM-DD"),B=o().endOf("day").format("YYYY-MM-DD"),_=l.a.useBasicFetch(p.v.getClassification(D)),W=l.a.useBasicFetch(I.data&&p.v.getClassificationUpdates(D,V,B)),q=l.a.useBasicFetch(d.o.mySubjectPreferences());(0,c.o)(null!==(a=null===(t=_.data)||void 0===t?void 0:t.name)&&void 0!==a?a:s.T.getPhrase("contentUpdates.classificationUpdate","defaultPageTitle"));var K=(0,k._)(k.i.VideoItem);if((0,w.V)(null!==(y=null===(i=W.data)||void 0===i?void 0:i.videos)&&void 0!==y?y:[],{hasCurriculumLinks:!0}),!(W.data&&_.data&&q.data&&I.data))return n.createElement(A,null);var Z=q.data.map((function(e){return e.id}));return n.createElement(v.M.Provider,{value:K},n.createElement("div",{className:"bg-white px-3"},n.createElement(b.aq,{classification:_.data,backgroundUrl:null!==(F=null===(S=_.data.banner)||void 0===S?void 0:S.url)&&void 0!==F?F:"",getClassificationAppLink:e.appLinks.getClassificationAppLink,followed:!!Z.find((function(e){return e.toString()===_.data.id.toString()})),follow:O.onFollow,showFollowSpinner:N}),n.createElement(b.YW,{classification:_.data,dashboardAppLink:e.appLinks.dashboardAppLink,contentUpdatesAppLink:e.appLinks.contentUpdatesAppLink}),n.createElement(m.E4,{videos:W.data.videos,getVideoAppLink:e.appLinks.getVideoAppLink,getSeriesAppLink:e.appLinks.getSeriesAppLink,setFavourite:x})))}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 6736-5dbd730fec-lite.chunk.js.LICENSE.txt */
1
+ /*! For license information please see 6736-e5d1d1784b-lite.chunk.js.LICENSE.txt */
2
2
  "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6736],{6736:(t,e,r)=>{r.d(e,{b:()=>m});var n=r(81886),o=r(97395),i=r(23481),c=r(47663);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function f(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var h="embed.protectiveBrowserSettingsError",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(a,t);var e,r,n,o,c=(n=a,o=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(t){return!1}}(),function(){var t,e=l(n);if(o){var r=l(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return f(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=c.call(this,i.T.getPhrase(h,"title"))).url=t,e}return e=a,(r=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:i.T.getPhrase(h,"heading"),text:i.T.getPhrase(h,"description",{url:this.url}),buttons:[{text:i.T.getPhrase(h,"okay"),className:"btn btn-dark",success:!0}]}}}])&&u(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(c.S),y=r(55460);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 v(){v=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),c=new O(n||[]);return i._invoke=function(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 c=r.delegate;if(c){var a=_(c,r);if(a){if(a===f)continue;return a}}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)}}}(t,r,c),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function h(){}function p(){}var y={};a(y,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(E([])));m&&m!==e&&r.call(m,o)&&(y=m);var w=p.prototype=l.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,i,c,a){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==d(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,a)}),(function(t){n("throw",t,c,a)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,a)}))}a(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function _(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,_(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}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 x(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(k,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=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 i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=p,a(w,"constructor",p),a(p,"constructor",h),h.displayName=a(p,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,a(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},b(L.prototype),a(L.prototype,i,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var c=new L(u(e,r,n,o),i);return t.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},b(w),a(w,c,"Generator"),a(w,o,(function(){return this})),a(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,O.prototype={constructor:O,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(x),!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 c.type="throw",c.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],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){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 c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(c)},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),x(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;x(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function g(t,e,r){var o,i,c=window.open(t,"_blank",(500,500,o=parseInt(screen.availWidth/2-250+""),i=parseInt(screen.availHeight/2-250+""),["width=".concat(500),"height=".concat(500),"status","resizable","left=".concat(o),"top=".concat(i),"screenX=".concat(o),"screenY=".concat(i),"scrollbars=yes"].join(",")));if(c)return w(c,r),!!c;n.Q.ErrorHelper.throw(new p(e))}var m={renderVideoSignInPopup:function(t){var e=t.primaryUrl,r=t.shareId,i=t.isMicrosoftTeams,c=t.customerId,a=o._.safeUrlConcat(e,"/login"),u={shareId:r,redirectUrl:"/embed-login-success"};c&&(u.customerId=c);var s=o._.urlBuilder(a,u);i?b(s):g(s,e,(function(){var t=n.Q.AppLinkHelper.getCurrentAppLink(),e=n.Q.AppLinkHelper.getHref(Object.assign(Object.assign({},t),{params:{a:!0}}));n.Q.LocationUtils.PageLoad(e)}))},renderPluginSignInPopup:function(t){var e=t.primaryUrl,r=t.returnUrl,i=t.customerId,c=t.isMicrosoftTeams,a=o._.safeUrlConcat(e,"/login"),u={redirectUrl:"/embed-login-success"};i&&(u.customerId=i);var s=o._.urlBuilder(a,u);c?b(s):g(s,e,(function(){n.Q.LocationUtils.PageLoad(r)}))},canUseCookies:function(){return docCookies.setItem("_cookieTest","1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem("_cookieTest","1",10),!!docCookies.getItem("_cookieTest"))},closePopup:function(t){return e=this,n=void 0,o=void 0,i=v().mark((function e(){var n,o;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(){try{n.initialize((function(){n.authentication.notifySuccess()}))}catch(t){}},e.next=3,r.e(4777).then(r.t.bind(r,94777,23));case 3:n=e.sent,t?(o(),window.close()):window.setTimeout((function(){o(),window.close()}),1e3),window.opener.postMessage({type:"authenticated"},"*");case 6:case"end":return e.stop()}}),e)})),new(o||(o=Promise))((function(t,r){function c(t){try{u(i.next(t))}catch(t){r(t)}}function a(t){try{u(i.throw(t))}catch(t){r(t)}}function u(e){var r;e.done?t(e.value):(r=e.value,r instanceof o?r:new o((function(t){t(r)}))).then(c,a)}u((i=i.apply(e,n||[])).next())}));var e,n,o,i}};function w(t,e){setTimeout((function(){t&&(!1===t.closed?w(t,e):e())}),500)}function b(t){r.e(4777).then(r.t.bind(r,94777,23)).then((function(e){e.initialize(),window.setTimeout((function(){e.authentication.authenticate({url:t,successCallback:function(){y.LocationUtils.Reload()},failureCallback:function(){y.LocationUtils.Reload()},height:1e3,width:1e3})}),0)}))}}}]);
@@ -0,0 +1,2 @@
1
+ /*! For license information please see 6736-f60da723db-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6736],{6736:(t,e,r)=>{r.d(e,{b:()=>w});var n=r(81886),o=r(97395),i=r(23481),c=r(47663);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function u(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function f(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var h="embed.protectiveBrowserSettingsError",p=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(a,t);var e,r,n,o,c=(n=a,o=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(t){return!1}}(),function(){var t,e=l(n);if(o){var r=l(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return f(this,t)});function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=c.call(this,i.T.getPhrase(h,"title"))).url=t,e}return e=a,(r=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:i.T.getPhrase(h,"heading"),text:i.T.getPhrase(h,"description",{url:this.url}),buttons:[{text:i.T.getPhrase(h,"okay"),className:"btn btn-dark",success:!0}]}}}])&&u(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),a}(c.S),y=r(55460);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 v(){v=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",i=n.asyncIterator||"@@asyncIterator",c=n.toStringTag||"@@toStringTag";function a(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{a({},"")}catch(t){a=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof l?e:l,i=Object.create(o.prototype),c=new O(n||[]);return i._invoke=function(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 c=r.delegate;if(c){var a=k(c,r);if(a){if(a===f)continue;return a}}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)}}}(t,r,c),i}function s(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=u;var f={};function l(){}function h(){}function p(){}var y={};a(y,o,(function(){return this}));var g=Object.getPrototypeOf,m=g&&g(g(E([])));m&&m!==e&&r.call(m,o)&&(y=m);var w=p.prototype=l.prototype=Object.create(y);function b(t){["next","throw","return"].forEach((function(e){a(t,e,(function(t){return this._invoke(e,t)}))}))}function L(t,e){function n(o,i,c,a){var u=s(t[o],t,i);if("throw"!==u.type){var f=u.arg,l=f.value;return l&&"object"==d(l)&&r.call(l,"__await")?e.resolve(l.__await).then((function(t){n("next",t,c,a)}),(function(t){n("throw",t,c,a)})):e.resolve(l).then((function(t){f.value=t,c(f)}),(function(t){return n("throw",t,c,a)}))}a(u.arg)}var o;this._invoke=function(t,r){function i(){return new e((function(e,o){n(t,r,e,o)}))}return o=o?o.then(i,i):i()}}function k(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return f;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return f}var n=s(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,f;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function x(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 _(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(x,this),this.reset(!0)}function E(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=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 i.next=i}}return{next:P}}function P(){return{value:void 0,done:!0}}return h.prototype=p,a(w,"constructor",p),a(p,"constructor",h),h.displayName=a(p,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===h||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,a(t,c,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},b(L.prototype),a(L.prototype,i,(function(){return this})),t.AsyncIterator=L,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var c=new L(u(e,r,n,o),i);return t.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},b(w),a(w,c,"Generator"),a(w,o,(function(){return this})),a(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=E,O.prototype={constructor:O,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(_),!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 c.type="throw",c.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],c=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(a&&u){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){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 c=i?i.completion:{};return c.type=t,c.arg=e,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(c)},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),_(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;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:E(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}var g=function(t,e,r,n){return new(r||(r=Promise))((function(o,i){function c(t){try{u(n.next(t))}catch(t){i(t)}}function a(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(c,a)}u((n=n.apply(t,e||[])).next())}))};function m(t,e,r){var o,i,c=window.open(t,"_blank",(500,500,o=parseInt(screen.availWidth/2-250+""),i=parseInt(screen.availHeight/2-250+""),["width=".concat(500),"height=".concat(500),"status","resizable","left=".concat(o),"top=".concat(i),"screenX=".concat(o),"screenY=".concat(i),"scrollbars=yes"].join(",")));if(c)return b(c,r),!!c;n.Q.ErrorHelper.throw(new p(e))}var w={renderVideoSignInPopup:function(t){var e=t.primaryUrl,r=t.shareId,i=t.isMicrosoftTeams,c=t.customerId,a=o._.safeUrlConcat(e,"/login"),u={shareId:r,redirectUrl:"/embed-login-success"};c&&(u.customerId=c);var s=o._.urlBuilder(a,u);i?L(s):m(s,e,(function(){var t=n.Q.AppLinkHelper.getCurrentAppLink(),e=n.Q.AppLinkHelper.getHref(Object.assign(Object.assign({},t),{params:{a:!0}}));n.Q.LocationUtils.PageLoad(e)}))},renderPluginSignInPopup:function(t){var e=t.primaryUrl,r=t.returnUrl,i=t.customerId,c=t.isMicrosoftTeams,a=o._.safeUrlConcat(e,"/login"),u={redirectUrl:"/embed-login-success"};i&&(u.customerId=i);var s=o._.urlBuilder(a,u);c?L(s):m(s,e,(function(){n.Q.LocationUtils.PageLoad(r)}))},canUseCookies:function(){return docCookies.setItem("_cookieTest","1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem("_cookieTest","1",10),!!docCookies.getItem("_cookieTest"))},closePopup:function(t){return g(this,void 0,void 0,v().mark((function e(){var n,o;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=function(){try{n.initialize((function(){n.authentication.notifySuccess()}))}catch(t){}},e.next=3,r.e(4777).then(r.t.bind(r,94777,23));case 3:n=e.sent,t?(o(),window.close()):window.setTimeout((function(){o(),window.close()}),1e3),window.opener.postMessage({type:"authenticated"},"*");case 6:case"end":return e.stop()}}),e)})))}};function b(t,e){setTimeout((function(){t&&(!1===t.closed?b(t,e):e())}),500)}function L(t){return g(this,void 0,void 0,v().mark((function e(){var n;return v().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.e(4777).then(r.t.bind(r,94777,23));case 2:(n=e.sent).initialize((function(){n.authentication.authenticate({url:t,successCallback:function(){y.LocationUtils.Reload()},failureCallback:function(){y.LocationUtils.Reload()},height:1e3,width:1e3})}));case 4:case"end":return e.stop()}}),e)})))}}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6801],{86801:(t,e,n)=>{"use strict";n.r(e),n.d(e,{NotificationsView:()=>T});var o=n(81886),i=n(23481),r=n(71365),a=n(83905),s=n(50723),c=n(60735),l=n(18314),u=n(65220),p=n(39479),f=n(65858),y=n(49985),h=n(35454),b=n.n(h);function v(t){return v="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},v(t)}function d(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function g(t,e){return g=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},g(t,e)}function m(t,e){if(e&&("object"===v(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function k(t){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},k(t)}var w=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&g(t,e)}(a,t);var e,n,o,i,r=(o=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(t){return!1}}(),function(){var t,e=k(o);if(i){var n=k(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return m(this,t)});function a(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),r.call(this,t)}return e=a,(n=[{key:"defaults",get:function(){return{cursors:{},cursorParamName:"cursor"}}},{key:"name",get:function(){return"PaginationComponent"}},{key:"template",get:function(){return b()}},{key:"lang",get:function(){return"shared._pagination"}},{key:"appLinks",get:function(){var t={};if(!this.options.cursors)return{};if(this.options.cursors.previous){var e=this.options.cursors.previous,n=this.buildCursor(this.options.cursors.previous);+e<=1&&!0!==this.options.allowFirstPageCursor&&delete n.params.cursor,t[".previous-applink"]=n}return this.options.cursors.next&&(t[".next-applink"]=this.buildCursor(this.options.cursors.next)),t}},{key:"events",value:function(){return{"click .previous-applink":"onClickPrevious","click .next-applink":"onClickNext"}}},{key:"buildCursor",value:function(t){return{application:this.options.appLink.application,action:this.options.appLink.action,args:this.options.appLink.args,params:p.extend({},this.options.appLink.params,(e={},n=this.options.cursorParamName,o=t,n in e?Object.defineProperty(e,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[n]=o,e))};var e,n,o}},{key:"onClickPrevious",value:function(){this.logAction("previous")}},{key:"onClickNext",value:function(){this.logAction("next")}},{key:"logAction",value:function(t){var e=y.k.mergeOptions(this.options.analyticsOptions,{location:f.LocationContext.Pagination,entity:f.EntityType.Pagination,actionType:f.UserAction.Navigate}),n={id:this.options.collectionId,page:t};y.k.logUserAction(n,e)}},{key:"viewOptions",value:function(){return{cursors:this.options.cursors}}},{key:"onBeforeRender",value:function(){return!!this.options.cursors}}])&&d(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),a}(o.Q.Component),O=n(88654),C=n(43454),P=n.n(C),j=n(89224),x=n.n(j),_=n(58081),I=n(72264);function N(t){return N="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},N(t)}function S(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}function E(t,e){if(e&&("object"===N(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function L(t){return L=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},L(t)}var T=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&R(t,e)}(h,t);var e,n,p,f,y=(p=h,f=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(t){return!1}}(),function(){var t,e=L(p);if(f){var n=L(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return E(this,t)});function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),y.call(this,t)}return e=h,(n=[{key:"name",get:function(){return"NotificationsView"}},{key:"title",get:function(){return i.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"notifications.notifications"}},{key:"template",get:function(){return P()}},{key:"regions",value:function(){return{notifications:{replaceElement:!0,el:".list-region",partialLoading:{component:a.k.ComponentCollection,options:{collectionLength:5,childOptions:{template:x(),className:"px-1 py-2",viewOptions:{styles:_.Z}}}}},pagination:{replaceElement:!0,el:".pagination-region"}}}},{key:"initialize",value:function(){this.notificationService=r.u.getInstance(c.D.Notification,this),this.appVariables=r.u.getInstance(l.C.NOTIFICATIONS,this)}},{key:"onData",value:function(t){this.collection=t,this.render()}},{key:"getCollectionIdentifier",value:function(){return this.collectionIdentifier?this.collectionIdentifier:this.collectionIdentifier=new u.J(Object.assign({collectionPrefix:s.j.NOTIFICATIONS},this.options.params))}},{key:"renderNotificationList",value:function(){var t=new O.Z({collection:this.collection,childType:O.z.Default,liteUrl:this.config instanceof o.Q.Model?this.config.get("liteUrl"):this.config.liteUrl,hasLite:this.options.hasLite});this.showChildView("notifications",t)}},{key:"renderPagination",value:function(){if(this.collection.length){var t=this.notificationService.getNotificationsCursors(this.getCollectionIdentifier()),e=new w({cursors:t,appLink:Object.assign(Object.assign({},this.appVariables.appLinks.notifications),{args:[],params:this.getCollectionIdentifier().toParams()})});this.showChildView("pagination",e)}}},{key:"requiredResources",get:function(){return{config:I.p.config}}},{key:"viewOptions",value:function(){var t,e;return{containerClass:null!==(e=null===(t=this.appVariables)||void 0===t?void 0:t.notificationsViewClassNames)&&void 0!==e?e:""}}},{key:"onBeforeRender",value:function(){var t=this;return this.collection||this.notificationService.getNotifications(this.options.params,this.getCollectionIdentifier(),(function(e){return t.onData(e)})),!!this.collection}},{key:"onRender",value:function(){this.renderNotificationList(),this.renderPagination()}}])&&S(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),h}(o.Q.View)},43454:(t,e,n)=>{var o=n(32227);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=t.escapeExpression;return'<div class="'+a(t.lambda(null!=(r=null!=e?e.options:e)?r.containerClass:r,e))+'">\r\n <h1 class="header border-bottom pb-2 m-0">'+a((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"notifications",{name:"lang",hash:{},data:i}))+'</h1>\r\n <div class="list-region"></div>\r\n <div class="pagination-region"></div>\r\n</div>'},useData:!0})},35454:(t,e,n)=>{var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"disabled"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,a=null!=e?e:t.nullContext||{},s=t.hooks.helperMissing,c=t.escapeExpression;return'<div class="p-3">\r\n <a class="btn previous-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.previous:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((n.lang||e&&e.lang||s).call(a,"previous",{name:"lang",hash:{},data:i}))+'</a>\r\n <a class="btn next-applink btn-secondary '+(null!=(r=n.unless.call(a,null!=(r=null!=(r=null!=e?e.options:e)?r.cursors:r)?r.next:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">'+c((n.lang||e&&e.lang||s).call(a,"next",{name:"lang",hash:{},data:i}))+"</a>\r\n</div>"},useData:!0})}}]);