//>>builtdefine(["./_base/kernel","require","./has","./has!host-browser?./request"],function(r,g,t,u){vark;t("host-browser")?k=function(a,c,b){u(a,{sync:!!c,headers:{"X-Requested-With":null}}).then(b)}:g.getText?k=g.getText:console.error("dojo/text plugin failed to load because loader does not support getText");vard={},m=function(a){if(a){a=a.replace(/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,"");varc=a.match(/<body[^>]*>\s*([\s\S]+)\s*<\/body>/im);c&&(a=c[1])}elsea="";returna},p={},l={};r.cache=function(a,c,b){vare;"string"==typeofa?/\//.test(a)?(e=a,b=c):e=g.toUrl(a.replace(/\./g,"/")+(c?"/"+c:"")):(e=a+"",b=c);a=void0!=b&&"string"!=typeofb?b.value:b;b=b&&b.sanitize;if("string"==typeofa)returnd[e]=a,b?m(a):a;if(null===a)returndeleted[e],null;eind||k(e,!0,function(a){d[e]=a});returnb?m(d[e]):d[e]};return{dynamic:!0,normalize:function(a,c){a=a.split("!");varb=a[0];return(/^\./.test(b)?c(b):b)+(a[1]?"!"+a[1]:"")},load:function(a,c,b){a=a.split("!");vare=1<a.length,g=a[0],f=c.toUrl(a[0]);a="url:"+f;varh=p,n=function(a){b(e?m(a):a)};gind?h=d[g]:c.cache&&ainc.cache?h=c.cache[a]:find&&(h=d[f]);if(h===p)if(l[f])l[f].push(n);else{varq=l[f]=[n];k(f,!c.async,function(a){d[g]=d[f]=a;for(varb=0;b<q.length;)q[b++](a);deletel[f]})}elsen(h)}}});