//>>built
require({cache:{"url:mill/jssupport/form/textAreaField.html":'\x3cdiv\x3e\x3cdiv data-dojo-type\x3d"office.layout.GridLayoutColumn" data-dojo-props\x3d"piece: \'${textPiece}\'" data-dojo-attach-point\x3d"textColumnNode" class\x3d"cell"\x3e\x3cdiv data-dojo-type\x3d"office.TranslatableNode" data-dojo-props\x3d"display: \'inline\'" data-dojo-attach-point\x3d"translatableNode"\x3e\x3c/div\x3e\x3c/div\x3e\x3cdiv data-dojo-type\x3d"office.layout.GridLayoutColumn" data-dojo-props\x3d"piece: \'${controlPiece}\'" class\x3d"cell"\x3e\x3cdiv data-dojo-type\x3d"office.form.SimpleTextAreaWidget" data-dojo-attach-point\x3d"controlNode" data-dojo-observer\x3d"${observer}" class\x3d"controlNode"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"containerNode" class\x3d"dim small"\x3e\x3c/div\x3e\x3cdiv data-dojo-attach-point\x3d"maxLengthNode" class\x3d"dim small"\x3e\x3c/div\x3e\x3c/div\x3e\x3c/div\x3e'}});
define("mill/jssupport/form/TextAreaField","dojo/_base/declare dojo/dom-construct dojo/dom-style dojo/dom-class dijit/_WidgetBase dijit/form/SimpleTextarea dojo/text!mill/jssupport/form/textAreaField.html mill/jssupport/form/_FieldMixin mill/jssupport/form/_TextFieldWidgetMixin mill/jssupport/form/_RequiredFieldMixin mill/jssupport/base".split(" "),function(b,c,e,f,g,h,k,l,m,n,p){b("office.form.SimpleTextAreaWidget",[h,m],{intermediateChanges:!0,trim:!0,required:null,validate:function(){return!this.get("required")||
this.get("required")&&!!this.get("value")},hideForValue:function(a){this.inherited(arguments);if(a||"string"===typeof a)this._savedValueNode&&(this._changed=this._savedValue instanceof Object?a!==this._savedValue.RU&&a!==this._savedValue.EN:a!==this._savedValue),this._savedValue=a;var d=this._savedValue instanceof Object?this._savedValue[p.locale]||this._savedValue.RU:this._savedValue;this.set("value",d);c.destroy(this._savedValueNode);this._savedValueNode=c.create("span",{innerHTML:d,className:"dim bold"},
this.domNode.parentNode);e.set(this.domNode,{display:"none"});this._changed&&f.add(this._savedValueNode,["blue","italic"])}});return mill.registerAlias("office.form.TextAreaField",b("mill.jssupport.form.TextAreaField",[g,l,n],{templateString:k,observer:null,startup:function(){this.inherited(arguments);this.controlNode.set("value",null)}}))});