//>>built
define("mill/jssupport/jsApplication/BaseApplication","dojo/_base/declare dojo/_base/lang dojo/_base/array dojo/dom-construct dojo/parser dijit/_WidgetBase ./_ApplicationBase mill/jssupport/_TranslationMixin mill/jssupport/base mill/jssupport/app mill/jssupport/session mill/mill".split(" "),function(g,e,f,h,k,l,m,n,b,d,p,c){window.xwz=!0;return c.registerAlias("app.BaseApplication",g("mill.jssupport.jsApplication.BaseApplication",[l,m,n],{postCreate:function(){this.inherited(arguments);d.anonymousHandler=
this.anonymousHandler;d.handler=this.handler;d.anonymousDataByIdent=this.anonymousDataByIdent.bind(this);d.combinedTranslationIdent=this.combinedTranslationIdent.bind(this)},initTranslations:function(){b._localizationCache={};f.forEach(this.anonymousDataByIdent("translations"),function(a){b._localizationCache[c.fieldValue(a,"Language$N")]||(b._localizationCache[c.fieldValue(a,"Language$N").toUpperCase()]={});b._localizationCache[c.fieldValue(a,"Language$N").toUpperCase()][c.fieldValue(a,"Owner")]=
c.fieldValue(a,"Translation")});c.local&&(c.local.resources=b._localizationCache[b.locale])},initInternetResources:function(){b._internetResourcesCache={};f.forEach(this.anonymousDataByIdent("internetResources"),function(a){b._internetResourcesCache[c.fieldValue(a,"Name")]=c.fieldValue(a,"Url")})},populatePageTitle:function(){var a=d.getTranslation(this.pageTitle||"CabinetTitle");a&&(window.document.title=a)},translate:function(){this.inherited(arguments);this.populatePageTitle()},startup:function(){this.inherited(arguments);
this.queryApplicationData(function(a){e.mixin(this,a[0].data[0]);e.mixin(d,a[0].data[0])}.bind(this));this.queryAnonymousData();this.initTranslations();this.populatePageTitle();k.parse();this.initInternetResources();b.processInternetResources();h.destroy("loading");e.isFunction(b.checkGDPR)&&b.checkGDPR()}}))});