@clickview/library-editor 1.36.0 → 1.36.1-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.
- package/dist/bundles.json +2 -2
- package/dist/css/{1086-library-editor-171329bca2.chunk.css → 1086-library-editor-1b6300c4f7.chunk.css} +1 -1
- package/dist/css/{8906-library-editor-171329bca2.chunk.css → 2692-library-editor-1b6300c4f7.chunk.css} +1 -1
- package/dist/css/514-library-editor-4cb4f22674.chunk.css +1 -0
- package/dist/css/{5424-library-editor-54d47524f3.chunk.css → 5424-library-editor-dd51bf8b8e.chunk.css} +1 -1
- package/dist/css/{6732-library-editor-2f2cb516f7.chunk.css → 6732-library-editor-db7c031b5b.chunk.css} +1 -1
- package/dist/css/{5582-library-editor-c850aea3cd.chunk.css → 6909-library-editor-7d43d475ea.chunk.css} +1 -1
- package/dist/css/{2692-library-editor-171329bca2.chunk.css → 8762-library-editor-1b6300c4f7.chunk.css} +1 -1
- package/dist/css/{8762-library-editor-171329bca2.chunk.css → 8906-library-editor-1b6300c4f7.chunk.css} +1 -1
- package/dist/css/{6505-library-editor-0862b9edab.chunk.css → 9383-library-editor-faaa1e3e83.chunk.css} +1 -1
- package/dist/css/{library-editor-app-ad7039f1c8.css → library-editor-app-b522ca3fcd.css} +1 -1
- package/dist/languages/en.json +1 -1
- package/dist/scripts/1010-2a92a263a3.chunk.js +1 -0
- package/dist/scripts/1086-09259636d8.chunk.js +1 -0
- package/dist/scripts/112-e12297c056.chunk.js +1 -0
- package/dist/scripts/1216-4ca9b12e2d.chunk.js +1 -0
- package/dist/scripts/1269-3d3ad610e9.chunk.js +1 -0
- package/dist/scripts/1409-8d7b677cb8.chunk.js +1 -0
- package/dist/scripts/1492-95e9c7537a.chunk.js +1 -0
- package/dist/scripts/1601-e99fdde245.chunk.js +2 -0
- package/dist/scripts/1703-c0dbaab27c.chunk.js +1 -0
- package/dist/scripts/1832-670c87f424.chunk.js +1 -0
- package/dist/scripts/1876-ca6bb09e77.chunk.js +1 -0
- package/dist/scripts/2417-0ecf739bcd.chunk.js +1 -0
- package/dist/scripts/243-d3d7abe117.chunk.js +1 -0
- package/dist/scripts/2482-87564f7874.chunk.js +1 -0
- package/dist/scripts/259-075889f0e6.chunk.js +1 -0
- package/dist/scripts/2601-88248233bb.chunk.js +1 -0
- package/dist/scripts/2644-72833b9de8.chunk.js +1 -0
- package/dist/scripts/2692-e6d52294ef.chunk.js +1 -0
- package/dist/scripts/2803-403caf73d8.chunk.js +1 -0
- package/dist/scripts/2888-cc4110ed32.chunk.js +1 -0
- package/dist/scripts/299-fd20c7c19b.chunk.js +1 -0
- package/dist/scripts/2998-c652787bf9.chunk.js +1 -0
- package/dist/scripts/3087-a00194efdc.chunk.js +1 -0
- package/dist/scripts/3400-0982c29b3f.chunk.js +1 -0
- package/dist/scripts/343-ad087e2d1c.chunk.js +1 -0
- package/dist/scripts/35-aa593493ed.chunk.js +1 -0
- package/dist/scripts/3551-ef8b9692dd.chunk.js +1 -0
- package/dist/scripts/3639-6f85164408.chunk.js +1 -0
- package/dist/scripts/376-4c215af590.chunk.js +1 -0
- package/dist/scripts/3763-14cb5eba8b.chunk.js +1 -0
- package/dist/scripts/4201-56cff16d9a.chunk.js +1 -0
- package/dist/scripts/4245-4b8ff55ce5.chunk.js +1 -0
- package/dist/scripts/4591-c8e25180d5.chunk.js +1 -0
- package/dist/scripts/4860-4ca1a4e51d.chunk.js +1 -0
- package/dist/scripts/5046-cc98da747f.chunk.js +1 -0
- package/dist/scripts/514-3de0207983.chunk.js +1 -0
- package/dist/scripts/5286-d5088b9145.chunk.js +1 -0
- package/dist/scripts/5412-4fcfecee5c.chunk.js +1 -0
- package/dist/scripts/5418-9524d92ab1.chunk.js +1 -0
- package/dist/scripts/5424-66906b62da.chunk.js +1 -0
- package/dist/scripts/546-0e65b37c79.chunk.js +1 -0
- package/dist/scripts/5524-73dce4a640.chunk.js +1 -0
- package/dist/scripts/5698-d5da13cc5e.chunk.js +1 -0
- package/dist/scripts/5707-b463d21e70.chunk.js +1 -0
- package/dist/scripts/5747-bfbe98e0f3.chunk.js +1 -0
- package/dist/scripts/6093-9a90c064ec.chunk.js +1 -0
- package/dist/scripts/61-1307b131d1.chunk.js +2 -0
- package/dist/scripts/6352-2cbc465b4e.chunk.js +1 -0
- package/dist/scripts/6732-a98b58145b.chunk.js +1 -0
- package/dist/scripts/6774-837012ac23.chunk.js +1 -0
- package/dist/scripts/6788-62a321db6d.chunk.js +1 -0
- package/dist/scripts/6909-20240f4be9.chunk.js +2 -0
- package/dist/scripts/7002-2c4e673fa4.chunk.js +1 -0
- package/dist/scripts/7053-4bb976f78c.chunk.js +1 -0
- package/dist/scripts/7071-0a40ab40af.chunk.js +1 -0
- package/dist/scripts/708-30b695437c.chunk.js +1 -0
- package/dist/scripts/7190-892b865b01.chunk.js +1 -0
- package/dist/scripts/7376-a589320e1c.chunk.js +1 -0
- package/dist/scripts/7408-32aecd60b3.chunk.js +1 -0
- package/dist/scripts/8113-f16b2f9e26.chunk.js +1 -0
- package/dist/scripts/8213-8af5c4d45b.chunk.js +1 -0
- package/dist/scripts/8362-584b78235f.chunk.js +1 -0
- package/dist/scripts/8542-12aeadfe39.chunk.js +1 -0
- package/dist/scripts/8726-619f5876a1.chunk.js +1 -0
- package/dist/scripts/8727-cd7adf615a.chunk.js +1 -0
- package/dist/scripts/8762-48a61b5d7f.chunk.js +1 -0
- package/dist/scripts/8906-f0ffc1a58c.chunk.js +1 -0
- package/dist/scripts/9219-364398ccd3.chunk.js +1 -0
- package/dist/scripts/9309-c031e0377b.chunk.js +1 -0
- package/dist/scripts/9357-15f9f50960.chunk.js +1 -0
- package/dist/scripts/9383-f831aced05.chunk.js +1 -0
- package/dist/scripts/9695-a0ea892377.chunk.js +1 -0
- package/dist/scripts/9927-e154a1838c.chunk.js +1 -0
- package/dist/scripts/bundle-ff04cc0943.min.js +2 -0
- package/package.json +1 -1
- package/dist/css/514-library-editor-d534ea06b5.chunk.css +0 -1
- package/dist/scripts/1010-4d193dac9e.chunk.js +0 -1
- package/dist/scripts/1086-aad27f7c95.chunk.js +0 -1
- package/dist/scripts/112-87fb888ad1.chunk.js +0 -1
- package/dist/scripts/1216-1770d561b9.chunk.js +0 -1
- package/dist/scripts/1269-f10222a29e.chunk.js +0 -1
- package/dist/scripts/1409-ac31418286.chunk.js +0 -1
- package/dist/scripts/1492-58e6c2cfda.chunk.js +0 -1
- package/dist/scripts/1601-b0af727472.chunk.js +0 -2
- package/dist/scripts/1703-ffaf83218d.chunk.js +0 -1
- package/dist/scripts/1832-714a73ab92.chunk.js +0 -1
- package/dist/scripts/1876-dbf77c66df.chunk.js +0 -1
- package/dist/scripts/2254-799d6c5eee.chunk.js +0 -1
- package/dist/scripts/2417-96e0949602.chunk.js +0 -1
- package/dist/scripts/243-918a686085.chunk.js +0 -1
- package/dist/scripts/2482-671052e75b.chunk.js +0 -1
- package/dist/scripts/259-ec48acb47c.chunk.js +0 -1
- package/dist/scripts/2601-7783feb529.chunk.js +0 -1
- package/dist/scripts/2644-999d466e90.chunk.js +0 -1
- package/dist/scripts/2692-4703edbf92.chunk.js +0 -1
- package/dist/scripts/2803-536f4de2e5.chunk.js +0 -1
- package/dist/scripts/2842-27f6310c64.chunk.js +0 -1
- package/dist/scripts/2888-82154ef78f.chunk.js +0 -1
- package/dist/scripts/299-b7dbf0ebbf.chunk.js +0 -1
- package/dist/scripts/2998-f85af341b9.chunk.js +0 -1
- package/dist/scripts/3400-a38cfe2a5d.chunk.js +0 -1
- package/dist/scripts/343-2bb74aab84.chunk.js +0 -1
- package/dist/scripts/35-e2ba312901.chunk.js +0 -1
- package/dist/scripts/3551-f798a3120d.chunk.js +0 -1
- package/dist/scripts/3639-33630e86bc.chunk.js +0 -1
- package/dist/scripts/376-4824e2507c.chunk.js +0 -1
- package/dist/scripts/3763-1b221d69b3.chunk.js +0 -1
- package/dist/scripts/4201-d2cd82d164.chunk.js +0 -1
- package/dist/scripts/4245-9f4579221d.chunk.js +0 -1
- package/dist/scripts/4591-f4bbb00b24.chunk.js +0 -1
- package/dist/scripts/4860-b4b567b013.chunk.js +0 -1
- package/dist/scripts/5046-67e1a09620.chunk.js +0 -1
- package/dist/scripts/514-899d11ac93.chunk.js +0 -1
- package/dist/scripts/5286-24bd355a31.chunk.js +0 -1
- package/dist/scripts/5412-1bb7fe0d88.chunk.js +0 -1
- package/dist/scripts/5418-8f4b817a2a.chunk.js +0 -1
- package/dist/scripts/5424-c54610a1f0.chunk.js +0 -1
- package/dist/scripts/546-08908e5aea.chunk.js +0 -1
- package/dist/scripts/5524-b4a0c38b11.chunk.js +0 -1
- package/dist/scripts/5582-2ee445770c.chunk.js +0 -2
- package/dist/scripts/5698-15d5eceb56.chunk.js +0 -1
- package/dist/scripts/5707-64c933b19e.chunk.js +0 -1
- package/dist/scripts/5747-7d4c5072db.chunk.js +0 -1
- package/dist/scripts/6093-a270c23508.chunk.js +0 -1
- package/dist/scripts/61-4c10cb4bf1.chunk.js +0 -2
- package/dist/scripts/6352-abcf2f36d3.chunk.js +0 -1
- package/dist/scripts/6357-38195d7d56.chunk.js +0 -1
- package/dist/scripts/6505-97a161c568.chunk.js +0 -1
- package/dist/scripts/6732-a50459c84d.chunk.js +0 -1
- package/dist/scripts/6774-d9478103b4.chunk.js +0 -1
- package/dist/scripts/6788-587666f144.chunk.js +0 -1
- package/dist/scripts/7002-913b8786d0.chunk.js +0 -1
- package/dist/scripts/7053-27fd687560.chunk.js +0 -1
- package/dist/scripts/7071-421b07bea8.chunk.js +0 -1
- package/dist/scripts/708-83d4f20c11.chunk.js +0 -1
- package/dist/scripts/7190-0ca846cc20.chunk.js +0 -1
- package/dist/scripts/7376-30a7796bd8.chunk.js +0 -1
- package/dist/scripts/8113-a5da448af4.chunk.js +0 -1
- package/dist/scripts/8213-76e961afd7.chunk.js +0 -1
- package/dist/scripts/8362-ee0581a213.chunk.js +0 -1
- package/dist/scripts/8542-03571f78c0.chunk.js +0 -1
- package/dist/scripts/8726-9cf2439dab.chunk.js +0 -1
- package/dist/scripts/8727-2db647e01c.chunk.js +0 -1
- package/dist/scripts/8762-b961ffc598.chunk.js +0 -1
- package/dist/scripts/8906-b3e2cf9511.chunk.js +0 -1
- package/dist/scripts/9219-b18cb10733.chunk.js +0 -1
- package/dist/scripts/9309-7a99312d12.chunk.js +0 -1
- package/dist/scripts/9357-730d572872.chunk.js +0 -1
- package/dist/scripts/9695-8485f54457.chunk.js +0 -1
- package/dist/scripts/9927-a5554b6c8f.chunk.js +0 -1
- package/dist/scripts/bundle-674a6be0bf.min.js +0 -2
- /package/dist/css/{2842-library-editor-32398cd1ad.chunk.css → 3087-library-editor-32398cd1ad.chunk.css} +0 -0
- /package/dist/css/{2254-library-editor-58e2f5e100.chunk.css → 7408-library-editor-58e2f5e100.chunk.css} +0 -0
- /package/dist/scripts/{101-6b75d8dabe.chunk.js → 101-4c60c0a1d9.chunk.js} +0 -0
- /package/dist/scripts/{1601-b0af727472.chunk.js.LICENSE.txt → 1601-e99fdde245.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{3746-44c2f70e92.chunk.js → 3746-c000b59b9b.chunk.js} +0 -0
- /package/dist/scripts/{3969-68e167f1d6.chunk.js → 3969-99be8f1ef1.chunk.js} +0 -0
- /package/dist/scripts/{4523-069eee9ca7.chunk.js → 4523-88443dc698.chunk.js} +0 -0
- /package/dist/scripts/{5891-d09d299d05.chunk.js → 5891-b7c7024645.chunk.js} +0 -0
- /package/dist/scripts/{5582-2ee445770c.chunk.js.LICENSE.txt → 61-1307b131d1.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{61-4c10cb4bf1.chunk.js.LICENSE.txt → 6909-20240f4be9.chunk.js.LICENSE.txt} +0 -0
- /package/dist/scripts/{6963-cd1f607329.chunk.js → 6963-54f96adfbb.chunk.js} +0 -0
- /package/dist/scripts/{bundle-674a6be0bf.min.js.LICENSE.txt → bundle-ff04cc0943.min.js.LICENSE.txt} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5698],{54096:function(e,t,n){n.d(t,{G:function(){return a}});var r=n(1024),i=n(21679);function a(e){var t,n;return t=e,n=i.u.getInstance(t),r.useEffect((function(){return function(){i.u.releaseInstance(t)}})),n}},38182:function(e,t,n){n.d(t,{q:function(){return s}});var r=n(1024),i=n.n(r),a=n(68003),o=n(88483),c=n(87013),u={avatar:"Gvwzj",dot:"JJHBJ"};function s(e){var t,n,r=e.imageUrl||(t=e.imageCdnUrl,(n=e.initials)?c.j.createUrl(a._.safeUrlConcat(t,"/v1/profile-images?initials=".concat(n)),{size:o.h2.Small}):"");return i().createElement("div",{className:"position-relative h-100 w-100"},i().createElement("div",{className:"".concat(u.avatar," ").concat((null==e?void 0:e.extraClasses)||""),style:{backgroundImage:"url('".concat(r,"')")}}," "),e.showDot&&i().createElement("div",{className:"".concat(u.dot," rounded-circle bg-danger")}))}},45458:function(e,t,n){n.d(t,{C:function(){return f},g:function(){return r}});var r,i=n(1024),a=n(57857),o=n(39396),c=n(63946),u=n(50028),s=n(27866),d=n(45428),l=n(63791),v=n(21974),p=a.T.encloseNamespace("shared.badges");function f(e){var t=e.type,n=e.data;if(!function(e,t){var n,i,a;return"boolean"==typeof t?!!t:e===r.Rating?t&&!!t.value:e===r.Resources?!!(null==t?void 0:t.length)||!!(null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.length):e===r.Interactive?!!(null==t?void 0:t.length)||!!(null===(i=null==t?void 0:t.data)||void 0===i?void 0:i.length):e===r.Captions?!!(null==t?void 0:t.length)||!!(null===(a=null==t?void 0:t.data)||void 0===a?void 0:a.length):e===r.Status?"number"==typeof t:!!t}(t,n))return i.createElement(i.Fragment,null);var a=function(e,t){var n="";if(e===r.DurationApproximate&&(n="duration-badge-new px-2 rounded-pill text-nowrap d-flex align-items-center"),e===r.DurationExact&&(n="duration-badge"),e===r.Interactive&&(n="interactive-badge"),e===r.Rating&&(n="rating-badge ".concat(v.u.mapRatingToClass(t.value))),e===r.ProductionYear&&(n="production-year-badge"),e===r.Resources&&(n="resources-badge"),e===r.Captions)return"p-0";if(e===r.Status)return"badge ".concat(function(e){switch(e){case u.X.Published:return"bg-success";case u.X.Archived:case u.X.Rejected:return"bg-danger";case u.X.Draft:return"draft-badge px-2 rounded-pill text-nowrap d-flex align-items-center";case u.X.Pending:case u.X.Processing:return"bg-warning"}}(t));if(e===r.Trending)return"trending-badge px-2 d-flex align-items-center";if(e===r.Count&&(n="count-badge px-1 rounded"),e===r.Restriction){var i=d.l.mapRestrictionToClass(t.restrictions);return"restriction-badge rounded-pill px-2 d-flex align-items-center ".concat(i)}return"".concat("badge"," ").concat(n)}(t,n);a="".concat(a," ").concat(e.inline?"d-inline-block":"d-flex justify-content-center"," ").concat(e.className||"");var f=function(e,t){return e===r.Interactive?p("interactive"):e===r.DurationApproximate?s.T.ToDisplayDurationNewStyle(t):e===r.DurationExact?s.T.ToDisplayDuration(t):e===r.Rating?t.code:e===r.ProductionYear?t:e===r.Resources?p("resources"):e===r.Captions?i.createElement(o.x,{svgName:l.vn.CloseCaptionBadge}):e===r.Status?u.X[t]:e===r.Trending?i.createElement(i.Fragment,null,i.createElement(o.x,{svgName:l.vn.Trending}),i.createElement("span",{className:"ps-1"},t)):e===r.Count?t:e===r.Restriction?i.createElement(i.Fragment,null,i.createElement(o.x,{svgName:d.l.mapRestrictionToSvg(t.restrictions)}),i.createElement("span",null,d.l.mapRestrictionToText(t.restrictions,t.yearGroups))):void 0}(t,n),m=function(e,t){return e===r.Rating?{title:t.name,placement:"top"}:null}(t,n),g=e.inline&&"d-inline-block";return m?i.createElement("div",{className:"badge-wrapper d-inline"},i.createElement(c.u,Object.assign({},m,{spanHack:!0,spanHackClassName:g}),i.createElement("span",{className:a},f))):i.createElement("span",{className:"".concat(a," badge-wrapper")},f)}!function(e){e.DurationExact="duration-exact",e.DurationApproximate="duration-approximate",e.Interactive="interactive",e.Rating="rating",e.ProductionYear="production-year",e.Resources="resources",e.Captions="captions",e.Status="status",e.Trending="trending",e.Count="count",e.Restriction="restriction"}(r||(r={}))},44550:function(e,t,n){n.d(t,{c:function(){return a}});var r=n(1024),i=n(7121);function a(e){var t="d-flex align-items-center badge-list ".concat(i.Z.minHeight);return e.className&&(t+=" ".concat(e.className)),r.createElement("div",{className:t},e.children)}},90547:function(e,t,n){var r;n.d(t,{r:function(){return r}}),function(e){e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)",e.LGDown="(max-width: 992px)",e.XLDown="(max-width: 1200px)"}(r||(r={}))},34254:function(e,t,n){var r;n.d(t,{r:function(){return r}}),function(e){e[e.FilterOut=0]="FilterOut",e[e.StripMetadata=1]="StripMetadata"}(r||(r={}))},86257:function(e,t,n){var r;n.d(t,{L:function(){return r}}),function(e){e.Pdf="pdf",e.Image="image",e.PowerPoint="powerpoint",e.Document="document",e.Excel="excel",e.Zip="archive",e.File="text"}(r||(r={}))},87648:function(e,t,n){var r;n.d(t,{c:function(){return r}}),function(e){e.Custom="custom",e.User="year_group"}(r||(r={}))},89603:function(e,t,n){var r,i;n.d(t,{Q:function(){return r}}),function(e){e.Normal="normal",e.Pedagogy="pedagogy",e.Hidden="hidden",e.Skill="skill",e.Curation="curation"}(r||(r={})),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"}(i||(i={}))},90335:function(e,t,n){var r;n.d(t,{D:function(){return r}}),function(e){e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series"}(r||(r={}))},332:function(e,t,n){n.d(t,{e:function(){return c}});var r=n(2248),i=n(68003),a=n(84657),o=n(34254),c={clip:function(e,t){return{key:"clip:".concat(e,":").concat(t),url:i._.urlBuilder("{gateway}/v1/objects/".concat(e),{query:a.v.CLIP,permissionFilterOption:t})}},clipWithAllInteractives:function(e,t){return{key:"clip:".concat(e,":").concat(t,":interactives"),url:i._.urlBuilder("{gateway}/v1/objects/".concat(e),{query:"".concat(a.v.CLIP,",interactives{status:[0,1]}"),permissionFilterOption:t}),normalize:!1}},publicClip:function(e,t,n,r){return{key:"clip:".concat(e,":public:").concat(t),url:i._.urlBuilder("/api/objects/".concat(e),{query:"_parentVideo,_canBeConsumed,_thumbnail",permissionFilterOption:o.r.StripMetadata,shareId:t}),bootstrapName:"shared:object:".concat(e),success:n,error:r}},sharedClip:function(e,t,n,r){return{key:"shared:clip:".concat(e),url:i._.urlBuilder("/api/objects/".concat(e),{shareId:t,query:a.v.CLIP}),success:n,error:r}},createClip:function(e,t,n,i,a){return{key:"create:clip",url:"{gateway}/v1/objects/".concat(e,"/clips"),data:t,type:r.k.POST,invalidationKeys:["videos:".concat(e),"my:videos"],success:n,error:i,always:a}},updateClip:function(e,t,n,i,a){return{key:"update:clip",url:"{gateway}/v1/objects/".concat(e),data:t,type:r.k.PUT,success:n,error:i,always:a}},deleteClip:function(e,t,n,i,a){return{key:"delete:clip",url:"{gateway}/v1/objects/".concat(e),type:r.k.DELETE,invalidationKeys:["videos:".concat(t),"my:videos","videos"],success:n,error:i,always:a}}}},91432:function(e,t,n){n.d(t,{b:function(){return c}});var r=n(2248),i=n(68003),a=n(84657),o=n(34254),c={interactiveMetadata:function(e,t){return{url:i._.urlBuilder("{gateway}/v1/objects/".concat(e),{query:a.v.INTERACTIVE,permissionFilterOption:t}),key:"interactive:metadata:".concat(e,":").concat(t)}},sharedInteractiveMetadata:function(e,t,n,r){return{url:i._.urlBuilder("/api/objects/".concat(e),{shareId:t,query:a.v.INTERACTIVE}),key:"shared:interactive:metadata:".concat(e),success:n,error:r}},publicInteractiveMetadata:function(e,t,n,r){return{url:i._.urlBuilder("/api/objects/".concat(e),{query:"_parentVideo[rating],_canBeConsumed,_thumbnail",permissionFilterOption:o.r.StripMetadata,shareId:t}),key:"interactive:metadata:".concat(e,":public:").concat(t),bootstrapName:"shared:object:".concat(e),success:n,error:r}},interactive:function(e){return{url:"/api/domain/v1/interactives/".concat(e),key:"interactive:".concat(e)}},createInteractive:function(e,t,n){return{url:"/api/domain/v1/interactives",key:"create:interactive",type:r.k.POST,invalidationKeys:["my:videos"],data:e,success:t,error:n}},createInteractiveMetadata:function(e,t,n,i){return{url:"{gateway}/v1/objects/".concat(e,"/interactives"),key:"create:interactive:metadata",type:r.k.POST,data:t,success:n,error:i}},updateInteractive:function(e,t,n,i){return{url:"/api/domain/v1/interactives/".concat(e),key:"update:interactive",type:r.k.PUT,data:t,success:n,error:i,formatData:function(){return t}}},updateInteractiveMetadata:function(e,t,n,i){return{url:"{gateway}/v1/objects/".concat(e),key:"update:interactive:metadata",type:r.k.PUT,data:t,success:n,error:i}},interactiveResultSet:function(e,t){return{url:"/api/domain/v1/analytics/interactives/".concat(e,"/metadata/").concat(t),key:"interactive:result:set:".concat(e,":").concat(t)}},copyInteractive:function(e,t,n){return{url:"/api/domain/v1/interactives/".concat(e,"/copy"),key:"copy:interactive",type:r.k.POST,invalidationKeys:["interactive:".concat(e),"my:videos"],success:t,error:n}},deleteInteractiveMetadata:function(e,t,n){return{url:"{gateway}/v1/objects/".concat(e),key:"delete:interactive",type:r.k.DELETE,invalidationKeys:["interactive:".concat(e),"my:videos","videos"],success:t,error:n}}}},77131:function(e,t,n){n.d(t,{R:function(){return m}});var r,i=n(2248),a=n(68003),o=n(84657),c=n(50028),u=n(74421),s=n(34254);!function(e){e.Series="series",e.Playlist="playlist",e.Widget="widget"}(r||(r={}));var d=n(15970),l=function(e,t){return a._.urlBuilder("/api/objects/".concat(e),{shareId:t,query:o.v.VIDEO})},v=function(e,t){return a._.urlBuilder("/api/objects/".concat(e),{query:"thumbnail,_canBeConsumed,series,season,rating",permissionFilterOption:s.r.StripMetadata,shareId:t})},p=function(e){return a._.urlBuilder("{gateway}/v1/objects",{"query.video":o.v.VIDEO_COLLECTION,"query.clip":o.v.CLIP_COLLECTION,"query.interactive":o.v.INTERACTIVE,id:e})},f=function(e){var t=e.videoId,n=e.context,i=e.collectionId,c=e.moviesAndTv,u={videoId:t,limit:25,query:o.v.VIDEO_COLLECTION};return n&&(n===r.Widget?u["context.widgetId"]=i:(u["context.collectionType"]=n,u["context.collectionId"]=i)),c&&(u["context.moviesAndTv"]=!0),a._.urlBuilder("{gateway}/v1/suggestions/related-videos",u)},m={video:function(e,t){return{url:a._.urlBuilder("{gateway}/v1/objects/".concat(e),{query:o.v.VIDEO,permissionFilterOption:t}),publicUrl:a._.urlBuilder("/api/objects/".concat(e),{query:o.t.VIDEO,permissionFilterOption:t}),key:"videos:".concat(e,":").concat(t),formatData:function(e){var t,n;return(null===(t=e.interactives)||void 0===t?void 0:t.data)&&(e.interactives.data=e.interactives.data.map((function(t){return Object.assign(Object.assign({},t),{_parentVideo:{id:e.id}})}))),(null===(n=e.clips)||void 0===n?void 0:n.data)&&(e.clips.data=e.clips.data.map((function(t){return Object.assign(Object.assign({},t),{_parentVideo:{id:e.id}})}))),e}}},publicVideo:function(e,t,n,r){return{url:v(e,t),key:"videos:".concat(e,":public:").concat(t),bootstrapName:"shared:object:".concat(e),success:n,error:r}},sharedVideo:function(e,t,n,r){return{url:l(e,t),key:"shared:video:".concat(e),formatData:function(e){var t,n;return(null===(t=e.interactives)||void 0===t?void 0:t.data)&&(e.interactives.data=e.interactives.data.map((function(t){return Object.assign(Object.assign({},t),{_parentVideo:{id:e.id}})}))),(null===(n=e.clips)||void 0===n?void 0:n.data)&&(e.clips.data=e.clips.data.map((function(t){return Object.assign(Object.assign({},t),{_parentVideo:{id:e.id}})}))),e},success:n,error:r}},myVideos:function(e,t){var n=o.v.VIDEO_COLLECTION,r=o.v.CLIP_COLLECTION,i=o.v.INTERACTIVE,d="videos[".concat(n,"]{libraries.typeid:").concat(u.E.WorkspaceCollection,"}"),l="clips[".concat(r,"]"),v="interactives[".concat(i,"]{status:[").concat(c.X.Published,",").concat(c.X.Draft,"]}"),p={query:"(".concat(d,"|").concat(l,"|").concat(v,"){orderbydesc:id}"),permissionFilterOption:s.r.StripMetadata};return t&&(p.cursor=t),{url:a._.urlBuilder("{gateway}/v1/objects/".concat(e,"/members"),p),key:"my:videos:".concat(t)}},videos:function(e,t){return{url:p(e),key:"videos:by:id:".concat(e.join(",")),success:t}},watchHistoryVideos:function(e,t){return{url:p(e),key:"watch:history:videos:by:id:".concat(e.join(",")),success:t}},updateVideo:function(e,t,n,r,a){return{key:"update:video:".concat(e),url:"{gateway}/v1/objects/".concat(e),type:i.k.PUT,data:t,success:n,error:r,always:a}},videoRatings:function(e,t){var n=e.map((function(e){return"id=".concat(e)}));if(n.length)return{url:"/api/domain/v2/objects?query=rating&".concat(n.join("&")),key:"video:ratings:by:id:".concat(e.join(",")),normalizeOptions:{namespace:t}}},getRestrictions:function(e){var t=e.slice().sort();return{url:"/api/domain/v1/restrictedobjects"+"?objectTypeId=".concat(u.E.Video).concat(t.map((function(e){return"&objectId=".concat(e)})).join("")),key:"restrictions:".concat(t.join(",")),normalizeOptions:{namespace:"domain",idAttribute:"objectId"}}},delete:function(e,t,n){return{url:"{gateway}/v1/objects/".concat(e),key:"delete:video:".concat(e),type:i.k.DELETE,success:t,error:n,invalidationKeys:["videos"]}},deleteBulk:function(e,t,n,r,a){var o=e.map((function(e){return"videoIds=".concat(e)})).join("&"),c=["categoryId=".concat(n),"".concat(o)].join("&");return{url:"/api/domain/v1/libraries/".concat(t,"/videos?").concat(c),key:"delete:bulk:video:".concat(e.join(":"),":").concat(t,":").concat(n),type:i.k.DELETE,success:r,error:a,invalidationKeys:["videos"]}},relatedVideos:function(e){var t=e.videoId,n=e.context,r=e.collectionId,i=e.moviesAndTv;return{url:f(e),key:"related:videos:".concat(t,":").concat(n,":").concat(r,":").concat(i)}},collectionVideos:function(e,t,n,r,i,u){var l=d.d.getVideoSortParam(t),v=o.v.VIDEO_COLLECTION,p=o.v.CLIP_COLLECTION,f=o.v.INTERACTIVE,m="videos[".concat(v,"]"),g="clips[".concat(p,"]"),y="interactives[".concat(f,"]{status:[").concat(c.X.Published,",").concat(c.X.Draft,"]}"),b=Object.assign({query:"(".concat(m,"|").concat(g,"|").concat(y,")").concat(l?"{".concat(l,"}"):""),permissionFilterOption:s.r.FilterOut},n?{cursor:n}:{}),h=["folder","videos",e,n,t].filter((function(e){return!!e})).join(":");return{url:a._.urlBuilder("{gateway}/v1/objects/".concat(e,"/members"),b),key:h,success:r,error:i,always:u}},pointsOfInterest:function(e,t,n,r,i){var o={query:"{limit:100}",cursor:t};return{url:a._.urlBuilder("{gateway}/v1/objects/".concat(e,"/pointsofinterest"),o),publicUrl:a._.urlBuilder("/api/objects/".concat(e,"/pointsofinterest"),o),key:"pointsofinterest:".concat(e).concat(t?":".concat(t):""),success:n,error:r,always:i}},regionAlternatives:function(e,t,n,r){return{url:"/api/objects/videos/".concat(e,"/region-alternatives"),publicUrl:"/api/objects/videos/".concat(e,"/region-alternatives"),key:"video:regionAlternatives:".concat(e),normalize:!1,success:t,error:n,always:r}}}},2491:function(e,t,n){n.d(t,{Z:function(){return o}});var r=n(92159),i=n(21186),a=n(54096);function o(){var e=(0,a.G)(r.P.ALERT);return{success:function(t){e.success(t)()},error:function(t){e.error(t)()},warning:function(t){e.createAlert({type:i.NK.Warning,heading:i.R6.Warning,message:t})}}}},45428:function(e,t,n){n.d(t,{l:function(){return m}});var r=n(57857),i=n(56285),a=n(7121),o=n(87648),c=n(63791);function u(e){return u="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},u(e)}function s(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=r.T.encloseNamespace("shared.shared-utils"),l=s(s({},o.c.Custom,a.Z.restrictionBadgeCustom),o.c.User,a.Z.restrictionBadgeUser),v=s(s({},o.c.Custom,c.vn.Timer),o.c.User,c.vn.Lock),p=s(s({},o.c.Custom,"restrictionCustom"),o.c.User,"restrictionYearGroup"),f=s(s({},o.c.Custom,200),o.c.User,100),m={mapRestrictionToClass:function(e){var t;if(!(null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.length))return"";var n=m.getWeightedRestriction(e.value);return l[n.type]},mapRestrictionToSvg:function(e){var t;if(!(null===(t=null==e?void 0:e.value)||void 0===t?void 0:t.length))return c.vn.Lock;var n=m.getWeightedRestriction(e.value);return v[n.type]},mapRestrictionToText:function(e,t){var n;if(!(null===(n=null==e?void 0:e.value)||void 0===n?void 0:n.length)||!(null==t?void 0:t.length))return"";var r=m.getWeightedRestriction(e.value),i=t.find((function(e){return e.value===r.yearGroup})),a=p[r.type];if(r.type===o.c.User)return null===r.yearGroup?d("restrictionStaff"):i?d(a,{yearGroup:i.name}):"";if(r.type===o.c.Custom){var c=m.getRestrictionDuration(r);return c?d(a,{duration:c,smartCount:c}):d("restrictionCustomLessThanDay",{duration:c,smartCount:1})}return""},getWeightedRestriction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"highest";if(e.length)return 1===e.length?e[0]:e.reduce((function(e,n){var r=f[e.type],i=f[n.type];return"highest"===t&&r>i||"lowest"===t&&r<i?e:n}))},getRestrictionByType:function(e,t){if(!m.hasRestrictions(e))return null;var n=Array.isArray(t)?t:[t],r=e._restrictions.value.filter((function(e){return n.includes(e.type)}));return m.getWeightedRestriction(r)},getRestrictionDuration:function(e){if(e.type===o.c.Custom&&e.expiresOn){var t=i.O.convertUTCToLocal(e.expiresOn);if(t)return i.O.diffBetween(t,new Date,"day")}},hasCustomRestriction:function(e){return!!m.getRestrictionByType(e,[o.c.Custom])},hasRestrictions:function(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e._restrictions)||void 0===t?void 0:t.value)||void 0===n?void 0:n.length)}}},21974:function(e,t,n){n.d(t,{u:function(){return d}});var r=n(57857),i=n(75459),a=n(86257),o=n(63791);function c(e){return c="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},c(e)}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==c(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===c(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s="shared.shared-utils",d={mapRatingToClass:function(e){return e?function(e){switch(!0){case e<32:return"bg-purple";case e<48:return"bg-green";case e<80:return"bg-info";case e<96:return"bg-red";case e<128:return"bg-pink";case e>=128:return"bg-yellow";default:return""}}(e):""},mapSourceToDisplayName:function(e,t){switch(e.type){case i.r.HostedLibrary:case i.r.CustomLibrary:return e.name;case i.r.Exchange:return r.T.getPhrase(s,"exchange");case i.r.Workspace:return r.T.getPhrase(s,t?"myVideos":"workspace");default:return""}},mapSourceToClass:function(e){switch(e){case i.r.HostedLibrary:case i.r.CustomLibrary:return"bg-info";case i.r.Exchange:return"bg-green";case i.r.Workspace:default:return"bg-red"}},isInteractive:function(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e.interactives)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length)},mapTypeToSvg:function(e){var t=u(u(u(u(u(u(u({},a.L.Pdf,o.vn.FilePDF),a.L.Image,o.vn.FileImg),a.L.PowerPoint,o.vn.FilePowerpoint),a.L.Document,o.vn.FileWord),a.L.Excel,o.vn.FileExcel),a.L.Zip,o.vn.FileZip),a.L.File,o.vn.File)[e];return t||(t=o.vn.Folder),t},mapTypeToClass:function(e){switch(e){case a.L.Pdf:return"icon-red";case a.L.Image:return"icon-purple";case a.L.Document:return"icon-blue";case a.L.Excel:return"icon-green";case a.L.PowerPoint:return"icon-orange";case a.L.Zip:return"icon-teal";case a.L.File:return"icon-gray";default:return""}},mapTypeToExtension:function(e){return e?{pdf:"pdf",image:"png",powerpoint:"pptx"}[e.toLowerCase()]:""},mapTypeToName:function(e){if(!e)return"";switch(e){case a.L.Pdf:return r.T.getPhrase(s,"pdf");case a.L.Image:return r.T.getPhrase(s,"image");case a.L.Document:return r.T.getPhrase(s,"document");case a.L.Excel:return r.T.getPhrase(s,"spreadsheet");case a.L.PowerPoint:return r.T.getPhrase(s,"presentation");case a.L.Zip:return r.T.getPhrase(s,"zipArchive");case a.L.File:return r.T.getPhrase(s,"file");default:return""}}}},12927:function(e,t,n){n.d(t,{M:function(){return h}});var r,i=n(11306),a=n(57857),o=n(31647),c=n(56285),u=n(70065);!function(e){e.Screenrights="screenrights",e.Era="era",e.ClickView="clickview"}(r||(r={}));var s=n(50028),d=n(74421),l=n(87648),v=n(89603),p=n(332),f=n(91432),m=n(77131),g=n(45428),y=n(75459),b=a.T.encloseNamespace("shared.shared-utils"),h={isVideo:function(e){return(null==e?void 0:e.typeId)===d.E.Video},isClip:function(e){return(null==e?void 0:e.typeId)===d.E.Clip},isInteractive:function(e){return(null==e?void 0:e.typeId)===d.E.Interactive},isVideoType:function(e){return h.isVideo(e)||h.isInteractive(e)||h.isClip(e)},hasSeries:function(e){var t;return!!(null===(t=null==e?void 0:e.series)||void 0===t?void 0:t.id)},getVideoProgress:function(e){var t,n;return(null==e?void 0:e.lastProgressPoint)?null==e?void 0:e.lastProgressPoint:(null===(t=null==e?void 0:e._videoProgress)||void 0===t?void 0:t.progress)?null===(n=null==e?void 0:e._videoProgress)||void 0===n?void 0:n.progress:0},getThumbnail:function(e){var t,n;return e?h.isVideo(e)?e.thumbnail:(null==e?void 0:e._thumbnail)?e._thumbnail:h.isClip(e)?e.thumbnail||(null===(t=e._parentVideo)||void 0===t?void 0:t.thumbnail):h.isInteractive(e)?null===(n=e._parentVideo)||void 0===n?void 0:n.thumbnail:void 0:null},getDuration:function(e){var t,n;if(e){if(h.isVideo(e))return e.duration;if(h.isInteractive(e)){if(null===(t=e._parentClip)||void 0===t?void 0:t.id)return 1e3*(e._parentClip.endTime-e._parentClip.startTime);if(null===(n=e._parentVideo)||void 0===n?void 0:n.duration)return e._parentVideo.duration}return h.isClip(e)?1e3*(e.endTime-e.startTime):void 0}},getAnalyticsEntity:function(e){return h.isVideo(e)?u.py.Video:h.isInteractive(e)?u.py.Interactive:h.isClip(e)?u.py.Clip:void 0},getCanBeConsumed:function(e){var t,n;return e&&h.isVideoType(e)?e._canBeConsumed?{canNavigate:"login-required"===(null===(t=e._canBeConsumed)||void 0===t?void 0:t.reason)&&h.isVideo(e)||!0===e._canBeConsumed.value,canConsume:e._canBeConsumed.value,reason:null===(n=e._canBeConsumed)||void 0===n?void 0:n.reason}:{canNavigate:!0,canConsume:!0}:{canNavigate:!1,canConsume:!1}},getPrivacyReasoning:function(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=h.getCanBeConsumed(e),i=r.canConsume,a=r.canNavigate,o=r.reason,c=function(){return h.isClip(e)?b("clipLoginRequired"):h.isInteractive(e)?b("interactiveLoginRequired"):b("videoLoginRequired")};if(!i&&!a){if(n)return c();switch(o){case"rating-not-allowed":return b("ratingNotAllowed");case"video-deleted":return h.isClip(e)?b("clipParentDeleted"):h.isInteractive(e)?b("interactiveParentDeleted"):b("videoDeleted");case"clickview-private":return b("clickViewPrivate");case"private":default:return b("genericCannotAccess");case"login-required":return c();case"restricted-access":var u=g.l.getWeightedRestriction(null===(t=e._restrictions)||void 0===t?void 0:t.value);return(null==u?void 0:u.type)===l.c.Custom?b("awaitingApproval"):b("restrictedAccess")}}return h.isInteractive(e)&&e.status===s.X.Draft?b("draftInteractive"):""},getTitle:function(e){if(e.name)return e.name;var t=h.getCanBeConsumed(e),n=t.canConsume,r=t.reason;return b(n||"private"!==r?n||"video-deleted"!==r?"privateVideo":"videoUnavailable":"privateVideo")},getParentVideo:function(e){return h.isVideo(e)?e:h.isClip(e)||h.isInteractive(e)?e._parentVideo:void 0},showWhyThisVideo:function(e){var t,n;return!!h.isVideo(e)&&!!(null===(n=null===(t=e.tags)||void 0===t?void 0:t.data)||void 0===n?void 0:n.some((function(e){return e.tagType===v.Q.Pedagogy||e.tagType===v.Q.Skill})))},showWhatsIncluded:function(e){var t,n,r,i,a,o;if(!h.isVideo(e))return!1;var c=!!(null===(n=null===(t=e.interactives)||void 0===t?void 0:t.data)||void 0===n?void 0:n.length),u=!!(null===(i=null===(r=e.resources)||void 0===r?void 0:r.data)||void 0===i?void 0:i.length),s=!!(null===(o=null===(a=e.subtitles)||void 0===a?void 0:a.data)||void 0===o?void 0:o.length);return c||u||s},getRating:function(e){var t;return h.isVideo(e)?e.rating:null===(t=null==e?void 0:e._parentVideo)||void 0===t?void 0:t.rating},getVideoRequest:function(e,t,n){if(n){switch(t){case d.E.Video:return m.R.sharedVideo(e,n);case d.E.Clip:return p.e.sharedClip(e,n);case d.E.Interactive:return f.b.sharedInteractiveMetadata(e,n)}o.Q.Ry.throw(new i.H("Unsupported master type"))}switch(t){case d.E.Video:return m.R.video(e);case d.E.Clip:return p.e.clip(e);case d.E.Interactive:return f.b.interactiveMetadata(e)}o.Q.Ry.throw(new i.H("Unsupported master type"))},isBroadcast:function(e){var t,n;return!!(null===(n=null===(t=null==e?void 0:e.contentLicences)||void 0===t?void 0:t.data)||void 0===n?void 0:n.some((function(e){return e.systemName===r.Era||e.systemName===r.Screenrights})))},getReleaseDate:function(e){return e.dateReleased&&h.isBroadcast(e)?c.O.format(e.dateReleased,"DD/MM/YYYY"):""},canViewOriginalVideo:function(e){var t,n,r;return!(!e||!(null===(t=e._isClickViewContent)||void 0===t?void 0:t.value)&&(null===(r=null===(n=e.libraries)||void 0===n?void 0:n.data)||void 0===r?void 0:r.some((function(e){return e.type===y.r.CustomLibrary}))))},getTrackingCode:function(e){return h.isVideo(e)?e.trackingCode:h.isClip(e)||h.isInteractive(e)?e._parentVideo.trackingCode:void 0}}},15970:function(e,t,n){n.d(t,{d:function(){return o}});var r=n(4705),i=n(90335),a=i.D.RecentlyAdded,o={getValidSortTypeFromParam:function(e){return Object.values(i.D).includes(e)?e:i.D.Newest},getOrSetSortType:function(e,t,n){var i=function(e){return"video:sort:".concat(e)}(e);return!t&&r.SG.cacheExists(i)||r.SG.cacheSet(i,t||n||a),t||(t=r.SG.cacheGet(i)),t},getVideoSortParam:function(e){switch(e){case i.D.AtoZ:return"orderby:name";case i.D.ZtoA:return"orderbydesc:name";case i.D.Newest:return"orderbydesc:datecreated";case i.D.Oldest:return"orderby:datecreated";case i.D.RecentlyAdded:return"orderbydesc:timestamp";case i.D.Series:return"orderby:seriessort";default:return}}}},7121:function(e,t){t.Z={minHeight:"jEh7m",restrictionBadgeCustom:"WQ2eS",restrictionBadgeUser:"z4DeQ"}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5707],{44391:function(t,e,n){"use strict";n.d(e,{K:function(){return g}});var o=n(11306),i=n(31647),r=n(48088),l=n(57098),s=n(26457),a=n(15564),c=n.n(a);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===u(i)?i:String(i)),o)}var i}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(y,t);var e,n,o,i,a=(o=y,i=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=h(o);if(i){var n=h(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function y(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,y),a.call(this,t)}return e=y,(n=[{key:"name",get:function(){return"TagItemComponent"}},{key:"tagName",get:function(){return this.options.behavior===s.Dm.Link?"a":"span"}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.zM.Vertical?"":" d-inline-flex"),e="".concat(this.isSaving()?" saving":""),n="".concat(this.options.behavior===s.Dm.Disabled?" ".concat("dE3WC"):""),o="".concat(this.options.behavior===s.Dm.Filter?" cursor-pointer":"");return"rounded-pill tag py-1 px-2 flex-shrink-0 ".concat(o).concat(t).concat(e).concat(n)}},{key:"template",get:function(){return c()}},{key:"elements",get:function(){return{close:".btn-close"}}},{key:"appLinks",get:function(){return this.options.behavior!==s.Dm.Link?{}:{"[this]":{application:l.OV.SEARCH,action:l.eX.Search.HOME,params:{tag:this.model.get("name")}}}}},{key:"defaults",get:function(){return{behavior:s.Dm.Link,orientation:s.zM.Flex}}},{key:"events",value:function(){return this.options.removeEvent?{"click @ui.close":"onRemoveTag"}:{click:"onClickTag"}}},{key:"initialize",value:function(){this.options.behavior===s.Dm.Edit&&this.listenTo(this.model,"change",this.render)}},{key:"isSaving",value:function(){if(this.options.behavior!==s.Dm.Filter){var t=this.model.pick("id","name","remove"),e=t.id,n=t.name;return!!t.remove||!e||!n}}},{key:"onRemoveTag",value:function(t){if(t.stopPropagation(),!this.isSaving())return this.model.set("remove",!0),r.Radio.channel(this.options.channelName).trigger(this.options.removeEvent,this.model),!1}},{key:"onClickTag",value:function(){this.options.behavior!==s.Dm.Filter||this.options.removeEvent||r.Radio.channel(this.options.channelName).trigger(this.options.clickEvent,this.model)}},{key:"viewOptions",value:function(){return{removable:this.options.removeEvent}}},{key:"onRender",value:function(){this.resetClassName()}}])&&p(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),y}(i.Q.wA);function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==d(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===d(i)?i:String(i)),o)}var i}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}function b(t){return b=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},b(t)}var g=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&v(t,e)}(c,t);var e,n,r,l,a=(r=c,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=b(r);if(l){var n=b(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function c(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),a.call(this,t)}return e=c,(n=[{key:"initialize",value:function(){this.options.behavior!==s.Dm.Edit||this.options.removeEvent||i.Q.Ry.throw(new o.H("removeEvent is required to edit tags."))}},{key:"name",get:function(){return"TagComponentCollection"}},{key:"defaults",get:function(){return{orientation:s.zM.Flex}}},{key:"className",get:function(){var t="".concat(this.options.orientation===s.zM.Vertical?"d-flex align-items-start flex-column":"d-flex flex-wrap gap-1");return"tags ".concat(t)}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,behavior:this.options.behavior,orientation:this.options.orientation,removeEvent:this.options.removeEvent,clickEvent:this.options.clickEvent}}},{key:"childView",get:function(){return y}}])&&m(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),c}(i.Q.$W)},71641:function(t,e,n){"use strict";n.d(e,{w:function(){return u}});var o=n(39479),i=n(31647),r=n(55142);function l(t){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l(t)}function s(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==l(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==l(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===l(i)?i:String(i)),o)}var i}function a(t,e){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},a(t,e)}function c(t){return c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},c(t)}var u=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&a(t,e)}(f,t);var e,n,i,u,p=(i=f,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=c(i);if(u){var n=c(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===l(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function f(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,f),p.call(this,t)}return e=f,n=[{key:"name",get:function(){return"DropdownCollectionComponent"}},{key:"className",get:function(){return"dropdown-menu items-viewpart ".concat(this.getExtraClasses(this.options.displayOptions))}},{key:"attributes",get:function(){return{"aria-labelledby":"dropdownSelector"}}},{key:"initialize",value:function(){this.listenTo(this.options.channelName,"center:dropdown",this.centerSelectedItem)}},{key:"childView",get:function(){return r.N}},{key:"childViewOptions",get:function(){var t={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return o.extend(t,this.options.childOptions)}},{key:"getExtraClasses",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.alignment,n=void 0===e?"left":e,o=t.extraClasses,i="dropdown-menu-".concat(n);return o&&(i="".concat(i," ").concat(o)),i}},{key:"centerSelectedItem",value:function(){var t=this.$el.find(".active");if(t.length){var e=this.$el.scrollTop()+t.position().top,n=.5*this.$el.height()+.5*t.height();this.$el.scrollTop(e-n)}}}],n&&s(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),f}(i.Q.$W)},66882:function(t,e,n){"use strict";n.d(e,{R:function(){return I}});var o=n(57857),i=n(31647),r=n(52076),l=n(70065),s=n(84868),a=n(63791),c=n(71641),u=n(39479),p=n(56210),f=n(37106),h=n.n(f),y={actions:"VXWM3",svgContainer:"etJKo",moreSvgContainer:"kwNUa",actionName:"gbBGB",disabled:"Ykm_2",iconButton:"xqFbC"};function d(t){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},d(t)}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function b(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==d(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==d(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===d(i)?i:String(i)),o)}var i}function g(t,e,n){return e&&b(t.prototype,e),n&&b(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function w(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&k(t,e)}function k(t,e){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},k(t,e)}function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,o=E(t);if(e){var i=E(this).constructor;n=Reflect.construct(o,arguments,i)}else n=o.apply(this,arguments);return function(t,e){if(e&&("object"===d(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,n)}}function E(t){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},E(t)}var S=function(t){w(n,t);var e=O(n);function n(t){return v(this,n),e.call(this,t)}return g(n,[{key:"name",get:function(){return"VideoActionItemComponent"}},{key:"template",get:function(){return h()}},{key:"tagName",get:function(){return"a"}},{key:"attributes",get:function(){return this.model.get("href")?{href:this.model.get("href"),target:this.model.get("external")?"_blank":""}:{}}},{key:"className",get:function(){var t="cursor-pointer";return this.options.showLabel?t+=" ".concat(y.iconButton," btn btn-outline-dark ms-2"):t+=" d-inline-block px-1 no-decoration",this.model.get("isDisabled")&&(t+=" ".concat(y.disabled)),t}},{key:"events",value:function(){return{click:"onClick"}}},{key:"behaviors",get:function(){var t=(!this.options.showLabel||this.options.model.get("isDisabled"))&&this.options.model.get("tooltipText");if(t)return[{behaviorClass:p.H,title:t}]}},{key:"appLinks",get:function(){return!this.model.get("appLink")||this.model.get("isDisabled")?{}:{"[this]":this.model.get("appLink")}}},{key:"onClick",value:function(){this.logAction()}},{key:"logAction",value:function(){var t,e,n=this.model.get("appLink");if(u.isObject(n)){var o=(t=n.args,e=1,function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r,l,s=[],a=!0,c=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;a=!1}else for(;!(a=(o=r.call(n)).done)&&(s.push(o.value),s.length!==e);a=!0);}catch(t){c=!0,i=t}finally{try{if(!a&&null!=n.return&&(l=n.return(),Object(l)!==l))return}finally{if(c)throw i}}return s}}(t,e)||function(t,e){if(t){if("string"==typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m(t,e):void 0}}(t,e)||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.")}())[0];r.k.logUserAction({id:o},this.model.get("analyticsOptions"))}}},{key:"viewOptions",value:function(){return{styles:y,showLabel:this.options.showLabel,additionalClassName:this.model.get("isDisabled")?"disabled":"cursor-pointer"}}}]),n}(i.Q.wA),P=function(t){w(n,t);var e=O(n);function n(t){return v(this,n),e.call(this,t)}return g(n,[{key:"name",get:function(){return"VideoActionsComponentCollection"}},{key:"childView",get:function(){return S}},{key:"childViewOptions",get:function(){return{showLabel:this.options.showActionLabels}}}]),n}(i.Q.$W),j=n(57098),T=n(93569),C=n(89707),_=n(264),x=n(26457),R=n(59168),A=n.n(R);function V(t){return V="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},V(t)}function D(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function L(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==V(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==V(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===V(i)?i:String(i)),o)}var i}function N(t,e){return N=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},N(t,e)}function M(t){return M=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},M(t)}var I=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&N(t,e)}(h,t);var e,n,u,p,f=(u=h,p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=M(u);if(p){var n=M(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===V(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function h(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,h),f.call(this,t)}return e=h,(n=[{key:"name",get:function(){return"VideoActionsComponent"}},{key:"template",get:function(){return A()}},{key:"lang",get:function(){return"shared.videoActions"}},{key:"className",get:function(){return y.actions}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle",moreActions:".more-actions-region"}}},{key:"regions",value:function(){return{actions:{el:".actions-region"},moreActions:{el:"@ui.moreActions",replaceElement:!1}}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"onClickMore",value:function(){this.renderMoreActions(),this.getUI("dropdownToggle").dropdown("toggle")}},{key:"hasProduct",value:function(t){var e;return!!(null===(e=this.options.products)||void 0===e?void 0:e.find((function(e){return e.get("id")===t})))}},{key:"getActions",value:function(){return new i.Q.FE([].concat(function(t){if(Array.isArray(t))return D(t)}(t=T.M2.isInteractive(this.model)&&this.hasProduct(s.x.Analytics)?[{title:o.T.getPhrase(this.lang,"viewResults"),svg:a.Nj.getSvg(a.vn.Chart),tooltipText:o.T.getPhrase(this.lang,"viewResults"),analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Click,descriptor:l.XX.ViewResults}),href:C.k.getAnalyticsUrl(this.model,this.options.config),external:!0}]:[])||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return D(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?D(t,e):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.")}(),[{title:o.T.getPhrase(this.lang,"share"),svg:a.Nj.getSvg(a.vn.Share2),isDisabled:!T.BK.canShareVideo(this.options.libraries,this.options.application),tooltipText:T.BK.canShareVideo(this.options.libraries,this.options.application)?o.T.getPhrase(this.lang,"share"):T.BK.getSharePermissionsMessage(this.options.libraries,this.options.application),appLink:_.g.hasLite?{application:this.options.application,action:j.eX.Shared.SHARE,args:[this.model.get("id")],params:{entityType:T.M2.getMediaType(this.model)}}:{application:this.options.application,action:j.eX.Shared.SHARE_VIDEO,args:[this.model.get("id")]},analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Share,eventVersion:l.eq.V3})},{title:o.T.getPhrase(this.lang,"edit"),svg:T.BK.canEditVideo(this.model)?a.Nj.getSvg(a.vn.Edit):a.Nj.getSvg(a.vn.EditClickView),tooltipText:this.getEditTooltip(),appLink:T.M2.getEditAppLink(this.model),analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Edit,workflowPhase:l.eu.Start})}]));var t}},{key:"getEditTooltip",value:function(){return T.BK.canEditVideo(this.model)?o.T.getPhrase(this.lang,"edit"):T.M2.isExchangeVideo(this.model)?o.T.getPhrase(this.lang,"linkedToExchange"):o.T.getPhrase(this.lang,"linkedToCv")}},{key:"getFolderSourceId",value:function(){return this.options.collectionSource===x.x_.Folder?this.options.collectionIdentifier.id:this.model.get("categories").first().get("id")}},{key:"getMoreActions",value:function(){var t=[];if(this.options.collectionIdentifier&&t.push({title:o.T.getPhrase(this.lang,"move"),appLink:{application:this.options.application,action:j.eX.Shared.MOVE_VIDEOS,args:[this.model.get("id").toString(),this.getFolderSourceId()]},analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Move,descriptor:l.yh.Single,workflowPhase:l.eu.Start})}),t.push({title:o.T.getPhrase(this.lang,"manageAccess"),appLink:{application:this.options.application,action:j.eX.Shared.MANAGE_VIDEO_ACCESS,args:[this.model.get("id").toString(),this.model.get("typeId")]},analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.SetAccess,workflowPhase:l.eu.Start})}),this.options.application===j.OV.CONTENT_UPDATES&&this.options.customerHasCustomLibrary&&t.push({title:o.T.getPhrase(this.lang,"addToLibrary"),appLink:{application:this.options.application,action:j.eX.ContentUpdates.ADD_TO_LIBRARY,args:[this.model.get("id").toString()]}}),t.push({title:o.T.getPhrase(this.lang,"openInStaffView"),href:T.M2.getProductUrl(this.model,this.options.config),external:!0,icon:a.Nj.getSvg(a.vn.NewWindow),analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Click,descriptor:l._S.OpenInStaffView})}),!T.M2.isInteractive(this.model)&&this.hasProduct(s.x.Analytics)&&t.push({title:o.T.getPhrase(this.lang,"viewUsage"),icon:a.Nj.getSvg(a.vn.NewWindow),analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Click,descriptor:l.XX.ViewResults}),href:C.k.getAnalyticsUrl(this.model,this.options.config),external:!0}),T.M2.isVideo(this.model)&&this.options.application!==j.OV.CONTENT_UPDATES){var e=T.BK.canDownloadVideo(this.model);t.push({title:o.T.getPhrase(this.lang,"download"),disabled:!e,classes:e?"":"".concat(y.disabled),tooltip:e?null:{title:o.T.getPhrase(this.lang,"cannotDownload"),placement:"left"},analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Download}),appLink:e?{application:this.options.application,action:j.eX.Shared.DOWNLOAD_VIDEO,args:[this.model.id.toString()]}:null})}return this.options.customerHasExchange&&T.BK.canAddToExchange(this.model)&&!_.g.hasLite&&t.push({title:o.T.getPhrase(this.lang,"addToExchange"),appLink:{application:this.options.application,action:j.eX.LibraryEditor.ADD_TO_EXCHANGE,args:[this.model.get("id").toString()]}}),T.M2.isVideo(this.model)&&this.options.customerHasLocalCache&&t.push({title:o.T.getPhrase(this.lang,"localCache"),appLink:{application:this.options.application,action:j.eX.Shared.DOWNLOAD_TO_LOCAL_CACHE,args:[this.model.id.toString()]},analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.AddToLocalCache})}),this.options.collectionIdentifier&&t.push({title:o.T.getPhrase(this.lang,"remove"),appLink:{application:this.options.application,action:j.eX.Shared.DELETE_VIDEOS,args:[this.getFolderSourceId(),this.model.get("id").toString()],params:{routeToFolderOnDelete:this.options.routeToFolderOnDelete}},classes:"text-danger",analyticsOptions:r.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Delete,descriptor:l.yh.Single,workflowPhase:l.eu.Start})}),new i.Q.FE(t)}},{key:"renderActions",value:function(){this.showChildView("actions",new P({collection:this.getActions(),showActionLabels:this.options.showActionLabels}))}},{key:"renderMoreActions",value:function(){this.moreActionsRendered||(this.moreActionsRendered=!0,this.showChildView("moreActions",new c.w({displayOptions:{alignment:"end"},channelName:this.channelName,collection:this.getMoreActions(),childOptions:{isDisabled:function(){return this.model.get("disabled")},getTooltip:function(){return this.options.model.get("tooltip")}},analyticsHelper:r.k})))}},{key:"viewOptions",value:function(){return{styles:y,moreSvg:a.Nj.getSvg(a.vn.More),showLabel:this.options.showActionLabels}}},{key:"onRender",value:function(){this.moreActionsRendered=!1,this.renderActions(),this.renderMoreActions()}}])&&L(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),h}(i.Q.wA)},23130:function(t,e,n){"use strict";n.d(e,{Z:function(){return v},t:function(){return o}});var o,i=n(57857),r=n(31647),l=n(93569),s=n(58040),a=n.n(s),c={columnNames:"hkjBy",descriptionWrapper:"vGCSU",description:"lM8Hu",ellipsis:"zcKZV",showMoreEllipsis:"mUQy_",singleEllipsis:"sLOGz",showEllipsis:"Dn0yN",hideEllipsis:"Y0fDv",open:"JcPWW",truncateSmall:"FgeiQ",truncateLarge:"x5Rgi"};function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function p(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,d(o.key),o)}}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}function y(t,e,n){return(e=d(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function d(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==u(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===u(e)?e:String(e)}!function(t){t.Small="sm",t.Large="lg"}(o||(o={}));var m=y(y({},o.Small,3),o.Large,5),v=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(v,t);var e,n,r,s,d=(r=v,s=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=h(r);if(s){var n=h(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===u(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function v(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v),(e=d.call(this,t)).showingMore=!1,e}return e=v,(n=[{key:"name",get:function(){return"VideoDescriptionComponent"}},{key:"template",get:function(){return a()}},{key:"lang",get:function(){return"shared.videoDescription"}},{key:"defaults",get:function(){return{size:"sm"}}},{key:"elements",get:function(){return{description:".description-element",ellipsis:this.options.allowExpand?".".concat(c.showMoreEllipsis):".".concat(c.singleEllipsis)}}},{key:"events",value:function(){return y({},"click .".concat(c.showMoreEllipsis),"onClickShowMore")}},{key:"onClickShowMore",value:function(t){t.preventDefault(),this.showingMore?this.showLessDescription():this.showMoreDescription()}},{key:"getDescription",value:function(){return this.options.linkify?l.m$.linkifyText(this.model.get("description")):this.options.highlighter?l.m$.wordsHighlighter(l.m$.escapeExpression(this.model.get("description")),this.model.get("_matchedWords")):void 0}},{key:"getDescriptionElements",value:function(){return{descriptionTextEl:this.getUI("description"),ellipsisEl:this.getUI("ellipsis")}}},{key:"showMoreDescription",value:function(){var t=this.getDescriptionElements(),e=t.descriptionTextEl,n=t.ellipsisEl;e.removeClass(c.truncateLarge).addClass(c.open),n.text(i.T.getPhrase(this.lang,"showLess")),this.showingMore=!0}},{key:"showLessDescription",value:function(){var t,e=this.getDescriptionElements(),n=e.descriptionTextEl,r=e.ellipsisEl;this.options.size===o.Small&&(t="truncateSmall"),this.options.size===o.Large&&(t="truncateLarge"),n.addClass(c[t]),r.text(this.options.allowExpand?"... ".concat(i.T.getPhrase(this.lang,"showMore")):"...").removeClass(c.hideEllipsis).addClass(c.showEllipsis),this.showingMore=!1}},{key:"truncateDescription",value:function(){if(this.options.truncate){var t=this.getDescriptionElements().descriptionTextEl,e=m[this.options.size];t.height()<=21*e||this.showLessDescription()}}},{key:"viewOptions",value:function(){return{styles:c,truncate:this.options.truncate,expandable:this.options.allowExpand,description:this.getDescription()}}},{key:"onAttach",value:function(){this.truncateDescription()}}])&&p(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),v}(r.Q.wA)},7427:function(t,e,n){"use strict";n.d(e,{V:function(){return y}});var o=n(31647),i=n(57098),r=n(93569),l=n(25205),s=n.n(l),a={sourceLabel:"TczXY"};function c(t){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function u(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,p(o.key),o)}}function p(t){var e=function(t,e){if("object"!==c(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==c(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===c(e)?e:String(e)}function f(t,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},f(t,e)}function h(t){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},h(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&f(t,e)}(d,t);var e,n,o,l,y=(o=d,l=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=h(o);if(l){var n=h(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===c(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function d(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,d),y.call(this,t)}return e=d,(n=[{key:"name",get:function(){return"VideoSourcesMetadataComponent"}},{key:"template",get:function(){return s()}},{key:"lang",get:function(){return"shared.videoSourcesMetadata"}},{key:"defaults",get:function(){return{showFolder:!1,highlight:!1}}},{key:"appLinks",get:function(){var t;return this.options.showFolder&&(null===(t=this.folders)||void 0===t?void 0:t.length)?this.folders.reduce((function(t,e){return t[".applink-folder-".concat(e.get("id"))]={application:i.OV.LIBRARY_EDITOR,action:i.eX.LibraryEditor.FOLDER,args:[e.get("id")]},t}),{}):{}}},{key:"events",value:function(){var t,e,n,o=Object.keys(this.appLinks),i=(t={},n="onClick",(e=p(e="click .".concat(a.sourceLabel)))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t);return o.forEach((function(t){i["click ".concat(t)]="onClick"})),i}},{key:"onClick",value:function(t){t.stopPropagation()}},{key:"getFolderLinks",value:function(){var t,e=this;if(null===(t=this.folders)||void 0===t?void 0:t.length){var n={};return this.folders.forEach((function(t){var o=e.options.highlight?r.m$.wordsHighlighter(r.m$.escapeExpression(t.get("name")),e.model.get("_matchedWords")):r.m$.escapeExpression(t.get("name"));n[t.get("id")]=o})),Object.keys(n).map((function(t){return'<a class="info-link applink-folder-'.concat(t,'">').concat(n[t],"</a>")})).join(", ")}}},{key:"getCustomLibraryFolders",value:function(){var t;if(!(null===(t=this.model)||void 0===t?void 0:t.categories)||!this.options.libraries)return[];var e=this.options.libraries.reduce((function(t,e){return t[e.id]=!0,t}),{});return this.model.categories.filter((function(t){var n,o=null===(n=t.libraries)||void 0===n?void 0:n.first().get("id");return e[o]}))}},{key:"onBeforeRender",value:function(){var t;return this.folders||(this.folders=this.getCustomLibraryFolders()),this.options.showFolder&&!!(null===(t=this.folders)||void 0===t?void 0:t.length)}},{key:"viewOptions",value:function(){return{styles:a,folderCount:this.folders.length,folders:this.options.showFolder&&this.getFolderLinks(),hideLabel:this.options.hideLabel}}}])&&u(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),d}(o.Q.wA)},61356:function(t,e,n){"use strict";n.d(e,{c:function(){return O}});var o=n(48088),i=n(39479),r=n(31647),l=n(52076),s=n(70065),a=n(88483),c=n(2772),u=n(10101),p=n(89167),f=n(57098),h=n(93569),y=n(264),d=n(57e3),m=n(37339),v=n.n(m);function b(t){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},b(t)}function g(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,(void 0,i=function(t,e){if("object"!==b(t)||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,"string");if("object"!==b(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(o.key),"symbol"===b(i)?i:String(i)),o)}var i}function w(t,e){return w=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},w(t,e)}function k(t){return k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},k(t)}var O=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&w(t,e)}(E,t);var e,n,r,m,O=(r=E,m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=k(r);if(m){var n=k(this).constructor;t=Reflect.construct(e,arguments,n)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===b(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function E(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,E),(e=O.call(this,t))._viewKeyRequested=!1,e}return e=E,(n=[{key:"initialize",value:function(){this.bindListeners()}},{key:"name",get:function(){return"VideoPreviewComponent"}},{key:"template",get:function(){return v()}},{key:"instanceChannelName",get:function(){return h.N0.generateUniqueChannelName(this)}},{key:"defaults",get:function(){return{captureAnalytics:!0}}},{key:"behaviors",get:function(){var t=this;return[{behaviorClass:u.Im,selector:".lazy-img",callback:function(){o.Radio.channel(t.instanceChannelName).trigger("show:play:icon")},minBrowserSupportVersion:f.v9}]}},{key:"regions",value:function(){return{player:{el:".video-player-region",replaceElement:!1},thumbnail:{el:".thumbnail-region",replaceElement:!0}}}},{key:"events",value:function(){return{click:"onClick"}}},{key:"bindListeners",value:function(){this.options.channelName&&this.listenTo(this.options.channelName,"update:chapter:time",this.onUpdateWebplayer)}},{key:"onUpdateWebplayer",value:function(t){return y.g.hasLite?this.playerViewKey?this.player?void this.seekToChapter(t):(this.listenToOnce(this.options.channelName,"player:loaded",i.bind(this.seekToChapter,this,t)),void this.renderVideoPreview()):(this.listenToOnce(this.options.channelName,"player:loaded",i.bind(this.seekToChapter,this,t)),void this.requestViewKey()):this.webPlayer?void this.seekToChapter(t):(this.listenToOnce(this.options.channelName,"webplayer:loaded",i.bind(this.seekToChapter,this,t)),void this.renderVideoPreview())}},{key:"seekToChapter",value:function(t){this.player?this.player.currentTime(t):this.webPlayer.seekTo(t)}},{key:"requestViewKey",value:function(){var t=this;this.playerViewKey||this._viewKeyRequested||(this._viewKeyRequested=!0,this.options.createViewKey(this.model.get("id"),(function(e){t.playerViewKey=e,t.renderVideoPreview()})))}},{key:"onClick",value:function(){this.model.get("id")&&(y.g.hasLite?this.requestViewKey():this.webPlayer||this.renderVideoPreview())}},{key:"renderThumbnail",value:function(){this.showChildView("thumbnail",new c.Z({model:this.model,thumbnailOptions:{size:a.h2.Medium},playIcon:!0,lazyload:!0,channelName:this.instanceChannelName,thumbnail:h.M2.getThumbnail(this.model),duration:h.M2.getDuration(this.model),durationNewStyle:!0}))}},{key:"renderVideoPreview",value:function(){if(this.playerViewKey)return this.player=new d.l({model:this.playerViewKey,playerApiUrl:this.options.playerApiUrl,channelName:this.options.channelName}),void this.showChildView("player",this.player);this.webPlayer=new p.Q({model:this.model,webPlayerUrl:this.options.webPlayerUrl,parentChannelName:this.options.channelName,autoplay:!0,analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{entity:s.py.Video}),captureAnalytics:this.options.captureAnalytics,currentUser:this.options.currentUser}),this.showChildView("player",this.webPlayer)}},{key:"onRender",value:function(){this.playerViewKey?this.renderVideoPreview():this.renderThumbnail()}}])&&g(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),E}(r.Q.wA)},15564:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return'<span class="btn-close cursor-pointer" role="button" aria-label="Close"></span>\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l,s=null!=e?e:t.nullContext||{},a=t.hooks.helperMissing,c="function",u=t.escapeExpression;return'<span class="clamp-1" title="'+u(typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:a)===c?l.call(s,{name:"name",hash:{},data:i}):l)+'">'+u(typeof(l=null!=(l=n.name||(null!=e?e.name:e))?l:a)===c?l.call(s,{name:"name",hash:{},data:i}):l)+"</span>\n"+(null!=(r=n.if.call(s,null!=(r=null!=e?e.options:e)?r.removable:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},37106:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){var r;return t.propertyIsEnumerable,t.escapeExpression("function"==typeof(r=null!=(r=n.title||(null!=e?e.title:e))?r:t.hooks.helperMissing)?r.call(null!=e?e:t.nullContext||{},{name:"title",hash:{},data:i}):r)},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l,s=t.lambda,a=t.escapeExpression,c=null!=e?e:t.nullContext||{};return' <span class="d-inline-block align-middle '+a(s(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" "+a(s(null!=(r=null!=e?e.options:e)?r.additionalClassName:r,e))+'">'+(null!=(r="function"==typeof(l=null!=(l=n.svg||(null!=e?e.svg:e))?l:t.hooks.helperMissing)?l.call(c,{name:"svg",hash:{},data:i}):l)?r:"")+"</span>\n"+(null!=(r=n.if.call(c,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")},useData:!0})},59168:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"btn btn-outline-dark px-0 ms-2"},3:function(t,e,n,o,i){var r;return t.propertyIsEnumerable,t.escapeExpression(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.moreSvgContainer:r,e))},5:function(t,e,n,o,i){var r;return t.propertyIsEnumerable,t.escapeExpression(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.svgContainer:r,e))+" align-middle"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l=null!=e?e:t.nullContext||{};return'<div class="actions-region d-inline-block"></div><span class="position-relative d-inline-block dropdown">\n <span\n data-bs-toggle="dropdown"\n aria-haspopup="true"\n aria-expanded="false"\n class="'+(null!=(r=n.if.call(l,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+' ui-dropdown-toggle"\n >\n <span class="ui-more d-inline-block '+(null!=(r=n.if.call(l,null!=(r=null!=e?e.options:e)?r.showLabel:r,{name:"if",hash:{},fn:t.program(3,i,0),inverse:t.program(5,i,0),data:i}))?r:"")+' cursor-pointer">'+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.moreSvg:r,e))?r:"")+'</span>\n </span>\n <div class="more-actions-region"></div>\n</span>\n'},useData:!0})},58040:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l=t.lambda,s=t.escapeExpression;return' <div class="'+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.descriptionWrapper:r,e))+'">\n <p class="description-element '+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.description:r,e))+'">'+(null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.expandable:r,{name:"if",hash:{},fn:t.program(2,i,0),inverse:t.program(4,i,0),data:i}))?r:"")+"</p>\n </div>\n"},2:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l=t.lambda,s=t.escapeExpression;return(null!=(r=l(null!=(r=null!=e?e.options:e)?r.description:r,e))?r:"")+'<span class="'+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.showMoreEllipsis:r,e))+" "+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.hideEllipsis:r,e))+'">... '+s((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"showMore",{name:"lang",hash:{},data:i}))+"</span>"},4:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l=t.lambda,s=t.escapeExpression;return(null!=(r=l(null!=(r=null!=e?e.options:e)?r.description:r,e))?r:"")+'<span class="'+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.singleEllipsis:r,e))+" "+s(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.hideEllipsis:r,e))+'">...</span>'},6:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l=t.lambda;return' <p class="'+t.escapeExpression(l(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.description:r,e))+'">'+(null!=(r=l(null!=(r=null!=e?e.options:e)?r.description:r,e))?r:"")+"</p>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;return t.propertyIsEnumerable,null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.truncate:r,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.program(6,i,0),data:i}))?r:""},useData:!0})},25205:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){t.propertyIsEnumerable;var r,l=t.escapeExpression;return'<span class="'+l(t.lambda(null!=(r=null!=(r=null!=e?e.options:e)?r.styles:r)?r.sourceLabel:r,e))+'">'+l((n.lang||e&&e.lang||t.hooks.helperMissing).call(null!=e?e:t.nullContext||{},"folder",{name:"lang",hash:{smartCount:null!=(r=null!=e?e.options:e)?r.folderCount:r},data:i}))+"</span>\n"},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;return t.propertyIsEnumerable,(null!=(r=n.unless.call(null!=e?e:t.nullContext||{},null!=(r=null!=e?e.options:e)?r.hideLabel:r,{name:"unless",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+(null!=(r=t.lambda(null!=(r=null!=e?e.options:e)?r.folders:r,e))?r:"")},useData:!0})},37339:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,i){return"cursor-pointer "},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,i){var r;return t.propertyIsEnumerable,'<div class="video-player-region '+(null!=(r=n.if.call(null!=e?e:t.nullContext||{},null!=e?e.id:e,{name:"if",hash:{},fn:t.program(1,i,0),inverse:t.noop,data:i}))?r:"")+'">\n <div class="thumbnail-region"></div>\n</div>'},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[5747],{95747:function(e,n,t){"use strict";t.r(n),t.d(n,{FileSelectView:function(){return O}});var o=t(39479),r=t(21679),i=t(57857),l=t(68003),a=t(31647),c=t(52076),u=t(70065),s=t(81937),p=t(25692),f=t(57769),d=t(75432),h=t(98985),y=t(57098),g=t(48404),m=t(22103),v=t.n(m),b={uploadImage:"yRGoO"};function k(e){return k="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},k(e)}function w(e,n){for(var t=0;t<n.length;t++){var o=n[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(void 0,r=function(e,n){if("object"!==k(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var o=t.call(e,"string");if("object"!==k(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(o.key),"symbol"===k(r)?r:String(r)),o)}var r}function U(e,n){return U=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,n){return e.__proto__=n,e},U(e,n)}function S(e){return S=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},S(e)}var O=function(e){!function(e,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&U(e,n)}(_,e);var n,t,a,m,O=(a=_,m=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,n=S(a);if(m){var t=S(this).constructor;e=Reflect.construct(n,arguments,t)}else e=n.apply(this,arguments);return function(e,n){if(n&&("object"===k(n)||"function"==typeof n))return n;if(void 0!==n)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,e)});function _(){return function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}(this,_),O.apply(this,arguments)}return n=_,(t=[{key:"initialize",value:function(){this.listenTo(this.channelName,s.S.FILES_SELECTED,this.onFilesSelected),this.videoUploadService=r.u.getInstance(y.K9.VideoUpload,this)}},{key:"name",get:function(){return"FileSelectView"}},{key:"title",get:function(){return i.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"upload.fileSelect"}},{key:"template",get:function(){return v()}},{key:"className",get:function(){return"container px-0"}},{key:"props",get:function(){return["videoUploadService"]}},{key:"channelName",get:function(){return this.customCid||(this.customCid=o.uniqueId("custom")),"".concat(this.name).concat(this.customCid)}},{key:"behaviors",get:function(){return[{behaviorClass:f.Z,buttonSelector:".choose-files",channelName:this.channelName,acceptMultiple:!0,mimeType:"video/*"}]}},{key:"onFilesSelected",value:function(e,n){this.videoUploadService.addFiles(e),this.logAction(e,n)}},{key:"logAction",value:function(e,n){var t={actionType:u.Vw.Upload,entity:u.py.Video,location:u.LZ.VideoUpload,workflowPhase:u.eu.Start,descriptor:c.k.mapInteractionType(n)};c.k.logUserAction(e,t)}},{key:"requiredResources",get:function(){return{config:g.p.config,currentUser:d.K.currentUser}}},{key:"viewOptions",value:function(){return{styles:b,uploadArticleUrl:h.o.getHybridArticle(p.s.UploadToLibraryEditor,p.b.UploadToLibraryEditor),uploadTermsUrl:this.config?l._.safeUrlConcat(this.config.get("marketingSiteUrl"),y.l.UploadingUserContent):"",classNames:"info-link",imageUrl:y.Wn.Upload.UPLOAD_VIDEO}}}])&&w(n.prototype,t),Object.defineProperty(n,"prototype",{writable:!1}),_}(a.Q.G7)},22103:function(e,n,t){var o=t(32227);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,n,t,o,r){e.propertyIsEnumerable;var i,l=null!=n?n:e.nullContext||{},a=e.hooks.helperMissing,c=e.escapeExpression,u=e.lambda;return'<div class="p-3 my-3 bg-white text-center">\n <h1>'+c((t.lang||n&&n.lang||a).call(l,"uploadVideos",{name:"lang",hash:{},data:r}))+'</h1>\n <div class="my-3">\n <img src="'+c(u(null!=(i=null!=n?n.options:n)?i.imageUrl:i,n))+'" class="'+c(u(null!=(i=null!=(i=null!=n?n.options:n)?i.styles:i)?i.uploadImage:i,n))+' img-fluid mb-2" />\n </div>\n <div>\n <button class="btn btn-dark choose-files">'+c((t.lang||n&&n.lang||a).call(l,"chooseVideo",{name:"lang",hash:{},data:r}))+"</button>\n </div>\n <div>\n <span>"+c((t.lang||n&&n.lang||a).call(l,"dragDrop",{name:"lang",hash:{},data:r}))+'</span>\n </div>\n</div>\n<div class="p-3 bg-white container-fluid">\n <div class="row">\n <div class="col-4">\n <h4>'+c((t.lang||n&&n.lang||a).call(l,"help",{name:"lang",hash:{},data:r}))+'</h2>\n <div class="border-top pt-2">\n <ul>\n <li><a class="info-link" href="'+c(u(null!=(i=null!=n?n.options:n)?i.uploadArticleUrl:i,n))+'" target="_blank">'+c((t.lang||n&&n.lang||a).call(l,"instructionsHeading",{name:"lang",hash:{},data:r}))+'</a></li>\n </ul>\n </div>\n </div>\n <div class="col-8">\n <h4>'+c((t.lang||n&&n.lang||a).call(l,"termsHeading",{name:"lang",hash:{},data:r}))+'</h2>\n <div class="border-top pt-2">\n <ol>\n <li>'+c((t.lang||n&&n.lang||a).call(l,"term1",{name:"lang",hash:{},data:r}))+"</li>\n <li>"+c((t.lang||n&&n.lang||a).call(l,"term2",{name:"lang",hash:{},data:r}))+"</li>\n <li>"+(null!=(i=(t.lang||n&&n.lang||a).call(l,"term3",{name:"lang",hash:{classNames:null!=(i=null!=n?n.options:n)?i.classNames:i,uploadTermsUrl:null!=(i=null!=n?n.options:n)?i.uploadTermsUrl:i},data:r}))?i:"")+"</li>\n </ol>\n </div>\n </div>\n </div>\n</div>"},useData:!0})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6093],{36093:function(t,e,r){"use strict";r.r(e),r.d(e,{ErrorView:function(){return y}});var n=r(48088),o=r(31647),i=r(50997),u=r(2882),c=r.n(u),l={image:"DlVFv"};function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function f(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,(void 0,o=function(t,e){if("object"!==a(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(n.key),"symbol"===a(o)?o:String(o)),n)}var o}function s(t,e){return s=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},s(t,e)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},p(t)}var y=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&s(t,e)}(b,t);var e,r,o,u,y=(o=b,u=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}(),function(){var t,e=p(o);if(u){var r=p(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return function(t,e){if(e&&("object"===a(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(this,t)});function b(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,b),y.apply(this,arguments)}return e=b,(r=[{key:"initialize",value:function(){var t=n.Radio.channel("error:view");this.error=t.request("current:error")}},{key:"name",get:function(){return"ErrorView"}},{key:"title",get:function(){return!1}},{key:"className",get:function(){return"bg-white mt-3 p-5 text-center rounded"}},{key:"template",get:function(){return c()}},{key:"viewOptions",value:function(){return{heading:this.error.heading,description:this.error.description,imageUrl:i.Wn.Errors.GENERIC,styles:l}}}])&&f(e.prototype,r),Object.defineProperty(e,"prototype",{writable:!1}),b}(o.Q.G7)},2882:function(t,e,r){var n=r(32227);t.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(t,e,r,n,o){t.propertyIsEnumerable;var i,u=t.lambda,c=t.escapeExpression;return'<img src="'+c(u(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+'" class="img-fluid '+c(u(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.image:i,e))+' pt-5 pb-3" />\n<h2 class="h6">'+c(u(null!=(i=null!=e?e.options:e)?i.heading:i,e))+'</h2>\n<p class="pb-5">'+(null!=(i=u(null!=(i=null!=e?e.options:e)?i.description:i,e))?i:"")+"</p>"},useData:!0})}}]);
|