//>>built
define("dojox/mobile/Tooltip","dojo/_base/array dijit/registry dojo/_base/declare dojo/_base/lang dojo/dom-class dojo/dom-construct dojo/dom-geometry dojo/dom-style dijit/place dijit/_WidgetBase dojo/has dojo/has!dojo-bidi?dojox/mobile/bidi/Tooltip".split(" "),function(m,r,n,t,e,k,p,u,v,f,q,w){f=n(q("dojo-bidi")?"dojox.mobile.NonBidiTooltip":"dojox.mobile.Tooltip",f,{baseClass:"mblTooltip mblTooltipHidden",buildRendering:function(){this.inherited(arguments);this.anchor=k.create("div",{"class":"mblTooltipAnchor"},
this.domNode,"first");this.arrow=k.create("div",{"class":"mblTooltipArrow"},this.anchor);this.innerArrow=k.create("div",{"class":"mblTooltipInnerArrow"},this.anchor);this.containerNode||(this.containerNode=this.domNode)},show:function(g,c){var b=this.domNode;e.remove(b,["mblTooltipAfter","mblTooltipBefore","mblTooltipBelow","mblTooltipAbove"]);m.forEach(r.findWidgets(b),function(a){"auto"==a.height&&"function"==typeof a.resize&&(a._parentPadBorderExtentsBottom||(a._parentPadBorderExtentsBottom=p.getPadBorderExtents(b).b),
a.resize())});c&&(c=m.map(c,function(a){return{after:"after-centered",before:"before-centered"}[a]||a}));var d=v.around(b,g,c||["below-centered","above-centered","after-centered","before-centered"],this.isLeftToRight()),l={MRM:"mblTooltipAfter",MLM:"mblTooltipBefore",BMT:"mblTooltipBelow",TMB:"mblTooltipAbove",BLT:"mblTooltipBelow",TLB:"mblTooltipAbove",BRT:"mblTooltipBelow",TRB:"mblTooltipAbove",TLT:"mblTooltipBefore",TRT:"mblTooltipAfter",BRB:"mblTooltipAfter",BLB:"mblTooltipBefore"}[d.corner+d.aroundCorner.charAt(0)]||
"";e.add(b,l);var h=p.position(g,!0);u.set(this.anchor,"mblTooltipAbove"==l||"mblTooltipBelow"==l?{top:"",left:Math.max(0,h.x-d.x+(h.w>>1)-(this.arrow.offsetWidth>>1))+"px"}:{left:"",top:Math.max(0,h.y-d.y+(h.h>>1)-(this.arrow.offsetHeight>>1))+"px"});e.replace(b,"mblTooltipVisible","mblTooltipHidden");this.resize=t.hitch(this,"show",g,c);return d},hide:function(){this.resize=void 0;e.replace(this.domNode,"mblTooltipHidden","mblTooltipVisible")},onBlur:function(g){return!0},destroy:function(){this.anchor&&
(this.anchor.removeChild(this.innerArrow),this.anchor.removeChild(this.arrow),this.domNode.removeChild(this.anchor),this.anchor=this.arrow=this.innerArrow=void 0);this.inherited(arguments)}});return q("dojo-bidi")?n("dojox.mobile.Tooltip",[f,w]):f});