!function(){"use strict";vare={4311:function(e,t,n){vari=n(2667),a=(n(2004),n(8407),n(4458),n(5101),n(9808),n(5466)),o=(n(6116),n(2880)),r=n(1346),l=n(8204),s=(n(4426),n(8349)),u=n(5971),c=n(7801),p=n(2431),m=n(3074),f=n.n(m),d=n(1345);functiony(e){returna.createElement(d.C,{items:e.media,playlistId:e.playlistId,hidePlaylistOptions:e.hidePlaylistOptions,singleLinkContent:!0,hideDate:!0,hideViews:!0,hidePlaylistOrderNumber:!1,horizontalItemsOrientation:!0,itemsCountCallback:e.itemsCountCallback,pageItems:99999,inPlaylistPage:!0})}y.propTypes={media:f().array.isRequired,playlistId:f().string.isRequired,itemsCountCallback:f().func,hidePlaylistOptions:f().bool},y.defaultProps={hidePlaylistOptions:!0};varh=n(7207),v=n(2836),g=n(8420),P=n(2331),b=n(8534),E=n(7823),C=n(3562),k=n(8852);functionO(e){return(O="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(e)}function_(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}functionw(e,t){for(varn=0;n<t.length;n++){vari=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"ini&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}functionR(e,t,n){returnt&&w(e.prototype,t),n&&w(e,n),e}functionZ(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&x(e,t)}functionx(e,t){return(x=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functionS(e){vart=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();returnfunction(){varn,i=I(e);if(t){vara=I(this).constructor;n=Reflect.construct(i,arguments,a)}elsen=i.apply(this,arguments);returnN(this,n)}}functionN(e,t){return!t||"object"!==O(t)&&"function"!=typeoft?D(e):t}functionD(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functionI(e){return(I=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}varL=function(e){Z(n,e);vart=S(n);functionn(e){vari;return_(this,n),(i=t.call(this,e)).state={isOpenMoreOptionsMenu:!1,optionsCurrentPage:"main"},i.onPopupsDisplayChange=i.onPopupsDisplayChange.bind(D(i)),i.onOptionsPageChangeCallback=i.onOptionsPageChangeCallback.bind(D(i)),i.proceedPlaylistRemoval=i.proceedPlaylistRemoval.bind(D(i)),i.cancelPlaylistRemoval=i.cancelPlaylistRemoval.bind(D(i)),i.settingOptionsList={deleteMedia:{itemType:"open-subpage",text:"Delete",icon:"delete",buttonAttr:{className:"change-page","data-page-id":"proceedPlaylistRemovalPopup"}}},i.moreOptionsPages={main:a.createElement(v.W8,null,a.createElement(b.S,{items:[i.settingOptionsList.deleteMedia]})),proceedPlaylistRemovalPopup:a.createElement(v.W8,null,a.createElement("div",{className:"popup-message"},a.createElement("span",{className:"popup-message-title"},"Playlist removal"),a.createElement("span",{className:"popup-message-main"},"You're willing to remove playlist permanently?")),a.createElement("hr",null),a.createElement("span",{className:"popup-message-bottom"},a.createElement("button",{className:"button-link cancel-playlist-removal",onClick:i.cancelPlaylistRemoval},"CANCEL"),a.createElement("button",{className:"button-link proceed-playlist-removal",onClick:i.proceedPlaylistRemoval},"PROCEED")))},i.initMoreOptionsPopup(),i}returnR(n,[{key:"initMoreOptionsPopup",value:function(){this.optionsPopup=newh.Z(a.createElement(p.M,null,a.createElement(P.O,{type:"more_horiz"})),a.createElement(C.o,{pageChangeCallback:this.onOptionsPageChangeCallback,initPage:"main",focusFirstItemOnPageChange:!1,pages:this.moreOptionsPages,pageChangeSelector:".change-page",pageIdSelectorAttr:"data-page-id"})