text: define(function(){"use strict";function a(){}var b=null,c="mediaLanguage",d="mediaDropdownPageSize",e="mediaInfinitePageSize",f="collectionEditListView",g="collectionEditListPagination",h="last-visited-collection";return a.prototype={getMediaLocale:function(){return app.sandbox.sulu.getUserSetting(c)||app.sandbox.sulu.getDefaultContentLocale()},setMediaLocale:function(a){app.sandbox.sulu.saveUserSetting(c,a)},getMediaListView:function(){return app.sandbox.sulu.getUserSetting(f)||"datagrid/decorators/masonry-view"},setMediaListView:function(a){app.sandbox.sulu.saveUserSetting(f,a)},getMediaListPagination:function(){return app.sandbox.sulu.getUserSetting(g)||"infinite-scroll"},setMediaListPagination:function(a){app.sandbox.sulu.saveUserSetting(g,a)},setLastVisitedCollection:function(a){a?app.sandbox.sulu.saveUserSetting(h,a):app.sandbox.sulu.getUserSetting(h)&&app.sandbox.sulu.deleteUserSetting(h)},getLastVisitedCollection:function(){return app.sandbox.sulu.getUserSetting(h)},getDropdownPageSize:function(){return app.sandbox.sulu.getUserSetting(d)||20},getInfinityPageSize:function(){return app.sandbox.sulu.getUserSetting(e)||50}},a.getInstance=function(){return null===b&&(b=new a),b},a.getInstance()});