@clickview/lite 0.37.7 → 0.38.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (186) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/css/{2408-lite-d788a06bf3.chunk.css → 140-lite-523778436b.chunk.css} +5 -4
  3. package/dist/css/{1316-lite-816d1abf12.chunk.css → 1437-lite-4c1d1802af.chunk.css} +7 -7
  4. package/dist/css/{5306-lite-cb200964ce.chunk.css → 1544-lite-9c13284793.chunk.css} +5 -4
  5. package/dist/css/{4956-lite-12f53a63d0.chunk.css → 1786-lite-d477731bf6.chunk.css} +5 -4
  6. package/dist/css/{1924-lite-e0ed06b30e.chunk.css → 1798-lite-75ed3a71dd.chunk.css} +1 -1
  7. package/dist/css/{5638-lite-b9b1686d14.chunk.css → 1853-lite-ea987eac55.chunk.css} +5 -4
  8. package/dist/css/{2199-lite-824c77c7cb.chunk.css → 2199-lite-75b9144dfc.chunk.css} +1 -1
  9. package/dist/css/{268-lite-0b8496b169.chunk.css → 2258-lite-aeba523d8b.chunk.css} +5 -4
  10. package/dist/css/{8541-lite-2c4667c98a.chunk.css → 2468-lite-d142a5d975.chunk.css} +5 -4
  11. package/dist/css/{5127-lite-6298f2bf71.chunk.css → 2669-lite-6eb41c1bd9.chunk.css} +5 -4
  12. package/dist/css/{7020-lite-7347395735.chunk.css → 274-lite-543971c74b.chunk.css} +5 -6
  13. package/dist/css/{1581-lite-24faaebc8c.chunk.css → 2809-lite-739697ccef.chunk.css} +5 -4
  14. package/dist/css/{5965-lite-c0be07cd4c.chunk.css → 2857-lite-402a65c227.chunk.css} +5 -4
  15. package/dist/css/{2703-lite-280e305215.chunk.css → 2902-lite-e063f649da.chunk.css} +5 -4
  16. package/dist/css/{4728-lite-6298f2bf71.chunk.css → 2925-lite-6eb41c1bd9.chunk.css} +5 -4
  17. package/dist/css/{757-lite-649ce0643d.chunk.css → 298-lite-14ce8c0390.chunk.css} +5 -4
  18. package/dist/css/{1519-lite-c0be07cd4c.chunk.css → 3067-lite-402a65c227.chunk.css} +5 -4
  19. package/dist/css/{3531-lite-8e3930c068.chunk.css → 3095-lite-727d855b21.chunk.css} +5 -4
  20. package/dist/css/{9133-lite-47a5344de5.chunk.css → 3189-lite-a05a498d85.chunk.css} +5 -4
  21. package/dist/css/{1688-lite-a653f82331.chunk.css → 3545-lite-9d2b0294ad.chunk.css} +5 -4
  22. package/dist/css/{2452-lite-8fa13cad49.chunk.css → 3715-lite-17e5c1e64f.chunk.css} +5 -4
  23. package/dist/css/{4441-lite-5507c4deb7.chunk.css → 4441-lite-edb697b2a0.chunk.css} +1 -1
  24. package/dist/css/{6683-lite-bfbd8a654d.chunk.css → 5236-lite-d5795216f8.chunk.css} +5 -4
  25. package/dist/css/{2469-lite-f38a67e16f.chunk.css → 5582-lite-ced3dbf86f.chunk.css} +5 -4
  26. package/dist/css/{9660-lite-3d08e5e8c2.chunk.css → 5729-lite-f010538129.chunk.css} +5 -4
  27. package/dist/css/{4210-lite-e11245dada.chunk.css → 578-lite-2964dcb30d.chunk.css} +5 -4
  28. package/dist/css/{8469-lite-47a5344de5.chunk.css → 613-lite-a05a498d85.chunk.css} +5 -4
  29. package/dist/css/{1201-lite-bc27e1841b.chunk.css → 7018-lite-5b142e0290.chunk.css} +5 -4
  30. package/dist/css/{9704-lite-fe60ddd8f0.chunk.css → 717-lite-85b49ea035.chunk.css} +5 -4
  31. package/dist/css/{3311-lite-1e355d6982.chunk.css → 7734-lite-c276e3e862.chunk.css} +5 -4
  32. package/dist/css/{2651-lite-bc27e1841b.chunk.css → 778-lite-5b142e0290.chunk.css} +5 -4
  33. package/dist/css/{6751-lite-70a7a4ebaf.chunk.css → 800-lite-2f8c7555fe.chunk.css} +5 -4
  34. package/dist/css/{1461-lite-3c6f5b78a2.chunk.css → 9220-lite-b41247fc14.chunk.css} +5 -4
  35. package/dist/css/{1296-lite-18b315abe3.chunk.css → 9496-lite-3715bc9dca.chunk.css} +5 -4
  36. package/dist/css/{8028-lite-24022433b1.chunk.css → 9523-lite-95a488394c.chunk.css} +5 -4
  37. package/dist/css/{1514-lite-e7eb23a1d0.chunk.css → 9746-lite-107e54be03.chunk.css} +5 -4
  38. package/dist/css/lite-app-a3c4a51ddd.css +50 -0
  39. package/dist/languages/en.json +1 -1
  40. package/dist/scripts/140-f3e0bd71e1-lite.chunk.js +1 -0
  41. package/dist/scripts/1437-3dd3f436b4-lite.chunk.js +1 -0
  42. package/dist/scripts/1518-488d8f565a-lite.chunk.js +1 -0
  43. package/dist/scripts/{5306-221166a75f-lite.chunk.js → 1544-119f5b1f8a-lite.chunk.js} +1 -1
  44. package/dist/scripts/1786-458f227c92-lite.chunk.js +1 -0
  45. package/dist/scripts/1798-72cec503de-lite.chunk.js +1 -0
  46. package/dist/scripts/1853-0350fb05d9-lite.chunk.js +1 -0
  47. package/dist/scripts/2087-085d6dadcd-lite.chunk.js +1 -0
  48. package/dist/scripts/2178-e330a0ab4b-lite.chunk.js +2 -0
  49. package/dist/scripts/2199-702074efad-lite.chunk.js +1 -0
  50. package/dist/scripts/{268-2f4a703926-lite.chunk.js → 2258-52d031c9ab-lite.chunk.js} +1 -1
  51. package/dist/scripts/2261-8286c361a4-lite.chunk.js +1 -0
  52. package/dist/scripts/2318-b5d34d30f7-lite.chunk.js +1 -0
  53. package/dist/scripts/{9653-747cb3b9ac-lite.chunk.js → 2452-446607a894-lite.chunk.js} +1 -1
  54. package/dist/scripts/{8541-e3ff95a921-lite.chunk.js → 2468-eaf3b390f5-lite.chunk.js} +1 -1
  55. package/dist/scripts/274-d5752bca21-lite.chunk.js +1 -0
  56. package/dist/scripts/2809-b8dc594723-lite.chunk.js +1 -0
  57. package/dist/scripts/{5965-70cfa5ae2b-lite.chunk.js → 2857-0a9c7ef438-lite.chunk.js} +1 -1
  58. package/dist/scripts/287-590fcceee4-lite.chunk.js +1 -0
  59. package/dist/scripts/2902-2a0caee737-lite.chunk.js +2 -0
  60. package/dist/scripts/{4728-1035558b71-lite.chunk.js → 2925-46bc01ccf2-lite.chunk.js} +1 -1
  61. package/dist/scripts/2977-f3b6f64b66-lite.chunk.js +1 -0
  62. package/dist/scripts/{757-6976a372c7-lite.chunk.js → 298-cb2a9ada3f-lite.chunk.js} +1 -1
  63. package/dist/scripts/{3042-773f4e2b4b-lite.chunk.js → 3042-5f0de0d4d0-lite.chunk.js} +1 -1
  64. package/dist/scripts/{1519-5ca697f385-lite.chunk.js → 3067-29c874cdfb-lite.chunk.js} +1 -1
  65. package/dist/scripts/3081-50b7c528e0-lite.chunk.js +2 -0
  66. package/dist/scripts/3095-d74c3a2324-lite.chunk.js +2 -0
  67. package/dist/scripts/316-1efbcc6ea5-lite.chunk.js +1 -0
  68. package/dist/scripts/{9133-527afaf38c-lite.chunk.js → 3189-445815a541-lite.chunk.js} +1 -1
  69. package/dist/scripts/3389-887f04d2a7-lite.chunk.js +1 -0
  70. package/dist/scripts/3545-0aa848282b-lite.chunk.js +1 -0
  71. package/dist/scripts/{2452-fe37b8921b-lite.chunk.js → 3715-c040c861db-lite.chunk.js} +1 -1
  72. package/dist/scripts/4441-e7246f6e8e-lite.chunk.js +2 -0
  73. package/dist/scripts/{4617-05ff5ff4b8-lite.chunk.js → 4617-d005df7a81-lite.chunk.js} +1 -1
  74. package/dist/scripts/4632-8299902c6f-lite.chunk.js +1 -0
  75. package/dist/scripts/{4676-f42625f630-lite.chunk.js → 4676-d20d89e4a3-lite.chunk.js} +2 -2
  76. package/dist/scripts/{5177-c05fa2bfbb-lite.chunk.js → 5177-0ab4eedd6f-lite.chunk.js} +2 -2
  77. package/dist/scripts/5236-523db7b855-lite.chunk.js +2 -0
  78. package/dist/scripts/537-d271286d5d-lite.chunk.js +2 -0
  79. package/dist/scripts/{5385-77ef8dea0b-lite.chunk.js → 5385-d99e576260-lite.chunk.js} +1 -1
  80. package/dist/scripts/5438-d22d11b4e2-lite.chunk.js +1 -0
  81. package/dist/scripts/5582-674b7f4844-lite.chunk.js +1 -0
  82. package/dist/scripts/5622-f78998bbe6-lite.chunk.js +2 -0
  83. package/dist/scripts/5729-538592d697-lite.chunk.js +1 -0
  84. package/dist/scripts/578-d75d1aa83f-lite.chunk.js +1 -0
  85. package/dist/scripts/5974-85c557c980-lite.chunk.js +1 -0
  86. package/dist/scripts/5986-353ceba4fa-lite.chunk.js +1 -0
  87. package/dist/scripts/613-09cc35983c-lite.chunk.js +1 -0
  88. package/dist/scripts/{6368-595af6245a-lite.chunk.js → 6368-72ef2eefc1-lite.chunk.js} +1 -1
  89. package/dist/scripts/6450-5f09ed3ad3-lite.chunk.js +1 -0
  90. package/dist/scripts/{6468-7d33adfc1c-lite.chunk.js → 6468-c5d0536d1a-lite.chunk.js} +2 -2
  91. package/dist/scripts/6891-d4b2c9546b-lite.chunk.js +1 -0
  92. package/dist/scripts/{6896-5cfe52dd46-lite.chunk.js → 6896-fef0e6eae2-lite.chunk.js} +2 -2
  93. package/dist/scripts/{7017-f4a09e9efc-lite.chunk.js → 7017-ada7fa723b-lite.chunk.js} +2 -2
  94. package/dist/scripts/{2651-fcda2484d8-lite.chunk.js → 7018-2308f5533a-lite.chunk.js} +1 -1
  95. package/dist/scripts/7052-83dfcb1239-lite.chunk.js +2 -0
  96. package/dist/scripts/7115-5d43884d9f-lite.chunk.js +1 -0
  97. package/dist/scripts/717-94af4ef519-lite.chunk.js +1 -0
  98. package/dist/scripts/7293-82873b74bf-lite.chunk.js +1 -0
  99. package/dist/scripts/{7432-080b8ba0a4-lite.chunk.js → 7432-e84ce758c3-lite.chunk.js} +1 -1
  100. package/dist/scripts/7703-317893bc5c-lite.chunk.js +1 -0
  101. package/dist/scripts/{3311-5dfbba051e-lite.chunk.js → 7734-db37269bb7-lite.chunk.js} +1 -1
  102. package/dist/scripts/778-fdade2c78d-lite.chunk.js +1 -0
  103. package/dist/scripts/800-23301b97d8-lite.chunk.js +2 -0
  104. package/dist/scripts/823-5d90547084-lite.chunk.js +1 -0
  105. package/dist/scripts/841-00ef719dad-lite.chunk.js +2 -0
  106. package/dist/scripts/{1461-f4549a5af3-lite.chunk.js → 9220-f6806c7c46-lite.chunk.js} +1 -1
  107. package/dist/scripts/{9230-a8d9d8d51c-lite.chunk.js → 9230-8d7875945e-lite.chunk.js} +2 -2
  108. package/dist/scripts/9273-944618d4f5-lite.chunk.js +1 -0
  109. package/dist/scripts/{9433-8d56e50ece-lite.chunk.js → 9433-049851ed26-lite.chunk.js} +1 -1
  110. package/dist/scripts/{9455-1a4613b3ff-lite.chunk.js → 9455-7cab3a3c5e-lite.chunk.js} +1 -1
  111. package/dist/scripts/{9478-cda988f2ef-lite.chunk.js → 9478-193a5376c5-lite.chunk.js} +2 -2
  112. package/dist/scripts/{9484-44adebd607-lite.chunk.js → 9484-cfdaf1f938-lite.chunk.js} +2 -2
  113. package/dist/scripts/9484-cfdaf1f938-lite.chunk.js.LICENSE.txt +1 -0
  114. package/dist/scripts/9496-7e3e44a0ee-lite.chunk.js +1 -0
  115. package/dist/scripts/{8028-3d908b1b50-lite.chunk.js → 9523-d1769fc0b7-lite.chunk.js} +1 -1
  116. package/dist/scripts/{9657-fc2670b2e7-lite.chunk.js → 9657-631eda8030-lite.chunk.js} +1 -1
  117. package/dist/scripts/{1514-93c807c5bd-lite.chunk.js → 9746-f220145c9d-lite.chunk.js} +1 -1
  118. package/dist/scripts/bundle-7288a46080.min.js +2 -0
  119. package/package.json +1 -1
  120. package/dist/css/lite-app-b3d2f810cc.css +0 -50
  121. package/dist/scripts/1201-235e8e6e6c-lite.chunk.js +0 -1
  122. package/dist/scripts/1296-82f5afb1de-lite.chunk.js +0 -1
  123. package/dist/scripts/1316-5e9907110b-lite.chunk.js +0 -1
  124. package/dist/scripts/1518-8c3cf8d7e1-lite.chunk.js +0 -1
  125. package/dist/scripts/1581-12f3e8ff9a-lite.chunk.js +0 -1
  126. package/dist/scripts/1688-c877428709-lite.chunk.js +0 -1
  127. package/dist/scripts/1919-c92024eb18-lite.chunk.js +0 -1
  128. package/dist/scripts/1924-5718ec7450-lite.chunk.js +0 -1
  129. package/dist/scripts/2178-9f30edb829-lite.chunk.js +0 -2
  130. package/dist/scripts/2188-d451819228-lite.chunk.js +0 -1
  131. package/dist/scripts/2199-aec3994a59-lite.chunk.js +0 -1
  132. package/dist/scripts/2261-3936599330-lite.chunk.js +0 -1
  133. package/dist/scripts/2318-dd683b7d95-lite.chunk.js +0 -1
  134. package/dist/scripts/2408-e87c23a420-lite.chunk.js +0 -1
  135. package/dist/scripts/2469-e7deedb9a5-lite.chunk.js +0 -1
  136. package/dist/scripts/2703-d521598fbe-lite.chunk.js +0 -2
  137. package/dist/scripts/287-0682c32b8d-lite.chunk.js +0 -1
  138. package/dist/scripts/2977-0475978a12-lite.chunk.js +0 -1
  139. package/dist/scripts/316-7b3d22dbaa-lite.chunk.js +0 -1
  140. package/dist/scripts/3531-4c23138c2a-lite.chunk.js +0 -2
  141. package/dist/scripts/4210-656061ffaa-lite.chunk.js +0 -1
  142. package/dist/scripts/4441-6bb928c2ab-lite.chunk.js +0 -2
  143. package/dist/scripts/4632-f18be8dc63-lite.chunk.js +0 -1
  144. package/dist/scripts/4956-9f9e3066a8-lite.chunk.js +0 -1
  145. package/dist/scripts/537-2c41dfbf5a-lite.chunk.js +0 -2
  146. package/dist/scripts/5622-ebe605fe77-lite.chunk.js +0 -2
  147. package/dist/scripts/5638-72c577bd31-lite.chunk.js +0 -1
  148. package/dist/scripts/5974-aa0193f45c-lite.chunk.js +0 -1
  149. package/dist/scripts/5986-410e95e4dd-lite.chunk.js +0 -1
  150. package/dist/scripts/6450-397ca8ed54-lite.chunk.js +0 -1
  151. package/dist/scripts/6683-8c6292186c-lite.chunk.js +0 -2
  152. package/dist/scripts/6751-b5e8fbca5c-lite.chunk.js +0 -2
  153. package/dist/scripts/6788-7805c988fb-lite.chunk.js +0 -1
  154. package/dist/scripts/6891-ce3ea87a1e-lite.chunk.js +0 -1
  155. package/dist/scripts/7020-de9c31233b-lite.chunk.js +0 -1
  156. package/dist/scripts/7052-dd62ce3913-lite.chunk.js +0 -2
  157. package/dist/scripts/7115-e151c64c7f-lite.chunk.js +0 -1
  158. package/dist/scripts/7293-aaf6011f33-lite.chunk.js +0 -1
  159. package/dist/scripts/7703-b3cff25cc6-lite.chunk.js +0 -1
  160. package/dist/scripts/823-8021fb4ea5-lite.chunk.js +0 -1
  161. package/dist/scripts/841-664bc280c3-lite.chunk.js +0 -2
  162. package/dist/scripts/8469-0e7211115c-lite.chunk.js +0 -1
  163. package/dist/scripts/9273-25014369ed-lite.chunk.js +0 -1
  164. package/dist/scripts/9660-bd5da7980d-lite.chunk.js +0 -1
  165. package/dist/scripts/9704-a0b32c43d5-lite.chunk.js +0 -1
  166. package/dist/scripts/bundle-2e1000b775.min.js +0 -2
  167. /package/dist/css/{1919-lite-ab01f5dc3b.chunk.css → 3389-lite-ab01f5dc3b.chunk.css} +0 -0
  168. /package/dist/scripts/{2178-9f30edb829-lite.chunk.js.LICENSE.txt → 2178-e330a0ab4b-lite.chunk.js.LICENSE.txt} +0 -0
  169. /package/dist/scripts/{2703-d521598fbe-lite.chunk.js.LICENSE.txt → 2902-2a0caee737-lite.chunk.js.LICENSE.txt} +0 -0
  170. /package/dist/scripts/{3531-4c23138c2a-lite.chunk.js.LICENSE.txt → 3081-50b7c528e0-lite.chunk.js.LICENSE.txt} +0 -0
  171. /package/dist/scripts/{4441-6bb928c2ab-lite.chunk.js.LICENSE.txt → 3095-d74c3a2324-lite.chunk.js.LICENSE.txt} +0 -0
  172. /package/dist/scripts/{4676-f42625f630-lite.chunk.js.LICENSE.txt → 4441-e7246f6e8e-lite.chunk.js.LICENSE.txt} +0 -0
  173. /package/dist/scripts/{5177-c05fa2bfbb-lite.chunk.js.LICENSE.txt → 4676-d20d89e4a3-lite.chunk.js.LICENSE.txt} +0 -0
  174. /package/dist/scripts/{537-2c41dfbf5a-lite.chunk.js.LICENSE.txt → 5177-0ab4eedd6f-lite.chunk.js.LICENSE.txt} +0 -0
  175. /package/dist/scripts/{5622-ebe605fe77-lite.chunk.js.LICENSE.txt → 5236-523db7b855-lite.chunk.js.LICENSE.txt} +0 -0
  176. /package/dist/scripts/{6468-7d33adfc1c-lite.chunk.js.LICENSE.txt → 537-d271286d5d-lite.chunk.js.LICENSE.txt} +0 -0
  177. /package/dist/scripts/{6683-8c6292186c-lite.chunk.js.LICENSE.txt → 5622-f78998bbe6-lite.chunk.js.LICENSE.txt} +0 -0
  178. /package/dist/scripts/{6751-b5e8fbca5c-lite.chunk.js.LICENSE.txt → 6468-c5d0536d1a-lite.chunk.js.LICENSE.txt} +0 -0
  179. /package/dist/scripts/{6896-5cfe52dd46-lite.chunk.js.LICENSE.txt → 6896-fef0e6eae2-lite.chunk.js.LICENSE.txt} +0 -0
  180. /package/dist/scripts/{7017-f4a09e9efc-lite.chunk.js.LICENSE.txt → 7017-ada7fa723b-lite.chunk.js.LICENSE.txt} +0 -0
  181. /package/dist/scripts/{7052-dd62ce3913-lite.chunk.js.LICENSE.txt → 7052-83dfcb1239-lite.chunk.js.LICENSE.txt} +0 -0
  182. /package/dist/scripts/{841-664bc280c3-lite.chunk.js.LICENSE.txt → 800-23301b97d8-lite.chunk.js.LICENSE.txt} +0 -0
  183. /package/dist/scripts/{9230-a8d9d8d51c-lite.chunk.js.LICENSE.txt → 841-00ef719dad-lite.chunk.js.LICENSE.txt} +0 -0
  184. /package/dist/scripts/{9478-cda988f2ef-lite.chunk.js.LICENSE.txt → 9230-8d7875945e-lite.chunk.js.LICENSE.txt} +0 -0
  185. /package/dist/scripts/{9484-44adebd607-lite.chunk.js.LICENSE.txt → 9478-193a5376c5-lite.chunk.js.LICENSE.txt} +0 -0
  186. /package/dist/scripts/{bundle-2e1000b775.min.js.LICENSE.txt → bundle-7288a46080.min.js.LICENSE.txt} +0 -0
