//>>built
require({cache:{"url:mill/jssupport/layout/layoutContent/personInfoPane.html":'\x3cdiv\x3e\x3cdiv class\x3d"menu-logo"\x3e\x3cdiv class\x3d"logo"\x3e\x3c/div\x3e\x3cdiv class\x3d"cabinetTitle"\x3e\u041b\u0438\u0447\u043d\u044b\u0439 \u043a\u0430\u0431\u0438\u043d\u0435\u0442\x3cbr/\x3e\u0430\u0431\u0438\u0442\u0443\u0440\u0438\u0435\u043d\u0442\u0430 \u043c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u044b\x3c/div\x3e\x3cdiv class\x3d"officePersonInfoPaneContent"\x3e\x3cdiv class\x3d"table"\x3e\x3cdiv class\x3d"table-row"\x3e\x3cdiv class\x3d"officePersonInfoPanePhoto table-cell vertical-align-middle" data-dojo-attach-point\x3d"personPhotoNode"\x3e\x3c/div\x3e\x3cdiv class\x3d"table-cell vertical-align-middle padding-0-05em bold"\x3e\x3cdiv data-dojo-attach-point\x3d"loginNode" class\x3d"officePersonInfoPaneLogin"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"fullNameNode" class\x3d"officePersonInfoPaneFullName"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"table-row"\x3e\x3cdiv class\x3d"table-cell"\x3e\x3c/div\x3e\x3cdiv class\x3d"table-cell vertical-align-middle padding-0-05em"\x3e\x3cdiv class\x3d"small margin-05em-0"\x3e\x3cdiv\x3e\x3cdiv data-dojo-type\x3d"office.TranslatableNode" data-dojo-props\x3d"text: \'MagAbitur.PublicServicesPortalRegNumber\', display: \'inline\'"\x3e\x3c/div\x3e\x3cspan\x3e: \x3c/span\x3e\x3cspan class\x3d"bold" data-dojo-attach-point\x3d"publicServicesPortalRegNumberNode"\x3e\x3c/span\x3e\x3c/div\x3e\x3cdiv\x3e\x3cdiv data-dojo-type\x3d"office.TranslatableNode" data-dojo-props\x3d"text: \'MagAbitur.EarlyInvRegNumber\', display: \'inline\'"\x3e\x3c/div\x3e\x3cspan\x3e: \x3c/span\x3e\x3cspan class\x3d"bold" data-dojo-attach-point\x3d"earlyInvRegNumberNode"\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv class\x3d"toggleButton"\x3e\x3ca href\x3d"javascript:" data-dojo-attach-point\x3d"toggleRefNode" data-dojo-attach-event\x3d"onClick: toggle"\x3e\u0421\u043a\u0440\u044b\u0442\u044c\x3c/a\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/layout/layoutContent/PersonInfoPane","dojo/_base/declare dojo/_base/lang dojo/dom-class dojo/dom-style dojo/aspect dojo/window dojo/dom-geometry dojo/topic dijit/_WidgetBase dijit/_TemplatedMixin dijit/_WidgetsInTemplateMixin dojo/text!mill/jssupport/layout/layoutContent/personInfoPane.html mill/jssupport/layout/LayoutContainer mill/mill mill/jssupport/base".split(" "),function(h,w,e,k,l,m,n,p,q,r,t,u,f,b,g){return b.registerAlias("office.view.PersonInfoPane",h("mill.jssupport.layout.layoutContent.PersonInfoPane",
[q,r,t],{baseClass:"officePersonInfoPane hide-on-all",templateString:u,layoutContainerWidget:null,isHidden:null,login:null,fullName:null,publicServicesPortalRegNumber:null,earlyInvRegNumber:null,personPhotoNode:null,loginNode:null,fullNameNode:null,publicServicesPortalRegNumberNode:null,earlyInvRegNumberNode:null,toggleRefNode:null,attributeMap:{login:{node:"loginNode",type:"innerHTML"},fullName:{node:"fullNameNode",type:"innerHTML"},publicServicesPortalRegNumber:{node:"publicServicesPortalRegNumberNode",
type:"innerHTML"},earlyInvRegNumber:{node:"earlyInvRegNumberNode",type:"innerHTML"}},_getLayoutContainerWidgetAttr:function(){if(this.layoutContainerWidget)return this.layoutContainerWidget;for(var a=this;a.domNode&&!a.isInstanceOf(f)&&a.getParent();)a=a.getParent();a.isInstanceOf(f)&&(this.layoutContainerWidget=a);return this.layoutContainerWidget},buildRendering:function(){this.inherited(arguments);e.contains(document.body,"hse")&&e.remove(this.domNode,"hide-on-all")},postCreate:function(){this.inherited(arguments);
l.after(m,"scrollIntoView",function(a){try{var c=n.position(a).y;if(200>=c&&this.get("layoutContainerWidget")){var d=b.fieldValue(this.get("layoutContainerWidget"),"contentPane");d&&d.domNode&&d.domNode.scrollBy(0,c-200)}}catch(v){b.fieldValue(window,"console").error(v)}}.bind(this),!0);p.subscribe("app.onLogon",function(){this.init(this)}.bind(this))},init:function(){var a=window.app.handlerDataByIdent("primaryControlSetData")[0],c=b.fieldValue(a,"PersonalData"),d=b.fieldValue(a,"MagAbiturSt");a=
b.fieldValue(a,"TMagEarlyInvitee")||b.fieldValue(a,"MagEarlyInviteeFirstStageStatus");this.set("login",b.session.userName);this.set("fullName",b.fieldValue(c,"FullName")+"\x26#160;"+b.formatDate(b.fieldValue(c,"BirthDate")));this.set("publicServicesPortalRegNumber",b.fieldValue(d,"SSPVOIdent")||g.getLocalization("MagAbitur.NoPublicServicesPortalRegNumber"));this.set("earlyInvRegNumber",b.fieldValue(a,"RegNumber")||g.getLocalization("MagAbitur.NotRegistered"));b.fieldValue(c,"Photo")&&(c="/"+window.app.handler+
b.fieldValue(c,"PhotoReference").replace("getblob","getblob.jpg").split('"').join("'"),k.set(this.personPhotoNode,{width:"75px",backgroundImage:'url("'+c+'")'}))},toggle:function(){this.isHidden=!this.isHidden;e[this.isHidden?"add":"remove"](this.domNode,"IsHidden");this.toggleRefNode.innerHTML=this.isHidden?"\u041f\u043e\u043a\u0430\u0437\u0430\u0442\u044c":"\u0421\u043a\u0440\u044b\u0442\u044c"}}))});