"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[8098],{31161:function(e,t,r){r.r(t),r(5769),r(63238),r(61418),r(17460),r(14078),r(99785);var n=r(53913);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="Backdrop ScreenSaver",this.type="screensaver",this.id="backdropscreensaver",this.supportsAnonymous=!1}var t,s;return t=e,(s=[{key:"show",value:function(){var e=this,t=n.Z.currentApiClient();t.getItems(t.getCurrentUserId(),{ImageTypes:"Backdrop",EnableImageTypes:"Backdrop",IncludeItemTypes:"Movie,Series,MusicArtist",SortBy:"Random",Recursive:!0,Fields:"Taglines",ImageTypeLimit:1,StartIndex:0,Limit:200}).then((function(t){t.Items.length&&Promise.all([r.e(2447),r.e(2971)]).then(r.bind(r,50748)).then((function(r){var n=new(0,r.default)({showTitle:!0,cover:!0,items:t.Items});n.show(),e.currentSlideshow=n})).catch(console.error)}))}},{key:"hide",value:function(){return this.currentSlideshow&&(this.currentSlideshow.hide(),this.currentSlideshow=null),Promise.resolve()}}])&&i(t.prototype,s),Object.defineProperty(t,"prototype",{writable:!1}),e}();t.default=s}}]);