@clickview/library-editor 1.55.0-rc.0 → 1.56.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/bundles.json +2 -2
  2. package/dist/css/{4001-library-editor-f6d2f9fb58.chunk.css → 4001-library-editor-da87291909.chunk.css} +1 -1
  3. package/dist/css/{535-library-editor-e2b19f99ee.chunk.css → 535-library-editor-fa24102d7f.chunk.css} +1 -1
  4. package/dist/css/{61-library-editor-f25bac2db6.chunk.css → 61-library-editor-b5c939f10f.chunk.css} +2 -1
  5. package/dist/css/{library-editor-app-bcca987662.css → library-editor-app-6b401b236c.css} +3 -3
  6. package/dist/languages/en.json +1 -1
  7. package/dist/scripts/{112-4f413f94c0.chunk.js → 112-5209a9a2d0.chunk.js} +1 -1
  8. package/dist/scripts/{2601-d46e5810eb.chunk.js → 2601-0bbd055a92.chunk.js} +1 -1
  9. package/dist/scripts/2644-17c596a0c9.chunk.js +1 -0
  10. package/dist/scripts/{343-41502b5d24.chunk.js → 343-a3dabdd615.chunk.js} +1 -1
  11. package/dist/scripts/{3551-ad62e3a403.chunk.js → 3551-d2ea1832c5.chunk.js} +1 -1
  12. package/dist/scripts/376-d76b864238.chunk.js +1 -0
  13. package/dist/scripts/4001-319ffe95a1.chunk.js +2 -0
  14. package/dist/scripts/{4024-5bc8aa8dcd.chunk.js → 4024-218556677c.chunk.js} +1 -1
  15. package/dist/scripts/471-7ede525821.chunk.js +2 -0
  16. package/dist/scripts/5173-f2d72d7c3e.chunk.js +1 -0
  17. package/dist/scripts/{61-ec794cf02d.chunk.js → 61-de99ab5568.chunk.js} +2 -2
  18. package/dist/scripts/{6352-6452f77c89.chunk.js → 6352-50c10c1bc6.chunk.js} +1 -1
  19. package/dist/scripts/{7002-eef9319d36.chunk.js → 7002-6d9f52d6d3.chunk.js} +1 -1
  20. package/dist/scripts/708-f7536cb7a4.chunk.js +1 -0
  21. package/dist/scripts/8130-f0c1977041.chunk.js +1 -0
  22. package/dist/scripts/{8727-9077c2b877.chunk.js → 8727-188101f028.chunk.js} +1 -1
  23. package/dist/scripts/{8952-a9a7742f72.chunk.js → 8952-4201ae6599.chunk.js} +1 -1
  24. package/dist/scripts/{9369-1e706eb521.chunk.js → 9369-d078677c28.chunk.js} +1 -1
  25. package/dist/scripts/bundle-b38a9aa50e.min.js +2 -0
  26. package/package.json +1 -1
  27. package/dist/scripts/2644-98304e9394.chunk.js +0 -1
  28. package/dist/scripts/376-83584040a3.chunk.js +0 -1
  29. package/dist/scripts/4001-9194fbe77b.chunk.js +0 -2
  30. package/dist/scripts/5173-d333602893.chunk.js +0 -1
  31. package/dist/scripts/6532-48f3f080f5.chunk.js +0 -2
  32. package/dist/scripts/708-c74c75f82a.chunk.js +0 -1
  33. package/dist/scripts/8130-0a0a9c4cab.chunk.js +0 -1
  34. package/dist/scripts/bundle-0a99cc18ef.min.js +0 -2
  35. package/typings/libs/CVEvents.d.ts +0 -13
  36. package/typings/libs/lodash.d.ts +0 -11
  37. /package/dist/scripts/{101-8f41923234.chunk.js → 101-c2af2cc10c.chunk.js} +0 -0
  38. /package/dist/scripts/{1010-4a381a84d4.chunk.js → 1010-f1c8bca022.chunk.js} +0 -0
  39. /package/dist/scripts/{1409-58db6bd9f7.chunk.js → 1409-ae672618b1.chunk.js} +0 -0
  40. /package/dist/scripts/{1703-45ced13ccd.chunk.js → 1703-0f9e8a489f.chunk.js} +0 -0
  41. /package/dist/scripts/{1832-6a54b38248.chunk.js → 1832-52444b0088.chunk.js} +0 -0
  42. /package/dist/scripts/{1876-e0567188b8.chunk.js → 1876-0a931d62d9.chunk.js} +0 -0
  43. /package/dist/scripts/{2417-7628573bf3.chunk.js → 2417-9731b9da6b.chunk.js} +0 -0
  44. /package/dist/scripts/{243-25fcce188c.chunk.js → 243-c4bb9e995e.chunk.js} +0 -0
  45. /package/dist/scripts/{259-e24fcf8f12.chunk.js → 259-ef5133c0fd.chunk.js} +0 -0
  46. /package/dist/scripts/{299-1a0d6a88dc.chunk.js → 299-5585deab1d.chunk.js} +0 -0
  47. /package/dist/scripts/{35-68aa98885c.chunk.js → 35-dde0c25008.chunk.js} +0 -0
  48. /package/dist/scripts/{3746-9c62c31099.chunk.js → 3746-588ea9d62d.chunk.js} +0 -0
  49. /package/dist/scripts/{4001-9194fbe77b.chunk.js.LICENSE.txt → 4001-319ffe95a1.chunk.js.LICENSE.txt} +0 -0
  50. /package/dist/scripts/{4245-59b4242cad.chunk.js → 4245-db2d86c59d.chunk.js} +0 -0
  51. /package/dist/scripts/{4523-55c4df85c8.chunk.js → 4523-fec10bbbcb.chunk.js} +0 -0
  52. /package/dist/scripts/{6532-48f3f080f5.chunk.js.LICENSE.txt → 471-7ede525821.chunk.js.LICENSE.txt} +0 -0
  53. /package/dist/scripts/{5046-cb525612c6.chunk.js → 5046-b65e8db7c0.chunk.js} +0 -0
  54. /package/dist/scripts/{5286-7aac82c4d1.chunk.js → 5286-c574f5b574.chunk.js} +0 -0
  55. /package/dist/scripts/{535-27d0457532.chunk.js → 535-794be8eab5.chunk.js} +0 -0
  56. /package/dist/scripts/{546-f770211173.chunk.js → 546-2ee5c90feb.chunk.js} +0 -0
  57. /package/dist/scripts/{5707-fcb653aa7a.chunk.js → 5707-b2b239ff4e.chunk.js} +0 -0
  58. /package/dist/scripts/{5747-674f00efcd.chunk.js → 5747-7ca7ad6c1d.chunk.js} +0 -0
  59. /package/dist/scripts/{5891-0864c38750.chunk.js → 5891-ac4d3f803a.chunk.js} +0 -0
  60. /package/dist/scripts/{61-ec794cf02d.chunk.js.LICENSE.txt → 61-de99ab5568.chunk.js.LICENSE.txt} +0 -0
  61. /package/dist/scripts/{6963-0e2bf1bde7.chunk.js → 6963-254d82f6c2.chunk.js} +0 -0
  62. /package/dist/scripts/{7053-35b82818eb.chunk.js → 7053-91a52f57d7.chunk.js} +0 -0
  63. /package/dist/scripts/{7071-6f7e375aaa.chunk.js → 7071-6d98c3dcfa.chunk.js} +0 -0
  64. /package/dist/scripts/{7153-57796cd98e.chunk.js → 7153-fc080e3d53.chunk.js} +0 -0
  65. /package/dist/scripts/{7295-474c754cb6.chunk.js → 7295-49780496e2.chunk.js} +0 -0
  66. /package/dist/scripts/{7408-15b5cc4a39.chunk.js → 7408-c1551d3e0d.chunk.js} +0 -0
  67. /package/dist/scripts/{7827-ce63697325.chunk.js → 7827-c1f1b4f608.chunk.js} +0 -0
  68. /package/dist/scripts/{8952-a9a7742f72.chunk.js.LICENSE.txt → 8952-4201ae6599.chunk.js.LICENSE.txt} +0 -0
  69. /package/dist/scripts/{9369-1e706eb521.chunk.js.LICENSE.txt → 9369-d078677c28.chunk.js.LICENSE.txt} +0 -0
  70. /package/dist/scripts/{9383-d58506608c.chunk.js → 9383-4ed13f5993.chunk.js} +0 -0
  71. /package/dist/scripts/{bundle-0a99cc18ef.min.js.LICENSE.txt → bundle-b38a9aa50e.min.js.LICENSE.txt} +0 -0
