!function(){"use strict";vare,t={4638:function(e,t,n){varr=n(2541),o=n(376);(0,r.X)("page-history",o.HistoryPage)},1567:function(e,t,n){n.r(t),n.d(t,{ProfileHistoryPage:function(){returnb}}),n(5101),n(3080),n(2004),n(8407),n(6394),n(8288),n(5677),n(2129),n(4655);varr=n(5466),o=n(3074),i=n.n(o),u=n(3613),a=n(8578),l=n(5910),s=n(8556),c=n(6970),f=n(824);functiony(e){return(y="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe})(e)}functionp(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functiond(e,t){return(d=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e})(e,t)}functionh(e,t){return!t||"object"!==y(t)&&"function"!=typeoft?g(e):t}functiong(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}functionm(e){return(m=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)})(e)}varb=function(e){!function(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&&d(e,t)}(b,e);vart,n,o,i,y=(o=b,i=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnBoolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){vare,t=m(o);if(i){varn=m(this).constructor;e=Reflect.construct(t,arguments,n)}elsee=t.apply(this,arguments);returnh(this,e)});functionb(e){vart;returnfunction(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,b),(t=y.call(this,e,"author-history")).state={resultsCount:null},t.getCountFunc=t.getCountFunc.bind(g(t)),t}returnt=b,(n=[{key:"getCountFunc",value:function(e){this.setState({resultsCount:e})}},{key:"pageContent",value:function(){vare=this;return[this.state.author?r.createElement(s.Z,{key:"ProfilePagesHeader",author:this.state.author,type:"history"}):null,this.state.author?r.createElement(c.Z,{key:"ProfilePagesContent"},r.createElement(u.ApiUrlConsumer,null,(function(t){returnr.createElement(l.MediaListWrapper,{title:e.props.title+(null!==e.state.resultsCount?" ("+e.state.resultsCount+")":""),className:"items-list-ver"},r.createElement(f.LazyLoadItemListAsync,{itemsCountCallback:e.getCountFunc,requestUrl:t.user.history,hideAuthor:!a.PageStore.get("config-media-item").displayAuthor,hideViews:!a.PageStore.get("config-media-item").displayViews,hideDate:!a.PageStore.get("config-media-item").displayPublishDate,canEdit:!1}))}))):null]}}])&&p(t.prototype,n),b}(n(4982).a);b.propTypes={title:i().string.isRequired},b.defaultProps={title:"History"}},376:function(e,t,n){varr=this&&this.__createBinding||(Object.create?function(e,t,n,r){void0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){returnt[n]}})}:function(e,t,n,r){void0===r&&(r=n),e[r]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),i=this&&this.__importStar||function(e){if(e&&e.__esModule)returne;vart={};if(null!=e)for(varnine)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);returno(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.HistoryPage=t.AnonymousHistoryPage=void0;varu=i(n(5466)),a=n(3613),l=n(8578),s=n(2546),c=n(473),f=n(5910),y=n(824),p=n(1567),d=n(7637);t.AnonymousHistoryPage=function(e){vart=e.id,n=void0===t?"history-media":t,r=e.title,o=void0===r?l.PageStore.get("config-enabled").pages.history.title:r,i=u.useState(null),s=i[0],c=i[1];returnu.default.createElement(d.Page,{id:n},u.default.createElement(a.ApiUrlConsumer,null,(function(e){returnu.default.createElement(f.