@clickview/lite 0.10.0-rc.4 → 0.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/css/{1659-lite-d612ce70c6.chunk.css → 1659-lite-876c257b25.chunk.css} +1 -1
  3. package/dist/css/{2044-lite-5bd5eb16f8.chunk.css → 2044-lite-1a8008693a.chunk.css} +1 -1
  4. package/dist/css/{2935-lite-4d0988574a.chunk.css → 2935-lite-a33c12c620.chunk.css} +1 -1
  5. package/dist/css/{5923-lite-6b4dfe7f1c.chunk.css → 4262-lite-992256cc6b.chunk.css} +3 -3
  6. package/dist/css/{4420-lite-24ad706eb7.chunk.css → 4420-lite-2dbbbeec9c.chunk.css} +1 -1
  7. package/dist/css/{5585-lite-9f9da6abb2.chunk.css → 5585-lite-f183a1ef9b.chunk.css} +1 -1
  8. package/dist/css/{6776-lite-7e65250474.chunk.css → 5607-lite-3271f87cb7.chunk.css} +3 -3
  9. package/dist/css/{4262-lite-4a1dee0bb2.chunk.css → 5923-lite-d6fc8f934e.chunk.css} +3 -3
  10. package/dist/css/{6258-lite-352146c9b2.chunk.css → 6258-lite-028e2a7dba.chunk.css} +1 -1
  11. package/dist/css/{8814-lite-7e65250474.chunk.css → 6776-lite-6f761057bd.chunk.css} +1 -1
  12. package/dist/css/{7552-lite-d045746e6b.chunk.css → 7552-lite-af9bb47e1f.chunk.css} +1 -1
  13. package/dist/css/{8322-lite-76ef994d70.chunk.css → 8322-lite-b4575f68fa.chunk.css} +1 -1
  14. package/dist/css/{5607-lite-646971c09e.chunk.css → 8814-lite-6f761057bd.chunk.css} +3 -3
  15. package/dist/css/{9568-lite-646971c09e.chunk.css → 9568-lite-3271f87cb7.chunk.css} +1 -1
  16. package/dist/scripts/{2560-566ae0b3f8-lite.chunk.js → 2560-8b8d817df1-lite.chunk.js} +1 -1
  17. package/dist/scripts/3174-ee89b6e1b2-lite.chunk.js +1 -0
  18. package/dist/scripts/3286-8cdb67d86e-lite.chunk.js +1 -0
  19. package/dist/scripts/{5106-681a52f716-lite.chunk.js → 5106-d37d8c60f7-lite.chunk.js} +1 -1
  20. package/dist/scripts/{5956-de51651694-lite.chunk.js → 5956-4aed29ce6c-lite.chunk.js} +1 -1
  21. package/dist/scripts/7831-2c03e3f637-lite.chunk.js +1 -0
  22. package/dist/scripts/{bundle-bccec6c7e1.min.js → bundle-373d5c671e.min.js} +2 -2
  23. package/package.json +2 -2
  24. package/dist/scripts/3174-2f084bd466-lite.chunk.js +0 -1
  25. package/dist/scripts/3286-78816851b6-lite.chunk.js +0 -1
  26. package/dist/scripts/7831-3fad2c4823-lite.chunk.js +0 -1
  27. /package/dist/scripts/{1659-2b38013d21-lite.chunk.js → 1659-1a3ced65e6-lite.chunk.js} +0 -0
  28. /package/dist/scripts/{2044-8c057f7834-lite.chunk.js → 2044-bea571c27e-lite.chunk.js} +0 -0
  29. /package/dist/scripts/{2935-269109ddf0-lite.chunk.js → 2935-00ee621720-lite.chunk.js} +0 -0
  30. /package/dist/scripts/{4262-c8e4f9ddfa-lite.chunk.js → 4262-f43cbe83e5-lite.chunk.js} +0 -0
  31. /package/dist/scripts/{4420-2512738ebb-lite.chunk.js → 4420-5c70527e98-lite.chunk.js} +0 -0
  32. /package/dist/scripts/{5585-f751d1c808-lite.chunk.js → 5585-d1bf4ecfb8-lite.chunk.js} +0 -0
  33. /package/dist/scripts/{5607-dbaa00fe09-lite.chunk.js → 5607-7d0875faf6-lite.chunk.js} +0 -0
  34. /package/dist/scripts/{5923-1f54e423dd-lite.chunk.js → 5923-12b9cc6d6a-lite.chunk.js} +0 -0
  35. /package/dist/scripts/{6258-2ce9db3b66-lite.chunk.js → 6258-b50d05668f-lite.chunk.js} +0 -0
  36. /package/dist/scripts/{6776-7aa6e747de-lite.chunk.js → 6776-eb76952963-lite.chunk.js} +0 -0
  37. /package/dist/scripts/{7552-79cce9ccee-lite.chunk.js → 7552-b25ff16ead-lite.chunk.js} +0 -0
  38. /package/dist/scripts/{8322-0bfe8d0d06-lite.chunk.js → 8322-82db11db35-lite.chunk.js} +0 -0
  39. /package/dist/scripts/{8814-7820b733c4-lite.chunk.js → 8814-d4c29a338d-lite.chunk.js} +0 -0
  40. /package/dist/scripts/{9568-e9d4ce4079-lite.chunk.js → 9568-bb4f67ad5d-lite.chunk.js} +0 -0
  41. /package/dist/scripts/{bundle-bccec6c7e1.min.js.LICENSE.txt → bundle-373d5c671e.min.js.LICENSE.txt} +0 -0
package/dist/bundles.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "appBundle": "bundle-bccec6c7e1.min.js",
2
+ "appBundle": "bundle-373d5c671e.min.js",
3
3
  "cssBundle": "lite-app-29827acd0e.css",
4
4
  "polyfillBundle": "polyfills-5a441d0d18.min.js"
5
5
  }
@@ -1,6 +1,6 @@
1
1
  .UBwkq{min-height:75vh}
2
2
 
3
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
3
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
4
4
 
5
5
  .Gjry1{width:18rem}
6
6
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  .UCAnJ:after{content:none}
6
6
 
7
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
7
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
8
 
9
9
  .lxlZe{width:8.75rem;height:1.15rem;margin-bottom:1rem}
10
10
 
@@ -1,4 +1,4 @@
1
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
1
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
2
2
 
3
3
  .Gjry1{width:18rem}
4
4
 
@@ -1,3 +1,5 @@
1
+ .mXgLg{height:1.1875rem;width:7.25rem}
2
+
1
3
  .NXv7I{position:absolute;top:50%;right:.625rem;transform:translateY(-50%)}
2
4
 
3
5
  .TOmcn{width:7.5625rem;height:1.1875rem}.Yf4Wx{width:10.625rem;height:2.1875rem}.sp3ux{width:10.375rem;height:2.1875rem}.REK11{width:1.3125rem;height:1.3125rem}.d2NEw{width:5rem;height:1.3125rem}.qmSU8{width:15.625rem;height:1.75rem}.uHYQO{width:11.25rem;height:1.3125rem}.Y796I{width:2.1875rem;height:2.1875rem}.aItB8{height:0.9375rem;width:3.1875rem}.RMdcx{width:6rem;height:1.3125rem}.jn0FO{width:1.5rem;height:1.5rem;margin:0.5rem}
@@ -22,9 +24,7 @@
22
24
 
23
25
  .gFhu0 svg{transform:rotate(90deg)}.sWUp9{overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}.sWUp9::-webkit-scrollbar{display:none}
24
26
 
25
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
27
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
26
28
 
27
29
  .eCi4v{min-width:1.5rem}
28
30
 
29
- .mXgLg{height:1.1875rem;width:7.25rem}
30
-
@@ -1,4 +1,4 @@
1
1
  .UBwkq{min-height:75vh}
2
2
 
3
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
3
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
4
4
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  .UCAnJ:after{content:none}
6
6
 
7
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
7
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
8
 
