@clickview/exchange 0.43.1-dev.2 → 0.44.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist/bundles.json +1 -1
  2. package/dist/languages/en.json +1 -1
  3. package/dist/scripts/117-5eb5adc7a4-exchange.chunk.js +1 -0
  4. package/dist/scripts/{136-fd99ef4c9d-exchange.chunk.js → 136-2395b8205f-exchange.chunk.js} +1 -1
  5. package/dist/scripts/{156-7e4d78c20a-exchange.chunk.js → 156-0b71dc58d7-exchange.chunk.js} +1 -1
  6. package/dist/scripts/226-d5778b4bb6-exchange.chunk.js +1 -0
  7. package/dist/scripts/{442-fcba36183d-exchange.chunk.js → 442-5d2a98f10d-exchange.chunk.js} +1 -1
  8. package/dist/scripts/490-60822ea52f-exchange.chunk.js +1 -0
  9. package/dist/scripts/{494-abba46b945-exchange.chunk.js → 494-de9338a4bc-exchange.chunk.js} +1 -1
  10. package/dist/scripts/522-ea8fb704eb-exchange.chunk.js +2 -0
  11. package/dist/scripts/538-37852629be-exchange.chunk.js +2 -0
  12. package/dist/scripts/558-9180a10bab-exchange.chunk.js +1 -0
  13. package/dist/scripts/659-e9ce44a428-exchange.chunk.js +1 -0
  14. package/dist/scripts/{725-9ddf1084b6-exchange.chunk.js → 725-64871f6063-exchange.chunk.js} +1 -1
  15. package/dist/scripts/777-d35fa4eb89-exchange.chunk.js +2 -0
  16. package/dist/scripts/851-df1d9024fc-exchange.chunk.js +2 -0
  17. package/dist/scripts/{95-841a847f54-exchange.chunk.js → 95-b964a57082-exchange.chunk.js} +1 -1
  18. package/dist/scripts/bundle-b4b395ca83.min.js +2 -0
  19. package/package.json +1 -1
  20. package/dist/scripts/117-259130ac0e-exchange.chunk.js +0 -1
  21. package/dist/scripts/226-889bef8e6c-exchange.chunk.js +0 -1
  22. package/dist/scripts/325-76baea117f-exchange.chunk.js +0 -1
  23. package/dist/scripts/489-8b40fa92cc-exchange.chunk.js +0 -2
  24. package/dist/scripts/522-cb18547130-exchange.chunk.js +0 -2
  25. package/dist/scripts/538-ccc01a623f-exchange.chunk.js +0 -2
  26. package/dist/scripts/558-1bdbbc1f64-exchange.chunk.js +0 -1
  27. package/dist/scripts/659-d08f206e1d-exchange.chunk.js +0 -1
  28. package/dist/scripts/851-61f77ce4aa-exchange.chunk.js +0 -2
  29. package/dist/scripts/bundle-7065b184e2.min.js +0 -2
  30. /package/dist/css/{489-exchange-6ecb1e7adc.chunk.css → 777-exchange-6ecb1e7adc.chunk.css} +0 -0
  31. /package/dist/scripts/{127-4a3c8f9725-exchange.chunk.js → 127-6b0fb13bd1-exchange.chunk.js} +0 -0
  32. /package/dist/scripts/{136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt → 136-2395b8205f-exchange.chunk.js.LICENSE.txt} +0 -0
  33. /package/dist/scripts/{137-51b4dab452-exchange.chunk.js → 137-86b96d7a66-exchange.chunk.js} +0 -0
  34. /package/dist/scripts/{212-6ed71b2797-exchange.chunk.js → 212-a17cfb8fd5-exchange.chunk.js} +0 -0
  35. /package/dist/scripts/{267-7daf64f8a1-exchange.chunk.js → 267-d7e70afb4a-exchange.chunk.js} +0 -0
  36. /package/dist/scripts/{332-08d48debc2-exchange.chunk.js → 332-8947c93415-exchange.chunk.js} +0 -0
  37. /package/dist/scripts/{484-08c82c5a88-exchange.chunk.js → 484-f6ef46e4ac-exchange.chunk.js} +0 -0
  38. /package/dist/scripts/{489-8b40fa92cc-exchange.chunk.js.LICENSE.txt → 494-de9338a4bc-exchange.chunk.js.LICENSE.txt} +0 -0
  39. /package/dist/scripts/{507-b6e119c8e2-exchange.chunk.js → 507-95a1785c1b-exchange.chunk.js} +0 -0
  40. /package/dist/scripts/{494-abba46b945-exchange.chunk.js.LICENSE.txt → 522-ea8fb704eb-exchange.chunk.js.LICENSE.txt} +0 -0
  41. /package/dist/scripts/{522-cb18547130-exchange.chunk.js.LICENSE.txt → 538-37852629be-exchange.chunk.js.LICENSE.txt} +0 -0
  42. /package/dist/scripts/{669-a49a0838ff-exchange.chunk.js → 669-4a2b614ca9-exchange.chunk.js} +0 -0
  43. /package/dist/scripts/{68-d0da8f3bd8-exchange.chunk.js → 68-45fe6e7576-exchange.chunk.js} +0 -0
  44. /package/dist/scripts/{75-9780e4300e-exchange.chunk.js → 75-8efc5587e9-exchange.chunk.js} +0 -0
  45. /package/dist/scripts/{538-ccc01a623f-exchange.chunk.js.LICENSE.txt → 777-d35fa4eb89-exchange.chunk.js.LICENSE.txt} +0 -0
  46. /package/dist/scripts/{782-2c340d8404-exchange.chunk.js → 782-518d95afbb-exchange.chunk.js} +0 -0
  47. /package/dist/scripts/{851-61f77ce4aa-exchange.chunk.js.LICENSE.txt → 851-df1d9024fc-exchange.chunk.js.LICENSE.txt} +0 -0
  48. /package/dist/scripts/{95-841a847f54-exchange.chunk.js.LICENSE.txt → 95-b964a57082-exchange.chunk.js.LICENSE.txt} +0 -0
  49. /package/dist/scripts/{bundle-7065b184e2.min.js.LICENSE.txt → bundle-b4b395ca83.min.js.LICENSE.txt} +0 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[117],{43500:(e,i,n)=>{n.d(i,{pO:()=>a,$m:()=>o,jj:()=>t,BC:()=>c,fi:()=>s,ZE:()=>d});var t=["video","clip","interactive"],a=["playlist","series","clip","classification","interactive","video","company","category"],o=["user"];function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}var s,d,l={type:!0},c=["sort","classification","presentation","audience","yearGroup","moviesAndTv","type","rating","interactives","clips","classroom","hasResources","hasSubtitles","productionYear","isHd","producedByClickView","duration","tagOrClassification","status","isAdmin","bulkActionType","userType","filter","channel","dateBroadcast","categoryId","hasInteractives","jobStatus","source","customerStatus","specialEventType","customerType"].reduce(function(e,i){return Object.assign(Object.assign({},e),(n={},a=!l[i],(t=function(e){var i=function(e){if("object"!=r(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,"string");if("object"!=r(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==r(i)?i:i+""}(t=i))in n?Object.defineProperty(n,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):n[t]=a,n));var n,t,a},{});!function(e){e.MyVideos="my-videos",e.School="school",e.ExchangeArchive="exchange-archive",e.ClickView="clickview"}(s||(s={})),function(e){e.Video="video",e.Series="series",e.Playlist="playlist",e.Classification="classification",e.Clip="clip",e.Interactive="interactive",e.Company="company",e.Category="category"}(d||(d={}))},16035:(e,i,n)=>{n.d(i,{z:()=>l});var t=n(32735),a=n(23481),o=n(28825),r=n(44829),s=n(2096),d=a.T.encloseNamespace("shared.tags");function l(e){var i,n,a=e.tag,l=e.appLink,c=e.onClick,u=e.disabled,m=e.tagClass,v=void 0===m?"tag":m,g=a.name.toLowerCase(),f=null===(i=a.tagType)||void 0===i?void 0:i.toLowerCase(),p=f===r.Q.Normal&&e.themeColours&&!!(null===(n=e.themeColours)||void 0===n?void 0:n.secondary),h="".concat(s.Z.badgeBase," rounded-pill py-1 px-2 my-1 me-1 ").concat(v," ").concat(function(e,i){switch(e){case r.Q.Pedagogy:case r.Q.Skill:return"pedagogy-tag text-white";case r.Q.Hidden:return"hidden-tag fw-normal";case r.Q.Normal:return i?"":"bg-gray-100 fw-normal";default:return""}}(f,p)),y="text-truncate text-nowrap";p&&(h+=" text-white"),!l&&!c||u||(h+=" cursor-pointer"),u&&(h+=" "+s.Z.disabled),e.onRemove&&(h+=" "+s.Z.removeBadge,y+=" "+"".concat(s.Z.removeBadgeText," d-inline-flex align-items-center lh-1")),l||(h+=" d-inline-block");var C=p?{backgroundColor:e.themeColours.secondary}:{};return l?t.createElement(o.F,{onClick:c,appLink:l,className:h,title:g,style:C},t.createElement("span",{className:y},g)):t.createElement("button",{onClick:c,className:h,title:g,style:C,"aria-label":"".concat(d("ariaFilter")," ").concat(g)},t.createElement("span",{className:y},g,e.onRemove&&t.createElement("button",{onClick:e.onRemove,className:"".concat(s.Z.close," btn-close font-size-normal"),role:"button","aria-label":"Close"})))}},62400:(e,i,n)=>{n.d(i,{B:()=>g});var t=n(32735),a=n(23481),o=n(65858),r=n(28825),s=n(83914),d=n(3956),l=n(35223),c=n(49542);const u={seeMore:"yv0FS"};var m=a.T.encloseNamespace("shared.widgetHeader");function v(e){return t.createElement("div",{className:"ms-3 ".concat(u.seeMore)},t.createElement(r.F,{appLink:e.appLink,analyticsData:e.analyticsData,analyticsOptions:Object.assign(Object.assign({location:o.LZ.SlidingList},e.analyticsOptions),{descriptor:o._S.SeeMore}),className:"text-decoration-none ".concat(e.appLink?"curated-widget-link":"")},t.createElement("p",{className:"hover-text-underline text-dark curated-widget-heading"},m("seeAll"))))}function g(e){var i,n,a=!!e.description;if(!e.name&&!e.description)return t.createElement(t.Fragment,null);var o=c.d.isBelowContentMinimum(e.content,e.widgetTypeId),u=null!==(n=null===(i=d.u[e.widgetTypeId])||void 0===i?void 0:i.minContent)&&void 0!==n?n:0;return t.createElement("div",{className:"curated-widget-header"},t.createElement("div",{className:"d-flex justify-content-between"},!!e.name&&t.createElement("div",{className:"d-flex align-items-center"},t.createElement(r.F,{appLink:e.appLink,analyticsData:e.analyticsData,className:"text-decoration-none ".concat(e.appLink?"curated-widget-link text-reset":""),onClick:e.onClick},t.createElement("h2",{className:"h4 curated-widget-heading"},e.isPreviewing&&o&&t.createElement(s.x,{svgName:l.vn.WarningOutline,title:"Widget is below the minimum content threshold of ".concat(u," and won't be displayed."),tooltipSpanHack:!0,tooltipSpanHackClassName:"d-inline text-danger me-1"}),e.name)),!!t.isValidElement(e.badgeComponent)&&e.badgeComponent),!!e.appLink&&!a&&!!e.showSeeMoreLink&&t.createElement(v,Object.assign({},e))),a&&t.createElement("div",{className:"d-flex justify-content-between align-items-end"},t.createElement("p",{className:"description curated-widget-description"},t.createElement("span",null,e.description)),!!e.appLink&&!!e.showSeeMoreLink&&t.createElement(v,Object.assign({},e))))}},52641:(e,i,n)=>{n.d(i,{_:()=>t});var t={MULTI_PRESENTATION_THRESHOLD:2}},3956:(e,i,n)=>{n.d(i,{u:()=>Y});var t=n(75896),a=n(14965),o=n(23481),r=n(65858),s=n(55171),d=n(16714),l=n(87792),c=n(64818),u=n(67624),m="onboarding:persona",v="onboarding:had:job:title";function g(e,i){return e?"".concat(e,":").concat(i):i}function f(e,i){var n=u.SG.get(i),t=g(e,i);return null!==n&&(u.SG.remove(i),u.SG.set(t,n)),u.SG.get(t)}function p(e,i,n){u.SG.set(g(e,i),n)}var h=function(e,i){var n=c.l.getPersonaFromJobTitle(i);p(e,m,n||"teacher")};function y(e,i){(null==i||i>e.length)&&(i=e.length);for(var n=0,t=Array(i);n<i;n++)t[n]=e[n];return t}var C,I={getOnboardingPathway:function(e){var i=e.jobTitle,n=e.userSettings,t=e.presentations,a=e.curriculums,o=e.preferredPresentation,r=e.preferredSubjects,s=e.hasPlaylist,d=e.appLink,u=e.appLinks,v=e.masterUser,g=e.customer,p=e.currentUser,y=e.hasPermissions,C=f(null==p?void 0:p.id,m);!C&&i&&h(null==p?void 0:p.id,i),C&&C!==c.l.getPersonaFromJobTitle(i)&&h(null==p?void 0:p.id,i);var S={jobTitle:i,hasPlaylist:s,masterUser:v,customer:g,presentations:t||[],curriculums:a||[],preferredPresentation:o,preferredSubjects:r,instanceRegion:null==p?void 0:p.instanceRegion,hasPermissions:y,userSettings:n},b=I.getCurrentScreen(d,u),P=Object.values(z),L={},_=null,T=null,E=0,A=0,k=!0;return P.forEach(function(e){var i;if(e.predicate(S)){T||(T=e.id);var t=l.x.get(n,e.setting);t||(k=!1),b||t||(b=e.id),E++,L[e.id]={isComplete:t,next:null,previous:_,number:E,includeInProgressBar:!1},e.includeInProgressBar(S)&&(A++,L[e.id].progressBarNumber=A,L[e.id].includeInProgressBar=!0),(null===(i=e.branches)||void 0===i?void 0:i.length)&&e.branches.forEach(function(i){L[i]={next:e.id,previous:e.id,includeInProgressBar:!1}}),_&&(L[_].next=e.id),_=e.id}}),b||k||(b=T),{screens:L,currentScreen:b,totalScreens:E,totalScreensInProgressBar:A,hasCompletedAllSteps:k}},getNextAppLink:function(e,i){var n=e.screens[e.currentScreen],t=null==n?void 0:n.next;return t?i[t]:null},getPreviousAppLink:function(e,i){var n=e.screens[e.currentScreen],t=null==n?void 0:n.previous;return t?i[t]:null},getCurrentScreen:function(e,i){var n=Object.entries(i).find(function(i){return(n=i,t=2,function(e){if(Array.isArray(e))return e}(n)||function(e,i){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var t,a,o,r,s=[],d=!0,l=!1;try{if(o=(n=n.call(e)).next,0===i){if(Object(n)!==n)return;d=!1}else for(;!(d=(t=o.call(n)).done)&&(s.push(t.value),s.length!==i);d=!0);}catch(e){l=!0,a=e}finally{try{if(!d&&null!=n.return&&(r=n.return(),Object(r)!==r))return}finally{if(l)throw a}}return s}}(n,t)||function(e,i){if(e){if("string"==typeof e)return y(e,i);var n={}.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)?y(e,i):void 0}}(n,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.")}())[1].action===e.action;var n,t});return n?t.m.first(n):null},getProgress:function(e){var i,n,t,a=null===(i=e.screens[e.currentScreen])||void 0===i?void 0:i.number,o=null===(n=e.screens[e.currentScreen])||void 0===n?void 0:n.progressBarNumber,r=e.totalScreens,s=e.totalScreensInProgressBar,d=o/s*100,l=(a-1)/r*100;return{showProgressBar:null===(t=e.screens[e.currentScreen])||void 0===t?void 0:t.includeInProgressBar,currentStepNumber:a,currentStepProgressBarNumber:o,totalScreens:r,totalScreensInProgressBar:s,progressBarPercentage:d,overallPercentage:l}},hasNonBdmTrial:function(e){return e(d.C.ViewTrialUpgrade)},getOnboardingScreenStates:function(e){var i=[],n=[];return Object.keys(e.screens).forEach(function(t){e.screens[t].isComplete?i.push(t):n.push(t)}),{completedScreens:i,incompleteScreens:n}},shouldRedirectToOnboarding:function(e,i,n,t){var o,r,d,l;return(null==e?void 0:e.dateCreated)>=function(e,i){var n="2024-03-26";return e.some(function(e){return e.id.toString()===s.e.PresentationIds.AU_TERTIARY.toString()||e.id.toString()===s.e.PresentationIds.UK_TERTIARY.toString()})?"2024-11-28":a.O.isBefore(null==i?void 0:i.dateCreated,n)?"2024-12-11":n}(t,i)||!!I.hasNonBdmTrial(n)&&(d=null==e?void 0:e.id,l=null===(r=null===(o=null==e?void 0:e.userProfile)||void 0===o?void 0:o.metadata)||void 0===r?void 0:r.jobTitle,"boolean"!=typeof f(d,v)&&p(d,v,!!l),!f(d,v))}},S=n(19808);!function(e){e[e.Level_1=1]="Level_1",e[e.Level_2=2]="Level_2",e[e.Level_3=3]="Level_3",e[e.Level_4=4]="Level_4"}(C||(C={}));var b,P=n(65728);!function(e){e.Root="root"}(b||(b={}));var L,_=n(52641);!function(e){e.Subject="Subject",e.CurriculumAudience="CurriculumAudience",e.CurriculumSubject="CurriculumSubject",e.CurriculumArea="CurriculumArea",e.CurriculumLeaf="CurriculumLeaf",e.CurriculumMetadata="CurriculumMetadata"}(L||(L={}));var T,E=n(24598),A=n(44829),k=n(37751),M=o.T.encloseNamespace("subjects.utils"),R={isPresentation:function(e){return"learningLevel"in e},isTopicClassification:function(e){return(null==e?void 0:e.type)===L.Subject},getMappedPresentationLevel:function(e){return"string"==typeof e?C[e]:e},getMappedPresentationBackgroundColourClass:function(e){switch(R.getMappedPresentationLevel(e)){case C.Level_1:return"bg-indigo";case C.Level_3:return"bg-blue";case C.Level_4:return"bg-navy";default:case C.Level_2:return"bg-green"}},getMappedPresentationBackgroundColourCode:function(e){switch(R.getMappedPresentationLevel(e)){case C.Level_1:return"#7A76E8";case C.Level_3:return"#38A2E8";case C.Level_4:return"#1B2D71";default:case C.Level_2:return"#5DC786"}},getPresentationLevelImage:function(e,i){switch(R.getMappedPresentationLevel(e)){case C.Level_1:if("topic-banner"===i)return s.e.Images.Level_1.TOPIC_BANNER;if("new-release-banner"===i)return s.e.Images.Level_1.NEW_RELEASES_BANNER;if("cover"===i)return s.e.Images.Level_1.TOPIC_COVER;if("tall-poster"===i)return s.e.Images.Level_1.TOPIC_TALL_POSTER;case C.Level_2:if("topic-banner"===i)return s.e.Images.Level_2.TOPIC_BANNER;if("new-release-banner"===i)return s.e.Images.Level_2.NEW_RELEASES_BANNER;if("cover"===i)return s.e.Images.Level_2.TOPIC_COVER;if("tall-poster"===i)return s.e.Images.Level_2.TOPIC_TALL_POSTER;default:case C.Level_3:if("topic-banner"===i)return s.e.Images.Level_3.TOPIC_BANNER;if("new-release-banner"===i)return s.e.Images.Level_3.NEW_RELEASES_BANNER;if("cover"===i)return s.e.Images.Level_3.TOPIC_COVER;if("tall-poster"===i)return s.e.Images.Level_3.TOPIC_TALL_POSTER;case C.Level_4:if("topic-banner"===i)return s.e.Images.Level_4.TOPIC_BANNER;if("cover"===i)return s.e.Images.Level_4.TOPIC_COVER}},getExploreAllTopicsTitle:function(e,i){return i<_._.MULTI_PRESENTATION_THRESHOLD?M("exploreAllTopicsHeading"):M("exploreAllTopicsDynamicHeading",{presentationName:e})},getExploreAllTopicsBreadcrumb:function(e,i){return i<_._.MULTI_PRESENTATION_THRESHOLD?M("exploreAllTopicsHeading"):e},isFollowing:function(e){var i,n;return 1===(null===(n=null===(i=null==e?void 0:e.followers)||void 0===i?void 0:i.data)||void 0===n?void 0:n.length)},isTopLevelTopic:function(e){var i;return!!(null===(i=null==e?void 0:e.parentIds)||void 0===i?void 0:i.includes(b.Root))},canHaveVideoListTab:function(e){var i;return null===(i=null==e?void 0:e.widgets)||void 0===i?void 0:i.some(function(e){var i;return null===(i=e.metadata)||void 0===i?void 0:i.showInTableOfContents})},getActiveTopicTab:function(e,i){return R.isTopLevelTopic(e)?i===k.ku.Classification?"new-releases":"all-topics":i===k.ku.Classification?"curated-topic":"curriculum"},getCounts:function(e){var i,n,t=null!==(n=null===(i=null==e?void 0:e.metadata)||void 0===i?void 0:i.childClassificationCount)&&void 0!==n?n:0;return(null==e?void 0:e.externalMetadata)?{childClassificationCount:t,dashboardVideoCount:e.externalMetadata.dashboardVideoCount||0,childDashboardVideoCount:e.externalMetadata.childDashboardVideoCount||0,dashboardResourceCount:e.externalMetadata.dashboardResourceCount||0,childDashboardResourceCount:e.externalMetadata.childDashboardResourceCount||0,dashboardNewVideosCount:e.externalMetadata.dashboardNewVideosCount||0,childDashboardNewVideoCount:e.externalMetadata.childDashboardNewVideoCount||0}:{childClassificationCount:t,dashboardVideoCount:0,childDashboardVideoCount:0,dashboardResourceCount:0,childDashboardResourceCount:0,dashboardNewVideosCount:0,childDashboardNewVideoCount:0}},isTertiary:function(e){return(null==e?void 0:e.toString())===s.e.PresentationIds.AU_TERTIARY.toString()||(null==e?void 0:e.toString())===s.e.PresentationIds.UK_TERTIARY.toString()},isNewZealandTopic:function(e){return(null==e?void 0:e.toString())===s.e.PresentationIds.NZ_PRIMARY.toString()||(null==e?void 0:e.toString())===s.e.PresentationIds.NZ_SECONDARY.toString()},isInternationalTopic:function(e){return(null==e?void 0:e.toString())===s.e.PresentationIds.INT_PRIMARY.toString()||(null==e?void 0:e.toString())===s.e.PresentationIds.INT_SECONDARY.toString()},isMtv:function(e){var i;return!!(null===(i=null==e?void 0:e.tags)||void 0===i?void 0:i.data)&&e.tags.data.some(function(e){return e.tagType===A.Q.Curation&&e.name===E.b.MOVIES_AND_TV})},sortByLearningLevel:function(e,i,n){var t=n.find(function(i){var n;return(null==i?void 0:i.id.toString())===(null===(n=null==e?void 0:e.presentationId)||void 0===n?void 0:n.toString())}),a=n.find(function(e){var n;return(null==e?void 0:e.id.toString())===(null===(n=null==i?void 0:i.presentationId)||void 0===n?void 0:n.toString())});return C[null==t?void 0:t.learningLevel]-C[null==a?void 0:a.learningLevel]}},O=JSON.parse('{"9":{"JpZ05O1":{"name":"English","videoIds":["12293130","30361411","56866418","58438459","47329278","33204878"]},"nK2le8E":{"name":"Personal Development and Health","videoIds":["8789599","60153074","3713674","15492556","3716135","53092493"]},"yKGO31z":{"name":"Business and Economics","videoIds":["47366972","3715870","18845095","36235981","53428226","51407674"]},"m0LrOj4":{"name":"Geography","videoIds":["67277770","3716182","5803343","21143528","3716292","3922246"]},"v47nvEK":{"name":"History","videoIds":["3926454","3716774","3713871","3716594","3716183","3713847"]},"j03MPwr":{"name":"Legal Studies","videoIds":["3102514","1980904","1969843","3716210","3714860","2787675"]},"bbJR9Zn":{"name":"Languages","videoIds":["5449905","42463035","6820509","6027576","47076421","5455635"]},"8L21E3O":{"name":"Mathematics","videoIds":["3715870","3715019","51005229","3714949","3716177","3715365"]},"2jDy2M7":{"name":"Religion and Philosophy","videoIds":["3716229","3716171","41056701","16574869","3716175","50917953"]},"qdo988Y":{"name":"Biological Sciences","videoIds":["3714819","3716265","4683666","3715984","38041517","3779793"]},"0OPpqqo":{"name":"Chemical Sciences","videoIds":["52947827","52948049","3715160","4427422","57870424","47323862"]},"dlMrOdE":{"name":"Physical Sciences","videoIds":["11746875","3716307","39316775","6746382","6812332","6344597"]},"0OZyLGy":{"name":"Technologies","videoIds":["3714027","6863817","3716153","34149622","22733300","10345707"]},"0OZyLYy":{"name":"The Arts","videoIds":["3713730","3716727","3937998","32102569","3716167","32998073"]},"Jp6k7by":{"name":"Aboriginal and Torres Strait Islander Studies","videoIds":["39653785","56866418","3713730","3716831","35848459","3716863"]},"4GRgpve":{"name":"Careers and Vocational Education","videoIds":["8191834","8194999","8194478","8686941","8696292","16168801"]},"Rb4dbm1":{"name":"Civics and Citizenship","videoIds":["5803343","37938448","13106949","22372922","47303205","1521314"]},"DdKR5WL":{"name":"Earth and Space Sciences","videoIds":["3716182","5803343","3716621","4006484","3716170","21148006"]},"0wOxDvl":{"name":"Physical Education","videoIds":["3714278","3714277","3714263","3714261","7709983","3714262"]},"7m2JLPq":{"name":"Psychology","videoIds":["3714892","3714373","3714890","3714891","6590889","3717555"]},"nENmdK1":{"name":"Sociology","videoIds":["3714506","50807954","3714583","38169050","6590951","57771705"]}},"12":{"v45P37g":{"name":"Expressive Arts","videoIds":["8924670","49585075","38370221","47484152","54095899","32102465"]},"GxyLnJn":{"name":"Languages","videoIds":["7486323","36991396","5449905","40919815","48278510","50466413"]},"7PWYrDW":{"name":"Literacy and English","videoIds":["41906926","49581979","61250","52429859","32970218","41938064"]},"eKpbY50":{"name":"Numeracy and Mathematics","videoIds":["3711988","42637723","6682722","58026826","13078019","4991116"]},"k3MlbL9":{"name":"PSHE","videoIds":["7593354","4169937","9900606","37428010","50180637","37857897"]},"wLDW2LL":{"name":"Religious and Philosophical Education","videoIds":["8739794","8733823","8734696","39428437","49159932","49159889"]},"nKGonKL":{"name":"Sciences","videoIds":["3711985","36554684","4108673","3712066","7310225","48022765"]},"eKpbEMy":{"name":"Social Studies","videoIds":["38091407","52436848","8139170","8733988","52601783","51668932"]},"MgqLxwk":{"name":"Technologies","videoIds":["47529961","4108924","3711985","51668853","49834298","37137391"]},"Yv56NaM":{"name":"Biological Systems","videoIds":["3779793","3713221","3713363","3713562","3713236","3716289"]},"8Lv5Na0":{"name":"Citizenship","videoIds":["3959296","3713237","62336","7586599","48522943","22372630"]},"v4MYJ94":{"name":"Forces, Electricity and Waves","videoIds":["3713221","3713695","3713298","3713562","3713342","3713279"]},"1d5Opwv":{"name":"Materials and Substances","videoIds":["3713221","3713562","3716289","7334569","3713286","3716279"]},"raqjNz4":{"name":"Music","videoIds":["50466237","49808227","38134895","30324910","49535315","6412547"]},"eKp93yo":{"name":"People, Past Events and Societies","videoIds":["52436848","8139170","48666851","49159889","54092899","51668932"]},"2jlKbrd":{"name":"People, Place and Environment","videoIds":["50800706","16206702","81764274","80349361","51668517","37938665"]},"xA2zYyP":{"name":"Planet Earth and Space","videoIds":["3713858","3716170","48022455","3713237","3713221","3713761"]},"3bNnxmn":{"name":"Study and Research Skills","videoIds":["3715013","5952919","5892164","8999934","219449","51724289"]}},"13":{"GxAzY0z":{"name":"Arts","videoIds":["6412547","53550381","40919555","50977326","53108637","49858623"]},"Jpy1Edb":{"name":"Computer Science and Technology","videoIds":["39382930","40907539","48236013","48233767","48236100","3712674"]},"NqgPKaG":{"name":"English Language Arts","videoIds":["38945464","39388174","52673932","38945448","60062676","48235940"]},"bbJ74ed":{"name":"Health","videoIds":["39430062","40919434","39362080","39383081","58025600","40919494"]},"Dda6pW3":{"name":"Math","videoIds":["49532295","38943192","49532442","39382723","39388252","38944700"]},"j0a4Arj":{"name":"Physical Education","videoIds":["40919406","48235838","50652589","40919430","48236078","50652575"]},"8LnP7p8":{"name":"Social and Emotional Learning","videoIds":["39451488","48235859","39337317","40964136","42314985","39382748"]},"4Gl1DaK":{"name":"World Languages","videoIds":["40919719","40919802","40919815","40919186","40915325","49858537"]},"Jpy1EP2":{"name":"Civics and Government","videoIds":["50807954","50800622","57355287","38945573","40919591","57978641"]},"ZAl67rb":{"name":"Earth and Space Science","videoIds":["7336963","3713237","3713761","3712190","3779809","39414730"]},"ze5PRD9":{"name":"Economics","videoIds":["57978515","52673893","39386335","80309108","52673959","80309197"]},"GxAzYW1":{"name":"Geography","videoIds":["39382727","39430086","39342430","40919446","79131743","57200758"]},"R0L3j6g":{"name":"History","videoIds":["57948887","84615538","49690616","40911809","51668864","50735582"]},"9DPWnaO":{"name":"Life Science","videoIds":["3713236","7335448","3713268","53044818","50976630","50977361"]},"nKzp19Y":{"name":"Physical Science","videoIds":["3713221","3713695","3713298","38945712","39382930","84609116"]},"7P7n8AR":{"name":"Religion","videoIds":["50800564","38945207","38945680","54093273","50180383","49159058"]}},"14":{"2jrkdLY":{"name":"Arts","videoIds":["38916908","6412547","40919390","40919482","38817643","38817665"]},"g42EN1v":{"name":"Computer Science and Technology","videoIds":["40919434","38917550","50878197","40907190","40907208","39382881"]},"5ROzG7l":{"name":"English Language Arts","videoIds":["39387902","40912179","60062676","40916580","40919438","48234159"]},"ze5J1AE":{"name":"Health","videoIds":["39362404","39430062","51152651","40919426","40919486","48234499"]},"v4qnrzg":{"name":"Math","videoIds":["39361909","51005193","51730147","48715611","39382600","49532478"]},"1dRa6vd":{"name":"Physical Education","videoIds":["40918377","51617459","49533964","42463003","51182678","50652593"]},"xyLWk6w":{"name":"Social and Emotional Learning","videoIds":["40964136","53746175","48172750","48171641","50417923","50418083"]},"DdaRGrq":{"name":"World Languages","videoIds":["40915666","40915325","42486037","40915698","40915345","48040254"]},"yrKZA3y":{"name":"Careers and Technical Education","videoIds":["48172750","52328920","22422792","47488746","51187200","84960065"]},"R0LRx1g":{"name":"Chemical Science","videoIds":["7334569","50876056","52318636","58196676","50837270","47251669"]},"7P7y5bR":{"name":"Civics and Government","videoIds":["50800622","54089250","40919577","81573693","53737737","57978641"]},"g42ENM9":{"name":"Earth and Space Science","videoIds":["39430086","39414730","39414759","50875964","40919857","51264326"]},"LqGREZL":{"name":"Economics","videoIds":["57978515","53737737","51408524","51409809","51779414","48463897"]},"obMmqy5":{"name":"Geography","videoIds":["48234876","81930059","39931606","71810304","47321866","48236170"]},"ZAlrZ11":{"name":"Life Science","videoIds":["48022455","3713236","36554448","9203166","40914938","51863288"]},"obMmqWk":{"name":"Physical Science","videoIds":["3713695","3713298","3713342","3713279","7345732","48233477"]},"5ROzG0o":{"name":"Religion and Ethics","videoIds":["57377971","57355136","57375306","57379661","39904894","78287556"]},"nEN5zAj":{"name":"Science and Engineering Practices","videoIds":["3713221","51724079","50876282","3713711","9203166","40917307"]},"xyLWk4p":{"name":"U.S. History","videoIds":["50168351","53577428","53551209","54090633","49690616","69402165"]},"p3yr17b":{"name":"World History","videoIds":["51415052","51668932","81936739","40913381","50917975","82655889"]}},"15":{"yKZ43dw":{"name":"Arts","videoIds":["38817665","39999270","38808751","40911271","40911232","51581800"]},"p3y82WO":{"name":"Career and Technical Education","videoIds":["52328915","52328920","47488746","47488362","52436904","40917538"]},"KAERnwR":{"name":"Computer Science and Technology","videoIds":["40915847","40916210","51262040","39912587","51250029","58318543"]},"LqGrPwA":{"name":"English Language Arts","videoIds":["40914651","40918236","77544344","51581321","39319556","40912204"]},"8LnamD8":{"name":"Health","videoIds":["51154979","48235793","46984526","39894691","59279809","50996991"]},"Jpyo7W2":{"name":"Math","videoIds":["47595827","51730147","49532658","48715416","48234988","48715584"]},"5RO2ml5":{"name":"Physical Education","videoIds":["49533951","40918509","40918377","51655191","50652593","40908770"]},"ze5d6l9":{"name":"Social and Emotional Learning","videoIds":["48171596","48171968","48171765","50418083","50418241","48235802"]},"KAERnDz":{"name":"World Languages","videoIds":["42486037","48234348","40919186","40919098","40918945","40915898"]},"7P7p05W":{"name":"Business and Economics","videoIds":["51407674","57978515","77649088","51100707","58123778","51407769"]},"laYDvoG":{"name":"Chemistry","videoIds":["48233332","40916556","52318636","58196676","52948049","52938235"]},"LqGrPEj":{"name":"Civics and Government","videoIds":["50800622","50871477","40919577","81574026","77829152","80399681"]},"wLj3A04":{"name":"Earth and Space Science","videoIds":["39927128","40919857","39926995","40915159","51292616","51264452"]},"4GldpJG":{"name":"Geography","videoIds":["51264452","40914544","48449463","81930059","51182016","51240873"]},"dleKgE2":{"name":"Life Sciences","videoIds":["40909818","40910549","50834178","40919211","40908887","50834330"]},"2jre2Oe":{"name":"Physics","videoIds":["6762513","40913948","85029481","81269747","82339649","82340162"]},"W12y493":{"name":"Psychology","videoIds":["40908799","81539973","40908929","81539825","77911442","81540071"]},"yKZ432M":{"name":"Religion and Philosophy","videoIds":["57377971","57375306","57379661","57379674","39904894","78287556"]},"69xJOgr":{"name":"Science and Engineering Practices","videoIds":["50876282","9203166","40917307","57355599","39592894","50962824"]},"jl7Elwx":{"name":"Sociology","videoIds":["81389320","81388819","77911225","47329600","47329600","36508642"]},"Ax2KeMo":{"name":"U.S. History","videoIds":["53487293","50168351","77827742","50793077","50168007","51168977"]},"laYDvwm":{"name":"World History","videoIds":["78902422","39394547","52993554","50917975","51414677","38907954"]}},"16":{"KAEY5GK":{"name":"Art and Design","videoIds":["8924670","49585075","38370221","47484152","54095899","32102465"]},"6wa2YwO":{"name":"Citizenship","videoIds":["57355388","52601783","48522943","22372630","53108585","41992024"]},"R0LK746":{"name":"Computing","videoIds":["26617482","38132678","26619390","36895952","41565288","36895909"]},"9DPkNz6":{"name":"Design and Technology","videoIds":["47529961","4108924","3711985","51668853","49834298","37137391"]},"2jDnan9":{"name":"Drama","videoIds":["51240522","230268","37018426","41939112","51582282","46916103"]},"E06dg2Z":{"name":"English","videoIds":["41906926","49581979","61250","52429859","32970218","41938064"]},"8LnO2Rd":{"name":"Geography","videoIds":["67225999","3713237","4402476","50800706","51666994","48105073"]},"bbJ9Ayb":{"name":"History","videoIds":["52436848","8139170","8733988","48666851","51668932","51731292"]},"Dda4KYL":{"name":"Languages","videoIds":["7486323","36991396","5449905","40919815","48278510","50466413"]},"Ax2Jyoa":{"name":"Mathematics","videoIds":["3711988","42637723","6682722","58026826","13078019","4991116"]},"bbJ9Ap0":{"name":"Music","videoIds":["50466237","6412547","49535315","49808227","30324910","64333"]},"NqgMRWy":{"name":"Physical Education","videoIds":["38132665","39294835","48118056","57372274","53108623","47431467"]},"Yvm5eyp":{"name":"PSHE","videoIds":["7593354","4169937","9900606","37428010","50180637","37857897"]},"8LnO2Je":{"name":"Religious Education","videoIds":["8739794","8733823","8734696","39428437","49159932","49159889"]},"3kmoJ72":{"name":"Science","videoIds":["3711985","36554684","4108673","3712066","7310225","48022765"]}},"18":{"yKP9gOD":{"name":"Civics and Citizenship","videoIds":["7735265","7735497","50679052","51452628","13106949","13107690"]},"7P6JOYb":{"name":"Economics and Business Studies","videoIds":["53428624","37455700","57355319","53428628","43961148","57966130"]},"j0jRJ1Z":{"name":"English","videoIds":["8416974","8417845","3712691","32127566","6673418","52675027"]},"nKDmYEl":{"name":"Geography","videoIds":["58600977","6980722","34591272","4402447","34597058","51437590"]},"WAe601Z":{"name":"History","videoIds":["3713735","6430651","3716829","43772092","51391809","56980377"]},"v4893Yy":{"name":"Languages","videoIds":["5449905","32345978","39623583","6820509","39255442","39254760"]},"nKDmYkl":{"name":"Mathematics","videoIds":["3713828","10749459","32102562","6689791","3713607","48278618"]},"0OeG09l":{"name":"Religion","videoIds":["8740724","8733239","8739706","8734693","8733792","33320133"]},"KAmPJqP":{"name":"Technologies","videoIds":["26619390","4131606","38132678","50720784","57230386","51181861"]},"MgOve7k":{"name":"The Arts","videoIds":["50466237","6412334","8100020","3716220","49808227","32787298"]},"NqkJ495":{"name":"Biological Sciences","videoIds":["3713221","3713363","3711972","5321193","45248896","51271242"]},"NqkJ4xy":{"name":"Chemical Sciences","videoIds":["3712073","48022232","3712074","50800545","50720770","50962883"]},"KAmPJOL":{"name":"Earth and Space Sciences","videoIds":["3716182","34591272","34590945","6683633","6683711","3713739"]},"p0Nm2AY":{"name":"Personal Development and Health","videoIds":["23645932","7593792","7593365","36875667","7587057","9900524"]},"D12Mz8e":{"name":"Physical Education","videoIds":["81770378","38132665","58025996","82328353","47219168","53093878"]},"Oz83dm5":{"name":"Physical Sciences","videoIds":["36554689","3713221","3713695","3713298","84609116","36554677"]}},"24":{"qdarDYp":{"name":"Business and Economics","videoIds":["51623323","47366972","37709668","37709732","3716149","8973838"]},"eKnGDa0":{"name":"English","videoIds":["36191688","33204878","36395402","5758602","35997069","23851791"]},"Yv5dzw5":{"name":"Expressive Arts","videoIds":["3716191","3716247","48134757","32998073","3716167","35601583"]},"ra6m0d1":{"name":"Geography","videoIds":["74135484","9375166","5711759","16206702","3922246","48476601"]},"E0dZqyR":{"name":"History","videoIds":["3926454","9978142","4684604","8372779","3716183","4648523"]},"9DkAaKy":{"name":"Languages","videoIds":["5449905","42463035","6820509","42209168","47076421","5455635"]},"8LOYpl0":{"name":"Numeracy and Mathematics","videoIds":["3716176","3715070","51730710","3715047","4553884","48091307"]},"m0d5D7r":{"name":"Physical Education","videoIds":["7609298","3714120","3714279","49160029","3714263","51667687"]},"g4WgD5l":{"name":"PSE","videoIds":["59279784","3716135","53259069","53259054","983611","16132648"]},"eKnGDdP":{"name":"Religious, Moral and Philosophical Education","videoIds":["3716229","3716171","39379918","33305783","3716175","3716237"]},"2jDd3kx":{"name":"Technologies","videoIds":["50917033","58307508","3716153","74135484","48083353","35004434"]},"4GRN4Eq":{"name":"Biology","videoIds":["3714819","3716182","5803343","3716265","4683666","3779793"]},"6wma2KO":{"name":"Career Education and Skills for Work","videoIds":["8191834","8194999","8686941","8696292","8687327","9312222"]},"LqAlv96":{"name":"Chemistry","videoIds":["3713221","3717296","3716700","3717051","3716289","7334569"]},"8LOYpZR":{"name":"Computing and ICT","videoIds":["3716153","26619390","58307508","26618525","48490433","51731678"]},"3b9r3ka":{"name":"Law","videoIds":["3714675","22372859","5270400","36503787","22220755","57828397"]},"Gx5kpRO":{"name":"Media Studies","videoIds":["3716135","3716275","47244475","3716274","47244664","47244504"]},"6w5zqYO":{"name":"Modern Studies","videoIds":["3716292","5803343","3716190","3713994","3713237","47366972"]},"g78nMPW":{"name":"Physics","videoIds":["6746382","9831360","3716170","6812332","34941552","6762513"]},"3ko2eAw":{"name":"Psychology","videoIds":["6590889","3714392","3714377","39438648","3717555","6590951"]}},"47":{"LqKNnNw":{"name":"Business and Economics","videoIds":["51623323","47366972","37709668","37709732","3716149","8973838"]},"7PgZvEA":{"name":"Careers","videoIds":["9315247","9312222","47104083","3715120","3714944","47159767"]},"la7zdgw":{"name":"English","videoIds":["53466594","77444242","17989642","30340068","24419904","33204878"]},"wLKkMwD":{"name":"Expressive Arts","videoIds":["3716191","3716247","48134757","32998073","3716167","35601583"]},"wLKkMEp":{"name":"Geography","videoIds":["74135484","22687577","5711759","16206702","3922246","19105359"]},"OzZ6vg4":{"name":"History","videoIds":["3926454","9978142","4684604","8372779","3716183","4648523"]},"YvJby7P":{"name":"Mathematics","videoIds":["3716176","3715070","51730710","3715047","4553884","34497285"]},"v41jLmK":{"name":"Modern Foreign Languages","videoIds":["5449905","42463035","6820509","42209168","47076421","5455635"]},"aPG3mRe":{"name":"Physical Education","videoIds":["7609298","3714120","3714279","49160029","3714263","51667687"]},"Gxp3jze":{"name":"PSHE","videoIds":["59279784","3716135","53259069","53259054","983611","16132648"]},"qd2K0qY":{"name":"Religion","videoIds":["3716229","3716171","39379918","33305783","3716175","3716237"]},"nKvyqe1":{"name":"Technology","videoIds":["50917033","58307508","3716153","74135484","48083353","35004434"]},"la7z0eL":{"name":"Biology","videoIds":["3714819","3716182","5803343","4683666","3779793","3716169"]},"wLKkGZY":{"name":"Chemistry","videoIds":["5795485","3717296","3716700","6737003","6737780","9030741"]},"r4YknOP":{"name":"Citizenship","videoIds":["5803343","3716190","3716293","79799081","3716210","79620772"]},"4GzZbpL":{"name":"Computing and ICT","videoIds":["58308441","58307508","48490433","48490093","48611300","59323845"]},"yKjEMbw":{"name":"Law","videoIds":["22372859","54577039","79799081","79620772","5270400","79799099"]},"6wGZWer":{"name":"Media Studies","videoIds":["33204878","47283314","3716275","47244475","3716274","47283102"]},"YvJbwpe":{"name":"Physics","videoIds":["6746382","9831360","6812332","34941552","6762513","37711980"]},"2jak8l9":{"name":"Psychology","videoIds":["38169050","3717591","57771705","6599207","3717590","57771703"]},"8ymN4z8":{"name":"Sociology","videoIds":["6590951","15923455","6599693","3714530","36503787","36508642"]}},"81":{"K6nGJr9":{"name":"Arts and Design","videoIds":["32998073","10916108","3714100","32102569","67277770","3714465"]},"2m2bo9d":{"name":"Business and Marketing","videoIds":["18654895","8973838","12955878","3715697","47583323","22563804"]},"AOe31wj":{"name":"Careers and Work","videoIds":["8194999","8973940","3715805","38132141","45692655","52874679"]},"xA28NqR":{"name":"Community and Youth Services","videoIds":["58155906","3714331","3714510","4144817","43307103","80005094"]},"vY2odPv":{"name":"Education and Training","videoIds":["3715013","49093031","3714891","24103433","3714590","51181808"]},"Jj7AgRb":{"name":"Events, Hospitality, Retail and Tourism","videoIds":["3713992","34061952","52183441","35409925","3716333","77936874"]},"nEeNnbE":{"name":"Foundation Skills and Personal Development","videoIds":["33174549","42500607","9264932","5952919","22713942","48155206"]},"m6eW7Nr":{"name":"Health and Healthcare","videoIds":["3714892","9375166","3714611","3714331","4144817","3714592"]},"kZWnqG6":{"name":"Information and Communications Technology","videoIds":["3716153","7897881","10584560","7869408","58308441","58307508"]},"xA28NgY":{"name":"Mathematics","videoIds":["26063133","3715838","3715050","23853803","23848364","25658497"]},"OqMG72A":{"name":"Science","videoIds":["38041517","38043803","22232723","6812332","3714819","3714462"]},"8ymN5wd":{"name":"Services, Trades and Engineering","videoIds":["52874679","39319138","26063133","20290415","3715837","3715359"]},"Jj7Agyy":{"name":"Society and Culture","videoIds":["18569471","3714314","3714937","49306628","3714486","45334884"]}},"82":{"vY2o59g":{"name":"Arts and Design","videoIds":["32102504","12598560","32998073","83017577","23740459","3716167"]},"Jj7AK52":{"name":"Business and Finance","videoIds":["50247134","8973838","18654895","12598127","71418012","51623323"]},"l5vPyNm":{"name":"Careers and Work","videoIds":["9312222","8191834","45664204","8973940","47579402","52251343"]},"r42NqxG":{"name":"Community and Youth Services","videoIds":["53259063","16132648","47207659","3714506","63984885","57771705"]},"l5vPybd":{"name":"Computing, Technology and Digital","videoIds":["33204878","3716153","35046405","10345707","58308441","48611300"]},"odelM2D":{"name":"Construction, Trades and Services","videoIds":["26063133","48689684","10565525","4146135","3715345","23988515"]},"dqgkNyd":{"name":"Education and Training","videoIds":["3715013","9080279","3714506","3714892","57771705","42500607"]},"7m0271k":{"name":"Engineering, Manufacturing and Electrotechnology","videoIds":["58308441","39319138","26066739","20290415","20306169","3716293"]},"vY2oqWG":{"name":"English Literature and Language","videoIds":["33204878","31993108","9227475","49066628","60059964","5790748"]},"Eol2zjR":{"name":"Functional Skills and Personal Development","videoIds":["9312222","9316945","42515350","5668137","9560804","5952919"]},"4rp97l9":{"name":"Health and Care","videoIds":["10896257","58127362","59279784","49948105","45818245","47198490"]},"yr33MLG":{"name":"Hospitality and Food","videoIds":["22733300","3714027","52183441","23853803","35409925","35410496"]},"G1Ea5n5":{"name":"Languages","videoIds":["9227475","45258243","82093433","82093931","60060323","82092337"]},"3b9N8dE":{"name":"Mathematics","videoIds":["26158674","26444801","48155206","52415295","50288809","51005229"]},"4rppnP7":{"name":"Retail and Sales","videoIds":["7181915","22552850","3715808","22710596","7183122","3716322"]},"RbG4Dm1":{"name":"Science","videoIds":["4683666","45819014","26686718","57887823","13023269","6812332"]},"W19xRxz":{"name":"Social Sciences","videoIds":["47575902","3715869","36220305","5270400","50269716","3714426"]},"8ymNvoR":{"name":"Sport and Leisure","videoIds":["3714261","7609298","57736364","32051772","3714278","3714126"]},"l5vPyM3":{"name":"Travel and Tourism","videoIds":["77720073","3716190","3713902","3716136","78706124","39406754"]}},"96":{"jlvNeWR":{"name":"Continuity and Change","videoIds":["86615390","3713876","3713847","47221954","54089199","54093263"]},"g7nMm5W":{"name":"English","videoIds":["80158955","81989077","83846323","9227475","3716165","41906817"]},"xAz6MEr":{"name":"Health","videoIds":["84954526","81072555","3713123","47177036","47106673","53093908"]},"ek8mbq8":{"name":"Identity, Culture and Organisation","videoIds":["85058309","33204878","16574869","42463035","47303205","3716220"]},"xAz6MMz":{"name":"Learning Languages","videoIds":["42463035","6820509","36689369","37642890","6810760","47076421"]},"zMgokW2":{"name":"Living World","videoIds":["84615984","3713221","3713363","45248896","7735364","51271242"]},"3br3wk2":{"name":"Material World","videoIds":["3713221","7334569","50877364","64098768","41939159","50877778"]},"PGlOJd7":{"name":"Mathematics and Statistics","videoIds":["80553902","25923580","43936635","48278518","42636988","48155955"]},"p0PjPqO":{"name":"Physical Education","videoIds":["84301769","53093878","38133887","51731303","49580107","50652578"]},"Nzm0ZmN":{"name":"Physical World","videoIds":["87005330","3713297","3713298","48022996","3713279","48117006"]},"l53E1xJ":{"name":"Place and Environment","videoIds":["81074045","3716795","3713237","51474669","51444188","38071125"]},"vYz6PzG":{"name":"Planet Earth and Beyond","videoIds":["84733189","7336963","3713212","47303205","48117006","50800584"]},"odnWyjD":{"name":"Religion and Philosophy","videoIds":["16574869","3715985","16630757","16588366","16611019","41056701"]},"5b4Aa90":{"name":"Study and Research Skills","videoIds":["83894192","83894453","8985721","47241826","47146893","51724079"]},"jlvNy46":{"name":"Technology","videoIds":["80734963","26619390","26617482","3716155","10584560","7391744"]},"zMgoGJR":{"name":"The Arts","videoIds":["3716727","32998073","3713842","3716220","49582171","38133111"]},"2mgJG06":{"name":"The Economic World","videoIds":["80309108","80309197","22372745","53428624","35629137","52197899"]}},"97":{"ZJv1MwP":{"name":"Agricultural and Horticultural Science","videoIds":["3714041","3714045","58745804","35226384","35396244","35312243"]},"2mgJOwe":{"name":"Biology","videoIds":["86393409","5803343","4683666","3779793","38041517","26340757"]},"8yRAlM5":{"name":"Business Studies","videoIds":["8191834","18654895","8973838","8973352","45664204","12955878"]},"JjaxboE":{"name":"Chemistry","videoIds":["86392392","3717296","45727359","57887823","22232723","7889149"]},"zMgolY5":{"name":"Earth and Space Science","videoIds":["86393854","80477860","3716170","7336963","3715871","23614105"]},"2mgJOn6":{"name":"Economics","videoIds":["3716292","47366972","3716149","42604877","50217751","50247062"]},"l53Eo7W":{"name":"English","videoIds":["82359369","3716185","5596313","3716233","9560804","23851791"]},"K6aqKL9":{"name":"Geography","videoIds":["80484980","84539107","86393854","5803343","3716200","3922246"]},"69zDgGr":{"name":"Health Education","videoIds":["83101516","3714819","58673657","42500607","3716135","3713123"]},"vYz6rr4":{"name":"History","videoIds":["81504973","3716774","3926454","3716189","4984056","18569471"]},"ek8mdr8":{"name":"Learning Languages","videoIds":["84613432","42463035","5449905","6820509","47075377","6810442"]},"PGlOK4n":{"name":"Legal Studies","videoIds":["80660282","81504973","81504911","47303205","78731895","53708941"]},"W1Epqgz":{"name":"Mathematics and Statistics","videoIds":["79705668","86387151","3715870","3714976","26066739","26158674"]},"p0Pvw1Y":{"name":"Media Studies","videoIds":["84603846","33204878","3716529","3937998","60034238","3716275"]},"69zDexn":{"name":"Physical Education","videoIds":["79061490","84301775","79062447","3714278","3714261","57736364"]},"vYz6wzo":{"name":"Physics","videoIds":["86392981","86014106","6746382","6747369","6812332","11746875"]},"kZJ8w49":{"name":"Psychology","videoIds":["42500607","3714892","42500587","42500472","39438648","16132408"]},"3br3vDa":{"name":"Religion and Philosophy","videoIds":["16574869","3716175","16630757","16588366","3715102","41056701"]},"g7nML2K":{"name":"Social Studies","videoIds":["80660282","7707302","5216877","3716210","22372922","67277770"]},"vYz6wdN":{"name":"Sociology","videoIds":["6590951","57771705","6605596","15923455","57771703","36503891"]},"0wzWnml":{"name":"Study and Research Skills","videoIds":["83894192","85464744","8985721","5952919","77911106","80399453"]},"K6aqWxL":{"name":"Technology","videoIds":["83017625","3714027","3716153","26617069","7897881","10550689"]},"agN12dl":{"name":"The Arts","videoIds":["32998073","10916108","3716167","3716192","3716206","3716220"]},"wNzd0gG":{"name":"Vocational Education and Careers","videoIds":["85795501","8191834","16168801","16237850","45664204","47241826"]}}}'),w={CreatePlaylist:function(e){return!(e.hasPlaylist||e.preferredPresentation&&!O[e.preferredPresentation.id])}},D=o.T.encloseNamespace("onboarding.constants"),z={"welcome-video":{id:"welcome-video",getPageTitle:function(){return D("welcomeVideoPageTitle")},predicate:function(e){return!!I.shouldRedirectToOnboarding(e.masterUser,e.customer,e.hasPermissions,e.presentations)&&e.instanceRegion===S.b.US},setting:P.E.HasCompletedOnboardingStepWelcomeVideo,analyticsLocation:r.LZ.OnboardingWelcomeVideoScreen,includeInProgressBar:function(){return!1},getWidgetHeading:function(){return D("selectRoleHeading")},getWidgetDescription:function(){return D("selectRoleMessage")}},"select-role":{id:"select-role",getPageTitle:function(){return D("selectRolePageTitle")},predicate:function(e){var i,n;return!I.hasNonBdmTrial(e.hasPermissions)||!e.jobTitle||!!(null===(n=null===(i=e.userSettings)||void 0===i?void 0:i[P.E.HasCompletedOnboardingStepSelectRole])||void 0===n?void 0:n.value)},setting:P.E.HasCompletedOnboardingStepSelectRole,analyticsLocation:r.LZ.OnboardingSelectRoleScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return D("selectRoleHeading")},getWidgetDescription:function(){return D("selectRoleMessage")}},"usage-intention":{id:"usage-intention",getPageTitle:function(){return D("usageIntentionPageTitle")},predicate:function(){return!0},setting:P.E.HasCompletedOnboardingStepUsageIntention,analyticsLocation:r.LZ.OnboardingUsageIntentionScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return D("usageIntentionHeading")},getWidgetDescription:function(){return D("usageIntentionMessage")}},"subjects-summary":{id:"subjects-summary",getPageTitle:function(){return D("subjectsSummaryPageTitle")},predicate:function(e){var i,n,t,a,o,r,s;return!!(null===(i=e.preferredSubjects)||void 0===i?void 0:i.length)&&!((null===(t=null===(n=e.userSettings)||void 0===n?void 0:n[P.E.HasCompletedOnboardingStepSubjects])||void 0===t?void 0:t.value)||(null===(o=null===(a=e.userSettings)||void 0===a?void 0:a[P.E.HasCompletedOnboardingStepSelectCurriculum])||void 0===o?void 0:o.value)||(null===(s=null===(r=e.userSettings)||void 0===r?void 0:r[P.E.HasCompletedOnboardingStepSchoolLevel])||void 0===s?void 0:s.value))},setting:P.E.HasCompletedOnboardingStepSubjectsSummary,analyticsLocation:r.LZ.OnboardingSubjectsSummaryScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return D("subjectsHeading")},getWidgetDescription:function(){return D("subjectsMessage")},branches:["school-level","subjects","select-curriculum"]},"school-level":{id:"school-level",getPageTitle:function(){return D("schoolLevelPageTitle")},predicate:function(e){var i,n;return!(z["subjects-summary"].predicate(e)||(null===(i=e.presentations)||void 0===i?void 0:i.length)<2||(null===(n=e.presentations)||void 0===n?void 0:n.some(function(e){return R.getMappedPresentationLevel(e.learningLevel)===C.Level_4})))},setting:P.E.HasCompletedOnboardingStepSchoolLevel,analyticsLocation:r.LZ.OnboardingSchoolLevelScreen,includeInProgressBar:function(e){return!z["subjects-summary"].predicate(e)},getWidgetHeading:function(e){return D(e?"schoolLevelHeadingKdm":"schoolLevelHeading")},getWidgetDescription:function(e){return D(e?"schoolLevelMessageKdm":"schoolLevelMessage")}},"select-curriculum":{id:"select-curriculum",getPageTitle:function(){return D("selectCurriculumPageTitle")},predicate:function(e){var i;return!(z["subjects-summary"].predicate(e)||(null===(i=e.curriculums)||void 0===i?void 0:i.length)<2)},setting:P.E.HasCompletedOnboardingStepSelectCurriculum,analyticsLocation:r.LZ.OnboardingSelectCurriculumScreen,includeInProgressBar:function(e){return!z["subjects-summary"].predicate(e)},getWidgetHeading:function(){return D("selectCurriculumHeading")},getWidgetDescription:function(){return D("selectCurriculumMessage")}},subjects:{id:"subjects",getPageTitle:function(){return D("subjectsPageTitle")},predicate:function(e){return!z["subjects-summary"].predicate(e)},setting:P.E.HasCompletedOnboardingStepSubjects,analyticsLocation:r.LZ.OnboardingSubjectsScreen,includeInProgressBar:function(e){return!z["subjects-summary"].predicate(e)},getWidgetHeading:function(e){return D(e?"subjectsHeadingKdm":"subjectsHeading")},getWidgetDescription:function(){return D("subjectsMessage")}},"select-videos":{id:"select-videos",getPageTitle:function(){return D("selectVideosPageTitle")},predicate:w.CreatePlaylist,setting:P.E.HasCompletedOnboardingStepSelectVideos,analyticsLocation:r.LZ.OnboardingSelectVideosScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return D("selectVideosHeading")},getWidgetDescription:function(e){return D(e?"selectVideosMessageKdm":"selectVideosMessage")}},"create-playlist":{id:"create-playlist",getPageTitle:function(){return D("createPlaylistPageTitle")},predicate:w.CreatePlaylist,setting:P.E.HasCompletedOnboardingStepCreatePlaylist,analyticsLocation:r.LZ.OnboardingCreatePlaylistScreen,includeInProgressBar:function(){return!0},getWidgetHeading:function(){return D("createPlaylistHeading")},getWidgetDescription:function(){return D("createPlaylistMessage")}}},j=n(43500),x=n(78479),N=n(42308),H=(n(76881),n(86613),{onSelectCuratedObject:function(e,i){var n=Object.assign(Object.assign({},i.values.data),{objectIds:t.m.addOrRemoveImmutable(i.values.data.objectIds||[],e.id)});i.setFieldValue("data",n),i.setTouched(Object.assign(Object.assign({},i.touched),{data:{objectIds:!0}}))},onRemoveCuratedObject:function(e,i){var n=Object.assign(Object.assign({},i.values.data),{objectIds:i.values.data.objectIds.filter(function(i){return i!==e})});i.setFieldValue("data",n)},getDashboardTarget:function(e){return e.targetType===k.ku.Discover?"discover:presentation:".concat(e.presentationId):e.targetType===k.ku.Classification?"classification:".concat(e.classificationId):e.targetType===k.ku.ClassificationDirectory?"classification:".concat(e.classificationId,":directory"):e.targetType===k.ku.ClassificationCurriculum?"classification:".concat(e.classificationId,":curriculum"):e.targetType===k.ku.MoviesAndTv?"moviesAndTv:presentation:".concat(e.presentationId):e.targetType===k.ku.Company?"company:".concat(e.companyId,":presentation:").concat(e.presentationId):null},getUnknownDashboardTarget:function(e){var i=e.presentationId,n=e.companyId,t=e.targetType,a=e.classificationId;return t===k.ku.Discover?H.getDashboardTarget({targetType:k.ku.Discover,presentationId:i}):t===k.ku.MoviesAndTv?H.getDashboardTarget({targetType:k.ku.MoviesAndTv,presentationId:i}):t===k.ku.Company?H.getDashboardTarget({targetType:k.ku.Company,presentationId:i,companyId:n}):t===k.ku.Classification?H.getDashboardTarget({targetType:k.ku.Classification,classificationId:a}):t===k.ku.ClassificationDirectory?H.getDashboardTarget({targetType:k.ku.ClassificationDirectory,classificationId:a}):t===k.ku.ClassificationCurriculum?H.getDashboardTarget({targetType:k.ku.ClassificationCurriculum,classificationId:a}):void 0},getDashboardTargetInfo:function(e){var i,n=H.getDashboardTargetType(e),t=null===(i=null==e?void 0:e.target)||void 0===i?void 0:i.split(":");return n===k.ku.Discover?{targetType:k.ku.Discover,presentationId:t[2]}:n===k.ku.Classification?{targetType:k.ku.Classification,classificationId:t[1]}:n===k.ku.ClassificationDirectory?{targetType:k.ku.ClassificationDirectory,classificationId:t[1]}:n===k.ku.ClassificationCurriculum?{targetType:k.ku.ClassificationCurriculum,classificationId:t[1]}:n===k.ku.MoviesAndTv?{targetType:k.ku.MoviesAndTv,presentationId:t[2]}:n===k.ku.Company?{targetType:k.ku.Company,companyId:t[1],presentationId:t[3]}:null},getDashboardTargetType:function(e){return(null==e?void 0:e.target)?e.target.startsWith("discover")?k.ku.Discover:e.target.startsWith("classification")?e.target.endsWith("directory")?k.ku.ClassificationDirectory:e.target.endsWith("curriculum")?k.ku.ClassificationCurriculum:k.ku.Classification:e.target.startsWith("moviesAndTv")?k.ku.MoviesAndTv:e.target.startsWith("company")?k.ku.Company:null:null},isType:function(e,i){return H.getDashboardTargetType(e)===i},isCuratedDashboard:function(e){var i=e,n=H.getDashboardTargetType(i);return n===k.ku.Discover||n===k.ku.Classification||n===k.ku.ClassificationDirectory||n===k.ku.ClassificationCurriculum||n===k.ku.MoviesAndTv||n===k.ku.Company},getLatestReleasedTimeRange:function(){var e=new Date;return{from:a.O.format(a.O.endOf(a.O.subtract(e,2,"month"),"day"),"YYYY-MM-DD"),to:a.O.format(a.O.endOf(e,"day"),"YYYY-MM-DD")}},getWidgetParams:function(e,i,n,t,a){var o={};return t&&(o.audienceId=t),e===N.z.ClassificationCurriculumMedia&&(o.curriculumPresentationId=a),Object.assign(Object.assign({},o),Y[e].getCustomParams(i,n))},isSystemGeneratedDashboard:function(e){var i=new Set([N.z.ClassificationFeaturedVideo,N.z.ClassificationPinnedVideos,N.z.ClassificationPlaylists,N.z.ClassificationSeries]);return null==e?void 0:e.some(function(e){return i.has(e.widgetId)})},isClassificationDashboard:function(e){return[k.ku.Classification,k.ku.ClassificationDirectory,k.ku.ClassificationCurriculum].includes(null==e?void 0:e.targetType)}});function W(e){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},W(e)}function V(e,i,n){return(i=function(e){var i=function(e){if("object"!=W(e)||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var n=i.call(e,"string");if("object"!=W(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==W(i)?i:i+""}(i))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,e}function B(e,i){(null==i||i>e.length)&&(i=e.length);for(var n=0,t=Array(i);n<i;n++)t[n]=e[n];return t}var Y=(V(V(V(V(V(V(V(V(V(V(T={},N.z.CuratedMedia,{getCustomParams:function(){return{}}}),N.z.PlaylistMedia,{getCustomParams:function(){return{}}}),N.z.SeriesMedia,{getCustomParams:function(e){switch(e){case x.f.ThumbnailFixedListMediaLarge:return{limit:2};case x.f.ThumbnailHeroMedia:case x.f.ThumbnailFeaturedMedia:return{limit:1};default:return{limit:12}}},getCollectionAppLink:function(e,i){var n;return null===(n=null==e?void 0:e.series)||void 0===n?void 0:n.call(e,t.m.first(i))}}),N.z.ClassificationMedia,{getCustomParams:function(){return{}}}),N.z.LatestReleasedVideos,{getCustomParams:function(){return H.getLatestReleasedTimeRange()}}),N.z.ContinueWatching,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){var i;return null===(i=null==e?void 0:e.watchHistory)||void 0===i?void 0:i.call(e)}}),N.z.CompanyLatestReleasedVideo,{getCustomParams:function(){return{}}}),N.z.CompanyVideos,{getCustomParams:function(){return{}}}),N.z.ClassificationLatestReleasedVideo,{getCustomParams:function(){return{}}}),N.z.ClassificationLatestReleasedVideosV2,{getCustomParams:function(){return{limit:12}},minContent:4}),V(V(V(V(V(V(V(V(V(V(T,N.z.SeasonalClassificationMedia,{getCustomParams:function(){return{limit:12}},minContent:4}),N.z.CompanyClassificationVideos,{getCustomParams:function(){return{}},minContent:4}),N.z.TrendingClassificationsMedia,{getCustomParams:function(){return{limit:12}},minContent:4}),N.z.CuratedClassifications,{getCustomParams:function(){return{}}}),N.z.TrendingClassifications,{getCustomParams:function(){return{limit:6}},minContent:3}),N.z.Classifications,{getCustomParams:function(e,i){if(i===k.ku.Discover){if(e===x.f.EditableCoverFixedPillListSmall)return{canBePreferred:!0,isFollowing:!0};if([x.f.PosterSlidingListSmall,x.f.CoverFixedPillListXSmall].includes(e))return{canBePreferred:!0}}return{}}}),N.z.ClassificationLatestReleasedVideos,{getCustomParams:function(){return H.getLatestReleasedTimeRange()}}),N.z.SpecialEventClassifications,{getCustomParams:function(){return{from:a.O.format(new Date,"YYYY-MM-DD")}}}),N.z.LatestReleasedClassifications,{getCustomParams:function(){return{limit:6}},minContent:3}),N.z.CuratedSeries,{getCustomParams:function(){return{}}}),V(V(V(V(V(V(V(V(V(V(T,N.z.CuratedPlaylists,{getCustomParams:function(){return{}}}),N.z.Blurb,{getCustomParams:function(){return{}}}),N.z.DynamicBlurb,{getCustomParams:function(e){return e===x.f.OnboardingSteps?{customerSetting:[P.E.HasNewOnboarding],userSettings:[].concat((i=Object.values(z).map(function(e){return e.setting}),function(e){if(Array.isArray(e))return B(e)}(i)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(i)||function(e,i){if(e){if("string"==typeof e)return B(e,i);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?B(e,i):void 0}}(i)||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.")}()),[P.E.HasCompletedOnboardingV2,P.E.HasExitedOnboarding])}:{};var i}}),N.z.AuthorReviewer,{getCustomParams:function(){return{}}}),N.z.Faq,{getCustomParams:function(){return{}}}),N.z.CuratedCompanies,{getCustomParams:function(){return{}}}),N.z.Ratings,{getCustomParams:function(){return{}}}),N.z.Presentations,{getCustomParams:function(){return{}}}),N.z.UpcomingLivestreams,{getCustomParams:function(){return{from:a.O.format(new Date,"YYYY-MM-DD")}}}),N.z.CuratedMultimedia,{getCustomParams:function(){return{}}}),V(V(V(V(V(V(V(V(V(V(T,N.z.ClassificationPlaylists,{getCustomParams:function(){return{}}}),N.z.ClassificationSeries,{getCustomParams:function(){return{}}}),N.z.ClassificationFeaturedVideo,{getCustomParams:function(){return{}}}),N.z.ClassificationPinnedVideos,{getCustomParams:function(){return{}}}),N.z.ClassificationDashboardExternalMedia,{getCustomParams:function(){return{}}}),N.z.ClassificationDashboardMedia,{getCustomParams:function(){return{}}}),N.z.SearchRelevantTopics,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchRelevantTopics],type:[j.ZE.Classification]})}}),N.z.SearchCompanies,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchCompanies],type:[j.ZE.Company]})}}),N.z.SearchSeries,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchSeries],type:[j.ZE.Series]})}}),N.z.SearchPlaylists,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchPlaylists],type:[j.ZE.Playlist]})}}),V(V(V(V(V(V(V(V(V(V(T,N.z.SearchMyVideosFolder,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchMyVideosFolder],source:[j.fi.MyVideos]})}}),N.z.SearchMySchoolLibraryFolder,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchMySchoolLibraryFolder],source:[j.fi.School]})}}),N.z.SearchMyVideos,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchMyVideos],source:[j.fi.MyVideos]})}}),N.z.SearchMySchoolLibraryVideos,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchMySchoolLibraryVideos],source:[j.fi.School]})}}),N.z.SearchExchangeArchive,{getCustomParams:function(){return{}},getCollectionAppLink:function(e){return e.searchHome({focus:[N.z.SearchExchangeArchive],source:[j.fi.ExchangeArchive]})}}),N.z.SearchRelatedResults,{getCustomParams:function(){return{}}}),N.z.SearchTopResults,{getCustomParams:function(){return{}}}),N.z.ClassificationCurriculumMedia,{getCustomParams:function(){return{}}}),N.z.SearchTags,{getCustomParams:function(){return{}}}),N.z.SearchCurriculumCode,{getCustomParams:function(){return{}}}),V(T,N.z.SearchSuggestions,{getCustomParams:function(){return{}}}))},24598:(e,i,n)=>{var t;n.d(i,{b:()=>t}),function(e){e.CLICKVIEW_CURATED="is_clickview_curated",e.MOVIES_AND_TV="is_movies_and_tv",e.STREAMABLE_CURATED="is_streamable_learning_curated"}(t||(t={}))},19808:(e,i,n)=>{var t;n.d(i,{b:()=>t}),function(e){e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1"}(t||(t={}))},44829:(e,i,n)=>{var t,a;n.d(i,{Q:()=>t}),function(e){e.Normal="normal",e.Pedagogy="pedagogy",e.Hidden="hidden",e.Skill="skill",e.Curation="curation"}(t||(t={})),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"}(a||(a={}))},78479:(e,i,n)=>{var t;n.d(i,{f:()=>t}),function(e){e.ThumbnailHeroMedia="thumbnail_hero_media",e.ThumbnailFeaturedMedia="thumbnail_featured_media",e.ThumbnailSlidingListSmall="thumbnail_sliding_list_small",e.ThumbnailSlidingListSmallV2="thumbnail_sliding_list_small_v2",e.ThumbnailSlidingListLarge="thumbnail_sliding_list_large",e.ThumbnailFixedListMediaSmall="thumbnail_fixed_list_media_small",e.ThumbnailFixedListMediaLarge="thumbnail_fixed_list_media_large",e.ThumbnailFixedListFolderSmall="thumbnail_fixed_list_folder_small",e.ThumbnailVerticalList="thumbnail_vertical_list",e.PopoutThumbnailSlidingListLarge="popout_thumbnail_sliding_list_large",e.PopoutThumbnailSlidingListSmall="popout_thumbnail_sliding_list_small",e.FeaturedThumbnailSlidingList="featured_thumbnail_sliding_list",e.ThumbnailFixedListXLarge="thumbnail_fixed_list_xlarge",e.CoverSlidingPillListSmall="cover_sliding_pill_list_small",e.CoverFixedPillListLarge="cover_fixed_pill_list_large",e.StatsCoverFixedPillListLarge="stats_cover_fixed_pill_list_large",e.CoverFixedPillListXSmall="cover_fixed_pill_list_xsmall",e.ThumbnailFixedListLarge="thumbnail_fixed_list_large",e.ThumbnailFixedListSmall="thumbnail_fixed_list_small",e.EditableCoverFixedPillListSmall="editable_cover_fixed_pill_list_small",e.HeroBanner="hero_banner",e.HeroThumbnailSmall="hero_thumbnail_small",e.HeroBlockColourSmall="hero_block_colour_small",e.CurriculumResourcesAccordion="curriculum_resources_accordion",e.CurriculumCodeSearchResults="curriculum_code_search_results",e.CoverFixedTileList="cover_fixed_tile_list",e.PosterSlidingListLarge="poster_sliding_list_large",e.PosterSlidingListMedium="poster_sliding_list_medium",e.PosterSlidingListSmall="poster_sliding_list_small",e.PosterFixedListLarge="poster_fixed_list_large",e.HeroBannerSmall="hero_banner_small",e.Heading="heading",e.AuthorReviewer="author_reviewer",e.Question="question",e.QuestionAccordion="question_accordion",e.OnboardingSteps="onboarding_steps",e.CircleLogoSlidingList="circle_logo_sliding_list",e.FilterSlidingPillListSmall="filter_sliding_pill_list_small",e.EventIconSlidingList="event_icon_sliding_list",e.TagSlidingList="tag_sliding_list",e.SearchSuggestionsBlurb="search_suggestions_blurb"}(t||(t={}))},42308:(e,i,n)=>{var t;n.d(i,{z:()=>t}),function(e){e.CuratedMedia="curated_media",e.PlaylistMedia="playlist_media",e.SeriesMedia="series_media",e.ClassificationMedia="classification_media",e.LatestReleasedVideos="latest_released_videos",e.ContinueWatching="continue_watching_videos",e.CompanyLatestReleasedVideo="company_latest_released_video",e.CompanyVideos="company_videos",e.ClassificationLatestReleasedVideo="classification_latest_released_video",e.ClassificationLatestReleasedVideosV2="classification_latest_released_videos_v2",e.CompanyClassificationVideos="company_classification_videos",e.ClassificationDashboardMedia="classification_dashboard_media",e.ClassificationDashboardExternalMedia="classification_dashboard_external_media",e.SeasonalClassificationMedia="seasonal_classification_media",e.TrendingClassificationsMedia="trending_classifications_media",e.ClassificationCurriculumMedia="classification_curriculum_media",e.CuratedClassifications="curated_classifications",e.Classifications="classifications",e.ClassificationLatestReleasedVideos="classification_latest_released_videos",e.SpecialEventClassifications="special_event_classifications",e.LatestReleasedClassifications="latest_released_classifications",e.TrendingClassifications="trending_classifications",e.CuratedSeries="curated_series",e.CuratedPlaylists="curated_playlists",e.Blurb="blurb",e.DynamicBlurb="dynamic_blurb",e.AuthorReviewer="author_reviewer",e.Faq="faq",e.CuratedCompanies="curated_companies",e.Ratings="ratings",e.Presentations="presentations",e.UpcomingLivestreams="upcoming_livestreams",e.CuratedMultimedia="curated_multimedia",e.ClassificationPlaylists="classification_playlists",e.ClassificationSeries="classification_series",e.ClassificationFeaturedVideo="classification_featured_video",e.ClassificationPinnedVideos="classification_pinned_videos",e.SearchRelevantTopics="search_relevant_topics",e.SearchCompanies="search_companies",e.SearchTopResults="search_top_results",e.SearchSeries="search_series",e.SearchPlaylists="search_playlists",e.SearchMyVideosFolder="search_my_videos_folders",e.SearchMySchoolLibraryFolder="search_my_school_library_folders",e.SearchMyVideos="search_my_videos",e.SearchMySchoolLibraryVideos="search_my_school_library_videos",e.SearchExchangeArchive="search_exchange_archive",e.SearchRelatedResults="search_related_results",e.SearchTags="search_tags",e.SearchCurriculumCode="search_curriculum_code",e.SearchSuggestions="search_suggestions"}(t||(t={}))},45778:(e,i,n)=>{n.d(i,{G:()=>a});var t=n(4594),a={isType:function(e,i){var n;return(null==e?void 0:e.typeId)?e.typeId===i:(null===(n=null==e?void 0:e.type)||void 0===n?void 0:n.toLowerCase())===t.E[i].toLowerCase()},isResource:function(e){return a.isType(e,t.E.Resource)},isClassification:function(e){return"Subject"===e.type}}},49542:(e,i,n)=>{n.d(i,{d:()=>f});var t,a=n(32735),o=n(75896),r=n(65858);!function(e){e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archived=2]="Archived"}(t||(t={}));var s,d=n(78479),l=n(42308),c=n(37751),u=n(3956),m=n(4594),v=n(45778);function g(e,i){(null==i||i>e.length)&&(i=e.length);for(var n=0,t=Array(i);n<i;n++)t[n]=e[n];return t}!function(e){e.Draft="Draft",e.Published="Published",e.Archived="Archived"}(s||(s={}));var f={getSliderAnalyticsOptions:function(){return{actionType:r.Vw.Click,location:r.LZ.SlidingList,entity:r.py.Widget,descriptor:r._S.Slide}},getSliderItemAnalyticsOptions:function(){return{location:r.LZ.SlidingListItem}},getSliderHeadingAnalyticsOptions:function(){return{actionType:r.Vw.Click,location:r.LZ.SlidingList,entity:r.py.Widget,descriptor:r._S.Title}},useGetContent:function(e,i,n,t,o){return a.useMemo(function(){var a;if(!e)return{content:null,unfilteredContent:null};if(!Array.isArray(e))return{content:e,unfilteredContent:e};var r,s=null!==(a=null==t?void 0:t.reduce(function(e,i){return e[i.id]=i,e},{}))&&void 0!==a?a:{},d=o.reduce(function(e,i){return e[i]=!0,e},{}),l=function(e){if(Array.isArray(e))return g(e)}(r=e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,i){if(e){if("string"==typeof e)return g(e,i);var n={}.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)?g(e,i):void 0}}(r)||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.")}(),c=l.sort(function(e,i){var n,t,a,o;if(!("id"in e)||!("id"in i))return 0;var r=null!==(t=null===(n=s[e.id])||void 0===n?void 0:n.index)&&void 0!==t?t:l.findIndex(function(i){return"id"in i&&i.id===e.id}),d=null!==(o=null===(a=s[i.id])||void 0===a?void 0:a.index)&&void 0!==o?o:l.findIndex(function(e){return"id"in e&&e.id===i.id});return r<d?-1:r>d?1:0});if(f.isBelowContentMinimum(c,i)&&!n)return{content:[],unfilteredContent:c};var u=c.filter(function(e){var i;return!(null===(i=s["id"in e&&e.id])||void 0===i?void 0:i.hidden)&&!d["id"in e&&e.id]});return{content:u,unfilteredContent:c}},[e,t])},isBelowContentMinimum:function(e,i){var n,t=(null===(n=u.u[i])||void 0===n?void 0:n.minContent)||0;return(null==e?void 0:e.length)<t},getCustomAppLink:function(e){var i,n,t,a,o,r;return"metadata"in e&&"appLinks"in e&&"appLink"in e.metadata?(null===(i=e.metadata)||void 0===i?void 0:i.appLink)===c.OL.LatestReleases&&"latestReleases"in e.appLinks?null===(t=null===(n=e.appLinks)||void 0===n?void 0:n.latestReleases)||void 0===t?void 0:t.call(n):(null===(a=e.metadata)||void 0===a?void 0:a.appLink)===c.OL.ExploreAllTopics&&"allTopics"in e.appLinks&&"presentation"in e?null===(r=null===(o=e.appLinks)||void 0===o?void 0:o.allTopics)||void 0===r?void 0:r.call(o,e.presentation.id):null:null},getWidgetStatus:function(e){var i=e.status;if("string"==typeof i)switch(i){case s.Archived:i=t.Archived;break;case s.Published:i=t.Published;break;case s.Draft:i=t.Draft}return i},formatResponseData:function(e,i){var n=e.content;if(!n)return e;if("author"in n)return e.content=[n],e;switch("data"in n?e.content=n.data:Array.isArray(n)||(e.content=[n]),e.widgetId){case l.z.ClassificationSeries:e.content=e.content.filter(function(e){var i;return"tallPoster"in e&&!!(null===(i=e.tallPoster)||void 0===i?void 0:i.id)});break;case l.z.ClassificationPlaylists:e.content=e.content.filter(function(e){var i;return"cover"in e&&!!(null===(i=e.cover)||void 0===i?void 0:i.id)});break;case l.z.ContinueWatching:e.content=e.content.map(function(e){return"object"in e&&e.object});default:break;case l.z.Presentations:e.content=e.content.filter(function(e){var n;return"id"in e&&e.id.toString()!==(null===(n=null==i?void 0:i.id)||void 0===n?void 0:n.toString())})}return e},isWidgetInTableOfContents:function(e){return!!(null==e?void 0:e.showInTableOfContents)},hasNoContent:function(e){return e===l.z.Blurb},canDisplayOnScreenSize:function(e,i,n){return i!==l.z.Blurb||n!==d.f.HeroBannerSmall||!e.xs&&!e.sm},isCompanyWidget:function(e){switch(e){case l.z.CompanyLatestReleasedVideo:case l.z.CompanyVideos:case l.z.UpcomingLivestreams:return!0;default:return!1}},getVideoContent:function(e){var i=o.m.first(e);return v.G.isType(i,m.E.Series)?i.videos.data:e},showRemoveButton:function(e){return e===l.z.ContinueWatching}}},2096:(e,i,n)=>{n.d(i,{Z:()=>t});const t={tagList:"Zw6d9",badgeBase:"irnbf",disabled:"jlL1c",partialTag:"too_N",removeBadge:"_9FVm",removeBadgeText:"nhoAA",close:"X9joI"}}}]);
@@ -1,2 +1,2 @@
1
- /*! For license information please see 136-fd99ef4c9d-exchange.chunk.js.LICENSE.txt */
1
+ /*! For license information please see 136-2395b8205f-exchange.chunk.js.LICENSE.txt */
2
2
  "use strict";(self.webpackChunk_clickview_exchange=self.webpackChunk_clickview_exchange||[]).push([[136],{74237:(e,t,n)=>{n.d(t,{T:()=>l});var o=n(97395),r=n(49985),a=n(65858);function c(){var e,t,n="function"==typeof Symbol?Symbol:{},o=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function a(n,o,r,a){var c=o&&o.prototype instanceof l?o:l,d=Object.create(c.prototype);return i(d,"_invoke",function(n,o,r){var a,c,i,l=0,d=r||[],f=!1,s={p:0,n:0,v:e,a:p,f:p.bind(e,4),d:function(t,n){return a=t,c=0,i=e,s.n=n,u}};function p(n,o){for(c=n,i=o,t=0;!f&&l&&!r&&t<d.length;t++){var r,a=d[t],p=s.p,v=a[2];n>3?(r=v===o)&&(i=a[(c=a[4])?5:(c=3,3)],a[4]=a[5]=e):a[0]<=p&&((r=n<2&&p<a[1])?(c=0,s.v=o,s.n=a[1]):p<v&&(r=n<3||a[0]>o||o>v)&&(a[4]=n,a[5]=o,s.n=v,c=0))}if(r||n>1)return u;throw f=!0,o}return function(r,d,v){if(l>1)throw TypeError("Generator is already running");for(f&&1===d&&p(d,v),c=d,i=v;(t=c<2?e:i)||!f;){a||(c?c<3?(c>1&&(s.n=-1),p(c,i)):s.n=i:s.v=i);try{if(l=2,a){if(c||(r="next"),t=a[r]){if(!(t=t.call(a,i)))throw TypeError("iterator result is not an object");if(!t.done)return t;i=t.value,c<2&&(c=0)}else 1===c&&(t=a.return)&&t.call(a),c<2&&(i=TypeError("The iterator does not provide a '"+r+"' method"),c=1);a=e}else if((t=(f=s.n<0)?i:n.call(o,s))!==u)break}catch(t){a=e,c=1,i=t}finally{l=1}}return{value:t,done:f}}}(n,r,a),!0),d}var u={};function l(){}function d(){}function f(){}t=Object.getPrototypeOf;var s=[][o]?t(t([][o]())):(i(t={},o,function(){return this}),t),p=f.prototype=l.prototype=Object.create(s);function v(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,i(e,r,"GeneratorFunction")),e.prototype=Object.create(p),e}return d.prototype=f,i(p,"constructor",f),i(f,"constructor",d),d.displayName="GeneratorFunction",i(f,r,"GeneratorFunction"),i(p),i(p,r,"Generator"),i(p,o,function(){return this}),i(p,"toString",function(){return"[object Generator]"}),(c=function(){return{w:a,m:v}})()}function i(e,t,n,o){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}i=function(e,t,n,o){if(t)r?r(e,t,{value:n,enumerable:!o,configurable:!o,writable:!o}):e[t]=n;else{var a=function(t,n){i(e,t,function(e){return this._invoke(t,n,e)})};a("next",0),a("throw",1),a("return",2)}},i(e,t,n,o)}var u=null,l={getVideoDownloadUrl:function(e,t){return o._.safeUrlConcat(o._.makeHttps(e),"/download?token=".concat(t))},downloadResource:function(e,t,n,o){var c,i=u;u||(i=u=document.createElement("iframe"),document.body.appendChild(i),i.style.display="none"),i.src=e.url,o||r.k.logUserAction(Object.assign({id:null==e?void 0:e.id,name:null==e?void 0:e.name,resourceType:null===(c=null==e?void 0:e.metadata)||void 0===c?void 0:c.resourceType},t),Object.assign({actionType:a.Vw.Download,entity:a.py.Resource,workflowPhase:a.eu.Complete},n))},downloadBlob:function(e,t){return n=this,o=void 0,r=void 0,a=c().m(function n(){var o,r,a,i,u;return c().w(function(n){for(;;)switch(n.n){case 0:return n.n=1,fetch(e);case 1:if((o=n.v).ok){n.n=2;break}throw new Error("Error downloading file");case 2:return i=URL,n.n=3,o.blob();case 3:u=n.v,r=i.createObjectURL.call(i,u),(a=document.createElement("a")).href=r,a.download=t,document.body.appendChild(a),a.click(),document.body.removeChild(a),window.setTimeout(function(){return URL.revokeObjectURL(r)},100);case 4:return n.a(2)}},n)}),new(r||(r=Promise))(function(e,t){function c(e){try{u(a.next(e))}catch(e){t(e)}}function i(e){try{u(a.throw(e))}catch(e){t(e)}}function u(t){var n;t.done?e(t.value):(n=t.value,n instanceof r?n:new r(function(e){e(n)})).then(c,i)}u((a=a.apply(n,o||[])).next())});var n,o,r,a}}},61136:(e,t,n)=>{n.r(t),n.d(t,{DownloadVideoView:()=>f});var o=n(32735),r=n(20354),a=n(49985),c=n(65858),i=n(39151),u=n(74237),l=n(99940),d={createDownloadToken:function(e){return{url:"/api/downloadproxy/api/tokens",key:"download:token:".concat(e),data:{objectId:e},type:l.k.POST,normalize:!1}}};function f(e){var t=o.useRef(null),n=r.a.useBasicFetch(i.L.config()),l=r.a.useBasicFetch(d.createDownloadToken(e.id)),f=!!n.data&&!!l.data;return o.useEffect(function(){if(f&&t.current){var o=u.T.getVideoDownloadUrl(n.data.downloadProxy,l.data.token);t.current.src=o,a.k.logUserAction({id:e.id},{actionType:c.Vw.Download,location:c.LZ.Popup,entity:c.py.Video,workflowPhase:c.eu.Complete})}},[f,t.current]),o.createElement("iframe",{ref:t})}}}]);