//>>built
define("dojox/mobile/CarouselItem","dojo/_base/declare dojo/dom-construct dojo/dom-geometry dojo/dom-style dijit/_Contained dijit/_WidgetBase dojo/has dojo/has!dojo-bidi?dojox/mobile/bidi/CarouselItem".split(" "),function(e,c,d,f,b,h,g,k){b=e(g("dojo-bidi")?"dojox.mobile.NonBidiCarouselItem":"dojox.mobile.CarouselItem",[h,b],{alt:"",src:"",headerText:"",footerText:"",baseClass:"mblCarouselItem",buildRendering:function(){this.inherited(arguments);this.domNode.tabIndex="0";this.headerTextNode=c.create("div",
{className:"mblCarouselItemHeaderText"},this.domNode);this.imageNode=c.create("img",{className:"mblCarouselItemImage"},this.domNode);this.footerTextNode=c.create("div",{className:"mblCarouselItemFooterText"},this.domNode)},startup:function(){this._started||(this.inherited(arguments),this.resize())},resize:function(a){a=d.getMarginBox(this.domNode);if(0!==a.h){var b=d.getMarginBox(this.headerTextNode).h,c=d.getMarginBox(this.footerTextNode).h;d.setMarginBox(this.imageNode,{h:a.h-b-c})}},select:function(){var a=
this.imageNode;f.set(a,"opacity",.4);this.defer(function(){f.set(a,"opacity",1)},1E3)},_setAltAttr:function(a){this._set("alt",a);this.imageNode.alt=a},_setSrcAttr:function(a){this._set("src",a);this.imageNode.src=a},_setHeaderTextAttr:function(a){this._set("headerText",a);this.headerTextNode.innerHTML=this._cv?this._cv(a):a},_setFooterTextAttr:function(a){this._set("footerText",a);this.footerTextNode.innerHTML=this._cv?this._cv(a):a}});return g("dojo-bidi")?e("dojox.mobile.CarouselItem",[b,k]):b});