// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://@sbaseurl@/jsapi/jsapi/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.

//>>built
define("dojo/_base/declare dojo/_base/lang dojo/dom-class dojo/dom-attr dojo/_base/fx ./BaseIconItem".split(" "),function(k,h,f,l,a,m){return k([m],{visible:!0,postCreate:function(){this.inherited(arguments);f.add(this.iconItemNode,"dockable");l.set(this.domNode,"settingid",this.config.id)},hideAnim:function(){var b=this.domNode.style,c=[],d={};window.isRTL?d["margin-right"]=0:d["margin-left"]=0;f.remove(this.iconItemStatus,"selected");c.push(a.animateProperty({node:this.domNode,duration:500,properties:d,
onEnd:h.hitch(this,function(){b.display="none";this.visible=!1})}));c.push(a.animateProperty({node:this.iconItemNode,duration:500,properties:{width:1}}));c.push(a.animateProperty({node:this.imgNode,duration:500,properties:{width:1}}));return c},showAnim:function(b){var c=this.domNode.style,d=this.iconItemNode.style,n=this.imgNode.style,e=[],p=this.size,g={};b={start:function(){c.display="";return 0},end:b};window.isRTL?g["margin-right"]=b:g["margin-left"]=b;e.push(a.animateProperty({node:this.domNode,
duration:500,properties:g,onEnd:h.hitch(this,function(){this.isOpen&&f.add(this.iconItemStatus,"selected");this.visible=!0})}));e.push(a.animateProperty({node:this.iconItemNode,duration:500,properties:{width:{start:function(){d.width="1px";return 1},end:p}}}));e.push(a.animateProperty({node:this.imgNode,duration:500,properties:{width:{start:function(){n.width="1px";return 1},end:20}}}));return e}})});