@clickview/curator 1.101.0-rc.4 → 1.101.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +475 -475
- package/dist/Assets/js/dist/scripts/{Bs1Y6-vh.chunk.js → -OUl3n-W.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{Bs1Y6-vh.chunk.js.map → -OUl3n-W.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/5FGdlWcH.chunk.js +9 -0
- package/dist/Assets/js/dist/scripts/5FGdlWcH.chunk.js.map +1 -0
- package/dist/Assets/js/dist/scripts/B0UOCPE6.chunk.js +2 -0
- package/dist/Assets/js/dist/scripts/{r-zw-56e.chunk.js.map → B0UOCPE6.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{Ds6WvphR2.chunk.js → BD2aIccu2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{Ds6WvphR2.chunk.js.map → BD2aIccu2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{BwpzKPd12.chunk.js → BJJeLngO2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{BwpzKPd12.chunk.js.map → BJJeLngO2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{CaG8Cjey2.chunk.js → BKQIzKcF2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CaG8Cjey2.chunk.js.map → BKQIzKcF2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{BEw27Jf3.chunk.js → BOrAaHLK.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{BEw27Jf3.chunk.js.map → BOrAaHLK.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/BSMzg7zU.chunk.js.map +1 -1
- package/dist/Assets/js/dist/scripts/{CO69n5GB2.chunk.js → BUWsFXQp2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CO69n5GB2.chunk.js.map → BUWsFXQp2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{BZU4ADoQ2.chunk.js → C1xOGHlL2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{BZU4ADoQ2.chunk.js.map → C1xOGHlL2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{CbaobIxf2.chunk.js → CAo_C8em2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CbaobIxf2.chunk.js.map → CAo_C8em2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{D_e7ctVq.chunk.js → COH92JF5.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{D_e7ctVq.chunk.js.map → COH92JF5.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{CJpr073K.chunk.js → CR-5nCWm.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CJpr073K.chunk.js.map → CR-5nCWm.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{CqhZ98rZ2.chunk.js → CW1ea_Kx2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CqhZ98rZ2.chunk.js.map → CW1ea_Kx2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{DPA1azNU2.chunk.js → Cbwl04yH2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{DPA1azNU2.chunk.js.map → Cbwl04yH2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{DsHVJvUP.chunk.js → CpqMUVVi.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{DsHVJvUP.chunk.js.map → CpqMUVVi.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{I_gdFDV7.chunk.js → CqZqlJSF.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{I_gdFDV7.chunk.js.map → CqZqlJSF.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{CofA9RRF.chunk.js → CzCUe0Ej.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CofA9RRF.chunk.js.map → CzCUe0Ej.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{DhN_Jc2z.chunk.js → DTUkmChD.chunk.js} +3 -3
- package/dist/Assets/js/dist/scripts/{DhN_Jc2z.chunk.js.map → DTUkmChD.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{C8YkY0we.chunk.js → DW7-la-i.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{C8YkY0we.chunk.js.map → DW7-la-i.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{ecehd0o7.chunk.js → Dhnl-PB5.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{ecehd0o7.chunk.js.map → Dhnl-PB5.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{jdQzplq1.chunk.js → DuU4GBw5.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{jdQzplq1.chunk.js.map → DuU4GBw5.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{CvMpxc4j2.chunk.js → LmwQmHZz2.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{CvMpxc4j2.chunk.js.map → LmwQmHZz2.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{app-D2seXuq-.js → app-DHtN6XkT.js} +3 -3
- package/dist/Assets/js/dist/scripts/{app-D2seXuq-.js.map → app-DHtN6XkT.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{DUsXdKYh.chunk.js → eKSK4iyn.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{DUsXdKYh.chunk.js.map → eKSK4iyn.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{BdXsbiX1.chunk.js → esASf9N4.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/{BdXsbiX1.chunk.js.map → esASf9N4.chunk.js.map} +1 -1
- package/dist/Assets/js/dist/scripts/{De-ohgjE.chunk.js → x1pOfdJd.chunk.js} +2 -2
- package/dist/Assets/js/dist/scripts/x1pOfdJd.chunk.js.map +1 -0
- package/dist/bundles.json +1 -1
- package/dist/en.json +1 -1
- package/package.json +1 -1
- package/dist/Assets/js/dist/scripts/C7Rwn3_U.chunk.js +0 -9
- package/dist/Assets/js/dist/scripts/C7Rwn3_U.chunk.js.map +0 -1
- package/dist/Assets/js/dist/scripts/De-ohgjE.chunk.js.map +0 -1
- package/dist/Assets/js/dist/scripts/r-zw-56e.chunk.js +0 -2
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import{C as e,a as t,ln as n,r,t as i,w as a}from"./BlDu0qdC.chunk.js";import{C as o,a as s,c,n as l,o as u,r as d,t as f}from"./DqUkhPat.chunk.js";import{t as p}from"./DZX1tZ-D.chunk.js";import{t as m}from"./BdvdGLvp.chunk.js";import{i as h,r as g,t as _}from"./BSMzg7zU.chunk.js";import{r as v}from"./BKtR2N4K.chunk.js";import{t as ee}from"./KLWkJde4.chunk.js";import{t as te}from"./3UqFnJa82.chunk.js";import{t as y}from"./DBHDBu1Y2.chunk.js";import{i as b}from"./EkUBWhps2.chunk.js";import{G as x,H as ne,P as S,Q as C,at as w,ct as re,it as ie,q as T,t as E,z as ae}from"./BjSaXG862.chunk.js";import{t as D}from"./CgYigCRf2.chunk.js";import{t as oe}from"./lFyCTjyz2.chunk.js";import{t as se}from"./CqHn10iN2.chunk.js";import{t as ce}from"./Dky2FRAZ.chunk.js";import{r as O}from"./BJlEATFT.chunk.js";import{t as k}from"./BLHfvXwA.chunk.js";import{t as A}from"./DalFHGv7.chunk.js";import{t as j}from"./jjwEJLK1.chunk.js";import{n as M}from"./D_lHfDx8.chunk.js";import{t as le}from"./DOntBv0G.chunk.js";import{t as ue}from"./BTb2nBdW.chunk.js";import{n as de,t as N}from"./DX5LfwTl.chunk.js";import{t as P}from"./CVHQXNzi.chunk.js";import{n as F,t as I}from"./DyKk_C_Y.chunk.js";import{n as fe}from"./CzALYUiA.chunk.js";import{t as pe}from"./_2D0GS5_.chunk.js";import{t as me}from"./DHTrrgeY2.chunk.js";import{i as he,n as ge,r as _e,t as ve}from"./DgtapW9E2.chunk.js";import{n as ye,r as be,t as xe}from"./BKlFzJTS2.chunk.js";import{t as Se}from"./CVBPygL42.chunk.js";import{t as Ce}from"./BpUUlg_v2.chunk.js";import{t as we}from"./BAK-EP4E2.chunk.js";import{a as Te}from"./BSBF6lwa2.chunk.js";import{t as Ee}from"./DUXKdw7a2.chunk.js";import{t as De}from"./Byg072EM2.chunk.js";import{t as Oe}from"./j6NQVjZx2.chunk.js";import{t as ke}from"./DZgZBOIh.chunk.js";import{t as Ae}from"./BWDoQWcE.chunk.js";import{i as je,n as L,r as Me}from"./BRcHS92O.chunk.js";import{t as Ne}from"./D0eIqCPp.chunk.js";import{n as Pe,t as Fe}from"./vFGuoTfw.chunk.js";import{t as Ie}from"./BR_Ntlsv.chunk.js";import{t as R}from"./5_H2614b.chunk.js";import{t as Le}from"./BEd6epRR.chunk.js";import{t as Re}from"./DxyWWBj-.chunk.js";import{t as ze}from"./BDY-58pU.chunk.js";import{i as Be}from"./ZWXQm8ZX.chunk.js";import{t as Ve}from"./C0g24IgE.chunk.js";import{t as He}from"./BDnQ3Dqe.chunk.js";import{n as Ue,r as We,t as z}from"./DSTDOhQ_.chunk.js";import{t as Ge}from"./Dpe4Jbky2.chunk.js";import{t as Ke}from"./BlbH4bMV2.chunk.js";import{n as qe}from"./BZzcezvm2.chunk.js";import{t as Je}from"./BnoZGGK52.chunk.js";import{t as Ye}from"./CD4DR-9u.chunk.js";import{t as Xe}from"./_SkcfB2b.chunk.js";import{c as Ze,n as Qe,s as $e,t as et}from"./CHZfdgw6.chunk.js";import{t as tt}from"./CQNIee51.chunk.js";import{n as nt,r as rt,t as it}from"./B202WFzo.chunk.js";import{a as at,d as ot,f as st,i as ct,l as lt,n as ut,r as dt,t as ft,u as pt}from"./Cwfi7NWC.chunk.js";import{t as mt}from"./DlFHFcJP.chunk.js";import{n as ht,r as gt,t as _t}from"./PAh2C509.chunk.js";import"./DHnqGx1a.chunk.js";import{n as vt,t as yt}from"./YgaKpsxi.chunk.js";import{t as bt}from"./Ci-T-BSu2.chunk.js";import{t as xt}from"./k_sOfKwl2.chunk.js";import{t as St}from"./CRX0R26k2.chunk.js";import{t as Ct}from"./Cx6k8IIj2.chunk.js";import{t as wt}from"./Dxf39xUf.chunk.js";import{t as Tt}from"./CQ1yUNeq.chunk.js";import{n as Et,t as Dt}from"./BKO1diPb.chunk.js";import{n as Ot}from"./BNTF_ZQI.chunk.js";import{t as B}from"./QCFxJYkI.chunk.js";import{t as kt}from"./BYz7fUuj.chunk.js";import{t as At}from"./Cxmwufz02.chunk.js";import{t as jt}from"./UZXq6sjA2.chunk.js";import{t as V}from"./BFkT3692.chunk.js";import{t as Mt}from"./Bxa3hIWS.chunk.js";import{t as H}from"./DGio0XRk.chunk.js";import{n as Nt}from"./Bw_2JWQD.chunk.js";import{a as Pt,i as U,n as Ft,o as It,r as Lt,t as Rt}from"./MCWvRjdz2.chunk.js";import{n as zt,t as Bt}from"./BJbne5qc2.chunk.js";import{t as Vt}from"./D8Eprwv42.chunk.js";import{n as Ht,t as Ut}from"./BCj0TbyQ2.chunk.js";import{t as Wt}from"./DISxVTs42.chunk.js";import{r as Gt,t as Kt}from"./DfXSODKo.chunk.js";import{i as qt,n as Jt,r as Yt,t as Xt}from"./S6SOvGbS.chunk.js";import{t as Zt}from"./BnoyX59c.chunk.js";import{t as Qt}from"./B9wnAB2a.chunk.js";var W=function(e){return e[e.Row=0]=`Row`,e[e.LargeRow=1]=`LargeRow`,e[e.Hero=2]=`Hero`,e[e.ResourcesTile=3]=`ResourcesTile`,e}({}),$t=n(ne()),G=n(t());function en(e,t){return Array.isArray(e)?e.includes(t):e===t}var tn=G.createContext({});tn.displayName=`AccordionContext`;var K=r(),nn=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,children:r,eventKey:i,...a},o)=>{let{activeEventKey:s}=(0,G.useContext)(tn);return t=S(t,`accordion-collapse`),(0,K.jsx)(se,{ref:o,in:en(s,i),...a,className:(0,$t.default)(n,t),children:(0,K.jsx)(e,{children:G.Children.only(r)})})});nn.displayName=`AccordionCollapse`;var rn=G.createContext({eventKey:``});rn.displayName=`AccordionItemContext`;var an=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,onEnter:r,onEntering:i,onEntered:a,onExit:o,onExiting:s,onExited:c,...l},u)=>{t=S(t,`accordion-body`);let{eventKey:d}=(0,G.useContext)(rn);return(0,K.jsx)(nn,{eventKey:d,onEnter:r,onEntering:i,onEntered:a,onExit:o,onExiting:s,onExited:c,children:(0,K.jsx)(e,{ref:u,...l,className:(0,$t.default)(n,t)})})});an.displayName=`AccordionBody`;function on(e,t){let{activeEventKey:n,onSelect:r,alwaysOpen:i}=(0,G.useContext)(tn);return a=>{let o=e===n?null:e;i&&(o=Array.isArray(n)?n.includes(e)?n.filter(t=>t!==e):[...n,e]:[e]),r?.(o,a),t?.(a)}}var sn=G.forwardRef(({as:e=`button`,bsPrefix:t,className:n,onClick:r,...i},a)=>{t=S(t,`accordion-button`);let{eventKey:o}=(0,G.useContext)(rn),s=on(o,r),{activeEventKey:c}=(0,G.useContext)(tn);return e===`button`&&(i.type=`button`),(0,K.jsx)(e,{ref:a,onClick:s,...i,"aria-expanded":Array.isArray(c)?c.includes(o):o===c,className:(0,$t.default)(n,t,!en(c,o)&&`collapsed`)})});sn.displayName=`AccordionButton`;var cn=G.forwardRef(({as:e=`h2`,"aria-controls":t,bsPrefix:n,className:r,children:i,onClick:a,...o},s)=>(n=S(n,`accordion-header`),(0,K.jsx)(e,{ref:s,...o,className:(0,$t.default)(r,n),children:(0,K.jsx)(sn,{onClick:a,"aria-controls":t,children:i})})));cn.displayName=`AccordionHeader`;var ln=G.forwardRef(({as:e=`div`,bsPrefix:t,className:n,eventKey:r,...i},a)=>{t=S(t,`accordion-item`);let o=(0,G.useMemo)(()=>({eventKey:r}),[r]);return(0,K.jsx)(rn.Provider,{value:o,children:(0,K.jsx)(e,{ref:a,...i,className:(0,$t.default)(n,t)})})});ln.displayName=`AccordionItem`;var un=G.forwardRef((e,t)=>{let{as:n=`div`,activeKey:r,bsPrefix:i,className:a,onSelect:o,flush:s,alwaysOpen:c,...l}=ae(e,{activeKey:`onSelect`}),u=S(i,`accordion`),d=(0,G.useMemo)(()=>({activeEventKey:r,onSelect:o,alwaysOpen:c}),[r,o,c]);return(0,K.jsx)(tn.Provider,{value:d,children:(0,K.jsx)(n,{ref:t,...l,className:(0,$t.default)(a,u,s&&`${u}-flush`)})})});un.displayName=`Accordion`;var dn=Object.assign(un,{Button:sn,Collapse:nn,Item:ln,Header:cn,Body:an});function q(e){return e.hideDescription&&e.hideHeading?(0,K.jsx)(K.Fragment,{}):e.isPreviewing?(0,K.jsx)(H,{name:e.name,description:e.description}):(0,K.jsxs)(`div`,{className:`curated-widget-header`,children:[!e.hideHeading&&(0,K.jsx)(`div`,{className:`partial-loading-background curated-widget-heading`,style:{height:`1.5rem`,width:`12rem`}}),!e.hideDescription&&(0,K.jsx)(`div`,{className:`partial-loading-background curated-widget-description`,style:{height:`1.434375rem`,width:`16rem`}})]})}var fn=n(te());function pn(e){let t=5,n=V();return(n.sm||n.xs)&&(t=2),n.md&&(t=3),(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`d-flex flex-no-wrap`,children:Array(t).fill(null).map((e,t)=>(0,K.jsxs)(`div`,{style:{flex:1},children:[(0,K.jsx)(`div`,{style:{width:`90%`},className:`h-auto d-inline-block partial-loading-background rounded-3 ratio ratio-16x9`}),(0,K.jsx)(`div`,{style:{width:`90%`,height:`1.25rem`},className:`partial-loading-background mt-1`})]},t))})]})}var J=function(e){return e.Videos=`videos`,e.FeedVideos=`feed videos`,e.Series=`series`,e.Subjects=`subjects`,e.Playlists=`playlists`,e.Interactives=`interactives`,e.Clips=`clips`,e.PlayPageResources=`play page resources`,e.DashboardResources=`dashboard resources`,e.Libraries=`Libraries`,e.Folders=`Folders`,e.RecentActivities=`recent activities`,e.SmallSeries=`small series`,e.Companies=`companies`,e.PartnerProfiles=`partner profiles`,e.Ratings=`ratings`,e.SpecialEvents=`special events`,e.InteractivesV2=`interactives v2`,e.ClipsV2=`clips v2`,e.PlayPageResourcesV2=`playpage resources v2`,e}({});function mn(e,t,n){let r=e.collection,i;(!r||m.isEmpty(r))&&!e.prefetched&&(i=e.fetch(n),r=i.data);let a=o.isFunction(e.setData)&&r?e.setData(r):r,s=a,c=V();return G.useEffect(()=>{if(!r||m.isEmpty(r))return;e.limitTotalItems&&(s=a.length>12?a.slice(0,12):a);let n=e.type;n===W.ResourcesTile&&(n=W.Row),t({type:U.Init,payload:{totalItems:s.length,breakpoints:c,type:n,contents:e.contents}})},[a?.length]),i}function hn(e,t){let{offset:n,viewableItems:r}=e,i=n,a=[];for(let e=0;e<i+r;e++)a.push(e);return function(e){let n=t.indexOf(e);return a.includes(n)}}function gn(e,t){if(e)return{...e,args:e.args||[t.id,i.slugify(t.name)]}}function _n(e,t){let{id:n,name:r,description:i}=e,a={};return Array.isArray(t)?{id:n,name:r,description:i}:(e.id&&(a.id=n),e.name&&(a.name=r),e.description&&(a.description=i),{...t,...a})}function vn(e){switch(e){case J.Playlists:return bn;case J.Videos:return Cn;case J.RecentActivities:return wn;case J.FeedVideos:return Tn;case J.Subjects:return En;case J.InteractivesV2:return kn;case J.Interactives:return Dn;case J.ClipsV2:return An;case J.Clips:return On;case J.PlayPageResources:return jn;case J.PlayPageResourcesV2:return Mn;case J.DashboardResources:return Cn;case J.Libraries:case J.Folders:return Sn;case J.Ratings:return Fn;case J.SpecialEvents:return In;case J.Companies:return xn;case J.SmallSeries:return Pn;case J.PartnerProfiles:return yn;case J.Series:default:return Nn}}function yn(e,t,n){let r=6;return e.xs||e.sm?r=2:e.md&&(r=4),n<r&&(r=n),r}function bn(e,t,n){let r=5;return e.xs?r=2:e.sm?r=3:e.md&&(r=4),n<r&&(r=n),r}function xn(e,t,n){let r=8;return e.xs||e.sm?r=4:e.md&&(r=6),n<r&&(r=n),r}function Sn(e,t,n){let r=3;return e.xs||e.sm?r=1:e.md?r=2:e.lg&&(r=3),n<r&&(r=n),r}function Cn(e,t,n){let r=4;return e.xs&&(r=1),e.sm&&(r=2),(e.md||e.lg)&&(r=3),t===W.LargeRow&&r>3&&(r=3),n<r&&(r=n),r}function wn(e,t,n){let r=4;return e.xs&&(r=2),e.sm&&(r=3),n<r&&(r=n),r}function Tn(e,t,n){return 1}function En(e,t,n){if(t===W.LargeRow){let t=5;return e.xs?t=2:e.sm?t=3:e.md&&(t=4),n<t&&(t=n),t}let r=6;return e.xs?r=2:e.sm?r=3:e.md?r=4:e.lg?r=5:(e.xl||e.xxl)&&(r=6),n<r&&(r=n),r}function Dn(e,t,n){let r=3;return(e.md||e.sm)&&(r=2),e.xs&&(r=1),n<Math.ceil(r)&&(r=n),r}function On(e,t,n){let r=3;return(e.md||e.sm)&&(r=2),e.xs&&(r=1),n<Math.ceil(r)&&(r=n),r}function kn(e,t,n){let r=3;return e.xs&&(r=2),n<r&&(r=n),r}function An(e,t,n){let r=3;return e.xs&&(r=2),n<r&&(r=n),r}function jn(e,t,n){let r=4;return e.sm&&(r=3),e.xs&&(r=2),n<r&&(r=n),r}function Mn(e,t,n){let r=3;return e.xs&&(r=2),n<r&&(r=n),r}function Nn(e,t,n){let r=4;return e.xs?r=2:e.sm&&(r=3),n<r&&(r=n),r}function Pn(e,t,n){let r=6;return e.xs?r=2:e.sm?r=3:e.md?r=4:e.lg&&(r=5),n<r&&(r=n),r}function Fn(e,t,n){if(n<4)return n;let r=5;return(e.xs||e.sm)&&(r=3),(e.md||e.lg)&&(r=4),n===4&&(e.xs||e.sm)&&(r=3),n<r&&(r=n),r}function In(e,t,n){let r=6;return e.xs&&(r=2),e.sm&&(r=3),e.md&&(r=4),e.lg&&(r=5),(e.xl||e.xxl)&&(r=6),n<r&&(r=n),r}function Ln(e,t,n,r,i,a,o){return function(s){let c=s.touches.item(0).clientX;i||(t.current.style.transition=``,r(t.current.getBoundingClientRect().width),a(c));let l=(i-c)/n*100;(l<0&&e.offset===e.viewableItems||l>0&&e.offset===e.totalItems)&&(l=0),o(l)}}var Rn=7.5;function zn(e,t,n,r,i,a,o){return function(){e.current.style.transition=`transform .4s ease-in-out`,t(null),Math.abs(n)>=Rn&&(i({type:n>0?U.Next:U.Previous}),n>0&&a?a():n<0&&o&&o()),r(0)}}function Bn(e,t,n,r,i,a){return e||i<=r?!0:t||a?n===r:!0}function Vn(e,t,n,r,i,a,o){return e||i<=r?!0:n===r?!1:t?!a&&i<=n:!o||n===i}function Hn(e,t){G.useEffect(()=>{!e||e.current||(e.current={jumpToIndex:e=>t({type:U.JumpToIndex,payload:{offset:e+1}})})},[e?.current])}var Un={offset:0,viewableItems:4,position:0,totalItems:0,contents:null,type:W.Row},Wn=e=>{let{viewableItems:t,offset:n,position:r,totalItems:i}=e,a=i-n;return a%t===0||a>t?{position:r-100,offset:n+t}:a<t?{position:r-a/t*100,offset:n+a}:{position:r,offset:n}},Gn=e=>{let{viewableItems:t,offset:n,position:r}=e,i=n-t;return i%t===0||i>t?{position:r+100,offset:n-t}:i<t?{position:r+i/t*100,offset:n-i}:{position:r,offset:n}};function Kn(e,t){let{type:n,payload:r={}}=t;switch(n){case U.Next:return{...e,...Wn(e)};case U.Previous:return{...e,...Gn(e)};case U.JumpToIndex:return{...e,offset:r.offset,position:(r.offset-1)*-100};case U.Resize:{let t=vn(e.contents)(r.breakpoints,e.type,e.totalItems);return{...e,position:0,offset:t,viewableItems:t}}case U.Init:{let t=vn(r.contents)(r.breakpoints,r.type,r.totalItems);return qn({...e,offset:t,viewableItems:t,type:r.type,contents:r.contents,totalItems:r.totalItems,position:0})}case U.Update:return{...e,totalItems:r.totalItems};default:return e}}function qn(e){return{...Un,...e}}var Jn={rightOverflowGradient:`_rightOverflowGradient_14i04_1`,leftOverflowGradient:`_leftOverflowGradient_14i04_1`,partialItem:`_partialItem_14i04_19`,mobileScroll:`_mobileScroll_14i04_24`,widgetItemWrapper:`_widgetItemWrapper_14i04_32`};function Yn(e){let t=V();return t.xs?{itemCount:1,colSize:12}:t.sm?{itemCount:2,colSize:6}:t.md||t.lg?{itemCount:3,colSize:4}:{itemCount:e===`sm`?4:3,colSize:e===`sm`?3:4}}Xn.defaultProps={size:`sm`,childComponent:({colSize:e})=>(0,K.jsx)(`div`,{className:`col-${e} px-1`,children:(0,K.jsx)(`div`,{className:`${Jn.partialItem} partial-loading-background rounded-3`})})};function Xn(e){let{itemCount:t,colSize:n}=Yn(e.size),r=e.childComponent,i=[];for(let e=0;e<t;e++)i.push((0,K.jsx)(r,{colSize:n},e));return(0,K.jsxs)(`div`,{className:`widget`,children:[(0,K.jsx)(q,{hideHeading:e.hideHeading,hideDescription:e.hideDescription,name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`row g-0 mx-n1`,children:i})]})}var Zn=`shared.fixedWidget`;Y.defaultProps={type:W.Row,minimumItemCount:0,extraChildComponentProps:{},touchBehavior:`scroll`};function Y(t){let{analyticsData:n={},getWidgetItemAnalyticsData:r=()=>{}}=t,[i,a]=G.useState(null),[s,c]=G.useState(null),[l,u]=G.useState(0),[d,f]=G.useReducer(Kn,Un,qn),p=G.useRef(null),[m,h]=yt(),[g,v]=G.useState(!1),[ee,te]=G.useState(!1);Hn(t.controlsRef,f);let{ref:y,inView:b}=Ne({prevent:!t.lazyLoad}),x=mn(t,f,b);function ne(e){let n=t.prefetched?t.collection:x.data;return n?(o.isFunction(t.setData)?t.setData(n):n)?.slice(0,e)??[]:[]}let S=ne(t.limitTotalItems?12:1/0),C=t.trailingItems&&t.trailingItemLength?S.length+t.trailingItemLength:S.length;function w(){return t.limitTotalItems?ne(1/0).length>C:!1}let re=d.offset===C,ie=V(),{onFocusWidget:T,onBlurWidget:ae,isTabbing:D,getFixedAttributes:oe,focusNext:se,focusPrev:ce}=Pt({type:`fixed`,state:d,containerRef:p});G.useEffect(()=>{f({type:U.Resize,payload:{breakpoints:ie}})},[ie]),G.useEffect(()=>{if(!t.prefetched)return;let e=t.type;e===W.ResourcesTile&&(e=W.Row),f({type:U.Init,payload:{breakpoints:ie,type:e,contents:t.contents,totalItems:C}})},[t.collection?.length,t.prefetched]);function O(e,t){if(C===d.viewableItems){v(e),te(e);return}if(t+1===C){te(e);return}if(t===0){v(e);return}if((t+1-d.offset%d.viewableItems)%d.viewableItems===0){te(e);return}if((t-d.offset%d.viewableItems)%d.viewableItems===0){v(e);return}}function k(){return t.touchBehavior===`scroll`&&mt.isTabletOrMobile()}let A={type:d.type,collectionSize:C,contents:t.contents},M=_n(t,x?.data||t.collection);if(x?.hasError)return(0,K.jsx)(K.Fragment,{});if(!t.prefetched&&!x?.data)return(0,K.jsx)(`div`,{ref:y,children:(0,K.jsx)(t.partialComponent||Xn,{})});if(!C||C<t.minimumItemCount)return(0,K.jsx)(K.Fragment,{});let le=t.childComponent,ue=e=>({id:M?.id,name:M?.name,direction:e===U.Next?`right`:`left`,...t.analyticsData}),de=!t.appLink||!re?!1:w(),N=k()||t.hideButtons,P=d.offset===d.viewableItems,F=C<=d.offset,I=d.viewableItems<C;return(0,K.jsx)(`div`,{className:`mx-n4 mb-n3`,children:(0,K.jsxs)(`div`,{className:k()?`pb-3 overflow-hidden`:`px-4 pb-3 overflow-hidden`,children:[!t.hideName&&(0,K.jsx)(`div`,{className:k()?`px-4`:``,children:(0,K.jsx)(H,{name:M.name,description:M.description,appLink:gn(t.appLink,M),onAppLinkClick:t.onAppLinkClick,analyticsData:{id:M?.id,name:M?.name,...t.analyticsData},analyticsOptions:_.getSliderHeadingAnalyticsOptions(),showSeeMoreLink:t.showSeeMoreLink??I,content:S,isPreviewing:t.isPreviewing,widgetTypeId:t.widgetTypeId,badgeComponent:t.headingBadgeComponent,rightComponent:t.headerRightComponent,isUpselling:t.isUpselling,onClose:t.onClose,onFollow:t.onFollow,isFollowing:t.isFollowing,showFollowSpinner:t.showFollowSpinner})}),!!G.isValidElement(t.subheadingComponent)&&t.subheadingComponent,(0,K.jsxs)(`div`,{ref:m,className:`position-relative mx-n1 ${k()?`${Jn.mobileScroll} px-4`:``} ${t.hideBleedingContent?`overflow-hidden-x`:``}`,children:[!N&&(0,K.jsxs)(K.Fragment,{children:[!t.hideBleedingContent&&!g&&!P&&(0,K.jsx)(`div`,{className:Jn.leftOverflowGradient}),(0,K.jsx)(it,{direction:nt.Left,onClick:()=>{ce(),f({type:U.Previous}),E.logUserAction(ue(U.Previous),_.getSliderAnalyticsOptions()),o.isFunction(t.onPrevious)&&t.onPrevious()},hide:!!t.hideButtons||Bn(g,h,d.offset,d.viewableItems,C,D),contents:t.contents,className:t.leftWidgetButtonClassName,hideExtendedClickableArea:t.hideExtendedClickableArea,state:d})]}),(0,K.jsxs)(Bt,{position:d.position,positionType:zt.Percentage,onTouchMove:t.touchBehavior===`drag`&&Ln(d,p,s,c,i,a,u),onTouchEnd:t.touchBehavior===`drag`&&zn(p,a,l,u,f,t.onNext,t.onPrevious),ref:p,percentageDragged:l,children:[S.map((e,i)=>(0,K.jsx)(`li`,{onFocus:()=>T(i),onBlur:ae,className:Jn.widgetItemWrapper,...oe(i),children:(0,K.jsx)(le,{data:e,collectionAppLink:t.appLink,getAppLink:t.getChildAppLink?()=>t.getChildAppLink(e):()=>null,context:A,preloadImage:hn(d,S)(e),thumbnailSize:t.thumbnailSize||L.Medium,analyticsData:{widgetId:M.id,widgetName:M.name,itemIndex:i,...n,...r(e)},analyticsOptions:{...t.analyticsOptions,..._.getSliderItemAnalyticsOptions()},onHover:e=>{k()||window.setTimeout(()=>{O(e,i)},e?0:200)},...t.extraChildComponentProps})},`${e.id}:${i}`)),t.trailingItems,k()&&(0,K.jsx)(`div`,{className:`ps-4`})]}),!N&&(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(it,{direction:nt.Right,onClick:()=>{if(de){e.trigger(gn(t.appLink,M));return}se(),f({type:U.Next}),E.logUserAction(ue(U.Next),_.getSliderAnalyticsOptions()),o.isFunction(t.onNext)&&t.onNext()},hide:!!t.hideButtons||Vn(ee,h,d.offset,d.viewableItems,C,de,D),contents:t.contents,hoverText:de&&j.getPhrase(Zn,`seeMore`),className:t.rightWidgetButtonClassName,hideExtendedClickableArea:t.hideExtendedClickableArea,state:d}),!t.hideBleedingContent&&!ee&&!F&&(0,K.jsx)(`div`,{className:Jn.rightOverflowGradient})]})]})]})})}var Qn={rowWidth:`_rowWidth_1iijx_1`,largeRowWidth:`_largeRowWidth_1iijx_4`},$n=G.memo(function(e){let{data:t,context:n,thumbnailSize:r,preloadImage:i,presentationAudiences:a}=e,s=t?.subjectPresentationAudiences?.data,c=bt(s,a),l=V(),u=Qn.rowWidth;return n.type===W.LargeRow&&(u=Qn.largeRowWidth),(0,K.jsx)(`div`,{className:`px-1 flex-shrink-0 position-relative ${u}`,children:(0,K.jsx)(ft,{video:e.data,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,hideTitle:e.hideTitle,showVideoGuidance:e.showVideoGuidance,type:e.preventPopout||l.xs?`static`:`popout`,textPosition:ut.Below,appLink:e.getAppLink(t),imageOptions:{size:r},preload:i,audience:c,hideRating:!!c,hideDuration:!1,onClickRemove:o.isFunction(e.onClickRemoveItem)&&(()=>e.onClickRemoveItem(t.id,t.name)),removeButtonTooltip:e.removeButtonTooltip,commonVideoProps:e.commonVideoProps})})}),er={placeholderItem:`_placeholderItem_ghfxu_1`,placeholderInner:`_placeholderInner_ghfxu_19`,placeholderContent:`_placeholderContent_ghfxu_22`},tr=`widgets.thumbnailFixedListSearchCtaWidgetTemplate`,nr=3;function rr(e){let t=fe[e.widgetTypeId],n=_.getVideoContent(e.content).slice(0,nr);if(!n.length)return(0,K.jsx)(K.Fragment,{});let r=t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name);return(0,K.jsx)(Y,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:W.Row,contents:J.Videos,collection:n,childComponent:$n,extraChildComponentProps:{presentationAudiences:e.audiences,showVideoGuidance:z.showVideoGuidance(e.hasPermissions),hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,preventPopout:e.preventPopout,showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:void 0,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,analyticsData:e.analyticsData,appLink:r,isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,trailingItemLength:1,trailingItems:(0,K.jsx)(`li`,{className:A(`flex-shrink-0 position-relative px-1`,er.placeholderItem),children:(0,K.jsx)(`button`,{onClick:e.onClickSearchAllVideos,className:A(`d-block ratio ratio-16x9 bg-light rounded-1 overflow-hidden text-decoration-none border-0 p-0 w-100`,er.placeholderInner),children:(0,K.jsx)(`div`,{className:A(`position-absolute top-0 start-0 bottom-0 end-0 d-flex flex-column align-items-center justify-content-center gap-2`,er.placeholderContent),children:(0,K.jsxs)(`span`,{className:`text-center px-2 fw-semi-bold`,children:[(0,K.jsx)(l,{svg:we,size:d.Small}),` `,j.getPhrase(tr,`search`)]})})})})})}function ir(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{d:`m10.407 12.368-1.22-1.22a.49.49 0 0 0-.698.004l-.583.583a.494.494 0 0 0-.004.697l2.135 2.135c.107.108.25.154.388.142a.5.5 0 0 0 .352-.143l4.362-4.362a.494.494 0 0 0-.004-.698l-.582-.582a.495.495 0 0 0-.698-.004zm7.922-.37 1.437 1.406q.312.291.208.728a.72.72 0 0 1-.541.531l-1.957.5.551 1.936a.67.67 0 0 1-.197.729.67.67 0 0 1-.73.198l-1.935-.552-.5 1.957a.72.72 0 0 1-.53.541 1.3 1.3 0 0 1-.199.021.69.69 0 0 1-.53-.229L12 18.328l-1.405 1.436q-.292.313-.729.208a.7.7 0 0 1-.53-.541l-.5-1.957-1.937.552a.67.67 0 0 1-.728-.198.67.67 0 0 1-.198-.729l.551-1.936-1.957-.5a.72.72 0 0 1-.54-.53q-.104-.438.207-.73l1.437-1.405-1.437-1.405q-.312-.291-.208-.729a.72.72 0 0 1 .541-.53l1.957-.5-.551-1.936a.67.67 0 0 1 .198-.73.67.67 0 0 1 .728-.197l1.936.552.5-1.957a.675.675 0 0 1 .531-.531.67.67 0 0 1 .729.198L12 5.68l1.405-1.447a.7.7 0 0 1 .73-.198q.426.104.53.53l.5 1.958L17.1 5.97a.67.67 0 0 1 .729.198.67.67 0 0 1 .197.729l-.551 1.936 1.957.5a.72.72 0 0 1 .541.53q.105.438-.208.73z`,fill:`currentColor`})})}var ar={card:`_card_1vln8_1`,avatar:`_avatar_1vln8_5`,time:`_time_1vln8_10`},or=`shared.authorReviewerWidgetTemplate`,sr=`MMMM D, YYYY`;function cr(e){if(!e.person)return(0,K.jsx)(K.Fragment,{});let t=`${ar.card} h-100 rounded-2 d-flex flex-column`,n=e.person.externalUrl,r=kt.getAuthorBlogUrl(e.person.blogSlug);function i(){E.logUserAction({id:e.person.id,firstName:e.person.firstName,lastName:e.person.lastName,imageId:e.person.imageId,externalUrl:n,blogUrl:r},{entity:T.Author,location:C.AuthorReviewerWidget,actionType:w.Click})}return!r&&!n?(0,K.jsx)(`div`,{className:t,children:e.children}):(0,K.jsx)(`a`,{href:n||r,target:`_blank`,className:`${t} no-decoration`,onClick:i,children:e.children})}function lr(e){return e.person?(0,K.jsxs)(cr,{person:e.person,children:[(0,K.jsxs)(`div`,{className:`d-flex mb-2`,children:[(0,K.jsx)(`div`,{className:`${ar.avatar} rounded-circle me-2 overflow-hidden`,children:(0,K.jsx)(`img`,{className:`img-fluid`,src:R.getUrlById(e.imageCdnUrl,Me.Avatars,e.person.imageId,L.Medium),alt:`${e.person.firstName} ${e.person.lastName}`})}),(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`h2`,{className:`h6 mb-0 fw-normal`,children:[(0,K.jsx)(l,{className:`align-middle svg-container d-inline-block`,svg:e.type===`reviewer`?ir:Ce}),e.type===`reviewer`?(0,K.jsxs)(`span`,{className:`align-middle`,children:[(0,K.jsx)(M,{namespace:or,phrase:`reviewedBy`}),`\xA0`,e.person.firstName,` `,e.person.lastName]}):(0,K.jsxs)(`span`,{className:`align-middle`,children:[(0,K.jsx)(M,{namespace:or,phrase:`authoredBy`}),`\xA0`,e.person.firstName,` `,e.person.lastName]})]}),(0,K.jsx)(`div`,{children:e.person.title})]})]}),(0,K.jsx)(`p`,{className:`mb-2 flex-grow-1`,children:e.person.bio}),(0,K.jsx)(`div`,{className:ar.time,children:e.type===`reviewer`?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(M,{namespace:or,phrase:`reviewed`}),` `,(0,K.jsx)(`time`,{dateTime:e.lastUpdated,children:N.format(e.lastUpdated,sr)})]}):(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(M,{namespace:or,phrase:`published`}),` `,(0,K.jsx)(`time`,{dateTime:e.datePublished,children:N.format(e.datePublished,sr)}),`\xA0•\xA0`,(0,K.jsx)(M,{namespace:or,phrase:`lastUpdated`}),` `,(0,K.jsx)(`time`,{dateTime:e.lastUpdated,children:N.format(e.lastUpdated,sr)})]})})]}):(0,K.jsx)(K.Fragment,{})}function ur(e){let{reviewer:t,author:n,lastUpdated:r,datePublished:i}=e.content[0];return!n||!t?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(`div`,{className:`row mb-n3`,children:[(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(lr,{type:`author`,person:n,imageCdnUrl:e.imageCdnUrl,datePublished:i,lastUpdated:r})}),(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(lr,{type:`reviewer`,person:t,imageCdnUrl:e.imageCdnUrl,datePublished:i,lastUpdated:r})})]})}function dr(){return(0,K.jsxs)(`div`,{className:`${ar.card} rounded-2`,children:[(0,K.jsxs)(`div`,{className:`d-flex mb-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background rounded-circle me-2 ${ar.avatar}`}),(0,K.jsxs)(`div`,{className:`w-75`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`90%`,height:`21px`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`65%`,height:`1rem`}})]})]}),(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`100%`,height:`1rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background mb-1`,style:{width:`75%`,height:`1rem`}})]}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`50%`,height:`1rem`}})]})}function fr(){return(0,K.jsxs)(`div`,{className:`row mb-n3`,children:[(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(dr,{})}),(0,K.jsx)(`div`,{className:`col-12 col-md-6 mb-3`,children:(0,K.jsx)(dr,{})})]})}var pr={logoItem:`_logoItem_j31u5_1`,logo:`_logo_j31u5_1`},mr=function(e){let t=R.createUrl(e.data.logo?.url,{size:L.Medium}),n=e.data.metadata?.colour,r=_t(e.data.name,gt),i={...e.analyticsData,id:e.data?.id,name:e.data?.name},a={...e.analyticsOptions,location:C.CircleLogoSlidingListWidget,actionType:w.Click,entity:T.Company},o={backgroundImage:t?`url('${t}')`:null,backgroundColor:n};return(0,K.jsx)(f,{appLink:e.getAppLink(e.data),className:`position-relative px-1 flex-shrink-0 ${pr.logoItem}`,analyticsData:i,analyticsOptions:a,children:(0,K.jsx)(`div`,{className:A(`rounded-circle w-100 h-100`,pr.logo,!n&&r),style:o})})};function hr(e){return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.Companies,collection:e.content,childComponent:mr,extraChildComponentProps:{},prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,getChildAppLink:e.appLinks?.company,isUpselling:e.isUpselling})}var gr={logo:`_logo_siwx3_1`,logoWrapper:`_logoWrapper_siwx3_5`};function _r(e){let t=8,n=V();return(n.sm||n.xs)&&(t=4),n.md&&(t=6),(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`d-flex flex-no-wrap`,children:Array(t).fill(null).map((e,t)=>(0,K.jsx)(`div`,{className:gr.logoWrapper,children:(0,K.jsx)(`div`,{className:`${gr.logo} h-100 d-inline-block partial-loading-background rounded-circle`})},t))})]})}var X={appLink:`_appLink_qhg2h_1`,name:`_name_qhg2h_4`,selectedMask:`_selectedMask_qhg2h_7`,widgetItem:`_widgetItem_qhg2h_16`,hasThemeColor:`_hasThemeColor_qhg2h_20`,text:`_text_qhg2h_27`,imagePanel:`_imagePanel_qhg2h_30`,partialLargeImage:`_partialLargeImage_qhg2h_30`,selected:`_selected_qhg2h_7`,image:`_image_qhg2h_30`,dragHandle:`_dragHandle_qhg2h_56`,large:`_large_qhg2h_60`,comingSoonPanel:`_comingSoonPanel_qhg2h_70`,newVideos:`_newVideos_qhg2h_76`,editSubjectsItem:`_editSubjectsItem_qhg2h_79`,allSubjectsItem:`_allSubjectsItem_qhg2h_85`,logoContainer:`_logoContainer_qhg2h_91`,draggingItem:`_draggingItem_qhg2h_95`,partialLargeFallback:`_partialLargeFallback_qhg2h_103`,partialIcon:`_partialIcon_qhg2h_107`},vr=`shared.subjectWidgetItem`,yr=({name:e,multiline:t,noUnderLine:n})=>{let r=`${X.comingSoonPanel}
|
|
2
|
+
d-flex flex-column align-items-center justify-content-center px-3 text-center`,i=``;return t?i+=` ${X.clamped} clamp-2`:(r+=` text-nowrap`,i+=` text-truncate`),(0,K.jsxs)(`div`,{className:r,children:[(0,K.jsx)(`small`,{className:`text-secondary`,children:(0,K.jsx)(M,{namespace:vr,phrase:`comingSoon`})}),(0,K.jsx)(`p`,{className:`${n?``:X.name} h6`,children:(0,K.jsx)(`span`,{className:i,children:e})})]})},br=({name:e,multiline:t,subtitle:n,noUnderLine:r,newVideosCount:i})=>{let a=`px-3 d-flex flex-column justify-content-center`,o=`${r?``:X.name} h6`;return t?o+=` ${i?`clamp-2`:`clamp-3`} text-start`:(a+=` text-nowrap text-truncate`,o+=` text-truncate mb-0`),(0,K.jsxs)(`div`,{className:a,children:[n&&(0,K.jsx)(`div`,{className:`text-secondary clamp-1 ${X.text}`,children:n}),(0,K.jsx)(`div`,{className:o,title:e,children:e}),!!i&&(0,K.jsx)(`div`,{className:`fw-semibold d-inline-block rounded-pill px-2 mt-1 bg-light-green w-fit h-fit text-green ${X.newVideos}`,children:(0,K.jsx)(M,{namespace:vr,phrase:`newVideos`,options:{smartCount:i}})})]})};xr.defaultProps={showFallbackBackgroundColour:!0};function xr(e){let t=R.createUrl(e.coverUrl,{size:e.isLarge?L.Medium:L.Small}),n;ke.isClassification(e.data)&&(n=e.data);let r={name:e.data.name,multiline:e.isLarge||e.multiline,subtitle:e.subtitle,noUnderLine:e.highlightOnHover,newVideosCount:e.showNewVideosCount?n?.externalMetadata?.childDashboardNewVideoCount:0},i={backgroundImage:t?`url('${t}')`:null,backgroundColor:e.coverBgColor},a=_t(e.data.name,gt);return(0,K.jsxs)(`div`,{className:A(e.themeColor?X.hasThemeColor:`border`,`d-flex position-relative`,e.className,X.widgetItem,e.isSelected?`border-success border-2`:``,e.highlightOnHover&&!e.themeColor?`bg-light-blue-hover`:``),style:e.themeColor?{"--themeColor":e.themeColor}:{},id:`${e.data.id}-${u.getRandomInt()}`,onClick:e.onClick,children:[e.isSelected&&(0,K.jsx)(`div`,{className:`${X.selectedMask} border-2`}),(0,K.jsxs)(`div`,{className:`${X.imagePanel} ${e.isLarge?X.large:``}`,children:[e.isSelected&&!e.hideCheckmark&&(0,K.jsx)(`div`,{className:X.selected,children:(0,K.jsx)(Je,{svg:Ee,svgSize:d.Large,textVariant:`white`,variant:`green`})}),t&&(0,K.jsx)(`div`,{className:A(X.image,e.imageClassName,!e.coverBgColor&&e.showFallbackBackgroundColour&&a),style:i}),!e.hideFallback&&(0,K.jsx)(ve,{type:ge.Subject,extraClasses:e.isLarge?X.large:``})]}),e.isComingSoon?(0,K.jsx)(yr,{...r}):(0,K.jsx)(br,{...r})]})}function Sr(e){let t=e.getChildAppLink?e.getChildAppLink(e.data):null;return(0,K.jsx)(K.Fragment,{children:t?(0,K.jsx)(f,{className:X.appLink,appLink:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,appLinkOptions:e.getChildAppLinkOptions?.(),children:(0,K.jsx)(xr,{...e})}):(0,K.jsx)(xr,{...e})})}function Cr(e,t){if(t?.length>=Tt.MULTI_PRESENTATION_THRESHOLD)return t?.find(t=>t.id===e)?.name}function wr(e){let t=e.data?.status===y.ComingSoon,n=Cr(e.data.presentationId,e?.availablePresentations),r={...e.analyticsData,id:e.analyticsData?.id||e.data?.id,name:e.data?.name,presentationId:e.analyticsData?.presentationId||e.data.presentationId,comingSoon:!!t},i={location:C.ClassificationListItem,entity:T.Classification,...e.analyticsOptions,actionType:w.Click,descriptor:x.Cover};return(0,K.jsx)(Sr,{...e,analyticsData:r,analyticsOptions:i,coverUrl:e.data.cover?.url,coverBgColor:e.data?.metadata?.backgroundColor,subtitle:e.getSubtitle?.(e.data)||n,isComingSoon:t,themeColor:e.shouldHighlight?.(e.data)?e.data?.metadata?.backgroundColor??``:``})}var Tr=G.memo(wr);function Er(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description}),(0,K.jsx)(k,{className:`mb-n2`,children:e.content.map(t=>(0,K.jsx)(O,{className:`position-relative pb-2`,xs:12,sm:6,lg:e.hasTableOfContents?6:4,xl:4,children:(0,K.jsx)(Tr,{data:t,getChildAppLink:t=>e.appLinks?.classification?.(t),analyticsData:e.analyticsData,highlightOnHover:e.settings?.hasTopicDirectories,isLarge:!0})},t.id))})]})}var Dr=()=>{let[e]=G.useState(u.getRandomInt(5)+3+`rem`);return(0,K.jsxs)(`div`,{className:`border d-flex position-relative me-2 ${X.widgetItem}`,children:[(0,K.jsx)(`div`,{className:X.imagePanel}),(0,K.jsx)(`div`,{className:`px-2`,style:{width:e}}),(0,K.jsx)(`div`,{className:X.partialIcon,children:(0,K.jsx)(ve,{type:ge.Subject})})]})},Or=()=>(0,K.jsxs)(`div`,{className:`border d-flex position-relative me-2 ${X.widgetItem}`,children:[(0,K.jsx)(`div`,{className:`${X.partialLargeImage}`}),(0,K.jsx)(`div`,{className:`px-2`}),(0,K.jsx)(`div`,{className:X.partialIcon,children:(0,K.jsx)(ve,{type:ge.Subject,extraClasses:X.partialLargeFallback})})]});w.Click,T.UserSetting,x.Tile,w.Click,T.Url,x.Tile;function kr(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(k,{className:`g-0`,children:[,,,,,].fill(null).map((e,t)=>(0,K.jsx)(O,{xs:12,sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(Or,{})})},t))})]})}var Ar={emoji:`_emoji_hej2b_1`};function jr(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`span`,{className:Ar.emoji,children:e.emoji}),e.children]})}var Mr=`shared.feedbackForm`,Nr=fn.object().shape({feedbackInput:fn.string().max(5e3,()=>j.getPhrase(Mr,`tooLong`))}),Pr={promptContainer:`_promptContainer_1quuc_1`,text:`_text_1quuc_8`,form:`_form_1quuc_20`},Z=`shared.feedbackForm`;function Fr(e){let[t,n]=G.useState(`prompt`),r=Se();function i(){n(`yes`)}function a(){n(`no`)}async function s(i,a){try{await e.onSubmit({content:i.feedbackInput,type:t===`yes`?`positive`:`negative`}),n(`done`)}catch{n(`prompt`),r.error(j.getPhrase(Z,`error`))}finally{a({reset:!0})}}return o.isFunction(e.onSubmit)?t===`prompt`?(0,K.jsxs)(`div`,{className:Pr.promptContainer,children:[(0,K.jsx)(`p`,{className:`fw-semibold me-2 ${Pr.text}`,children:(0,K.jsx)(jr,{emoji:`🔎`,children:(0,K.jsx)(M,{namespace:Z,phrase:`feedbackQuestion`})})}),(0,K.jsxs)(`div`,{className:`d-flex align-items-center`,children:[(0,K.jsx)(Ge,{className:`btn btn-outline-dark me-2`,onClick:i,svg:Ut,children:(0,K.jsx)(M,{namespace:Z,phrase:`yes`})}),(0,K.jsx)(Ge,{className:`btn btn-outline-dark`,onClick:a,svg:Ht,children:(0,K.jsx)(M,{namespace:Z,phrase:`no`})})]})]}):t===`yes`?(0,K.jsx)(Ve,{onSubmit:s,initialValues:{feedbackInput:``},validationSchema:Nr,children:(0,K.jsxs)(Be,{className:Pr.form,children:[(0,K.jsx)(`p`,{className:`fw-semibold ${Pr.text}`,children:(0,K.jsx)(jr,{emoji:`👏`,children:(0,K.jsx)(M,{namespace:Z,phrase:`happyFeedback`})})}),(0,K.jsx)(qe,{name:`feedbackInput`,as:`textarea`,autoComplete:`off`,autoFocus:!0,rows:4,placeholder:j.getPhrase(Z,`feedbackPlaceholder`),spellCheck:!1}),(0,K.jsxs)(`div`,{className:`d-flex justify-content-end w-100`,children:[(0,K.jsx)(`button`,{className:`btn btn-link`,onClick:()=>n(`prompt`),children:(0,K.jsx)(M,{namespace:Z,phrase:`back`})}),(0,K.jsx)(wt,{variant:`dark`,submitText:j.getPhrase(Z,`sendFeedback`)})]})]})}):t===`no`?(0,K.jsx)(Ve,{onSubmit:s,initialValues:{feedbackInput:``},validationSchema:Nr,children:(0,K.jsxs)(Be,{className:Pr.form,children:[(0,K.jsx)(`p`,{className:`fw-semibold ${Pr.text}`,children:(0,K.jsx)(jr,{emoji:`😢`,children:(0,K.jsx)(M,{namespace:Z,phrase:`unhappyFeedback`})})}),(0,K.jsx)(qe,{name:`feedbackInput`,as:`textarea`,autoComplete:`off`,autoFocus:!0,rows:4,placeholder:j.getPhrase(Z,`feedbackPlaceholder`),spellCheck:!1}),(0,K.jsxs)(`div`,{className:`d-flex justify-content-end w-100`,children:[(0,K.jsx)(`button`,{className:`btn btn-link`,onClick:()=>n(`prompt`),children:(0,K.jsx)(M,{namespace:Z,phrase:`back`})}),(0,K.jsx)(wt,{variant:`dark`,submitText:j.getPhrase(Z,`sendFeedback`)})]})]})}):t===`done`?(0,K.jsx)(`p`,{className:`fw-semibold text-center`,children:(0,K.jsx)(jr,{emoji:`🙌`,children:(0,K.jsx)(M,{namespace:Z,phrase:`thankYou`})})}):(0,K.jsx)(K.Fragment,{}):(0,K.jsx)(K.Fragment,{})}var Ir={imageContainer:`_imageContainer_xfe6r_1`,image:`_image_xfe6r_1`,background:`_background_xfe6r_16`},Lr=j.encloseNamespace(`shared.coverFixedPillListXSmall`);function Rr(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`div`,{className:`${Ir.background} px-4 py-3 rounded-3 mb-3`,children:[(0,K.jsx)(`h2`,{className:`h5`,children:e.isUpselling?Lr(`upsellHeading`,{smartCount:e.content.length}):e.name}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mb-2 w-100`,children:e.content.map(t=>{let n=R.createUrl(t.cover?.url,{size:L.Small});return(0,K.jsx)(O,{as:`li`,xs:12,sm:6,lg:4,children:(0,K.jsxs)(f,{appLink:e.appLinks?.classification?.(t),className:`d-flex align-items-center mb-2`,children:[(0,K.jsx)(`div`,{className:`${Ir.imageContainer} me-2`,children:(0,K.jsx)(`div`,{className:`${Ir.image} rounded`,style:{backgroundImage:`url('${n}')`}})}),(0,K.jsx)(`div`,{children:t.name})]})},t.id)})})]}),!e.isUpselling&&(0,K.jsx)(Fr,{onSubmit:e.onSubmitFeedback})]})}function zr(){return(0,K.jsxs)(`div`,{className:`${Ir.background} px-4 py-3 rounded-3 mb-3`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2`,style:{height:`1.35rem`,width:`8rem`}}),(0,K.jsx)(k,{className:`mb-2 ${Ir.row}`,children:Array(8).fill(null).map((e,t)=>(0,K.jsx)(O,{xs:12,sm:6,lg:4,children:(0,K.jsxs)(`div`,{className:`d-flex align-items-center mb-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background me-2 rounded`,style:{width:`2rem`,height:`2rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`5rem`,height:`1.3125rem`}})]})},t))})]})}var Br={playlistItem:`_playlistItem_euqll_1`,playlistItemGradient:`_playlistItemGradient_euqll_4`,playlistMetadata:`_playlistMetadata_euqll_13`,partialHeading:`_partialHeading_euqll_20`,ownerAvatarContainer:`_ownerAvatarContainer_euqll_24`};Vr.defaultProps={numItems:8};function Vr(e){let t=[...Array(e.numItems)],n=e.itemClassName||``;return(0,K.jsxs)(K.Fragment,{children:[e.showHeading&&(0,K.jsx)(`div`,{className:`${Br.partialHeading} mb-1 partial-loading-background`}),(0,K.jsx)(k,{className:`mx-n1 mb-n2`,children:t.map((e,t)=>(0,K.jsx)(O,{xs:6,sm:4,lg:3,className:`${n} px-1 pb-2`,children:(0,K.jsx)(`div`,{className:`${Br.playlistItem} partial-loading-background rounded-3`})},t))})]})}var Hr=`playlists.playlistCount`;function Ur(e){if(!e)return!1;let t=e.videos?.count??0,n=e.interactives?.count??0,r=e.clips?.count??0;return t+n+r}function Wr(e){let t=Ur(e.playlist);return t===!1||Number.isNaN(t)?(0,K.jsx)(K.Fragment,{}):(0,K.jsx)(`span`,{className:`text-shadow font-size-sm`,children:(0,K.jsx)(M,{namespace:Hr,phrase:`count`,options:{smartCount:t}})})}function Gr(e){let{_liteOwner:t}=e.playlist;return e.playlist._curationTags?.value?.isClickViewCurated?(0,K.jsx)(Wt,{}):!t?.id||!e.currentUser?.id||t.id.toString()===e.currentUser.id.toString()?(0,K.jsx)(K.Fragment,{}):(0,K.jsx)(Le,{imageUrl:typeof t.avatar==`string`?t.avatar:t.avatar?.url,imageCdnUrl:e.imageCdnUrl,initials:oe.getInitials(t.name,t.surname)})}var Kr=`playlists.playlistList`;qr.defaultProps={itemStyle:`square`};function qr(e){let t=R.createUrl(e.data.cover&&e.data.cover.url,{size:L.Medium,resizeType:je.Cover}),n=e.data.subjectPresentationAudiences&&e.data.subjectPresentationAudiences.data,r=bt(n,e.presentationAudiences),i=Br.playlistItem,a=!!t||!!e.showFallbackImage;a&&(i+=` ${Br.playlistItemGradient}`),!a&&e.bgColourClassNames&&(i+=` ${Br.playlistItem} ${_t(e.data.name,e.bgColourClassNames)}`),e.itemStyle===`round`&&(i+=` rounded-3 overflow-hidden`),e.itemStyle===`round-left`&&(i+=` rounded-start-lg overflow-hidden`);let o={...e.analyticsData,id:e.data?.id,name:e.data?.name},s={...e.analyticsOptions,entity:T.Playlist};return(0,K.jsx)(f,{appLink:e.appLink,analyticsData:o,analyticsOptions:s,title:!e.data.contentModifiedDate||e.data._curationTags?.value?.isClickViewCurated?``:j.getPhrase(Kr,`lastUpdated`,{timeago:ue(N.convertUTCToLocal(e.data.contentModifiedDate))}),children:(0,K.jsxs)(Fe,{data:t,alt:e.data.name,className:i,children:[!!e.showFallbackImage&&(0,K.jsx)(ve,{type:ge.Playlist}),(0,K.jsxs)(`div`,{className:`text-white ${Br.playlistMetadata}`,children:[!!e.showCount&&(0,K.jsx)(Wr,{playlist:e.data}),(0,K.jsx)(`h6`,{className:`mb-0 ${e.titleClassName||``}`,children:(0,K.jsx)(`span`,{className:`text-shadow clamp-2`,children:e.data.name})}),!!n&&!!n.length&&!!r&&(0,K.jsx)(st,{className:`${e.audienceLabelClass?e.audienceLabelClass:``} mt-1`,audience:r,border:`white`})]}),!!e.showOwner&&!!e.imageCdnUrl&&(0,K.jsx)(`div`,{className:Br.ownerAvatarContainer,children:(0,K.jsx)(Gr,{playlist:e.data,currentUser:e.currentUser,imageCdnUrl:e.imageCdnUrl})})]})})}w.Click,T.Playlist,C.PlaylistListItem,x.Cover;var Jr={actionType:w.Click,entity:T.Playlist,location:C.PlaylistListItem,descriptor:x.Cover};function Yr(e){return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(H,{name:e.name,description:e.description}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map(t=>(0,K.jsx)(O,{as:`li`,xs:6,sm:4,lg:3,className:`px-1 pb-2 columns-of-five`,children:(0,K.jsx)(qr,{data:t,presentationAudiences:e.audiences,appLink:e.appLinks?.playlist?.(t),itemStyle:`round`,analyticsData:e.analyticsData,analyticsOptions:Jr})},t.id))})]})}function Xr(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(Vr,{itemClassName:`columns-of-five`})]})}var Zr=`classification-latest-releases`,Qr=`explore-all-topics`;function $r(e){return e.reduce((e,t)=>e+=t?.totalVideos||0,0)}function ei(e){return e.totalVideos?`${e.totalVideos} new video${e.totalVideos>1?`s`:``}`:``}function ti(e,t){if(e.metadata?.appLink===g.ClassificationDirectory&&e.settings?.hasTopicDirectories)return{id:g.ClassificationDirectory,name:`Explore all topics`,cover:{url:R.createUrl(e.classification?.cover?.url,{size:L.Small})},metadata:{backgroundColor:e.classification?.metadata?.backgroundColor}};if(e.metadata?.appLink===g.ClassificationLatestReleases)return{id:Zr,name:`All new releases`,cover:{url:R.getUrlById(e.imageCdnUrl,Me.Covers,e.metadata.imageId,L.Medium)},totalVideos:$r(t)};if(e.metadata?.appLink===g.ExploreAllTopics)return{id:Qr,name:`Explore all subjects`,cover:{url:R.createUrl(Oe.Images.STREAMABLE_TOPIC_COVER,{size:L.Small})}}}function ni(e){let t=ti(e,e.content),n=e.metadata?.appLink===g.ClassificationLatestReleases;function r(){return!e.classification||!Dt.isTopLevelTopic(e.classification)||e.widgetTypeId!==I.Classifications||e.templateId!==F.CoverSlidingPillListSmall||!e.settings?.hasTopicDirectories?null:e.appLinks?.classificationDirectory?.(e.classification)}function i(t){return t.id===g.ClassificationDirectory?e.appLinks?.classificationDirectory?.(e.classification):t.id===g.ExploreAllTopics?e.appLinks?.allTopics?.(t):n?e.appLinks?.classificationLatestReleases?.(t):e.appLinks?.classification?.(t)}return(0,K.jsx)(Ft,{id:e.id,collection:t?[t,...e.content]:e.content,getChildAppLink:e=>i(e),childComponent:Tr,partialLoadingComponent:Dr,heading:e.name,headingAppLink:r(),getSubtitle:n?ei:void 0,description:e.description,hideButtons:e.showHighlight,analyticsData:e.analyticsData,childComponentProps:{highlightOnHover:e.settings?.hasTopicDirectories,shouldHighlight:e=>e.id===g.ClassificationDirectory}})}function ri(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(Lt,{partialLoadingComponent:Dr})]})}var ii=j.encloseNamespace(`search.searchExchangeArchiveDescription`);function ai(e){return(0,K.jsxs)(K.Fragment,{children:[ii(`searchExchangeArchiveDescription`),`\xA0`,(0,K.jsx)(f,{appLink:e.appLink,className:`info-link`,children:ii(`searchExchangeArchiveLink`)})]})}function oi(e){let{active:t,isDragging:n,attributes:r,listeners:i,setNodeRef:a}=$e({...e.draggable,disabled:!e.draggable,attributes:{role:`drag`,tabIndex:-1}}),{isOver:o,over:s,active:c,setNodeRef:l}=Ze({...e.droppable,disabled:!e.droppable});G.useEffect(()=>{let r=e.draggable?.data;Array.isArray(r)&&r?.includes(t?.id.toString())?e.setIsDragging?.(n):e.setIsDragging?.(!1)},[n]);function u(){let t=e.draggable?.data;return Array.isArray(t)&&t.includes(e.draggable.id.toString())}return(0,K.jsx)(`div`,{ref:a,...i,...r,className:`${e.draggable?`cursor-grab`:`cursor-default`} ${n&&t||e.isDragging&&u()?e.dragStyle:null}`,children:(0,K.jsx)(`div`,{ref:l,className:c&&o&&t?.id!==s?.id?e.dropStye:null,children:e.children})})}var si={dragHandleContainer:`_dragHandleContainer_15z7h_1`};function ci(e){let t=`d-flex justify-content-center align-items-center`;return e?`${t} cursor-pointer ${si.dragHandleContainer}`:t}function li(e){let t=e.showDragHandle?{...e.dragAttributes,...e.dragListeners}:{},n=ci(e.showDragHandle);return!e.showDragHandle&&!e.showIndexes?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(O,{xs:2,className:n,...t,children:[!!e.showDragHandle&&(0,K.jsx)(l,{svg:e.dragHandleIcon,size:e.dragHandleIconSize}),!!e.showIndexes&&(0,K.jsx)(`span`,{className:`fw-semibold`,children:e.index+1})]})}li.defaultProps={dragHandleIcon:St,dragHandleIconSize:d.Small};var ui=`shared.signInToWatch`;function di(e){return(0,K.jsx)(f,{appLink:e.appLink,className:e.className,children:(0,K.jsx)(M,{namespace:ui,phrase:`signInToWatch`})})}var fi=G.createContext(null);function pi(e){let t=G.useContext(fi);return o.isFunction(t?.getVideoActions)?(0,K.jsx)(Ye,{actions:t.getVideoActions(e.video,{analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions}),className:`align-items-start gap-2`,actionsDropdownClassName:`btn btn-link py-0`,dropdownToggleSvgSize:d.Standard,fetchMore:t.fetchMoreActions?()=>t.fetchMoreActions(e.video):null,customSize:!0}):(0,K.jsx)(K.Fragment,{})}function mi(e){let{canNavigate:t}=z.getCanBeConsumed(e.video);return e.showSignIn&&!t?(0,K.jsx)(di,{appLink:e.signInAppLink,className:`btn btn-outline-dark align-self-start`}):(0,K.jsx)(pi,{video:e.video,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions})}var Q={getThumbnailColumns(){return{xs:12,sm:5,lg:3}},getDetailsColumns(){return{xs:12,sm:7,lg:9}},getSize(e,t){return e.sm?`sm`:t||`md`},getThumbnailColSize(e){return e?10:12}},hi={responsiveGuidance:`_responsiveGuidance_kx84c_2`},gi=G.forwardRef((e,t)=>{let n=V(),[r,i]=yt(),a=Q.getSize(n,e.size),o=a===`sm`,{isSortable:s}=G.useContext(Ei),c=bt(e.video.subjectPresentationAudiences?.data,e.presentationAudiences),l=s&&!n.xs&&(i||e.index===void 0||!e.showIndexes),u=e.showIndexes&&!l&&!n.xs,d=(l||e.showIndexes)&&!n.xs,f=e.getVideoAppLink(e.video,{}),p={analyticsData:e.analyticsData,analyticsOptions:{entity:T.Clip,location:C.ClipListItem}};return(0,K.jsx)(`div`,{ref:r,className:`w-100`,children:(0,K.jsxs)(`div`,{className:`row g-0 ${o?``:`py-2`}`,ref:t,style:e.style,children:[(0,K.jsx)(O,{...Q.getThumbnailColumns(),className:`flex-column align-items-flex-start ${o?`pb-2 pe-2`:`mb-1 px-2`}`,children:(0,K.jsxs)(k,{children:[(0,K.jsx)(li,{index:e.index,showDragHandle:l,showIndexes:u,dragHandleIcon:e.dragHandleIcon,dragHandleIconSize:e.dragHandleIconSize,dragAttributes:e.dragAttributes,dragListeners:e.dragListeners}),(0,K.jsx)(O,{xs:Q.getThumbnailColSize(d),children:(0,K.jsx)(ft,{...p,video:e.video,appLink:f,shareId:e.shareId,audience:c,imageOptions:{size:L.Medium},textPosition:ut.Independent,type:`static`,commonVideoProps:{...e.commonVideoProps,subTextType:`none`},showOwner:e.showOwner})})]})}),(0,K.jsxs)(O,{...Q.getDetailsColumns(),className:`${o?`pb-2`:`px-2`} d-flex position-relative flex-column`,children:[(0,K.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[(0,K.jsx)(Jt,{video:e.video,appLink:f,size:a,yearGroups:e.commonVideoProps.yearGroups,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience,linkClassName:`flex-grow-1`,...p}),(0,K.jsx)(mi,{...p,video:e.video,showSignIn:e.showSignIn,signInAppLink:e.getSignInAppLink?.(f)})]}),(0,K.jsxs)(`div`,{children:[!o&&(0,K.jsx)(qt,{video:e.video,showSignIn:e.showSignIn,hasStudentExperience:e.commonVideoProps.hasStudentExperience,hasGuestExperience:e.commonVideoProps.hasGuestExperience}),!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience&&(0,K.jsx)(Yt,{video:e.video,yearGroups:e.commonVideoProps.yearGroups})]}),z.showVideoGuidance(e.hasPermissions)&&(0,K.jsx)(dt,{video:e.video,getVideoAppLink:e.getVideoAppLink,containerClassName:`d-flex justify-content-start align-items-center pt-sm-1 gap-1`,responsiveClassName:hi.responsiveGuidance,commonVideoProps:e.commonVideoProps,...p})]})]})})}),_i=e=>(0,K.jsx)(et,{id:e.video.id,childComponent:gi,childProps:e}),vi=G.forwardRef((e,t)=>{let n=V(),[r,i]=yt(),a=Q.getSize(n,e.size),o=a===`sm`,{isSortable:s}=G.useContext(Ei),c=bt(e.video.subjectPresentationAudiences?.data,e.presentationAudiences),l=s&&!n.xs&&(i||e.index===void 0||!e.showIndexes),u=e.showIndexes&&!l&&!n.xs,d=(l||e.showIndexes)&&!n.xs,f=e.getVideoAppLink(e.video,{}),p={analyticsData:e.analyticsData,analyticsOptions:{entity:T.Interactive,location:C.InteractiveListItem}},{canNavigate:m}=z.getCanBeConsumed(e.video);return(0,K.jsx)(`div`,{ref:r,className:`w-100`,children:(0,K.jsxs)(`div`,{className:`row g-0 py-2`,ref:t,style:e.style,children:[(0,K.jsx)(O,{...Q.getThumbnailColumns(),className:`flex-column align-items-flex-start ${o?`pb-2 pe-2`:`mb-1 px-2`}`,children:(0,K.jsxs)(k,{children:[(0,K.jsx)(li,{index:e.index,showDragHandle:l,showIndexes:u,dragHandleIcon:e.dragHandleIcon,dragHandleIconSize:e.dragHandleIconSize,dragAttributes:e.dragAttributes,dragListeners:e.dragListeners}),(0,K.jsx)(O,{xs:Q.getThumbnailColSize(d),children:(0,K.jsx)(ft,{...p,video:e.video,appLink:f,shareId:e.shareId,audience:c,imageOptions:{size:L.Medium},textPosition:ut.Independent,type:`static`,hideDuration:o,commonVideoProps:{...e.commonVideoProps,subTextType:`none`},showOwner:e.showOwner})})]})}),(0,K.jsxs)(O,{...Q.getDetailsColumns(),className:`position-relative ${o?`pb-2`:`px-2`}`,children:[(0,K.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[(0,K.jsx)(Jt,{video:e.video,appLink:f,size:a,yearGroups:e.commonVideoProps.yearGroups,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience,linkClassName:`flex-grow-1`,...p}),(0,K.jsx)(mi,{...p,video:e.video,showSignIn:e.showSignIn,signInAppLink:e.getSignInAppLink?.(f)})]}),m?(0,K.jsx)(`div`,{className:`pt-sm-1 pt-md-0`,children:(0,K.jsx)(Xt,{timepoints:e.video._timepoints?.value,appLink:f,previewAppLink:e.getPreviewQuestionsAppLink(e.video)})}):(0,K.jsx)(qt,{video:e.video,showSignIn:e.showSignIn,hasStudentExperience:e.commonVideoProps.hasStudentExperience,hasGuestExperience:e.commonVideoProps.hasGuestExperience}),!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience&&(0,K.jsx)(Yt,{video:e.video,yearGroups:e.commonVideoProps.yearGroups})]})]})})}),yi=e=>(0,K.jsx)(et,{id:e.video.id,childComponent:vi,childProps:e}),bi={responsiveGuidance:`_responsiveGuidance_kx84c_2`},xi=G.forwardRef((e,t)=>{let n=V(),[r,i]=yt(),a=Q.getSize(n,e.size),o=a===`sm`,{isSortable:s}=G.useContext(Ei),c=e.video?.subjectPresentationAudiences?.data,l=bt(c,e.presentationAudiences),u=s&&!n.xs&&(i||e.index===void 0||!e.showIndexes),d=e.showIndexes&&!u&&!n.xs,f=(u||e.showIndexes)&&!n.xs,p=e.getVideoAppLink?.(e.video,{});function m(){return e.commonVideoProps.getSubTextAppLink?.(e.video)}let h=e.commonVideoProps.getSubTextType?.(e.video),g=m(),_={analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions??{entity:T.Video,location:C.VideoListItem}};return(0,K.jsx)(`div`,{ref:r,className:`w-100`,children:(0,K.jsxs)(`div`,{className:`row g-0 ${o?``:`py-2`}`,style:e.style,ref:t,children:[(0,K.jsx)(O,{...Q.getThumbnailColumns(),className:`flex-column align-items-flex-start mb-1 mb-sm-0 pb-sm-2 pe-sm-2 px-md-2 pb-md-0`,children:(0,K.jsxs)(k,{children:[(0,K.jsx)(li,{index:e.index,showDragHandle:u,showIndexes:d,dragHandleIcon:e.dragHandleIcon,dragHandleIconSize:e.dragHandleIconSize,dragAttributes:e.dragAttributes,dragListeners:e.dragListeners}),(0,K.jsx)(O,{xs:Q.getThumbnailColSize(f),children:(0,K.jsx)(ft,{..._,video:e.video,appLink:p,shareId:e.shareId,audience:l,imageOptions:{size:f?L.Small:L.Medium},textPosition:ut.Independent,type:`static`,hideRating:!1,commonVideoProps:e.commonVideoProps})})]})}),(0,K.jsxs)(O,{...Q.getDetailsColumns(),className:`d-flex position-relative flex-column px-0 px-md-2 pb-0 pb-sm-2 pb-md-0 justify-content-md-between`,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[(0,K.jsxs)(`div`,{className:`flex-grow-1`,children:[(0,K.jsx)(lt,{..._,video:e.video,appLink:g,type:h}),(0,K.jsx)(Jt,{..._,video:e.video,appLink:p,size:a,yearGroups:e.commonVideoProps.yearGroups,showNewVideoIndicator:e.commonVideoProps.showNewVideoIndicator,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience,titleClassName:`mb-0`})]}),(0,K.jsx)(mi,{..._,video:e.video,showSignIn:e.showSignIn,signInAppLink:e.getSignInAppLink?.(p)})]}),!o&&(0,K.jsx)(qt,{video:e.video,showSignIn:e.showSignIn,hasStudentExperience:e.commonVideoProps.hasStudentExperience,hasGuestExperience:e.commonVideoProps.hasGuestExperience}),!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience&&(0,K.jsx)(Yt,{video:e.video,yearGroups:e.commonVideoProps.yearGroups})]}),!e.hideVideoGuidance&&(0,K.jsx)(dt,{video:e.video,getVideoAppLink:e.getVideoAppLink,commonVideoProps:e.commonVideoProps,containerClassName:`d-flex justify-content-start align-items-center pt-sm-1 gap-1`,responsiveClassName:bi.responsiveGuidance,..._})]})]})})});xi.defaultProps={dragHandleIcon:St,dragHandleIconSize:d.Small,size:`md`};var Si=e=>(0,K.jsx)(et,{id:e.video.id,childComponent:xi,childProps:e}),Ci={sortableVideo:`_sortableVideo_ix6n3_1`,videoList:`_videoList_ix6n3_4`,badgeContainer:`_badgeContainer_ix6n3_12`,dragStyle:`_dragStyle_ix6n3_31`},wi=j.encloseNamespace(`shared.videoList`);function Ti(e,t){return z.isClip(e)?t?_i:gi:z.isInteractive(e)?t?yi:vi:t?Si:xi}var Ei=G.createContext({isSortable:!1});function Di(t){let{isSortable:n}=G.useContext(Ei),[r,i]=G.useState(!1),{checkboxHelper:a}=t,o=e.getCurrentAppLink();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`position-relative ${Ci.videoList}`,children:t.videos.map((e,o)=>{let s=Ti(e,n),c=Number.isInteger(t.startingPositionIndex)?t.startingPositionIndex:0,l=a&&a.getSelectedCount()>1&&a.isChecked(e.id)?a.getSelected():e,u=typeof t.getAnalyticsData==`function`?t.getAnalyticsData(o):{pagePositionIndex:c+o};return(0,K.jsx)(oi,{draggable:t.drag&&!n&&{id:e.id,data:l},dragStyle:Ci.dragStyle,isDragging:r,setIsDragging:i,children:(0,K.jsxs)(`div`,{className:`d-flex flex-row align-items-center`,children:[t.allowBulkAction&&(0,K.jsx)(le,{className:`mx-0 mx-md-2`,id:e.id,ariaLabel:`${wi(`ariaBulkAction`)}: ${e.name}`,onChange:()=>a.onToggleItem(e.id),checked:a.isChecked(e.id)}),(0,K.jsx)(s,{video:e,index:o,getVideoAppLink:t.getVideoAppLink,dragHandleIcon:t.dragHandleIcon,dragHandleIconSize:t.dragHandleIconSize,showSignIn:t.showSignIn,getSignInAppLink:t.getSignInAppLink,analyticsData:u,hasPermissions:t.hasPermissions,canRemovePrivateVideos:t.canRemovePrivateVideos,presentationAudiences:t.presentationAudiences,showIndexes:t.showIndexes,getPreviewQuestionsAppLink:t.getPreviewQuestionsAppLink,hideVideoGuidance:t.hideVideoGuidance,showOwner:t.showOwner,shareId:t.shareId,commonVideoProps:t.commonVideoProps,analyticsOptions:t.analyticsOptions})]})},`${e.id}:${o}`)})}),t.cursors&&(0,K.jsx)(Xe,{appLink:o,cursors:t.cursors})]})}function Oi(e){function t(){return!!e.seeMoreLink&&[I.SearchExchangeArchive,I.SearchMySchoolLibraryVideos,I.SearchClickViewLive].includes(e.widgetTypeId)}function n(){return e.widgetTypeId===I.SearchExchangeArchive?(0,K.jsx)(ai,{appLink:e.appLinks.searchSettings()}):e.description}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata.hideWidgetDescription&&n(),showSeeMoreLink:t(),appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(Di,{videos:e.content,getVideoAppLink:e.appLinks?.videoType,hasPermissions:e.hasPermissions,getPreviewQuestionsAppLink:e.appLinks?.getPreviewQuestionsAppLink,presentationAudiences:e.audiences,commonVideoProps:e.commonVideoProps,getAnalyticsData:e.getAnalyticsData,analyticsOptions:{location:C.ThumbnailVerticalListWidget,entity:T.Video}})]})}function ki(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsxs)(`div`,{className:`bg-gray-100 p-3 rounded-3 mb-3`,children:[(0,K.jsx)(`h2`,{className:`h6`,children:e.name}),(0,K.jsx)(Kt,{code:e.metadata.curriculumLeafName,description:e.metadata.curriculumLeafDescription,id:null,locationContext:C.SearchCurriculumCodeWidget})]}),(0,K.jsx)(Oi,{metadata:{hideWidgetHeading:!0,hideWidgetDescription:!0},name:``,description:``,widgetTypeId:I.SearchCurriculumCode,hasPermissions:e.hasPermissions,content:e.content,audiences:e.audiences,seeMoreLink:null,appLinks:e.appLinks,commonVideoProps:e.commonVideoProps,badgeComponent:null,settings:e.settings,getAnalyticsData:e.getAnalyticsData})]})}var Ai={partialOptions:`_partialOptions_157xw_1`,partialName:`_partialName_157xw_4`,partialDescription:`_partialDescription_157xw_8`,partialThumbnail:`_partialThumbnail_157xw_12`,partialDragHandle:`_partialDragHandle_157xw_15`};ji.defaultProps={numVideos:15};function ji(e){return(0,K.jsx)(K.Fragment,{children:Array(e.numVideos).fill(null).map((t,n)=>(0,K.jsxs)(`div`,{className:`d-flex`,children:[e.allowBulkActions&&(0,K.jsx)(`div`,{className:`form-check pe-3 pe-sm-2 mx-0 mx-md-2`}),(0,K.jsx)(Mi,{...e})]},n))})}function Mi(e){let t=V(),n=Q.getSize(t,`md`)===`sm`,r=e.withReordering&&!t.xs;return(0,K.jsxs)(k,{className:`${n?``:`py-2`} flex-grow-1`,children:[(0,K.jsx)(O,{...Q.getThumbnailColumns(),className:`flex-column align-items-flex-start ${n?`pb-2 pe-1`:`mb-1 pe-3 pe-md-2`}`,children:(0,K.jsxs)(k,{children:[!!r&&(0,K.jsx)(`div`,{className:`d-flex align-items-center justify-content-center col-2`,children:(0,K.jsx)(`div`,{className:`partial-loading-background ${Ai.partialDragHandle}`})}),(0,K.jsx)(O,{xs:Q.getThumbnailColSize(r),children:(0,K.jsx)(`div`,{className:`partial-loading-background ${n?`rounded`:`rounded-3`} ${Ai.partialThumbnail}`})})]})}),(0,K.jsxs)(O,{...Q.getDetailsColumns(),className:n?`pb-2`:`px-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-1 ${Ai.partialName}`}),(0,K.jsx)(`div`,{className:`partial-loading-background ${Ai.partialDescription}`})]})]})}function Ni(){return(0,K.jsx)(ji,{numVideos:3})}function Pi(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background rounded-3 mb-3 w-100`,style:{height:`5rem`}}),(0,K.jsx)(Ni,{})]})}var Fi={accordionButton:`_accordionButton_h20c2_1`,expanded:`_expanded_h20c2_8`};function Ii(e){let{activeEventKey:t}=G.useContext(tn),n=on(e.name),r=t===e.name;return(0,K.jsx)(`button`,{type:`button`,onClick:n,className:`w-100 p-3 ${Fi.accordionButton} ${r?Fi.expanded:``}`,children:(0,K.jsxs)(`div`,{className:`d-flex align-items-center justify-content-between`,children:[(0,K.jsx)(`h3`,{className:`mb-0 h5 fw-normal`,children:e.name}),(0,K.jsx)(`div`,{className:`rounded-circle bg-white me-2`,children:(0,K.jsx)(l,{svg:r?xt:pe})})]})})}var Li={video:`_video_yg2yl_1`,thumbnail:`_thumbnail_yg2yl_4`},Ri=`shared.curriculumAccordionVideoList`;function zi(e){let t=!!e.outcome.name&&!!e.outcome.description;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`h4`,{className:`h6`,children:(0,K.jsx)(M,{namespace:Ri,phrase:`alignedVideos`})}),(0,K.jsx)(`ul`,{className:`list-unstyled`,children:e.outcome.videos.map((t,n)=>{let r={analyticsData:e.analyticsData,analyticsOptions:{entity:T.Video,actionType:w.Click,location:C.CurriculumResourcesAccordionWidget}};return(0,K.jsxs)(`li`,{className:`${Li.video} d-flex`,children:[(0,K.jsx)(`div`,{className:`${Li.thumbnail} me-2`,children:(0,K.jsx)(ft,{appLink:e.getVideoAppLink(t,{}),video:t,type:`static`,imageOptions:{size:L.Medium},commonVideoProps:e.commonVideoProps,hideDuration:!0,...r})}),(0,K.jsxs)(`div`,{className:`d-flex flex-column justify-content-between`,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(lt,{...r,video:t,appLink:e.getSeriesAppLink(t.series),type:`series`}),(0,K.jsx)(Jt,{...r,video:t,appLink:e.getVideoAppLink(t,{}),size:`sm`,titleClassName:`mb-0`,yearGroups:e.commonVideoProps.yearGroups,showNewVideoIndicator:e.commonVideoProps.showNewVideoIndicator,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience})]}),(0,K.jsx)(dt,{video:t,getVideoAppLink:e.getVideoAppLink,commonVideoProps:e.commonVideoProps,containerClassName:`d-flex justify-content-start align-items-center pt-sm-1 gap-1`,responsiveClassName:Li.responsiveGuidance,...r})]})]},`${e.outcomeIndex}:${n}`)})}),(0,K.jsx)(f,{appLink:e.getOutcomeAppLink(e.outcome.name),className:`info-link mt-2 d-inline-block`,children:t?(0,K.jsx)(M,{namespace:Ri,phrase:`viewAllVideosCode`,options:{code:e.outcome.name}}):(0,K.jsx)(M,{namespace:Ri,phrase:`viewAllVideosNoCode`})})]})}var Bi={audience:`_audience_1aalu_1`,area:`_area_1aalu_6`,outcome:`_outcome_1aalu_9`},Vi=`shared.audienceSection`;function Hi(e){return(0,K.jsx)(dn.Collapse,{eventKey:e.audience.name,children:(0,K.jsx)(`div`,{className:`${Bi.audience} px-3 pb-3`,children:(0,K.jsx)(`ul`,{className:`bg-white p-3 rounded-3 list-unstyled mb-0`,children:e.audience.areas.map((t,n)=>(0,K.jsxs)(`li`,{className:Bi.area,children:[(0,K.jsx)(`h3`,{className:`h5 fw-normal mb-3`,children:t.name}),(0,K.jsx)(`ul`,{className:`list-unstyled`,children:t.outcomes.map((t,n)=>(0,K.jsxs)(`li`,{className:Bi.outcome,children:[(0,K.jsx)(`h4`,{className:`h6`,children:(0,K.jsx)(M,{namespace:Vi,phrase:`outcome`})}),(0,K.jsx)(`div`,{className:`pb-2`,children:(0,K.jsx)(Kt,{id:t.id,code:t.name,description:t.description,getCodeAppLink:e.getSearchAppLink,locationContext:C.CurriculumResourcesAccordionWidget,uiContainsCodes:!0})}),(0,K.jsx)(zi,{outcome:t,analyticsData:e.analyticsData,getVideoAppLink:e.getVideoAppLink,getSeriesAppLink:e.getSeriesAppLink,getOutcomeAppLink:e.getSearchAppLink,commonVideoProps:e.commonVideoProps,outcomeIndex:n})]},n))})]},n))})})})}function Ui(e){let t=new Map;function n(e,r){if(e.type===Gt.Area){r.length&&(r+=` - `),r+=e.name;for(let t of e.children)n(t,r);return}e.type===Gt.Leaf&&(t.has(r)||t.set(r,{name:r,outcomes:[]}),t.get(r).outcomes.push(e))}for(let t of e.children)n(t,``);return Array.from(t.values())}function Wi(e){let t=new Map;for(let n of e)for(let e of n.children)t.has(e.name)||t.set(e.name,{name:e.name,areas:[]}),t.get(e.name).areas.push(...Ui(e));return Array.from(t.values())}var Gi=`shared.curriculumResourcesAccordion`;function Ki(e){let t=G.useMemo(()=>Wi(e.content),[e.content]);return(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`div`,{className:`d-flex align-items-end justify-content-between mb-2`,children:[(0,K.jsx)(`h2`,{className:`h3 mb-0`,children:e.curriculums.preferredCurriculum.name}),e.curriculums.availableCurriculums.length>1&&(0,K.jsx)(f,{appLink:e.appLinks.editCurriculum(),children:(0,K.jsx)(M,{namespace:Gi,phrase:`changeCurriculum`})})]}),(0,K.jsx)(dn,{className:`mb-n3`,children:t.map((t,n)=>(0,K.jsxs)(`div`,{className:`mb-3`,children:[(0,K.jsx)(Ii,{name:t.name}),(0,K.jsx)(Hi,{audience:t,getSearchAppLink:e.appLinks.search,getVideoAppLink:e.appLinks.videoType,getSeriesAppLink:e.appLinks.series,commonVideoProps:e.commonVideoProps,analyticsData:e.analyticsData})]},n))})]})}var qi=()=>(0,K.jsx)(`div`,{className:`partial-loading-background mb-3 rounded-3`,style:{height:`3.5rem`}});function Ji(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2 w-25`,style:{height:`1.7325rem`}}),(0,K.jsxs)(`div`,{className:`mb-n3`,children:[(0,K.jsx)(qi,{}),(0,K.jsx)(qi,{}),(0,K.jsx)(qi,{}),(0,K.jsx)(qi,{}),(0,K.jsx)(qi,{}),(0,K.jsx)(qi,{}),(0,K.jsx)(qi,{})]})]})}var Yi=`shared.subjectWidgetItem`,Xi=G.forwardRef((e,t)=>{let n=`px-3 d-flex flex-column justify-content-center`,r=`${X.name} h6`;e.multiline?r+=` clamp-3`:(n+=` text-nowrap`,r+=` text-truncate`);function i(){return e.canToggle?j.getPhrase(Yi,e.isVisible?`hideFromDashboard`:`showOnDashboard`):j.getPhrase(Yi,`cantToggle`)}return e.style?.visibility===`hidden`?(0,K.jsx)(`div`,{ref:t,className:`d-flex align-items-center position-relative clamp-2 ${X.widgetItem} ${X.draggingItem}`,style:m.omit(e.style,[`visibility`])}):(0,K.jsxs)(`div`,{ref:t,className:`border d-flex align-items-center position-relative ${X.widgetItem}`,style:m.omit(e.style,[`visibility`]),children:[(0,K.jsx)(`div`,{className:`
|
|
3
|
+
${X.dragHandle} ms-3 d-flex justify-content-center align-items-center
|
|
4
|
+
${e.isDragging?`cursor-grabbing`:`cursor-grab`} ${e.isVisible?``:`text-secondary`}
|
|
5
|
+
`,...e.dragAttributes,...e.dragListeners,children:(0,K.jsx)(l,{svg:Mt})}),(0,K.jsx)(`div`,{className:n,children:(0,K.jsx)(`label`,{htmlFor:e.data.id,className:`${r} ${e.isVisible?``:`text-secondary`} mb-0`,children:e.data.name})}),(0,K.jsx)(`div`,{className:`ms-auto me-3`,children:(0,K.jsx)(He,{id:e.data.id,on:e.isVisible,onClick:()=>e.onToggleVisibility(e.data),tooltipText:i(),disabled:!e.canToggle,showStateWhenDisabled:!0})})]})}),Zi={dragOverlay:`_dragOverlay_1q6kh_1`,headingContainer:`_headingContainer_1q6kh_4`},Qi=`shared.editableCoverFixedPillListSmall`;function $i(e){let[t,n]=G.useState(!1),[r,i]=G.useState(!1),a=_.useGetContent(e.content,e.widgetTypeId,e.isPreviewing,e.preferences,[]).unfilteredContent,o=G.useMemo(()=>a.every(e=>!e.followers?.data?.length),[a]),s=G.useMemo(()=>a?.reduce((e,t,n)=>{let r={id:t.id,hidden:!t.followers?.data?.length&&!o,index:n};return e[t.id]=r,e},{})??{},[e.preferences,o]),[l,u]=G.useState(s),[d,f]=G.useState(s),p=G.useMemo(()=>t?a.filter(e=>!!d[e.id]).sort((e,t)=>d[e.id].index-d[t.id].index):a.filter(e=>!!l[e.id]&&!l[e.id]?.hidden).sort((e,t)=>l[e.id].index-l[t.id].index),[a,d,l,t]),h=Se();G.useEffect(()=>{n(!1)},[e.presentation?.id]);let g=G.useMemo(()=>t||!p.length?!1:Object.values(d).some(e=>e.hidden),[t,d]);async function v(){i(!0);let t=o?a.map((e,t)=>({id:e.id,hidden:!0,index:t})):Object.values(l);e.updatePreferences(e.id,e.widgetTypeId,t,Object.values(d)).then(()=>{u(d),i(!1),n(!1)}).catch(()=>{i(!1),h.error(j.getPhrase(Qi,`error`))})}function ee(){f(l),n(!1)}function te(e){return d[e.id]?d[e.id].index:p.findIndex(t=>t.id===e.id)}function y(e){return!d[e.id]?.hidden}function b(e){let t={...d},n=y(e);t[e.id]={id:e.id,hidden:n,index:te(e)},E.logUserAction({id:e.id,name:e.name},{location:C.EditableSubjectPreferencesWidget,entity:T.Classification,actionType:w.Hide,descriptor:n?ie.On:ie.Off}),f(t)}function x(e){let t=p.find(t=>t.id===e);return(0,K.jsx)(`div`,{className:`bg-white rounded-3 ${Zi.dragOverlay}`,children:(0,K.jsx)(Xi,{data:t,onToggleVisibility:b,isVisible:y(t),isDragging:!0,canToggle:!y(t)||Object.values(d).filter(e=>!e.hidden).length>1})})}function ne(e){let t=p.find(t=>t.id.toString()===e.active.id.toString()),n=p.findIndex(t=>t.id.toString()===e.active.id.toString());E.logUserAction({id:t.id,name:t.name,index:n},{location:C.EditableSubjectPreferencesWidget,entity:T.Classification,actionType:w.Move,workflowPhase:re.Start})}function S(e){let{active:t,over:n}=e,r=te({id:t.id}),i=p.findIndex(e=>e.id.toString()===n.id.toString());if(r===i)return;let a=p[r];if(!a)return;let o={...d},{reorderedItems:s}=Zt.reorder(p,r,i);s.forEach((e,t)=>{o[e.id]={id:e.id,index:t,hidden:!y(e)}}),f(o),E.logUserAction({id:a.id,name:a.name,oldIndex:r,newIndex:i},{location:C.EditableSubjectPreferencesWidget,entity:T.Classification,actionType:w.Move,workflowPhase:re.Complete})}let ae=G.useMemo(()=>!m.isEqual(s,d),[s,d]),D={id:e.presentation.id,name:j.getPhrase(Qi,`exploreAll`,{name:e.presentation.name}),cover:e.availablePresentations?.find(t=>t.id===e.presentation.id)?.cover??e.presentation.cover,metadata:{backgroundColor:Dt.getMappedPresentationBackgroundColourCode(e.presentation.learningLevel,e.presentation.type)}},oe=e.availablePresentations?e.availablePresentations.filter(t=>t.id!==e.presentation?.id).map(e=>({id:e.id,name:j.getPhrase(Qi,`changeTo`,{name:e.name}),cover:e.cover,vanitySlug:e.vanitySlug,description:e.description,metadata:{backgroundColor:Dt.getMappedPresentationBackgroundColourCode(e.learningLevel,e.type)}})):[],se=!t&&oe.length>0&&e.settings?.hasTopicDirectories,A=e.hasLocalPermissions(Ue.ManageDiscoverPreferences),le={location:C.EditableSubjectPreferencesWidget};return p.length?(0,K.jsxs)(`div`,{children:[(0,K.jsxs)(`div`,{className:`d-flex flex-wrap align-items-center justify-content-between`,children:[(0,K.jsxs)(`div`,{className:`col`,children:[(0,K.jsxs)(`div`,{className:`d-flex justify-content-between w-100 no-wrap flex-row mb-2`,children:[(0,K.jsx)(`h2`,{className:`h4 mb-0 align-self-end flex-shrink-0`,children:t?j.getPhrase(Qi,`updating`):e.name}),!t&&A&&(0,K.jsx)(c,{className:`hover-text-underline`,onClick:()=>n(!0),children:j.getPhrase(Qi,`edit`)})]}),!!e.description&&!t&&(0,K.jsx)(`p`,{className:`text-truncate description mb-2`,children:e.description}),t&&(0,K.jsx)(`p`,{className:`description mb-2`,children:(0,K.jsx)(M,{namespace:Qi,phrase:`editingDescription`})})]}),t&&A&&(0,K.jsxs)(`div`,{className:`d-flex align-items-start`,children:[(0,K.jsx)(ce,{variant:`link`,className:`me-2`,onClick:ee,children:(0,K.jsx)(M,{namespace:Qi,phrase:`cancel`})}),(0,K.jsx)(ze,{variant:`dark`,onClick:v,showSpinner:r,disabled:!ae,children:(0,K.jsx)(M,{namespace:Qi,phrase:`update`})})]})]}),!t&&G.isValidElement(e.reminderComponent)&&e.reminderComponent,(0,K.jsxs)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:[g&&(0,K.jsx)(O,{as:`li`,className:`position-relative pb-2 px-1`,sm:6,lg:4,children:(0,K.jsx)(Tr,{data:D,getChildAppLink:()=>e.appLinks?.allTopics?.(e.presentation.id),analyticsData:e.analyticsData,analyticsOptions:le,multiline:!0,highlightOnHover:e.settings?.hasTopicDirectories,shouldHighlight:()=>e.settings?.hasTopicDirectories})},e.presentation.id),(0,K.jsx)(Qe,{ids:p.map(e=>e.id),getDragOverlay:x,onSortStart:ne,onSortEnd:S,vertical:!1,children:p.map(n=>(0,K.jsx)(O,{as:`li`,className:`position-relative pb-2 px-1`,sm:6,lg:4,children:(0,K.jsx)(K.Fragment,{children:t?(0,K.jsx)(et,{id:n.id,childComponent:Xi,childProps:{data:n,onToggleVisibility:b,isVisible:y(n),isDragging:!1,canToggle:!y(n)||Object.values(d).filter(e=>!e.hidden).length>1,multiline:!0}}):(0,K.jsx)(Tr,{data:n,getChildAppLink:t=>e.appLinks?.classification?.(t),analyticsData:e.analyticsData,analyticsOptions:le,multiline:!0,highlightOnHover:e.settings?.hasTopicDirectories,showNewVideosCount:e.settings?.hasTopicDirectories&&!e.isTertiaryCustomerWithoutExchange})})},n.id))}),se&&oe.map(t=>(0,K.jsx)(O,{as:`li`,className:`position-relative pb-2 px-1`,sm:6,lg:4,children:(0,K.jsx)(Tr,{data:t,getChildAppLink:()=>e.appLinks?.discover?.(t?.vanitySlug),analyticsData:{...e.analyticsData,id:t.id,presentationId:t.id,presentationDescription:t.description},analyticsOptions:{...le,entity:T.Presentation},multiline:!0,highlightOnHover:!0,shouldHighlight:()=>e.settings?.hasTopicDirectories})},t.id))]})]}):(0,K.jsx)(K.Fragment,{})}var ea={partialLoadingHeading:`_partialLoadingHeading_okyuy_1`};function ta(){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2 ${ea.partialLoadingHeading}`}),(0,K.jsx)(k,{className:`g-0`,children:Array(7).fill(null).map((e,t)=>(0,K.jsx)(O,{sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(Dr,{})})},t))})]})}var na={cellDate:`_cellDate_vp37w_1`,label:`_label_vp37w_13`,isHovering:`_isHovering_vp37w_16`,numberWrapper:`_numberWrapper_vp37w_19`},ra=j.encloseNamespace(`specialEventCalendar.calendarCellDate`);function ia(e){let t=N.isSame(Ae.convertUTCToTimezoneDate(new Date().toISOString(),e.timezone||null),e.date,`day`),n=`${na.cellDate} d-flex flex-nowrap`;t&&(n+=` bg-dark text-white`),e.hasEvent?n+=` text-white`:e.notCurrentMonth&&!e.isHovering&&(n+=` text-secondary`),e.className&&(n+=` ${e.className}`);let[r,i]=vt({delay:250});return(0,K.jsxs)(`div`,{className:`${n} ${i?na.isHovering:``}`,ref:r,children:[(0,K.jsx)(`div`,{className:`${na.numberWrapper} d-flex text-center justify-content-center align-items-center flex-shrink-0`,children:N.format(e.date,`D`)}),t&&(0,K.jsx)(`div`,{className:`${na.label} justify-content-start align-items-center`,children:ra(`today`)})]})}var aa={tag:`_tag_1f6v7_1`,tooltip:`_tooltip_1f6v7_5`},oa=`specialEventCalendar.comingSoonTag`;function sa(e){return(0,K.jsx)(s,{title:j.getPhrase(oa,`tooltip`),spanHackClassName:`d-block ${aa.tooltip}`,spanHack:!0,children:(0,K.jsxs)(`div`,{className:`d-flex text-dark align-items-center ${aa.tag} ${e.className}`,children:[(0,K.jsx)(l,{svg:Ie}),!e.onlyIcon&&j.getPhrase(oa,`comingSoon`)]})})}function ca(e){return e*50}function la(e,t){let n=N.startOf(e,`month`),r=N.getWeekday(n),i=[],a=t?r===0?6:r-1:r;for(let e=+!!t;e<=a;e++){let t=n,a=N.weekday(t,r-e);i.push(Object.assign(a,{notCurrentMonth:!0}))}return i.reverse()}function ua(e){let t=N.startOf(e,`month`);return N.getWeekday(t)===1?t:D.first(la(e,!0))}var da={[De.US]:`en-us`};function fa(e){let t=new Set;return e.filter(e=>t.has(e.specialEventId)?!1:(t.add(e.specialEventId),!0))}var pa={getDisplayDate(e,t){return t?e.slice(5,7)===t.slice(5,7)?de.getCurrentRegion()===da[De.US]?`${N.format(e,`MMM`)} ${N.format(e,`D`)} - ${N.format(t,`D`)}`:`${N.format(e,`D`)} - ${N.format(t,`D`)} ${N.format(e,`MMM`)}`:`${N.format(e,`D MMM`)} - ${N.format(t,`D MMM`)}`:N.format(e,`D MMM`)},getEventsInMonth(e,t){return e.filter(e=>N.format(e.startDate,`YYYY-MM`)===N.format(t,`YYYY-MM`))},getOrdinalDate(e){return`${N.getLocalDateOrdinal(N.get(e,`date`))} ${N.format(e,`MMMM`)}`},isEventFromPreviousMonth(e,t){return e.endDate?N.format(e.startDate,`YYYY-MM`)<N.format(t,`YYYY-MM`)&&e.endDate>=N.format(t,`YYYY-MM-DD`):!1},getEventsForDay(e,t,n=[],r){let i=t.filter(t=>N.isSame(e,t.startDate))||[];return N.isSame(ua(r),e,`day`)?fa([...i,...n]):i},getCrossMonthEventsForDate(e,t,n){return N.isSame(ua(n),e,`day`)?t.filter(t=>{let n=pa.isEventFromPreviousMonth(t,e),r=N.isSame(e,t.startDate);return n&&!r}):[]},getAllEventsForDate(e,t,n){let r=N.format(e,`YYYY-MM-DD`),i=t.filter(e=>e.startDate===r),a=pa.getCrossMonthEventsForDate(e,t,n);return fa([...i,...a])}},ma={sliderDot:`_sliderDot_umrgt_1`,sm:`_sm_umrgt_6`,active:`_active_umrgt_10`,dotContainer:`_dotContainer_umrgt_13`,defaultCursor:`_defaultCursor_umrgt_16`};function ha(e){function t(t,n){t.stopPropagation(),t.preventDefault(),e.onSliderDotClick(n)}function n(t,n){let r=`${ma.sliderDot} rounded-3`;return t&&(r+=` ${ma.active}`),e.size===`sm`&&(r+=` ${ma.sm}`),e.isDisabled?.(n)&&(r+=` pointer-events-none ${ma.defaultCursor}`),r}return(0,K.jsx)(`div`,{className:`${e.className} w-100 d-flex justify-content-around`,children:(0,K.jsx)(`div`,{className:`${ma.dotContainer} d-flex`,children:[...Array(e.sliderLength)].map((r,i)=>(0,K.jsx)(c,{className:n(i===e.sliderStep,i),onClick:e=>t?.(e,i)},i))})})}var $={hardcodedCover:`_hardcodedCover_chonb_1`,tag:`_tag_chonb_1`,date:`_date_chonb_1`,backgroundImage:`_backgroundImage_chonb_1`,eventCard:`_eventCard_chonb_1`,wrapper:`_wrapper_chonb_5`,left:`_left_chonb_5`,right:`_right_chonb_8`,noAnimation:`_noAnimation_chonb_22`,cover:`_cover_chonb_25`,tagWrap:`_tagWrap_chonb_35`,appear:`_appear_chonb_46`,displayDate:`_displayDate_chonb_49`,title:`_title_chonb_53`,titleText:`_titleText_chonb_56`,circle:`_circle_chonb_71`,active:`_active_chonb_78`,arrow:`_arrow_chonb_90`,bottomBar:`_bottomBar_chonb_108`,bottomPlaceholder:`_bottomPlaceholder_chonb_112`,multiEventFilter:`_multiEventFilter_chonb_126`};ga.defaultProps={responsiveText:!0};function ga(e){let{sliderStep:t,setSliderStep:n}=e,r=e.fadePastEvents?re(e.eventsOnDay):e.eventsOnDay,a=e.eventsOnDay.length>1,o=r.find((e,n)=>n===t)||r[0],s=!!o.endDate,u=e.getBackgroundColor?.(o.content),d=e.getHardCodedEvent?.(o.content),p=e.getIconUrl?.(o.content),m=e.getCoverUrl?.(o.content),h=o.content.status===y.ComingSoon,[g,_]=G.useState(e.hasInitialized?$.appear:``);G.useEffect(()=>{if(!e.hasInitialized){let t=ca(e.rowIndex??0),n=window.setTimeout(()=>{_($.appear)},t);return()=>window.clearTimeout(n)}},[e.hasInitialized]),G.useEffect(()=>{e.isHovering&&e.setHoveredEvent(o)},[e.isHovering,o]),G.useEffect(()=>()=>{e.isHovering&&e.hoveredEvent?.specialEventId===o.specialEventId&&e.setHoveredEvent(null)},[e.isHovering,e.hoveredEvent,o]);function v(){return a?e.getEventsListAppLink?.():h?null:e.getTopicAppLink?.(o.content,i.slugify(o.name))}function ee(){let t={date:N.format(e.date,`YYYY-MM-DD`),presentationId:e.presentationId,eventCount:e.eventsOnDay.length};return a?(t.eventId=e.eventsOnDay.map(e=>e.specialEventId).join(`,`),t.topicId=e.eventsOnDay.map(e=>e.content.id).join(`,`)):(t.eventId=o.specialEventId,t.topicId=o.content.id,t.eventStatus=o.content.status),t}let te=ee(),b={actionType:w.Click,entity:T.SpecialEvent,location:C.CalendarDay};function x(e){return N.format(e,`YYYY-MM-DD`)}function ne(){return`${e.className} ${g} `+[d?`${$.hardcodedCover} position-absolute`:$.backgroundImage,p?`my-auto`:$.cover,h?$.comingSoon:``,e.hasInitialized?$.noAnimation:``,e.isHovering?`rounded-3`:``,e.isMultiEventDate?$.multiEventFilter:``,`company`in o.content?`rounded-circle`:``].join(` `)}function S(e){return`startDateTime`in e.content&&N.isBefore(e.content.startDateTime,new Date)}function re(e){return e.sort((e,t)=>!S(e)&&S(t)?1:S(e)&&!S(t)?-1:0)}return(0,K.jsx)(`div`,{style:{"--calendar-fade-duration":`200ms`},onClick:()=>{h&&E.logUserAction(te,b)},children:(0,K.jsxs)(f,{appLink:v(),analyticsOptions:b,analyticsData:te,className:`position-absolute top-0 start-0 h-100 w-100 text-shadow ${$.wrapper}`,labelledBy:`calendarEvent`,children:[(0,K.jsx)(`div`,{className:`${$.tagWrap} p-1`,children:h&&(0,K.jsx)(sa,{className:`justify-content-center p-0 rounded-circle ${$.tag} ${g}`,onlyIcon:!0})}),!e.hideDay&&(0,K.jsx)(ia,{date:e.date,notCurrentMonth:e.notCurrentMonth,className:`${$.date} ${g}`,isHovering:e.isHovering,timezone:e.timezone,hasEvent:!0}),(0,K.jsxs)(`div`,{style:{backgroundColor:u},className:`position-absolute d-flex flex-column justify-content-end align-items-center text-white px-1 pt-2 pb-1 ${$.eventCard} ${g} ${e.isHovering?`rounded-3`:``} ${e.isMultiEventDate?$.multiEventFilter:``} ${e.className} ${!e.isHovering&&S(o)?`opacity-50`:``}`,children:[p&&(0,K.jsx)(Pe,{src:p,alt:o.content.name,className:ne()}),m&&!p&&(0,K.jsx)(`div`,{style:{backgroundImage:`url('${m}')`},className:ne()}),s&&(0,K.jsx)(`div`,{className:`${$.displayDate}`,children:pa.getDisplayDate(o.startDate,o.endDate)}),(0,K.jsx)(`div`,{className:`text-center ${$.title} ${a?`mb-1`:`mb-2`}`,children:(0,K.jsx)(`p`,{id:`calendarEvent`,className:`${e.responsiveText?$.titleText:``} ${e.isHovering?`mb-0`:`clamp-2`} h6`,title:o.name,children:o.name})}),a&&t!==0&&(0,K.jsx)(`div`,{className:`position-absolute bg-white rounded-circle ${$.left}`,children:(0,K.jsx)(c,{onClick:t=>{t.stopPropagation(),t.preventDefault(),n(e=>e-1),E.logUserAction({date:x(e.date),action:`previous`,eventCount:e.eventsOnDay.length},b)},children:(0,K.jsx)(l,{svg:tt,className:`d-inline-block svg-container text-dark ${$.arrow}`})})}),a&&t!==e.eventsOnDay.length-1&&(0,K.jsx)(`div`,{className:`position-absolute bg-white rounded-circle ${$.right}`,children:(0,K.jsx)(c,{onClick:t=>{t.stopPropagation(),t.preventDefault(),n(e=>e+1),E.logUserAction({date:x(e.date),action:`next`,eventCount:e.eventsOnDay.length},b)},children:(0,K.jsx)(l,{svg:rt,className:`d-inline-block svg-container text-dark ${$.arrow}`})})}),a&&(0,K.jsx)(`div`,{className:`d-flex ${$.bottomBar} ${a?``:$.bottomPlaceholder}`,children:(0,K.jsx)(ha,{sliderStep:t,sliderLength:e.eventsOnDay.length,size:`sm`,className:`${e.isHovering?`mb-2`:`mb-1`}`,onSliderDotClick:t=>{n(t),E.logUserAction({date:x(e.date),action:`jump`,eventCount:e.eventsOnDay.length},b)}})})]})]})})}var _a={cell:`_cell_34fbn_1`,multiEventCell:`_multiEventCell_34fbn_4`,fadeIn:`_fadeIn_34fbn_1`};function va(e){let t=G.useMemo(()=>e.hoveredEvent?.endDate&&!N.isSame(e.date,e.hoveredEvent?.startDate)&&N.isBetween(N.format(e.date,`YYYY-MM-DD`),e.hoveredEvent?.startDate,e.hoveredEvent?.endDate),[e.hoveredEvent]),n=e.hoveredEvent?e.getBackgroundColor?.(e.hoveredEvent.content):null;return(0,K.jsxs)(`div`,{className:`${_a.cell} fw-semibold`,children:[!e.hideDay&&(0,K.jsx)(ia,{date:e.date,notCurrentMonth:e.notCurrentMonth,timezone:e.timezone}),t&&!e.isHovering&&(0,K.jsx)(`div`,{style:{backgroundColor:n},className:_a.multiEventCell}),e.eventsOnDay?.length>0&&(0,K.jsx)(ga,{...e,isMultiEventDate:t&&!e.isHovering})]})}var ya={dateItem:`_dateItem_1ny8z_1`,label:`_label_1ny8z_4`,body:`_body_1ny8z_11`,bodyDay:`_bodyDay_1ny8z_19`,bodyRange:`_bodyRange_1ny8z_22`,bodyMonth:`_bodyMonth_1ny8z_25`,month:`_month_1ny8z_29`};function ba(e){function t(){switch(e.body.type){case`range`:return ya.bodyRange;case`day`:return ya.bodyDay;case`month`:return ya.bodyMonth}}return(0,K.jsx)(f,{appLink:e.getAppLink?.(),className:`text-decoration-none text-center bg-white text-dark border border-3 ${e.theme?.border} rounded-3 d-block fw-semibold ${e.className}`,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:(0,K.jsxs)(`div`,{className:`position-relative ${ya.dateItem}`,children:[(0,K.jsx)(`div`,{className:`${e.theme?.background} py-1 ${ya.label} d-flex align-items-center justify-content-center`,children:e.label?e.label:(0,K.jsx)(K.Fragment,{children:`\xA0`})}),(0,K.jsx)(`div`,{className:`${t()} ${ya.body} my-2`,children:e.body.text}),(0,K.jsx)(`div`,{className:`mb-0 ${ya.month}`,children:e.month})]})})}var xa={dateItemContainer:`_dateItemContainer_1cc76_1`,container:`_container_1cc76_14`};function Sa(e){return(0,K.jsx)(`div`,{className:`${xa.container} position-relative flex-shrink-0 ${e.theme.backgroundSecondary}`,children:(0,K.jsx)(f,{appLink:e.getAppLink(e.data),className:`text-decoration-none my-2 mx-1 rounded-3 d-block position-relative`,analyticsData:e.analyticsData(e.data),analyticsOptions:e.analyticsOptions,children:(0,K.jsx)(va,{isHovering:!1,date:new Date(e.data.startDate),notCurrentMonth:!1,monthQuery:null,eventsOnDay:[e.data],events:[e.data],sliderStep:0,presentationId:e.data.content.presentationId,hoveredEvent:null,isMultiEventDate:!1,className:`rounded-3`,getBackgroundColor:e.getBackgroundColor,getIconUrl:e.getIconUrl,hasInitialized:!0,responsiveText:!1,hideDay:!0})})})}function Ca(e){let{data:t,...n}=e;if(t.type===`date-widget-item`)return(0,K.jsx)(`div`,{className:`${xa.container} ${xa.dateItemContainer} flex-shrink-0 ${e.theme.backgroundSecondary} position-relative`,children:(0,K.jsx)(ba,{month:t.month,body:t.body,label:t.label,getAppLink:()=>e.getAppLink(t),analyticsData:{...e.analyticsData,label:t.label,month:t.month,body:t.body.text},analyticsOptions:{...e.analyticsOptions,entity:T.Url,actionType:w.Click,location:C.EventIconSlidingListWidget},className:`my-2 mx-1`,theme:e.theme})});if(t.type===`Livestream`)return(0,K.jsx)(Sa,{...n,data:t,getBackgroundColor:e=>e.company.metadata?.colour,getIconUrl:e=>e.company.logo?.url,analyticsData:t=>({...e.analyticsData,id:t.content.id,name:t.content.name,startDateTime:t.content.startDateTime,endDateTime:t.content.endDateTime}),analyticsOptions:{...e.analyticsOptions,entity:T.SpecialEvent,actionType:w.Click,location:C.EventIconSlidingListWidget}});function r(e){return R.createUrl(e.icon?.url,{size:L.Small})}function i(e){return Oe.SpecialEvents[e.id]}return(0,K.jsx)(Sa,{...n,data:t,getBackgroundColor:e=>e.metadata?.backgroundColor,getIconUrl:e=>r(e),getHardCodedEvent:i,analyticsData:t=>({...e.analyticsData,id:t.specialEventId,name:t.name,startDate:t.startDate,endDate:t.endDate,classificationId:t.content.id,classificationName:t.content.name}),analyticsOptions:{...e.analyticsOptions,entity:T.SpecialEvent,actionType:w.Click,location:C.EventIconSlidingListWidget}})}var wa=j.encloseNamespace(`widgets.eventIconSlidingList`);function Ta(e,t){let n;switch(t){case ee.Livestream:n=g(e);break;default:n=e}let r=[...n].sort((e,t)=>e.startDate.localeCompare(t.startDate)),i=new Date,a=N.format(i,`YYYY-MM-DD`),o=N.format(N.add(a,1,`day`),`YYYY-MM-DD`),s=N.format(N.add(N.startOf(i,`week`),8,`days`),`YYYY-MM-DD`),c=N.format(N.add(s,6,`days`),`YYYY-MM-DD`),l=N.format(N.startOf(i,`month`),`YYYY-MM-DD`),u=N.format(N.endOf(i,`month`),`YYYY-MM-DD`),d=N.format(N.startOf(N.add(i,1,`month`),`month`),`YYYY-MM-DD`),f=N.format(N.endOf(N.add(i,1,`month`),`month`),`YYYY-MM-DD`),p=N.format(N.startOf(N.add(i,2,`month`),`month`),`YYYY-MM-DD`),m=N.format(N.add(i,1,`year`),`YYYY-MM-DD`),h=new Map;function g(e){return e.map(e=>({id:e.id,startDate:N.format(e.startDateTime,`YYYY-MM-DD`),type:`Livestream`,name:e.name,description:e.description,content:e}))}function _(e){if(!h.has(e.group)){h.set(e.group,{events:[e.event],label:e.label,body:e.body,monthLabel:e.monthLabel,startDate:e.startDate,endDate:e.endDate});return}let t=h.get(e.group);h.set(e.group,{...t,events:[...t.events,e.event]})}r.forEach(e=>{if(e.startDate<=a){_({group:`today`,startDate:a,endDate:null,event:e,body:{text:N.format(a,`DD`),type:`day`},monthLabel:N.format(a,`MMMM`),label:wa(`today`)});return}if(e.startDate===o){_({group:`tomorrow`,startDate:o,endDate:null,event:e,body:{text:N.format(o,`DD`),type:`day`},monthLabel:N.format(e.startDate,`MMMM`),label:wa(`tomorrow`)});return}if(e.startDate>o&&e.startDate<s){let t=N.format(e.startDate,`dddd`);_({group:t,startDate:e.startDate,endDate:e.endDate,event:e,monthLabel:N.format(e.startDate,`MMMM`),body:{text:N.format(e.startDate,`DD`),type:`day`},label:t});return}if(e.startDate>=s&&e.startDate<=c){_({group:`nextWeek`,startDate:s,endDate:c,event:e,monthLabel:N.isSame(s,c,`month`)?N.format(s,`MMMM`):`${N.format(s,`MMM`)} - ${N.format(c,`MMM`)}`,body:{text:`${N.format(s,`DD`)}-${N.format(c,`DD`)}`,type:`range`},label:wa(`nextWeek`)});return}if(e.startDate>=l&&e.startDate<=u){_({group:`thisMonth`,startDate:l,endDate:u,event:e,monthLabel:``,body:{text:N.format(e.startDate,`MMM`),type:`month`},label:wa(`thisMonth`)});return}if(e.startDate>=d&&e.startDate<=f){_({group:`nextMonth`,startDate:d,endDate:f,event:e,monthLabel:``,body:{text:N.format(e.startDate,`MMM`),type:`month`},label:wa(`nextMonth`)});return}e.startDate>=p&&e.startDate<=m&&_({group:`later`,startDate:p,endDate:m,event:e,monthLabel:``,body:{text:N.format(e.startDate,`MMM`),type:`month`},label:wa(`later`)})});let v=[];for(let e of h.values()){let t={label:e.label,body:e.body,month:e.monthLabel,appLinkMonth:N.format(e.startDate,`MMMM`),appLinkYear:N.format(e.startDate,`YYYY`),type:`date-widget-item`};v.push(t),e.events.forEach(e=>{v.push(e)})}return v}function Ea(e){let t=G.useMemo(()=>Ta(e.content,e.contentType),[e.content]),n=r(e.contentType);function r(e){switch(e){case ee.Livestream:return{background:`bg-light-green`,border:`border-light-green`,backgroundSecondary:`bg-light-blue`};default:return{background:`bg-light-blue`,border:`border-light-blue`,backgroundSecondary:`bg-light-yellow`}}}return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,appLink:e.appLinks?.calendar?.(),type:W.Row,contents:J.SpecialEvents,getChildAppLink:t=>t.type===`date-widget-item`?e.appLinks?.calendarMonth?.(t.appLinkMonth,t.appLinkYear):t.type===`Livestream`?e.appLinks?.livestream?.(t.content):e.appLinks?.classification?.(t.content),collection:t,childComponent:Ca,extraChildComponentProps:{theme:n},analyticsData:e.analyticsData,isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,isUpselling:e.isUpselling,prefetched:!0})}function Da(){let e=V();if(e.xs)return 2;if(e.sm)return 3;if(e.md)return 4;if(e.lg)return 5;if(e.xl||e.xxl)return 6}function Oa(e){let t=Da();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:!0}),(0,K.jsx)(`div`,{className:`row g-0 mx-n1`,children:Array(t).fill(null).map((e,t)=>(0,K.jsx)(`div`,{className:`col px-1`,children:(0,K.jsx)(`div`,{className:`partial-loading-background rounded-3`,style:{paddingBottom:`100%`}})},t))})]})}var ka={hovering:`_hovering_ywvzx_1`,transition:`_transition_ywvzx_6`,rowWidth:`_rowWidth_ywvzx_9`,largeRowWidth:`_largeRowWidth_ywvzx_12`},Aa=G.memo(function(e){let{data:t,context:n,thumbnailSize:r,preloadImage:i}=e,[a,o]=vt({className:ka.hovering,style:{transform:`scale(${n?.type===W.LargeRow?1.1:1.15})`}});G.useEffect(()=>{e.onHover(o)},[o]);let s=ka.rowWidth;return n.type===W.LargeRow&&(s=ka.largeRowWidth),(0,K.jsx)(`div`,{ref:a,className:`px-1 flex-shrink-0 position-relative ${s} ${ka.transition}`,children:(0,K.jsx)(ft,{video:e.data,type:`expandable`,appLink:e.getAppLink(t),imageOptions:{size:r},preload:i,hovering:o,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,commonVideoProps:e.commonVideoProps})})}),ja={banner:`_banner_kjdf9_1`,partialBanner:`_partialBanner_kjdf9_12`};function Ma(t){let n=_.getCustomAppLink(t),r=t?.imageCdnUrl&&t.metadata?.imageId?R.getUrlById(t.imageCdnUrl,Me.Banners,t.metadata.imageId,L.Medium):``;return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(f,{appLink:n,style:r?{backgroundImage:`url(${r})`}:{},className:`${ja.banner} mb-2 d-flex justify-content-between no-decoration ${t.name?``:ja.partialBanner}`,analyticsData:{url:e.getHref(n)},analyticsOptions:{actionType:w.Click,entity:T.Url,location:C.ContentUpdatesBanner},children:(0,K.jsx)(`h2`,{className:`h4 text-white mb-0`,children:t.name})}),(0,K.jsx)(Y,{id:t.id,type:W.Row,contents:J.Videos,getChildAppLink:e=>t.appLinks?.videoType?.(e,{}),collection:t.content,childComponent:Aa,extraChildComponentProps:{commonVideoProps:t.commonVideoProps},hideBleedingContent:t.showHighlight,analyticsData:t.analyticsData,limitTotalItems:t.limitTotalItems,prefetched:!0,hideName:!0})]})}function Na(e){return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative partial-loading-background ${ja.banner} ${ja.partialBanner} mb-1 `}),(0,K.jsx)(Xn,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:!0,hideHeading:!0})]})}var Pa=function(e){return e.SUGGEST_IMPROVEMENT=`suggestImprovement`,e.REPORT_BUG=`reportBug`,e.REQUEST_VIDEO=`requestVideo`,e.REQUEST_LIVESTREAM=`requestLivestream`,e.GIVE_PRAISE=`givePraise`,e.RAISE_ISSUE=`raiseIssue`,e.OTHER=`other`,e}({}),Fa={[Pa.REQUEST_VIDEO]:{text:`Did you find what you were looking for?`,ctaText:`Request a video`}},Ia={icon:`_icon_1tbm2_1`};function La(e){let t=e.metadata?.feedbackType??Pa.REQUEST_VIDEO,n=Fa[t];return(0,K.jsxs)(`div`,{className:`d-flex align-items-center justify-content-center flex-wrap gap-3 p-3`,children:[(0,K.jsxs)(`div`,{className:`d-flex align-items-center gap-2`,children:[(0,K.jsx)(`img`,{src:e.imageUrls?.telescope,className:`img-fluid ${Ia.icon}`}),(0,K.jsx)(`span`,{children:e.name||n?.text})]}),(0,K.jsx)(f,{appLink:e.appLinks?.giveFeedback?.(t),className:`btn btn-outline-dark`,children:n?.ctaText})]})}function Ra(){return(0,K.jsxs)(`div`,{className:`d-flex align-items-center justify-content-between flex-wrap gap-3 p-3 bg-light rounded-3`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`18rem`,height:`1.5rem`,maxWidth:`60%`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`9rem`,height:`2.5rem`,borderRadius:`0.375rem`}})]})}var za={rowWidth:`_rowWidth_v104l_1`};function Ba(e){function t(){return e.ratingsLength>4?za.rowWidth:e.ratingsLength===4?`col-4 col-md-3`:`col`}return(0,K.jsx)(f,{appLink:e.getAppLink(e.data),className:`${t()} position-relative flex-shrink-0 px-1 mt-1 text-decoration-none`,analyticsData:{...e.analyticsData,code:e.data.code,id:e.data.id},analyticsOptions:{...e.analyticsOptions,entity:T.Rating,actionType:w.Click,location:C.FilterSlidingPillListSmallWidget},children:(0,K.jsx)(`div`,{className:`${be.mapRatingToClass(e.data.value)} py-3 rounded-3`,children:(0,K.jsxs)(`div`,{className:`d-flex justify-content-center align-items-center text-white text-shadow`,children:[(0,K.jsx)(l,{svg:we,size:d.Medium}),(0,K.jsx)(`h4`,{className:`mb-0`,children:e.data.code})]})})})}function Va(e){switch(Dt.getMappedPresentationLevel(e.learningLevel)){case Et.Level_1:return 64;default:return 128}}function Ha(e){let t=Va(e.presentation),n=e.content.filter(e=>e.code&&e.value<t&&e.code!==`E`);return(0,K.jsx)(K.Fragment,{children:(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.Ratings,getChildAppLink:t=>e.appLinks?.rating?.(t,n),collection:n,childComponent:Ba,analyticsData:e.analyticsData,extraChildComponentProps:{ratingsLength:n.length},prefetched:!0})})}function Ua(e){let t=V();function n(){return t.xs||t.sm?3:t.md||t.lg?4:5}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:!0}),(0,K.jsx)(`div`,{className:`row mx-n1`,children:[...Array(n())].map((e,t)=>(0,K.jsx)(`div`,{className:`col px-1`,children:(0,K.jsx)(`div`,{className:`d-inline-block w-100 partial-loading-background rounded-3 pb-5`})},t))})]})}function Wa(e){return(0,K.jsxs)(`div`,{className:`curated-widget-header`,children:[(0,K.jsx)(`h2`,{className:`curated-widget-heading`,children:e.name}),!!e.description&&(0,K.jsx)(`p`,{className:`description curated-widget-description`,children:e.description})]})}function Ga(){return(0,K.jsxs)(`div`,{className:`curated-widget-header`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background curated-widget-heading`,style:{height:`2.099625rem`,width:`16.5rem`,maxWidth:`80%`},children:`\xA0`}),(0,K.jsx)(`div`,{className:`partial-loading-background description curated-widget-description`,style:{width:`21rem`,height:`1.3125rem`,maxWidth:`90%`},children:`\xA0`})]})}var Ka={banner:`_banner_v1f1a_1`,bannerContent:`_bannerContent_v1f1a_4`,cta:`_cta_v1f1a_10`};function qa(e){let t=V();function n(){let t=D.first(e.content);return R.createBannerUrl(t.banner,{fallbackBaseUrl:``,fallbackCategoryName:t.name,type:Me.Banners},{size:L.Large})}function r(){let t=D.first(e.content);return e.appLinks?.classification?.(t)}function i(){let e=`text-white clamp-2`;return t.xs||t.sm?e+=` h4`:t.md?e+=` h3`:e+=` h2`,e+=` text-white`,e}let a={location:C.Classification,actionType:w.Click,entity:T.Classification,descriptor:x.Banner};return(0,K.jsx)(f,{appLink:r(),analyticsData:e.analyticsData,analyticsOptions:a,children:(0,K.jsxs)(`div`,{className:`banner rounded-3 position-relative ${Ka.banner}`,style:{backgroundImage:`url('${n()}')`},children:[e.name&&(0,K.jsx)(`div`,{className:Ka.bannerContent,children:(0,K.jsx)(`p`,{className:i(),children:e.name})}),!!e.metadata?.cta?.text&&(0,K.jsx)(`div`,{className:Ka.cta,children:(0,K.jsx)(`div`,{className:`btn btn-outline-dark text-nowrap`,children:e.metadata?.cta?.text})})]})})}function Ja(){return(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${Ka.banner}`,children:(0,K.jsx)(`div`,{className:`${Ka.bannerContent}`})})}function Ya(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M5.5 5a.5.5 0 0 0-.5.5V10a.5.5 0 0 0 .5.5H10a.5.5 0 0 0 .5-.5V5.5A.5.5 0 0 0 10 5zM4 5.5A1.5 1.5 0 0 1 5.5 4H10a1.5 1.5 0 0 1 1.5 1.5V10a1.5 1.5 0 0 1-1.5 1.5H5.5A1.5 1.5 0 0 1 4 10zM14 5a.5.5 0 0 0-.5.5V10a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5V5.5a.5.5 0 0 0-.5-.5zm-1.5.5A1.5 1.5 0 0 1 14 4h4.5A1.5 1.5 0 0 1 20 5.5V10a1.5 1.5 0 0 1-1.5 1.5H14a1.5 1.5 0 0 1-1.5-1.5zM4 14a1.5 1.5 0 0 1 1.5-1.5H10a1.5 1.5 0 0 1 1.5 1.5v4.5A1.5 1.5 0 0 1 10 20H5.5A1.5 1.5 0 0 1 4 18.5zm1.5-.5a.5.5 0 0 0-.5.5v4.5a.5.5 0 0 0 .5.5H10a.5.5 0 0 0 .5-.5V14a.5.5 0 0 0-.5-.5zm7 .5a1.5 1.5 0 0 1 1.5-1.5h4.5A1.5 1.5 0 0 1 20 14v4.5a1.5 1.5 0 0 1-1.5 1.5H14a1.5 1.5 0 0 1-1.5-1.5zm1.5-.5a.5.5 0 0 0-.5.5v4.5a.5.5 0 0 0 .5.5h4.5a.5.5 0 0 0 .5-.5V14a.5.5 0 0 0-.5-.5z`})})}function Xa(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M4 6.4C4 5.627 4.632 5 5.412 5h13.176C19.368 5 20 5.627 20 6.4v3.733c0 .774-.632 1.4-1.412 1.4H5.412c-.78 0-1.412-.626-1.412-1.4zm1.412-.467c-.26 0-.47.21-.47.467v3.733c0 .258.21.467.47.467h13.176c.26 0 .47-.209.47-.467V6.4a.47.47 0 0 0-.47-.467zM4 13.867c0-.774.632-1.4 1.412-1.4h13.176c.78 0 1.412.627 1.412 1.4V17.6c0 .773-.632 1.4-1.412 1.4H5.412C4.632 19 4 18.373 4 17.6zm1.412-.467c-.26 0-.47.209-.47.467V17.6c0 .258.21.467.47.467h13.176c.26 0 .47-.21.47-.467v-3.733a.47.47 0 0 0-.47-.467z`})})}var Za=function(e){return e.H1=`h1`,e.H2=`h2`,e.H3=`h3`,e.H4=`h4`,e.H5=`h5`,e.H6=`h6`,e}({}),Qa=function(e){return e.Dark=`dark`,e.White=`white`,e}({}),$a=function(e){return e.NewWindow=`new-window`,e.TopicDirectory=`topic-directory`,e.TopicNewReleases=`topic-new-releases`,e.CuratedTopic=`curated-topic`,e}({}),eo={HEADING:{SIZES:[{value:`h1`,name:`Heading 1`},{value:`h2`,name:`Heading 2`},{value:`h3`,name:`Heading 3`},{value:`h4`,name:`Heading 4`},{value:`h5`,name:`Heading 5`},{value:`h6`,name:`Heading 6`}],COLOR:[{value:`dark`,name:`Dark`},{value:`white`,name:`White`}]},BUTTON:{ICONS:[{value:`new-window`,name:`New Window`},{value:null,name:`No icon`}],STYLES:[{value:`btn-outline-dark`,name:`Light`},{value:`btn-dark`,name:`Dark`}]}},to={"new-window":me,"topic-directory":Ya,"topic-new-releases":Qt,"curated-topic":Xa},no={h1:`h1`,h2:`h2`,h3:`h3`,h4:`h4`,h5:`h5`,h6:`h6`,dark:`text-dark`,white:`text-white`},ro={cta:`_cta_6olh8_1`,banner:`_banner_6olh8_6`,bannerImage:`_bannerImage_6olh8_12`,blurb:`_blurb_6olh8_22`,presentations:`_presentations_6olh8_28`,bannerContent:`_bannerContent_6olh8_49`};function io(e){function t(){return R.getUrlById(e.imageCdnUrl,Me.Banners,e.metadata.imageId,L.Large)}function n(e,t){e.preventDefault(),a.PageLoad(t,!0)}let r=no[e.metadata.theming?.headingSize||Za.H6],i=no[e.metadata.theming?.headingColor||Qa.Dark],o=e.metadata.subtitle;return(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${ro.banner}`,children:(0,K.jsx)(`div`,{className:`${ro.bannerImage} ${ro.blurb} d-flex`,style:{backgroundImage:`url('${t()}')`},children:e.name&&(0,K.jsxs)(`div`,{className:`${ro.bannerContent} ${e.widgetTypeId===I.Blurb?ro.blurb:``} d-flex justify-content-between w-100 px-3`,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`p`,{className:`${r} ${i} mb-0`,children:e.name}),o?.text&&(o?.href?(0,K.jsx)(`a`,{className:A(i,`fw-light mb-0`),href:o.href,onClick:e=>n(e,o.href),children:(0,K.jsx)(`u`,{children:o.text})}):(0,K.jsx)(`span`,{className:A(i,`fw-light mb-0`),children:o.text}))]}),e.metadata.cta?.text&&(e.metadata?.cta?.icon===$a.NewWindow?(0,K.jsx)(Ge,{svg:me,className:A(`btn text-nowrap`,e.metadata?.cta?.style??`btn-dark`),href:e.metadata.cta.href,openInNewTab:!0,children:e.metadata.cta.text}):(0,K.jsx)(`a`,{className:A(`btn`,e.metadata?.cta?.style??`btn-dark`),href:e.metadata.cta.href,onClick:t=>n(t,e.metadata.cta.href),children:e.metadata.cta.text}))]})})})}var ao={banner:`_banner_1woia_1`,bannerImage:`_bannerImage_1woia_7`};function oo(e){if(!e.cta?.text)return(0,K.jsx)(`div`,{});let t=`btn btn-outline-dark text-nowrap me-3`;return e.cta?.icon?(0,K.jsx)(Ge,{svg:to[e.cta.icon],className:t,openInNewTab:!0,children:e.cta.text}):(0,K.jsx)(`div`,{className:t,children:e.cta.text})}function so(e){return(0,K.jsx)(f,{appLink:e.appLink,className:`text-decoration-none`,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${ao.banner}`,children:(0,K.jsxs)(`div`,{className:`${ao.bannerImage} d-flex justify-content-between align-items-center`,style:e.style,children:[!!e.heading&&(0,K.jsx)(`div`,{className:`d-flex align-items-center ps-3 h-100`,children:(0,K.jsx)(`h2`,{className:`text-white text-shadow h4 clamp-1`,children:e.heading})}),(0,K.jsx)(oo,{cta:e.cta})]})})})}function co(e){let t=D.first(e.content);function n(){return R.createBannerUrl(t.banner,{fallbackBaseUrl:``,fallbackCategoryName:t.name,type:Me.Banners},{size:L.Large})}let r={location:C.Classification,actionType:w.Click,entity:T.Classification,descriptor:x.Banner};return(0,K.jsx)(so,{heading:e.name,appLink:e.appLinks?.classification?.(t),analyticsData:e.analyticsData,analyticsOptions:r,style:{backgroundImage:`url('${n()}')`,backgroundSize:`100%`},cta:e.metadata?.cta})}function lo(e){let t=e.hasPermissions(We.ManageSubjectPreferences)||e.hasLocalPermissions(Ue.ManagePublicPresentation);function n(){return R.getUrlById(e.imageCdnUrl,Me.Banners,e.metadata.imageId,L.Large)}function r(t){let n={middlewareOptions:{presentationSlug:t?.vanitySlug}},r={...e.analyticsData,id:t.id,presentationName:t.name},i={entity:T.Presentation,actionType:w.Click,location:C.HeroBannerSmallWidget};return(0,K.jsx)(f,{className:`info-link d-inline`,appLink:e.appLinks?.discover?.(),appLinkOptions:n,analyticsData:r,analyticsOptions:i,children:t.name})}function i(){return e.content.length===1?r(e.content[0]):e.content.length===2?(0,K.jsxs)(K.Fragment,{children:[r(e.content[0]),` or `,r(e.content[1])]}):(0,K.jsxs)(K.Fragment,{children:[e.content.slice(0,e.content.length-1).map(e=>(0,K.jsxs)(G.Fragment,{children:[r(e),`, `]},e.id)),`or `,r(D.last(e.content))]})}let a=e.name;return t?(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${ro.banner}`,children:(0,K.jsx)(`div`,{className:`${ro.bannerImage} ${ro.presentations}`,style:{backgroundImage:`url('${n()}')`},children:a&&(0,K.jsx)(`div`,{className:`${ro.bannerContent} ${ro.presentations} px-3`,children:(0,K.jsxs)(`p`,{className:`h6 mb-0`,children:[a,` `,i(),`.`]})})})}):(0,K.jsx)(K.Fragment,{})}function uo(e){switch(e.widgetTypeId){case I.Blurb:return(0,K.jsx)(io,{...e,content:e.content});case I.Presentations:return(0,K.jsx)(lo,{...e,content:e.content});default:return(0,K.jsx)(co,{...e,content:e.content})}}function fo(){return(0,K.jsx)(`div`,{className:`banner rounded-3 position-relative ${ro.banner}`,children:(0,K.jsx)(`div`,{className:`${ro.bannerContent}`})})}function po(e){let t=D.first(e.content),n=V();function r(){switch(e.metadata?.cta?.appLink){case h.TopicDirectory:return e.appLinks?.classificationDirectory?.(t);case h.CuratedTopic:return e.appLinks?.classification?.(t);case h.TopicNewReleases:return e.appLinks?.classification?.(t)}return null}let i={id:t.id,name:t.name,presentationId:t.presentationId},a={location:C.ClassificationListItem,actionType:w.Click,entity:T.Classification,descriptor:x.Thumbnail};return(0,K.jsx)(so,{heading:e.name,appLink:r(),analyticsData:i,analyticsOptions:a,style:{backgroundColor:t.metadata?.backgroundColor,backgroundSize:`100%`},cta:n.xs?null:e.metadata?.cta})}function mo(){return(0,K.jsx)(fo,{})}var ho=`shared.heroThumbnailSmall`;function go(e){let t=e.content?.[0],n=`thumbnail`in t&&R.createUrl(t.thumbnail?.url,{size:L.Medium}),r=`metadata`in t&&t.metadata?.backgroundColor,i={backgroundColor:r,backgroundSize:`50%`};n&&(i.backgroundImage=`url('${n}')`);let a={...e.analyticsData,id:t.id,name:t.name,presentationId:`presentationId`in t&&t.presentationId},o={location:C.ClassificationListItem,actionType:w.Click,entity:T.Classification,descriptor:x.Thumbnail};return!n||!r?(0,K.jsx)(uo,{...e}):(0,K.jsx)(so,{heading:e.name,appLink:e.appLinks?.classification?.(t),analyticsData:a,analyticsOptions:o,style:i,cta:{text:j.getPhrase(ho,`buttonLabel`),...e.metadata?.cta??{}}})}function _o(){return(0,K.jsx)(fo,{})}function vo(e){return(0,K.jsxs)(`div`,{className:`col-${e.colSize} px-1`,children:[(0,K.jsx)(`div`,{className:`d-inline-block w-100 partial-loading-background rounded-3`,style:{paddingBottom:`56.25%`}}),(0,K.jsxs)(`div`,{className:`mt-2`,children:[(0,K.jsx)(`div`,{style:{height:`1.4rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.1rem`,width:`70%`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.33875rem`,width:`80%`}})]})]})}function yo(e){return(0,K.jsx)(Xn,{size:`lg`,childComponent:vo,name:e.name,description:e.description,isPreviewing:e.isPreviewing})}var bo=`widgets.popoutThumbnailSlidingListLarge`;function xo(e){let t=fe[e.widgetTypeId],n=_.getVideoContent(e.content);function r(t,n){e.onClickRemoveItem?.(t,n,e.id,e.widgetTypeId)}return(0,K.jsx)(Y,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:W.LargeRow,contents:J.Videos,collection:n,childComponent:$n,extraChildComponentProps:{presentationAudiences:e.audiences,hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,showVideoGuidance:z.showVideoGuidance(e.hasPermissions),showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:_.showRemoveButton(e.widgetTypeId)&&r,removeButtonTooltip:_.showRemoveButton(e.widgetTypeId)?j.getPhrase(bo,`removeFromWatchHistory`):``,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name),isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,isUpselling:e.isUpselling})}function So(e){return(0,K.jsxs)(`div`,{className:`col-${e.colSize} px-1`,children:[(0,K.jsx)(`div`,{className:`d-inline-block w-100 partial-loading-background rounded-3`,style:{paddingBottom:`56.25%`}}),(0,K.jsxs)(`div`,{className:`mt-2`,children:[(0,K.jsx)(`div`,{style:{height:`1.4rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.1rem`,width:`70%`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.33875rem`,width:`80%`}})]})]})}function Co(e){return(0,K.jsx)(Xn,{size:`sm`,childComponent:So,name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:e.hideDescription,hideHeading:e.hideHeading})}var wo={isNew:`_isNew_c6ymw_1`,newVideos:`_newVideos_c6ymw_5`,badge:`_badge_c6ymw_9`,icon:`_icon_c6ymw_12`},To=j.encloseNamespace(`shared.subjectStatsBadge`);function Eo(e){function t(){let t=`fw-semibold d-inline-block rounded-pill px-2 ${wo.badge}`;switch(e.badgeType){case`coming-soon`:return t+` bg-light ps-1 d-inline-flex align-items-center`;case`new-topic`:return t+` ${wo.isNew}`;case`new-videos`:return t+` ${wo.newVideos}`;default:return``}}function n(){switch(e.badgeType){case`coming-soon`:return To(`comingSoon`);case`new-topic`:return To(`new`);case`new-videos`:return To(`newVideos`,{smartCount:e.newVideoCount});default:return``}}return(0,K.jsxs)(`div`,{className:t(),children:[e.badgeType===`coming-soon`&&(0,K.jsx)(l,{svg:Ie,className:`svg-container ${wo.icon}`,size:d.ExtraSmall}),n()]})}var Do=`widgets.popoutThumbnailSlidingListSmall`;function Oo(e){if(e.isTertiaryCustomerWithoutExchange||e.widgetTypeId!==I.ClassificationLatestReleasedVideosV2||!e.classification)return(0,K.jsx)(K.Fragment,{});let{childDashboardNewVideoCount:t}=Dt.getCounts(e.classification);return t?(0,K.jsx)(`div`,{className:`ms-2`,children:(0,K.jsx)(Eo,{badgeType:`new-videos`,newVideoCount:t})}):(0,K.jsx)(K.Fragment,{})}function ko(e){let t=fe[e.widgetTypeId],n=_.getVideoContent(e.content);function r(t,n){e.onClickRemoveItem?.(t,n,e.id,e.widgetTypeId)}return(0,K.jsx)(Y,{id:e.id,name:!e.metadata?.hideWidgetHeading&&e.name,description:!e.metadata?.hideWidgetDescription&&e.description,type:W.Row,contents:J.Videos,collection:n,childComponent:$n,extraChildComponentProps:{presentationAudiences:e.audiences,hideTitle:e.metadata?.hideObjectTitle,hideSeries:e.metadata?.hideObjectSeries,showVideoGuidance:z.showVideoGuidance(e.hasPermissions),preventPopout:e.preventPopout,showNewVideoIndicator:e.settings?.hasTopicDirectories,onClickRemoveItem:_.showRemoveButton(e.widgetTypeId)&&r,removeButtonTooltip:_.showRemoveButton(e.widgetTypeId)?j.getPhrase(Do,`removeFromWatchHistory`):``,commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:t.getCollectionAppLink?.(e.appLinks,e.content)??e.appLinks?.widgetVideoList?.(e.id,e.name),isPreviewing:e.isPreviewing,widgetTypeId:e.widgetTypeId,headingBadgeComponent:(0,K.jsx)(Oo,{...e}),isUpselling:e.isUpselling})}var Ao={largeSeriesItem:`_largeSeriesItem_rdvk7_1`,smallSeriesItem:`_smallSeriesItem_rdvk7_14`,partialLoading:`_partialLoading_rdvk7_37`};function jo(){let e=V();return e.xs?2:e.sm?3:4}var Mo=e=>{let t=jo();return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(`div`,{className:`row mb-n2`,children:[...Array(t)].map((e,t)=>(0,K.jsx)(`div`,{className:`col-6 col-sm-4 col-md-3 col-lg-3 pb-2`,children:(0,K.jsx)(`div`,{className:`${Ao.partialLoading} partial-loading-background rounded-3`})},t))})]})},No={labelContainer:`_labelContainer_1rf8p_1`,labelContainerOverlay:`_labelContainerOverlay_1rf8p_15`,hoverActive:`_hoverActive_1rf8p_23`,mask:`_mask_1rf8p_37`,largeHoverTitle:`_largeHoverTitle_1rf8p_50`,smallHoverTitle:`_smallHoverTitle_1rf8p_69`,description:`_description_1rf8p_93`,largeHoverDescription:`_largeHoverDescription_1rf8p_99`,hasTableOfContents:`_hasTableOfContents_1rf8p_141`,smallHoverDescription:`_smallHoverDescription_1rf8p_194`};function Po(e){return(0,K.jsxs)(`div`,{className:`py-3 mx-2 px-2 rounded bg-white text-center ${No.mask} d-flex flex-column align-items-center`,children:[(0,K.jsx)(`h3`,{className:`fw-semibold mb-0 ${No.hoverTitle} ${e.isSmall?No.smallHoverTitle:No.largeHoverTitle}`,children:(0,K.jsx)(`span`,{className:`clamp-3`,children:e.series.name})}),!!e.series.description&&(0,K.jsx)(`p`,{className:`${e.hasTableOfContents?No.hasTableOfContents:``} ${No.hoverDescription} ${e.isSmall?No.smallHoverDescription:No.largeHoverDescription} mb-0`,children:e.series.description}),(0,K.jsx)(`div`,{className:`${No.labelContainerOverlay}`,children:e.mergedAudience?(0,K.jsx)(st,{audience:e.mergedAudience,border:`dark`,className:`mt-2 w-fit`}):(0,K.jsx)(xe,{type:ye.Rating,data:pt.getRating(e.series),className:`mt-2`})})]})}function Fo(e){let[t,n]=vt({className:No.hoverActive}),r=e.series&&e.series.subjectPresentationAudiences&&e.series.subjectPresentationAudiences.data||[],i=bt(r,e.presentationAudiences),a=!!(r&&r.length&&i);return(0,K.jsx)(`div`,{ref:t,children:(0,K.jsxs)(Fe,{data:e.series.tallPoster,alt:e.series.name,imageType:Me.TallPosters,preload:e.preloadImage,imageOptions:{size:L.Large},imageClassName:e.imageClass?e.imageClass:`rounded-3`,children:[n&&(0,K.jsx)(Po,{isSmall:e.isSmall,series:e.series,mergedAudience:r&&r.length?i:null,hasTableOfContents:e.hasTableOfContents}),(0,K.jsx)(ve,{type:ge.Series}),(0,K.jsx)(`div`,{className:`position-absolute text-white ${No.labelContainer}`,children:a?(0,K.jsx)(st,{audience:i,className:`bg-white text-dark`,border:`dark`}):(0,K.jsx)(xe,{className:`text-shadow`,type:ye.Rating,data:pt.getRating(e.series)})})]})})}function Io(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(`ul`,{className:`list-unstyled mx-n1 mb-n2 row`,children:e.content.map(t=>(0,K.jsx)(`li`,{className:`px-1 col-lg-3 col-md-4 col-sm-6 col-xs-12`,children:(0,K.jsx)(f,{appLink:e.appLinks.series(t),className:`d-block mb-2`,analyticsData:{...e.analyticsData,id:t.id,name:t.name},analyticsOptions:{entity:T.Series,actionType:w.Click,descriptor:x.TallPoster,location:C.PosterFixedListLargeWidget},children:(0,K.jsx)(Fo,{series:t,presentationAudiences:e.audiences,preloadImage:!1})})},t.id))})]})}function Lo(e){let{data:t}=e,n={...e.analyticsData,id:t?.id,name:t?.name},r={...e.analyticsOptions,actionType:w.Click,entity:T.Series,descriptor:x.TallPoster};return(0,K.jsx)(f,{appLink:e.getAppLink(t),className:`position-relative px-1 flex-shrink-0 ${e.isSmall?Ao.smallSeriesItem:Ao.largeSeriesItem} `,analyticsData:n,analyticsOptions:r,children:(0,K.jsx)(Fo,{series:t,presentationAudiences:e.audiences,preloadImage:e.preloadImage,isSmall:e.isSmall,hasTableOfContents:e.hasTableOfContents})},t.id)}function Ro(e){return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.Series,collection:e.content,childComponent:Lo,extraChildComponentProps:{audiences:e.audiences,hasTableOfContents:e.hasTableOfContents},getChildAppLink:t=>e.appLinks?.series?.(t),appLink:e.seeMoreLink,showSeeMoreLink:!!e.seeMoreLink,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,headingBadgeComponent:e.badgeComponent})}var zo={slidingSubjectSmall:`_slidingSubjectSmall_rgvzf_1`,slidingSubjectLarge:`_slidingSubjectLarge_rgvzf_26`,heading:`_heading_rgvzf_46`,posterContainer:`_posterContainer_rgvzf_71`,partialLoading:`_partialLoading_rgvzf_75`,labelContainer:`_labelContainer_rgvzf_80`};function Bo(e){let t=V();return t.xs?2:t.sm?3:t.md?4:t.lg||e===W.LargeRow?5:6}var Vo=e=>(0,K.jsx)(`div`,{className:`${e.type===W.Row?zo.slidingSubjectSmall:zo.slidingSubjectLarge} px-1`,children:(0,K.jsx)(`div`,{className:`${zo.partialLoading} partial-loading-background rounded-3`})});function Ho(e){let t=Bo(e.type),n=[];for(let r=0;r<t;r++)n.push((0,K.jsx)(Vo,{type:e.type},r));return(0,K.jsxs)(`div`,{className:`pb-3`,children:[(0,K.jsx)(q,{}),(0,K.jsx)(`div`,{className:`row g-0 mx-n1`,children:n})]})}function Uo(e){let{data:t,preloadImage:n}=e,r={...e.analyticsOptions,entity:T.Classification,actionType:w.Click,descriptor:x.TallPoster};function i(){let t=zo.posterContainer;return e.context.type===W.Row?t+=` ${zo.slidingSubjectSmall}`:t+=` ${zo.slidingSubjectLarge}`,t}return(0,K.jsx)(`div`,{className:i(),children:(0,K.jsxs)(Fe,{data:t.tallPoster,alt:t.name,appLink:e.getAppLink(t),imageType:Me.TallPosters,preload:n,imageOptions:{size:L.Medium},imageClassName:`rounded-3`,analyticsData:e.analyticsData,analyticsOptions:r,children:[(0,K.jsx)(ve,{type:ge.TallSubject}),(0,K.jsx)(`h3`,{className:`px-2 ${zo.heading}`,children:t.name})]})})}function Wo(){return(0,K.jsx)(Ho,{type:W.LargeRow})}function Go(e){return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.LargeRow,contents:J.Subjects,collection:e.content,childComponent:Uo,getChildAppLink:t=>e.appLinks?.classification?.(t),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData})}var Ko=`explore-all-topics`;function qo(e){if(e.metadata?.text||e.metadata?.imageId)return{id:e.metadata?.appLink===g.ExploreAllTopics?Ko:``,name:e.metadata?.text,tallPoster:{url:e.metadata?.imageId?R.getUrlById(e.imageCdnUrl,Me.TallPosters,e.metadata.imageId,L.Medium):``}}}function Jo(e){let t=qo(e),n=_.getCustomAppLink(e);return(0,K.jsx)(`div`,{children:(0,K.jsx)(Y,{id:e.id,name:e.name,appLink:n,description:e.description,type:W.Row,contents:J.Subjects,collection:t?[t,...e.content]:e.content,childComponent:Uo,extraChildComponentProps:{audiences:e.audiences},getChildAppLink:t=>t.id?t.id===Ko?e.appLinks?.allTopics?.(e.presentation.id):e.appLinks?.classification?.(t):null,analyticsData:e.analyticsData,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight})})}function Yo(){return(0,K.jsx)(Ho,{type:W.Row})}function Xo(e){return(0,K.jsx)(`div`,{children:(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.SmallSeries,collection:e.content,childComponent:Lo,extraChildComponentProps:{audiences:e.audiences,isSmall:!0},getChildAppLink:e.appLinks?.series,analyticsData:e.analyticsData,prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight})})}var Zo={question:`_question_bdb62_1`,partialQuestion:`_partialQuestion_bdb62_8`,description:`_description_bdb62_12`};function Qo(){return(0,K.jsxs)(`div`,{className:`${Zo.partialQuestion} rounded-3`,children:[(0,K.jsx)(`div`,{className:`mb-2 partial-loading-background`,style:{height:`1.5rem`,width:`75%`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.2rem`,width:`100%`}})]})}var $o={question:`_question_1wrw2_1`,disabled:`_disabled_1wrw2_5`,partialQuestion:`_partialQuestion_1wrw2_18`,description:`_description_1wrw2_22`},es=`1.2rem`,ts=500;function ns(e){let[t,n]=Re(`should:expand:${e.id}`,e.isBot,{storage:b.LocalStorage}),[r,a]=G.useState(t?`100%`:es),[o,s]=G.useState(!t),[u,d]=G.useState(!0),[f,p]=G.useState(null),m=Ke(),h=G.useRef(null),g=G.useRef(null),_=G.useRef(null),v=G.useCallback(()=>{if(!f||!g.current)return;let e=document.createElement(`p`);e.innerHTML=f,e.className=`mb-0 ${jt.getContainerClass()}`,e.style.visibility=`hidden`,g.current.appendChild(e);let t=e.clientHeight;g.current.removeChild(e);let n=document.createElement(`p`);n.innerHTML=` `,n.className=`mb-0 ${jt.getContainerClass()}`,n.style.visibility=`hidden`,g.current.appendChild(n);let r=n.clientHeight;g.current.removeChild(n),d(t>r+5)},[f]);function ee(n){u&&(jt.isLink(n.target)||window.getSelection().toString().length===0&&(E.logUserAction({...e.analyticsData,question:e.question,answer:e.answer},{...e.analyticsOptions,entity:T.Faq,actionType:w.Click,descriptor:t?x.Collapse:x.Expand,location:C.FaqQuestionWidget}),t?y():te()))}function te(){ne(),n(!0),window.clearTimeout(h.current),s(!1)}function y(){a(es),n(!1),h.current=window.setTimeout(()=>{s(!0)},ts)}function ne(){let e=document.createElement(`p`);e.innerHTML=f,e.style.visibility=`hidden`,g.current.appendChild(e),a(`${e.clientHeight}px`),g.current.removeChild(e)}return G.useEffect(()=>{async function n(){let n=await jt.parse(e.answer,{focusableLinks:t});if(m.current){if(f===null){p(n);return}f!==n&&(f&&t&&y(),p(n))}}n()},[e.answer]),G.useEffect(()=>{r!==`100%`||!_.current||a(_.current.clientHeight+`px`)},[r]),G.useEffect(()=>{v()},[v]),Vt(()=>{t&&y()},v,[t,v]),!e.question||!f?(0,K.jsx)(K.Fragment,{}):(0,K.jsxs)(c,{className:A($o.question,`rounded-3`,!u&&$o.disabled),onClick:ee,children:[(0,K.jsxs)(`div`,{className:`pb-3`,children:[(0,K.jsx)(`div`,{className:`float-end rounded-circle bg-white`,children:u&&(0,K.jsx)(l,{svg:t?xt:pe})}),(0,K.jsx)(`h2`,{className:`h4 mb-0 clear-end`,children:e.question})]}),(0,K.jsxs)(`div`,{className:$o.description,style:{height:r},children:[(0,K.jsx)(`p`,{className:`mb-0 ${o?`clamp-1`:``} ${jt.getContainerClass()}`,dangerouslySetInnerHTML:{__html:i.sanitize(f)},ref:_}),(0,K.jsx)(`div`,{ref:g})]})]})}function rs(e){let{question:t,answer:n}=D.first(e.content);return(0,K.jsx)(ns,{id:e.id,answer:n,question:t,isBot:e.isBot,analyticsData:e.analyticsData})}var is={question:`_question_158ta_1`,padding:`_padding_158ta_7`,partialQuestion:`_partialQuestion_158ta_10`,description:`_description_158ta_13`};function as(){return(0,K.jsx)(`div`,{className:`${is.partialQuestion} ${is.padding} rounded-2 mb-2`,children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.5rem`,width:`75%`}})})}function os(){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`div`,{className:`partial-loading-background mb-2`,style:{height:`2rem`,width:`30%`}}),(0,K.jsxs)(`div`,{className:`mb-n2`,children:[(0,K.jsx)(as,{}),(0,K.jsx)(as,{}),(0,K.jsx)(as,{})]})]})}function ss(e){let t=Ot();G.useEffect(()=>{if(!e.faqs?.length||!t.hasProvider)return;async function n(){let n=await At.buildFaqJsonLd(e.faqs,e.widgetName);t.setFaq(n)}n()},[e.faqs,e.widgetName,t.hasProvider])}var cs=`0px`;function ls(e){let[t,n]=Re(`should:expand:${e.id}`,e.isBot,{storage:b.LocalStorage}),[r,i]=G.useState(t?`100%`:cs),[a,o]=G.useState(null),s=G.useRef(null),u=G.useRef(null),d=Ke();function f(n){jt.isLink(n.target)||window.getSelection().toString().length===0&&(E.logUserAction({...e.analyticsData,...e.faq,questionIndex:e.index},{entity:T.Faq,actionType:w.Click,descriptor:t?x.Collapse:x.Expand,location:C.FaqQuestionAccordionWidget}),t?m():p())}async function p(){h(),n(!0);let t=await jt.parse(e.faq?.answer,{focusableLinks:!0});d.current&&o(t)}async function m(){i(cs),n(!1);let t=await jt.parse(e.faq?.answer,{focusableLinks:!1});d.current&&o(t)}function h(){let e=document.createElement(`p`);e.innerHTML=a,e.style.visibility=`hidden`,e.classList.add(`py-1`),s.current.appendChild(e),i(`${e.clientHeight-10}px`),s.current.removeChild(e)}if(G.useEffect(()=>{async function n(){let n=await jt.parse(e.faq?.answer,{focusableLinks:t});d.current&&(o(n),t&&h())}n()},[e.faq?.answer]),Vt(()=>{t&&m()},null,[t]),!e.faq?.question||!e.faq?.answer)return(0,K.jsx)(K.Fragment,{});let g=`question-${e.id}`,_=`answer-${e.id}`;return(0,K.jsxs)(c,{onClick:f,"aria-expanded":t,"aria-controls":_,className:`${is.question} rounded-2`,children:[(0,K.jsxs)(`div`,{className:`d-flex align-items-center ${is.padding}`,children:[(0,K.jsx)(`div`,{className:`rounded-circle bg-white me-2`,children:(0,K.jsx)(l,{svg:t?xt:pe})}),(0,K.jsx)(`h3`,{className:`mb-0 font-size-normal fw-normal`,id:g,children:e.faq.question})]}),(0,K.jsxs)(`div`,{className:`${is.description}`,style:{height:r},id:_,"aria-labelledby":g,"aria-live":`polite`,"aria-hidden":!t,children:[(0,K.jsx)(`p`,{className:`mb-0 py-1 ${jt.getContainerClass()}`,dangerouslySetInnerHTML:{__html:a},ref:u}),(0,K.jsx)(`div`,{ref:s,"aria-hidden":!0,className:jt.getContainerClass()})]})]})}function us(e){return ss({faqs:e.content,widgetName:e.name}),e.content.length?(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(`h2`,{className:`curated-widget-heading`,children:e.name}),(0,K.jsx)(`ul`,{className:`list-unstyled mb-n2`,children:e.content.map((t,n)=>(0,K.jsx)(`li`,{className:`mb-2`,children:(0,K.jsx)(ls,{id:`${e.id}:${n}`,faq:t,index:n,analyticsData:e.analyticsData,isBot:e.isBot},n)},n))})]}):(0,K.jsx)(K.Fragment,{})}function ds(e){let t=ht(e.name,gt),n={backgroundImage:e.logoUrl?`url('${e.logoUrl}')`:null,backgroundColor:e.bgColor};return(0,K.jsx)(`div`,{className:A(`rounded-3 w-100 h-full`,`ratio ratio-16x9 bg-no-repeat bg-contain bg-center bg-clip-padding`,!e.bgColor&&t,e.classNames?.container),style:n,children:!e.logoUrl&&(0,K.jsx)(`div`,{className:`d-flex align-items-center justify-content-center w-100 h-100`,children:(0,K.jsx)(`span`,{className:A(`text-white text-center fs-5 fw-semibold text-decoration-none text-truncate p-2`,e.classNames?.text),children:e.name})})})}var fs=function(e){return e[e.SystemGenerated=1]=`SystemGenerated`,e[e.Curated=2]=`Curated`,e[e.Spotlight=3]=`Spotlight`,e}({}),ps=j.encloseNamespace(`shared.rectangularLogoWidgetItem`);function ms(e){return e.company?T.Company:T.Person}function hs(e){return e.partnerType===fs.Spotlight?ps(`featured`,{name:e.name}):e.partnerType===fs.Curated?ps(`curated`,{name:e.name}):e.name}function gs(e){let{partner:t,appLink:n}=e,r={...e.analyticsData,id:t.id,name:t.name,entity:ms(t)},i={...e.analyticsOptions,location:C.RectangularLogoSlidingListWidget,actionType:w.Click,entity:T.Person},a=t._logo?.value?.url?{url:R.createUrl(t._logo.value.url,{size:L.Medium}),bgColor:t._colour?.value}:void 0;return{name:t.name,logo:a,appLink:n,analyticsData:r,analyticsOptions:i,title:hs(t)}}function _s(e){return(0,K.jsxs)(f,{appLink:e.appLink,className:`position-relative px-1 flex-shrink-0 col-6 col-md-3 col-lg-2`,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,title:e.title,children:[(0,K.jsx)(ds,{logoUrl:e.logo?.url,bgColor:e.logo?.bgColor,name:e.name}),(0,K.jsx)(`h2`,{className:`h6 mt-2`,children:e.name})]})}function vs(e){return(0,K.jsx)(_s,{...gs({analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,partner:e.data,appLink:e.getAppLink(e.data)})})}function ys(e){return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.PartnerProfiles,collection:e.content,childComponent:vs,extraChildComponentProps:{},prefetched:!0,showSeeMoreLink:!0,hideBleedingContent:e.showHighlight,analyticsData:e.analyticsData,getChildAppLink:e.appLinks?.partner,appLink:e.appLinks?.partnerHome?.()})}function bs(){return(0,K.jsxs)(`div`,{className:`d-flex flex-row gap-1`,children:[(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`12rem`,height:`1.25rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`3rem`,height:`1.25rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`1rem`,height:`1.25rem`}}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{width:`4rem`,height:`1.25rem`}})]})}var xs=`shared.searchSuggestionsBlurbWidgetTemplate`,Ss=j.encloseNamespace(xs),Cs=2;function ws(e){return(0,K.jsxs)(K.Fragment,{children:[`"`,(0,K.jsx)(f,{appLink:e.appLink,appLinkOptions:{replace:!0},children:(0,K.jsx)(`span`,{className:`text-info hover-text-underline cursor-pointer`,children:e.name})}),`"`]})}function Ts(e){let t=e.content.splice(0,Cs);return t.length?(0,K.jsxs)(`div`,{className:`rounded-2`,children:[(0,K.jsx)(M,{phrase:`prompt`,namespace:xs}),`\xA0`,t.map((n,r)=>{let i=t.length-1===r;return(0,K.jsxs)(G.Fragment,{children:[(0,K.jsx)(ws,{appLink:e.appLinks.searchHome({query:n.name},{replace:!1}),name:n.name}),i?`?`:(0,K.jsxs)(K.Fragment,{children:[`\xA0`,Ss(`or`),`\xA0`]})]},n.name)})]}):(0,K.jsx)(K.Fragment,{})}var Es={container:`_container_13te1_1`,bellContainer:`_bellContainer_13te1_4`,bell:`_bell_13te1_4`,followed:`_followed_13te1_22`,bellOutline:`_bellOutline_13te1_26`,cover:`_cover_13te1_33`,fallbackImage:`_fallbackImage_13te1_38`,subText:`_subText_13te1_43`};function Ds(){return(0,K.jsxs)(`div`,{className:`d-flex`,children:[(0,K.jsx)(`div`,{className:`${Es.cover} me-2 rounded overflow-hidden border rounded d-inline-block`,children:(0,K.jsx)(`div`,{className:Es.partialIcon,children:(0,K.jsx)(ve,{type:ge.Subject})})}),(0,K.jsxs)(`div`,{className:`d-inline-block`,style:{flexBasis:`50%`},children:[(0,K.jsx)(`div`,{className:`partial-loading-background mt-1`,style:{height:`19px`,width:`100%`}}),(0,K.jsx)(`div`,{className:`partial-loading-background mt-1`,style:{height:`16.5px`,width:`75%`}})]})]})}function Os(e){return(0,K.jsxs)(`div`,{className:`py-2`,children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(k,{className:`g-0`,children:[,,,,,,].fill(null).map((e,t)=>(0,K.jsx)(O,{xs:12,sm:6,lg:4,children:(0,K.jsx)(`div`,{className:`position-relative mb-2`,children:(0,K.jsx)(Ds,{})})},t))})]})}function ks(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M10.33 5.26c-1.023.373-1.72 1.155-2.158 2.369-.466 1.29-.655 3.104-.67 5.533-.002.112-.038.22-.102.305L5.08 16.56A.9.9 0 0 0 5.8 18h3.306q.049.13.112.251c.13.255.32.53.566.784.493.51 1.241.965 2.216.965s1.723-.455 2.216-.965c.246-.255.436-.53.566-.784a3 3 0 0 0 .112-.251H18.2a.9.9 0 0 0 .72-1.44l-2.32-3.093a.5.5 0 0 1-.101-.305c-.018-2.27-.214-4.07-.695-5.392-.447-1.232-1.157-2.09-2.211-2.498a1.8 1.8 0 0 0-.352-.722c-.28-.34-.7-.55-1.24-.55s-.965.208-1.261.53a1.9 1.9 0 0 0-.41.73M13.77 18a2.4 2.4 0 0 1-.274.34c-.353.365-.855.66-1.497.66s-1.144-.295-1.497-.66a2.4 2.4 0 0 1-.274-.34z`})})}function As(e){return(0,K.jsx)(`svg`,{...e,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M8.172 7.629c.438-1.214 1.135-1.996 2.157-2.369a1.9 1.9 0 0 1 .41-.73C11.037 4.208 11.462 4 12 4c.542 0 .96.21 1.241.55.182.22.291.474.352.722 1.054.409 1.764 1.266 2.211 2.498.48 1.323.677 3.122.695 5.392 0 .112.037.22.101.305l2.32 3.093A.9.9 0 0 1 18.2 18h-3.306a3 3 0 0 1-.112.251c-.13.255-.32.53-.566.784-.493.51-1.241.965-2.216.965s-1.723-.455-2.216-.965a3.3 3.3 0 0 1-.566-.784A3 3 0 0 1 9.106 18H5.8a.9.9 0 0 1-.72-1.44l2.32-3.093a.5.5 0 0 0 .101-.305c.016-2.429.205-4.243.67-5.533M18 17l-2.2-2.933a1.5 1.5 0 0 1-.301-.898c-.017-2.241-.215-3.9-.635-5.058-.411-1.134-1.016-1.738-1.854-1.981A3.6 3.6 0 0 0 12 6a4.2 4.2 0 0 0-1.115.132c-.809.223-1.381.752-1.773 1.836-.404 1.12-.595 2.79-.61 5.2-.003.321-.106.638-.302.899L6 17zm-7.771 1c.074.112.166.228.274.34.353.365.855.66 1.497.66s1.144-.295 1.497-.66c.108-.112.2-.228.274-.34z`})})}var js=j.encloseNamespace(`shared.subjectStatsWidgetItem`);function Ms(e){let[t,n]=G.useState(!1),r=e.classification?.status===y.ComingSoon,i=Dt.isFollowing(e.classification),{dashboardNewVideosCount:a,childDashboardNewVideoCount:o,dashboardResourceCount:s,childDashboardResourceCount:u,dashboardVideoCount:d,childDashboardVideoCount:p,childClassificationCount:m}=Dt.getCounts(e.classification),h=d+p,g=s+u,_=a+o;function v(t){t.stopPropagation(),t.preventDefault(),e.canFollowTopics&&e.onToggleFollowClassification?.(e.classification,C.SubjectStatsWidgetItem)}function ee(){if(e.classification.status===y.ComingSoon||e.hideCounts)return``;let t=``;if(h&&(t+=`${js(`videos`,{smartCount:h})} `),g&&(t+=` • ${js(`resources`,{smartCount:g})}`),Dt.isTopLevelTopic(e.classification)&&m>0){if(!t)return js(`topics`,{smartCount:m});t=`${js(`topics`,{smartCount:m})} • `+t}return t}function te(){if(e.classification.status===y.ComingSoon)return`coming-soon`;let{datePublished:t}=e.classification;return t&&N.timeSince(t,`day`)<=30?`new-topic`:_>0&&!e.hideCounts?`new-videos`:null}let b=ee();return(0,K.jsxs)(f,{className:`d-flex no-decoration rounded ${Es.container}`,appLink:e.getAppLink?.(e.classification),analyticsData:{...e.analyticsData,id:e.classification?.id,name:e.classification?.name,presentationId:e.classification.presentationId,comingSoon:!!r,videoCount:h,resourceCount:g,newVideoCount:_,datePublished:e.classification.datePublished,countsHidden:!!e.hideCounts},analyticsOptions:{location:C.SubjectStatsWidgetItem,...e.analyticsOptions,actionType:w.Click,entity:T.Classification,descriptor:x.Cover},children:[!t&&(0,K.jsx)(ve,{type:ge.Subject,extraClasses:`ms-2 rounded-end-lg ${Es.fallbackImage}`}),(0,K.jsx)(`div`,{className:`${Es.cover} me-2 rounded overflow-hidden`,children:(0,K.jsx)(Fe,{data:e.classification.cover,imageOptions:{size:L.Medium},imageClassName:r?`opacity-50`:``,onLoad:()=>n(!0),children:e.canFollowTopics&&(0,K.jsxs)(c,{onClick:v,className:`
|
|
6
|
+
align-items-center justify-content-center cursor-pointer
|
|
7
|
+
${Es.bellContainer} ${i?Es.followed:``}
|
|
8
|
+
`,children:[(0,K.jsx)(l,{svg:ks,className:`svg-container ${Es.bell}`}),(0,K.jsx)(l,{svg:As,className:`svg-container ${Es.bellOutline}`})]})})}),(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`h3`,{className:`h6 mb-0 clamp-2 mt-1`,children:e.classification.name}),!!b&&(0,K.jsx)(`p`,{className:`mb-0 ${Es.subText}`,children:b}),(0,K.jsx)(Eo,{badgeType:te(),newVideoCount:_})]})]})}function Ns(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description}),(0,K.jsx)(k,{className:`mb-n2`,children:e.content.map(t=>(0,K.jsx)(O,{className:`position-relative pb-2`,xs:12,sm:6,lg:e.hasTableOfContents?6:4,xl:4,children:(0,K.jsx)(Ms,{classification:t,analyticsData:e.analyticsData,getAppLink:e.appLinks?.classification,onToggleFollowClassification:e.onToggleFollowClassification,canFollowTopics:!1,hideCounts:e.isTertiaryCustomerWithoutExchange})},t.id))})]})}function Ps(){return(0,K.jsx)(`div`,{className:`me-2`,children:(0,K.jsx)(It,{})})}function Fs(e){let t=typeof e.predicate==`function`&&e.predicate()||!1;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(Lt,{partialLoadingComponent:Ps,partialLoadingOptions:{numItems:4}}),t&&(0,K.jsx)(`hr`,{})]})}function Is(t){let n=t.getSelectedItems(t.widgetTypeId),r=t.content.filter(e=>!n.find(t=>t.id===e.id)),i=[...n,...r];function a(n){e.trigger(t.appLinks.tag(n))}return(0,K.jsx)(Ft,{collection:i,childComponent:e=>(0,K.jsx)(Rt,{...e,selectedItems:n,onClick:a}),partialLoadingComponent:Ps,partialLoadingOptions:{numItems:4}})}function Ls(){return(0,K.jsx)(`div`,{className:`partial-loading-background rounded-pill me-2`,style:{height:`2.5rem`,width:`9.375rem`}})}function Rs(){return(0,K.jsxs)(`div`,{className:`d-flex align-items-center mw-100`,children:[(0,K.jsx)(Ls,{}),(0,K.jsx)(Ls,{})]})}var zs={partialHeroThumbnail:`_partialHeroThumbnail_1e73g_1`,partialVideoTitleText:`_partialVideoTitleText_1e73g_6`,partialDescription:`_partialDescription_1e73g_10`,details:`_details_1e73g_19`};function Bs(){return(0,K.jsx)(K.Fragment,{children:(0,K.jsxs)(k,{children:[(0,K.jsx)(O,{xs:12,md:6,children:(0,K.jsx)(`div`,{className:`${zs.partialHeroThumbnail} partial-loading-background rounded-3`})}),(0,K.jsx)(O,{xs:12,md:6,children:(0,K.jsxs)(`div`,{className:zs.details,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{style:{height:`1.5rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.2rem`,width:`12rem`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.5625rem`,width:`15rem`}})]}),(0,K.jsx)(`div`,{className:`pt-2 mw-100`,children:(0,K.jsx)(Rs,{})})]})})]})})}var Vs={partialHeroThumbnail:`_partialHeroThumbnail_pydn0_1`,partialSeriesText:`_partialSeriesText_pydn0_6`,partialVideoTitleText:`_partialVideoTitleText_pydn0_10`,partialBadge:`_partialBadge_pydn0_14`,partialDescription:`_partialDescription_pydn0_18`,partialSubject:`_partialSubject_pydn0_22`,partialHeading:`_partialHeading_pydn0_26`,guidance:`_guidance_pydn0_30`,responsiveGuidance:`_responsiveGuidance_pydn0_41`,description:`_description_pydn0_56`,details:`_details_pydn0_82`};Hs.defaultProps={newDurationStyle:!0,badgePosition:`thumbnail`};function Hs(e){let t=e.video?.subjectPresentationAudiences?.data,n=bt(t,e.presentationAudiences),r=E.mergeOptions(e.analyticsOptions,{location:C.ClassificationHero,entity:z.getAnalyticsEntity(e.video)}),i=G.useRef(null);return e.video?(0,K.jsxs)(k,{children:[(0,K.jsx)(O,{xs:12,md:6,children:(0,K.jsx)(`div`,{ref:i,children:(0,K.jsx)(ft,{analyticsOptions:r,video:e.video,appLink:e.getVideoAppLink?.(e.video,{}),imageOptions:{size:L.Medium},textPosition:ut.Independent,type:`static`,audience:e.badgePosition===`thumbnail`?n:null,hideRating:e.badgePosition!==`thumbnail`||!!n,commonVideoProps:e.commonVideoProps})})}),(0,K.jsxs)(O,{xs:12,md:6,className:`${Vs.details} position-relative`,children:[(0,K.jsxs)(`div`,{className:`d-flex justify-content-between`,children:[(0,K.jsxs)(`div`,{className:`overflow-hidden`,children:[(0,K.jsx)(lt,{type:e.commonVideoProps.subTextType,appLink:e.commonVideoProps.getSubTextAppLink?.(e.video),analyticsData:e.analyticsData,analyticsOptions:r,video:e.video,className:`text-reset clamp-1`}),(0,K.jsx)(Jt,{yearGroups:e.commonVideoProps.yearGroups,video:e.video,analyticsData:e.analyticsData,analyticsOptions:r,appLink:e.getVideoAppLink?.(e.video,{}),titleSize:`h4`,showNewVideoIndicator:e.showNewVideoIndicator,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience,titleClassName:e.titleClassName,clampLevel:2})]}),(0,K.jsx)(pi,{analyticsData:e.analyticsData,analyticsOptions:r,video:e.video})]}),e.badgePosition===`info-panel`&&(0,K.jsxs)(ot,{className:`pb-1`,children:[!e.hideInteractiveBadge&&(0,K.jsx)(xe,{type:ye.Interactive,data:e.video.interactives}),(0,K.jsx)(xe,{type:ye.Rating,data:z.getRating(e.video)}),(0,K.jsx)(xe,{type:ye.ProductionYear,data:e.video.productionYear})]}),(0,K.jsx)(`p`,{className:`mb-1`,children:(0,K.jsx)(`span`,{className:Vs.description,children:e.video.description})}),e.badgePosition===`info-panel`&&(0,K.jsx)(st,{audience:n,className:`mt-1`,border:`dark`}),e.showVideoGuidance&&(0,K.jsx)(dt,{video:e.video,analyticsData:e.analyticsData,analyticsOptions:r,containerClassName:`d-flex ${Vs.guidance}`,responsiveClassName:Vs.responsiveGuidance,commonVideoProps:e.commonVideoProps})]})]}):(0,K.jsx)(K.Fragment,{})}function Us(e){let t=D.first(_.getVideoContent(e.content));return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description}),(0,K.jsx)(Hs,{video:t,presentationAudiences:e.audiences,getVideoAppLink:e.appLinks?.videoType,analyticsData:e.analyticsData,hideInteractiveBadge:!0,showVideoGuidance:z.showVideoGuidance(e.hasPermissions),showNewVideoIndicator:e.settings?.hasTopicDirectories,commonVideoProps:e.commonVideoProps})]})}var Ws={actions:`_actions_1psxq_1`,actionsContainer:`_actionsContainer_1psxq_14`,ownerLogo:`_ownerLogo_1psxq_24`,dropStyle:`_dropStyle_1psxq_33`,dragStyle:`_dragStyle_1psxq_38`};function Gs(e){let t=e.folder.thumbnail?p.urlBuilder(e.folder.thumbnail.url,{size:L.Small}):null,n=e.folder?.libraries?.data?.[0]?.owner,r=e.showOwnerLogo&&n?.logo?.url?p.urlBuilder(n.logo.url,{size:L.Small}):null,i=e.getFolderActions?.(e.folder),a=e.analyticsData?{id:e.folder.id.toString(),name:e.folder.name,...e.analyticsData}:void 0,o=e.analyticsOptions?{actionType:w.Click,entity:T.Folder,...e.analyticsOptions}:void 0;return(0,K.jsx)(oi,{draggable:e.drag&&{id:e.folder.id,data:e.folder},droppable:e.drop&&{id:e.folder.id,data:e.folder},dropStye:Ws.dropStyle,dragStyle:Ws.dragStyle,children:(0,K.jsxs)(`div`,{className:`position-relative`,children:[(0,K.jsxs)(f,{className:`rounded-3 d-block text-decoration-none`,appLink:e.getAppLink(e.folder),title:e.folder.name,analyticsData:a,analyticsOptions:o,children:[(0,K.jsx)(Fe,{data:t,imageType:Me.Thumbnails,imageClassName:`rounded-top-lg`,children:(0,K.jsx)(ve,{name:e.folder.name,type:ge.Folder,extraClasses:`rounded-top-lg`})}),(0,K.jsx)(`h3`,{className:`bg-white border-start border-end border-bottom rounded-bottom-lg font-size-normal fw-semibold mb-0 p-2`,children:(0,K.jsx)(`span`,{className:`text-truncate d-block`,children:e.folder.name})})]}),i?.length&&(0,K.jsx)(Ye,{actions:i,className:Ws.actionsContainer,actionsDropdownClassName:Ws.actions,dropdownToggleSvgSize:null}),!!r&&(0,K.jsx)(`img`,{src:r,className:`rounded-circle ${Ws.ownerLogo}`,alt:`${n?.name} logo`,title:n?.name||``})]})})}function Ks(e){function t(t){if(e.widgetTypeId===I.SearchMySchoolLibraryFolder){let n=t?.libraries?.data?.[0]?.id;return e.appLinks.folder(t,{libraryId:n})}return e.appLinks.folder(t)}let n=e.widgetTypeId===I.SearchMySchoolLibraryFolder;return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map((r,i)=>{let a=typeof e.getAnalyticsData==`function`?e.getAnalyticsData(i):{};return(0,K.jsx)(O,{as:`li`,lg:3,md:4,sm:6,xs:12,className:`pb-3 px-1`,children:(0,K.jsx)(Gs,{folder:r,getAppLink:t,showOwnerLogo:n,analyticsData:a,analyticsOptions:{location:C.ThumbnailFixedListFolderSmallWidget}})},r.id)})})]})}var qs={subjectItem:`_subjectItem_1outb_1`};function Js(e){let t=[...[,,]];return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsx)(k,{className:`mx-n1`,children:t.map((e,t)=>(0,K.jsx)(O,{sm:12,md:6,className:`p-1`,children:(0,K.jsx)(`div`,{className:`${qs.subjectItem} partial-loading-background rounded-3`})},t))})]})}var Ys={appLink:`_appLink_1gvxv_1`,container:`_container_1gvxv_5`,large:`_large_1gvxv_12`,small:`_small_1gvxv_15`,content:`_content_1gvxv_19`,top:`_top_1gvxv_30`,title:`_title_1gvxv_34`,preTitle:`_preTitle_1gvxv_40`,description:`_description_1gvxv_43`,cover:`_cover_1gvxv_47`,button:`_button_1gvxv_54`},Xs=`shared.thumbnailWidgetItem`;function Zs(e){let t={};return e.data.fallbackBackgroundColor&&(t.backgroundColor=e.data.fallbackBackgroundColor),e.data.backgroundColor&&(t.backgroundColor=e.data.backgroundColor),e.data.thumbnailUrl&&(t.backgroundImage=`url('${e.data.thumbnailUrl}')`),(0,K.jsxs)(`div`,{className:A(`d-flex position-relative rounded-3 h-100`,Ys.container,e.isLarge?Ys.large:Ys.small),style:t,children:[(0,K.jsxs)(`div`,{className:A(Ys.content,!e.isLarge&&`justify-content-center`),children:[(0,K.jsxs)(`div`,{className:`${Ys.top}`,children:[e.data.preTitle&&e.data.preTitle.length&&(0,K.jsx)(`p`,{className:`${Ys.preTitle} mb-1 text-white`,title:e.data.preTitle,children:e.data.preTitle}),(0,K.jsx)(`p`,{title:e.data.name,className:A(`h5 text-shadow hover-text-underline`,Ys.title,e.isLarge?`mb-0 text-wrap clamp-2`:`text-wrap clamp-3`),children:e.data.name}),e.isLarge&&(0,K.jsx)(`div`,{className:`text-start text-shadow ${Ys.description}`,children:(0,K.jsx)(`p`,{className:`clamp-3`,title:e.data.description,children:e.data.description})})]}),e.isLarge&&(0,K.jsx)(`div`,{className:Ys.button,children:(0,K.jsx)(`div`,{className:A(!e.appLink&&`cursor-default`,`btn btn-outline-dark`),children:e.data?.buttonText||j.getPhrase(Xs,`buttonLabel`)})})]}),!e.data.thumbnailUrl&&!!e.data.coverUrl&&(0,K.jsx)(`div`,{className:`${Ys.cover}`,style:{backgroundImage:`url('${e.data.coverUrl}')`}})]})}function Qs(e){return e.appLink?(0,K.jsx)(f,{className:Ys.appLink,appLink:e.appLink,appLinkOptions:e.appLinkOptions,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:(0,K.jsx)(Zs,{...e})}):(0,K.jsx)(Zs,{...e})}var $s=G.memo(Qs),ec=j.encloseNamespace(`shared.thumbnailFixedListLargeWidgetTemplate`);function tc(e){let t={data:{name:e.item.name,description:e.item.description}},n=e.item?.status===y.ComingSoon,r={...e.analyticsData,id:e.item?.id,name:e.item?.name,presentationId:e.item?.presentationId,comingSoon:!!n},i={location:C.ClassificationListItem,...e.analyticsOptions,actionType:w.Click,entity:T.Classification,descriptor:x.Thumbnail};return{...t,data:{...t.data,backgroundColor:e.item.metadata?.backgroundColor,coverUrl:R.createUrl(e.item.cover?.url,{size:L.Small}),thumbnailUrl:R.createUrl(e.item.thumbnail?.url,{size:L.Medium}),buttonText:ec(`exploreTopic`)},appLink:e.appLinks?.classification?.(e.item),isLarge:!0,analyticsData:r,analyticsOptions:i}}function nc(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description,content:e.content,widgetTypeId:e.widgetTypeId,isPreviewing:e.isPreviewing}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:e.content.map(t=>(0,K.jsx)(O,{as:`li`,sm:12,xl:6,className:`px-1 pb-2`,children:(0,K.jsx)($s,{...tc({appLinks:e.appLinks,item:t,analyticsData:e.analyticsData})})},t.id))})]})}var rc={partialThumbnail:`_partialThumbnail_qf0tk_1`,row:`_row_qf0tk_6`},ic=e=>(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing}),(0,K.jsxs)(`div`,{className:`row ${rc.row}`,children:[(0,K.jsxs)(`div`,{className:`col-sm-12 col-md-6`,children:[(0,K.jsx)(`div`,{className:`${rc.partialThumbnail} partial-loading-background rounded-3`}),(0,K.jsx)(ac,{}),(0,K.jsx)(`div`,{className:`pt-1 mw-100`,children:(0,K.jsx)(Rs,{})})]}),(0,K.jsxs)(`div`,{className:`col-sm-12 col-md-6`,children:[(0,K.jsx)(`div`,{className:`${rc.partialThumbnail} partial-loading-background rounded-3`}),(0,K.jsx)(ac,{}),(0,K.jsx)(`div`,{className:`pt-1 mw-100`,children:(0,K.jsx)(Rs,{})})]})]})]}),ac=()=>(0,K.jsxs)(`div`,{className:`mt-2`,children:[(0,K.jsx)(`div`,{style:{height:`1.4rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.1rem`,width:`12rem`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.33875rem`,width:`15rem`}})]}),oc={guidance:`_guidance_ws7gu_1`,responsiveGuidance:`_responsiveGuidance_ws7gu_5`};function sc(e){let t=e.appLinks?.videoType?.(e.video,{}),n=G.useRef(null),r={actionType:w.Click,entity:z.getAnalyticsEntity(e.video),location:C.ThumbnailFixedListMediaLargeWidget,descriptor:x.Thumbnail},i=bt(e.video.subjectPresentationAudiences?.data,e.audiences);return(0,K.jsxs)(`div`,{className:`col-md-6`,children:[(0,K.jsx)(`div`,{ref:n,children:(0,K.jsx)(ft,{analyticsData:e.analyticsData,analyticsOptions:r,video:e.video,appLink:t,imageOptions:{size:L.Medium},textPosition:ut.Independent,type:`static`,audience:i,hideRating:!!i,commonVideoProps:{...e.commonVideoProps,subTextType:`none`}})}),(0,K.jsx)(ct,{video:e.video,appLink:t,commonVideoProps:e.commonVideoProps}),z.showVideoGuidance(e.hasPermissions)&&(0,K.jsx)(dt,{commonVideoProps:e.commonVideoProps,video:e.video,analyticsData:e.analyticsData,analyticsOptions:r,responsiveClassName:oc.responsiveGuidance,containerClassName:`d-flex justify-content-start align-items-center pt-1 ${oc.guidance}`})]})}var cc={row:`_row_1s9db_1`};function lc(e){let t=_.getVideoContent(e.content);return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description}),(0,K.jsx)(`div`,{className:`row ${cc.row}`,children:t.map(t=>(0,K.jsx)(sc,{video:t,...e},t.id))})]})}var uc={thumbnailTitle:`_thumbnailTitle_14phd_1`};function dc(e){return(0,K.jsx)(`h3`,{title:e.title,className:`h6`,children:e.title})}function fc(e){return e.appLink?(0,K.jsx)(f,{appLink:e.appLink,className:`${uc.thumbnailTitle}`,children:(0,K.jsx)(dc,{...e})}):(0,K.jsx)(dc,{...e})}var pc={badge:`_badge_o3vz9_1`,mask:`_mask_o3vz9_4`,thumbnailContainer:`_thumbnailContainer_o3vz9_7`},mc=`shared.collectionThumbnail`;function hc(e){function t(){let t=e.collection?.videos;if(t){if(!t.count&&e.collection.typeId===P.Playlist){let n=e.collection;n.clips.count&&(t=n.clips),n.interactives.count&&(t=n.interactives)}return D.first(t.data)}}function n(){let t=0;if(e.collection.videos&&e.collection.videos.count&&(t+=e.collection.videos.count),e.collection.typeId===P.Playlist){let n=e.collection;n.interactives?.count&&(t+=n.interactives.count),n.clips?.count&&(t+=n.clips.count)}return t}function r(e){if(ke.isType(e,P.Playlist))return T.Playlist;if(ke.isType(e,P.Series))return T.Series}let i=t(),a=n(),o=e.title?.length||e.subText?.length,s={id:e.collection.id.toString(),name:e.collection.name,...e.analyticsData},c={actionType:w.Click,entity:r(e.collection),...e.analyticsOptions};return(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`position-relative ${pc.thumbnailContainer} z-1`,children:(0,K.jsxs)(f,{appLink:e.appLink,analyticsData:s,analyticsOptions:c,preventFocus:!0,children:[e.showMask&&(0,K.jsx)(`div`,{className:`${pc.mask} position-absolute w-100 h-100 rounded-3 bg-dark bg-gradient z-1 bg-opacity-50 pointer-events-none`,children:(0,K.jsxs)(`div`,{className:`${pc.badge} d-flex align-items-center w-fit flex-grow-0 bg-dark rounded-pill ps-1 m-2`,children:[(0,K.jsx)(l,{svg:he,className:`svg-container text-white`}),(0,K.jsx)(`p`,{className:`d-inline fw-medium text-white mb-0`,children:e.hoverText?.length?(0,K.jsx)(`span`,{children:e.hoverText}):(0,K.jsx)(M,{namespace:mc,phrase:`playAll`})})]})}),i&&(0,K.jsx)(ft,{video:i,imageOptions:e.imageOptions,textPosition:ut.Independent,type:`cosmetic`,hideMask:!0,hideRating:!0,hideDuration:!0,hideVideoTypeBadge:!0}),!i&&(0,K.jsx)(`div`,{className:`ratio ratio-16x9 bg-light rounded-3`,children:(0,K.jsx)(`div`,{className:`d-flex justify-content-center align-items-center`,children:(0,K.jsx)(l,{svg:he,className:`w-33 opacity-25 text-gray-400`})})}),e.showVideoCount&&(0,K.jsxs)(`div`,{className:`${pc.badge} d-flex align-items-center w-fit bg-dark bg-opacity-75 rounded-pill position-absolute bottom-0 end-0 ps-1 m-2`,children:[(0,K.jsx)(l,{svg:_e,className:`svg-container text-white me-1`}),(0,K.jsx)(`p`,{className:`d-inline fw-semibold text-white mb-0`,children:e.onlyCount?(0,K.jsx)(`span`,{children:a}):(0,K.jsx)(M,{namespace:mc,phrase:`videos`,options:{count:a,smartCount:a}})})]})]})}),o&&(0,K.jsxs)(`div`,{className:`mt-2 d-flex flex-column`,children:[e.subText&&(0,K.jsx)(Te,{title:e.subText,appLink:e.subTextAppLink,children:e.subText}),e.title&&(0,K.jsx)(fc,{title:e.collection.name,appLink:e.titleAppLink})]})]})}var gc=j.encloseNamespace(`widgets.thumbnailFixedListMediaSmallWidgetTemplate`);function _c(e){let t={[P.Playlist]:gc(`playlist`),[P.Series]:gc(`series`)},n={[P.Playlist]:gc(`viewPlaylist`),[P.Series]:gc(`viewSeries`)};function r(t){if(ke.isType(t,P.Playlist))return e.appLinks.playlist(t);if(ke.isType(t,P.Series))return e.appLinks.series(t)}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n3`,children:e.content.map((i,a)=>{let o=r(i),s=t[i?.typeId],c=n[i?.typeId];return(0,K.jsx)(O,{as:`li`,lg:3,md:4,sm:6,xs:12,className:`mb-3 px-1`,children:(0,K.jsx)(hc,{collection:i,appLink:o,analyticsOptions:{location:C.ThumbnailFixedListMediaSmallWidget},analyticsData:e.getAnalyticsData(a),title:i?.name,titleAppLink:o,imageOptions:{size:L.Medium},subText:s,subTextAppLink:o,hoverText:c,showVideoCount:!0,showMask:!0})},i.id)})})]})}var vc={subjectItem:`_subjectItem_1outb_1`};function yc(e){let t=[...[,,,]];return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(q,{name:e.name,description:e.description,isPreviewing:e.isPreviewing,hideDescription:e.hideDescription}),(0,K.jsx)(k,{className:`mx-n1 `,children:t.map((e,t)=>(0,K.jsx)(O,{xl:4,md:6,xs:12,className:`p-1`,children:(0,K.jsx)(`div`,{className:`${vc.subjectItem} partial-loading-background rounded-3`})},t))})]})}function bc(e,t){if(!e||!t)return;let n=t.find(t=>t.id&&t.id===e.presentationId);if(n)return n.name}function xc(e){let t={data:{name:e.item.name,description:e.item.description}};if(ke.isType(e.item,P.Subject)){let n=e.item?.status===y.ComingSoon,r={...e.analyticsData,id:e.item?.id,name:e.item?.name,presentationId:e.item?.presentationId,comingSoon:!!n},i={location:C.ThumbnailFixedListSmallWidget,...e.analyticsOptions,actionType:w.Click,entity:T.Classification,descriptor:x.Thumbnail},a=e.widgetTypeId===I.SearchRelevantTopics&&bc(e.item,e.availablePresentations);return{...t,data:{...t.data,preTitle:a,backgroundColor:e.item.metadata?.backgroundColor,coverUrl:R.createUrl(e.item.cover?.url,{size:L.Small}),thumbnailUrl:R.createUrl(e.item.thumbnail?.url,{size:L.Medium})},appLink:e.appLinks?.classification?.(e.item),analyticsData:r,analyticsOptions:i}}return ke.isType(e.item,P.Company)?{...t,data:{...t.data,coverUrl:R.createUrl(e.item.logo?.url,{size:L.Small}),backgroundColor:e.item.metadata?.colour},appLink:e.appLinks?.company?.(e.item),appLinkOptions:e.appLinkOptions?.company(e.item)}:t}function Sc(e){function t(){return[I.SearchRelevantTopics,I.SearchCompanies].includes(e.widgetTypeId)||e.widgetTypeId!==I.TrendingClassifications&&e.widgetTypeId!==I.LatestReleasedClassifications?e.content:e.content.length<6?e.content.slice(0,3):e.content}return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description,content:e.content,widgetTypeId:e.widgetTypeId,isPreviewing:e.isPreviewing,showSeeMoreLink:!!e.seeMoreLink,appLink:e.seeMoreLink,badgeComponent:e.badgeComponent,isUpselling:e.isUpselling}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n2`,children:t().map((t,n)=>{let r=typeof e.getAnalyticsData==`function`?e.getAnalyticsData(n):e.analyticsData;return(0,K.jsx)(O,{as:`li`,xl:4,md:6,xs:12,className:`px-1 pb-2`,children:(0,K.jsx)($s,{...xc({item:t,widgetTypeId:e.widgetTypeId,appLinks:e.appLinks,analyticsData:r,availablePresentations:e.availablePresentations,appLinkOptions:e.appLinkOptions})})},t.id)})})]})}function Cc(){return(0,K.jsx)(Ja,{})}var wc={appLink:`_appLink_17ix5_1`,container:`_container_17ix5_5`,content:`_content_17ix5_13`,top:`_top_17ix5_20`,title:`_title_17ix5_24`,description:`_description_17ix5_33`},Tc=`shared.thumbnailFixedListXLarge`;function Ec(e){let t=D.first(e.content),n=R.createUrl(t.thumbnail?.url,{size:L.Medium}),r=t.metadata?.backgroundColor,i={backgroundColor:r};n&&(i.backgroundImage=`url('${n}')`);let a={...e.analyticsData,id:t.id,name:t.name,presentationId:t.presentationId},o={location:C.ClassificationListItem,actionType:w.Click,entity:T.Classification,descriptor:x.Thumbnail};return!n||!r?(0,K.jsx)(qa,{...e}):(0,K.jsx)(K.Fragment,{children:(0,K.jsx)(f,{appLink:e.appLinks?.classification?.(t),className:`text-decoration-none`,analyticsData:a,analyticsOptions:o,children:(0,K.jsx)(`div`,{className:`d-flex position-relative rounded-3 h-100 ${wc.container}`,style:i,children:(0,K.jsxs)(`div`,{className:`${wc.content}`,children:[(0,K.jsxs)(`div`,{className:`${wc.top}`,children:[(0,K.jsx)(`h2`,{className:`${wc.title} text-decoration-none h4 text-nowrap text-truncate`,children:e.name}),(0,K.jsx)(`div`,{className:`text-start ${wc.description}`,children:(0,K.jsx)(`p`,{className:`clamp-3`,children:t.description})})]}),(0,K.jsx)(`div`,{children:(0,K.jsx)(`div`,{className:`btn btn-outline-dark text-nowrap`,children:e.metadata?.cta?.text||j.getPhrase(Tc,`buttonLabel`)})})]})})})})}var Dc={details:`_details_yxfxk_1`},Oc=()=>(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{className:`w-100 partial-loading-background rounded-3`,style:{paddingBottom:`56.25%`}}),(0,K.jsxs)(`div`,{className:Dc.details,children:[(0,K.jsxs)(`div`,{children:[(0,K.jsx)(`div`,{style:{height:`1.5rem`},children:(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.2rem`,width:`12rem`}})}),(0,K.jsx)(`div`,{className:`partial-loading-background`,style:{height:`1.5625rem`,width:`15rem`}})]}),(0,K.jsx)(`div`,{className:`pt-2 mw-100`,children:(0,K.jsx)(Rs,{})})]})]}),kc={details:`_details_1kim1_1`,guidance:`_guidance_1kim1_6`,responsiveGuidance:`_responsiveGuidance_1kim1_19`,seriesTitleBox:`_seriesTitleBox_1kim1_34`};function Ac(e){let t=D.first(_.getVideoContent(e.content)),n=G.useRef(null),r=bt(t.subjectPresentationAudiences?.data,e.audiences),i=z.hasSeries(t)||_.isCompanyWidget(e.widgetTypeId),a={actionType:w.Click,entity:z.getAnalyticsEntity(t),location:C.ThumbnailHeroMediaWidget},o=e.settings?.hasTopicDirectories,{canNavigate:s}=z.getCanBeConsumed(t);return t?(0,K.jsxs)(`div`,{children:[(0,K.jsx)(H,{name:e.name,description:e.description}),(0,K.jsx)(`div`,{ref:n,children:(0,K.jsx)(ft,{video:t,imageOptions:{size:L.Large},type:`static`,textPosition:ut.Independent,analyticsOptions:a,audience:r,hideRating:!!r,appLink:e.appLinks?.videoType?.(t,{}),commonVideoProps:e.commonVideoProps})}),(0,K.jsxs)(`div`,{className:kc.details,children:[(0,K.jsxs)(`div`,{children:[z.isVideo(t)&&(0,K.jsx)(lt,{type:_.isCompanyWidget(e.widgetTypeId)?`productionCompany`:e.commonVideoProps.subTextType,video:t,appLink:e.commonVideoProps.getSubTextAppLink?.(t),analyticsOptions:a,className:`mt-2 ${kc.seriesTitleBox}`}),(0,K.jsx)(`div`,{className:i?``:`mt-2`,children:(0,K.jsx)(f,{appLink:e.appLinks?.videoType?.(t,{}),analyticsData:{id:t.id,name:t.name},analyticsOptions:{...a,descriptor:x.Title},className:`d-inline-block ${s?``:`cursor-default text-decoration-none disabled`}`,disabled:!s,children:(0,K.jsx)(at,{video:t,yearGroups:e.commonVideoProps.yearGroups,showNewVideoIndicator:o,showPadlock:!e.commonVideoProps.hasStudentExperience&&!e.commonVideoProps.hasGuestExperience,titleSize:`h4`,className:`mb-0`})})})]}),z.showVideoGuidance(e.hasPermissions)&&(0,K.jsx)(dt,{video:t,analyticsData:e.analyticsData,analyticsOptions:a,responsiveClassName:kc.responsiveGuidance,containerClassName:`d-flex mt-2 ${kc.guidance}`,commonVideoProps:e.commonVideoProps})]})]}):(0,K.jsx)(K.Fragment,{})}function jc(e){return(0,K.jsx)(Xn,{size:`lg`,name:e.name,description:e.description,isPreviewing:e.isPreviewing})}function Mc(e){return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.LargeRow,contents:J.Videos,collection:e.content,childComponent:Aa,extraChildComponentProps:{commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:e.appLinks?.widgetVideoList?.(e.id,e.name)})}function Nc(e){return(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.Videos,collection:e.content,childComponent:Aa,extraChildComponentProps:{commonVideoProps:e.commonVideoProps},getChildAppLink:t=>e.appLinks?.videoType?.(t,{}),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:e.appLinks?.widgetVideoList?.(e.id,e.name)})}var Pc={rowWidth:`_rowWidth_1evaz_1`},Fc=G.memo(function(e){let t=e.data?.subjectPresentationAudiences?.data,n=bt(t,e.presentationAudiences);return(0,K.jsx)(`div`,{className:`px-1 flex-shrink-0 position-relative ${Pc.rowWidth}`,children:(0,K.jsx)(ft,{video:e.data,preload:e.preloadImage,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,type:`static`,appLink:e.getAppLink(e.data),imageOptions:{size:e.thumbnailSize},textPosition:ut.Below,audience:n,hideRating:!!n,hideDuration:!1,commonVideoProps:e.commonVideoProps})})}),Ic={widgetTextButton:`_widgetTextButton_1ewyh_1`,revealOnHover:`_revealOnHover_1ewyh_5`},Lc=j.encloseNamespace(`shared.downloadResourcesButton`);function Rc(e){return(0,K.jsx)(`div`,{className:A(Ic.widgetTextButton,{[Ic.revealOnHover]:e.revealOnHover},e.className),children:(0,K.jsx)(c,{onClick:()=>e.onDownloadClick(e.resources,e.fileName,e.analyticsData),children:Lc(e.downloadAll?`downloadAll`:`download`)})})}function zc(e){if(z.isVideoType(e.data))return(0,K.jsx)(Fc,{...e});function t(t,n){t.preventDefault(),t.stopPropagation(),Ct.downloadResource(n,e.analyticsData,e.analyticsOptions)}return(0,K.jsx)(Nt,{...e,location:`dashboard`,onClickDownload:t})}function Bc(e){let t=e.hasLocalPermissions(Ue.ViewVideoResourceItems),n=e.content.filter(ke.isResource),r=t&&n.length>0&&n.length===e.content.length;return(0,K.jsx)(`div`,{className:`widget-hover-reveal-boundary`,children:(0,K.jsx)(Y,{id:e.id,name:e.name,description:e.description,type:W.Row,contents:J.Videos,collection:e.content,childComponent:zc,headerRightComponent:r?(0,K.jsx)(Rc,{resources:n,fileName:`${e.name}-resources`,analyticsData:e.analyticsData,onDownloadClick:e.onDownloadAllClick,revealOnHover:!0,downloadAll:!0}):void 0,extraChildComponentProps:{imageErrorFallbackUrl:e.resourceThumbnailFallbackImageUrl,location:`dashboard`,titlePosition:`below`,actionBehaviour:t?`normal`:`public`,presentationAudiences:e.audiences,commonVideoProps:e.commonVideoProps,imageCdnUrl:e.commonVideoProps.imageCdnUrl},getChildAppLink:n=>z.isVideoType(n)?e.appLinks?.videoType?.(n,{}):e.appLinks?.resource?.(n,n.parentId,t),prefetched:!0,hideBleedingContent:e.showHighlight,hideButtons:e.showHighlight,analyticsData:e.analyticsData,appLink:e.appLinks?.widgetVideoList?.(e.id,e.name)})})}function Vc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 51`,children:(0,K.jsx)(`path`,{d:`M0 .4C0 .18.18 0 .4 0h34.764a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H.4a.4.4 0 0 1-.4-.4zm14.89.1v13h20.274a.5.5 0 0 0 .5-.5V1a.5.5 0 0 0-.5-.5zM.4 37a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4h34.764a1 1 0 0 0 1-1V38a1 1 0 0 0-1-1zm34.764 13.5H14.89v-13h20.273a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5m5.254-13.1c0-.22.18-.4.4-.4h34.764a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H40.818a.4.4 0 0 1-.4-.4zm14.891.1v13h20.273a.5.5 0 0 0 .5-.5V38a.5.5 0 0 0-.5-.5zM40.82 0a.4.4 0 0 0-.4.4v13.2c0 .22.178.4.4.4h34.763a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zm14.49.5h20.273a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H55.309zM81.236 0a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4H116a1 1 0 0 0 1-1V1a1 1 0 0 0-1-1zm14.491 13.5V.5H116a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5zM.4 18a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4h34.764a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm14.49.5h20.274a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H14.89zm25.928-.5a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4h34.764a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm14.491.5h20.273a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H55.309zm25.927-.5a.4.4 0 0 0-.4.4v13.2c0 .22.18.4.4.4H116a1 1 0 0 0 1-1V19a1 1 0 0 0-1-1zm14.491 13.5v-13H116a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5z`,fill:`currentColor`})})}function Hc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 93 44`,children:(0,K.jsx)(`path`,{d:`M.7 0a.7.7 0 0 0-.7.7v6.6a.7.7 0 0 0 .7.7h6.6a.7.7 0 0 0 .7-.7V.7a.7.7 0 0 0-.7-.7zm11.115 2.5c-.666 0-1.206.537-1.206 1.2v.6c0 .663.54 1.2 1.206 1.2h27.589c.665 0 1.205-.537 1.205-1.2v-.6c0-.663-.54-1.2-1.206-1.2zM52 .7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7h-6.6a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.588c.666 0 1.206.537 1.206 1.2v.6c0 .663-.54 1.2-1.206 1.2H63.815a1.203 1.203 0 0 1-1.206-1.2zM52 12.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7h-6.6a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.588c.666 0 1.206.537 1.206 1.2v.6c0 .663-.54 1.2-1.206 1.2H63.815a1.203 1.203 0 0 1-1.206-1.2zM52.7 24a.7.7 0 0 0-.7.7v6.6a.7.7 0 0 0 .7.7h6.6a.7.7 0 0 0 .7-.7v-6.6a.7.7 0 0 0-.7-.7zm11.115 2.5c-.666 0-1.206.537-1.206 1.2v.6c0 .663.54 1.2 1.206 1.2h27.588c.666 0 1.206-.537 1.206-1.2v-.6c0-.663-.54-1.2-1.206-1.2zM52 36.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7h-6.6a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.588c.666 0 1.206.537 1.206 1.2v.6c0 .663-.54 1.2-1.206 1.2H63.815a1.203 1.203 0 0 1-1.206-1.2zM0 12.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7H.7a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.589c.665 0 1.205.537 1.205 1.2v.6c0 .663-.54 1.2-1.206 1.2H11.816a1.203 1.203 0 0 1-1.206-1.2zM.7 24a.7.7 0 0 0-.7.7v6.6a.7.7 0 0 0 .7.7h6.6a.7.7 0 0 0 .7-.7v-6.6a.7.7 0 0 0-.7-.7zm11.115 2.5c-.666 0-1.206.537-1.206 1.2v.6c0 .663.54 1.2 1.206 1.2h27.589c.665 0 1.205-.537 1.205-1.2v-.6c0-.663-.54-1.2-1.206-1.2zM0 36.7a.7.7 0 0 1 .7-.7h6.6a.7.7 0 0 1 .7.7v6.6a.7.7 0 0 1-.7.7H.7a.7.7 0 0 1-.7-.7zm10.61 3c0-.663.54-1.2 1.205-1.2h27.589c.665 0 1.205.537 1.205 1.2v.6c0 .663-.54 1.2-1.206 1.2H11.816a1.203 1.203 0 0 1-1.206-1.2z`,fill:`currentColor`})})}function Uc(e){return(0,K.jsxs)(`svg`,{...e,viewBox:`0 0 117 14`,children:[(0,K.jsx)(`path`,{d:`M2 0h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2z`,fill:`currentColor`}),(0,K.jsx)(`path`,{d:`M18 5h56a2 2 0 0 1 0 4H18a2 2 0 0 1 0-4z`,fill:`currentColor`}),(0,K.jsx)(`path`,{fillRule:`evenodd`,d:`M84 1h27a6 6 0 0 1 0 12H84a6 6 0 0 1 0-12zm0 2h27a4 4 0 0 1 0 8H84a4 4 0 0 1 0-8z`,fill:`currentColor`})]})}function Wc(e){return(0,K.jsxs)(`svg`,{...e,viewBox:`0 0 117 32`,children:[(0,K.jsx)(`path`,{d:`M18.5967 28C19.3721 28.0003 20 28.8956 20 30C20 31.1042 19.3721 31.9997 18.5967 32H1.40332C0.628292 31.9997 9.25822e-05 31.1042 0 30C0 28.8956 0.628235 28.0003 1.40332 28H18.5967Z`}),(0,K.jsx)(`path`,{d:`M48.5967 28C49.3721 28.0002 50 28.8955 50 30C50 31.1042 49.372 31.9998 48.5967 32H31.4033C30.6282 31.9997 30 31.1042 30 30C30 28.8956 30.6282 28.0003 31.4033 28H48.5967Z`}),(0,K.jsx)(`path`,{d:`M78.5967 28C79.372 28.0002 80 28.8955 80 30C80 31.1042 79.372 31.9998 78.5967 32H61.4033C60.6282 31.9997 60 31.1042 60 30C60 28.8956 60.6282 28.0003 61.4033 28H78.5967Z`}),(0,K.jsx)(`path`,{d:`M107.596 28C108.372 28 109 28.8954 109 30C109 31.1043 108.372 32 107.596 32H90.4033C89.6283 31.9998 89 31.1042 89 30C89 28.8955 89.6283 28.0002 90.4033 28H107.596Z`}),(0,K.jsx)(`path`,{d:`M27.5 10C27.7761 10 28 10.2239 28 10.5V25.5C27.9998 25.7759 27.7761 26 27.5 26H0.5C0.223944 26 0.00013193 25.7759 0 25.5V10.5C0 10.2239 0.223862 10 0.5 10H27.5Z`}),(0,K.jsx)(`path`,{d:`M57.5 10C57.7761 10 58 10.2239 58 10.5V25.5C57.9998 25.7759 57.7761 26 57.5 26H30.5C30.2239 26 30.0002 25.7759 30 25.5V10.5C30 10.2239 30.2239 10 30.5 10H57.5Z`}),(0,K.jsx)(`path`,{d:`M86.5 10C86.7761 10 87 10.2239 87 10.5V25.5C86.9998 25.7759 86.7761 26 86.5 26H60.5C60.2239 26 60.0002 25.7759 60 25.5V10.5C60 10.2239 60.2239 10 60.5 10H86.5Z`}),(0,K.jsx)(`path`,{d:`M102.4 14.5C104.002 14.5004 105.3 15.799 105.3 17.4004C105.3 18.1875 104.984 18.8994 104.475 19.4219C104.465 19.4298 104.455 19.4375 104.446 19.4463C104.437 19.4552 104.43 19.4653 104.422 19.4746C103.899 19.9838 103.188 20.2996 102.4 20.2998C100.799 20.2998 99.5004 19.0017 99.5 17.4004C99.5 15.7988 100.799 14.5 102.4 14.5Z`}),(0,K.jsx)(`path`,{d:`M116.5 10C116.776 10 117 10.2239 117 10.5V25.5C117 25.7759 116.776 26 116.5 26H89.5C89.2239 26 89.0002 25.7759 89 25.5V10.5C89 10.2239 89.2239 10 89.5 10H116.5ZM102.4 13.5C100.246 13.5 98.5 15.2465 98.5 17.4004C98.5004 19.554 100.247 21.2998 102.4 21.2998C103.297 21.2996 104.122 20.9957 104.78 20.4873L107.047 22.7539C107.242 22.9487 107.559 22.9489 107.754 22.7539C107.949 22.5588 107.949 22.2422 107.754 22.0469L105.487 19.7803C105.996 19.1216 106.3 18.2967 106.3 17.4004C106.3 15.2467 104.554 13.5004 102.4 13.5Z`}),(0,K.jsx)(`path`,{d:`M46.5 0C47.8807 0 49 1.11929 49 2.5C48.9998 3.88059 47.8807 5 46.5 5H2.5C1.11937 5 0.000131935 3.88059 0 2.5C0 1.11929 1.11929 0 2.5 0H46.5Z`})]})}function Gc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 60`,children:(0,K.jsx)(`path`,{d:`M0 2a2 2 0 0 1 2-2h45.852a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm0 8.795C0 10.356.356 10 .795 10h26.406c.439 0 .795.356.795.795V58.99c0 .44-.356.795-.795.795H.795A.795.795 0 0 1 0 58.99zM30.41 10a.795.795 0 0 0-.796.795V58.99c0 .44.356.795.795.795h26.406c.439 0 .795-.355.795-.795V10.795a.795.795 0 0 0-.795-.795zm28.818.795c0-.439.356-.795.795-.795h26.568c.439 0 .795.356.795.795V58.99c0 .44-.356.795-.795.795H60.024a.795.795 0 0 1-.796-.795zM89.638 10a.795.795 0 0 0-.796.795V58.99c0 .44.356.795.796.795h26.567a.795.795 0 0 0 .795-.795V10.795a.795.795 0 0 0-.795-.795z`,fill:`currentColor`})})}function Kc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 50`,children:(0,K.jsx)(`path`,{d:`M2 0a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h45.852a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM.632 10a.63.63 0 0 0-.632.632v38.319c0 .349.283.632.632.632h20.994c.35 0 .633-.283.633-.633V10.633a.63.63 0 0 0-.633-.632zm22.913.632c0-.349.283-.632.632-.632h20.994c.35 0 .633.283.633.632v38.319c0 .349-.283.632-.633.632H24.178a.63.63 0 0 1-.633-.633zM47.723 10a.63.63 0 0 0-.633.632v38.319c0 .349.283.632.633.632h21.122c.35 0 .633-.283.633-.633V10.633a.63.63 0 0 0-.633-.632zm46.89.632c0-.349.283-.632.632-.632h21.123c.349 0 .632.283.632.632v38.319c0 .349-.283.632-.632.632H95.245a.63.63 0 0 1-.632-.633zM71.268 10a.63.63 0 0 0-.633.632v38.319c0 .349.283.632.633.632H92.39a.63.63 0 0 0 .632-.633V10.633A.63.63 0 0 0 92.39 10z`,fill:`currentColor`})})}function qc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 44`,children:(0,K.jsx)(`path`,{d:`M0 2a2 2 0 0 1 2-2h45.852a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm0 8.533C0 10.239.24 10 .537 10H18.05c.296 0 .537.239.537.533v32.302c0 .295-.24.533-.537.533H.537A.535.535 0 0 1 0 42.835zM20.198 10a.535.535 0 0 0-.537.533v32.302c0 .295.24.533.537.533h17.513a.535.535 0 0 0 .537-.533V10.533A.535.535 0 0 0 37.71 10zm19.124.533c0-.294.24-.533.537-.533h17.62c.297 0 .538.239.538.533v32.302c0 .295-.241.533-.538.533H39.86a.535.535 0 0 1-.537-.533zM59.521 10a.535.535 0 0 0-.538.533v32.302c0 .295.241.533.538.533h17.62a.535.535 0 0 0 .537-.533V10.533A.535.535 0 0 0 77.14 10zm19.231.533c0-.294.24-.533.537-.533h17.513c.296 0 .537.239.537.533v32.302c0 .295-.24.533-.537.533H79.289a.535.535 0 0 1-.537-.533zM98.95 10a.535.535 0 0 0-.537.533v32.302c0 .295.24.533.537.533h17.513a.535.535 0 0 0 .537-.533V10.533a.535.535 0 0 0-.537-.533z`,fill:`currentColor`})})}function Jc(e){return(0,K.jsxs)(`svg`,{...e,viewBox:`0 0 81 31`,children:[(0,K.jsx)(`g`,{clipPath:`url(#a)`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M0 1.643a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H12a1 1 0 0 1-1-1zm-11 11a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H12a1 1 0 0 1-1-1zm-10 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm16-21a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H40a1 1 0 0 1-1-1zm-10 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm-12 12a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H40a1 1 0 0 1-1-1zm18-23a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1zm-12 12a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 0 1-1-1zm11 0a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v1a1 1 0 0 1-1 1H68a1 1 0 0 1-1-1zm-10 10a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1v-6a1 1 0 0 0-1-1zm11 0a1 1 0 0 0-1 1v1a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-1a1 1 0 0 0-1-1z`})}),(0,K.jsx)(`defs`,{children:(0,K.jsx)(`clipPath`,{id:`a`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M0 .643h81v30H0z`})})})]})}function Yc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 44`,children:(0,K.jsx)(`path`,{d:`M2.762 0a2.762 2.762 0 0 0 0 5.524h49.076a2.762 2.762 0 1 0 0-5.524zM1.065 11.048A1.06 1.06 0 0 0 0 12.103v30.085a1.06 1.06 0 0 0 1.065 1.056h54.699a1.06 1.06 0 0 0 1.065-1.056V12.103a1.06 1.06 0 0 0-1.065-1.055zm61.878 0a1.657 1.657 0 1 0 0 3.314h52.4a1.657 1.657 0 0 0 0-3.314zm-1.657 8.285c0-.915.742-1.657 1.657-1.657h52.4a1.657 1.657 0 0 1 0 3.315h-52.4a1.657 1.657 0 0 1-1.657-1.658`,fill:`currentColor`})})}function Xc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 67`,children:(0,K.jsx)(`path`,{d:`M0 2.192C0 .982.981 0 2.192 0h112.616C116.019 0 117 .981 117 2.192v62.473c0 1.21-.981 2.192-2.192 2.192H2.192A2.19 2.19 0 0 1 0 64.665z`,fill:`currentColor`})})}function Zc(e){return(0,K.jsxs)(K.Fragment,{children:[(0,K.jsx)(H,{name:e.name,description:e.description,badgeComponent:e.badgeComponent,appLink:e.seeMoreLink,showSeeMoreLink:!!e.seeMoreLink}),(0,K.jsx)(k,{as:`ul`,className:`list-unstyled mx-n1 mb-n1 row-gap-3`,children:e.content.map((t,n)=>(0,K.jsx)(_s,{...gs({analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,partner:t,appLink:e.appLinks.partner(t)})},n))})]})}function Qc(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 34`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M55.055.922H1.462C.654.922 0 1.588 0 2.41v29.745c0 .822.654 1.488 1.462 1.488h53.593c.807 0 1.462-.666 1.462-1.488V2.41c0-.822-.655-1.488-1.462-1.488M.975 32.155V2.41c0-.274.218-.496.487-.496h53.593c.27 0 .487.222.487.496v29.745a.49.49 0 0 1-.487.496H1.462a.49.49 0 0 1-.488-.496m10.23-14.873c2.692 0 4.873-2.22 4.873-4.957 0-2.738-2.181-4.958-4.872-4.958s-4.872 2.22-4.872 4.958 2.181 4.958 4.872 4.958m11.408-6.742c-.65 0-1.175.533-1.175 1.19v.595c0 .657.526 1.19 1.175 1.19H39.75c.649 0 1.175-.533 1.175-1.19v-.595c0-.657-.526-1.19-1.175-1.19zM7.509 22.934c-.65 0-1.175.533-1.175 1.19v.595c0 .657.526 1.19 1.175 1.19h42.473c.65 0 1.176-.533 1.176-1.19v-.595c0-.657-.527-1.19-1.176-1.19zM115.513.922H60.979c-.822 0-1.487.666-1.487 1.488v29.745c0 .822.666 1.488 1.487 1.488h54.534c.821 0 1.487-.666 1.487-1.488V2.41c0-.822-.666-1.488-1.487-1.488m-55.03 31.233V2.41c0-.274.222-.496.496-.496h54.534c.273 0 .495.222.495.496v29.745a.496.496 0 0 1-.495.496H60.979a.496.496 0 0 1-.496-.496m10.411-14.873a4.958 4.958 0 1 0 0-9.915 4.958 4.958 0 0 0 0 9.915m11.607-6.742c-.66 0-1.196.533-1.196 1.19v.595c0 .657.535 1.19 1.196 1.19H99.94c.66 0 1.196-.533 1.196-1.19v-.595c0-.657-.536-1.19-1.196-1.19zM67.132 22.934c-.66 0-1.196.533-1.196 1.19v.595c0 .657.536 1.19 1.196 1.19h43.219c.66 0 1.196-.533 1.196-1.19v-.595c0-.657-.536-1.19-1.196-1.19z`})})}function $c(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 22`,children:(0,K.jsx)(`path`,{d:`M0 2C0 .895.844 0 1.886 0h43.228C46.156 0 47 .895 47 2v1c0 1.105-.844 2-1.886 2H1.886C.844 5 0 4.105 0 3zm11.524 14.238a5.762 5.762 0 1 1-11.524 0 5.762 5.762 0 0 1 11.524 0M20.429 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524m21.476-5.762a5.762 5.762 0 1 1-11.524 0 5.762 5.762 0 0 1 11.524 0M50.809 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524m20.43-5.762a5.762 5.762 0 1 1-11.525 0 5.762 5.762 0 0 1 11.524 0M80.142 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524m20.428-5.762a5.762 5.762 0 1 1-11.523 0 5.762 5.762 0 0 1 11.523 0M110.524 22a5.762 5.762 0 1 0 0-11.524 5.762 5.762 0 0 0 0 11.524`,fill:`currentColor`})})}function el(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 57`,children:(0,K.jsx)(`path`,{d:`M0 2.543A2.543 2.543 0 0 1 2.543 0H47.31a2.544 2.544 0 0 1 0 5.087H2.543A2.543 2.543 0 0 1 0 2.543m47.817 8.14c0-.281.228-.51.51-.51h20.347c.28 0 .509.229.509.51v21.365a.51.51 0 0 1-.51.508H48.327a.51.51 0 0 1-.509-.508zm-22.89-.51a.51.51 0 0 0-.51.51v21.365c0 .28.228.508.51.508h20.347a.51.51 0 0 0 .509-.508V10.683a.51.51 0 0 0-.51-.51zm69.69.51c0-.281.228-.51.51-.51h21.364a.51.51 0 0 1 .509.51v21.365a.51.51 0 0 1-.509.508H95.126a.51.51 0 0 1-.509-.508zm-22.89-.51a.51.51 0 0 0-.51.51v21.365c0 .28.228.508.51.508h20.347a.51.51 0 0 0 .509-.508V10.683a.51.51 0 0 0-.51-.51zM0 10.684c0-.281.228-.51.509-.51h21.365c.28 0 .509.229.509.51v21.365a.51.51 0 0 1-.51.508H.51A.51.51 0 0 1 0 32.048zM48.326 34.59a.51.51 0 0 0-.509.51v21.364c0 .281.228.509.51.509h20.347a.51.51 0 0 0 .509-.509V35.1a.51.51 0 0 0-.51-.509zm-23.909.51c0-.282.228-.51.51-.51h20.347c.28 0 .509.228.509.51v21.364a.51.51 0 0 1-.51.509H24.927a.51.51 0 0 1-.509-.509zM.51 34.59a.51.51 0 0 0-.509.51v21.364c0 .281.228.509.509.509h21.365a.51.51 0 0 0 .509-.509V35.1a.51.51 0 0 0-.51-.509z`,fill:`currentColor`})})}function tl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 19`,children:(0,K.jsx)(`path`,{d:`M0 2a2 2 0 0 1 2-2h45.755a2 2 0 0 1 2 2v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2zm27.432 7H1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h26.432a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1m0 9.5H10.154v-9h17.278a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5m60.91-8.5a1 1 0 0 0-1-1h-22.37a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h22.37a1 1 0 0 0 1-1zm-1 8.5H74.124v-9h13.216a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5M60.94 9H31.462a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1H60.94a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1m0 9.5H40.617v-9H60.94a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5m55.833-8.5a1 1 0 0 0-1-1h-24.4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h24.4a1 1 0 0 0 1-1zm-1 8.5h-15.247v-9h15.247a.5.5 0 0 1 .5.5v8a.5.5 0 0 1-.5.5`,fill:`currentColor`})})}function nl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 40`,children:(0,K.jsx)(`path`,{d:`M.976 0h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H.976C.437 12 0 11.463 0 10.8V1.2C0 .537.437 0 .976 0m8.935 11.4h16.863c.27 0 .488-.269.488-.6V1.2c0-.331-.218-.6-.488-.6H9.911zM30.726 0h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H30.726c-.539 0-.976-.537-.976-1.2V1.2c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6V1.2c0-.331-.218-.6-.488-.6H39.661zM86.274 0H60.476c-.539 0-.976.537-.976 1.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2V1.2c0-.663-.437-1.2-.976-1.2m0 11.4H69.411V.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.219.6-.488.6M90.226 0h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H90.226c-.539 0-.976-.537-.976-1.2V1.2c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6V1.2c0-.331-.218-.6-.488-.6H99.161zM26.774 14H.976C.437 14 0 14.537 0 15.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2v-9.6c0-.663-.437-1.2-.976-1.2m0 11.4H9.911V14.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.218.6-.488.6M30.726 14h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H30.726c-.539 0-.976-.537-.976-1.2v-9.6c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6v-9.6c0-.331-.218-.6-.488-.6H39.661zM86.274 14H60.476c-.539 0-.976.537-.976 1.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2v-9.6c0-.663-.437-1.2-.976-1.2m0 11.4H69.411V14.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.219.6-.488.6M90.226 14h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H90.226c-.539 0-.976-.537-.976-1.2v-9.6c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6v-9.6c0-.331-.218-.6-.488-.6H99.161zM26.774 28H.976C.437 28 0 28.537 0 29.2v9.6c0 .663.437 1.2.976 1.2h25.798c.539 0 .976-.537.976-1.2v-9.6c0-.663-.437-1.2-.976-1.2m0 11.4H9.911V28.6h16.863c.27 0 .488.269.488.6v9.6c0 .331-.218.6-.488.6M30.726 28h25.798c.539 0 .976.537.976 1.2v9.6c0 .663-.437 1.2-.976 1.2H30.726c-.539 0-.976-.537-.976-1.2v-9.6c0-.663.437-1.2.976-1.2m8.935 11.4h16.863c.27 0 .488-.269.488-.6v-9.6c0-.331-.218-.6-.488-.6H39.661z`,fill:`currentColor`})})}function rl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 32`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h44.852a2.5 2.5 0 0 0 0-5zm46.317 31h20V11h-20zm-1-20.5a.5.5 0 0 1 .5-.5h21a.5.5 0 0 1 .5.5v21a.5.5 0 0 1-.5.5h-21a.5.5 0 0 1-.5-.5zM57.1 24.701h.136q.944 0 1.573-.246.634-.253 1.011-.697t.54-1.046q.117-.426.15-.903l-.013.014q-.375.41-.882.657a2.4 2.4 0 0 1-1.087.246q-.71 0-1.258-.267a2.64 2.64 0 0 1-.902-.738 3.3 3.3 0 0 1-.533-1.067 4.4 4.4 0 0 1-.178-1.264q0-.718.219-1.347.219-.63.636-1.107a2.86 2.86 0 0 1 1.011-.752 3.25 3.25 0 0 1 1.36-.274q.808 0 1.416.315t1.025.868q.417.553.63 1.285.21.732.211 1.572v.581q0 .883-.157 1.702a5.7 5.7 0 0 1-.513 1.511q-.348.69-.923 1.217a4 4 0 0 1-1.394.813q-.82.288-1.928.287h-.15zm3.424-5.01v.658q-.135.305-.369.551-.24.253-.56.404a1.7 1.7 0 0 1-.704.143q-.404 0-.704-.17a1.5 1.5 0 0 1-.5-.466 2.2 2.2 0 0 1-.3-.67 3.3 3.3 0 0 1-.096-.792q0-.439.103-.82.11-.39.307-.677a1.5 1.5 0 0 1 .5-.458q.3-.171.676-.171.342 0 .636.157.3.157.526.472.232.307.355.772.13.457.13 1.066M24.917 10a.5.5 0 0 0-.5.5v21a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5v-21a.5.5 0 0 0-.5-.5zM95 10.5a.5.5 0 0 1 .5-.5h21a.5.5 0 0 1 .5.5v21a.5.5 0 0 1-.5.5h-21a.5.5 0 0 1-.5-.5zM71.717 10a.5.5 0 0 0-.5.5v21a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5v-21a.5.5 0 0 0-.5-.5zM1 11h20v20H1zm-.5-1a.5.5 0 0 0-.5.5v21a.5.5 0 0 0 .5.5h21a.5.5 0 0 0 .5-.5v-21a.5.5 0 0 0-.5-.5zm13.884 6.95v-.903H7.486v1.312h5.155L8.669 26h1.736z`,fill:`currentColor`})})}function il(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 27`,children:(0,K.jsx)(`path`,{d:`M5 0a5 5 0 0 0-5 5 4 4 0 0 0 4 4h109a4 4 0 0 0 4-4 5 5 0 0 0-5-5zM0 11.5a.5.5 0 0 1 .5-.5h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5zm30.5-.5a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm29.5.5a.5.5 0 0 1 .5-.5h26a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-26a.5.5 0 0 1-.5-.5zm29 0a.5.5 0 0 1 .5-.5h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5z`,fill:`currentColor`})})}function al(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 19`,children:(0,K.jsx)(`path`,{d:`M2 0a2 2 0 0 0-2 2v1a2 2 0 0 0 2 2h45.755a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zM1 9a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1zm59 1a1 1 0 0 1 1-1h25a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H61a1 1 0 0 1-1-1zM31 9a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h25a1 1 0 0 0 1-1v-8a1 1 0 0 0-1-1zm59 1a1 1 0 0 1 1-1h25a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H91a1 1 0 0 1-1-1z`,fill:`currentColor`})})}function ol(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 25`,children:(0,K.jsx)(`path`,{d:`M4.77.78h48.839a4.5 4.5 0 1 1 0 9H4.769a4.5 4.5 0 1 1 0-9M.27 16.479c0 .914.74 1.655 1.655 1.655h112.932a1.655 1.655 0 0 0 0-3.31H1.925c-.915 0-1.655.741-1.655 1.655m0 6c0-.914.74-1.655 1.655-1.655h112.932a1.655 1.655 0 0 1 0 3.31H1.925A1.655 1.655 0 0 1 .27 22.478`,fill:`currentColor`})})}function sl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 10`,children:(0,K.jsx)(`path`,{d:`M0 .391C0 .175.38 0 .847 0h115.306c.468 0 .847.175.847.391V9.61c0 .216-.379.391-.847.391H.847C.38 10 0 9.825 0 9.609z`,fill:`currentColor`})})}function cl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 22`,children:(0,K.jsx)(`path`,{d:`M0 .847C0 .38.38 0 .847 0h115.306c.468 0 .847.38.847.847v19.95a.847.847 0 0 1-.847.848H.847A.847.847 0 0 1 0 20.798z`,fill:`currentColor`})})}function ll(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 119 12`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.847.143c-.29 0-.576.053-.809.16C.848.391.5.613.5 1.034v9.217c0 .42.348.643.538.731.233.107.52.16.81.16h115.305c.289 0 .576-.053.809-.16.19-.088.538-.31.538-.73V1.033c0-.42-.348-.643-.538-.73a2 2 0 0 0-.809-.161zM1.5 10.09V1.194c.079-.027.199-.051.347-.051H117.5v9H1.847c-.148 0-.268-.024-.347-.052`})})}function ul(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 119 12`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.847.5c-.29 0-.576.053-.809.16C.848.75.5.972.5 1.392v9.218c0 .42.348.642.538.73.233.108.52.161.81.161h115.305c.289 0 .576-.053.809-.16.19-.089.538-.311.538-.731V1.39c0-.42-.348-.642-.538-.73a2 2 0 0 0-.809-.161zM1.5 10.448V1.552c.079-.028.199-.052.347-.052H82v9H1.847c-.148 0-.268-.024-.347-.052`})})}function dl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 38`,children:(0,K.jsx)(`path`,{d:`M0 2.688a2.5 2.5 0 0 1 2.5-2.5h45.733a2.5 2.5 0 0 1 0 5H2.5a2.5 2.5 0 0 1-2.5-2.5m79.427 8a.5.5 0 0 1 .5-.5H116.5a.5.5 0 0 1 .5.5V30.64a.5.5 0 0 1-.5.5H79.927a.5.5 0 0 1-.5-.5zm-39.714 0a.5.5 0 0 1 .5-.5h36.573a.5.5 0 0 1 .5.5V30.64a.5.5 0 0 1-.5.5H40.213a.5.5 0 0 1-.5-.5zM0 10.688a.5.5 0 0 1 .5-.5h36.573a.5.5 0 0 1 .5.5V30.64a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5zm.028 24.466a2 2 0 0 1 2-2h24.497a2 2 0 0 1 0 4H2.028a2 2 0 0 1-2-2m39.75 0a2 2 0 0 1 2-2h24.498a2 2 0 1 1 0 4H41.78a2 2 0 0 1-2-2m39.61 0a2 2 0 0 1 2-2h24.498a2 2 0 1 1 0 4H81.389a2 2 0 0 1-2-2`,fill:`currentColor`})})}function fl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 32`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h44a2.5 2.5 0 0 0 0-5zm58 10a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h26a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm29 0a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm-59 0a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm-30 0a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zM0 30c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H1.404C.628 32 0 31.105 0 30m89 0c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H90.404C89.628 32 89 31.105 89 30m-29 0c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H61.404C60.628 32 60 31.105 60 30m-30 0c0-1.105.628-2 1.404-2h17.192c.776 0 1.404.895 1.404 2s-.628 2-1.404 2H31.404C30.628 32 30 31.105 30 30`,fill:`currentColor`})})}function pl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 34`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.655 0h22.932a1.655 1.655 0 0 1 0 3.31H1.656a1.655 1.655 0 0 1 0-3.31M116 10V6H1v4zM1 11a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h115a1 1 0 0 1 1 1v4a1 1 0 0 1-1 1zm0 14.31v-11h115v11zm-1 0a1 1 0 0 0 1 1h115a1 1 0 0 0 1-1v-11a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1zm3.833-9.477H2.167a.166.166 0 1 0 0 .333h1.666A.17.17 0 0 0 4 16l-.001-.02a.17.17 0 0 0-.166-.147M1 33v-4h115v4zm-1 0a1 1 0 0 0 1 1h115a1 1 0 0 0 1-1v-4a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1zm3-3c.092 0 .167.076.167.167v.666h.666c.086 0 .156.064.166.147L4 31a.17.17 0 0 1-.167.167h-.666v.666a.17.17 0 0 1-.147.166L3 32a.17.17 0 0 1-.167-.167v-.666h-.666a.166.166 0 1 1 0-.334h.666v-.666c0-.092.074-.167.167-.167m.167-22.833a.166.166 0 1 0-.333 0v.666h-.667a.166.166 0 1 0 0 .333h.666v.667c0 .091.075.167.167.167l.02-.001a.17.17 0 0 0 .147-.166v-.666h.666A.17.17 0 0 0 4 8l-.001-.02a.17.17 0 0 0-.166-.147h-.666z`})})}function ml(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 20`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M24.588 1.285H1.654a1.655 1.655 0 0 0 0 3.31h22.932a1.655 1.655 0 0 0 0-3.31M1 7.595v11h115v-11zm0 12a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1h115a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1zm113.167-10.5a.17.17 0 0 0-.167-.167.167.167 0 0 0-.167.167v.666h-.666a.167.167 0 1 0 0 .333h.666v.667c0 .091.075.167.167.167l.02-.001a.17.17 0 0 0 .147-.166v-.666h.666a.17.17 0 0 0 .167-.167l-.001-.02a.17.17 0 0 0-.166-.147h-.666zm-109.501.19c-.92 0-1.666.672-1.666 1.5 0 .829.746 1.5 1.666 1.5h52.668c.92 0 1.666-.671 1.666-1.5 0-.828-.746-1.5-1.666-1.5z`})})}function hl(){return(0,K.jsxs)(`svg`,{viewBox:`0 0 117 23`,children:[(0,K.jsx)(`path`,{d:`M2.5 0C1.11929 0 0 1.11929 0 2.5C0 3.88071 1.11929 5 2.5 5H46.5C47.8807 5 49 3.88071 49 2.5C49 1.11929 47.8807 0 46.5 0H2.5Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M0 2.5C0 1.11929 1.11929 0 2.5 0H46.5C47.8807 0 49 1.11929 49 2.5C49 3.88071 47.8807 5 46.5 5H2.5C1.11929 5 0 3.88071 0 2.5Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M0 10.9334C0 10.4968 0.353937 10.1428 0.790541 10.1428H21.3446C21.7812 10.1428 22.1351 10.4968 22.1351 10.9334V22.0009C22.1351 22.4375 21.7812 22.7915 21.3446 22.7915H0.79054C0.353937 22.7915 0 22.4375 0 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M23.7162 10.9334C23.7162 10.4968 24.0702 10.1428 24.5068 10.1428H45.0608C45.4974 10.1428 45.8514 10.4968 45.8514 10.9334V22.0009C45.8514 22.4375 45.4974 22.7915 45.0608 22.7915H24.5068C24.0702 22.7915 23.7162 22.4375 23.7162 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M47.4324 10.9334C47.4324 10.4968 47.7864 10.1428 48.223 10.1428H68.777C69.2136 10.1428 69.5676 10.4968 69.5676 10.9334V22.0009C69.5676 22.4375 69.2136 22.7915 68.777 22.7915H48.223C47.7864 22.7915 47.4324 22.4375 47.4324 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M71.1487 10.9334C71.1487 10.4968 71.5026 10.1428 71.9392 10.1428H92.4933C92.9299 10.1428 93.2838 10.4968 93.2838 10.9334V22.0009C93.2838 22.4375 92.9299 22.7915 92.4933 22.7915H71.9392C71.5026 22.7915 71.1487 22.4375 71.1487 22.0009V10.9334Z`,fill:`#D7D7D7`}),(0,K.jsx)(`path`,{d:`M94.8648 10.9334C94.8648 10.4968 95.2188 10.1428 95.6554 10.1428H116.209C116.646 10.1428 117 10.4968 117 10.9334V22.0009C117 22.4375 116.646 22.7915 116.209 22.7915H95.6554C95.2188 22.7915 94.8648 22.4375 94.8648 22.0009V10.9334Z`,fill:`#D7D7D7`})]})}function gl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 22`,children:(0,K.jsx)(`path`,{d:`M.413 0C.185 0 0 .385 0 .861v20.278c0 .476.185.861.413.861h56.174c.228 0 .413-.386.413-.861V.861C57 .385 56.815 0 56.587 0zm60 0C60.185 0 60 .385 60 .861v20.278c0 .476.185.861.413.861h56.174c.228 0 .413-.386.413-.861V.861c0-.476-.185-.861-.413-.861z`,fill:`currentColor`})})}function _l(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 43`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h45.733a2.5 2.5 0 0 0 0-5zM0 11.119a1 1 0 0 1 1-1h55.498a1 1 0 0 1 1 1V41.82a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1zm59.502 0a1 1 0 0 1 1-1H116a1 1 0 0 1 1 1V41.82a1 1 0 0 1-1 1H60.502a1 1 0 0 1-1-1z`,fill:`currentColor`})})}function vl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 30`,children:(0,K.jsx)(`path`,{d:`M.268 0C.12 0 0 .245 0 .548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V.548C37 .245 36.88 0 36.732 0zm40 0C40.12 0 40 .245 40 .548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V.548C77 .245 76.88 0 76.732 0zM80 .548c0-.303.12-.548.268-.548h36.464c.148 0 .268.245.268.548v12.904c0 .303-.12.548-.268.548H80.268c-.148 0-.268-.245-.268-.548zM.268 16C.12 16 0 16.245 0 16.548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V16.548c0-.303-.12-.548-.268-.548zM40 16.548c0-.303.12-.548.268-.548h36.464c.148 0 .268.245.268.548v12.904c0 .303-.12.548-.268.548H40.268c-.148 0-.268-.245-.268-.548zM80.268 16c-.148 0-.268.245-.268.548v12.904c0 .303.12.548.268.548h36.464c.148 0 .268-.245.268-.548V16.548c0-.303-.12-.548-.268-.548z`,fill:`currentColor`})})}function yl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 119 24`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M1.847.5C1.103.5.5 1.103.5 1.847v19.95c0 .745.603 1.348 1.347 1.348h115.306c.744 0 1.347-.603 1.347-1.347V1.848c0-.745-.603-1.348-1.347-1.348zM1.5 1.847c0-.192.155-.347.347-.347h76.18Q78 1.666 78 1.861v20.284H1.847a.347.347 0 0 1-.347-.347z`})})}function bl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 31`,children:(0,K.jsx)(`path`,{d:`M2.5 0a2.5 2.5 0 0 0 0 5h45.733a2.5 2.5 0 0 0 0-5zm77.427 10a.5.5 0 0 0-.5.5v19.953a.5.5 0 0 0 .5.5H116.5a.5.5 0 0 0 .5-.5V10.5a.5.5 0 0 0-.5-.5zm-40.214.5a.5.5 0 0 1 .5-.5h36.573a.5.5 0 0 1 .5.5v19.953a.5.5 0 0 1-.5.5H40.213a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 0-.5.5v19.953a.5.5 0 0 0 .5.5h36.573a.5.5 0 0 0 .5-.5V10.5a.5.5 0 0 0-.5-.5z`,fill:`currentColor`})})}function xl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 26`,children:(0,K.jsx)(`path`,{d:`M0 2.5A2.5 2.5 0 0 1 2.5 0h44a2.5 2.5 0 0 1 0 5h-44A2.5 2.5 0 0 1 0 2.5m60 8a.5.5 0 0 1 .5-.5h26a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-26a.5.5 0 0 1-.5-.5zm29.5-.5a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm-59.5.5a.5.5 0 0 1 .5-.5h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5h-27a.5.5 0 0 1-.5-.5zM.5 10a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5z`,fill:`currentColor`})})}function Sl(e){return(0,K.jsx)(`svg`,{...e,viewBox:`0 0 117 36`,children:(0,K.jsx)(`path`,{fill:`currentColor`,d:`M0 .5A.5.5 0 0 1 .5 0h27a.5.5 0 0 1 .5.5v15a.5.5 0 0 1-.5.5H.5a.5.5 0 0 1-.5-.5zM31.913 0a1.655 1.655 0 0 0 0 3.31h22.932a1.655 1.655 0 0 0 0-3.31zm-1.655 7.655c0-.914.74-1.655 1.655-1.655h82.932a1.655 1.655 0 0 1 0 3.31H31.913a1.655 1.655 0 0 1-1.655-1.655m1.655 4.535a1.655 1.655 0 0 0 0 3.31h62.932a1.655 1.655 0 0 0 0-3.31zM.5 20a.5.5 0 0 0-.5.5v15a.5.5 0 0 0 .5.5h27a.5.5 0 0 0 .5-.5v-15a.5.5 0 0 0-.5-.5zm31.413 0a1.655 1.655 0 0 0 0 3.31h22.932a1.655 1.655 0 0 0 0-3.31zm-1.655 7.655c0-.914.74-1.655 1.655-1.655h82.932a1.655 1.655 0 0 1 0 3.31H31.913a1.655 1.655 0 0 1-1.655-1.655m1.655 4.535a1.655 1.655 0 0 0 0 3.31h62.932a1.655 1.655 0 0 0 0-3.31z`})})}var Cl={[F.ThumbnailHeroMedia]:{getComponent:()=>Ac,partialLoading:Oc,icon:Xc,predicate:({targetType:e})=>[v.Classification,v.Discover,v.Company,v.PartnerProfile].includes(e),className:``},[F.PosterSlidingListLarge]:{getComponent:()=>Ro,partialLoading:Mo,icon:Gc,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.MoviesAndTv,v.Company,v.PartnerProfile].includes(e),className:``},[F.PosterSlidingListMedium]:{getComponent:()=>Go,partialLoading:Wo,icon:Kc,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.MoviesAndTv,v.Company].includes(e),className:``},[F.PosterSlidingListSmall]:{getComponent:e=>{switch(e){case I.CuratedClassifications:return Jo;case I.CuratedSeries:return Xo;default:return Jo}},partialLoading:Yo,icon:qc,predicate:({targetType:e,widgetTypeId:t,product:n})=>{if(n===B.StreamableLearning)return!1;switch(t){case I.CuratedClassifications:return[v.Classification,v.Discover,v.MoviesAndTv].includes(e);case I.CuratedSeries:return[v.MoviesAndTv,v.Company,v.PartnerProfile].includes(e);default:return!1}},className:``},[F.ThumbnailFeaturedMedia]:{getComponent:()=>Us,partialLoading:Bs,icon:Yc,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company,v.PartnerProfile].includes(e),className:``},[F.CoverFixedPillListLarge]:{getComponent:()=>Er,partialLoading:kr,icon:Vc,predicate:({targetType:e,product:t})=>t===B.StreamableLearning?[v.Classification].includes(e):[v.Classification,v.Discover].includes(e),className:``},[F.StatsCoverFixedPillListLarge]:{getComponent:()=>Ns,partialLoading:Os,icon:Jc,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.ClassificationDirectory].includes(e),className:``},[F.CoverFixedPillListXSmall]:{getComponent:()=>Rr,partialLoading:zr,icon:Hc,predicate:({targetType:e,product:t})=>t===B.StreamableLearning?[v.Discover].includes(e):[v.Classification,v.Discover].includes(e),className:``},[F.CoverSlidingPillListSmall]:{getComponent:()=>ni,partialLoading:ri,icon:tl,predicate:({targetType:e,widgetTypeId:t,product:n})=>n===B.StreamableLearning?t!==I.Classifications&&[v.Discover,v.Company,v.Classification].includes(e):[v.Classification,v.Discover,v.MoviesAndTv,v.Company].includes(e),className:``},[F.CoverFixedTileList]:{getComponent:()=>Yr,partialLoading:Xr,icon:el,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company].includes(e),className:``},[F.FeaturedThumbnailSlidingList]:{getComponent:()=>Ma,partialLoading:Na,icon:il,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.PartnerProfile].includes(e),className:``},[F.HeroBanner]:{getComponent:()=>qa,partialLoading:Ja,icon:cl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover].includes(e),className:``},[F.HeroBannerSmall]:{getComponent:()=>uo,partialLoading:fo,icon:sl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.MoviesAndTv,v.PartnerProfile].includes(e),className:``},[F.HeroThumbnailSmall]:{getComponent:()=>go,partialLoading:_o,icon:ul,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company,v.MoviesAndTv].includes(e),className:``},[F.HeroBlockColourSmall]:{getComponent:()=>po,partialLoading:mo,icon:ll,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.ClassificationDirectory,v.ClassificationCurriculum].includes(e),className:``},[F.ThumbnailFixedListXLarge]:{getComponent:()=>Ec,partialLoading:Cc,icon:yl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company,v.MoviesAndTv].includes(e),className:``},[F.ThumbnailFixedListLarge]:{getComponent:()=>nc,partialLoading:Js,icon:gl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company,v.MoviesAndTv,v.PartnerProfile].includes(e),className:``},[F.ThumbnailFixedListSmall]:{getComponent:()=>Sc,partialLoading:yc,icon:vl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company,v.MoviesAndTv].includes(e),className:``},[F.EditableCoverFixedPillListSmall]:{getComponent:()=>$i,partialLoading:ta,icon:nl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Discover].includes(e),className:``},[F.Heading]:{getComponent:()=>Wa,partialLoading:Ga,icon:ol,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.ClassificationDirectory,v.Discover,v.PartnerProfile].includes(e),className:`heading-widget-template`},[F.AuthorReviewer]:{getComponent:()=>ur,partialLoading:fr,icon:Qc,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification].includes(e),className:``},[F.Question]:{getComponent:()=>rs,partialLoading:Qo,icon:ml,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification].includes(e),className:``},[F.QuestionAccordion]:{getComponent:()=>us,partialLoading:os,icon:pl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification].includes(e),className:``},[F.FeedbackCta]:{getComponent:()=>La,partialLoading:Ra,icon:Uc,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification].includes(e),className:``},[F.ThumbnailFixedListMediaLarge]:{getComponent:()=>lc,partialLoading:ic,icon:_l,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company].includes(e),className:``},[F.PopoutThumbnailSlidingListLarge]:{getComponent:()=>xo,partialLoading:yo,icon:dl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.Discover,v.Company,v.PartnerProfile,v.MoviesAndTv].includes(e),className:``},[F.PopoutThumbnailSlidingListSmall]:{getComponent:()=>ko,partialLoading:Co,icon:fl,predicate:({targetType:e,product:t,isTopLevelClassification:n})=>t===B.StreamableLearning?[v.Discover,v.Company].includes(e):e===v.Classification?n:[v.MoviesAndTv,v.Discover,v.Company,v.PartnerProfile].includes(e),className:``},[F.FilterSlidingPillListSmall]:{getComponent:()=>Ha,partialLoading:Ua,icon:al,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.MoviesAndTv].includes(e),className:``},[F.CircleLogoSlidingList]:{getComponent:()=>hr,partialLoading:_r,icon:$c,predicate:({targetType:e,product:t})=>t===B.StreamableLearning?[v.Discover,v.Company].includes(e):[v.MoviesAndTv].includes(e),className:``},[F.RectangularLogoSlidingList]:{getComponent:()=>ys,partialLoading:pn,icon:hl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Discover,v.MoviesAndTv,v.Search,v.PartnerProfile].includes(e),className:``},[F.RectangularLogoFixedList]:{getComponent:()=>Zc,partialLoading:pn,icon:null,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Discover,v.MoviesAndTv,v.Search,v.DiscoverPartnerProfiles].includes(e),className:``},[F.EventIconSlidingList]:{getComponent:()=>Ea,partialLoading:Oa,icon:rl,predicate:({targetType:e,product:t})=>t===B.StreamableLearning?[v.Discover,v.Classification,v.Company].includes(e):[v.Discover,v.Classification].includes(e),className:``},[F.ThumbnailVerticalList]:{getComponent:()=>Oi,partialLoading:Ni,icon:Sl,predicate:({targetType:e,product:t})=>v.PartnerProfile===e||t===B.StreamableLearning&&[v.Company,v.Classification,v.PartnerProfile].includes(e),className:``},[F.InfiniteThumbnailVerticalList]:{getComponent:()=>Oi,partialLoading:Ni,icon:Sl,displayName:`Vertical list with infinite scroll`,predicate:({targetType:e})=>v.PartnerProfile===e,className:``},[F.ThumbnailFixedListSearchCta]:{getComponent:()=>rr,partialLoading:Co,icon:Wc,displayName:`Fixed List with Search CTA`,predicate:({targetType:e})=>v.PartnerProfile===e,className:``},[F.ThumbnailSlidingListSmallV2]:{getComponent:()=>Bc,partialLoading:Xn,icon:xl,predicate:({targetType:e,product:t})=>t!==B.StreamableLearning&&[v.Classification,v.PartnerProfile].includes(e),className:``},[F.CurriculumResourcesAccordion]:{getComponent:()=>Ki,partialLoading:Ji,icon:null,predicate:()=>!1,className:``},[F.ThumbnailFixedListMediaSmall]:{getComponent:()=>_c,partialLoading:Xn,icon:null,predicate:()=>!1,className:`thumbnail-fixed-list-media-small-widget-template`},[F.ThumbnailFixedListFolderSmall]:{getComponent:()=>Ks,partialLoading:Xn,icon:null,predicate:()=>!1,className:``},[F.TagSlidingList]:{getComponent:()=>Is,partialLoading:Fs,icon:null,predicate:()=>!1,className:`tag-sliding-list-widget-template`},[F.CurriculumCodeSearchResults]:{getComponent:()=>ki,partialLoading:Pi,icon:null,predicate:()=>!1,className:``},[F.PosterFixedListLarge]:{getComponent:()=>Io,partialLoading:Mo,icon:null,predicate:()=>!1,className:`poster-fixed-list-large-widget-template`},[F.SearchSuggestionsBlurb]:{getComponent:()=>Ts,partialLoading:bs,icon:null,predicate:()=>!1,className:``},[F.ThumbnailSlidingListSmall]:{getComponent:()=>Nc,partialLoading:Xn,icon:xl,predicate:()=>!1,className:``},[F.ThumbnailSlidingListLarge]:{getComponent:()=>Mc,partialLoading:jc,icon:bl,predicate:()=>!1,className:``}};export{sa as _,ds as a,J as b,$a as c,eo as d,Xa as f,ba as g,Pa as h,ks as i,Qa as l,Fa as m,Fc as n,ns as o,Ya as p,As as r,Co as s,Cl as t,Za as u,Di as v,pn as x,Y as y};
|
|
9
|
+
//# sourceMappingURL=5FGdlWcH.chunk.js.map
|