//>>built
define("dojo/_base/loader","./kernel ../has require module ../json ./lang ./array".split(" "),function(e,y,t,K,z,p,A){var q=function(a){return a.replace(/\./g,"/")},L=/\/\/>>built/,w=[],M=[],u=function(a,c,b){w.push(b);A.forEach(a.split(","),function(a){a=n(a,c.module);M.push(a);B(a)});C()},C=function(){var a,c;for(c in D)if(a=D[c],void 0===a.noReqPluginCheck&&(a.noReqPluginCheck=/loadInit\!/.test(c)||/require\!/.test(c)?1:0),!a.executed&&!a.noReqPluginCheck&&a.injected==N)return;O(function(){var a=
w;w=[];A.forEach(a,function(a){a(1)})})},P=/\/\/.*|\/\*[\s\S]*?\*\/|("(?:\\.|[^"])*"|'(?:\\.|[^'])*'|`(?:\\.|[^`])*`)/mg,x=/(^|\s)dojo\.(loadInit|require|provide|requireLocalization|requireIf|requireAfterIf|platformRequire)\s*\(/mg,Q=/(^|\s)(require|define)\s*\(/m,E=function(a,c){var b,l,d,v=[],f=[];b=[];for(c=c||a.replace(P,"$1");b=x.exec(c);){l=x.lastIndex;d=l-b[0].length;var m=c,g=/\(|\)/g,h=1,k=void 0;for(g.lastIndex=l;(k=g.exec(m))&&(h=")"==k[0]?h-1:h+1,0!=h););if(0!=h)throw"unmatched paren around character "+
g.lastIndex+" in: "+m;l=[e.trim(m.substring(d,g.lastIndex))+";\n",g.lastIndex];"loadInit"==b[2]?v.push(l[0]):f.push(l[0]);x.lastIndex=l[1]}b=v.concat(f);return b.length||!Q.test(c)?[a.replace(/(^|\s)dojo\.loadInit\s*\(/g,"\n0 \x26\x26 dojo.loadInit("),b.join(""),b]:0},d=t.initSyncLoader(u,C,function(a,c){var b,d,e=[],v=[];if(L.test(c)||!(b=E(c)))return 0;d=a.mid+"-*loadInit";for(var f in n("dojo",a).result.scopeMap)e.push(f),v.push('"'+f+'"');return"// xdomain rewrite of "+a.mid+"\ndefine('"+d+"',{\n\tnames:"+
z.stringify(e)+",\n\tdef:function("+e.join(",")+"){"+b[1]+"}});\n\ndefine("+z.stringify(e.concat(["dojo/loadInit!"+d]))+", function("+e.join(",")+"){\n"+b[0]+"});"}),R=d.sync,N=d.requested,S=d.arrived,F=d.nonmodule,T=d.executing,G=d.executed,r=d.syncExecStack,D=d.modules,H=d.execQ,n=d.getModule,B=d.injectModule,I=d.setArrived,U=d.signal,V=d.finishExec,W=d.execModule,J=d.getLegacyMode,O=d.guardCheckComplete,u=d.dojoRequirePlugin;e.provide=function(a){var c=r[0],b=p.mixin(n(q(a),t.module),{executed:T,
result:p.getObject(a,!0)});I(b);c&&(c.provides||(c.provides=[])).push(function(){b.result=p.getObject(a);delete b.provides;b.executed!==G&&V(b)});return b.result};y.add("config-publishRequireResult",1,0,0);e.require=function(a,c){var b=function(a,c){var b=n(q(a),t.module);if(r.length&&r[0].finish)r[0].finish.push(a);else{if(b.executed)return b.result;c&&(b.result=F);var e=J();B(b);e=J();b.executed!==G&&b.injected===S&&d.guardCheckComplete(function(){W(b)});if(b.executed)return b.result;e==R?b.cjs?
H.unshift(b):r.length&&(r[0].finish=[a]):H.push(b)}}(a,c);y("config-publishRequireResult")&&!p.exists(a)&&void 0!==b&&p.setObject(a,b);return b};e.loadInit=function(a){a()};e.registerModulePath=function(a,c){var b={};b[a.replace(/\./g,"/")]=c;t({paths:b})};e.platformRequire=function(a){a=(a.common||[]).concat(a[e._name]||a["default"]||[]);for(var c;a.length;)p.isArray(c=a.shift())?e.require.apply(e,c):e.require(c)};e.requireIf=e.requireAfterIf=function(a,c,b){a&&e.require(c,b)};e.requireLocalization=
function(a,c,b){t(["../i18n"],function(e){e.getLocalization(a,c,b)})};return{extractLegacyApiApplications:E,require:u,loadInit:function(a,c,b){c([a],function(a){c(a.names,function(){for(var d="",l=[],f=0;f<arguments.length;f++)d+="var "+a.names[f]+"\x3d arguments["+f+"]; ",l.push(arguments[f]);eval(d);var m=c.module,g=[],h,d={provide:function(a){a=q(a);a=n(a,m);a!==m&&I(a)},require:function(a,b){a=q(a);b&&(n(a,m).result=F);g.push(a)},requireLocalization:function(a,b,c){h||(h=["dojo/i18n"]);c=(c||
e.locale).toLowerCase();a=q(a)+"/nls/"+(/root/i.test(c)?"":c+"/")+q(b);n(a,m).isXd&&h.push("dojo/i18n!"+a)},loadInit:function(a){a()}},f={},k;try{for(k in d)f[k]=e[k],e[k]=d[k];a.def.apply(null,l)}catch(X){U("error",[{src:K.id,id:"failedDojoLoadInit"},X])}finally{for(k in d)e[k]=f[k]}h&&(g=g.concat(h));g.length?u(g.join(","),c,b):b()})})}}});
//# sourceMappingURL=loader.js.map