9
9
  .jCfI0{position:absolute;right:.625rem;top:50%;margin-top:-.75rem}.RBJnf{padding-right:2.75rem}.RBJnf::placeholder{color:#B5B5B5;opacity:1}.d78lK:focus-within{background-color:#fff;border-color:#313543;outline:0;box-shadow:0 0 0 .2rem rgba(0,0,0,0.2)}.d78lK:focus-within.is-invalid{color:#D9584F;border-color:#D9584F;outline:0;box-shadow:0 0 0 .2rem rgba(217,88,79,0.25)}.asbVo{background-color:#f1f1f1}
10
10
 
@@ -1,10 +1,10 @@
1
1
  .UBwkq{min-height:75vh}
2
2
 
3
- .UiZlY{background-color:#f8f8f8}.yX3PJ{border-radius:3px;font-size:0.8rem;font-weight:normal}.y277c{background-color:#84868D}
4
-
5
3
  .VwD1b{color:#313543}.eJ85e{width:1.75rem;height:1.75rem}
6
4
 
7
5
  .UCAnJ:after{content:none}
8
6
 
9
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
7
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
+
9
+ .UiZlY{background-color:#f8f8f8}.yX3PJ{border-radius:3px;font-size:0.8rem;font-weight:normal}.y277c{background-color:#84868D}
10
10
 
@@ -1,5 +1,3 @@
1
- .mXgLg{height:1.1875rem;width:7.25rem}
2
-
3
1
  .NXv7I{position:absolute;top:50%;right:.625rem;transform:translateY(-50%)}
4
2
 
5
3
  .TOmcn{width:7.5625rem;height:1.1875rem}.Yf4Wx{width:10.625rem;height:2.1875rem}.sp3ux{width:10.375rem;height:2.1875rem}.REK11{width:1.3125rem;height:1.3125rem}.d2NEw{width:5rem;height:1.3125rem}.qmSU8{width:15.625rem;height:1.75rem}.uHYQO{width:11.25rem;height:1.3125rem}.Y796I{width:2.1875rem;height:2.1875rem}.aItB8{height:0.9375rem;width:3.1875rem}.RMdcx{width:6rem;height:1.3125rem}.jn0FO{width:1.5rem;height:1.5rem;margin:0.5rem}
@@ -24,7 +22,9 @@
24
22
 
25
23
  .gFhu0 svg{transform:rotate(90deg)}.sWUp9{overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none}.sWUp9::-webkit-scrollbar{display:none}
26
24
 
27
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
25
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
28
26
 
29
27
  .eCi4v{min-width:1.5rem}
30
28
 
29
+ .mXgLg{height:1.1875rem;width:7.25rem}
30
+
@@ -4,7 +4,7 @@
4
4
 
5
5
  .UCAnJ:after{content:none}
6
6
 
7
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
7
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
8
 
9
9
  .uDXhS{opacity:0.3}
10
10
 
@@ -6,5 +6,5 @@
6
6
 
7
7
  .UCAnJ:after{content:none}
8
8
 
9
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
9
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
10
10
 
@@ -8,5 +8,5 @@
8
8
 
9
9
  .UCAnJ:after{content:none}
10
10
 
11
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
11
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
12
12
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  .UCAnJ:after{content:none}
6
6
 
7
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
7
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
8
 
9
9
  .rTJxq{background-color:#f8f8f8}
10
10
 
@@ -1,10 +1,10 @@
1
1
  .UBwkq{min-height:75vh}
2
2
 
3
+ .UiZlY{background-color:#f8f8f8}.yX3PJ{border-radius:3px;font-size:0.8rem;font-weight:normal}.y277c{background-color:#84868D}
4
+
3
5
  .VwD1b{color:#313543}.eJ85e{width:1.75rem;height:1.75rem}
4
6
 
5
7
  .UCAnJ:after{content:none}
6
8
 
7
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
-
9
- .UiZlY{background-color:#f8f8f8}.yX3PJ{border-radius:3px;font-size:0.8rem;font-weight:normal}.y277c{background-color:#84868D}
9
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
10
10
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  .UCAnJ:after{content:none}
6
6
 
7
- .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
7
+ .GVXVU{border-radius:3px;font-size:0.8rem}.GVXVU.R6_hs{background-color:#84868D}.ovYAQ{max-width:75%}.gF_E3{width:5rem}.gF_E3.uSr3J{width:6.8rem}.wxGud{width:6.25rem}._1rRs,.CxZp8{width:2.1875rem;min-width:2.1875rem;height:2.1875rem}.zIn8J{margin-right:0.1rem}.c3jfe{width:6rem}.CxZp8{background-size:contain;margin-right:-10%}
8
8
 
9
9
  .UiZlY{background-color:#f8f8f8}.yX3PJ{border-radius:3px;font-size:0.8rem;font-weight:normal}.y277c{background-color:#84868D}
10
10
 
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[2560],{16035:(e,t,n)=>{n.d(t,{z:()=>s});var r=n(1024),a=n.n(r),i=n(8493),o=n(44829),l=n(58130),c=n(83914),u=n(91807);function s(e){var t,n,r,s=e.tag,d=e.appLink,m=e.onClick,v=e.disabled,p=e.tagClass,f=void 0===p?"tag":p,g=s.name.toLowerCase(),h="badge-pill py-1 px-2 my-1 mr-1 ".concat(f," ").concat(function(e){switch(e){case o.Q.Pedagogy:return"pedagogy-tag text-white";case o.Q.Hidden:return"hidden-tag";case o.Q.Normal:default:return""}}(s.tagType)),y=s.tagType===o.Q.Normal&&!!(null===(r=null===(n=null===(t=e.theme)||void 0===t?void 0:t.data)||void 0===n?void 0:n.colours)||void 0===r?void 0:r.secondary);y&&(h+=" text-white"),!d&&!m||v||(h+=" cursor-pointer"),v&&(h+=" "+u.Z.disabled),e.onRemove&&(h+=" "+u.Z.badge);var E=y?{backgroundColor:e.theme.data.colours.secondary}:{};return d?a().createElement(i.F,{onClick:m,appLink:d,className:h,title:g,style:E},a().createElement("span",{className:"text-truncate text-nowrap"},g)):a().createElement("span",{onClick:m,className:h,title:g,style:E},a().createElement("span",{className:"text-truncate text-nowrap"},g,e.onRemove&&a().createElement("button",{onClick:e.onRemove,className:"".concat(u.Z.close," close font-size-normal")},a().createElement(c.x,{size:c.S.Small,svgName:l.vn.Close,className:"d-inline-block svg-container"}))))}},91743:(e,t,n)=>{n.d(t,{P:()=>s});var r=n(1024),a=n.n(r),i=n(16035),o=n(44829),l=n(91807);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return e.tagType===o.Q.Pedagogy?0:1}function s(e){if(!e.tags)return a().createElement(a().Fragment,null);var t,n=(t=e.tags,function(e){if(Array.isArray(e))return c(e)}(t)||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 c(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)?c(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.")}()).sort((function(e,t){return u(e)-u(t)}));return a().createElement("div",{className:l.Z.tagList},n.map((function(t){var n="function"==typeof e.getAppLink?e.getAppLink(t):null,r="function"==typeof e.onRemove?function(){return e.onRemove(t)}:null;return a().createElement(i.z,{key:t.id,tag:t,appLink:n,theme:e.theme,onRemove:r})})))}},15446:(e,t,n)=>{n.d(t,{C:()=>d});var r=n(1024),a=n.n(r),i=n(8493),o=n(57760),l=n(68626),c=n(3133),u=n(54610),s=n(65858);var d=a().memo((function(e){var t;return a().createElement("div",{className:"flex-shrink-0 px-1 ".concat("hzP5u")},a().createElement("div",{className:"row m-0 border rounded p-2 h-100"},a().createElement("div",{className:"col-6 p-0"},a().createElement(o.u,{video:e.data,appLink:e.getAppLink(e.data),type:"static",imageOptions:{size:u.h2.Small},textPosition:l.z.Independent,analyticsOptions:{location:s.LocationContext.SlidingListItem},preload:!0})),a().createElement("div",{className:"col-6 p-0"},a().createElement("div",{className:"pl-2"},a().createElement(i.F,{appLink:e.getAppLink(e.data)},a().createElement("h3",{className:"h6 mb-1"},a().createElement("span",{className:"clamp-2"},e.data.name))),a().createElement(c.R,{owner:e.data.owner,isClickViewContent:null===(t=e.data._isClickViewContent)||void 0===t?void 0:t.value,imageCdnUrl:e.imageCdnUrl})))))}))},44829:(e,t,n)=>{var r,a;n.d(t,{Q:()=>r}),function(e){e.Normal="normal",e.Pedagogy="pedagogy",e.Hidden="hidden"}(r||(r={})),function(e){e[e.Normal=0]="Normal",e[e.Pedagogy=1]="Pedagogy",e[e.Hidden=2]="Hidden"}(a||(a={}))},3010:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(1024),a=n(45719);function i(e,t){var n=e,i=t,o=(0,a.P)(e&&function(e){return n(e).key});return(0,r.useEffect)((function(){o&&o.shouldInitialFetch&&t&&i()}),[null==o?void 0:o.shouldInitialFetch,t]),(0,r.useEffect)((function(){o&&o.nextCursor&&!o.isFetching&&t&&i(o.nextCursor)}),[null==o?void 0:o.nextCursor,null==o?void 0:o.isFetching,t]),o}},45719:(e,t,n)=>{n.d(t,{F:()=>c,P:()=>u});var r=n(1024),a=n(58566),i=n(20354),o=n(79014);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={items:[],shouldInitialFetch:!1,nextCursor:null,isFetching:!1,statusCode:n(50242).o.Ok,hasCompleted:!0,totalItems:0};function u(e,t,n){function c(e){if(e)return o.q.isFunction(t)?t(e):e.data}function u(e){var t,r;if(e)return n?n(e):null===(r=null===(t=e.pagination)||void 0===t?void 0:t.cursors)||void 0===r?void 0:r.next}return(0,a.useSelector)((0,r.useMemo)((function(){return function(t){if(o.q.isFunction(e)){for(var n=e,r=o.q.isFunction(e)&&n(),a=r&&i.a.getResponse(t,r),s=a&&a.isFetching,d=a&&a.statusCode,m=a&&a.hasCompleted,v=a&&a.shouldFetch,p=c(a&&a.data),f=u(a&&a.data),g=function(e){var t;if(e)return null===(t=e)||void 0===t?void 0:t.count}(a&&a.data);f&&(s=(a=i.a.getResponse(t,n(f))).isFetching,d=a.statusCode,m=a.hasCompleted,!a.shouldFetch);){var h=c(a.data);h&&p.push.apply(p,function(e){if(Array.isArray(e))return l(e)}(b=h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(b)||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}}(b)||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 y=u(a.data);f=y===f?null:y}var E={shouldInitialFetch:v,items:p,nextCursor:f,isFetching:s,statusCode:d,hasCompleted:m};return"number"==typeof g&&(E.totalItems=g),E}var b}}),[e]))}},69344:(e,t,n)=>{n.d(t,{m:()=>l});var r=n(1024),a=n(23481),i=n(11025);var o=a.T.encloseNamespace("shared.pictureInPicturePlaceholder");function l(e){var t,n;return r.createElement("div",{className:"position-relative responsive-img ".concat("qnTH4"),style:{backgroundImage:"url('".concat(null!==(n=null===(t=i.M.getThumbnail(e.video))||void 0===t?void 0:t.url)&&void 0!==n?n:"","')")}},r.createElement("p",{className:"m-0 text-white ".concat("kwerS")},o("playingPiP")),r.createElement("div",{className:"xDWEz"}))}},61704:(e,t,n)=>{n.d(t,{j:()=>Ee});var r=n(1024),a=n.n(r),i=n(17082),o=n(2948),l=n(23481),c=n(28400),u=n(79014),s=n(10038),d=n(83345),m=n(83657),v=n(11518),p=n(58704),f=n(47862),g=n(15446),h=n(54976),y=n.n(h),E=n(75896),b=n(69883),C=n(45261),k=n(91053);var S=function(){return a().createElement(a().Fragment,null,a().createElement("div",{className:"partial-loading-background badge-pill py-1 px-2 d-inline-block mr-1 mb-2 ".concat("vDcrq")}),a().createElement("div",null,a().createElement("div",{className:"partial-loading-background mb-1 ".concat("GXhoW")}),a().createElement("div",{className:"mb-2 d-flex"},a().createElement("div",{className:"mr-1 align-self-start ".concat("goKaS")},a().createElement("div",{className:"partial-loading-background badge-pill py-1 px-2 d-inline-block w-100 h-100"})),a().createElement("div",{className:"partial-loading-background ".concat("vFew6")}))))};function A(){return a().createElement("div",null,a().createElement("div",{className:"mb-3"},a().createElement(S,null)),a().createElement("div",{className:"mb-3"},a().createElement(S,null)),a().createElement("div",null,a().createElement(S,null)))}var N=n(22161);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||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,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 L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w="shared.curriculumLinks",I=l.T.encloseNamespace(w);function P(e){var t=e.curriculums,n=t.currentCurriculum,r=t.availableCurriculums,i=t.curriculumLinks,o=t.isLoading,l=x(a().useState(null!=n?n:E.m.first(r)),2),c=l[0],u=l[1],s=x(a().useState(o||!c),2),m=s[0],v=s[1],p=(0,b.Z)();return a().useEffect((function(){!o&&m&&v(!1)}),[o]),a().createElement("div",{className:"rounded border mb-3 position-relative"},a().createElement(y(),{autoHeight:!0,autoHeightMax:e.height},a().createElement("div",{className:"p-3"},a().createElement("h2",{className:"h6 mr-2 h-100"},a().createElement(d.x,{namespace:w,phrase:"heading"})),a().createElement(k.B,{availableCurriculums:r,onChangeCurriculum:function(t){var n,a,i=t.target.value,o=r.find((function(e){return e.id.toString()===i}));(null==o?void 0:o.id)&&(null===(n=null==c?void 0:c.id)||void 0===n?void 0:n.toString())!==(null===(a=null==o?void 0:o.id)||void 0===a?void 0:a.toString())&&(v(!0),u(o),e.updateCurriculum(o,(function(){u(c),v(!1),p.error(I("updateFailed"))})))},selectedCurriculum:c,className:N.Z.dropdown}),m?a().createElement(A,null):a().createElement(C.h,{curriculumLinks:i,emptyStateUrl:e.emptyStateUrl}))),!!e.onClickSeeLess&&a().createElement("button",{type:"button",className:"close ".concat(N.Z.closeButton),"aria-label":"Close",onClick:e.onClickSeeLess},a().createElement("span",{"aria-hidden":"true"},"×")))}var T=n(73749),D=n(76246),F=n(99551),R=n(1048),O=n(11607),U=n(67453),j=n(91743),M=n(12271),V=n(73758);function H(e,t,n){var a=function(){V.n.unsubscribe(e,t)};return(0,r.useEffect)((function(){return n?V.n.subscribeOnce(e,t):V.n.subscribe(e,t),function(){a()}}),[]),a}var _=n(93264);const z={container:"BImYH",bgBlue:"SrCZF",bgGreen:"u2EKd",bgPink:"SXVSk",bgYellow:"RgyZC",background:"aAY0j",topLeft:"azcIT",bottomLeft:"mBkCx",topRight:"tcN5n",bottomRight:"sHsOr",detailsBtn:"jyxT7",content:"PeWbM",highlightPoi:"un8Q0"};function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var W,Z=/(\[.*\]\(cv:\/\/poi\?id=[0-9]+\))/g,Y=/[0-9]+/,G=/\[.*\]/,Q=/[\[\]]/g;!function(e){e.Maths="maths",e.English="english",e.History="history"}(W||(W={}));var q=n(54610),X="shared.videoAtAGlance";function $(e){var t,n=function(e,t,n){var a,i,o,l=(i=(0,r.useState)(""),o=2,function(e){if(Array.isArray(e))return e}(i)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(i,o)||function(e,t){if(e){if("string"==typeof e)return B(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)?B(e,t):void 0}}(i,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],u=l[1];return(0,r.useEffect)((function(){n&&u(function(e,t){var n=function(e,t){return(null==t?void 0:t.length)?e.content.replace(Z,(function(e){var n=e.match(Y);if(!(null==n?void 0:n.length))return e;var r=t.find((function(e){return e.id.toString()===n[0]})),a=e.match(G);if(!r||!(null==a?void 0:a.length))return e;var i='<span class="'.concat(z.timestamp,' mr-2">').concat(_.T.ToDisplayDuration(1e3*r.startTime),"</span>"),o=a[0];return o=(o=o.replace(Q,""))||r.description,o="[".concat(i," ").concat(o,"]"),e.replace(G,o)})):e.content}(e,t);return M(n).split('a href="cv://poi').join('a class="d-flex" href="cv://poi')}(e.glance,t))}),[null===(a=e.glance)||void 0===a?void 0:a.content,!!t]),c}(e.video,e.pointsOfInterest,e.hasGlanceData),a=function(e){var t=(0,r.useRef)();function n(){var t=this.getAttribute("href");if((null==t?void 0:t.includes("cv://poi"))&&(null==e?void 0:e.length)){var n=t.split("cv://poi?id=")[1];if(n){var r=e.find((function(e){return e.id.toString()===n}));r&&V.n.trigger("glance:poi:mouseover",r)}}}function a(){V.n.trigger("glance:poi:mouseleave")}function i(){var e;return null===(e=t.current)||void 0===e?void 0:e.querySelectorAll('[href*="cv://poi"]')}return H("player:poi:mouseover",(function(e){var n,r=null==e?void 0:e.id;r&&(null===(n=function(e){var n;return null===(n=t.current)||void 0===n?void 0:n.querySelector('[href="cv://poi?id='.concat(e,'"]'))}(r))||void 0===n||n.classList.add(z.highlightPoi))})),H("player:poi:mouseleave",(function(){var e;null===(e=i())||void 0===e||e.forEach((function(e){return e.classList.remove(z.highlightPoi)}))})),(0,r.useEffect)((function(){if(t.current){var e=i();return e.forEach((function(e){return e.addEventListener("mouseover",n)})),e.forEach((function(e){return e.addEventListener("mouseleave",a)})),function(){e.forEach((function(e){return e.removeEventListener("mouseover",n)})),e.forEach((function(e){return e.removeEventListener("mouseleave",a)}))}}}),[t.current]),t}(e.pointsOfInterest);if(!e.hasGlanceData&&e.hasDetails)return e.onClickShowDescription&&e.onClickShowDescription(),r.createElement(r.Fragment,null);var i,o=e.hasDetails&&e.onClickShowDescription;return r.createElement("div",{className:"rounded border px-3 px-sm-5 py-3 mb-3\n position-relative d-flex justify-content-center\n ".concat(z.container," ").concat((i=null===(t=e.theme)||void 0===t?void 0:t.name.toLowerCase(),i===W.Maths?z.bgBlue:i===W.English?z.bgPink:i===W.History?z.bgYellow:z.bgGreen))},r.createElement("div",{className:"".concat(z.content," d-flex align-items-center pt-4 pt-sm-0")},r.createElement("div",null,r.createElement("h2",{className:"h4"},r.createElement(d.x,{namespace:X,phrase:"videoAtAGlance"})),o&&r.createElement(O.L,{onClick:e.onClickShowDescription,className:"".concat(z.detailsBtn," position-absolute cursor-pointer mr-4 font-weight-500 text-info")},r.createElement(d.x,{namespace:X,phrase:"readFullDescription"})),r.createElement("div",{ref:a,onClick:function(t){return function(e,t,n){e.preventDefault();var r=e.target.getAttribute("href");if((null==r?void 0:r.includes("cv://poi"))&&(null==t?void 0:t.length)){var a=r.split("cv://poi?id=")[1],i=t.find((function(e){return e.id.toString()===a}));n&&i&&n(i.startTime)}}(t,e.pointsOfInterest,e.setStartTime)},dangerouslySetInnerHTML:{__html:n}}),function(){var t,n,a,i;return(null===(n=null===(t=e.video.tags)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)?r.createElement("div",{className:"py-1"},r.createElement(j.P,{tags:null===(i=null===(a=e.video)||void 0===a?void 0:a.tags)||void 0===i?void 0:i.data,theme:e.theme,getAppLink:function(t){return e.getTagAppLink?e.getTagAppLink(t):null}})):r.createElement(r.Fragment,null)}(),r.createElement("div",{className:"mt-2"},e.hasCurriculumLinks&&e.onClickShowCurriculumLinks&&r.createElement(O.L,{onClick:e.onClickShowCurriculumLinks,className:"cursor-pointer d-inline-block font-weight-500 text-info"},r.createElement(d.x,{namespace:X,phrase:"seeCurriculumLinks"}))))),function(){var t,n,a,i=null!==(a=null===(n=null===(t=e.theme)||void 0===t?void 0:t.data)||void 0===n?void 0:n.images)&&void 0!==a?a:{};return R.t.keys(i).filter((function(e){return!R.t.isEmpty(i[e])})).map((function(e){var t,n,a=U.j.createUrl(null===(t=i[e])||void 0===t?void 0:t.url,{size:q.h2.Medium});return r.createElement("div",{key:null===(n=i[e])||void 0===n?void 0:n.fileId,className:"".concat(z[e]," ").concat(z.background),style:{backgroundImage:"url('".concat(a,"')")}})}))}())}var K=n(96022),J=n(16714),ee=n(12754),te=n(65858),ne=n(43853),re=n(99719),ae=n(14070),ie=n(97291),oe=n(86702),le=n(90102),ce=n(69344),ue=n(65986),se=n(99742),de=n(78166),me=n(22490);function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||fe(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 pe(e){return function(e){if(Array.isArray(e))return ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fe(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 fe(e,t){if(e){if("string"==typeof e)return ge(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)?ge(e,t):void 0}}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var he="shared.playPage",ye=l.T.encloseNamespace(he);function Ee(e){var t,n,r,l,h,y,E,b,C,k,S,A,N,x,L,w,I,R,O=e.video,U=e.glanceTheme,j=e.imageCdnUrl,M=ve(a().useState(!1),2),V=M[0],H=M[1],_=a().useRef(!1),z=a().useRef(null),B=a().useRef(null),W=(null===(t=null==O?void 0:O.glance)||void 0===t?void 0:t.content)&&"text/markdown"===O.glance.format,Z=e.hasPermissions(J.C.StudentExperience),Y=O.rating,G=O.productionYear,Q=O.interactives,q=O.resources,X=O.productionCompanies,fe=O.distributors,ge=O.producers,Ee=O.directors,be=O.tags,Ce=O.links,ke=!!((null===(n=null==X?void 0:X.data)||void 0===n?void 0:n.length)||(null===(r=null==fe?void 0:fe.data)||void 0===r?void 0:r.length)||(null===(l=null==ge?void 0:ge.data)||void 0===l?void 0:l.length)||(null===(h=null==Ee?void 0:Ee.data)||void 0===h?void 0:h.length)),Se=!!((null==Y?void 0:Y.value)||G||(null===(y=null==Q?void 0:Q.data)||void 0===y?void 0:y.length)||(null===(E=null==q?void 0:q.data)||void 0===E?void 0:E.length)||(null===(b=null==Ce?void 0:Ce.data)||void 0===b?void 0:b.length)),Ae=!!O.series,Ne=!!O.description||Se||ke||!!(null===(C=null==be?void 0:be.data)||void 0===C?void 0:C.length),xe=ve((0,o.D)(oe.y.WEB_PLAYER_DATA),2),Le=xe[0],we=xe[1],Ie=ve(a().useState({view:W&&!Z?"v@g":"details",referrer:null}),2),Pe=Ie[0],Te=Ie[1],De=function(e,t){var n=!e.isAuthenticated||!t(ee.x.Primary);return{getTagAppLink:function(e){return n?null:{application:ie.O.SEARCH,action:ae.e.Search.HOME,params:{tagOrClassification:e.name}}},getSeriesAppLink:function(e){return n?null:{application:ie.O.DEFAULT,action:ae.e.Default.SERIES,args:[e.id,c.m.slugify(e.name)]}}}}(e.currentUser,e.hasProduct),Fe=(0,ue._)(ue.i.PlayPage);function Re(){if(z.current&&B.current){var e=z.current.getBoundingClientRect().width,t=B.current.getBoundingClientRect().width>e/2;t&&!V?H(!0):!t&&V&&H(!1)}}function Oe(){var t,n;return!(null===(t=e.currentUser)||void 0===t?void 0:t.isAuthenticated)||!e.hasProduct(ee.x.Primary)||!(!Z||(null===(n=O._canUpdate)||void 0===n?void 0:n.value))}(0,ne.T)(),a().useEffect((function(){return we("isOnPlayPage",!0),we("allowFloatingPlayer",!0),function(){we("isOnPlayPage",!1)}}),[]);var Ue=function(e,t,n){var r,a,i,o,l=null!==(a=null===(r=e.resources)||void 0===r?void 0:r.data)&&void 0!==a?a:[],c=null!==(o=null===(i=e.links)||void 0===i?void 0:i.data)&&void 0!==o?o:[],u=l.filter((function(e){var r,a;return!(!t.isAuthenticated||n)||"additional-materials"===(null===(r=e.metadata)||void 0===r?void 0:r.resourceType)||"student-activity"===(null===(a=e.metadata)||void 0===a?void 0:a.resourceType)}));return[].concat(pe(u),pe(c))}(O,e.currentUser,Z),je=u.q.throttle(Re,300);return(0,s.H)(je,null,[V]),a().useEffect(Re,[z,B,V]),a().createElement(d.D.Provider,{value:he},a().createElement("div",{className:"mb-2"},!Le.showFloatingPlayer&&a().createElement(i.t0,{node:Le.portalNode}),a().createElement("div",{className:Le.showFloatingPlayer?"":"d-none"},a().createElement(ce.m,{video:O}))),a().createElement("div",{className:"".concat(Ae||Se?"mb-3":"mb-2"," position-relative"),ref:z},a().createElement("div",{className:"d-inline-block",ref:B},!!O.series&&a().createElement(K.M,{video:O,appLink:De.getSeriesAppLink(O.series),className:"".concat("SaFrA"," text-truncate mw-100"),analyticsOptions:{location:te.LocationContext.PlayPage}}),a().createElement("h1",{className:"h4 d-inline-block mb-2 mt-n1 mw-100 ".concat(Ae||Se?"":"mb-0 pt-2")},O.name)),Se&&a().createElement(F.c,{className:"QHYXF"},a().createElement(D.C,{type:D.g.Rating,data:O.rating}),a().createElement(D.C,{type:D.g.ProductionYear,data:O.productionYear}),!!(null==Ue?void 0:Ue.length)&&a().createElement(D.C,{type:D.g.Resources,data:[].concat(pe(null!==(S=null===(k=O.resources)||void 0===k?void 0:k.data)&&void 0!==S?S:[]),pe(null!==(N=null===(A=O.links)||void 0===A?void 0:A.data)&&void 0!==N?N:[]))})),(null===(x=e.currentUser)||void 0===x?void 0:x.isAuthenticated)&&e.hasProduct(ee.x.Primary)&&a().createElement("div",{className:"ml-2 ".concat("YpwOS"," ").concat(V?"c0fZQ":"")},a().createElement(m.e,{actions:Fe(O),actionsDropdownClassName:"btn btn-outline-dark"}))),"v@g"===Pe.view&&a().createElement($,{theme:U,video:O,pointsOfInterest:e.pointsOfInterest,hasGlanceData:W,hasDetails:Ne,onClickShowDescription:function(){return Te({view:"details",referrer:"v@g"})},onClickShowCurriculumLinks:function(){return Te({view:"curriculumLinks",referrer:"v@g"})},hasCurriculumLinks:!!e.curriculums.customerHasCurriculumLinks,setStartTime:function(e){return we("startTime",e)},getTagAppLink:De.getTagAppLink}),"details"===Pe.view&&a().createElement(re.X,{video:O,hasPPDD:ke,onLaunchImmersiveReader:function(){var e,t;_.current=!(null===(e=null==Le?void 0:Le.playerRef)||void 0===e?void 0:e.isPaused()),null===(t=null==Le?void 0:Le.playerRef)||void 0===t||t.pause()},onExitImmersiveReader:function(){var e;_.current&&(null===(e=null==Le?void 0:Le.playerRef)||void 0===e||e.play())},canViewGlance:W&&!Z,canViewCurriculumLinks:!!e.curriculums.customerHasCurriculumLinks&&!Z,onClickShowSynopsis:function(){return Te({view:"v@g",referrer:"details"})},onClickSeeCurriculumLinks:function(){return Te({view:"curriculumLinks",referrer:"details"})},getTagAppLink:De.getTagAppLink}),"curriculumLinks"===Pe.view&&a().createElement(P,{height:le.x,curriculums:e.curriculums,updateCurriculum:e.updateCurriculum,onClickSeeLess:function(){return Te({view:Pe.referrer,referrer:"curriculumLinks"})},emptyStateUrl:se.W.EmptyStates.CURRICULUM_LINKS}),!!(null==Ue?void 0:Ue.length)&&a().createElement("div",{className:"mx-n1"},a().createElement(v.kM,{name:ye("resources",{count:Ue.length}),contents:p.z.Resources,collection:Ue,prefetched:!0,childComponent:T.R,extraChildComponentProps:{imageCdnUrl:j,imageErrorFallbackUrl:se.W.Fallbacks.RESOURCE_THUMBNAIL},getChildAppLink:function(e){return{application:ie.O.DEFAULT,action:ae.e.Default.PREVIEW_PDF,args:[e.id]}},analyticsData:{widgetId:"resources"}})),!!(null===(w=null===(L=O.interactives)||void 0===L?void 0:L.data)||void 0===w?void 0:w.length)&&!Oe()&&a().createElement("div",{className:"mx-n1"},a().createElement(v.kM,{name:ye("interactives",{count:O.interactives.data.length}),contents:p.z.Interactives,collection:O.interactives.data,prefetched:!0,getChildAppLink:function(e){return{application:ie.O.INTERACTIVES,action:ae.e.Interactives.VIEW_INTERACTIVE,args:[e.id,c.m.slugify(e.name)]}},childComponent:f.K,extraChildComponentProps:{video:O,questionsAppLink:{application:ie.O.INTERACTIVES,action:ae.e.Interactives.PREVIEW_QUESTIONS},imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"interactives"}})),!!(null===(R=null===(I=O.clips)||void 0===I?void 0:I.data)||void 0===R?void 0:R.length)&&!Oe()&&a().createElement("div",{className:"mx-n1"},a().createElement(v.kM,{name:ye("clips",{count:O.clips.data.length}),contents:p.z.Clips,collection:O.clips.data,prefetched:!0,getChildAppLink:function(e){return{application:ie.O.DEFAULT,action:ae.e.Default.PLAY_CLIP,args:[e.id,c.m.slugify(e.name)]}},childComponent:g.C,extraChildComponentProps:{video:O,imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"clips"}})),a().createElement(de.Z,{currentVideo:O,relatedVideos:e.relatedVideos,currentUser:e.currentUser,setFavourite:e.setFavourite,getVideoAppLink:function(t){return me.W.getAppLink(t,{context:Le.context,contextId:Le.contextId,playNext:e.playNext,shareId:e.shareId})}}))}},99719:(e,t,n)=>{n.d(t,{X:()=>E});var r=n(1024),a=n(54976),i=n.n(a),o=n(23481),l=n(28400),c=n(83345),u=n(65858),s=n(91743),d=n(11607),m=n(25723),v=n(11025),p=n(90102);var f="shared.videoDetails",g=o.T.encloseNamespace(f);function h(e){var t=e.label,n=e.items,a=e.className;if(!(n&&n.data&&n.data.length))return r.createElement(r.Fragment,null);var i=n.data.map((function(e){return e.name})).join(", ");return r.createElement("div",{className:a},t,": ",i)}function y(e){var t,n,a,i,o,l,u,d,m,p,f=e.video;return v.M.isVideo(f)?r.createElement("div",{className:f.description?"col-md-5 pl-md-3 pt-3 pt-md-0":"col-12"},r.createElement("h2",{className:"h6 mb-1"},r.createElement(c.x,{phrase:"details"})),e.hasPPDD&&v.M.isVideo(e.video)&&r.createElement("div",{className:"pb-2"},r.createElement(h,{label:g("productionCompanies",{smartCount:null===(n=null===(t=f.productionCompanies)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length}),items:f.productionCompanies}),r.createElement(h,{label:g("distributors",{smartCount:null===(i=null===(a=f.distributors)||void 0===a?void 0:a.data)||void 0===i?void 0:i.length}),items:f.distributors}),r.createElement(h,{label:g("producers",{smartCount:null===(l=null===(o=f.producers)||void 0===o?void 0:o.data)||void 0===l?void 0:l.length}),items:f.producers}),r.createElement(h,{label:g("directors",{smartCount:null===(d=null===(u=f.directors)||void 0===u?void 0:u.data)||void 0===d?void 0:d.length}),items:f.directors})),!!(null===(p=null===(m=f.tags)||void 0===m?void 0:m.data)||void 0===p?void 0:p.length)&&r.createElement(s.P,{tags:f.tags.data,getAppLink:e.getTagAppLink})):r.createElement(r.Fragment,null)}function E(e){var t,n,a=e.video,o=e.maxHeight,s=void 0===o?p.x:o,g=!!e.video.description,h=e.hasPPDD||v.M.isVideo(e.video)&&!!(null===(n=null===(t=e.video.tags)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length);return g||h?r.createElement(c.D.Provider,{value:f},r.createElement("div",{className:"rounded border p-3 mb-3 position-relative"},r.createElement(i(),{autoHeight:!0,autoHeightMax:s},r.createElement("div",{className:"row no-gutters"},g&&r.createElement("div",{className:h?"".concat("uotsN"," pr-3 col-md-7"):"col-12"},r.createElement("div",{className:"d-flex align-items-center"},r.createElement("h2",{className:"h6 mb-1"},r.createElement(c.x,{phrase:"description"})),r.createElement(m.m,{text:a.description,title:a.name,className:"pl-2",onLaunch:e.onLaunchImmersiveReader,onExit:e.onExitImmersiveReader,analyticsOptions:{location:u.LocationContext.PlayPage,entity:u.EntityType.Video,actionType:u.UserAction.Click,descriptor:u.ClickDescriptor.LaunchImmersiveReader},analyticsData:{id:a.id,type:"description"}})),r.createElement("p",{className:"mb-0",dangerouslySetInnerHTML:{__html:l.m.linkifyText(e.video.description)}}),e.canViewCurriculumLinks&&r.createElement(d.L,{onClick:e.onClickSeeCurriculumLinks,className:"cursor-pointer d-inline-block font-weight-500 text-info mt-2"},r.createElement(c.x,{namespace:f,phrase:"seeCurriculumLinks"}))),h&&r.createElement(y,Object.assign({},e)))),e.canViewGlance&&r.createElement("button",{type:"button",className:"close ".concat("j5mgW"),"aria-label":"Close",onClick:e.onClickShowSynopsis},r.createElement("span",{"aria-hidden":"true"},"×")))):r.createElement(r.Fragment,null)}},90102:(e,t,n)=>{n.d(t,{x:()=>r});var r=368},49948:(e,t,n)=>{n.d(t,{l:()=>s});var r=n(58566),a=n(20354),i=n(3010),o=n(45719),l=n(1575),c=n(22902),u=n(16714);function s(e){var t=(0,r.useDispatch)(),n=(0,c.T)().hasPermissions;function s(t){return l.R.pointsOfInterest(e,t)}n(u.C.StudentExperience)&&(e=null),(0,i.i)(!!e&&s,!!e&&function(e){a.a.getFetch(t)(s(e))});var d=(0,o.P)(!!e&&function(e){return s(e).key});return n(u.C.StudentExperience)?o.F:d}},50456:(e,t,n)=>{n.d(t,{l:()=>c});var r=n(1024),a=n(2948),i=n(86702),o=n(22490);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){var c,u,s=(c=(0,a.D)(i.y.WEB_PLAYER_DATA),u=2,function(e){if(Array.isArray(e))return e}(c)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(c,u)||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}}(c,u)||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.")}())[1];(0,r.useEffect)((function(){if(null==e?void 0:e.id)return t.playNext&&s("playNext",!0),s("nextVideo",e),s("nextVideoAppLink",function(e){return o.W.getAppLink(e,{context:t.context,contextId:t.contextId,playNext:t.playNext,shareId:n})}(e)),function(){s("playNext",!1),s("nextVideo",null),s("nextVideoAppLink",null)}}),[t,e])}},91807:(e,t,n)=>{n.d(t,{Z:()=>r});const r={tagList:"Zw6d9",disabled:"jlL1c",partialTag:"too_N",badge:"OjtN8",close:"X9joI"}}}]);
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[2560],{16035:(e,t,n)=>{n.d(t,{z:()=>s});var r=n(1024),a=n.n(r),i=n(8493),o=n(44829),l=n(58130),c=n(83914),u=n(91807);function s(e){var t,n,r,s=e.tag,d=e.appLink,m=e.onClick,v=e.disabled,p=e.tagClass,f=void 0===p?"tag":p,g=s.name.toLowerCase(),h="badge-pill py-1 px-2 my-1 mr-1 ".concat(f," ").concat(function(e){switch(e){case o.Q.Pedagogy:return"pedagogy-tag text-white";case o.Q.Hidden:return"hidden-tag";case o.Q.Normal:default:return""}}(s.tagType)),y=s.tagType===o.Q.Normal&&!!(null===(r=null===(n=null===(t=e.theme)||void 0===t?void 0:t.data)||void 0===n?void 0:n.colours)||void 0===r?void 0:r.secondary);y&&(h+=" text-white"),!d&&!m||v||(h+=" cursor-pointer"),v&&(h+=" "+u.Z.disabled),e.onRemove&&(h+=" "+u.Z.badge);var E=y?{backgroundColor:e.theme.data.colours.secondary}:{};return d?a().createElement(i.F,{onClick:m,appLink:d,className:h,title:g,style:E},a().createElement("span",{className:"text-truncate text-nowrap"},g)):a().createElement("span",{onClick:m,className:h,title:g,style:E},a().createElement("span",{className:"text-truncate text-nowrap"},g,e.onRemove&&a().createElement("button",{onClick:e.onRemove,className:"".concat(u.Z.close," close font-size-normal")},a().createElement(c.x,{size:c.S.Small,svgName:l.vn.Close,className:"d-inline-block svg-container"}))))}},91743:(e,t,n)=>{n.d(t,{P:()=>s});var r=n(1024),a=n.n(r),i=n(16035),o=n(44829),l=n(91807);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function u(e){return e.tagType===o.Q.Pedagogy?0:1}function s(e){if(!e.tags)return a().createElement(a().Fragment,null);var t,n=(t=e.tags,function(e){if(Array.isArray(e))return c(e)}(t)||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 c(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)?c(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.")}()).sort((function(e,t){return u(e)-u(t)}));return a().createElement("div",{className:l.Z.tagList},n.map((function(t){var n="function"==typeof e.getAppLink?e.getAppLink(t):null,r="function"==typeof e.onRemove?function(){return e.onRemove(t)}:null;return a().createElement(i.z,{key:t.id,tag:t,appLink:n,theme:e.theme,onRemove:r})})))}},15446:(e,t,n)=>{n.d(t,{C:()=>d});var r=n(1024),a=n.n(r),i=n(8493),o=n(57760),l=n(68626),c=n(3133),u=n(54610),s=n(65858);var d=a().memo((function(e){var t;return a().createElement("div",{className:"flex-shrink-0 px-1 ".concat("hzP5u")},a().createElement("div",{className:"row m-0 border rounded p-2 h-100"},a().createElement("div",{className:"col-6 p-0"},a().createElement(o.u,{video:e.data,appLink:e.getAppLink(e.data),type:"static",imageOptions:{size:u.h2.Small},textPosition:l.z.Independent,analyticsOptions:{location:s.LocationContext.SlidingListItem},preload:!0})),a().createElement("div",{className:"col-6 p-0"},a().createElement("div",{className:"pl-2"},a().createElement(i.F,{appLink:e.getAppLink(e.data)},a().createElement("h3",{className:"h6 mb-1"},a().createElement("span",{className:"clamp-2"},e.data.name))),a().createElement(c.R,{owner:e.data.owner,isClickViewContent:null===(t=e.data._isClickViewContent)||void 0===t?void 0:t.value,imageCdnUrl:e.imageCdnUrl})))))}))},44829:(e,t,n)=>{var r,a;n.d(t,{Q:()=>r}),function(e){e.Normal="normal",e.Pedagogy="pedagogy",e.Hidden="hidden"}(r||(r={})),function(e){e[e.Normal=0]="Normal",e[e.Pedagogy=1]="Pedagogy",e[e.Hidden=2]="Hidden"}(a||(a={}))},3010:(e,t,n)=>{n.d(t,{i:()=>i});var r=n(1024),a=n(45719);function i(e,t){var n=e,i=t,o=(0,a.P)(e&&function(e){return n(e).key});return(0,r.useEffect)((function(){o&&o.shouldInitialFetch&&t&&i()}),[null==o?void 0:o.shouldInitialFetch,t]),(0,r.useEffect)((function(){o&&o.nextCursor&&!o.isFetching&&t&&i(o.nextCursor)}),[null==o?void 0:o.nextCursor,null==o?void 0:o.isFetching,t]),o}},45719:(e,t,n)=>{n.d(t,{F:()=>c,P:()=>u});var r=n(1024),a=n(58566),i=n(20354),o=n(79014);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c={items:[],shouldInitialFetch:!1,nextCursor:null,isFetching:!1,statusCode:n(50242).o.Ok,hasCompleted:!0,totalItems:0};function u(e,t,n){function c(e){if(e)return o.q.isFunction(t)?t(e):e.data}function u(e){var t,r;if(e)return n?n(e):null===(r=null===(t=e.pagination)||void 0===t?void 0:t.cursors)||void 0===r?void 0:r.next}return(0,a.useSelector)((0,r.useMemo)((function(){return function(t){if(o.q.isFunction(e)){for(var n=e,r=o.q.isFunction(e)&&n(),a=r&&i.a.getResponse(t,r),s=a&&a.isFetching,d=a&&a.statusCode,m=a&&a.hasCompleted,v=a&&a.shouldFetch,p=c(a&&a.data),f=u(a&&a.data),g=function(e){var t;if(e)return null===(t=e)||void 0===t?void 0:t.count}(a&&a.data);f&&(s=(a=i.a.getResponse(t,n(f))).isFetching,d=a.statusCode,m=a.hasCompleted,!a.shouldFetch);){var h=c(a.data);h&&p.push.apply(p,function(e){if(Array.isArray(e))return l(e)}(b=h)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(b)||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}}(b)||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 y=u(a.data);f=y===f?null:y}var E={shouldInitialFetch:v,items:p,nextCursor:f,isFetching:s,statusCode:d,hasCompleted:m};return"number"==typeof g&&(E.totalItems=g),E}var b}}),[e]))}},69344:(e,t,n)=>{n.d(t,{m:()=>l});var r=n(1024),a=n(23481),i=n(11025);var o=a.T.encloseNamespace("shared.pictureInPicturePlaceholder");function l(e){var t,n;return r.createElement("div",{className:"position-relative responsive-img ".concat("qnTH4"),style:{backgroundImage:"url('".concat(null!==(n=null===(t=i.M.getThumbnail(e.video))||void 0===t?void 0:t.url)&&void 0!==n?n:"","')")}},r.createElement("p",{className:"m-0 text-white ".concat("kwerS")},o("playingPiP")),r.createElement("div",{className:"xDWEz"}))}},61704:(e,t,n)=>{n.d(t,{j:()=>Ee});var r=n(1024),a=n.n(r),i=n(17082),o=n(2948),l=n(23481),c=n(28400),u=n(79014),s=n(10038),d=n(83345),m=n(83657),v=n(11518),p=n(58704),f=n(47862),g=n(15446),h=n(54976),y=n.n(h),E=n(75896),b=n(69883),C=n(45261),k=n(91053);var S=function(){return a().createElement(a().Fragment,null,a().createElement("div",{className:"partial-loading-background badge-pill py-1 px-2 d-inline-block mr-1 mb-2 ".concat("vDcrq")}),a().createElement("div",null,a().createElement("div",{className:"partial-loading-background mb-1 ".concat("GXhoW")}),a().createElement("div",{className:"mb-2 d-flex"},a().createElement("div",{className:"mr-1 align-self-start ".concat("goKaS")},a().createElement("div",{className:"partial-loading-background badge-pill py-1 px-2 d-inline-block w-100 h-100"})),a().createElement("div",{className:"partial-loading-background ".concat("vFew6")}))))};function A(){return a().createElement("div",null,a().createElement("div",{className:"mb-3"},a().createElement(S,null)),a().createElement("div",{className:"mb-3"},a().createElement(S,null)),a().createElement("div",null,a().createElement(S,null)))}var N=n(22161);function x(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||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,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 L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w="shared.curriculumLinks",I=l.T.encloseNamespace(w);function P(e){var t=e.curriculums,n=t.currentCurriculum,r=t.availableCurriculums,i=t.curriculumLinks,o=t.isLoading,l=x(a().useState(null!=n?n:E.m.first(r)),2),c=l[0],u=l[1],s=x(a().useState(o||!c),2),m=s[0],v=s[1],p=(0,b.Z)();return a().useEffect((function(){!o&&m&&v(!1)}),[o]),a().createElement("div",{className:"rounded border mb-3 position-relative"},a().createElement(y(),{autoHeight:!0,autoHeightMax:e.height},a().createElement("div",{className:"p-3"},a().createElement("h2",{className:"h6 mr-2 h-100"},a().createElement(d.x,{namespace:w,phrase:"heading"})),a().createElement(k.B,{availableCurriculums:r,onChangeCurriculum:function(t){var n,a,i=t.target.value,o=r.find((function(e){return e.id.toString()===i}));(null==o?void 0:o.id)&&(null===(n=null==c?void 0:c.id)||void 0===n?void 0:n.toString())!==(null===(a=null==o?void 0:o.id)||void 0===a?void 0:a.toString())&&(v(!0),u(o),e.updateCurriculum(o,(function(){u(c),v(!1),p.error(I("updateFailed"))})))},selectedCurriculum:c,className:N.Z.dropdown}),m?a().createElement(A,null):a().createElement(C.h,{curriculumLinks:i,emptyStateUrl:e.emptyStateUrl}))),!!e.onClickSeeLess&&a().createElement("button",{type:"button",className:"close ".concat(N.Z.closeButton),"aria-label":"Close",onClick:e.onClickSeeLess},a().createElement("span",{"aria-hidden":"true"},"×")))}var T=n(73749),D=n(76246),F=n(99551),R=n(1048),O=n(11607),U=n(67453),j=n(91743),M=n(12271),V=n(73758);function H(e,t,n){var a=function(){V.n.unsubscribe(e,t)};return(0,r.useEffect)((function(){return n?V.n.subscribeOnce(e,t):V.n.subscribe(e,t),function(){a()}}),[]),a}var _=n(93264);const z={container:"BImYH",bgBlue:"SrCZF",bgGreen:"u2EKd",bgPink:"SXVSk",bgYellow:"RgyZC",background:"aAY0j",topLeft:"azcIT",bottomLeft:"mBkCx",topRight:"tcN5n",bottomRight:"sHsOr",detailsBtn:"jyxT7",content:"PeWbM",highlightPoi:"un8Q0"};function B(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var W,Z=/(\[.*\]\(cv:\/\/poi\?id=[0-9]+\))/g,Y=/[0-9]+/,G=/\[.*\]/,Q=/[\[\]]/g;!function(e){e.Maths="maths",e.English="english",e.History="history"}(W||(W={}));var q=n(54610),X="shared.videoAtAGlance";function $(e){var t,n=function(e,t,n){var a,i,o,l=(i=(0,r.useState)(""),o=2,function(e){if(Array.isArray(e))return e}(i)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(i,o)||function(e,t){if(e){if("string"==typeof e)return B(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)?B(e,t):void 0}}(i,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],u=l[1];return(0,r.useEffect)((function(){n&&u(function(e,t){var n=function(e,t){return(null==t?void 0:t.length)?e.content.replace(Z,(function(e){var n=e.match(Y);if(!(null==n?void 0:n.length))return e;var r=t.find((function(e){return e.id.toString()===n[0]})),a=e.match(G);if(!r||!(null==a?void 0:a.length))return e;var i='<span class="'.concat(z.timestamp,' mr-2">').concat(_.T.ToDisplayDuration(1e3*r.startTime),"</span>"),o=a[0];return o=(o=o.replace(Q,""))||r.description,o="[".concat(i," ").concat(o,"]"),e.replace(G,o)})):e.content}(e,t);return M(n).split('a href="cv://poi').join('a class="d-flex" href="cv://poi')}(e.glance,t))}),[null===(a=e.glance)||void 0===a?void 0:a.content,!!t]),c}(e.video,e.pointsOfInterest,e.hasGlanceData),a=function(e){var t=(0,r.useRef)();function n(){var t=this.getAttribute("href");if((null==t?void 0:t.includes("cv://poi"))&&(null==e?void 0:e.length)){var n=t.split("cv://poi?id=")[1];if(n){var r=e.find((function(e){return e.id.toString()===n}));r&&V.n.trigger("glance:poi:mouseover",r)}}}function a(){V.n.trigger("glance:poi:mouseleave")}function i(){var e;return null===(e=t.current)||void 0===e?void 0:e.querySelectorAll('[href*="cv://poi"]')}return H("player:poi:mouseover",(function(e){var n,r=null==e?void 0:e.id;r&&(null===(n=function(e){var n;return null===(n=t.current)||void 0===n?void 0:n.querySelector('[href="cv://poi?id='.concat(e,'"]'))}(r))||void 0===n||n.classList.add(z.highlightPoi))})),H("player:poi:mouseleave",(function(){var e;null===(e=i())||void 0===e||e.forEach((function(e){return e.classList.remove(z.highlightPoi)}))})),(0,r.useEffect)((function(){if(t.current){var e=i();return e.forEach((function(e){return e.addEventListener("mouseover",n)})),e.forEach((function(e){return e.addEventListener("mouseleave",a)})),function(){e.forEach((function(e){return e.removeEventListener("mouseover",n)})),e.forEach((function(e){return e.removeEventListener("mouseleave",a)}))}}}),[t.current]),t}(e.pointsOfInterest);if(!e.hasGlanceData&&e.hasDetails)return e.onClickShowDescription&&e.onClickShowDescription(),r.createElement(r.Fragment,null);var i,o=e.hasDetails&&e.onClickShowDescription;return r.createElement("div",{className:"rounded border px-3 px-sm-5 py-3 mb-3\n position-relative d-flex justify-content-center\n ".concat(z.container," ").concat((i=null===(t=e.theme)||void 0===t?void 0:t.name.toLowerCase(),i===W.Maths?z.bgBlue:i===W.English?z.bgPink:i===W.History?z.bgYellow:z.bgGreen))},r.createElement("div",{className:"".concat(z.content," d-flex align-items-center pt-4 pt-sm-0")},r.createElement("div",null,r.createElement("h2",{className:"h4"},r.createElement(d.x,{namespace:X,phrase:"videoAtAGlance"})),o&&r.createElement(O.L,{onClick:e.onClickShowDescription,className:"".concat(z.detailsBtn," position-absolute cursor-pointer mr-4 font-weight-500 text-info")},r.createElement(d.x,{namespace:X,phrase:"readFullDescription"})),r.createElement("div",{ref:a,onClick:function(t){return function(e,t,n){e.preventDefault();var r=e.target.getAttribute("href");if((null==r?void 0:r.includes("cv://poi"))&&(null==t?void 0:t.length)){var a=r.split("cv://poi?id=")[1],i=t.find((function(e){return e.id.toString()===a}));n&&i&&n(i.startTime)}}(t,e.pointsOfInterest,e.setStartTime)},dangerouslySetInnerHTML:{__html:n}}),function(){var t,n,a,i;return(null===(n=null===(t=e.video.tags)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)?r.createElement("div",{className:"py-1"},r.createElement(j.P,{tags:null===(i=null===(a=e.video)||void 0===a?void 0:a.tags)||void 0===i?void 0:i.data,theme:e.theme,getAppLink:function(t){return e.getTagAppLink?e.getTagAppLink(t):null}})):r.createElement(r.Fragment,null)}(),r.createElement("div",{className:"mt-2"},e.hasCurriculumLinks&&e.onClickShowCurriculumLinks&&r.createElement(O.L,{onClick:e.onClickShowCurriculumLinks,className:"cursor-pointer d-inline-block font-weight-500 text-info"},r.createElement(d.x,{namespace:X,phrase:"seeCurriculumLinks"}))))),function(){var t,n,a,i=null!==(a=null===(n=null===(t=e.theme)||void 0===t?void 0:t.data)||void 0===n?void 0:n.images)&&void 0!==a?a:{};return R.t.keys(i).filter((function(e){return!R.t.isEmpty(i[e])})).map((function(e){var t,n,a=U.j.createUrl(null===(t=i[e])||void 0===t?void 0:t.url,{size:q.h2.Medium});return r.createElement("div",{key:null===(n=i[e])||void 0===n?void 0:n.fileId,className:"".concat(z[e]," ").concat(z.background),style:{backgroundImage:"url('".concat(a,"')")}})}))}())}var K=n(96022),J=n(16714),ee=n(12754),te=n(65858),ne=n(43853),re=n(99719),ae=n(14070),ie=n(97291),oe=n(86702),le=n(90102),ce=n(69344),ue=n(65986),se=n(99742),de=n(78166),me=n(22490);function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(e,t)||fe(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 pe(e){return function(e){if(Array.isArray(e))return ge(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||fe(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 fe(e,t){if(e){if("string"==typeof e)return ge(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)?ge(e,t):void 0}}function ge(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var he="shared.playPage",ye=l.T.encloseNamespace(he);function Ee(e){var t,n,r,l,h,y,E,b,C,k,S,A,N,x,L,w,I,R,O=e.video,U=e.glanceTheme,j=e.imageCdnUrl,M=ve(a().useState(!1),2),V=M[0],H=M[1],_=a().useRef(!1),z=a().useRef(null),B=a().useRef(null),W=(null===(t=null==O?void 0:O.glance)||void 0===t?void 0:t.content)&&"text/markdown"===O.glance.format,Z=e.hasPermissions(J.C.StudentExperience),Y=O.rating,G=O.productionYear,Q=O.interactives,q=O.resources,X=O.productionCompanies,fe=O.distributors,ge=O.producers,Ee=O.directors,be=O.tags,Ce=O.links,ke=!!((null===(n=null==X?void 0:X.data)||void 0===n?void 0:n.length)||(null===(r=null==fe?void 0:fe.data)||void 0===r?void 0:r.length)||(null===(l=null==ge?void 0:ge.data)||void 0===l?void 0:l.length)||(null===(h=null==Ee?void 0:Ee.data)||void 0===h?void 0:h.length)),Se=!!((null==Y?void 0:Y.value)||G||(null===(y=null==Q?void 0:Q.data)||void 0===y?void 0:y.length)||(null===(E=null==q?void 0:q.data)||void 0===E?void 0:E.length)||(null===(b=null==Ce?void 0:Ce.data)||void 0===b?void 0:b.length)),Ae=!!O.series,Ne=!!O.description||Se||ke||!!(null===(C=null==be?void 0:be.data)||void 0===C?void 0:C.length),xe=ve((0,o.D)(oe.y.WEB_PLAYER_DATA),2),Le=xe[0],we=xe[1],Ie=ve(a().useState({view:W&&!Z?"v@g":"details",referrer:null}),2),Pe=Ie[0],Te=Ie[1],De=function(e,t){var n=!e.isAuthenticated||!t(ee.x.Primary);return{getTagAppLink:function(e){return n?null:{application:ie.O.SEARCH,action:ae.e.Search.HOME,params:{tagOrClassification:e.name}}},getSeriesAppLink:function(e){return n?null:{application:ie.O.DEFAULT,action:ae.e.Default.SERIES,args:[e.id,c.m.slugify(e.name)]}}}}(e.currentUser,e.hasProduct),Fe=(0,ue._)(ue.i.PlayPage);function Re(){if(z.current&&B.current){var e=z.current.getBoundingClientRect().width,t=B.current.getBoundingClientRect().width>e/2;t&&!V?H(!0):!t&&V&&H(!1)}}function Oe(){var t;return!(null===(t=e.currentUser)||void 0===t?void 0:t.isAuthenticated)||!e.hasProduct(ee.x.Primary)||!!Z}(0,ne.T)(),a().useEffect((function(){return we("isOnPlayPage",!0),we("allowFloatingPlayer",!0),function(){we("isOnPlayPage",!1)}}),[]);var Ue=function(e,t,n){var r,a,i,o,l=null!==(a=null===(r=e.resources)||void 0===r?void 0:r.data)&&void 0!==a?a:[],c=null!==(o=null===(i=e.links)||void 0===i?void 0:i.data)&&void 0!==o?o:[],u=l.filter((function(e){var r,a;return!(!t.isAuthenticated||n)||"additional-materials"===(null===(r=e.metadata)||void 0===r?void 0:r.resourceType)||"student-activity"===(null===(a=e.metadata)||void 0===a?void 0:a.resourceType)}));return[].concat(pe(u),pe(c))}(O,e.currentUser,Z),je=u.q.throttle(Re,300);return(0,s.H)(je,null,[V]),a().useEffect(Re,[z,B,V]),a().createElement(d.D.Provider,{value:he},a().createElement("div",{className:"mb-2"},!Le.showFloatingPlayer&&a().createElement(i.t0,{node:Le.portalNode}),a().createElement("div",{className:Le.showFloatingPlayer?"":"d-none"},a().createElement(ce.m,{video:O}))),a().createElement("div",{className:"".concat(Ae||Se?"mb-3":"mb-2"," position-relative"),ref:z},a().createElement("div",{className:"d-inline-block",ref:B},!!O.series&&a().createElement(K.M,{video:O,appLink:De.getSeriesAppLink(O.series),className:"".concat("SaFrA"," text-truncate mw-100"),analyticsOptions:{location:te.LocationContext.PlayPage}}),a().createElement("h1",{className:"h4 d-inline-block mb-2 mt-n1 mw-100 ".concat(Ae||Se?"":"mb-0 pt-2")},O.name)),Se&&a().createElement(F.c,{className:"QHYXF"},a().createElement(D.C,{type:D.g.Rating,data:O.rating}),a().createElement(D.C,{type:D.g.ProductionYear,data:O.productionYear}),!!(null==Ue?void 0:Ue.length)&&a().createElement(D.C,{type:D.g.Resources,data:[].concat(pe(null!==(S=null===(k=O.resources)||void 0===k?void 0:k.data)&&void 0!==S?S:[]),pe(null!==(N=null===(A=O.links)||void 0===A?void 0:A.data)&&void 0!==N?N:[]))})),(null===(x=e.currentUser)||void 0===x?void 0:x.isAuthenticated)&&e.hasProduct(ee.x.Primary)&&a().createElement("div",{className:"ml-2 ".concat("YpwOS"," ").concat(V?"c0fZQ":"")},a().createElement(m.e,{actions:Fe(O),actionsDropdownClassName:"btn btn-outline-dark"}))),"v@g"===Pe.view&&a().createElement($,{theme:U,video:O,pointsOfInterest:e.pointsOfInterest,hasGlanceData:W,hasDetails:Ne,onClickShowDescription:function(){return Te({view:"details",referrer:"v@g"})},onClickShowCurriculumLinks:function(){return Te({view:"curriculumLinks",referrer:"v@g"})},hasCurriculumLinks:!!e.curriculums.customerHasCurriculumLinks,setStartTime:function(e){return we("startTime",e)},getTagAppLink:De.getTagAppLink}),"details"===Pe.view&&a().createElement(re.X,{video:O,hasPPDD:ke,onLaunchImmersiveReader:function(){var e,t;_.current=!(null===(e=null==Le?void 0:Le.playerRef)||void 0===e?void 0:e.isPaused()),null===(t=null==Le?void 0:Le.playerRef)||void 0===t||t.pause()},onExitImmersiveReader:function(){var e;_.current&&(null===(e=null==Le?void 0:Le.playerRef)||void 0===e||e.play())},canViewGlance:W&&!Z,canViewCurriculumLinks:!!e.curriculums.customerHasCurriculumLinks&&!Z,onClickShowSynopsis:function(){return Te({view:"v@g",referrer:"details"})},onClickSeeCurriculumLinks:function(){return Te({view:"curriculumLinks",referrer:"details"})},getTagAppLink:De.getTagAppLink}),"curriculumLinks"===Pe.view&&a().createElement(P,{height:le.x,curriculums:e.curriculums,updateCurriculum:e.updateCurriculum,onClickSeeLess:function(){return Te({view:Pe.referrer,referrer:"curriculumLinks"})},emptyStateUrl:se.W.EmptyStates.CURRICULUM_LINKS}),!!(null==Ue?void 0:Ue.length)&&a().createElement("div",{className:"mx-n1"},a().createElement(v.kM,{name:ye("resources",{count:Ue.length}),contents:p.z.Resources,collection:Ue,prefetched:!0,childComponent:T.R,extraChildComponentProps:{imageCdnUrl:j,imageErrorFallbackUrl:se.W.Fallbacks.RESOURCE_THUMBNAIL},getChildAppLink:function(e){return{application:ie.O.DEFAULT,action:ae.e.Default.PREVIEW_PDF,args:[e.id]}},analyticsData:{widgetId:"resources"}})),!!(null===(w=null===(L=O.interactives)||void 0===L?void 0:L.data)||void 0===w?void 0:w.length)&&!Oe()&&a().createElement("div",{className:"mx-n1"},a().createElement(v.kM,{name:ye("interactives",{count:O.interactives.data.length}),contents:p.z.Interactives,collection:O.interactives.data,prefetched:!0,getChildAppLink:function(e){return{application:ie.O.INTERACTIVES,action:ae.e.Interactives.VIEW_INTERACTIVE,args:[e.id,c.m.slugify(e.name)]}},childComponent:f.K,extraChildComponentProps:{video:O,questionsAppLink:{application:ie.O.INTERACTIVES,action:ae.e.Interactives.PREVIEW_QUESTIONS},imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"interactives"}})),!!(null===(R=null===(I=O.clips)||void 0===I?void 0:I.data)||void 0===R?void 0:R.length)&&!Oe()&&a().createElement("div",{className:"mx-n1"},a().createElement(v.kM,{name:ye("clips",{count:O.clips.data.length}),contents:p.z.Clips,collection:O.clips.data,prefetched:!0,getChildAppLink:function(e){return{application:ie.O.DEFAULT,action:ae.e.Default.PLAY_CLIP,args:[e.id,c.m.slugify(e.name)]}},childComponent:g.C,extraChildComponentProps:{video:O,imageCdnUrl:e.imageCdnUrl},analyticsData:{widgetId:"clips"}})),a().createElement(de.Z,{currentVideo:O,relatedVideos:e.relatedVideos,currentUser:e.currentUser,setFavourite:e.setFavourite,getVideoAppLink:function(t){return me.W.getAppLink(t,{context:Le.context,contextId:Le.contextId,playNext:e.playNext,shareId:e.shareId})}}))}},99719:(e,t,n)=>{n.d(t,{X:()=>E});var r=n(1024),a=n(54976),i=n.n(a),o=n(23481),l=n(28400),c=n(83345),u=n(65858),s=n(91743),d=n(11607),m=n(25723),v=n(11025),p=n(90102);var f="shared.videoDetails",g=o.T.encloseNamespace(f);function h(e){var t=e.label,n=e.items,a=e.className;if(!(n&&n.data&&n.data.length))return r.createElement(r.Fragment,null);var i=n.data.map((function(e){return e.name})).join(", ");return r.createElement("div",{className:a},t,": ",i)}function y(e){var t,n,a,i,o,l,u,d,m,p,f=e.video;return v.M.isVideo(f)?r.createElement("div",{className:f.description?"col-md-5 pl-md-3 pt-3 pt-md-0":"col-12"},r.createElement("h2",{className:"h6 mb-1"},r.createElement(c.x,{phrase:"details"})),e.hasPPDD&&v.M.isVideo(e.video)&&r.createElement("div",{className:"pb-2"},r.createElement(h,{label:g("productionCompanies",{smartCount:null===(n=null===(t=f.productionCompanies)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length}),items:f.productionCompanies}),r.createElement(h,{label:g("distributors",{smartCount:null===(i=null===(a=f.distributors)||void 0===a?void 0:a.data)||void 0===i?void 0:i.length}),items:f.distributors}),r.createElement(h,{label:g("producers",{smartCount:null===(l=null===(o=f.producers)||void 0===o?void 0:o.data)||void 0===l?void 0:l.length}),items:f.producers}),r.createElement(h,{label:g("directors",{smartCount:null===(d=null===(u=f.directors)||void 0===u?void 0:u.data)||void 0===d?void 0:d.length}),items:f.directors})),!!(null===(p=null===(m=f.tags)||void 0===m?void 0:m.data)||void 0===p?void 0:p.length)&&r.createElement(s.P,{tags:f.tags.data,getAppLink:e.getTagAppLink})):r.createElement(r.Fragment,null)}function E(e){var t,n,a=e.video,o=e.maxHeight,s=void 0===o?p.x:o,g=!!e.video.description,h=e.hasPPDD||v.M.isVideo(e.video)&&!!(null===(n=null===(t=e.video.tags)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length);return g||h?r.createElement(c.D.Provider,{value:f},r.createElement("div",{className:"rounded border p-3 mb-3 position-relative"},r.createElement(i(),{autoHeight:!0,autoHeightMax:s},r.createElement("div",{className:"row no-gutters"},g&&r.createElement("div",{className:h?"".concat("uotsN"," pr-3 col-md-7"):"col-12"},r.createElement("div",{className:"d-flex align-items-center"},r.createElement("h2",{className:"h6 mb-1"},r.createElement(c.x,{phrase:"description"})),r.createElement(m.m,{text:a.description,title:a.name,className:"pl-2",onLaunch:e.onLaunchImmersiveReader,onExit:e.onExitImmersiveReader,analyticsOptions:{location:u.LocationContext.PlayPage,entity:u.EntityType.Video,actionType:u.UserAction.Click,descriptor:u.ClickDescriptor.LaunchImmersiveReader},analyticsData:{id:a.id,type:"description"}})),r.createElement("p",{className:"mb-0",dangerouslySetInnerHTML:{__html:l.m.linkifyText(e.video.description)}}),e.canViewCurriculumLinks&&r.createElement(d.L,{onClick:e.onClickSeeCurriculumLinks,className:"cursor-pointer d-inline-block font-weight-500 text-info mt-2"},r.createElement(c.x,{namespace:f,phrase:"seeCurriculumLinks"}))),h&&r.createElement(y,Object.assign({},e)))),e.canViewGlance&&r.createElement("button",{type:"button",className:"close ".concat("j5mgW"),"aria-label":"Close",onClick:e.onClickShowSynopsis},r.createElement("span",{"aria-hidden":"true"},"×")))):r.createElement(r.Fragment,null)}},90102:(e,t,n)=>{n.d(t,{x:()=>r});var r=368},49948:(e,t,n)=>{n.d(t,{l:()=>s});var r=n(58566),a=n(20354),i=n(3010),o=n(45719),l=n(1575),c=n(22902),u=n(16714);function s(e){var t=(0,r.useDispatch)(),n=(0,c.T)().hasPermissions;function s(t){return l.R.pointsOfInterest(e,t)}n(u.C.StudentExperience)&&(e=null),(0,i.i)(!!e&&s,!!e&&function(e){a.a.getFetch(t)(s(e))});var d=(0,o.P)(!!e&&function(e){return s(e).key});return n(u.C.StudentExperience)?o.F:d}},50456:(e,t,n)=>{n.d(t,{l:()=>c});var r=n(1024),a=n(2948),i=n(86702),o=n(22490);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){var c,u,s=(c=(0,a.D)(i.y.WEB_PLAYER_DATA),u=2,function(e){if(Array.isArray(e))return e}(c)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,i=[],o=!0,l=!1;try{for(n=n.call(e);!(o=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);o=!0);}catch(e){l=!0,a=e}finally{try{o||null==n.return||n.return()}finally{if(l)throw a}}return i}}(c,u)||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}}(c,u)||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.")}())[1];(0,r.useEffect)((function(){if(null==e?void 0:e.id)return t.playNext&&s("playNext",!0),s("nextVideo",e),s("nextVideoAppLink",function(e){return o.W.getAppLink(e,{context:t.context,contextId:t.contextId,playNext:t.playNext,shareId:n})}(e)),function(){s("playNext",!1),s("nextVideo",null),s("nextVideoAppLink",null)}}),[t,e])}},91807:(e,t,n)=>{n.d(t,{Z:()=>r});const r={tagList:"Zw6d9",disabled:"jlL1c",partialTag:"too_N",badge:"OjtN8",close:"X9joI"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[3174],{37967:(e,t,a)=>{a.d(t,{t:()=>d});var r=a(1024),n=a.n(r),s=a(83345),c=a(58130),l=a(83914),o=a(74472),i=a(9494),u=a(23481),m="userManager.userList";function d(e){var t,a=e.user,r=e.currentUser;return n().createElement("div",{className:"d-flex flex-column justify-content-center mr-auto w-100"},n().createElement("div",{className:"pb-1 d-flex align-items-center"},n().createElement("div",{className:"d-flex ".concat(i.Z.name)},!!a.name&&n().createElement("h2",{className:"h5 m-0 mr-1 d-inline-block align-middle text-truncate",title:"".concat(a.name," ").concat(a.surname||"")},a.name," ",a.surname||""),a.username&&n().createElement("p",{className:"m-0 d-inline-block align-middle"},"(",a.username,")")),n().createElement(o.b,{user:a,currentUser:r,className:"ml-2"})),n().createElement("div",{className:"d-flex"},!!(null===(t=a.metadata)||void 0===t?void 0:t.isEmailVerified)&&n().createElement(l.x,{className:"svg-container text-secondary ml-n1 ".concat(i.Z.verifiedEmail),svgName:c.vn.CheckCircle,title:u.T.getPhrase(m,"emailVerified"),tooltipSpanHack:!0,tooltipPlacement:"top"}),n().createElement("p",{className:"text-truncate"},a.email?a.email:n().createElement("span",{className:"text-muted font-italic"},n().createElement(s.x,{namespace:m,phrase:"noEmail"})))))}},85402:(e,t,a)=>{a.d(t,{H:()=>u});var r=a(1024),n=a.n(r),s=a(75896),c=a(23481),l=a(76881),o=a(86613),i=a(9494);function u(e){var t=function(e){var t,a,r;return e.userType===l.Y.Learner?(null===(t=e.user.masterYearGroup)||void 0===t?void 0:t.name)?e.user.masterYearGroup.name:(null===(r=null===(a=e.user.yearGroups)||void 0===a?void 0:a.data)||void 0===r?void 0:r.length)?s.m.first(e.user.yearGroups.data).name:null:e.userType===l.Y.Staff?e.user.role!==o.i.Admin?null:c.T.getPhrase("userManager.userList","admin"):void 0}(e);return t?n().createElement("span",{className:"".concat(i.Z.pillContainer," mr-3 text-right")},n().createElement("span",{className:"rounded-pill px-2 text-nowrap bg-white border border-dark"},t)):n().createElement(n().Fragment,null)}},76314:(e,t,a)=>{a.d(t,{u:()=>o});var r=a(1024),n=a.n(r),s=a(20789),c=a(55452),l=a(9494);function o(e){var t;return n().createElement("div",{className:"".concat(l.Z.avatarContainer," mx-2")},n().createElement(s.q,{imageUrl:null===(t=e.user.avatar)||void 0===t?void 0:t.url,imageCdnUrl:e.imageCdnUrl,initials:c.l.getInitials(e.user.name,e.user.surname)}))}},74472:(e,t,a)=>{a.d(t,{b:()=>m});var r=a(1024),n=a.n(r),s=a(23481),c=a(40424),l=a(36532),o=a(83345),i=a(9494),u="userManager.userList";function m(e){var t,a,r,m;return n().createElement(n().Fragment,null,e.user.status===c.w.Disabled&&n().createElement("div",{className:"text-white px-1 ".concat(i.Z.badge," bg-danger ").concat(null!==(t=e.className)&&void 0!==t?t:"")},n().createElement(o.x,{namespace:u,phrase:"deactivated"})),e.user.status===c.w.Inactive&&n().createElement("div",{className:"text-white px-1 ".concat(i.Z.badge," ").concat(i.Z.pending," ").concat(null!==(a=e.className)&&void 0!==a?a:"")},n().createElement(l.u,{title:s.T.getPhrase(u,"pendingTooltip"),spanHack:!0},n().createElement(o.x,{namespace:u,phrase:"pending"}))),e.user.id==(null===(r=e.currentUser)||void 0===r?void 0:r.id)&&n().createElement("div",{className:"text-white px-1 ".concat(i.Z.badge," bg-info ").concat(null!==(m=e.className)&&void 0!==m?m:"")},n().createElement(o.x,{namespace:u,phrase:"thatsYou"})))}},89325:(e,t,a)=>{a.d(t,{q:()=>L});var r,n=a(1024),s=a.n(n),c=a(58566),l=a(20354),o=a(89476),i=a(38389),u=a(58739),m=a(55452),d=a(63936);!function(e){e[e.All=0]="All",e[e.NoAction=1]="NoAction",e[e.Succeed=2]="Succeed",e[e.Failed=3]="Failed"}(r||(r={}));var p=a(76881),f=a(83345);function g(e){var t=e.childComponent;return s().createElement("ul",{className:"m-0 list-unstyled striped-list"},e.objects.map((function(a){return s().createElement(t,{key:a.id,object:a,objectType:e.objectType})})))}var v=a(4594),E=a(2550),b=a(85402),h=a(37967),y=a(76314);function C(e){return s().createElement("li",{className:"d-flex align-items-center p-2"},s().createElement(y.u,{user:e.user,imageCdnUrl:e.imageCdnUrl}),s().createElement(h.t,{user:e.user,currentUser:e.currentUser}),s().createElement(b.H,{userType:e.userType,user:e.user}),s().createElement("p",{className:"mb-0 mx-2 text-danger"},e.errorMessage))}function j(e){var t;return(null===(t=e.erroredObjects)||void 0===t?void 0:t.length)?s().createElement(f.D.Provider,{value:"userManager.wizardCompletedWithError"},s().createElement("div",{className:"pb-3"},s().createElement("div",{className:"d-flex justify-content-between"},s().createElement("div",null,s().createElement("h2",{className:"h4 mb-3"},s().createElement(f.x,{phrase:"Create"===e.actionVerb?"headingCreate":"headingAction"})),s().createElement("p",null,s().createElement(f.x,{phrase:e.objectType===v.E.User?"Create"===e.actionVerb?e.userType===p.Y.Learner?"totalCreatedStudents":"totalCreatedStaff":e.userType===p.Y.Learner?"totalActionedStudents":"totalActionedStaff":e.objectType===v.E.Video?"totalActionedVideos":"totalActionedItems",options:{totalUpdated:e.totalObjects-e.totalErroredResults,totalObjects:e.totalObjects}})))),s().createElement("p",{className:"font-weight-500"},s().createElement(f.x,{phrase:"Create"===e.actionVerb?"unsuccessfulCreations":"unsuccessfulActions",options:{smartCount:e.totalErroredResults}})),s().createElement(g,{objects:e.erroredObjects,objectType:e.objectType,childComponent:function(t){if(e.objectType===v.E.User&&e.userType){var a=t.object;return s().createElement(C,Object.assign({},t,{user:a,userType:e.userType,imageCdnUrl:e.imageCdnUrl,errorMessage:E.b.getUserErrorMessage(a.errorCode),currentUser:e.currentUser}))}}}))):s().createElement(s().Fragment,null)}var x=a(99910),N=a(5266);var U="userManager.wizardFailed";function A(e){var t=N.o.getSupportRequestUrl(e.supportSiteUrl,e.countryCode);return s().createElement("div",{className:"d-flex flex-column align-items-center"},s().createElement("div",{className:"".concat("Gjry1"," text-center py-4")},s().createElement("img",{className:"img-fluid",src:e.failedImageUrl})),s().createElement("h2",{className:"h3"},s().createElement(f.x,{namespace:U,phrase:"heading"})),s().createElement("p",{className:"mb-0"},s().createElement(f.x,{namespace:U,phrase:"Create"===e.actionVerb?"failedCreate":"failedAction"})),!!t&&s().createElement("p",null,s().createElement(f.x,{namespace:U,phrase:"contactSupport",options:{href:t,linkClass:"info-link"}})),s().createElement(x.Button,{variant:"outline-dark",onClick:e.onClickTryAgain},s().createElement(f.x,{namespace:U,phrase:"tryAgain"})))}var k=a(8493);var T="userManager.wizardSucceeded";function w(e){return s().createElement("div",{className:"d-flex flex-column align-items-center"},s().createElement("div",{className:"".concat("picjj"," text-center pt-4 pb-2")},s().createElement("img",{className:"img-fluid",src:e.successImageUrl})),s().createElement("h2",{className:"h3"},s().createElement(f.x,{namespace:T,phrase:"success"})),s().createElement("p",{className:"text-center",dangerouslySetInnerHTML:{__html:e.message}}),s().createElement(k.F,{className:"btn btn-dark",appLink:e.finishAppLink,onClick:e.onFinish},s().createElement(f.x,{namespace:T,phrase:"finish"})))}var S=a(49985),F=a(65858),O=a(12458);function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,r=new Array(t);a<t;a++)r[a]=e[a];return r}function L(e){var t,a,n,p=(0,c.useDispatch)(),f=function(e,t){var a,n=(0,c.useDispatch)(),s=function(a){return t(e,r.Failed,a)},o=(0,d.K)(s,(function(e){return l.a.getFetch(n)(s(e))})),i=o.items,u=o.isFetching,p=null!==(a=null==i?void 0:i.map((function(e){return!e.objectData&&e.metadata&&"firstname"in e.metadata?{name:e.metadata.firstname,surname:e.metadata.surname,userType:m.l.getUserType(e.metadata),username:e.metadata.username,errorCode:e.status}:Object.assign(Object.assign({},e.objectData),{errorCode:e.status})})))&&void 0!==a?a:[];return{isFetching:u,objects:p,count:p.length}}(e.job.id,e.getResultsRequest),g=(0,o.f)(),v=(a=s().useState(!1),n=2,function(e){if(Array.isArray(e))return e}(a)||function(e,t){var a=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var r,n,s=[],c=!0,l=!1;try{for(a=a.call(e);!(c=(r=a.next()).done)&&(s.push(r.value),!t||s.length!==t);c=!0);}catch(e){l=!0,n=e}finally{try{c||null==a.return||a.return()}finally{if(l)throw n}}return s}}(a,n)||function(e,t){if(e){if("string"==typeof e)return I(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)?I(e,t):void 0}}(a,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.")}()),E=v[0],b=v[1];return s().useEffect((function(){e.job.type===i.m.RolloverYearGroup&&p({type:l.a.Actions.INVALIDATE,keys:["year:group:rollover:status"],request:null})}),[e.job.type]),s().useEffect((function(){var t;if(!e.preventLoggingAnalytics&&!E){b(!0);var a=Object.assign(Object.assign({},null!==(t=e.analyticsData)&&void 0!==t?t:{}),{id:e.job.id,userCount:e.summary.totalProcessed,totalSucceeded:e.summary.totalSucceeded,totalErrored:e.summary.totalErrored,totalNoAction:e.summary.totalNoAction}),r=O.I.getJobStatus(e.job.status);r&&(a.status=r);var n={workflowPhase:F.WorkflowPhase.Complete};e.analyticsOptions&&(n=S.k.mergeOptions(e.analyticsOptions,n)),S.k.logUserAction(a,n)}}),[e.preventLoggingAnalytics,E]),s().useEffect((function(){g.unlock(e.navLockId)}),[]),e.job.status===u.K.Completed?s().createElement(w,{message:e.actionSucceededMessage,successImageUrl:e.successImageUrl,actionVerb:e.actionVerb,finishAppLink:e.finishAppLink,onFinish:e.onFinish}):e.job.status===u.K.CompletedWithError?s().createElement(j,{erroredObjects:f.objects,totalObjects:e.objectCount,totalErroredResults:f.count,userType:null==e?void 0:e.userType,currentUser:e.currentUser,imageCdnUrl:e.imageCdnUrl,actionVerb:e.actionVerb,objectType:e.objectType}):s().createElement(A,{onClickTryAgain:e.onClickTryAgain,countryCode:null===(t=e.currentUser)||void 0===t?void 0:t.countryCode,supportSiteUrl:e.supportSiteUrl,failedImageUrl:e.failedImageUrl,actionVerb:e.actionVerb})}},94644:(e,t,a)=>{a.d(t,{r:()=>u});var r=a(81886),n=a(50242),s=a(67058),c=a(49075),l=a(14553),o=a(49267),i={notFound:s.d,forbidden:{rating:l.q,yearLevel:l.q,region:o.a,privacy:l.q},badRequest:c._};function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e){var s;s="number"==typeof e?e:e.status;var c=Object.assign(Object.assign({},i),t);s&&r.Q.ErrorHelper.isStatusCodeError(s)&&(s!==n.o.NotFound?s!==n.o.Forbidden?a.badRequest||r.Q.ErrorHelper.throw(new c.badRequest):a.forbidden||r.Q.ErrorHelper.throw(new c.forbidden.privacy):a.notFound||r.Q.ErrorHelper.throw(new c.notFound))}}},91286:(e,t,a)=>{a.d(t,{v:()=>c});var r=a(1024),n=a(94644);function s(e){return e.map((function(e){return e.statusCode})).join(":")}function c(e,t,a){var c=Array.isArray(e)?e:[e];(0,r.useEffect)((function(){c.forEach((function(e){(0,n.r)(e.statusCode,t,a)}))}),[s(c),t,a])}},9494:(e,t,a)=>{a.d(t,{Z:()=>r});const r={badge:"GVXVU",pending:"R6_hs",name:"ovYAQ",lastActiveContainer:"gF_E3",isCurrentUser:"uSr3J",pillContainer:"wxGud",avatarContainer:"_1rRs",authMethodLogo:"CxZp8",verifiedEmail:"zIn8J",authMethodContainer:"c3jfe"}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_lite=self.webpackChunk_clickview_lite||[]).push([[3286],{82780:(e,t,n)=>{n.d(t,{m:()=>m});var a=n(1024),r=n.n(a),l=n(23481),o=n(83657),i=n(58130),c=n(37967),s=n(85402),u=n(76314);function m(e){return r().createElement("li",{className:"d-flex align-items-center p-2"},r().createElement(u.u,{user:e.user,imageCdnUrl:e.imageCdnUrl}),r().createElement(c.t,{user:e.user}),r().createElement(s.H,{userType:e.userType,user:e.user}),e.onClickRemoveUser&&r().createElement(o.e,{actions:[{svgName:i.vn.Close,className:"btn btn-link svg-container",tooltip:l.T.getPhrase("userManager.bulkUserActionsUserItem","removeUser"),onClick:function(){return e.onClickRemoveUser(e.user)},button:!0}]}))}},37967:(e,t,n)=>{n.d(t,{t:()=>d});var a=n(1024),r=n.n(a),l=n(83345),o=n(58130),i=n(83914),c=n(74472),s=n(9494),u=n(23481),m="userManager.userList";function d(e){var t,n=e.user,a=e.currentUser;return r().createElement("div",{className:"d-flex flex-column justify-content-center mr-auto w-100"},r().createElement("div",{className:"pb-1 d-flex align-items-center"},r().createElement("div",{className:"d-flex ".concat(s.Z.name)},!!n.name&&r().createElement("h2",{className:"h5 m-0 mr-1 d-inline-block align-middle text-truncate",title:"".concat(n.name," ").concat(n.surname||"")},n.name," ",n.surname||""),n.username&&r().createElement("p",{className:"m-0 d-inline-block align-middle"},"(",n.username,")")),r().createElement(c.b,{user:n,currentUser:a,className:"ml-2"})),r().createElement("div",{className:"d-flex"},!!(null===(t=n.metadata)||void 0===t?void 0:t.isEmailVerified)&&r().createElement(i.x,{className:"svg-container text-secondary ml-n1 ".concat(s.Z.verifiedEmail),svgName:o.vn.CheckCircle,title:u.T.getPhrase(m,"emailVerified"),tooltipSpanHack:!0,tooltipPlacement:"top"}),r().createElement("p",{className:"text-truncate"},n.email?n.email:r().createElement("span",{className:"text-muted font-italic"},r().createElement(l.x,{namespace:m,phrase:"noEmail"})))))}},85402:(e,t,n)=>{n.d(t,{H:()=>u});var a=n(1024),r=n.n(a),l=n(75896),o=n(23481),i=n(76881),c=n(86613),s=n(9494);function u(e){var t=function(e){var t,n,a;return e.userType===i.Y.Learner?(null===(t=e.user.masterYearGroup)||void 0===t?void 0:t.name)?e.user.masterYearGroup.name:(null===(a=null===(n=e.user.yearGroups)||void 0===n?void 0:n.data)||void 0===a?void 0:a.length)?l.m.first(e.user.yearGroups.data).name:null:e.userType===i.Y.Staff?e.user.role!==c.i.Admin?null:o.T.getPhrase("userManager.userList","admin"):void 0}(e);return t?r().createElement("span",{className:"".concat(s.Z.pillContainer," mr-3 text-right")},r().createElement("span",{className:"rounded-pill px-2 text-nowrap bg-white border border-dark"},t)):r().createElement(r().Fragment,null)}},76314:(e,t,n)=>{n.d(t,{u:()=>c});var a=n(1024),r=n.n(a),l=n(20789),o=n(55452),i=n(9494);function c(e){var t;return r().createElement("div",{className:"".concat(i.Z.avatarContainer," mx-2")},r().createElement(l.q,{imageUrl:null===(t=e.user.avatar)||void 0===t?void 0:t.url,imageCdnUrl:e.imageCdnUrl,initials:o.l.getInitials(e.user.name,e.user.surname)}))}},74472:(e,t,n)=>{n.d(t,{b:()=>m});var a=n(1024),r=n.n(a),l=n(23481),o=n(40424),i=n(36532),c=n(83345),s=n(9494),u="userManager.userList";function m(e){var t,n,a,m;return r().createElement(r().Fragment,null,e.user.status===o.w.Disabled&&r().createElement("div",{className:"text-white px-1 ".concat(s.Z.badge," bg-danger ").concat(null!==(t=e.className)&&void 0!==t?t:"")},r().createElement(c.x,{namespace:u,phrase:"deactivated"})),e.user.status===o.w.Inactive&&r().createElement("div",{className:"text-white px-1 ".concat(s.Z.badge," ").concat(s.Z.pending," ").concat(null!==(n=e.className)&&void 0!==n?n:"")},r().createElement(i.u,{title:l.T.getPhrase(u,"pendingTooltip"),spanHack:!0},r().createElement(c.x,{namespace:u,phrase:"pending"}))),e.user.id==(null===(a=e.currentUser)||void 0===a?void 0:a.id)&&r().createElement("div",{className:"text-white px-1 ".concat(s.Z.badge," bg-info ").concat(null!==(m=e.className)&&void 0!==m?m:"")},r().createElement(c.x,{namespace:u,phrase:"thatsYou"})))}},83657:(e,t,n)=>{n.d(t,{e:()=>s});var a=n(1024),r=n(79014),l=n(10874),o=n(36532),i=n(86509),c=n(42735);function s(e){var t=a.useMemo((function(){return e.actions.sort((function(e,t){return e.order-t.order}))}),[e.actions]),n=[],s=[];t.forEach((function(e){e.button?n.push(e):s.push(e)}));var u="d-flex";return e.className&&(u+=" ".concat(e.className)),n.length||s.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(c.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(l.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(o.u,{title:e.tooltip,spanHack:!0},n):n}())})):a.createElement(a.Fragment,null),e.sortComponent&&e.sortComponent,s.length?a.createElement(i.m,{actions:s,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),l=n(45157),o=n(79014),i=n(49985),c=n(83914),s=n(8493),u=n(36532),m=n(58130);function d(e){var t="dropdown-item";return e&&(t+=" ".concat(e)),t}function p(e){var t=o.q.isFunction(e.action.label)?e.action.label:function(){return e.action.label};if(e.action.appLink)return a.createElement(s.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&&i.k.logUserAction(e.action.analyticsData,e.action.analyticsOptions),o.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(l.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(c.x,{svgName:m.vn.More,size:c.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"}},71020:(e,t,n)=>{n.d(t,{_:()=>s});var a=n(1024),r=n(99910),l=n(64038),o=n(83914),i=n(58130);function c(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 s(e){var t,n,s=(t=l.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,l=[],o=!0,i=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(l.push(a.value),!t||l.length!==t);o=!0);}catch(e){i=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(i)throw r}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return c(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)?c(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=s[0],m=s[1];return a.useEffect((function(){var t;e.fetchOnScroll&&m&&!e.isFetching&&(null===(t=e.fetchNext)||void 0===t||t.call(e,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(o.x,{svgName:i.vn.ChevronDown,className:"svg-container cursor-pointer",size:o.S.Large,onClick:function(){var t;return null===(t=e.fetchNext)||void 0===t?void 0:t.call(e,e.nextCursor)}}))}s.defaultProps={fetchOnScroll:!1}},61254:(e,t,n)=>{n.d(t,{s:()=>s});var a=n(1024),r=n.n(a),l=n(54976),o=n.n(l);function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,l=[],o=!0,i=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(l.push(a.value),!t||l.length!==t);o=!0);}catch(e){i=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(i)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(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)?c(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 c(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=r().forwardRef((function(e,t){var n=i(r().useState(0),2),a=n[0],l=n[1],c=i(r().useState(0),2),s=c[0],u=c[1],m=r().useRef(null);r().useEffect((function(){var e,t;l(null!==(t=null===(e=m.current)||void 0===e?void 0:e.clientHeight)&&void 0!==t?t:0)}),[m.current]);var d,p,f,v=e.items.length,g=Math.ceil(a/e.rowHeight),h=e.rowHeight*v,b=Math.max(0,Math.floor(s/e.rowHeight)-g),E=Math.min(v,b+3*g);return r().createElement("div",{style:(f=null!==(p=null===(d=m.current)||void 0===d?void 0:d.getBoundingClientRect().top)&&void 0!==p?p:0,{height:"calc(100vh - ".concat(window.pageYOffset+f+30,"px)"),minHeight:"".concat(5*e.rowHeight,"px"),overflow:"auto"}),ref:m},r().createElement(o(),{onScroll:function(e){u(e.currentTarget.scrollTop)},autoHeightMin:h,autoHeightMax:h,ref:t},r().createElement("div",{style:{height:h,paddingTop:b*e.rowHeight}},r().createElement("ul",{className:"w-100 position-relative d-table striped-list list-unstyled no-full-width"},!!e.staticComponentAboveRows&&e.staticComponentAboveRows,function(){for(var t=[],n=b;n<E;){var a=e.items[n];a&&t.push(e.getComponent(a,n)),n++}return t}(),!!e.staticComponentBelowRows&&e.staticComponentBelowRows))))}))},9494:(e,t,n)=>{n.d(t,{Z:()=>a});const a={badge:"GVXVU",pending:"R6_hs",name:"ovYAQ",lastActiveContainer:"gF_E3",isCurrentUser:"uSr3J",pillContainer:"wxGud",avatarContainer:"_1rRs",authMethodLogo:"CxZp8",verifiedEmail:"zIn8J",authMethodContainer:"c3jfe"}}}]);