//>>built
define("dojox/html/_base",["dojo/_base/kernel","dojo/_base/lang","dojo/_base/xhr","dojo/_base/window","dojo/_base/sniff","dojo/_base/url","dojo/dom-construct","dojo/html","dojo/_base/declare"],function(_1,_2,_3,_4,_5,_6,_7,_8){
var _9=_1.getObject("dojox.html",true);
if(_5("ie")){
var _a=/(AlphaImageLoader\([^)]*?src=(['"]))(?![a-z]+:|\/)([^\r\n;}]+?)(\2[^)]*\)\s*[;}]?)/g;
}
var _b=/(?:(?:@import\s*(['"])(?![a-z]+:|\/)([^\r\n;{]+?)\1)|url\(\s*(['"]?)(?![a-z]+:|\/)([^\r\n;]+?)\3\s*\))([a-z, \s]*[;}]?)/g;
var _c=_9._adjustCssPaths=function(_d,_e){
if(!_e||!_d){
return;
}
if(_a){
_e=_e.replace(_a,function(_f,pre,_10,url,_11){
return pre+(new _6(_d,"./"+url).toString())+_11;
});
}
return _e.replace(_b,function(_12,_13,_14,_15,_16,_17){
if(_14){
return "@import \""+(new _6(_d,"./"+_14).toString())+"\""+_17;
}else{
return "url("+(new _6(_d,"./"+_16).toString())+")"+_17;
}
});
};
var _18=/(<[a-z][a-z0-9]*\s[^>]*)(?:(href|src)=(['"]?)([^>]*?)\3|style=(['"]?)([^>]*?)\5)([^>]*>)/gi;
var _19=_9._adjustHtmlPaths=function(_1a,_1b){
var url=_1a||"./";
return _1b.replace(_18,function(tag,_1c,_1d,_1e,_1f,_20,_21,end){
return _1c+(_1d?(_1d+"="+_1e+(new _6(url,_1f).toString())+_1e):("style="+_20+_c(url,_21)+_20))+end;
});
};
var _22=_9._snarfStyles=function(_23,_24,_25){
_25.attributes=[];
return _24.replace(/(?: