"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[7176],{4238:function(e,t,n){n.r(t),n.d(t,{default:function(){return i}}),n(5769),n(63238),n(61418),n(17460),n(14078),n(99785);var r=n(53913);function a(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="Photo Player",this.type="mediaplayer",this.id="photoplayer",this.priority=1}var t,i;return t=e,(i=[{key:"play",value:function(e){return new Promise((function(t){Promise.all([n.e(2447),n.e(2971)]).then(n.bind(n,50748)).then((function(n){var a=n.default,i=e.startIndex||0;r.Z.currentApiClient().getCurrentUser().then((function(n){new a({showTitle:!1,cover:!1,items:e.items,startIndex:i,interval:11e3,interactive:!0,autoplay:e.autoplay||e.shuffle,user:n}).show(),t()}))}))}))}},{key:"canPlayMediaType",value:function(e){return"photo"===(e||"").toLowerCase()}}])&&a(t.prototype,i),Object.defineProperty(t,"prototype",{writable:!1}),e}()}}]);