@@ -1,2 +1,2 @@
1
- /*! For license information please see 6896-5cfe52dd46-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6896],{6736:(t,e,r)=>{r.d(e,{b:()=>w});var n=r(39202),o=r(97395),i=r(81886),a=r(23481),c=r(47663);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(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,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:String(e)}function f(t,e,r){return e=p(e),function(t,e){if(e&&("object"===u(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)}(t,h()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var d="embed.protectiveBrowserSettingsError",v=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=f(this,e,[a.T.getPhrase(d,"title")])).url=t,r}var r,n;return 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&&y(t,e)}(e,t),r=e,(n=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:a.T.getPhrase(d,"heading"),text:a.T.getPhrase(d,"description",{url:this.url}),buttons:[{text:a.T.getPhrase(d,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),e}(c.S);function m(t){return m="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},m(t)}function g(){g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new U(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function b(){}function w(){}function E(){}var k={};s(k,a,(function(){return this}));var x=Object.getPrototypeOf,_=x&&x(x(I([])));_&&_!==r&&n.call(_,a)&&(k=_);var L=E.prototype=b.prototype=Object.create(k);function P(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==m(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function U(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function I(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return w.prototype=E,o(L,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},P(S.prototype),s(S.prototype,c,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},P(L),s(L,u,"Generator"),s(L,a,(function(){return this})),s(L,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=I,U.prototype={constructor:U,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},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),C(r),v}},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;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:I(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function b(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?550:screen.availWidth,r="sm"===t?750:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return E(o,r),o;i.Q.Ry.throw(new v(e))}var w={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,a=t.isMicrosoftTeams,c=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),y={redirectUrl:l,showSignUp:!0};i&&(y.shareId=i),c&&(y.customerId=c);var d=o._.urlBuilder(p,y);if(!a)return b(d,e,u,h);!function(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(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(d)},renderSignUpPopup:function(t){var e=t.primaryUrl,r=t.onClose,n=t.size,i=void 0===n?"sm":n;return b(o._.safeUrlConcat(e,"/sign-up"),e,r,i)},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=g().mark((function e(){var n,o;return g().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 a(t){try{u(i.next(t))}catch(t){r(t)}}function c(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(a,c)}u((i=i.apply(e,n||[])).next())}));var e,n,o,i}};function E(t,e){setTimeout((function(){t&&(!1===t.closed?E(t,e):e())}),500)}},36896:(t,e,r)=>{r.r(e),r.d(e,{PluginLoginView:()=>m});var n=r(32735),o=r(98269),i=r(60810),a=r(39202),c=r(97395),u=r(81886),s=r(20354),l=r(2786),f=r(83345),h=r(39151),p=r(62756),y=r(6736);const d={contentWidth:"Vm5ro"};var v="embed.pluginLogin";function m(t){var e=s.a.useBasicFetch(h.L.config()),r=function(t){var e=t.split("?");if(!e.length)return null;var r=e.slice(1).join("?");return a.Ab.DeserializeQueryParams(r)}(t.returnUrl),m=r.customerId,g=r.consumerKey,b=g===p.A.MicrosoftTeams,w=g===p.A.SmartEmbed;return n.createElement("div",{className:"d-flex justify-content-center align-items-center vh-100"},n.createElement("div",{className:"".concat(d.contentWidth," d-flex align-items-center flex-column justify-content-center p-4")},n.createElement("div",{className:"px-4"},n.createElement(l.$S,null)),n.createElement("p",{className:"my-3"},n.createElement(f.x,{namespace:v,phrase:"tagline"})),n.createElement(o.Z,{variant:"dark",className:"btn-lg w-100",onClick:function(){if(!y.b.canUseCookies()&&!b)return r=y.b.renderSignInPopup({primaryUrl:a.Ab.GetCurrentOrigin(),redirectUrl:c._.urlBuilder("/plugin",a.Ab.GetQuery()),customerId:m,onClose:function(){n.off("cv-lms-addvideo")},size:"lg"}),void(n=new i.CVEventsApi(r)).on("cv-lms-addvideo",(function(t,e){var r={type:"cv-lms-addvideo",data:e};window.parent.postMessage(JSON.stringify(r),"*")}));var r,n;y.b.renderSignInPopup({primaryUrl:e.data.primaryUrl,customerId:m,isMicrosoftTeams:b,onClose:function(){u.Q.Ab.PageLoad(t.returnUrl)}})}},n.createElement(f.x,{namespace:v,phrase:"signIn"})),w&&n.createElement(o.Z,{variant:"link",className:"btn-lg w-100 info-link mt-2",onClick:function(){y.b.renderSignUpPopup({primaryUrl:e.data.primaryUrl,onClose:function(){u.Q.Ab.PageLoad(t.returnUrl)}})}},n.createElement(f.x,{namespace:v,phrase:"signUp"}))))}}}]);
1
+ /*! For license information please see 6896-fef0e6eae2-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[6896],{6736:(t,e,r)=>{r.d(e,{b:()=>E});var n=r(39202),o=r(97395),i=r(81886),a=r(23481),c=r(47663);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(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,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:String(e)}function f(t,e,r){return e=p(e),function(t,e){if(e&&("object"===u(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)}(t,h()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var d="embed.protectiveBrowserSettingsError",v=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=f(this,e,[a.T.getPhrase(d,"title")])).url=t,r}var r,n;return 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&&y(t,e)}(e,t),r=e,(n=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:a.T.getPhrase(d,"heading"),text:a.T.getPhrase(d,"description",{url:this.url}),buttons:[{text:a.T.getPhrase(d,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),e}(c.S);function m(t){return m="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},m(t)}function g(){g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:O(t,r,c)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function b(){}function w(){}function E(){}var k={};s(k,a,(function(){return this}));var x=Object.getPrototypeOf,P=x&&x(x(U([])));P&&P!==r&&n.call(P,a)&&(k=P);var _=E.prototype=b.prototype=Object.create(k);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function S(t,e){function r(o,i,a,c){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==m(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,a,c)}),(function(t){r("throw",t,a,c)})):e.resolve(l).then((function(t){s.value=t,a(s)}),(function(t){return r("throw",t,a,c)}))}c(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function O(e,r,n){var o=h;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=j(c,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function C(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(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function U(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return w.prototype=E,o(_,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},L(S.prototype),s(S.prototype,c,(function(){return this})),e.AsyncIterator=S,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new S(l(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},L(_),s(_,u,"Generator"),s(_,a,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=U,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},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),T(r),v}},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;T(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:U(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var b="_cookieTest";function w(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?550:screen.availWidth,r="sm"===t?750:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return k(o,r),o;i.Q.Ry.throw(new v(e))}var E={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,a=t.isMicrosoftTeams,c=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),y={redirectUrl:l,showSignUp:!0};i&&(y.shareId=i),c&&(y.customerId=c);var d=o._.urlBuilder(p,y);if(!a)return w(d,e,u,h);!function(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(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(d)},renderSignUpPopup:function(t){var e=t.primaryUrl,r=t.onClose,n=t.size,i=void 0===n?"sm":n;return w(o._.safeUrlConcat(e,"/sign-up"),e,r,i)},setPreloadCookie:function(){docCookies.setItem(b,"1",3600,null,null,!0,"none")},canUseCookies:function(){return docCookies.setItem(b,"1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem(b,"1",10),!!docCookies.getItem(b))},closePopup:function(t){return e=this,n=void 0,o=void 0,i=g().mark((function e(){var n,o;return g().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 a(t){try{u(i.next(t))}catch(t){r(t)}}function c(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(a,c)}u((i=i.apply(e,n||[])).next())}));var e,n,o,i}};function k(t,e){setTimeout((function(){t&&(!1===t.closed?k(t,e):e())}),500)}},36896:(t,e,r)=>{r.r(e),r.d(e,{PluginLoginView:()=>m});var n=r(32735),o=r(98269),i=r(60810),a=r(39202),c=r(97395),u=r(81886),s=r(20354),l=r(2786),f=r(83345),h=r(39151),p=r(62756),y=r(6736);const d={contentWidth:"Vm5ro"};var v="embed.pluginLogin";function m(t){var e=s.a.useBasicFetch(h.L.config()),r=function(t){var e=t.split("?");if(!e.length)return null;var r=e.slice(1).join("?");return a.Ab.DeserializeQueryParams(r)}(t.returnUrl),m=r.customerId,g=r.consumerKey,b=g===p.A.MicrosoftTeams,w=g===p.A.SmartEmbed;return n.createElement("div",{className:"d-flex justify-content-center align-items-center vh-100"},n.createElement("div",{className:"".concat(d.contentWidth," d-flex align-items-center flex-column justify-content-center p-4")},n.createElement("div",{className:"px-4"},n.createElement(l.$S,null)),n.createElement("p",{className:"my-3"},n.createElement(f.x,{namespace:v,phrase:"tagline"})),n.createElement(o.Z,{variant:"dark",className:"btn-lg w-100",onClick:function(){if(!y.b.canUseCookies()&&!b)return r=y.b.renderSignInPopup({primaryUrl:a.Ab.GetCurrentOrigin(),redirectUrl:c._.urlBuilder("/plugin",a.Ab.GetQuery()),customerId:m,onClose:function(){n.off("cv-lms-addvideo")},size:"lg"}),void(n=new i.CVEventsApi(r)).on("cv-lms-addvideo",(function(t,e){var r={type:"cv-lms-addvideo",data:e};window.parent.postMessage(JSON.stringify(r),"*")}));var r,n;y.b.renderSignInPopup({primaryUrl:e.data.primaryUrl,customerId:m,isMicrosoftTeams:b,onClose:function(){u.Q.Ab.PageLoad(t.returnUrl)}})}},n.createElement(f.x,{namespace:v,phrase:"signIn"})),w&&n.createElement(o.Z,{variant:"link",className:"btn-lg w-100 info-link mt-2",onClick:function(){y.b.renderSignUpPopup({primaryUrl:e.data.primaryUrl,onClose:function(){u.Q.Ab.PageLoad(t.returnUrl)}})}},n.createElement(f.x,{namespace:v,phrase:"signUp"}))))}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 7017-f4a09e9efc-lite.chunk.js.LICENSE.txt */
2
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7017],{6736:(t,e,r)=>{r.d(e,{b:()=>w});var n=r(39202),o=r(97395),i=r(81886),c=r(23481),a=r(47663);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(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,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:String(e)}function f(t,e,r){return e=p(e),function(t,e){if(e&&("object"===u(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)}(t,h()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var d="embed.protectiveBrowserSettingsError",v=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=f(this,e,[c.T.getPhrase(d,"title")])).url=t,r}var r,n;return 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&&y(t,e)}(e,t),r=e,(n=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:c.T.getPhrase(d,"heading"),text:c.T.getPhrase(d,"description",{url:this.url}),buttons:[{text:c.T.getPhrase(d,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),e}(a.S);function m(t){return m="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},m(t)}function g(){g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,c=Object.create(i.prototype),a=new I(n||[]);return o(c,"_invoke",{value:j(t,r,a)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function b(){}function w(){}function E(){}var x={};s(x,c,(function(){return this}));var _=Object.getPrototypeOf,S=_&&_(_(N([])));S&&S!==r&&n.call(S,c)&&(x=S);var k=E.prototype=b.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,c,a){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==m(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,c,a)}),(function(t){r("throw",t,c,a)})):e.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,a)}))}a(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=h;return function(i,c){if(o===y)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw c;return{value:t,done:!0}}for(n.method=i,n.arg=c;;){var a=n.delegate;if(a){var u=P(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function P(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,P(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var c=i.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return w.prototype=E,o(k,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(k),t},e.awrap=function(t){return{__await:t}},L(O.prototype),s(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new O(l(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},L(k),s(k,u,"Generator"),s(k,c,(function(){return this})),s(k,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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,v):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),v},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),C(r),v}},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;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}function b(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?550:screen.availWidth,r="sm"===t?750:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return E(o,r),o;i.Q.Ry.throw(new v(e))}var w={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,c=t.isMicrosoftTeams,a=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),y={redirectUrl:l,showSignUp:!0};i&&(y.shareId=i),a&&(y.customerId=a);var d=o._.urlBuilder(p,y);if(!c)return b(d,e,u,h);!function(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(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(d)},renderSignUpPopup:function(t){var e=t.primaryUrl,r=t.onClose,n=t.size,i=void 0===n?"sm":n;return b(o._.safeUrlConcat(e,"/sign-up"),e,r,i)},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=g().mark((function e(){var n,o;return g().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 E(t,e){setTimeout((function(){t&&(!1===t.closed?E(t,e):e())}),500)}},17017:(t,e,r)=>{r.r(e),r.d(e,{EmbedLoginSuccessView:()=>f});var n=r(32735),o=r(2786),i=r(83345),c=r(99742);const a={logo:"EtNtX"};var u="embed.embedLoginSuccess";function s(){return n.createElement("div",{className:"mt-5"},n.createElement("div",{className:"".concat(a.logo," mx-auto")},n.createElement(o.$S,null)),n.createElement("img",{className:"img-fluid mx-auto d-block mt-4",alt:"Success",src:c.W.SUCCESS,style:{maxWidth:"18rem"}}),n.createElement("p",{className:"text-center mb-4 mt-2"},n.createElement(i.x,{namespace:u,phrase:"success"})))}var l=r(6736);function f(){return n.useEffect((function(){l.b.closePopup()}),[]),n.createElement(s,null)}}}]);
1
+ /*! For license information please see 7017-ada7fa723b-lite.chunk.js.LICENSE.txt */
2
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7017],{6736:(t,e,r)=>{r.d(e,{b:()=>E});var n=r(39202),o=r(97395),i=r(81886),c=r(23481),a=r(47663);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(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,l(n.key),n)}}function l(t){var e=function(t,e){if("object"!=u(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!=u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==u(e)?e:String(e)}function f(t,e,r){return e=p(e),function(t,e){if(e&&("object"===u(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)}(t,h()?Reflect.construct(e,r||[],p(t).constructor):e.apply(t,r))}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var d="embed.protectiveBrowserSettingsError",v=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=f(this,e,[c.T.getPhrase(d,"title")])).url=t,r}var r,n;return 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&&y(t,e)}(e,t),r=e,(n=[{key:"name",get:function(){return"ProtectiveBrowserSettingsError"}},{key:"dialogOptions",get:function(){return{title:c.T.getPhrase(d,"heading"),text:c.T.getPhrase(d,"description",{url:this.url}),buttons:[{text:c.T.getPhrase(d,"okay"),className:"btn btn-dark",success:!0}]}}}])&&s(r.prototype,n),Object.defineProperty(r,"prototype",{writable:!1}),e}(a.S);function m(t){return m="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},m(t)}function g(){g=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",a=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function l(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,c=Object.create(i.prototype),a=new I(n||[]);return o(c,"_invoke",{value:P(t,r,a)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=l;var h="suspendedStart",p="suspendedYield",y="executing",d="completed",v={};function b(){}function w(){}function E(){}var x={};s(x,c,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(N([])));k&&k!==r&&n.call(k,c)&&(x=k);var _=E.prototype=b.prototype=Object.create(x);function L(t){["next","throw","return"].forEach((function(e){s(t,e,(function(t){return this._invoke(e,t)}))}))}function O(t,e){function r(o,i,c,a){var u=f(t[o],t,i);if("throw"!==u.type){var s=u.arg,l=s.value;return l&&"object"==m(l)&&n.call(l,"__await")?e.resolve(l.__await).then((function(t){r("next",t,c,a)}),(function(t){r("throw",t,c,a)})):e.resolve(l).then((function(t){s.value=t,c(s)}),(function(t){return r("throw",t,c,a)}))}a(u.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function P(e,r,n){var o=h;return function(i,c){if(o===y)throw new Error("Generator is already running");if(o===d){if("throw"===i)throw c;return{value:t,done:!0}}for(n.method=i,n.arg=c;;){var a=n.delegate;if(a){var u=j(a,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===h)throw o=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=f(e,r,n);if("normal"===s.type){if(o=n.done?d:p,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=d,n.method="throw",n.arg=s.arg)}}}function j(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,j(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var i=f(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,v;var c=i.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(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 C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function N(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(m(e)+" is not iterable")}return w.prototype=E,o(_,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,u,"GeneratorFunction")),t.prototype=Object.create(_),t},e.awrap=function(t){return{__await:t}},L(O.prototype),s(O.prototype,a,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var c=new O(l(t,r,n,o),i);return e.isGeneratorFunction(r)?c:c.next().then((function(t){return t.done?t.value:c.next()}))},L(_),s(_,u,"Generator"),s(_,c,(function(){return this})),s(_,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=N,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return a.type="throw",a.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],a=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev<c.catchLoc)return o(c.catchLoc,!0);if(this.prev<c.finallyLoc)return o(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return o(c.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return o(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.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,v):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),v},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),C(r),v}},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;C(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var b="_cookieTest";function w(t,e,r,n){var o=window.open(t,"_blank",function(t){var e="sm"===t?550:screen.availWidth,r="sm"===t?750:screen.availWidth,n=parseInt(screen.availWidth/2-e/2+""),o=parseInt(screen.availHeight/2-r/2+"");return["width=".concat(e),"height=".concat(r),"status","resizable","left=".concat(n),"top=".concat(o),"screenX=".concat(n),"screenY=".concat(o),"scrollbars=yes"].join(",")}(n));if(o)return x(o,r),o;i.Q.Ry.throw(new v(e))}var E={renderSignInPopup:function(t){var e=t.primaryUrl,i=t.shareId,c=t.isMicrosoftTeams,a=t.customerId,u=t.onClose,s=t.redirectUrl,l=void 0===s?"/embed-login-success":s,f=t.size,h=void 0===f?"sm":f,p=o._.safeUrlConcat(e,"/login"),y={redirectUrl:l,showSignUp:!0};i&&(y.shareId=i),a&&(y.customerId=a);var d=o._.urlBuilder(p,y);if(!c)return w(d,e,u,h);!function(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(){n.Ab.Reload()},failureCallback:function(){n.Ab.Reload()},height:1e3,width:1e3})}),0)}))}(d)},renderSignUpPopup:function(t){var e=t.primaryUrl,r=t.onClose,n=t.size,i=void 0===n?"sm":n;return w(o._.safeUrlConcat(e,"/sign-up"),e,r,i)},setPreloadCookie:function(){docCookies.setItem(b,"1",3600,null,null,!0,"none")},canUseCookies:function(){return docCookies.setItem(b,"1",10,null,null,!0,"none"),!!docCookies.getItem("_cookieTest")||(docCookies.setItem(b,"1",10),!!docCookies.getItem(b))},closePopup:function(t){return e=this,n=void 0,o=void 0,i=g().mark((function e(){var n,o;return g().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 x(t,e){setTimeout((function(){t&&(!1===t.closed?x(t,e):e())}),500)}},17017:(t,e,r)=>{r.r(e),r.d(e,{EmbedLoginSuccessView:()=>f});var n=r(32735),o=r(2786),i=r(83345),c=r(99742);const a={logo:"EtNtX"};var u="embed.embedLoginSuccess";function s(){return n.createElement("div",{className:"mt-5"},n.createElement("div",{className:"".concat(a.logo," mx-auto")},n.createElement(o.$S,null)),n.createElement("img",{className:"img-fluid mx-auto d-block mt-4",alt:"Success",src:c.W.SUCCESS,style:{maxWidth:"18rem"}}),n.createElement("p",{className:"text-center mb-4 mt-2"},n.createElement(i.x,{namespace:u,phrase:"success"})))}var l=r(6736);function f(){return n.useEffect((function(){l.b.closePopup()}),[]),n.createElement(s,null)}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[2651],{41021:(e,t,a)=>{a.r(t),a.d(t,{PlaySharedClipView:()=>T});var i=a(32735),n=a(20354),r=a(65858),c=a(16714),o=a(43012),l=a(39151),s=a(1666),d=a(28907),u=a(31949),p=a(1575),m=a(27995),v=a(97037),h=a(22902),g=a(15311),y=a(79612),f=a(56871),I=a(41063),E=a(7179),C=a(49948),A=a(36873),P=a(44110),V=a(35014),b=a(97816),x=a(56017);function T(e){var t,a,T,k,S,w,N,O=(0,g.r)().hasProduct,L=(0,v.c)(r.LZ.VideoThumbnail),F=L.setFavourite,R=L.canFavourite,U=(0,I.b)(),q=(0,h.T)().hasPermissions,_=n.a.useBasicFetch(u.N.currentUser()),M=n.a.useBasicFetch(l.L.config()),G=n.a.useBasicFetch(o.e.sharedClip(e.objectId,e.shareId)),j=n.a.useBasicFetch(!!(null===(t=G.data)||void 0===t?void 0:t._parentVideo)&&p.R.video(G.data._parentVideo.id)),B=(0,A.k)({video:j.data,context:e.queryParams.context,contextId:e.queryParams.contextId,moviesAndTv:e.queryParams.mtv,currentUser:_.data}),D=(0,P.i)(),W=n.a.useBasicFetch((null===(a=_.data)||void 0===a?void 0:a.isAuthenticated)&&s.h.yearGroups(_.data.customerId)),H=(0,C.l)(e.objectId),z=n.a.useBasicFetch((null===(k=null===(T=G.data)||void 0===T?void 0:T.glance)||void 0===k?void 0:k.theme)?d.r.themeImages(G.data.glance.theme,G.data.glance.type):null),Y=q(c.C.ViewVideoGlance)&&(null===(w=null===(S=G.data)||void 0===S?void 0:S.glance)||void 0===w?void 0:w.theme),Z=(0,V.I)();return(0,y.M)(x.C.getClipMetadata({content:G.data})),(0,b.V)(null!==(N=B.videos)&&void 0!==N?N:[],{hasCurriculumLinks:!0}),(0,m.b)(G),(0,E.P)({id:e.objectId,app:"clips",shareId:e.shareId}),G.data&&_.hasCompleted&&M.hasCompleted&&H.hasCompleted?i.createElement(f.N,{shareId:e.shareId,clip:G.data,originalVideo:j.data,currentUser:_.data,yearGroups:W.data,relatedVideos:B,canFavourite:R,setFavourite:F,hasProduct:O,queryParams:e.queryParams,audiences:D.data,imageCdnUrl:M.data.imageCdnUrl,canManageVideoAccess:U,glanceTheme:z.data,glanceLoaded:!Y||z.hasCompleted,pointsOfInterest:null==H?void 0:H.items,featureAccess:Z}):i.createElement(i.Fragment,null)}},56871:(e,t,a)=>{a.d(t,{N:()=>j});var i=a(32735),n=a(23481),r=a(28400),c=a(65858),o=a(83345),l=a(19670),s=a(32614),d=a(4632),u=a(11518),p=a(15446),m=a(47862),v=a(26733),h=a(10439),g=a(35429),y=a(51365),f=a(4594),I=a(16714),E=a(12754),C=a(58704),A=a(22902),P=a(67753),V=a(31908),b=a(26492),x=a(57654),T=a(99092),k=a(47938),S=a(81024),w=a(78166),N=a(99719),O=a(42571),L=a(99742),F=a(14070),R=a(97291),U=a(65986);function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}var _=function(e,t,a){return function(i){return a?{application:R.O.VIDEOS,action:F.e.Videos.PREVIEW_PDF,args:[i.id],params:{videoId:e,shareId:t}}:{application:R.O.SIGN_UP,action:F.e.SignUp.SIGN_UP}}},M="shared.playClip",G=n.T.encloseNamespace(M);function j(e){var t,a,n,j,B,D,W,H,z,Y,Z,K,Q,X,$,J=(0,g.g)(),ee=(0,A.T)().hasPermissions,te=V.M.getCanBeConsumed(e.clip).canConsume,ae=(0,U._)(U.i.VideoItem),ie=V.M.isVideoTypeArchived(e.clip),ne=ee(I.C.StudentExperience),re=i.useRef(!1),ce=(0,s.Wp)(e.clip,e.glanceTheme)&&e.featureAccess.canViewGlance,oe=(X=i.useState({view:"loading",referrer:null}),$=2,function(e){if(Array.isArray(e))return e}(X)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i,n,r,c,o=[],l=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(i=r.call(a)).done)&&(o.push(i.value),o.length!==t);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw n}}return o}}(X,$)||function(e,t){if(e){if("string"==typeof e)return q(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)?q(e,t):void 0}}(X,$)||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.")}()),le=oe[0],se=oe[1];function de(){var t;return!(null===(t=e.currentUser)||void 0===t?void 0:t.isAuthenticated)||!e.hasProduct(E.x.Primary)||!!ne}i.useEffect((function(){e.glanceLoaded&&se({view:e.glanceTheme?"v@g":"details",referrer:null})}),[e.glanceLoaded,e.glanceTheme]);var ue=e.originalVideo&&!de()&&!!(null===(t=e.clip._canBeConsumed)||void 0===t?void 0:t.value),pe="picture-in-picture"===J.mode||e.featureAccess.canViewPublicLayout,me=(0,T.jh)(e.clip,ne),ve=null!==(B=null===(j=null===(n=null===(a=e.originalVideo)||void 0===a?void 0:a.clips)||void 0===n?void 0:n.data)||void 0===j?void 0:j.filter((function(t){return t.id.toString()!==e.clip.id.toString()})))&&void 0!==B?B:[];return i.createElement("div",{className:"px-4"},i.createElement(k.W,{restrictions:e.clip._restrictions,yearGroups:e.yearGroups,objectId:e.clip.id,objectTypeId:f.E.Clip,canManageVideoAccess:e.canManageVideoAccess}),ie&&i.createElement(b.T,{typeId:e.clip.typeId,hasStudentExperience:ne}),i.createElement("section",{className:"mb-2"},te&&i.createElement(h.r,{key:e.clip.id,objectId:e.clip.id,objectTypeId:e.clip.typeId,shareId:e.shareId,context:null===(D=e.queryParams)||void 0===D?void 0:D.context,contextId:null===(W=e.queryParams)||void 0===W?void 0:W.contextId,moviesAndTv:null===(H=e.queryParams)||void 0===H?void 0:H.mtv,playNext:null===(z=e.queryParams)||void 0===z?void 0:z.playNext,startTime:null===(Y=e.queryParams)||void 0===Y?void 0:Y.t,mode:"default",location:"play-page"}),i.createElement("div",{className:pe?"":"d-none"},i.createElement(S.S,{video:e.clip,type:"pip"}))),i.createElement(x.v,{media:e.clip,yearGroups:e.yearGroups,audiences:e.audiences,originalVideoAppLink:ue?{application:R.O.VIDEOS,action:F.e.Videos.PLAY_VIDEO,args:[e.originalVideo.id,r.m.slugify(e.originalVideo.name)]}:null,hasResources:!!(null==me?void 0:me.length),featureAccess:e.featureAccess}),i.createElement("section",{className:"".concat("v@g"===le.view?"d-block":"d-none")},i.createElement(l.o,{theme:e.glanceTheme,video:e.clip,pointsOfInterest:e.pointsOfInterest,onClickShowDescription:function(){return se({view:"details",referrer:"v@g"})},setStartTime:function(e){var t;return null===(t=J.playerRef.current)||void 0===t?void 0:t.currentTime(e)},getTagAppLink:function(e){return{application:R.O.SEARCH,action:F.e.Search.HOME,params:{tagOrClassification:e.name}}},suppressInteractivity:e.featureAccess.canViewPublicLayout})),i.createElement("section",{className:"".concat("details"===le.view?"d-block":"d-none")},i.createElement(N.X,{video:e.clip,onLaunchImmersiveReader:function(){var e,t,a,i;re.current=!(null===(t=null===(e=null==J?void 0:J.playerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.isPaused()),null===(i=null===(a=null==J?void 0:J.playerRef)||void 0===a?void 0:a.current)||void 0===i||i.pause()},onExitImmersiveReader:function(){var e,t;re.current&&(null===(t=null===(e=null==J?void 0:J.playerRef)||void 0===e?void 0:e.current)||void 0===t||t.play())},onClickClose:ce&&function(){return se({view:"v@g",referrer:"details"})},getTagAppLink:function(e){return{application:R.O.SEARCH,action:F.e.Search.HOME,params:{tagOrClassification:e.name}}},suppressInteractivity:e.featureAccess.canViewPublicLayout})),i.createElement("section",{className:"".concat("loading"===le.view?"d-block":"d-none")},i.createElement(O.H,null)),!!(null==me?void 0:me.length)&&i.createElement("section",{className:"pb-3"},i.createElement(u.kM,{name:G("resources",{count:me.length}),contents:C.z.Resources,collection:me,prefetched:!0,childComponent:v.R,extraChildComponentProps:{imageCdnUrl:e.imageCdnUrl,imageErrorFallbackUrl:L.W.Fallbacks.RESOURCE_THUMBNAIL,actionBehaviour:e.featureAccess.canViewResourceItems?"normal":"public"},getChildAppLink:_(null===(Z=e.clip)||void 0===Z?void 0:Z.id,e.shareId,e.featureAccess.canViewResourceItems),analyticsOptions:e.featureAccess.canViewResourceItems?{}:{workflowPhase:c.eu.Start,descriptor:c.Yu.SignUp},analyticsData:{widgetId:"resources"}})),!(!(null==ve?void 0:ve.length)||de())&&i.createElement("div",{className:"pb-3"},i.createElement(u.kM,{name:G("otherClips",{count:ve.length}),contents:C.z.Clips,collection:ve,prefetched:!0,getChildAppLink:function(e){return{application:R.O.CLIPS,action:F.e.Clips.PLAY_CLIP,args:[e.id,r.m.slugify(e.name)]}},childComponent:p.C,extraChildComponentProps:{video:e.originalVideo,imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"clips"}})),!(!(null===(Q=null===(K=e.clip.interactives)||void 0===K?void 0:K.data)||void 0===Q?void 0:Q.length)||de())&&i.createElement("div",{className:"pb-3"},i.createElement(u.kM,{name:G("interactives",{count:e.clip.interactives.data.length}),contents:C.z.Interactives,collection:e.clip.interactives.data,prefetched:!0,getChildAppLink:function(e){return{application:R.O.INTERACTIVES,action:F.e.Interactives.VIEW_INTERACTIVE,args:[e.id,r.m.slugify(e.name)]}},childComponent:m.K,extraChildComponentProps:{video:e.clip,questionsAppLink:{application:R.O.INTERACTIVES,action:F.e.Interactives.PREVIEW_QUESTIONS},imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"interactives"}})),!!ue&&i.createElement("section",{className:"pb-2 pt-1"},i.createElement("h2",{className:"h4 mb-0"},i.createElement(o.x,{namespace:M,phrase:"clippedFrom"})),i.createElement(y.M.Provider,{value:ae},i.createElement(d.E4,{videos:[e.originalVideo],yearGroups:e.yearGroups,setFavourite:e.setFavourite,canFavourite:e.canFavourite,getVideoAppLink:function(t){return P.W.getAppLink(t,{context:e.queryParams.context,contextId:e.queryParams.contextId,playNext:e.queryParams.playNext,shareId:e.shareId,moviesAndTv:e.queryParams.mtv})},presentationAudiences:e.audiences}))),i.createElement("section",null,i.createElement(w.Z,{currentVideo:e.clip,yearGroups:e.yearGroups,relatedVideos:e.relatedVideos,setFavourite:e.setFavourite,canFavourite:e.canFavourite,currentUser:e.currentUser,audiences:e.audiences,getVideoAppLink:function(t){return P.W.getAppLink(t,{context:e.queryParams.context,contextId:e.queryParams.contextId,playNext:e.queryParams.playNext,shareId:e.shareId,moviesAndTv:e.queryParams.mtv})},moviesAndTv:e.queryParams.mtv})))}},44110:(e,t,a)=>{a.d(t,{i:()=>c});var i=a(20354),n=a(89454),r=a(86698),c=function(){var e=(0,r.y)({redirectOnError:!0}).activePresentation;return i.a.useBasicFetch(!!e&&n.O.presentationAudiences(e.id))}}}]);
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[7018],{41021:(e,t,a)=>{a.r(t),a.d(t,{PlaySharedClipView:()=>T});var i=a(32735),n=a(20354),r=a(65858),c=a(16714),o=a(43012),l=a(39151),s=a(1666),d=a(28907),u=a(31949),p=a(1575),m=a(27995),v=a(97037),h=a(22902),g=a(15311),y=a(79612),f=a(56871),I=a(41063),E=a(7179),C=a(49948),A=a(36873),P=a(44110),V=a(35014),b=a(97816),x=a(56017);function T(e){var t,a,T,k,S,w,N,O=(0,g.r)().hasProduct,L=(0,v.c)(r.LZ.VideoThumbnail),F=L.setFavourite,U=L.canFavourite,R=(0,I.b)(),q=(0,h.T)().hasPermissions,_=n.a.useBasicFetch(u.N.currentUser()),M=n.a.useBasicFetch(l.L.config()),G=n.a.useBasicFetch(o.e.sharedClip(e.objectId,e.shareId)),j=n.a.useBasicFetch(!!(null===(t=G.data)||void 0===t?void 0:t._parentVideo)&&p.R.video(G.data._parentVideo.id)),B=(0,A.k)({video:j.data,context:e.queryParams.context,contextId:e.queryParams.contextId,moviesAndTv:e.queryParams.mtv,currentUser:_.data}),D=(0,P.i)(),W=n.a.useBasicFetch((null===(a=_.data)||void 0===a?void 0:a.isAuthenticated)&&s.h.yearGroups(_.data.customerId)),H=(0,C.l)(e.objectId),z=n.a.useBasicFetch((null===(k=null===(T=G.data)||void 0===T?void 0:T.glance)||void 0===k?void 0:k.theme)?d.r.themeImages(G.data.glance.theme,G.data.glance.type):null),Y=q(c.C.ViewVideoGlance)&&(null===(w=null===(S=G.data)||void 0===S?void 0:S.glance)||void 0===w?void 0:w.theme),Z=(0,V.I)();return(0,y.M)(x.C.getClipMetadata({content:G.data})),(0,b.V)(null!==(N=B.videos)&&void 0!==N?N:[],{hasCurriculumLinks:!0}),(0,m.b)(G),(0,E.P)({id:e.objectId,app:"clips",shareId:e.shareId}),G.data&&_.hasCompleted&&M.hasCompleted&&H.hasCompleted?i.createElement(f.N,{shareId:e.shareId,clip:G.data,originalVideo:j.data,currentUser:_.data,yearGroups:W.data,relatedVideos:B,canFavourite:U,setFavourite:F,hasProduct:O,queryParams:e.queryParams,audiences:D.data,imageCdnUrl:M.data.imageCdnUrl,canManageVideoAccess:R,glanceTheme:z.data,glanceLoaded:!Y||z.hasCompleted,pointsOfInterest:null==H?void 0:H.items,featureAccess:Z}):i.createElement(i.Fragment,null)}},56871:(e,t,a)=>{a.d(t,{N:()=>j});var i=a(32735),n=a(23481),r=a(28400),c=a(65858),o=a(83345),l=a(19670),s=a(32614),d=a(4632),u=a(11518),p=a(15446),m=a(47862),v=a(26733),h=a(10439),g=a(35429),y=a(51365),f=a(4594),I=a(16714),E=a(12754),C=a(58704),A=a(22902),P=a(67753),V=a(31908),b=a(26492),x=a(57654),T=a(99092),k=a(47938),S=a(81024),w=a(78166),N=a(99719),O=a(42571),L=a(99742),F=a(14070),U=a(97291),R=a(65986);function q(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,i=new Array(t);a<t;a++)i[a]=e[a];return i}var _=function(e,t,a){return function(i){return a?{application:U.O.VIDEOS,action:F.e.Videos.PREVIEW_PDF,args:[i.id],params:{videoId:e,shareId:t}}:{application:U.O.SIGN_UP,action:F.e.SignUp.SIGN_UP}}},M="shared.playClip",G=n.T.encloseNamespace(M);function j(e){var t,a,n,j,B,D,W,H,z,Y,Z,K,Q,X,$,J=(0,g.g)(),ee=(0,A.T)().hasPermissions,te=V.M.getCanBeConsumed(e.clip).canConsume,ae=(0,R._)(R.i.VideoItem),ie=V.M.isVideoTypeArchived(e.clip),ne=ee(I.C.StudentExperience),re=i.useRef(!1),ce=(0,s.Wp)(e.clip,e.glanceTheme)&&e.featureAccess.canViewGlance,oe=(X=i.useState({view:"loading",referrer:null}),$=2,function(e){if(Array.isArray(e))return e}(X)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var i,n,r,c,o=[],l=!0,s=!1;try{if(r=(a=a.call(e)).next,0===t){if(Object(a)!==a)return;l=!1}else for(;!(l=(i=r.call(a)).done)&&(o.push(i.value),o.length!==t);l=!0);}catch(e){s=!0,n=e}finally{try{if(!l&&null!=a.return&&(c=a.return(),Object(c)!==c))return}finally{if(s)throw n}}return o}}(X,$)||function(e,t){if(e){if("string"==typeof e)return q(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)?q(e,t):void 0}}(X,$)||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.")}()),le=oe[0],se=oe[1];function de(){var t;return!(null===(t=e.currentUser)||void 0===t?void 0:t.isAuthenticated)||!e.hasProduct(E.x.Primary)||!!ne}i.useEffect((function(){e.glanceLoaded&&se({view:e.glanceTheme?"v@g":"details",referrer:null})}),[e.glanceLoaded,e.glanceTheme]);var ue=e.originalVideo&&!de()&&!!(null===(t=e.clip._canBeConsumed)||void 0===t?void 0:t.value),pe="picture-in-picture"===J.mode||e.featureAccess.canViewPublicLayout,me=(0,T.jh)(e.clip,ne),ve=null!==(B=null===(j=null===(n=null===(a=e.originalVideo)||void 0===a?void 0:a.clips)||void 0===n?void 0:n.data)||void 0===j?void 0:j.filter((function(t){return t.id.toString()!==e.clip.id.toString()})))&&void 0!==B?B:[];return i.createElement("div",{className:"px-4"},i.createElement(k.W,{restrictions:e.clip._restrictions,yearGroups:e.yearGroups,objectId:e.clip.id,objectTypeId:f.E.Clip,canManageVideoAccess:e.canManageVideoAccess}),ie&&i.createElement(b.T,{typeId:e.clip.typeId,hasStudentExperience:ne}),i.createElement("section",{className:"mb-2"},te&&i.createElement(h.r,{key:e.clip.id,objectId:e.clip.id,objectTypeId:e.clip.typeId,shareId:e.shareId,context:null===(D=e.queryParams)||void 0===D?void 0:D.context,contextId:null===(W=e.queryParams)||void 0===W?void 0:W.contextId,moviesAndTv:null===(H=e.queryParams)||void 0===H?void 0:H.mtv,playNext:null===(z=e.queryParams)||void 0===z?void 0:z.playNext,startTime:null===(Y=e.queryParams)||void 0===Y?void 0:Y.t,mode:"default",location:"play-page"}),i.createElement("div",{className:pe?"":"d-none"},i.createElement(S.S,{video:e.clip,type:"pip"}))),i.createElement(x.v,{media:e.clip,yearGroups:e.yearGroups,audiences:e.audiences,originalVideoAppLink:ue?{application:U.O.VIDEOS,action:F.e.Videos.PLAY_VIDEO,args:[e.originalVideo.id,r.m.slugify(e.originalVideo.name)]}:null,featureAccess:e.featureAccess}),i.createElement("section",{className:"".concat("v@g"===le.view?"d-block":"d-none")},i.createElement(l.o,{theme:e.glanceTheme,video:e.clip,pointsOfInterest:e.pointsOfInterest,onClickShowDescription:function(){return se({view:"details",referrer:"v@g"})},setStartTime:function(e){var t;return null===(t=J.playerRef.current)||void 0===t?void 0:t.currentTime(e)},getTagAppLink:function(e){return{application:U.O.SEARCH,action:F.e.Search.HOME,params:{tagOrClassification:e.name}}},suppressInteractivity:e.featureAccess.canViewPublicLayout})),i.createElement("section",{className:"".concat("details"===le.view?"d-block":"d-none")},i.createElement(N.X,{video:e.clip,onLaunchImmersiveReader:function(){var e,t,a,i;re.current=!(null===(t=null===(e=null==J?void 0:J.playerRef)||void 0===e?void 0:e.current)||void 0===t?void 0:t.isPaused()),null===(i=null===(a=null==J?void 0:J.playerRef)||void 0===a?void 0:a.current)||void 0===i||i.pause()},onExitImmersiveReader:function(){var e,t;re.current&&(null===(t=null===(e=null==J?void 0:J.playerRef)||void 0===e?void 0:e.current)||void 0===t||t.play())},onClickClose:ce&&function(){return se({view:"v@g",referrer:"details"})},getTagAppLink:function(e){return{application:U.O.SEARCH,action:F.e.Search.HOME,params:{tagOrClassification:e.name}}},suppressInteractivity:e.featureAccess.canViewPublicLayout})),i.createElement("section",{className:"".concat("loading"===le.view?"d-block":"d-none")},i.createElement(O.H,null)),!!(null==me?void 0:me.length)&&i.createElement("section",{className:"pb-3"},i.createElement(u.kM,{name:G("resources",{count:me.length}),contents:C.z.Resources,collection:me,prefetched:!0,childComponent:v.R,extraChildComponentProps:{imageCdnUrl:e.imageCdnUrl,imageErrorFallbackUrl:L.W.Fallbacks.RESOURCE_THUMBNAIL,actionBehaviour:e.featureAccess.canViewResourceItems?"normal":"public"},getChildAppLink:_(null===(Z=e.clip)||void 0===Z?void 0:Z.id,e.shareId,e.featureAccess.canViewResourceItems),analyticsOptions:e.featureAccess.canViewResourceItems?{}:{workflowPhase:c.eu.Start,descriptor:c.Yu.SignUp},analyticsData:{widgetId:"resources"}})),!(!(null==ve?void 0:ve.length)||de())&&i.createElement("div",{className:"pb-3"},i.createElement(u.kM,{name:G("otherClips",{count:ve.length}),contents:C.z.Clips,collection:ve,prefetched:!0,getChildAppLink:function(e){return{application:U.O.CLIPS,action:F.e.Clips.PLAY_CLIP,args:[e.id,r.m.slugify(e.name)]}},childComponent:p.C,extraChildComponentProps:{video:e.originalVideo,imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"clips"}})),!(!(null===(Q=null===(K=e.clip.interactives)||void 0===K?void 0:K.data)||void 0===Q?void 0:Q.length)||de())&&i.createElement("div",{className:"pb-3"},i.createElement(u.kM,{name:G("interactives",{count:e.clip.interactives.data.length}),contents:C.z.Interactives,collection:e.clip.interactives.data,prefetched:!0,getChildAppLink:function(e){return{application:U.O.INTERACTIVES,action:F.e.Interactives.VIEW_INTERACTIVE,args:[e.id,r.m.slugify(e.name)]}},childComponent:m.K,extraChildComponentProps:{video:e.clip,questionsAppLink:{application:U.O.INTERACTIVES,action:F.e.Interactives.PREVIEW_QUESTIONS},imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"interactives"}})),!!ue&&i.createElement("section",{className:"pb-2 pt-1"},i.createElement("h2",{className:"h4 mb-0"},i.createElement(o.x,{namespace:M,phrase:"clippedFrom"})),i.createElement(y.M.Provider,{value:ae},i.createElement(d.E4,{videos:[e.originalVideo],yearGroups:e.yearGroups,setFavourite:e.setFavourite,canFavourite:e.canFavourite,getVideoAppLink:function(t){return P.W.getAppLink(t,{context:e.queryParams.context,contextId:e.queryParams.contextId,playNext:e.queryParams.playNext,shareId:e.shareId,moviesAndTv:e.queryParams.mtv})},presentationAudiences:e.audiences}))),i.createElement("section",null,i.createElement(w.Z,{currentVideo:e.clip,yearGroups:e.yearGroups,relatedVideos:e.relatedVideos,setFavourite:e.setFavourite,canFavourite:e.canFavourite,currentUser:e.currentUser,audiences:e.audiences,getVideoAppLink:function(t){return P.W.getAppLink(t,{context:e.queryParams.context,contextId:e.queryParams.contextId,playNext:e.queryParams.playNext,shareId:e.shareId,moviesAndTv:e.queryParams.mtv})},moviesAndTv:e.queryParams.mtv})))}},44110:(e,t,a)=>{a.d(t,{i:()=>c});var i=a(20354),n=a(89454),r=a(86698),c=function(){var e=(0,r.y)({redirectOnError:!0}).activePresentation;return i.a.useBasicFetch(!!e&&n.O.presentationAudiences(e.id))}}}]);