@@ -1 +1 @@
1
- (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6352],{26328:function(e,t,i){"use strict";i.r(t),i.d(t,{AwaitingReviewView:function(){return P}});var n=i(39479),o=i(21679),r=i(57857),s=i(31647),a=i(70763),c=i(13809),l=i(57098),u=i(29457),p=i(85847),d=i(48404),h=i(19226),f=i(14129),v=i(7572),y=i(95920),g=i(82405),m=i(39090),b=i(29565),w=i(95061),C=i(71010),S=i.n(C);function O(e){return O="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},O(e)}function V(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k(n.key),n)}}function k(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=O(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}var P=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,i){return t=E(t),function(e,t){if(t&&("object"==O(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,T()?Reflect.construct(t,i||[],E(e).constructor):t.apply(e,i))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(t,e),i=t,(C=[{key:"initialize",value:function(){this.bindListeners(),this.contentUpdatesDataService=o.u.getInstance(l.Or.ContentUpdates,this),this.videoDataService=o.u.getInstance(l.Or.Video,this)}},{key:"name",get:function(){return"AwaitingReviewView"}},{key:"title",get:function(){return r.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.awaitingReview"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"bg-white rounded"}},{key:"template",get:function(){return S()}},{key:"regions",value:function(){return{header:{el:".header-region",replaceElement:!0},leftNav:{el:".left-nav-region",replaceElement:!0},listHeader:{el:".list-header-region",replaceElement:!0,partialLoading:u.LP.AwaitingReviewHeader},videos:{el:".video-list-region",replaceElement:!0,partialLoading:u.LP.VideoGroupList}}}},{key:"bindListeners",value:function(){this.listenTo(l.Vk.CONTENT_UPDATES,"".concat(l.M_.VIDEOS_TO_REVIEW,":sync"),this.render),this.listenTo(l.Vk.CONTENT_UPDATES,"".concat(l.M_.LIBRARY_REVIEW_SETTINGS,":sync"),this.render),this.listenTo(l.Vk.CONTENT_UPDATES,"".concat(l.M_.LIBRARY_REVIEW_SETTINGS,":error"),this.render),this.listenTo(l.Vk.RESTRICTED_VIDEO,"".concat(l.M_.VIDEOS_TO_REVIEW,":invalidate"),this.fetchVideos),this.listenTo(this.channelName,"approve:all",this.approveAllVideos),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"approveAllVideos",value:function(){this.contentUpdatesDataService.approveAllVideos(n.bind(this.fetchVideos,this))}},{key:"redirectToPastReleases",value:function(){s.Q.C$.trigger({application:l.OV.CONTENT_UPDATES,action:l.eX.ContentUpdates.PAST_RELEASES},{replace:!0})}},{key:"getContentClassName",value:function(){var e="".concat(b.Z.content," border-start ").concat(b.Z.contentWithLeftNav);return this.videoCollection&&!this.videoCollection.length?e+=" d-inline-flex justify-content-center align-items-center":e+=" d-inline-block",e}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new a.t(this.videoCollection.map((function(e){return new p.n({id:e.get("id")})}))))}},{key:"renderHeader",value:function(){this.reviewSetting?this.showChildView("header",new v.u({activeTab:m.JI.AwaitingReview,reviewEnabled:this.reviewSetting.get("reviewPeriod")})):this.renderPartialLoading("header")}},{key:"renderLeftNav",value:function(){this.reviewSetting&&this.showChildView("leftNav",new y.m({supportSiteUrl:this.config.get("supportSiteUrl"),currentUser:this.currentUser}))}},{key:"renderListHeader",value:function(){this.videoCollection?this.videoCollection.length&&this.showChildView("listHeader",new f.U({collection:this.videoCollection,channelName:this.channelName})):this.renderPartialLoading("listHeader")}},{key:"renderVideos",value:function(){this.groupedVideoCollection?this.showChildView("videos",new g.D({collection:this.groupedVideoCollection,childOptions:{videoItemComponentType:c.UC.AwaitingReview,videosWithMetadata:this.videosWithMetadata,config:this.config,collectionViewChannel:this.channelName,currentUser:this.currentUser,libraries:this.libraries},emptyStateType:u.ub.AwaitingReview,emptyStateOptions:{heading:r.T.getPhrase(this.lang,"emptyStateHeading"),description:r.T.getPhrase(this.lang,"emptyStateDescription",{classNames:"disable-review info-link"})}})):this.renderPartialLoading("videos")}},{key:"fetchVideos",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&(this.setVideosWithMetadata(),this.groupedVideoCollection=m.hp.groupVideosByHostedLibrary(this.videoCollection))}},{key:"fetchVideoWithMetadata",value:function(e){var t=this;this.videoDataService.getVideo(e,(function(i){var n=t.videosWithMetadata.get(e);n&&(n.set(i.toJSON()),n.set({dataFetched:!0}))}))}},{key:"requiredResources",get:function(){return{config:d.p.config,currentUser:h.K.currentUser,libraries:w.T.libraries}}},{key:"onBeforeRender",value:function(){this.reviewSetting=this.contentUpdatesDataService.getLibraryReviewSettings(),this.fetchVideos(),this.reviewSetting&&!this.reviewSetting.get("reviewPeriod")&&this.redirectToPastReleases()}},{key:"viewOptions",value:function(){return{contentClass:this.getContentClassName()}}},{key:"onRender",value:function(){this.renderHeader(),this.renderLeftNav(),this.renderListHeader(),this.renderVideos()}}])&&V(i.prototype,C),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,C}(s.Q.G7)},13809:function(e,t,i){"use strict";i.d(t,{UC:function(){return n.U}});var n=i(58688);i(19969),i(14898)},80867:function(e,t,i){"use strict";i.d(t,{Y:function(){return E}});var n=i(31647),o=i(52076),r=i(70065),s=i(50028),a=i(80758),c=i(10101),l=i(58688),u=i(37071),p=i(57098),d=i(29457),h=i(25887),f=i(30606),v=i.n(f);function y(e){return y="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},y(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function b(e,t,i){return t&&m(e.prototype,t),i&&m(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e){var t=function(e){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=y(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:t+""}function C(e,t,i){return t=O(t),function(e,t){if(t&&("object"==y(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,S()?Reflect.construct(t,i||[],O(e).constructor):t.apply(e,i))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}var T=function(e){function t(e){return g(this,t),C(this,t,[e])}return V(t,e),b(t,[{key:"name",get:function(){return"VideoItemListComponent"}},{key:"childView",get:function(){return u.j}},{key:"childViewOptions",get:function(){var e=this;return function(t,i){return{componentType:t.get("status")===s.X.Processing?l.U.ProcessingVideo:e.options.videoItemComponentType,videoWithMetadata:e.options.videosWithMetadata&&e.options.videosWithMetadata.get(t.get("id")),allowBulk:e.options.allowBulk,collectionIdentifier:e.options.collectionIdentifier,application:e.options.application,pendingItems:e.options.pendingItems,config:e.options.config,sourceMetadataOptions:e.options.sourceMetadataOptions,collectionViewChannel:e.options.collectionViewChannel,customerHasLocalCache:e.options.customerHasLocalCache,customerHasExchange:e.options.customerHasExchange,customerHasCustomLibrary:e.options.customerHasCustomLibrary,analyticsOptions:e.options.analyticsOptions,videoCollectionSource:e.options.videoCollectionSource,currentUser:e.options.currentUser,playerApiUrl:e.options.playerApiUrl,createViewKey:e.options.createViewKey,isLastItem:!e.options.hasCursors&&i===e.collection.length-1,libraries:e.options.libraries,products:e.options.products}}}}])}(n.Q.$W),E=function(e){function t(e){return g(this,t),C(this,t,[e])}return V(t,e),b(t,[{key:"name",get:function(){return"VideoListView"}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"template",get:function(){return v()}},{key:"defaults",get:function(){return{videoItemComponentType:l.U.Base,allowBulk:!1,emptyState:d.ub.Default,videoCollectionSource:h.x_.Folder}}},{key:"behaviors",get:function(){var e=[{behaviorClass:c.Im,selector:".lazy-img",minBrowserSupportVersion:p.v9}];return this.options.showEmptyState&&e.push({behaviorClass:a.o,region:"videos",type:this.options.emptyStateType,componentOptions:this.options.emptyStateOptions,emptyStateComponents:p.aW}),e}},{key:"regions",value:function(){return{videos:".videos-region"}}},{key:"onRender",value:function(){var e=new T({collection:this.collection,videosWithMetadata:this.options.videosWithMetadata,videoItemComponentType:this.options.videoItemComponentType,allowBulk:this.options.allowBulk,collectionIdentifier:this.collectionIdentifier,application:this.options.application,pendingItems:this.options.pendingItems,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,customerHasCustomLibrary:this.options.customerHasCustomLibrary,analyticsOptions:o.k.mergeOptions(this.options.analyticsOptions,{location:r.LZ.VideoListItem,entity:r.py.Video}),videoCollectionSource:this.options.videoCollectionSource,currentUser:this.options.currentUser,playerApiUrl:this.options.playerApiUrl,createViewKey:this.options.createViewKey,hasCursors:this.options.hasCursors,libraries:this.options.libraries,products:this.options.products});this.showChildView("videos",e)}}])}(n.Q.wA)},71010:function(e,t,i){var n=i(32227);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,i,n,o){var r;return e.propertyIsEnumerable,'<div class="header-region"></div>\n<div class="left-nav-region"></div><div class="'+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.contentClass:r,t))+'">\n<div class="list-header-region"></div>\n<div class="video-list-region"></div>\n</div>'},useData:!0})},30606:function(e,t,i){var n=i(32227);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,i,n,o){return'<div class="videos-region"></div>'},useData:!0})}}]);
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[6352],{26328:function(e,t,i){"use strict";i.r(t),i.d(t,{AwaitingReviewView:function(){return P}});var n=i(39479),o=i(21679),r=i(57857),s=i(31647),a=i(70763),c=i(13809),l=i(57098),u=i(29457),p=i(85847),d=i(48404),h=i(19226),f=i(14129),v=i(7572),y=i(46415),g=i(82405),m=i(39090),b=i(29565),w=i(95061),C=i(71010),S=i.n(C);function O(e){return O="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},O(e)}function V(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k(n.key),n)}}function k(e){var t=function(e){if("object"!=O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=O(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==O(t)?t:t+""}function T(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(T=function(){return!!e})()}function E(e){return E=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},E(e)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}var P=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,i){return t=E(t),function(e,t){if(t&&("object"==O(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,T()?Reflect.construct(t,i||[],E(e).constructor):t.apply(e,i))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(t,e),i=t,(C=[{key:"initialize",value:function(){this.bindListeners(),this.contentUpdatesDataService=o.u.getInstance(l.Or.ContentUpdates,this),this.videoDataService=o.u.getInstance(l.Or.Video,this)}},{key:"name",get:function(){return"AwaitingReviewView"}},{key:"title",get:function(){return r.T.getPhrase(this.lang,"title")}},{key:"lang",get:function(){return"contentUpdates.awaitingReview"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){return"bg-white rounded"}},{key:"template",get:function(){return S()}},{key:"regions",value:function(){return{header:{el:".header-region",replaceElement:!0},leftNav:{el:".left-nav-region",replaceElement:!0},listHeader:{el:".list-header-region",replaceElement:!0,partialLoading:u.LP.AwaitingReviewHeader},videos:{el:".video-list-region",replaceElement:!0,partialLoading:u.LP.VideoGroupList}}}},{key:"bindListeners",value:function(){this.listenTo(l.Vk.CONTENT_UPDATES,"".concat(l.M_.VIDEOS_TO_REVIEW,":sync"),this.render),this.listenTo(l.Vk.CONTENT_UPDATES,"".concat(l.M_.LIBRARY_REVIEW_SETTINGS,":sync"),this.render),this.listenTo(l.Vk.CONTENT_UPDATES,"".concat(l.M_.LIBRARY_REVIEW_SETTINGS,":error"),this.render),this.listenTo(l.Vk.RESTRICTED_VIDEO,"".concat(l.M_.VIDEOS_TO_REVIEW,":invalidate"),this.fetchVideos),this.listenTo(this.channelName,"approve:all",this.approveAllVideos),this.listenTo(this.channelName,"fetch:video:with:metadata",this.fetchVideoWithMetadata)}},{key:"approveAllVideos",value:function(){this.contentUpdatesDataService.approveAllVideos(n.bind(this.fetchVideos,this))}},{key:"redirectToPastReleases",value:function(){s.Q.C$.trigger({application:l.OV.CONTENT_UPDATES,action:l.eX.ContentUpdates.PAST_RELEASES},{replace:!0})}},{key:"getContentClassName",value:function(){var e="".concat(b.Z.content," border-start ").concat(b.Z.contentWithLeftNav);return this.videoCollection&&!this.videoCollection.length?e+=" d-inline-flex justify-content-center align-items-center":e+=" d-inline-block",e}},{key:"setVideosWithMetadata",value:function(){this.videoCollection&&!this.videosWithMetadata&&(this.videosWithMetadata=new a.t(this.videoCollection.map((function(e){return new p.n({id:e.get("id")})}))))}},{key:"renderHeader",value:function(){this.reviewSetting?this.showChildView("header",new v.u({activeTab:m.JI.AwaitingReview,reviewEnabled:this.reviewSetting.get("reviewPeriod")})):this.renderPartialLoading("header")}},{key:"renderLeftNav",value:function(){this.reviewSetting&&this.showChildView("leftNav",new y.m({supportSiteUrl:this.config.get("supportSiteUrl"),currentUser:this.currentUser}))}},{key:"renderListHeader",value:function(){this.videoCollection?this.videoCollection.length&&this.showChildView("listHeader",new f.U({collection:this.videoCollection,channelName:this.channelName})):this.renderPartialLoading("listHeader")}},{key:"renderVideos",value:function(){this.groupedVideoCollection?this.showChildView("videos",new g.D({collection:this.groupedVideoCollection,childOptions:{videoItemComponentType:c.UC.AwaitingReview,videosWithMetadata:this.videosWithMetadata,config:this.config,collectionViewChannel:this.channelName,currentUser:this.currentUser,libraries:this.libraries},emptyStateType:u.ub.AwaitingReview,emptyStateOptions:{heading:r.T.getPhrase(this.lang,"emptyStateHeading"),description:r.T.getPhrase(this.lang,"emptyStateDescription",{classNames:"disable-review info-link"})}})):this.renderPartialLoading("videos")}},{key:"fetchVideos",value:function(){this.videoCollection=this.contentUpdatesDataService.getVideosToReview(),this.videoCollection&&(this.setVideosWithMetadata(),this.groupedVideoCollection=m.hp.groupVideosByHostedLibrary(this.videoCollection))}},{key:"fetchVideoWithMetadata",value:function(e){var t=this;this.videoDataService.getVideo(e,(function(i){var n=t.videosWithMetadata.get(e);n&&(n.set(i.toJSON()),n.set({dataFetched:!0}))}))}},{key:"requiredResources",get:function(){return{config:d.p.config,currentUser:h.K.currentUser,libraries:w.T.libraries}}},{key:"onBeforeRender",value:function(){this.reviewSetting=this.contentUpdatesDataService.getLibraryReviewSettings(),this.fetchVideos(),this.reviewSetting&&!this.reviewSetting.get("reviewPeriod")&&this.redirectToPastReleases()}},{key:"viewOptions",value:function(){return{contentClass:this.getContentClassName()}}},{key:"onRender",value:function(){this.renderHeader(),this.renderLeftNav(),this.renderListHeader(),this.renderVideos()}}])&&V(i.prototype,C),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,C}(s.Q.G7)},13809:function(e,t,i){"use strict";i.d(t,{UC:function(){return n.U}});var n=i(58688);i(19969),i(14898)},80867:function(e,t,i){"use strict";i.d(t,{Y:function(){return E}});var n=i(31647),o=i(52076),r=i(70065),s=i(50028),a=i(80758),c=i(10101),l=i(58688),u=i(37071),p=i(57098),d=i(29457),h=i(25887),f=i(30606),v=i.n(f);function y(e){return y="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},y(e)}function g(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function m(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,w(n.key),n)}}function b(e,t,i){return t&&m(e.prototype,t),i&&m(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e}function w(e){var t=function(e){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var i=t.call(e,"string");if("object"!=y(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:t+""}function C(e,t,i){return t=O(t),function(e,t){if(t&&("object"==y(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,S()?Reflect.construct(t,i||[],O(e).constructor):t.apply(e,i))}function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(S=function(){return!!e})()}function O(e){return O=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},O(e)}function V(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&k(e,t)}function k(e,t){return k=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},k(e,t)}var T=function(e){function t(e){return g(this,t),C(this,t,[e])}return V(t,e),b(t,[{key:"name",get:function(){return"VideoItemListComponent"}},{key:"childView",get:function(){return u.j}},{key:"childViewOptions",get:function(){var e=this;return function(t,i){return{componentType:t.get("status")===s.X.Processing?l.U.ProcessingVideo:e.options.videoItemComponentType,videoWithMetadata:e.options.videosWithMetadata&&e.options.videosWithMetadata.get(t.get("id")),allowBulk:e.options.allowBulk,collectionIdentifier:e.options.collectionIdentifier,application:e.options.application,pendingItems:e.options.pendingItems,config:e.options.config,sourceMetadataOptions:e.options.sourceMetadataOptions,collectionViewChannel:e.options.collectionViewChannel,customerHasLocalCache:e.options.customerHasLocalCache,customerHasExchange:e.options.customerHasExchange,customerHasCustomLibrary:e.options.customerHasCustomLibrary,analyticsOptions:e.options.analyticsOptions,videoCollectionSource:e.options.videoCollectionSource,currentUser:e.options.currentUser,playerApiUrl:e.options.playerApiUrl,createViewKey:e.options.createViewKey,isLastItem:!e.options.hasCursors&&i===e.collection.length-1,libraries:e.options.libraries,products:e.options.products}}}}])}(n.Q.$W),E=function(e){function t(e){return g(this,t),C(this,t,[e])}return V(t,e),b(t,[{key:"name",get:function(){return"VideoListView"}},{key:"props",get:function(){return["collectionIdentifier"]}},{key:"template",get:function(){return v()}},{key:"defaults",get:function(){return{videoItemComponentType:l.U.Base,allowBulk:!1,emptyState:d.ub.Default,videoCollectionSource:h.x_.Folder}}},{key:"behaviors",get:function(){var e=[{behaviorClass:c.Im,selector:".lazy-img",minBrowserSupportVersion:p.v9}];return this.options.showEmptyState&&e.push({behaviorClass:a.o,region:"videos",type:this.options.emptyStateType,componentOptions:this.options.emptyStateOptions,emptyStateComponents:p.aW}),e}},{key:"regions",value:function(){return{videos:".videos-region"}}},{key:"onRender",value:function(){var e=new T({collection:this.collection,videosWithMetadata:this.options.videosWithMetadata,videoItemComponentType:this.options.videoItemComponentType,allowBulk:this.options.allowBulk,collectionIdentifier:this.collectionIdentifier,application:this.options.application,pendingItems:this.options.pendingItems,config:this.options.config,sourceMetadataOptions:this.options.sourceMetadataOptions,collectionViewChannel:this.options.collectionViewChannel,customerHasLocalCache:this.options.customerHasLocalCache,customerHasExchange:this.options.customerHasExchange,customerHasCustomLibrary:this.options.customerHasCustomLibrary,analyticsOptions:o.k.mergeOptions(this.options.analyticsOptions,{location:r.LZ.VideoListItem,entity:r.py.Video}),videoCollectionSource:this.options.videoCollectionSource,currentUser:this.options.currentUser,playerApiUrl:this.options.playerApiUrl,createViewKey:this.options.createViewKey,hasCursors:this.options.hasCursors,libraries:this.options.libraries,products:this.options.products});this.showChildView("videos",e)}}])}(n.Q.wA)},71010:function(e,t,i){var n=i(32227);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,i,n,o){var r;return e.propertyIsEnumerable,'<div class="header-region"></div>\n<div class="left-nav-region"></div><div class="'+e.escapeExpression(e.lambda(null!=(r=null!=t?t.options:t)?r.contentClass:r,t))+'">\n<div class="list-header-region"></div>\n<div class="video-list-region"></div>\n</div>'},useData:!0})},30606:function(e,t,i){var n=i(32227);e.exports=(n.default||n).template({compiler:[8,">= 4.3.0"],main:function(e,t,i,n,o){return'<div class="videos-region"></div>'},useData:!0})}}]);
@@ -1 +1 @@
1
- (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[7002],{24828:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var o=["bg-pink","bg-orange"].concat(["bg-green","bg-cyan","bg-teal","bg-blue","bg-indigo","bg-purple"])},22231:function(t,e,n){"use strict";function o(t,e){return e[t.charCodeAt(0)%e.length]}n.d(e,{x:function(){return o}})},91439:function(t,e,n){"use strict";n.d(e,{u:function(){return h}});var o=n(48088),r=n(39479),i=n(31647),a=n(63791),c=n(57098),l=n(93421),u="C8gyn";function s(t){return s="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},s(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,f(o.key),o)}}function f(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(y=function(){return!!t})()}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function b(t,e){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},b(t,e)}var h=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=d(e),function(t,e){if(e&&("object"==s(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)}(t,y()?Reflect.construct(e,n||[],d(t).constructor):e.apply(t,n))}(this,e,arguments)}return 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&&b(t,e)}(e,t),n=e,(i=[{key:"getClassMappings",value:function(){return{"ui-draggable":l.W2.draggable,"ui-draggable-handle":l.W2.handle,"ui-draggable-disabled":l.W2.disabled,"ui-draggable-dragging":l.W2.dragging}}},{key:"helper",value:function(){return new l.ND({text:this.view.model.get("name"),svg:a.Nj.getSvg(a.vn.Folder)}).render().el}},{key:"start",value:function(){o.Radio.channel(c.jr.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(u)}},{key:"stop",value:function(){o.Radio.channel(c.jr.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(u)}},{key:"onRender",value:function(){var t={helper:r.bind(this.helper,this),start:r.bind(this.start,this),stop:r.bind(this.stop,this)};t.classes=this.getClassMappings(),this.view.$el.draggable(r.extend({},l.wc,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&p(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.cg)},6929:function(t,e,n){"use strict";n.d(e,{x:function(){return d}});var o=n(48088),r=n(39479),i=n(31647),a=n(50997),c=n(10454);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 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,s(o.key),o)}}function s(t){var e=function(t){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==l(e)?e:e+""}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var d=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=f(e),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)}(t,p()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}(this,e,arguments)}return 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&&y(t,e)}(e,t),n=e,(i=[{key:"initialize",value:function(){this.listenTo(a.jr.VIDEO_DRAG_DROP,"drag:stop",this.stop),this.listenTo(a.jr.FOLDER_DRAG_DROP,"drag:stop",this.stop)}},{key:"getDroppableElement",value:function(){return this.options.ui?this.view.getUI(this.options.ui):this.$el}},{key:"drop",value:function(){var t=this;r.each(this.options.channelNames,(function(e){o.Radio.channel(e).trigger("drag:drop",t.view.model,t.options.analyticsOptions)}))}},{key:"accept",value:function(){var t=this,e=!1;return r.each(this.options.channelNames,(function(n){!0===o.Radio.channel(n).request("accept",t.view.model)&&(e=!0)})),e||(this.disabledElement=this.getDroppableElement(),this.disabledElement.addClass(c.Z.disabled)),e}},{key:"stop",value:function(){var t;null===(t=this.disabledElement)||void 0===t||t.removeClass(c.Z.disabled)}},{key:"over",value:function(){var t=this;this.isHoveringOver=!0,window.setTimeout((function(){t.isHoveringOver&&t.view.trigger("open:sub:folders",c.Z.active)}),500)}},{key:"out",value:function(){this.isHoveringOver=!1}},{key:"onRender",value:function(){var t={tolerance:"pointer",drop:r.bind(this.drop,this),accept:r.bind(this.accept,this),over:r.bind(this.over,this),out:r.bind(this.out,this)};t.classes={"ui-droppable":c.Z.droppable,"ui-droppable-active":c.Z.active,"ui-droppable-hover":c.Z.hover},this.getDroppableElement().droppable(t)}},{key:"onBeforeDestroy",value:function(){this.getDroppableElement().droppable("instance")&&this.getDroppableElement().droppable("destroy")}}])&&u(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.cg)},87002:function(t,e,n){"use strict";n.d(e,{Y:function(){return w}});var o=n(31647),r=n(70065),i=n(24828),a=n(22231),c=n(50997),l=n(93569),u=n(91439),s=(n(98001),n(6929)),p=n(51785),f=n(90743),y=n.n(f),d={folder:"cLuIF",actions:"vWWVi"};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 h(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,m(o.key),o)}}function m(t){var e=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==b(e)?e:e+""}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function O(t,e){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},O(t,e)}var w=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=g(e),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)}(t,v()?Reflect.construct(e,n||[],g(t).constructor):e.apply(t,n))}(this,e,[t])}return 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&&O(t,e)}(e,t),n=e,(o=[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"name",get:function(){return"FolderItemComponent"}},{key:"template",get:function(){return y()}},{key:"className",get:function(){return"col-2 p-1 rounded position-relative"}},{key:"appLinks",get:function(){return{a:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}},{key:"regions",value:function(){return{actions:{el:".actions-region",replaceElement:!0}}}},{key:"behaviors",get:function(){return[{behaviorClass:s.x,channelNames:[c.jr.VIDEO_DRAG_DROP,c.jr.FOLDER_DRAG_DROP],analyticsOptions:{location:"library"===this.options.location?r.LZ.LibraryTiles:r.LZ.SubFolderList}},{behaviorClass:u.u}]}},{key:"viewOptions",value:function(){var t=l.jw.createFolderThumbnailUrl(this.model.thumbnail);return{styles:d,imageUrl:t,backgroundColor:(0,a.x)(this.model.get("name"),i.o)}}},{key:"onRender",value:function(){this.showChildView("actions",new p.c({model:this.model,extraClasses:"".concat(d.actions," rounded-circle"),buttonClass:"text-light",analyticsOptions:{location:r.LZ.LibraryTiles},overrideClasses:!0}))}}])&&h(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.wA)},51785:function(t,e,n){"use strict";n.d(e,{c:function(){return D}});var o=n(31647),r=n(63791),i=n(60602),a=n(57857),c=n(52076),l=n(70065),u=n(71641),s=n(57098),p=n(58266),f=n.n(p);function y(t){return y="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},y(t)}function d(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,b(o.key),o)}}function b(t){var e=function(t){if("object"!=y(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==y(e)?e:e+""}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}var g=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=m(e),function(t,e){if(e&&("object"==y(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)}(t,h()?Reflect.construct(e,n||[],m(t).constructor):e.apply(t,n))}(this,e,[t])}return 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)}(e,t),n=e,(r=[{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return f()}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:a.T.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Create,entity:l.py.Folder,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]}},{title:a.T.getPhrase(this.lang,"rename"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Rename,entity:l.py.Folder,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]}},{title:a.T.getPhrase(this.lang,"move"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Move,entity:l.py.Folder,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]}},{title:a.T.getPhrase(this.lang,"editImages"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.EditAssoc,entity:l.py.Folder,workflowPhase:l.eu.Start,descriptor:l.iF.Image}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]}},{title:a.T.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Create,entity:l.py.PDF,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]}},{title:a.T.getPhrase(this.lang,"remove"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Delete,entity:l.py.Folder,workflowPhase:l.eu.Start}),classes:"text-danger",appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]}}]}},{key:"onRender",value:function(){this.showChildView("items",new u.w({analyticsHelper:c.k,displayOptions:{alignment:"end"},channelName:this.channelName,collection:new o.Q.FE(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}}])&&d(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(o.Q.wA),O=n(26704),w=n.n(O);function E(t){return E="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},E(t)}function k(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,j(o.key),o)}}function j(t){var e=function(t){if("object"!=E(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==E(e)?e:e+""}function _(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_=function(){return!!t})()}function P(t){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},P(t)}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}var D=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=P(e),function(t,e){if(e&&("object"==E(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)}(t,_()?Reflect.construct(e,n||[],P(t).constructor):e.apply(t,n))}(this,e,[t])}return 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&&R(t,e)}(e,t),n=e,(o=[{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof i.g)return"position-absolute ".concat(this.options.overrideClasses?"":"zHCsb"," ").concat(this.options.extraClasses," ")}},{key:"template",get:function(){return w()}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"renderFolderActions",value:function(){this.model instanceof i.g&&this.showChildView("items",new g({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof i.g,dropdownClass:"".concat("He1m9"," ").concat(this.options.buttonClass),svg:r.Nj.getSvg(r.vn.More)}}},{key:"onRender",value:function(){this.renderFolderActions()}}])&&k(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.wA)},58266:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="items-region"></div>'},useData:!0})},90743:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,"style=\"background-image: url('"+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+"')\""},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a,c=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,u="function",s=t.escapeExpression,p=t.lambda;return'<a class="rounded d-block text-decoration-none" title="'+s(typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:l)===u?a.call(c,{name:"name",hash:{},data:r}):a)+'">\n <div \n class="'+s(p(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.folder:i,e))+" "+s(p(null!=(i=null!=e?e.options:e)?i.backgroundColor:i,e))+' rounded-top"\n '+(null!=(i=n.if.call(c,null!=(i=null!=e?e.options:e)?i.imageUrl:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'\n ></div>\n <h3 class="font-size-normal fw-semibold mb-0 p-2 bg-white border-start border-end border-bottom rounded-bottom ">\n <span class="text-truncate d-block">'+s(typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:l)===u?a.call(c,{name:"name",hash:{},data:r}):a)+'</span>\n </h3>\n</a>\n<div class="actions-region"></div>'},useData:!0})},26704:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=t.lambda;return'<span data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.dropdownClass:i,e))+' d-inline-block ui-dropdown-toggle">\n '+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'\n</span>\n<div class="items-region"></div>\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.hasActions:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:""},useData:!0})}}]);
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[7002],{24828:function(t,e,n){"use strict";n.d(e,{o:function(){return o}});var o=["bg-pink","bg-orange"].concat(["bg-green","bg-cyan","bg-teal","bg-blue","bg-indigo","bg-purple"])},22231:function(t,e,n){"use strict";function o(t,e){return e[t.charCodeAt(0)%e.length]}n.d(e,{x:function(){return o}})},91439:function(t,e,n){"use strict";n.d(e,{u:function(){return h}});var o=n(48088),r=n(39479),i=n(31647),a=n(63791),c=n(57098),l=n(93421),u="C8gyn";function s(t){return s="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},s(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,f(o.key),o)}}function f(t){var e=function(t){if("object"!=s(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==s(e)?e:e+""}function y(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(y=function(){return!!t})()}function d(t){return d=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},d(t)}function b(t,e){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},b(t,e)}var h=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=d(e),function(t,e){if(e&&("object"==s(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)}(t,y()?Reflect.construct(e,n||[],d(t).constructor):e.apply(t,n))}(this,e,arguments)}return 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&&b(t,e)}(e,t),n=e,(i=[{key:"getClassMappings",value:function(){return{"ui-draggable":l.W2.draggable,"ui-draggable-handle":l.W2.handle,"ui-draggable-disabled":l.W2.disabled,"ui-draggable-dragging":l.W2.dragging}}},{key:"helper",value:function(){return new l.ND({text:this.view.model.get("name"),svg:a.Nj.getSvg(a.vn.Folder)}).render().el}},{key:"start",value:function(){o.Radio.channel(c.jr.FOLDER_DRAG_DROP).trigger("drag:start",this.view.model),this.view.$el.addClass(u)}},{key:"stop",value:function(){o.Radio.channel(c.jr.FOLDER_DRAG_DROP).trigger("drag:stop"),this.view.$el.removeClass(u)}},{key:"onRender",value:function(){var t={helper:r.bind(this.helper,this),start:r.bind(this.start,this),stop:r.bind(this.stop,this)};t.classes=this.getClassMappings(),this.view.$el.draggable(r.extend({},l.wc,t))}},{key:"onBeforeDestroy",value:function(){this.view.$el.draggable("instance")&&this.view.$el.draggable("destroy")}}])&&p(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.cg)},6929:function(t,e,n){"use strict";n.d(e,{x:function(){return d}});var o=n(48088),r=n(39479),i=n(31647),a=n(50997),c=n(10454);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 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,s(o.key),o)}}function s(t){var e=function(t){if("object"!=l(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==l(e)?e:e+""}function p(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(p=function(){return!!t})()}function f(t){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},f(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}var d=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=f(e),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)}(t,p()?Reflect.construct(e,n||[],f(t).constructor):e.apply(t,n))}(this,e,arguments)}return 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&&y(t,e)}(e,t),n=e,(i=[{key:"initialize",value:function(){this.listenTo(a.jr.VIDEO_DRAG_DROP,"drag:stop",this.stop),this.listenTo(a.jr.FOLDER_DRAG_DROP,"drag:stop",this.stop)}},{key:"getDroppableElement",value:function(){return this.options.ui?this.view.getUI(this.options.ui):this.$el}},{key:"drop",value:function(){var t=this;r.each(this.options.channelNames,(function(e){o.Radio.channel(e).trigger("drag:drop",t.view.model,t.options.analyticsOptions)}))}},{key:"accept",value:function(){var t=this,e=!1;return r.each(this.options.channelNames,(function(n){!0===o.Radio.channel(n).request("accept",t.view.model)&&(e=!0)})),e||(this.disabledElement=this.getDroppableElement(),this.disabledElement.addClass(c.Z.disabled)),e}},{key:"stop",value:function(){var t;null===(t=this.disabledElement)||void 0===t||t.removeClass(c.Z.disabled)}},{key:"over",value:function(){var t=this;this.isHoveringOver=!0,window.setTimeout((function(){t.isHoveringOver&&t.view.trigger("open:sub:folders",c.Z.active)}),500)}},{key:"out",value:function(){this.isHoveringOver=!1}},{key:"onRender",value:function(){var t={tolerance:"pointer",drop:r.bind(this.drop,this),accept:r.bind(this.accept,this),over:r.bind(this.over,this),out:r.bind(this.out,this)};t.classes={"ui-droppable":c.Z.droppable,"ui-droppable-active":c.Z.active,"ui-droppable-hover":c.Z.hover},this.getDroppableElement().droppable(t)}},{key:"onBeforeDestroy",value:function(){this.getDroppableElement().droppable("instance")&&this.getDroppableElement().droppable("destroy")}}])&&u(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.cg)},87002:function(t,e,n){"use strict";n.d(e,{Y:function(){return w}});var o=n(31647),r=n(70065),i=n(24828),a=n(22231),c=n(50997),l=n(93569),u=n(91439),s=(n(98001),n(6929)),p=n(51785),f=n(90743),y=n.n(f),d={folder:"cLuIF",actions:"vWWVi"};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 h(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,m(o.key),o)}}function m(t){var e=function(t){if("object"!=b(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=b(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==b(e)?e:e+""}function v(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(v=function(){return!!t})()}function g(t){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},g(t)}function O(t,e){return O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},O(t,e)}var w=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=g(e),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)}(t,v()?Reflect.construct(e,n||[],g(t).constructor):e.apply(t,n))}(this,e,[t])}return 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&&O(t,e)}(e,t),n=e,(o=[{key:"initialize",value:function(){this.listenTo(this.model,"change:name",this.render)}},{key:"name",get:function(){return"FolderItemComponent"}},{key:"template",get:function(){return y()}},{key:"className",get:function(){return"col-2 p-1 rounded position-relative"}},{key:"appLinks",get:function(){return{a:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.FOLDER,args:[this.model.get("id")]}}}},{key:"regions",value:function(){return{actions:{el:".actions-region",replaceElement:!0}}}},{key:"behaviors",get:function(){return[{behaviorClass:s.x,channelNames:[c.jr.VIDEO_DRAG_DROP,c.jr.FOLDER_DRAG_DROP],analyticsOptions:{location:"library"===this.options.location?r.LZ.LibraryTiles:r.LZ.SubFolderList}},{behaviorClass:u.u}]}},{key:"viewOptions",value:function(){var t=l.jw.createFolderThumbnailUrl(this.model.thumbnail);return{styles:d,imageUrl:t,backgroundColor:(0,a.x)(this.model.get("name"),i.o)}}},{key:"onRender",value:function(){this.showChildView("actions",new p.c({model:this.model,extraClasses:"".concat(d.actions," rounded-circle"),buttonClass:"text-light",analyticsOptions:{location:r.LZ.LibraryTiles},overrideClasses:!0}))}}])&&h(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.wA)},51785:function(t,e,n){"use strict";n.d(e,{c:function(){return D}});var o=n(31647),r=n(63791),i=n(60602),a=n(57857),c=n(52076),l=n(70065),u=n(71641),s=n(57098),p=n(58266),f=n.n(p);function y(t){return y="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},y(t)}function d(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,b(o.key),o)}}function b(t){var e=function(t){if("object"!=y(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==y(e)?e:e+""}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function v(t,e){return v=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},v(t,e)}var g=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=m(e),function(t,e){if(e&&("object"==y(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)}(t,h()?Reflect.construct(e,n||[],m(t).constructor):e.apply(t,n))}(this,e,[t])}return 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)}(e,t),n=e,(r=[{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return f()}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:a.T.getPhrase(this.lang,"addSubfolder"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Create,entity:l.py.Folder,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"rename"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Rename,entity:l.py.Folder,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"move"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Move,entity:l.py.Folder,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"editImages"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.EditAssoc,entity:l.py.Folder,workflowPhase:l.eu.Start,descriptor:l.iF.Image}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"generatePdf"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Create,entity:l.py.PDF,workflowPhase:l.eu.Start}),appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"remove"),analyticsOptions:c.k.mergeOptions(this.options.analyticsOptions,{actionType:l.Vw.Delete,entity:l.py.Folder,workflowPhase:l.eu.Start}),classes:"text-danger",appLink:{application:s.OV.LIBRARY_EDITOR,action:s.eX.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]},stopPropagation:!0}]}},{key:"onRender",value:function(){this.showChildView("items",new u.w({analyticsHelper:c.k,displayOptions:{alignment:"end"},channelName:this.channelName,collection:new o.Q.FE(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}}])&&d(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(o.Q.wA),O=n(26704),w=n.n(O);function E(t){return E="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},E(t)}function k(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){if("object"!=E(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=E(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==E(e)?e:e+""}function j(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(j=function(){return!!t})()}function _(t){return _=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_(t)}function R(t,e){return R=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},R(t,e)}var D=function(t){function e(t){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e,n){return e=_(e),function(t,e){if(e&&("object"==E(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)}(t,j()?Reflect.construct(e,n||[],_(t).constructor):e.apply(t,n))}(this,e,[t])}return 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&&R(t,e)}(e,t),n=e,(o=[{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof i.g)return"position-absolute ".concat(this.options.overrideClasses?"":"zHCsb"," ").concat(this.options.extraClasses," ")}},{key:"template",get:function(){return w()}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"renderFolderActions",value:function(){this.model instanceof i.g&&this.showChildView("items",new g({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof i.g,dropdownClass:"".concat("He1m9"," ").concat(this.options.buttonClass),svg:r.Nj.getSvg(r.vn.More)}}},{key:"onRender",value:function(){this.renderFolderActions()}}])&&k(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.wA)},58266:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){return'<div class="items-region"></div>'},useData:!0})},90743:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,"style=\"background-image: url('"+t.escapeExpression(t.lambda(null!=(i=null!=e?e.options:e)?i.imageUrl:i,e))+"')\""},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a,c=null!=e?e:t.nullContext||{},l=t.hooks.helperMissing,u="function",s=t.escapeExpression,p=t.lambda;return'<a class="rounded d-block text-decoration-none" title="'+s(typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:l)===u?a.call(c,{name:"name",hash:{},data:r}):a)+'">\n <div \n class="'+s(p(null!=(i=null!=(i=null!=e?e.options:e)?i.styles:i)?i.folder:i,e))+" "+s(p(null!=(i=null!=e?e.options:e)?i.backgroundColor:i,e))+' rounded-top"\n '+(null!=(i=n.if.call(c,null!=(i=null!=e?e.options:e)?i.imageUrl:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:"")+'\n ></div>\n <h3 class="font-size-normal fw-semibold mb-0 p-2 bg-white border-start border-end border-bottom rounded-bottom ">\n <span class="text-truncate d-block">'+s(typeof(a=null!=(a=n.name||(null!=e?e.name:e))?a:l)===u?a.call(c,{name:"name",hash:{},data:r}):a)+'</span>\n </h3>\n</a>\n<div class="actions-region"></div>'},useData:!0})},26704:function(t,e,n){var o=n(32227);t.exports=(o.default||o).template({1:function(t,e,n,o,r){t.propertyIsEnumerable;var i,a=t.lambda;return'<span data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+t.escapeExpression(a(null!=(i=null!=e?e.options:e)?i.dropdownClass:i,e))+' d-inline-block ui-dropdown-toggle">\n '+(null!=(i=a(null!=(i=null!=e?e.options:e)?i.svg:i,e))?i:"")+'\n</span>\n<div class="items-region"></div>\n'},compiler:[8,">= 4.3.0"],main:function(t,e,n,o,r){var i;return t.propertyIsEnumerable,null!=(i=n.if.call(null!=e?e:t.nullContext||{},null!=(i=null!=e?e.options:e)?i.hasActions:i,{name:"if",hash:{},fn:t.program(1,r,0),inverse:t.noop,data:r}))?i:""},useData:!0})}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_clickview_library_editor=self.webpackChunk_clickview_library_editor||[]).push([[708],{43953:function(e,t,n){"use strict";n.d(t,{J:function(){return b}});var o=n(57857),r=n(31647),i=n(52076),a=n(70065),l=n(63791),s=n(71641),c=n(57098),u=n(8050),p=n.n(u);function f(e){return f="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},f(e)}function y(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,d(o.key),o)}}function d(e){var t=function(e){if("object"!=f(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=f(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==f(t)?t:t+""}function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(h=function(){return!!e})()}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}var b=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=g(t),function(e,t){if(t&&("object"==f(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,h()?Reflect.construct(t,n||[],g(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(t,e),n=t,(u=[{key:"name",get:function(){return"LibraryActionsComponent"}},{key:"template",get:function(){return p()}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"lang",get:function(){return"libraryEditor.libraryActions"}},{key:"className",get:function(){return"position-absolute ".concat("Qgopl"," ").concat(this.options.extraClasses," ")}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle"}}},{key:"regions",value:function(){return{dropdownItems:{replaceElement:!0,el:".items-region"}}}},{key:"getDropdownItems",value:function(){return[{title:o.T.getPhrase(this.lang,"addFolder"),analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:a.Vw.Create,entity:a.py.Folder,workflowPhase:a.eu.Start}),appLink:{application:c.OV.LIBRARY_EDITOR,action:c.eX.Shared.NEW_FOLDER,args:[this.model.get("id")]}},{title:o.T.getPhrase(this.lang,"rename"),analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:a.Vw.Rename,entity:a.py.Library,workflowPhase:a.eu.Start}),appLink:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.RENAME_LIBRARY,args:[this.model.get("id")]}},{title:o.T.getPhrase(this.lang,"libraryRequestSettings"),analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:a.Vw.SetAccess,entity:a.py.Library,workflowPhase:a.eu.Start}),appLink:{application:c.OV.LIBRARY_REQUESTS,action:c.eX.LibraryRequests.LIBRARY_REQUEST_SETTINGS,args:[this.model.get("id")]}},{title:o.T.getPhrase(this.lang,"remove"),analyticsOptions:i.k.mergeOptions(this.options.analyticsOptions,{actionType:a.Vw.Delete,entity:a.py.Library,workflowPhase:a.eu.Start}),appLink:{application:c.OV.LIBRARY_EDITOR,action:c.eX.LibraryEditor.DELETE_LIBRARY,args:[this.model.get("id")]},classes:"text-danger"}]}},{key:"viewOptions",value:function(){return{dropdownClass:"".concat("AAIc2"," ").concat(this.options.buttonClass),svg:l.Nj.getSvg(l.vn.More)}}},{key:"onRender",value:function(){var e;(null===(e=this.model)||void 0===e?void 0:e.get("id"))&&(this.showChildView("dropdownItems",new s.w({analyticsHelper:i.k,displayOptions:{alignment:"end"},channelName:this.channelName,collection:new r.Q.FE(this.getDropdownItems())})),this.getUI("dropdownToggle").dropdown())}}])&&y(n.prototype,u),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,u}(r.Q.wA)},51785:function(e,t,n){"use strict";n.d(t,{c:function(){return P}});var o=n(31647),r=n(63791),i=n(60602),a=n(57857),l=n(52076),s=n(70065),c=n(71641),u=n(57098),p=n(58266),f=n.n(p);function y(e){return y="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},y(e)}function d(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,h(o.key),o)}}function h(e){var t=function(e){if("object"!=y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==y(t)?t:t+""}function g(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(g=function(){return!!e})()}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}var v=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=m(t),function(e,t){if(t&&("object"==y(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,g()?Reflect.construct(t,n||[],m(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}(t,e),n=t,(r=[{key:"name",get:function(){return"FolderActionsDropdownComponent"}},{key:"template",get:function(){return f()}},{key:"lang",get:function(){return"libraryEditor.folderActionsDropdown"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"regions",value:function(){return{items:{el:".items-region",replaceElement:!0}}}},{key:"getFolderActions",value:function(){return[{title:a.T.getPhrase(this.lang,"addSubfolder"),analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{actionType:s.Vw.Create,entity:s.py.Folder,workflowPhase:s.eu.Start}),appLink:{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.NEW_SUB_FOLDER,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"rename"),analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{actionType:s.Vw.Rename,entity:s.py.Folder,workflowPhase:s.eu.Start}),appLink:{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.RENAME_FOLDER,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"move"),analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{actionType:s.Vw.Move,entity:s.py.Folder,workflowPhase:s.eu.Start}),appLink:{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.MOVE_FOLDER,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"editImages"),analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{actionType:s.Vw.EditAssoc,entity:s.py.Folder,workflowPhase:s.eu.Start,descriptor:s.iF.Image}),appLink:{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.EDIT_FOLDER_IMAGES,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"generatePdf"),analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{actionType:s.Vw.Create,entity:s.py.PDF,workflowPhase:s.eu.Start}),appLink:{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.GENERATE_PDF,args:[this.model.get("id")]},stopPropagation:!0},{title:a.T.getPhrase(this.lang,"remove"),analyticsOptions:l.k.mergeOptions(this.options.analyticsOptions,{actionType:s.Vw.Delete,entity:s.py.Folder,workflowPhase:s.eu.Start}),classes:"text-danger",appLink:{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.DELETE_FOLDER,args:[this.model.get("id")]},stopPropagation:!0}]}},{key:"onRender",value:function(){this.showChildView("items",new c.w({analyticsHelper:l.k,displayOptions:{alignment:"end"},channelName:this.channelName,collection:new o.Q.FE(this.getFolderActions()),childOptions:{isDisabled:function(){return this.model.get("disabled")}}}))}}])&&d(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(o.Q.wA),w=n(26704),O=n.n(w);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 E(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,S(o.key),o)}}function S(e){var t=function(e){if("object"!=k(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=k(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==k(t)?t:t+""}function L(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(L=function(){return!!e})()}function R(e){return R=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},R(e)}function _(e,t){return _=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_(e,t)}var P=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=R(t),function(e,t){if(t&&("object"==k(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,L()?Reflect.construct(t,n||[],R(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_(e,t)}(t,e),n=t,(o=[{key:"name",get:function(){return"VideoCollectionActionsComponent"}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"className",get:function(){if(this.model instanceof i.g)return"position-absolute ".concat(this.options.overrideClasses?"":"zHCsb"," ").concat(this.options.extraClasses," ")}},{key:"template",get:function(){return O()}},{key:"regions",value:function(){return{items:{replaceElement:!0,el:".items-region"}}}},{key:"renderFolderActions",value:function(){this.model instanceof i.g&&this.showChildView("items",new v({model:this.model,analyticsOptions:this.options.analyticsOptions}))}},{key:"viewOptions",value:function(){return{hasActions:this.model instanceof i.g,dropdownClass:"".concat("He1m9"," ").concat(this.options.buttonClass),svg:r.Nj.getSvg(r.vn.More)}}},{key:"onRender",value:function(){this.renderFolderActions()}}])&&E(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(o.Q.wA)},43:function(e,t,n){"use strict";n.r(t),n.d(t,{LeftNavigationView:function(){return se}});var o=n(21679),r=n(99249),i=n(31647),a=n(52076),l=n(70065),s=n(36357),c=n(63791),u=n(57098),p=n(14177),f=n(33800),y=n(29457),d=n(48404),h=n(19226),g=n(48088),m=n(57857),b=n(88483),v=n(50997),w=n(71641),O=n(41238),k=n.n(O),E={imageContainer:"mh27r",imageMask:"aklBj",dropdownContainer:"tqZpr",dropdownButton:"aTbSF",image:"V_4dx",addCrest:"zD8lx",plusSvg:"gYx3Z"};function S(e){return S="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},S(e)}function L(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,R(o.key),o)}}function R(e){var t=function(e){if("object"!=S(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=S(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==S(t)?t:t+""}function _(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(_=function(){return!!e})()}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function T(e,t){return T=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},T(e,t)}var j=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=P(t),function(e,t){if(t&&("object"==S(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,_()?Reflect.construct(t,n||[],P(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&T(e,t)}(t,e),o=t,r=[{key:"initialize",value:function(){var e=this;this.listenTo(this.options.channelName,"upload:logo",(function(){a.k.logUserAction({},e.getAnalyticsOptions("create"))}))}},{key:"name",get:function(){return"CustomerLogoComponent"}},{key:"template",get:function(){return k()}},{key:"lang",get:function(){return"libraryEditor.customerLogo"}},{key:"className",get:function(){return"text-center p-3 position-relative"}},{key:"elements",get:function(){return{dropdownToggle:".ui-dropdown-toggle"}}},{key:"regions",value:function(){return{options:{replaceElement:!0,el:".options-region"}}}},{key:"events",value:function(){return e={},n="onClickAddLogo",(t=R(t="click .".concat(E.addCrest)))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var e,t,n}},{key:"behaviors",get:function(){var e=this;return[{behaviorClass:v.YR,channelName:this.options.channelName,eventName:"upload:logo",buttonSelector:".upload-logo",imageType:b.__.Logos,saveImage:function(t){Promise.all([n.e(2802),n.e(1934),n.e(7153),n.e(5524)]).then(n.bind(n,24365)).then((function(n){n.CropperHelper.renderCropper({src:t,alt:"",onClickCrop:function(t,n){g.Radio.channel(e.options.channelName).trigger("upload:image",t),e.listenToOnce(v.Vk.CUSTOMER,"".concat(v.M_.CREATE_LOGO,":sync"),n)},imageType:b.__.Logos,popupSize:"md"})}))}}]}},{key:"onClickAddLogo",value:function(){a.k.logUserAction({},this.getAnalyticsOptions("create"))}},{key:"getCustomerLogoActions",value:function(){return[{title:m.T.getPhrase(this.lang,"uploadImage"),channelName:this.options.channelName,eventName:"upload:logo"},{title:m.T.getPhrase(this.lang,"removeImage"),analyticsOptions:this.getAnalyticsOptions("remove"),classes:"text-danger",appLink:{application:v.OV.LIBRARY_EDITOR,action:v.eX.LibraryEditor.REMOVE_LOGO,args:[this.model.get("id"),this.options.customerId]}}]}},{key:"getAnalyticsOptions",value:function(e){return{actionType:"create"===e?l.Vw.Create:l.Vw.Remove,entity:l.py.Logo,workflowPhase:l.eu.Start,location:l.LZ.LeftNav,eventVersion:"create"===e?l.eq.V2:l.eq.V1}}},{key:"viewOptions",value:function(){return{styles:E,dropdownSvg:c.Nj.getSvg(c.vn.More),plusSvg:c.Nj.getSvg(c.vn.Plus)}}},{key:"onRender",value:function(){var e;(null===(e=this.model)||void 0===e?void 0:e.get("url"))&&this.showChildView("options",new w.w({analyticsHelper:a.k,displayOptions:{alignment:"start"},channelName:this.options.channelName,collection:new i.Q.FE(this.getCustomerLogoActions())}))}}],r&&L(o.prototype,r),Object.defineProperty(o,"prototype",{writable:!1}),o;var o,r}(i.Q.wA),I=n(95308),C=n(50299),D=n(93569),N=n(6929),x=n(43953),A=n(51785),V=n(99223),B=n.n(V);function M(e){return M="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},M(e)}function F(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,G(o.key),o)}}function Y(e,t,n){return t&&U(e.prototype,t),n&&U(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function G(e){var t=function(e){if("object"!=M(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=M(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==M(t)?t:t+""}function Q(e,t,n){return t=Z(t),function(e,t){if(t&&("object"==M(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,X()?Reflect.construct(t,n||[],Z(e).constructor):t.apply(e,n))}function X(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(X=function(){return!!e})()}function Z(e){return Z=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Z(e)}function z(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&H(e,t)}function H(e,t){return H=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},H(e,t)}var q="library:left:nav",W=function(e){function t(e){return F(this,t),Q(this,t,[e])}return z(t,e),Y(t,[{key:"initialize",value:function(){var e=this.options.forceOpen||this.options.libraryId&&this.model.get("id").toString()===this.options.libraryId.toString();this.viewModel=r.r.get("".concat(q,":").concat(this.model.get("id"))),this.viewModel.set("open",e),this.viewModel.set("disabled",!1),this.listenTo(this.model,"change:name",this.render),this.options.hasMultipleLibraries&&this.listenTo(this,"open:sub:folders",this.onOpenSubFolders),this.videoDragDropService=o.u.getInstance(u.K9.VideoDragDrop,this)}},{key:"name",get:function(){return"LeftNavLibraryComponent"}},{key:"template",get:function(){return B()}},{key:"className",get:function(){return I.Z.libraryContainer}},{key:"behaviors",get:function(){var e=[u.jr.FOLDER_DRAG_DROP];return this.options.hasMultipleLibraries&&e.push(u.jr.VIDEO_DRAG_DROP),[{behaviorClass:N.x,ui:"anchor",channelNames:e,analyticsOptions:{location:l.LZ.LeftNav}}]}},{key:"regions",value:function(){return{folders:{el:".folders-region",replaceElement:!0},actions:{el:".actions-region",replaceElement:!0}}}},{key:"appLinks",get:function(){return{".ui-anchor":{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.LIBRARY,args:[this.model.get("id")]}}}},{key:"events",value:function(){return{"click .library-event":"onClick"}}},{key:"elements",get:function(){return{anchor:".ui-anchor",text:".ui-text"}}},{key:"onClick",value:function(e){this.viewModel.get("open")&&(e.stopImmediatePropagation(),e.preventDefault(),this.viewModel.set("open",!this.viewModel.get("open")),this.render())}},{key:"onOpenSubFolders",value:function(){if(this.videoDragDropService.getDisabledLibraryIds().includes(this.model.get("id")))return this.viewModel.set("disabled",!0),void this.render();this.viewModel.set("open",!0),this.render()}},{key:"hasFolders",value:function(){return!!D.PU.getFirstType(this.model.children,"category")}},{key:"analyticsOptions",get:function(){return{location:l.LZ.LeftNav}}},{key:"viewOptions",value:function(){return{styles:I.Z,caretSvg:c.Nj.getSvg(c.vn.Caret),open:this.viewModel.get("open"),hasFolders:this.hasFolders(),disabled:this.viewModel.get("disabled")}}},{key:"onRender",value:function(){this.showChildView("actions",new x.J({model:this.model,extraClasses:"rounded-circle me-1 ".concat(I.Z.actions),buttonClass:"text-secondary",analyticsOptions:this.analyticsOptions})),this.model.children&&this.model.children.length&&this.viewModel.get("open")&&this.showChildView("folders",new C.J({appLink:{action:u.eX.LibraryEditor.FOLDER,application:u.OV.LIBRARY_EDITOR},linkArgs:function(e){return[e.get("id")]},collection:this.model.children,channelName:"".concat(this.cid),childrenProperty:"children",actions:A.c,folderTreeId:this.options.folderTreeId,analyticsOptions:this.analyticsOptions}))}}])}(i.Q.wA),$=function(e){function t(e){return F(this,t),Q(this,t,[e])}return z(t,e),Y(t,[{key:"name",get:function(){return"LeftNavLibrariesComponent"}},{key:"childView",get:function(){return W}},{key:"childViewOptions",get:function(){return{channelName:this.options.channelName,libraryId:this.options.libraryId,folderTreeId:this.options.folderTreeId,forceOpen:this.options.forceOpen,hasMultipleLibraries:this.collection.length>1}}}])}(i.Q.$W),J=n(95061),K=n(32122),ee=n.n(K),te={addLibrary:"ii_E8",addLibraryContainer:"WroNW",plus:"zhT_f"};function ne(e){return ne="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},ne(e)}function oe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,re(o.key),o)}}function re(e){var t=function(e){if("object"!=ne(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ne(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ne(t)?t:t+""}function ie(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(ie=function(){return!!e})()}function ae(e){return ae=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ae(e)}function le(e,t){return le=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},le(e,t)}var se=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=ae(t),function(e,t){if(t&&("object"==ne(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,ie()?Reflect.construct(t,n||[],ae(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&le(e,t)}(t,e),n=t,(i=[{key:"initialize",value:function(){this.bindListeners(),this.settingsDataService=o.u.getInstance(f.O.Settings,this),this.imageUploadDataService=o.u.getInstance(f.O.ImageUpload,this),this.customerDataService=o.u.getInstance(f.O.Customer,this)}},{key:"bindListeners",value:function(){this.listenTo(this.channelName,"select:library",this.onSelectLibrary),this.listenTo(this.channelName,"upload:image",this.onUploadLogo),this.listenTo(u.Vk.LIBRARY,"cache:cleared",this.fetchData),this.listenTo(u.jr.FOLDER_DRAG_DROP,"re:render:left:nav",this.render),this.listenTo(u.Vk.SETTINGS,"".concat(u.M_.CUSTOMER_SETTINGS,":sync ").concat(u.M_.USER_SETTINGS,":sync"),this.render),this.listenTo(u.Vk.CUSTOMER,"".concat(u.M_.LOGO,":sync ").concat(u.M_.LOGO,":invalidate"),this.render)}},{key:"name",get:function(){return"LeftNavigationView"}},{key:"title",get:function(){return!1}},{key:"channelName",get:function(){return"".concat(this.name).concat(this.cid)}},{key:"lang",get:function(){return"libraryEditor.leftNavigation"}},{key:"className",get:function(){return"bg-white pb-3"}},{key:"template",get:function(){return ee()}},{key:"regions",value:function(){return{logo:{el:".logo-region",replaceElement:!1},folderTree:{el:".folder-tree-region",replaceElement:!1,partialLoading:y.LP.LeftNav}}}},{key:"events",value:function(){return{"click .new-folder":"newFolder"}}},{key:"appLinks",get:function(){return{".applink-new-library":{application:u.OV.LIBRARY_EDITOR,action:u.eX.LibraryEditor.NEW_LIBRARY}}}},{key:"fetchData",value:function(){this.maxCustomLibraries=this.settingsDataService.getSetting(this.currentUser.get("customerId"),s.E.MaxCustomLibraries),this.customerLogo=this.customerDataService.getLogo(this.currentUser.get("customerId"))}},{key:"onSelectLibrary",value:function(e){this.collection.each((function(t){r.r.get("".concat(q,":").concat(t.id)).set("open",t.id.toString()===e)})),this.render()}},{key:"onUploadLogo",value:function(e){var t=this;this.imageUploadDataService.uploadBase64Image(e,y.__.Logos,(function(e){return t.onImageUploaded(e)}))}},{key:"onImageUploaded",value:function(e){this.customerDataService.createLogo(this.currentUser.get("customerId"),e.get("id"),e.get("fileIdType"),(function(e){a.k.logUserAction({id:e.get("id")},{location:l.LZ.LeftNav,actionType:l.Vw.Create,entity:l.py.Logo,workflowPhase:l.eu.Complete,eventVersion:l.eq.V2})}))}},{key:"renderLogo",value:function(){this.showChildView("logo",new j({model:this.customerLogo,customerId:this.currentUser.get("customerId"),channelName:this.channelName}))}},{key:"renderLeftNav",value:function(){var e=new $({collection:this.collection,channelName:this.channelName,libraryId:this.options.libraryId,folderTreeId:p.J.LIBRARY_EDITOR,forceOpen:1===this.collection.length});this.showChildView("folderTree",e)}},{key:"requiredResources",get:function(){return{currentUser:h.K.currentUser,config:d.p.config,collection:J.T.libraries}}},{key:"onBeforeRender",value:function(){return this.fetchData(),!!this.maxCustomLibraries}},{key:"viewOptions",value:function(){if(this.collection)return{styles:te,plusSvg:c.Nj.getSvg(c.vn.Plus),canCreateLibraries:!!this.maxCustomLibraries&&this.maxCustomLibraries.get("value")>this.collection.length}}},{key:"onRender",value:function(){this.renderLogo(),this.renderLeftNav()}}])&&oe(n.prototype,i),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,i}(i.Q.G7)},71641:function(e,t,n){"use strict";n.d(t,{w:function(){return f}});var o=n(39479),r=n(31647),i=n(55142);function a(e){return a="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},a(e)}function l(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,s(o.key),o)}}function s(e){var t=function(e){if("object"!=a(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a(t)?t:t+""}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var f=function(e){function t(e){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=u(t),function(e,t){if(t&&("object"==a(t)||"function"==typeof t))return t;if(void 0!==t)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)}(e,c()?Reflect.construct(t,n||[],u(e).constructor):t.apply(e,n))}(this,t,[e])}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),n=t,r=[{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 i.N}},{key:"childViewOptions",get:function(){var e={channelName:this.options.channelName,analyticsHelper:this.options.analyticsHelper};return o.extend(e,this.options.childOptions)}},{key:"getExtraClasses",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.alignment,n=void 0===t?"left":t,o=e.extraClasses,r="dropdown-menu-".concat(n);return o&&(r="".concat(r," ").concat(o)),r}},{key:"centerSelectedItem",value:function(){var e=this.$el.find(".active");if(e.length){var t=this.$el.scrollTop()+e.position().top,n=.5*this.$el.height()+.5*e.height();this.$el.scrollTop(t-n)}}}],r&&l(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Q.$W)},41238:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.lambda,s=e.escapeExpression;return'<a class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.imageContainer:i,t))+' mx-auto d-block">\n <div class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.imageMask:i,t))+' rounded-3"></div>\n\n <div class="position-absolute text-white '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.dropdownContainer:i,t))+'">\n <span data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.dropdownButton:i,t))+' d-inline-block ui-dropdown-toggle">\n '+(null!=(i=l(null!=(i=null!=t?t.options:t)?i.dropdownSvg:i,t))?i:"")+'\n </span>\n <div class="options-region"></div>\n </div>\n\n <img src="'+s("function"==typeof(a=null!=(a=n.url||(null!=t?t.url:t))?a:e.hooks.helperMissing)?a.call(null!=t?t:e.nullContext||{},{name:"url",hash:{},data:r}):a)+'" class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.image:i,t))+' rounded-3"/>\n</a>\n<span class="upload-logo d-none"></span>\n'},3:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'<a class="d-flex flex-column justify-content-center align-items-center mx-auto no-decoration rounded-3 upload-logo '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.addCrest:i,t))+'">\n <div class="'+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.plusSvg:i,t))+'">'+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.plusSvg:i,t))?i:"")+'</div>\n <div class="w-75">'+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"addCrest",{name:"lang",hash:{},data:r}))+"</div>\n</a>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=t?t.url:t,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.program(3,r,0),data:r}))?i:""},useData:!0})},58266:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){return'<div class="items-region"></div>'},useData:!0})},99223:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.disabled:i,t))},3:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,e.escapeExpression(e.lambda(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.selected:i,t))},5:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return' <span class="'+e.escapeExpression(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.caret:i,t))+' d-inline-block position-absolute">\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.caretSvg:i,t))?i:"")+"\n </span>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a,l=e.lambda,s=e.escapeExpression,c=null!=t?t:e.nullContext||{};return'<div class="position-relative '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.library:i,t))+" "+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.disabled:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")+'">\n <a class="position-relative library-event '+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.libraryAnchor:i,t))+" "+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.open:i,{name:"if",hash:{},fn:e.program(3,r,0),inverse:e.noop,data:r}))?i:"")+' ui-anchor no-hover-text-underline">\n'+(null!=(i=n.if.call(c,null!=(i=null!=t?t.options:t)?i.hasFolders:i,{name:"if",hash:{},fn:e.program(5,r,0),inverse:e.noop,data:r}))?i:"")+' <span class="'+s(l(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.text:i,t))+' ui-text">'+s("function"==typeof(a=null!=(a=n.name||(null!=t?t.name:t))?a:e.hooks.helperMissing)?a.call(c,{name:"name",hash:{},data:r}):a)+'</span>\n </a>\n <div class="actions-region"></div>\n</div>\n<div class="folders-region"></div>'},useData:!0})},8050:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<span data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+e.escapeExpression(a(null!=(i=null!=t?t.options:t)?i.dropdownClass:i,t))+' d-inline-block ui-dropdown-toggle">\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+'\n</span>\n<div class="items-region"></div>'},useData:!0})},26704:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda;return'<span data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="'+e.escapeExpression(a(null!=(i=null!=t?t.options:t)?i.dropdownClass:i,t))+' d-inline-block ui-dropdown-toggle">\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.svg:i,t))?i:"")+'\n</span>\n<div class="items-region"></div>\n'},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.hasActions:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:""},useData:!0})},32122:function(e,t,n){var o=n(32227);e.exports=(o.default||o).template({1:function(e,t,n,o,r){e.propertyIsEnumerable;var i,a=e.lambda,l=e.escapeExpression;return'<div class="'+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.addLibraryContainer:i,t))+'">\n <button class="applink-new-library btn btn-outline-secondary '+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.addLibrary:i,t))+'">\n <span class="'+l(a(null!=(i=null!=(i=null!=t?t.options:t)?i.styles:i)?i.plus:i,t))+' d-inline-block position-absolute">\n '+(null!=(i=a(null!=(i=null!=t?t.options:t)?i.plusSvg:i,t))?i:"")+"\n </span>\n "+l((n.lang||t&&t.lang||e.hooks.helperMissing).call(null!=t?t:e.nullContext||{},"newLibrary",{name:"lang",hash:{},data:r}))+"\n </button>\n</div>\n"},compiler:[8,">= 4.3.0"],main:function(e,t,n,o,r){var i;return e.propertyIsEnumerable,'<div class="logo-region"></div>\n<div class="folder-tree-region"></div>\n'+(null!=(i=n.if.call(null!=t?t:e.nullContext||{},null!=(i=null!=t?t.options:t)?i.canCreateLibraries:i,{name:"if",hash:{},fn:e.program(1,r,0),inverse:e.noop,data:r}))?i:"")},useData:!0})}}]);