/*
	Copyright (c) 2004-2016, The JS Foundation All Rights Reserved.
	Available via Academic Free License >= 2.1 OR the modified BSD license.
	see: http://dojotoolkit.org/license for details
*/

//>>built
define("dojo/_base/html","./kernel ../dom ../dom-style ../dom-attr ../dom-prop ../dom-class ../dom-construct ../dom-geometry".split(" "),function(a,l,f,g,m,h,k,c){a.byId=l.byId;a.isDescendant=l.isDescendant;a.setSelectable=l.setSelectable;a.getAttr=g.get;a.setAttr=g.set;a.hasAttr=g.has;a.removeAttr=g.remove;a.getNodeProp=g.getNodeProp;a.attr=function(b,d,e){return 2==arguments.length?g["string"==typeof d?"get":"set"](b,d):g.set(b,d,e)};a.hasClass=h.contains;a.addClass=h.add;a.removeClass=h.remove;
a.toggleClass=h.toggle;a.replaceClass=h.replace;a._toDom=a.toDom=k.toDom;a.place=k.place;a.create=k.create;a.empty=function(b){k.empty(b)};a._destroyElement=a.destroy=function(b){k.destroy(b)};a._getPadExtents=a.getPadExtents=c.getPadExtents;a._getBorderExtents=a.getBorderExtents=c.getBorderExtents;a._getPadBorderExtents=a.getPadBorderExtents=c.getPadBorderExtents;a._getMarginExtents=a.getMarginExtents=c.getMarginExtents;a._getMarginSize=a.getMarginSize=c.getMarginSize;a._getMarginBox=a.getMarginBox=
c.getMarginBox;a.setMarginBox=c.setMarginBox;a._getContentBox=a.getContentBox=c.getContentBox;a.setContentSize=c.setContentSize;a._isBodyLtr=a.isBodyLtr=c.isBodyLtr;a._docScroll=a.docScroll=c.docScroll;a._getIeDocumentElementOffset=a.getIeDocumentElementOffset=c.getIeDocumentElementOffset;a._fixIeBiDiScrollLeft=a.fixIeBiDiScrollLeft=c.fixIeBiDiScrollLeft;a.position=c.position;a.marginBox=function(b,d){return d?c.setMarginBox(b,d):c.getMarginBox(b)};a.contentBox=function(b,d){return d?c.setContentSize(b,
d):c.getContentBox(b)};a.coords=function(b,d){a.deprecated("dojo.coords()","Use dojo.position() or dojo.marginBox().");b=l.byId(b);var e=f.getComputedStyle(b);e=c.getMarginBox(b,e);var n=c.position(b,d);e.x=n.x;e.y=n.y;return e};a.getProp=m.get;a.setProp=m.set;a.prop=function(b,d,e){return 2==arguments.length?m["string"==typeof d?"get":"set"](b,d):m.set(b,d,e)};a.getStyle=f.get;a.setStyle=f.set;a.getComputedStyle=f.getComputedStyle;a.__toPixelValue=a.toPixelValue=f.toPixelValue;a.style=function(b,
d,e){switch(arguments.length){case 1:return f.get(b);case 2:return f["string"==typeof d?"get":"set"](b,d)}return f.set(b,d,e)};return a});