@clickview/exchange 0.4.0 → 0.5.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +2 -2
- package/dist/css/{542-exchange-87aebfac2d.chunk.css → 188-exchange-a4c9e28e05.chunk.css} +1 -0
- package/dist/css/{660-exchange-44acefff9c.chunk.css → 221-exchange-402ebc33c2.chunk.css} +1 -0
- package/dist/css/{513-exchange-26e4acd60f.chunk.css → 483-exchange-c7cbccba64.chunk.css} +2 -0
- package/dist/css/{451-exchange-5ab058362e.chunk.css → 662-exchange-bd42f2d0b1.chunk.css} +2 -0
- package/dist/css/{521-exchange-62cd53760b.chunk.css → 685-exchange-06a0b71b42.chunk.css} +1 -0
- package/dist/css/{110-exchange-f21f100641.chunk.css → 714-exchange-465315b2cc.chunk.css} +1 -0
- package/dist/css/{691-exchange-be796baa72.chunk.css → 742-exchange-e385640fac.chunk.css} +1 -0
- package/dist/css/{449-exchange-a43d52db5a.chunk.css → 806-exchange-4132356b8a.chunk.css} +2 -0
- package/dist/css/{23-exchange-83a7567f92.chunk.css → 954-exchange-e62302e47d.chunk.css} +1 -0
- package/dist/css/{721-exchange-2e47e33baf.chunk.css → 974-exchange-193431a50b.chunk.css} +3 -1
- package/dist/css/{lite-exchange-775a8c3715.css → lite-exchange-0dcfdec9ca.css} +0 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/117-baadf537ae-exchange.chunk.js +1 -0
- package/dist/scripts/15-916b8ba338-exchange.chunk.js +1 -0
- package/dist/scripts/172-6c77bef4fd-exchange.chunk.js +1 -0
- package/dist/scripts/188-07612b71ca-exchange.chunk.js +1 -0
- package/dist/scripts/221-1b20c3222d-exchange.chunk.js +2 -0
- package/dist/scripts/254-1abab9a56e-exchange.chunk.js +1 -0
- package/dist/scripts/371-6c08fb2c52-exchange.chunk.js +1 -0
- package/dist/scripts/{513-324a3c39bd-exchange.chunk.js → 483-8f0206077b-exchange.chunk.js} +1 -1
- package/dist/scripts/554-aaf7d7384c-exchange.chunk.js +1 -0
- package/dist/scripts/{451-216460566b-exchange.chunk.js → 662-ef34cf8f20-exchange.chunk.js} +1 -1
- package/dist/scripts/{682-74e77f1481-exchange.chunk.js → 682-3b022711cf-exchange.chunk.js} +1 -1
- package/dist/scripts/685-4cc240b336-exchange.chunk.js +1 -0
- package/dist/scripts/714-6decfd17a2-exchange.chunk.js +1 -0
- package/dist/scripts/725-63bd8ffba3-exchange.chunk.js +1 -0
- package/dist/scripts/742-5c266a27d3-exchange.chunk.js +1 -0
- package/dist/scripts/{449-c5b1b26b47-exchange.chunk.js → 806-8cd7fd5704-exchange.chunk.js} +1 -1
- package/dist/scripts/851-407b5bf3db-exchange.chunk.js +1 -0
- package/dist/scripts/854-36cfb8fd02-exchange.chunk.js +1 -0
- package/dist/scripts/954-64b2a11bdf-exchange.chunk.js +1 -0
- package/dist/scripts/974-8b28811354-exchange.chunk.js +1 -0
- package/dist/scripts/bundle-2f0e7cc418.min.js +2 -0
- package/package.json +1 -1
- package/dist/scripts/110-db3b1929b2-exchange.chunk.js +0 -1
- package/dist/scripts/23-e891cffbfa-exchange.chunk.js +0 -1
- package/dist/scripts/442-a20d84d797-exchange.chunk.js +0 -1
- package/dist/scripts/521-5b7f21ff9b-exchange.chunk.js +0 -1
- package/dist/scripts/528-34801c6f0b-exchange.chunk.js +0 -1
- package/dist/scripts/542-aa969a4fc0-exchange.chunk.js +0 -1
- package/dist/scripts/602-309c5fe86c-exchange.chunk.js +0 -1
- package/dist/scripts/660-7264c43283-exchange.chunk.js +0 -2
- package/dist/scripts/687-7bc7817f66-exchange.chunk.js +0 -1
- package/dist/scripts/691-bfa10b0ca2-exchange.chunk.js +0 -1
- package/dist/scripts/7-6f5455ab95-exchange.chunk.js +0 -1
- package/dist/scripts/72-a66d7fa1dc-exchange.chunk.js +0 -1
- package/dist/scripts/721-1c7f6c39f7-exchange.chunk.js +0 -1
- package/dist/scripts/725-1eb1d36775-exchange.chunk.js +0 -1
- package/dist/scripts/851-54010ad2b6-exchange.chunk.js +0 -1
- package/dist/scripts/993-99411d7e8c-exchange.chunk.js +0 -1
- package/dist/scripts/bundle-12e5a4ea5b.min.js +0 -2
- /package/dist/scripts/{660-7264c43283-exchange.chunk.js.LICENSE.txt → 221-1b20c3222d-exchange.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{bundle-12e5a4ea5b.min.js.LICENSE.txt → bundle-2f0e7cc418.min.js.LICENSE.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[15],{64887:(e,t,n)=>{n.d(t,{e:()=>v});var a=n(32735),r=n(79014),o=n(63855),i=n(18150),l=n(81886),c=n(45157),s=n(49985),u=n(83914),m=n(57408),d=n(35223);const p={dropdownToggle:"UCAnJ"};function g(e){var t="dropdown-item";return e&&(t+=" ".concat(e)),t}function f(e){var t=r.q.isFunction(e.action.label)?e.action.label:function(){return a.createElement(a.Fragment,null,e.action.label)};if(e.action.appLink)return a.createElement(m.F,{appLink:e.action.appLink,onClick:e.action.onClick,className:g(e.action.className),analyticsData:e.action.analyticsData,analyticsOptions:e.action.analyticsOptions,openInNewTab:e.action.openInNewTab,disabled:e.action.disabled},t());function n(t){t.preventDefault(),e.action.analyticsData&&e.action.analyticsOptions&&s.k.logUserAction(e.action.analyticsData,e.action.analyticsOptions),r.q.isFunction(e.action.onClick)&&e.action.onClick(),e.action.href&&l.Q.LocationUtils.PageLoad(e.action.href,e.action.openInNewTab)}return e.action.href?a.createElement("a",{className:g(e.action.className),onClick:n,href:e.action.href},t()):a.createElement("span",{className:"cursor-pointer ".concat(g(e.action.className)),onClick:n,role:"button",tabIndex:0,onKeyDown:function(e){return"Enter"===e.key&&n(e)}},t())}function b(e){if(!e.actions||!e.actions.length)return a.createElement(a.Fragment,null);var t="dropdown";e.className&&(t+=" ".concat(e.className));var n="actions-dropdown-".concat(c.Y.getRandomInt()),r="dropdown-toggle px-0 ".concat(p.dropdownToggle);return e.dropdownToggleClassName&&(r+=" ".concat(e.dropdownToggleClassName)),a.createElement("div",{className:t},a.createElement("button",{className:r,type:"button",id:n,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},a.createElement(u.x,{svgName:d.vn.More,size:e.dropdownToggleSvgSize})),a.createElement("div",{className:"dropdown-menu dropdown-menu-right","aria-labelledby":n},e.actions.map((function(e,t){return e.tooltip?a.createElement(i.u,{key:t,title:e.tooltip,spanHack:!0},a.createElement(f,{action:e})):a.createElement(f,{key:t,action:e})}))))}b.defaultProps={dropdownToggleClassName:"btn btn-light",dropdownToggleSvgSize:u.S.Small};var y=n(42735);function v(e){var t=a.useMemo((function(){return e.actions.sort((function(e,t){return e.order-t.order}))}),[e.actions]),n=[],l=[];t.forEach((function(e){e.button?n.push(e):l.push(e)}));var c="d-flex";return e.className&&(c+=" ".concat(e.className)),n.length||l.length?a.createElement("div",{className:c},a.createElement(a.Fragment,null,a.createElement("span",{className:"d-flex align-items-center"},n.length?n.map((function(e,t){return a.createElement(a.Fragment,{key:t},function(){if(e.label){var t=r.q.isFunction(e.label)?e.label:function(){return a.createElement(a.Fragment,null,e.label)};return a.createElement(y.K,{appLink:e.appLink,href:e.href,onClick:e.onClick,svgName:e.svgName,className:e.className,tooltip:e.tooltip,showSpinner:e.showSpinner,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled},t())}var n=a.createElement(o.h,{appLink:e.appLink,href:e.href,onClick:e.onClick,svgName:e.svgName,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled});return e.tooltip?a.createElement(i.u,{title:e.tooltip,spanHack:!0},n):n}())})):a.createElement(a.Fragment,null),e.sortComponent&&e.sortComponent,l.length?a.createElement(b,{actions:l,dropdownToggleClassName:e.actionsDropdownClassName,dropdownToggleSvgSize:e.dropdownToggleSvgSize}):a.createElement(a.Fragment,null)))):a.createElement(a.Fragment,null)}},17464:(e,t,n)=>{n.d(t,{c:()=>o});var a=n(32735),r=n(86474);function o(e){var t="d-flex align-items-center badge-list ".concat(r.Z.minHeight);return e.className&&(t+=" ".concat(e.className)),a.createElement("div",{className:t},e.children)}},56247:(e,t,n)=>{n.d(t,{Z:()=>g});var a=n(32735),r=n(1048),o=n(65294);const i="fVSzb";function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=a.memo((function(e){var t,n,r=e.forceLoad,c=e.extraClasses,s=void 0===c?"":c,u=e.errorFallbackImageSrc,m=e.preventLoad,d=void 0!==m&&m,p=e.src,g=e.alt,f=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r<a.length;r++)t.indexOf(a[r])<0&&Object.prototype.propertyIsEnumerable.call(e,a[r])&&(n[a[r]]=e[a[r]])}return n}(e,["forceLoad","extraClasses","errorFallbackImageSrc","preventLoad","src","alt"]),b=(0,o.Y)({rootMargin:"500px"}),y=b.ref,v=b.inView,C=(t=a.useState(!1),n=2,function(e){if(Array.isArray(e))return e}(t)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(t,n)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,t):void 0}}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),h=C[0],k=C[1];function w(){return h&&u?u:e.src}if(a.useEffect((function(){if((r||v)&&!d){var e=new Image;return e.onerror=function(){k(!0),u&&(e.src=u)},e.src=p,function(){return e.onerror=null}}}),[v,d]),h&&!u)return a.createElement(a.Fragment,null);if(!y)return a.createElement("img",Object.assign({className:"".concat(i," ").concat(s),alt:g,src:w()},f));var N=Object.assign(Object.assign({alt:g},f),!v&&!r||d?{src:"data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs="}:{src:w()});return r||(N.ref=y),a.createElement("img",Object.assign({className:"".concat(i," ").concat(s)},N))})),s=n(57408),u=n(67453);const m={image:"vdd4V",thumbnail:"Ez0E7",tallPoster:"H9bQA",cover:"Nudts",banner:"IOvDH",poster:"iiY56",pdf:"aDJiJ",link:"wDpui"};var d=n(54610);function p(e){var t=m.image,n="";return e.imageType===d.__.Thumbnails&&(n="thumbnail ".concat(m.thumbnail)),e.imageType===d.__.TallPosters&&(n=m.tallPoster),e.imageType===d.__.Covers&&(n=m.cover),e.imageType===d.__.Banners&&(n=m.banner),e.imageType===d.__.Posters&&(n=m.poster),e.imageType===d.__.Pdf&&(n=m.pdf),e.imageType===d.__.Link&&(n=m.link),n&&(t+=" ".concat(n)),e.className&&(t+=" ".concat(e.className)),t}function g(e){var t=e.data,n=e.imageOptions,o=e.appLink,i=e.preload,l=e.preventLoad,m=e.analyticsOptions,d=e.analyticsData,g=e.imageClassName,f=e.alt,b="";"string"==typeof t?b=t:r.t.isObject(t)&&(b=t.url);var y=b&&n?u.j.createUrl(b,n):b;return a.createElement("div",{className:p(e),style:e.imageStyle},a.createElement(s.F,{appLink:o,analyticsData:d,analyticsOptions:m,onClick:e.onClick},e.children,y&&a.createElement(c,{src:y,alt:f,forceLoad:i,preventLoad:l,extraClasses:g,errorFallbackImageSrc:e.errorFallbackImageSrc})))}},16035:(e,t,n)=>{n.d(t,{z:()=>s});var a=n(32735),r=n(57408),o=n(44829),i=n(35223),l=n(83914),c=n(86319);function s(e){var t,n,s=e.tag,u=e.appLink,m=e.onClick,d=e.disabled,p=e.tagClass,g=void 0===p?"tag":p,f=s.name.toLowerCase(),b=null===(t=s.tagType)||void 0===t?void 0:t.toLowerCase(),y="badge-pill py-1 px-2 my-1 mr-1 ".concat(g," ").concat(function(e){switch(e){case o.Q.Pedagogy:case o.Q.Skill:return"pedagogy-tag text-white";case o.Q.Hidden:return"hidden-tag";case o.Q.Normal:default:return""}}(b)),v=b===o.Q.Normal&&!!(null===(n=e.themeColours)||void 0===n?void 0:n.secondary);v&&(y+=" text-white"),!u&&!m||d||(y+=" cursor-pointer"),d&&(y+=" "+c.Z.disabled),e.onRemove&&(y+=" "+c.Z.badge),u||(y+=" d-inline-block");var C=v?{backgroundColor:e.themeColours.secondary}:{};return u?a.createElement(r.F,{onClick:m,appLink:u,className:y,title:f,style:C},a.createElement("span",{className:"text-truncate text-nowrap"},f)):a.createElement("span",{onClick:m,className:y,title:f,style:C},a.createElement("span",{className:"text-truncate text-nowrap"},f,e.onRemove&&a.createElement("button",{onClick:e.onRemove,className:"".concat(c.Z.close," close font-size-normal")},a.createElement(l.x,{size:l.S.Small,svgName:i.vn.Close,className:"d-inline-block svg-container"}))))}},7733:(e,t,n)=>{n.d(t,{o:()=>a});var a=["bg-pink","bg-orange"].concat(["bg-green","bg-cyan","bg-teal","bg-blue","bg-indigo","bg-purple"])},4594:(e,t,n)=>{var a;n.d(t,{E:()=>a}),function(e){e[e.Audience=1]="Audience",e[e.Category=2]="Category",e[e.Channel=3]="Channel",e[e.Chapter=4]="Chapter",e[e.Comment=5]="Comment",e[e.OwnerComment=6]="OwnerComment",e[e.Image=7]="Image",e[e.Thumbnail=8]="Thumbnail",e[e.Avatar=9]="Avatar",e[e.Banner=10]="Banner",e[e.Video=11]="Video",e[e.Trailer=12]="Trailer",e[e.Rating=13]="Rating",e[e.Topic=14]="Topic",e[e.Series=15]="Series",e[e.Season=16]="Season",e[e.HostedMediaObjectCollection=17]="HostedMediaObjectCollection",e[e.ExchangeCollection=18]="ExchangeCollection",e[e.CustomMediaObjectCollection=19]="CustomMediaObjectCollection",e[e.Playlist=20]="Playlist",e[e.ClickViewTvCollection=21]="ClickViewTvCollection",e[e.ClickViewProductionsCollection=22]="ClickViewProductionsCollection",e[e.User=23]="User",e[e.SystemUser=24]="SystemUser",e[e.Customer=25]="Customer",e[e.Country=26]="Country",e[e.Organisation=28]="Organisation",e[e.SystemOrganisation=29]="SystemOrganisation",e[e.Group=30]="Group",e[e.SystemGroup=31]="SystemGroup",e[e.FlagReason=32]="FlagReason",e[e.Library=33]="Library",e[e.Interactive=34]="Interactive",e[e.WorkspaceCollection=35]="WorkspaceCollection",e[e.Conversation=36]="Conversation",e[e.Message=37]="Message",e[e.Notification=38]="Notification",e[e.Clip=39]="Clip",e[e.Link=40]="Link",e[e.UserChannel=41]="UserChannel",e[e.Resource=42]="Resource",e[e.VideoStream=43]="VideoStream",e[e.AudioStream=44]="AudioStream",e[e.Tag=45]="Tag",e[e.Subtitle=46]="Subtitle",e[e.LicencedContentCollection=47]="LicencedContentCollection",e[e.PublicCollection=48]="PublicCollection",e[e.CategoryTree=49]="CategoryTree",e[e.Logo=50]="Logo",e[e.Permission=51]="Permission",e[e.Subject=52]="Subject",e[e.Field=53]="Field",e[e.Company=54]="Company",e[e.Person=55]="Person",e[e.Cover=56]="Cover",e[e.Poster=57]="Poster",e[e.SubjectAudience=58]="SubjectAudience",e[e.TallPoster=60]="TallPoster",e[e.Classroom=67]="Classroom",e[e.ClassroomGroup=68]="ClassroomGroup",e[e.UserProfile=74]="UserProfile"}(a||(a={}))},44829:(e,t,n)=>{var a,r;n.d(t,{Q:()=>a}),function(e){e.Normal="normal",e.Pedagogy="pedagogy",e.Hidden="hidden",e.Skill="skill",e.Curation="curation"}(a||(a={})),function(e){e[e.Normal=0]="Normal",e[e.Pedagogy=1]="Pedagogy",e[e.Hidden=2]="Hidden",e[e.Skill=3]="Skill",e[e.Curation=4]="Curation"}(r||(r={}))},65294:(e,t,n)=>{n.d(t,{Y:()=>o});var a=n(10288);function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function o(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=n.prevent,i=n.rootMargin,l=n.triggerOnce,c=void 0===l||l,s=(e=a.YD({triggerOnce:c,rootMargin:i}),t=3,function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(a=o.call(n)).done)&&(l.push(a.value),l.length!==t);c=!0);}catch(e){s=!0,r=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw r}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=s[0],m=s[1],d=s[2];return!0!==o&&void 0!==window.IntersectionObserver||(m=!0,u=null),{ref:u,inView:m,initialized:!!d}}},79967:(e,t,n)=>{n.d(t,{k:()=>o});var a=n(32735),r=n(49677);function o(){return a.useContext(r.X)}},86319:(e,t,n)=>{n.d(t,{Z:()=>a});const a={tagList:"Zw6d9",disabled:"jlL1c",partialTag:"too_N",badge:"OjtN8",close:"X9joI"}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[172],{85177:(n,r,t)=>{"use strict";t.d(r,{oy:()=>I,mS:()=>i});var e=t(32735),a=t(83914),o=t(35223);const d={baseFallbackContainer:"ZvbeV",svgFallbackContainer:"atIHN",subjectFallbackContainer:"m20L7",subjectFallbackContainerSmall:"QIbxu",subjectFallbackContainerLarge:"z_sHT",seriesItemFallback:"epoLB",playlistItemFallback:"h1S5T",playlistFallback:"ZbKBN",posterFallback:"I1mTo",subjectFallback:"kNG8Z",fallbackThumbnailImage:"nKsWZ",videoFallback:"LolCW",folderFallback:"mdrT5"};var i,u,p,c=t(9085),s=t(7733);function I(n){var r,t=n.type,I=n.mediaType,l=n.extraClasses,b=n.containerClassSize;if(t===i.Video)return e.createElement("div",{className:"".concat(d.videoFallback," ").concat(n.extraClasses," bg-light-blue")});if(t===i.Folder)return e.createElement("div",{className:"".concat(d.folderFallback," ").concat(n.extraClasses," ").concat((0,c.x)(n.name,s.o))});var h=function(n){return n===i.SeriesThumbnail?d.seriesItemFallback:n===i.PlaylistThumbnail?d.playlistItemFallback:n===i.Playlist?d.playlistFallback:n===i.Series||n===i.TallSubject?d.posterFallback:n===i.Subject?"".concat(d.subjectFallback," svg-container d-inline-block"):""}(t),f=function(n){return n===i.SeriesThumbnail||n===i.PlaylistThumbnail?o.vn.Play:n===i.Playlist?o.vn.Image:n===i.Series?o.vn.Series:n===i.Subject||n===i.TallSubject?o.vn.Subject:""}(t),L=function(n){return n===i.Subject?a.S.ExtraLarge:a.S.Standard}(t),y="".concat(function(n,r,t){if(r===i.Subject){var e=t===p.Large?d.subjectFallbackContainerLarge:d.subjectFallbackContainerSmall;return"".concat(d.subjectFallbackContainer," ").concat(e)}return n===u.Svg?r===i.SeriesThumbnail||r===i.PlaylistThumbnail?"".concat(d.svgFallbackContainer," rounded-lg"):d.svgFallbackContainer:d.baseFallbackContainer}(I,t,b));return l&&(y+=" ".concat(n.extraClasses)),e.createElement("div",{className:y},I===u.Svg?e.createElement(a.x,{svgName:f,className:"".concat(h," ").concat(null!==(r=n.svgContainerClassName)&&void 0!==r?r:""),tagName:"div",size:L}):e.createElement("div",{className:d.fallbackThumbnailImage,style:{backgroundImage:"url('".concat(f,"')")}}))}!function(n){n[n.Playlist=0]="Playlist",n[n.PlaylistThumbnail=1]="PlaylistThumbnail",n[n.Series=2]="Series",n[n.SeriesThumbnail=3]="SeriesThumbnail",n[n.Subject=4]="Subject",n[n.TallSubject=5]="TallSubject",n[n.Video=6]="Video",n[n.Folder=7]="Folder"}(i||(i={})),function(n){n[n.Svg=0]="Svg",n[n.Image=1]="Image"}(u||(u={})),function(n){n[n.Large=0]="Large",n[n.Small=1]="Small"}(p||(p={})),I.defaultProps={mediaType:u.Svg,containerClassSize:p.Large}},63545:(n,r,t)=>{"use strict";t.d(r,{_:()=>c});var e=t(32735),a=t(80247),o=t(10288),d=t(83914),i=t(35223);const u={container:"VwD1b",spinner:"eJ85e"};function p(n,r){(null==r||r>n.length)&&(r=n.length);for(var t=0,e=new Array(r);t<r;t++)e[t]=n[t];return e}function c(n){var r,t,c=(r=o.YD(),t=2,function(n){if(Array.isArray(n))return n}(r)||function(n,r){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var e,a,o,d,i=[],u=!0,p=!1;try{if(o=(t=t.call(n)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(e=o.call(t)).done)&&(i.push(e.value),i.length!==r);u=!0);}catch(n){p=!0,a=n}finally{try{if(!u&&null!=t.return&&(d=t.return(),Object(d)!==d))return}finally{if(p)throw a}}return i}}(r,t)||function(n,r){if(n){if("string"==typeof n)return p(n,r);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?p(n,r):void 0}}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=c[0],I=c[1];return e.useEffect((function(){var r;n.fetchOnScroll&&I&&!n.isFetching&&(null===(r=n.fetchNext)||void 0===r||r.call(n,n.nextCursor))}),[I,n.isFetching]),e.createElement("div",{className:"p-3 text-center ".concat(u.container),ref:s},n.isFetching?e.createElement(a.Z,{as:"span",animation:"border",role:"status",className:u.spinner}):e.createElement(d.x,{svgName:i.vn.ChevronDown,className:"svg-container cursor-pointer",size:d.S.Large,onClick:function(){var r;return null===(r=n.fetchNext)||void 0===r?void 0:r.call(n,n.nextCursor)}}))}c.defaultProps={fetchOnScroll:!1}},9977:(n,r,t)=>{"use strict";t.d(r,{O:()=>e});var e={getThumbnailColumns:function(){return{xs:12,sm:4,lg:3}},getDetailsColumns:function(){return{xs:12,sm:8,lg:9}},getSize:function(n,r){return n.sm?"sm":r||"md"},getThumbnailColSize:function(n){return n?10:12}}},71471:(n,r,t)=>{"use strict";t.d(r,{S:()=>p});var e=t(32735),a=t(68050),o=t(69111),d=t(79967),i=t(9977);const u={partialName:"SicQQ",partialDescription:"dPGMq",partialThumbnail:"vZrnb",partialDragHandle:"iq73R"};function p(n){return e.createElement(e.Fragment,null,Array(n.numVideos).fill(null).map((function(r,t){return e.createElement(c,Object.assign({key:t},n))})))}function c(n){var r=(0,d.k)(),t="sm"===i.O.getSize(r,"md"),p=n.withReordering&&!r.xs;return e.createElement(a.Z,{noGutters:!0,className:"".concat(t?"":"py-2")},e.createElement(o.Z,Object.assign({},i.O.getThumbnailColumns(),{className:"flex-column align-items-flex-start ".concat(t?"pb-2 pr-2":"mb-1 px-2")}),e.createElement(a.Z,null,!!p&&e.createElement("div",{className:"d-flex align-items-center justify-content-center col-2"},e.createElement("div",{className:"partial-loading-background ".concat(u.partialDragHandle)})),e.createElement(o.Z,{xs:i.O.getThumbnailColSize(p)},e.createElement("div",{className:"partial-loading-background ".concat(t?"rounded":"rounded-lg"," ").concat(u.partialThumbnail)})))),e.createElement(o.Z,Object.assign({},i.O.getDetailsColumns(),{className:t?"pb-2":"px-2"}),e.createElement("div",{className:"partial-loading-background mb-1 ".concat(u.partialName)}),e.createElement("div",{className:"partial-loading-background ".concat(u.partialDescription)})))}p.defaultProps={numVideos:15}},86764:(n,r,t)=>{"use strict";var e;t.d(r,{r:()=>e}),function(n){n.XS="(max-width: 575px)",n.SM="(min-width: 576px) and (max-width: 767px)",n.MD="(min-width: 768px) and (max-width: 991px)",n.LG="(min-width: 992px)",n.XL="(min-width: 1200px)",n.XXL="(min-width: 1440px)",n.SMDown="(max-width: 576px)",n.MDDown="(max-width: 768px)",n.LGDown="(max-width: 992px)",n.XLDown="(max-width: 1200px)"}(e||(e={}))},55110:(n,r,t)=>{"use strict";t.d(r,{Z:()=>i});var e=t(32735),a=t(71365);var o=t(60139),d=t(79976);function i(){var n,r,t,i=(n=d.P.ALERT,r=n,t=a.u.getInstance(r),e.useEffect((function(){return function(){a.u.releaseInstance(r)}})),t);return{success:function(n){i.success(n)()},error:function(n){i.error(n)()},warning:function(n){i.createAlert({type:o.NK.Warning,heading:o.R6.Warning,message:n})}}}},81514:(n,r,t)=>{"use strict";t.d(r,{V:()=>o});var e=t(86764),a=t(3747);function o(){var n=(0,a.a)(e.r.XS),r=(0,a.a)(e.r.SM),t=(0,a.a)(e.r.MD),o=(0,a.a)(e.r.LG),d=(0,a.a)(e.r.XL),i=(0,a.a)(e.r.XXL),u=e.r.LG;return n&&(u=e.r.XS),r&&(u=e.r.SM),t&&(u=e.r.MD),o&&(u=e.r.LG),d&&(u=e.r.XL),i&&(u=e.r.XXL),u}},49439:(n,r,t)=>{"use strict";t.d(r,{X:()=>h,L:()=>f});var e=t(32735),a=t(1048),o=t(79014),d=function(){var n=e.useRef(!0);return e.useEffect((function(){return function(){n.current=!1}}),[]),n};function i(n,r){return function(n){if(Array.isArray(n))return n}(n)||function(n,r){var t=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=t){var e,a,o,d,i=[],u=!0,p=!1;try{if(o=(t=t.call(n)).next,0===r){if(Object(t)!==t)return;u=!1}else for(;!(u=(e=o.call(t)).done)&&(i.push(e.value),i.length!==r);u=!0);}catch(n){p=!0,a=n}finally{try{if(!u&&null!=t.return&&(d=t.return(),Object(d)!==d))return}finally{if(p)throw a}}return i}}(n,r)||function(n,r){if(n){if("string"==typeof n)return u(n,r);var t=Object.prototype.toString.call(n).slice(8,-1);return"Object"===t&&n.constructor&&(t=n.constructor.name),"Map"===t||"Set"===t?Array.from(n):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(n,r):void 0}}(n,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(n,r){(null==r||r>n.length)&&(r=n.length);for(var t=0,e=new Array(r);t<r;t++)e[t]=n[t];return e}var p=275,c=5,s={className:"",delay:0,style:null},I={screenX:0,screenY:0};function l(n,r){var t;n.current&&(r.className&&(null===(t=n.current.classList)||void 0===t||t.add(r.className)),r.style&&Object.keys(r.style).forEach((function(t){n.current.style[t]=r.style[t]})))}function b(n,r){var t;n.current&&(r.className&&(null===(t=n.current.classList)||void 0===t||t.remove(r.className)),r.style&&Object.keys(r.style).forEach((function(r){n.current.style[r]=null})))}function h(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s,r=d(),t=i(e.useState(n),2),u=t[0],p=t[1],c=i(e.useState(!1),2),I=c[0],h=c[1],f=e.useRef(null);e.useEffect((function(){a.t.isEqual(n,u)||p(n)}),[n]);var L=o.q.throttle((function(){l(f,u),r.current&&h(!0)}),u.delay,{leading:!1}),y=function(){o.q.isFunction(L.cancel)&&L.cancel(),b(f,u),r.current&&h(!1)};return e.useLayoutEffect((function(){var n=f.current;if(n)return n.addEventListener("mouseenter",L),n.addEventListener("mouseleave",y),function(){n.removeEventListener("mouseenter",L),n.removeEventListener("mouseleave",y)}}),[f.current,u]),[f,I]}function f(n){var r=i(e.useState(n),2),t=r[0],d=r[1],u=e.useRef(Object.assign({},I)),s=e.useRef(!1),h=e.useRef(0),f=e.useRef(null),L=i(e.useState(!1),2),y=L[0],C=L[1];function k(){h.current&&(window.clearTimeout(h.current),h.current=0)}function A(){s.current=!0}function D(n){if(s.current){var r,e,a=Object.assign({},u.current);u.current.screenX=n.screenX,u.current.screenY=n.screenY,function(n,r){return Math.abs(n.screenX-r.screenX)>c||Math.abs(n.screenY-r.screenY)>c}(a,n)&&k(),r=function(){l(f,t),C(!0)},e=t.delay||p,h.current||(h.current=window.setTimeout(r,e))}}function T(){k(),b(f,t),s.current=!1,C(!1)}return e.useEffect((function(){a.t.isEqual(n,t)||d(n)}),[n]),e.useLayoutEffect((function(){if(f.current){var n=o.q.throttle(D,25,{leading:!1});return f.current.addEventListener("mouseenter",A),f.current.addEventListener("mousemove",n),f.current.addEventListener("mouseleave",T),function(){f.current&&(f.current.removeEventListener("mouseenter",A),f.current.removeEventListener("mousemove",n),f.current.removeEventListener("mouseleave",T))}}}),[f.current,t]),[f,y]}},8843:(n,r,t)=>{"use strict";t.d(r,{M:()=>d});var e=t(32735),a=t(79014),o=400;function d(n){var r=function(){if(!n.isFetching){if(n.scrollContainer){var r=n.scrollContainer;if(r.getBoundingClientRect().height+r.scrollTop<r.scrollHeight-o)return}else if(window.innerHeight+document.documentElement.scrollTop<document.documentElement.scrollHeight-o)return;n.fetchNextPage()}};(0,e.useEffect)((function(){var t=a.q.throttle(r,200),e=n.scrollContainer||window;return n.hasMore&&e.addEventListener("scroll",t),function(){return e.removeEventListener("scroll",t)}}),[n.hasMore,n.fetchNextPage,n.scrollContainer])}},43969:()=>{},70409:()=>{},66059:()=>{},17061:()=>{},41494:()=>{},95331:()=>{},80970:()=>{},73097:()=>{},36341:()=>{},31759:()=>{},89874:()=>{},52161:()=>{},46302:()=>{},59120:()=>{},42264:()=>{},71663:()=>{},31314:()=>{},53315:()=>{},8031:()=>{},62031:()=>{},84499:()=>{},51339:()=>{},16719:()=>{},83466:()=>{},69270:()=>{},50800:()=>{},52690:()=>{},8141:()=>{},94629:()=>{},89702:()=>{},28363:()=>{},43110:()=>{},7485:()=>{},72018:()=>{},21005:()=>{},69665:()=>{},94463:()=>{},3128:()=>{},63946:()=>{},92492:()=>{},26425:()=>{},38155:()=>{},50038:()=>{},78933:()=>{},40031:(n,r,t)=>{"use strict";var e=t(59261);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(31314);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(71663);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}}),t.o(o,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return o.InteractionTypeId}});var d=t(53315);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}}),t.o(d,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return d.InteractionTypeId}});var i=t(52690);t.o(i,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return i.CuratedDashboardAppLink}}),t.o(i,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return i.InteractionTypeId}});var u=t(8141);t.o(u,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return u.CuratedDashboardAppLink}}),t.o(u,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return u.InteractionTypeId}});var p=t(28363);t.o(p,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return p.CuratedDashboardAppLink}}),t.o(p,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return p.InteractionTypeId}});var c=t(7485);t.o(c,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return c.CuratedDashboardAppLink}}),t.o(c,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return c.InteractionTypeId}});var s=t(69665);t.o(s,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return s.CuratedDashboardAppLink}}),t.o(s,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return s.InteractionTypeId}});var I=t(3128);t.o(I,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return I.CuratedDashboardAppLink}}),t.o(I,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return I.InteractionTypeId}});var l=t(92492);t.o(l,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return l.CuratedDashboardAppLink}}),t.o(l,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return l.InteractionTypeId}});var b=t(26425);t.o(b,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return b.CuratedDashboardAppLink}}),t.o(b,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return b.InteractionTypeId}});var h=t(38155);t.o(h,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return h.CuratedDashboardAppLink}}),t.o(h,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return h.InteractionTypeId}});var f=t(50038);t.o(f,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return f.CuratedDashboardAppLink}}),t.o(f,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return f.InteractionTypeId}}),t.o(c,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return c.CuratedDashboardAppLink}}),t.o(c,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return c.InteractionTypeId}});var L=t(72018);t.o(L,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return L.CuratedDashboardAppLink}}),t.o(L,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return L.InteractionTypeId}});var y=t(16719);t.o(y,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return y.CuratedDashboardAppLink}}),t.o(y,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return y.InteractionTypeId}});var C=t(89702);t.o(C,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return C.CuratedDashboardAppLink}}),t.o(C,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return C.InteractionTypeId}});var k=t(94629);t.o(k,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return k.CuratedDashboardAppLink}}),t.o(k,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return k.InteractionTypeId}});var A=t(51339);t.o(A,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return A.CuratedDashboardAppLink}}),t.o(A,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return A.InteractionTypeId}});var D=t(50800);t.o(D,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return D.CuratedDashboardAppLink}}),t.o(D,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return D.InteractionTypeId}});var T=t(83466);t.o(T,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return T.CuratedDashboardAppLink}}),t.o(T,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return T.InteractionTypeId}});var v=t(94463);t.o(v,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return v.CuratedDashboardAppLink}}),t.o(v,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return v.InteractionTypeId}});var m=t(8031);t.o(m,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return m.CuratedDashboardAppLink}}),t.o(m,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return m.InteractionTypeId}});var g=t(62031);t.o(g,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return g.CuratedDashboardAppLink}}),t.o(g,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return g.InteractionTypeId}});var S=t(84499);t.o(S,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return S.CuratedDashboardAppLink}}),t.o(S,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return S.InteractionTypeId}});var x=t(78933);t.o(x,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return x.CuratedDashboardAppLink}}),t.o(x,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return x.InteractionTypeId}});var E=t(69270);t.o(E,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return E.CuratedDashboardAppLink}}),t.o(E,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return E.InteractionTypeId}});var w=t(43110);t.o(w,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return w.CuratedDashboardAppLink}}),t.o(w,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return w.InteractionTypeId}});var j=t(63946);t.o(j,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return j.CuratedDashboardAppLink}}),t.o(j,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return j.InteractionTypeId}});var N=t(21005);t.o(N,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return N.CuratedDashboardAppLink}}),t.o(N,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return N.InteractionTypeId}})},11426:()=>{},59261:(n,r,t)=>{"use strict";var e=t(11426);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}})},53957:(n,r,t)=>{"use strict";var e=t(40031);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(72604);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(61882);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}}),t.o(o,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return o.InteractionTypeId}});var d=t(23459);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}}),t.o(d,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return d.InteractionTypeId}});var i=t(43693);t.o(i,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return i.CuratedDashboardAppLink}}),t.o(i,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return i.InteractionTypeId}});var u=t(33075);t.o(u,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return u.CuratedDashboardAppLink}}),t.o(u,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return u.InteractionTypeId}}),t(42264);var p=t(80970);t.o(p,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return p.CuratedDashboardAppLink}}),t.o(p,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return p.InteractionTypeId}});var c=t(36341);t.o(c,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return c.CuratedDashboardAppLink}}),t.o(c,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return c.InteractionTypeId}});var s=t(41494);t.o(s,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return s.CuratedDashboardAppLink}}),t.o(s,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return s.InteractionTypeId}});var I=t(31759);t.o(I,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return I.CuratedDashboardAppLink}}),t.o(I,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return I.InteractionTypeId}});var l=t(43969);t.o(l,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return l.CuratedDashboardAppLink}}),t.o(l,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return l.InteractionTypeId}});var b=t(46302);t.o(b,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return b.CuratedDashboardAppLink}}),t.o(b,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return b.InteractionTypeId}}),t.o(I,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return I.CuratedDashboardAppLink}}),t.o(I,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return I.InteractionTypeId}});var h=t(52161);t.o(h,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return h.CuratedDashboardAppLink}}),t.o(h,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return h.InteractionTypeId}});var f=t(95331);t.o(f,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return f.CuratedDashboardAppLink}}),t.o(f,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return f.InteractionTypeId}});var L=t(66059);t.o(L,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return L.CuratedDashboardAppLink}}),t.o(L,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return L.InteractionTypeId}});var y=t(89874);t.o(y,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return y.CuratedDashboardAppLink}}),t.o(y,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return y.InteractionTypeId}});var C=t(73097);t.o(C,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return C.CuratedDashboardAppLink}}),t.o(C,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return C.InteractionTypeId}});var k=t(17061);t.o(k,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return k.CuratedDashboardAppLink}}),t.o(k,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return k.InteractionTypeId}});var A=t(70409);t.o(A,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return A.CuratedDashboardAppLink}}),t.o(A,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return A.InteractionTypeId}});var D=t(59120);t.o(D,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return D.CuratedDashboardAppLink}}),t.o(D,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return D.InteractionTypeId}})},59183:(n,r,t)=>{"use strict";var e;!function(n){n[n.None=1]="None",n[n.All=2]="All",n[n.Learner=3]="Learner",n[n.Teacher=4]="Teacher"}(e||(e={}))},26445:(n,r,t)=>{"use strict";var e;!function(n){n.Pink="colour:0",n.Orange="colour:1",n.Green="colour:2",n.Blue="colour:3",n.Purple="colour:4",n.Indigo="colour:5"}(e||(e={}))},75902:(n,r,t)=>{"use strict";var e,a,o,d;!function(n){n.Any="Any",n.Level_1="Level_1",n.Level_2="Level_2",n.Level_3="Level_3",n.Level_4="Level_4"}(e||(e={})),function(n){n.Any="Any",n.Staff="Staff",n.Learner="Learner"}(a||(a={})),function(n){n.Draft="Draft",n.Published="Published",n.Archived="Archived"}(o||(o={})),function(n){n.Discover="discover",n.Classification="classification",n.MoviesAndTv="movies-and-tv",n.Company="company"}(d||(d={}))},54906:(n,r,t)=>{"use strict";var e;!function(n){n[n.Row=0]="Row",n[n.LargeRow=1]="LargeRow",n[n.Hero=2]="Hero",n[n.ResourcesTile=3]="ResourcesTile"}(e||(e={}))},43552:(n,r,t)=>{"use strict";var e,a;t.d(r,{CuratedDashboardAppLink:()=>e}),function(n){n.LatestReleases="latest-releases",n.ExploreAllTopics="explore-all-topics",n.ClassificationLatestReleases="classification-latest-releases"}(e||(e={})),function(n){n.Video="video",n.Series="series",n.Playlist="playlist",n.Classification="subject",n.Company="company"}(a||(a={}))},72604:(n,r,t)=>{"use strict";t.d(r,{CuratedDashboardAppLink:()=>d.CuratedDashboardAppLink,InteractionTypeId:()=>a.InteractionTypeId});var e=t(91083);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(46537);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}});var o=t(33812);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}});var d=t(43552);t(26445),t(75902),t(54906),t(59183)},55523:()=>{},94073:()=>{},68394:()=>{},17757:()=>{},40365:()=>{},33812:(n,r,t)=>{"use strict";var e=t(94073);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}});var a=t(55523);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}});var o=t(68394);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}});var d=t(17757);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}});var i=t(40365);t.o(i,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return i.CuratedDashboardAppLink}})},13500:()=>{},20185:()=>{},54931:(n,r,t)=>{"use strict";var e;t.d(r,{Z:()=>e}),function(n){n[n.MultipleChoice=1]="MultipleChoice",n[n.ShortAnswer=2]="ShortAnswer",n[n.TrueOrFalse=3]="TrueOrFalse",n[n.Annotation=4]="Annotation",n[n.Image=5]="Image",n[n.MissingWord=6]="MissingWord"}(e||(e={}))},96904:()=>{},46473:()=>{},46537:(n,r,t)=>{"use strict";t.d(r,{InteractionTypeId:()=>o.Z});var e=t(13500);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(20185);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(54931),d=t(96904);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}});var i=t(46473);t.o(i,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return i.CuratedDashboardAppLink}})},71489:()=>{},4135:()=>{},71799:()=>{},91083:(n,r,t)=>{"use strict";var e=t(71489);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(4135);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(71799);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}}),t.o(o,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return o.InteractionTypeId}})},64445:()=>{},61882:(n,r,t)=>{"use strict";var e=t(64445);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}})},29320:()=>{},74455:()=>{},15234:()=>{},27089:()=>{},54640:()=>{},71770:()=>{},49279:()=>{},98259:()=>{},57236:()=>{},24096:()=>{},78942:()=>{},67173:()=>{},15764:()=>{},23459:(n,r,t)=>{"use strict";var e=t(27089);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(57236);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(24096);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}}),t.o(o,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return o.InteractionTypeId}});var d=t(78942);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}}),t.o(d,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return d.InteractionTypeId}});var i=t(67173);t.o(i,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return i.CuratedDashboardAppLink}}),t.o(i,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return i.InteractionTypeId}});var u=t(15764);t.o(u,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return u.CuratedDashboardAppLink}}),t.o(u,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return u.InteractionTypeId}});var p=t(15234);t.o(p,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return p.CuratedDashboardAppLink}}),t.o(p,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return p.InteractionTypeId}});var c=t(74455);t.o(c,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return c.CuratedDashboardAppLink}}),t.o(c,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return c.InteractionTypeId}});var s=t(71770);t.o(s,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return s.CuratedDashboardAppLink}}),t.o(s,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return s.InteractionTypeId}});var I=t(98259);t.o(I,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return I.CuratedDashboardAppLink}}),t.o(I,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return I.InteractionTypeId}});var l=t(49279);t.o(l,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return l.CuratedDashboardAppLink}}),t.o(l,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return l.InteractionTypeId}});var b=t(29320);t.o(b,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return b.CuratedDashboardAppLink}}),t.o(b,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return b.InteractionTypeId}});var h=t(54640);t.o(h,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return h.CuratedDashboardAppLink}}),t.o(h,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return h.InteractionTypeId}})},80071:()=>{},12504:()=>{},82738:()=>{},56209:()=>{},43693:(n,r,t)=>{"use strict";var e=t(82738);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(56209);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(80071);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}}),t.o(o,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return o.InteractionTypeId}});var d=t(12504);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}}),t.o(d,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return d.InteractionTypeId}})},12564:()=>{},7767:()=>{},88858:()=>{},1520:()=>{},79649:()=>{},7011:()=>{},33075:(n,r,t)=>{"use strict";var e=t(79649);t.o(e,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return e.CuratedDashboardAppLink}}),t.o(e,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return e.InteractionTypeId}});var a=t(7011);t.o(a,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return a.CuratedDashboardAppLink}}),t.o(a,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return a.InteractionTypeId}});var o=t(7767);t.o(o,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return o.CuratedDashboardAppLink}}),t.o(o,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return o.InteractionTypeId}});var d=t(88858);t.o(d,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return d.CuratedDashboardAppLink}}),t.o(d,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return d.InteractionTypeId}});var i=t(1520);t.o(i,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return i.CuratedDashboardAppLink}}),t.o(i,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return i.InteractionTypeId}});var u=t(12564);t.o(u,"CuratedDashboardAppLink")&&t.d(r,{CuratedDashboardAppLink:function(){return u.CuratedDashboardAppLink}}),t.o(u,"InteractionTypeId")&&t.d(r,{InteractionTypeId:function(){return u.InteractionTypeId}})},9085:(n,r,t)=>{"use strict";function e(n,r){return r[n.charCodeAt(0)%r.length]}t.d(r,{x:()=>e})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[188],{90736:(e,t,n)=>{n.d(t,{F:()=>i});var r=n(32735),a=n(83914),o=n(35223);var c=function(e){switch(e){case"up":return"JAT0R";case"down":return"ld41u";case"right":return"HHkPe";case"left":return"jZTRR"}};function i(e){return r.createElement(a.x,{svgName:o.vn.Caret,className:"".concat(c(e.direction)," svg-container d-inline-block ").concat(e.className)})}i.defaultProps={direction:"right"}},88818:(e,t,n)=>{n.d(t,{r:()=>s});var r=n(32735),a=n(11607),o=n(57408),c=n(49985);const i={pillTabSelector:"Hdi6o",pillItem:"hUJx1"};var l=n(29254);function s(e){var t;return r.createElement("nav",{className:null!==(t=e.className)&&void 0!==t?t:""},r.createElement("ul",{className:"list-unstyled d-inline-block m-0 ".concat(i.pillTabSelector)},e.tabs.map((function(e){return r.createElement("li",{className:"p-0 ".concat(e.active?"btn btn-dark":"btn btn-outline-dark"),key:e.name},e.appLink?r.createElement(o.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,className:"cursor-pointer d-flex justify-content-center text-decoration-none text-reset px-2 ".concat(i.pillItem)},e.name,"number"==typeof e.count&&r.createElement("div",{className:"pl-2"},r.createElement(l.C,{type:l.g.Count,data:e.count}))):r.createElement(a.L,{className:"".concat(i.pillItem," d-flex justify-content-center p-2"),onClick:function(){return function(e){!e.active&&e.onSelect&&(e.onSelect(),e.analyticsData&&e.analyticsOptions&&c.k.logUserAction(e.analyticsData,e.analyticsOptions))}(e)}},e.name,"number"==typeof e.count&&r.createElement("div",{className:"pl-2"},r.createElement(l.C,{type:l.g.Count,data:e.count}))))}))))}},91286:(e,t,n)=>{n.d(t,{v:()=>c});var r=n(32735),a=n(69834);function o(e){return e.map((function(e){return e.statusCode})).join(":")}function c(e,t,n){var c=Array.isArray(e)?e:[e];(0,r.useEffect)((function(){c.forEach((function(e){(0,a.r)(e.statusCode,t,n)}))}),[o(c),t,n])}},62663:(e,t,n)=>{n.d(t,{R:()=>l});var r=n(57408),a=n(83914),o=n(35223),c=n(32735);const i={select:"H5p_F"};function l(e){var t=e.currentRegion,n=e.regions,l=e.appLink;return c.createElement("div",{className:"d-flex align-items-center mb-3"},c.createElement("span",null,"Region: "),c.createElement("div",{className:"dropdown"},c.createElement("a",{className:"".concat(i.select," d-flex align-items-center btn btn-outline-dark ml-3"),id:"region-select",type:"button","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"},c.createElement("span",null,t.stateFull),c.createElement(a.x,{svgName:o.vn.ChevronDown})),c.createElement("div",{className:"dropdown-menu dropdown-menu-right","aria-labelledby":"region-select"},n.map((function(e,n){return e.id===t.id?c.createElement(c.Fragment,{key:n}):c.createElement(r.F,{key:n,className:"dropdown-item",appLink:Object.assign(Object.assign({},l),{args:[e.code]})},e.stateFull)})))))}},2330:(e,t,n)=>{n.d(t,{g:()=>o});var r=n(32735);const a={regionSelect:"Dod1u"};function o(){return r.createElement("div",{className:"".concat(a.regionSelect," partial-loading-background d-flex rounded mb-3")},r.createElement("div",{className:"svg-container std"}))}},55102:(e,t,n)=>{n.d(t,{u:()=>m});var r=n(32735),a=n(83914),o=n(35223),c=n(81886);const i={input:"rBtDt"};var l=n(82329),s=n(73818);function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function m(e){var t,n,m,p=(n=r.useState(null!==(t=e.query)&&void 0!==t?t:""),m=2,function(e){if(Array.isArray(e))return e}(n)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,c,i=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw a}}return i}}(n,m)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}(n,m)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=p[0],f=p[1];return r.createElement("form",{className:"border border-dark form-control d-flex align-items-center mb-3",onSubmit:function(t){t.preventDefault(),d&&c.Q.AppLinkHelper.trigger({application:l.O.TV,action:s.e.Tv.SEARCH,args:[e.region.code],params:{query:d}})}},r.createElement(a.x,{svgName:o.vn.Search}),r.createElement("input",{type:"text",className:"form-control h-100 w-100 border-0 ".concat(i.input),placeholder:"Search for programs in ClickView TV",value:d,onChange:function(e){return f(e.target.value)},autoComplete:"off"}))}},32530:(e,t,n)=>{n.d(t,{Y:()=>f});var r=n(32735),a=n(88818),o=n(23481),c=n(82329),i=n(73818),l=n(81886),s=n(65858),u="tv.tvTabs",m=o.T.encloseNamespace(u),p={channels:{application:c.O.TV,action:i.e.Tv.CHANNELS},programs:{application:c.O.TV,action:i.e.Tv.PROGRAMS}},d={actionType:s.UserAction.Click,entity:s.EntityType.Url,location:s.LocationContext.MagicTabs};function f(e){var t=e.active,n=e.currentRegion;return r.createElement("div",{className:"mb-3"},r.createElement(a.r,{tabs:[{name:m("channels"),appLink:Object.assign(Object.assign({},p.channels),{args:[null==n?void 0:n.code]}),active:"channels"===t,analyticsData:{name:m("channels"),url:l.Q.AppLinkHelper.getHref(p.channels)},analyticsOptions:d},{name:m("programs"),appLink:Object.assign(Object.assign({},p.programs),{args:[null==n?void 0:n.code]}),active:"programs"===t,analyticsData:{name:o.T.getPhrase(u,"programs"),url:l.Q.AppLinkHelper.getHref(p.programs)},analyticsOptions:d}]}))}},57533:(e,t,n)=>{n.r(t),n.d(t,{TvProgramsView:()=>V});var r=n(32735),a=n(20354),o=n(5353),c=n(32530),i=n(62663),l=n(82329),s=n(73818),u=n(55102),m=n(65858),p=n(81886),d=n(88818);const f={pillTabSelector:"TgUPp"};var g=["#","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],v={actionType:m.UserAction.Click,entity:m.EntityType.Url,location:m.LocationContext.MagicTabs};function y(e){var t=e.startsWith,n=e.region,a=t;"0"===a&&(a="#");var o=g.map((function(e){var t=e;"#"===t&&(t="0");var r={application:l.O.TV,action:s.e.Tv.PROGRAMS,args:[null==n?void 0:n.code],params:{startsWith:t}};return{name:e,appLink:r,active:a===e,analyticsData:{name:e,url:p.Q.AppLinkHelper.getHref(r)},analyticsOptions:v}}));return r.createElement("div",{className:"mb-3"},r.createElement(d.r,{tabs:o,className:f.pillTabSelector}))}var b=n(110);const h={programs:"uowgM"};var E=n(57408),A=n(90736);function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,c,i=[],l=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(i.push(r.value),i.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw a}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return k(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?k(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function k(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var N=41;function S(e){var t=e.program,n=e.region,a=new Date(t.startTime),o=new Date(t.stopTime);return r.createElement(E.F,{className:"d-flex justify-content-between align-items-center p-2",appLink:{application:l.O.TV,action:s.e.Tv.PREVIEW,args:[n.code,t.id]}},r.createElement("div",null,t.channelName),r.createElement("div",null,b.O.format(a,"Do MMM")," ",b.O.format(a,"hh:mm a")," - ",b.O.format(o,"hh:mm a")))}function O(e){var t=e.name,n=e.programs,a=e.region,o=T(r.useState(!1),2),c=o[0],i=o[1],l=T(r.useState({}),2),s=l[0],u=l[1],m=r.useRef(null),p=r.useRef(null);return r.useEffect((function(){return function(){clearTimeout(m.current),clearTimeout(p.current)}}),[]),r.createElement("li",null,r.createElement("div",{className:"cursor-pointer d-flex align-items-center py-2 px-3",onClick:function(){c?(u({}),m.current=setTimeout((function(){return i(!1)}),400)):(i(!0),p.current=setTimeout((function(){return u({maxHeight:n.length*N+"px"})})))}},r.createElement("div",{className:"ml-1"},r.createElement(A.F,{direction:c?"down":"right"})),r.createElement("span",{className:"ml-2"},t)),c&&r.createElement("div",{className:"".concat(h.programs," bg-white"),style:s},n.map((function(e,t){return r.createElement(S,{key:t,program:e,region:a})}))))}function w(e){var t=e.programs,n=e.region,a=r.useMemo((function(){if(!(null==t?void 0:t.length))return[];var e={};t.forEach((function(t){e[t.title]||(e[t.title]=[]),e[t.title].push(t)}));var n=Object.entries(e);return n.sort((function(e,t){return T(e,1)[0]<T(t,1)[0]?-1:1}))}),[t]);return r.createElement("ul",{className:"striped-list list-unstyled"},a.map((function(e,t){var a=T(e,2),o=a[0],c=a[1];return r.createElement(O,{key:t,name:o,programs:c,region:n})})))}var C=n(2330);function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function x(){return r.createElement(r.Fragment,null,r.createElement("ul",{className:"list-unstyled"},(e=Array(20),function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?j(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()).map((function(e,t){return r.createElement("li",{key:t,className:"".concat(t%2==0?"partial-loading-background":""," d-flex w-100 p-2")},r.createElement("div",{className:"svg-container"}),r.createElement("span",null," "))}))));var e}var R=n(69834),L=n(50242),D=n(91286),F=n(79612),I=n(23481),M=n(8519);function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var U=I.T.encloseNamespace("tv.programs");function V(e){var t,n=e.startsWith||"A",m=a.a.useBasicFetch(o.i.region(e.region)),p=a.a.useBasicFetch(o.i.regions()),d=a.a.useBasicFetch(o.i.dateRange(e.region)),f=a.a.useBasicFetch(m.data&&d.data&&o.i.programsByLetter(m.data.code,n,d.data.startDate,d.data.endDate));[].concat((t=g,function(e){if(Array.isArray(e))return H(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),["0"]).includes(n)||(0,R.r)(L.o.BadRequest),(0,M.e)(m),(0,D.v)([p,f]),(0,F.M)({title:U("title")});var v=m.hasCompleted&&p.hasCompleted&&d.hasCompleted&&f.hasCompleted;return r.createElement(r.Fragment,null,r.createElement(u.u,{region:m.data}),r.createElement("div",{className:"d-flex justify-content-between"},r.createElement(c.Y,{active:"programs",currentRegion:m.data}),m.data&&p.data?r.createElement(i.R,{currentRegion:m.data,regions:p.data,appLink:{application:l.O.TV,action:s.e.Tv.PROGRAMS,params:{startsWith:n}}}):r.createElement(C.g,null)),r.createElement(y,{startsWith:n,region:m.data}),v?r.createElement(r.Fragment,null,r.createElement(w,{programs:f.data,region:m.data})):r.createElement(x,null))}}}]);
|