//>>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,d,b,f,c,h,g,k){c=e(g("dojo-bidi")?"dojox.mobile.NonBidiCarouselItem":"dojox.mobile.CarouselItem",[h,c],{alt:"",src:"",headerText:"",footerText:"",baseClass:"mblCarouselItem",buildRendering:function(){this.inherited(arguments);this.domNode.tabIndex="0";this.headerTextNode=d.create("div",
{className:"mblCarouselItemHeaderText"},this.domNode);this.imageNode=d.create("img",{className:"mblCarouselItemImage"},this.domNode);this.footerTextNode=d.create("div",{className:"mblCarouselItemFooterText"},this.domNode)},startup:function(){this._started||(this.inherited(arguments),this.resize())},resize:function(a){a=b.getMarginBox(this.domNode);if(0!==a.h){var l=b.getMarginBox(this.headerTextNode).h,m=b.getMarginBox(this.footerTextNode).h;b.setMarginBox(this.imageNode,{h:a.h-l-m})}},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",[c,k]):c});