//>>built
require({cache:{"url:mill/jssupport/layout/carouselView/_layoutScrollSpyItem.html":'\x3cdiv data-dojo-attach-event\x3d"onclick: onClick" onmousedown\x3d"return false"\x3e\x3cdiv data-dojo-attach-point\x3d"itemContainer" class\x3d"officeScrollSpyItemRow"\x3e\x3cdiv class\x3d"officeScrollSpyItemCell"\x3e\x3cspan data-dojo-attach-point\x3d"textNode"\x3e\x3c/span\x3e\x3c/div\x3e\x3cdiv class\x3d"officeScrollSpyItemCell"\x3e\x3cspan class\x3d"icon-set-ctrl2"\x3e\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/layout/carouselView/LayoutScrollSpy","dojo/_base/declare dojo/_base/lang dojo/dom-style dojo/dom-class dojo/window dijit/_WidgetBase dijit/_Container dijit/_TemplatedMixin dojo/text!mill/jssupport/layout/carouselView/_layoutScrollSpyItem.html mill/jssupport/layout/_LayoutMixin mill/jssupport/_TranslationMixin mill/jssupport/base".split(" "),function(c,p,b,f,g,d,h,e,k,l,m,n){c("offce.layout._LayoutScrollSpyItem",[d,e,m],{baseClass:"officeScrollSpyItem",templateString:k,textIdentifier:null,
text:null,textTitle:null,preCompleted:null,completed:null,formContentWidget:null,idx:null,attributeMap:{text:{node:"textNode",type:"innerHTML"},textTitle:{node:"textNode",type:"attribute",attribute:"title"}},postMixInProperties:function(){this.inherited(arguments);this.translatableAttributes={textTitle:this.textIdentifier}},_setPreCompletedAttr:function(a){if(this.preCompleted=a)b.set(this.domNode,{cursor:"pointer"}),b.set(this.itemContainer,{opacity:"1",fontSize:"1.0833em"})},_setCompletedAttr:function(a){if(this.completed=
a)b.set(this.domNode,{cursor:"pointer"}),b.set(this.itemContainer,{opacity:"1",color:"#d4ffd4",fontSize:"1em"})},startup:function(){this.inherited(arguments);this.translate()},translate:function(){this.inherited(arguments);var a=("RU"===n.locale.toUpperCase()?"\u0428\u0430\u0433 ":"Step ")+(this.idx+1).toString();this.set("text",a)},onClick:function(){if(this.completed||this.preCompleted){for(var a=this.formContentWidget;!a.isInstanceOf(office.layout._CarouselViewSlide)&&a.getParent();)a=a.getParent();
a.isInstanceOf(office.layout._CarouselViewSlide)&&a.get("selected")&&g.scrollIntoView(this.formContentWidget.domNode)}}});return mill.registerAlias("offce.layout.LayoutScrollSpy",c("mill.jssupport.layout.carouselView.LayoutScrollSpy",[d,h,e,l],{baseClass:"officeScrollSpy",templateString:"\x3cdiv\x3e\x3cdiv data-dojo-attach-point\x3d'containerNode' class\x3d'officeScrollSpyContainer'\x3e\x3c/div\x3e\x3c/div\x3e",hideOnMobile:!0,fullWidth:null,_setFullWidthAttr:function(a){(this.fullWidth=a)&&f.add(this.domNode,
"officeScrollSpyFullWidth")}}))});