text: /* KISSY loader for UMD. (c) Kingcean Tuan, 2014. Alibaba Group. */
  var AliHub;(function(n){var t;(function(n){n.loadModule=function(n,t){var i,r;try{if(i=eval(n),!!i)return}catch(u){}return r=require(t),eval(n+"=instance;"),r};var t=function(){function n(){}return n._aliasPref=[],n.moduleDebug=typeof DEBUG!="undefined"&&DEBUG===!0,n.addModule=function(t,i,r){var f=new Date,e=n.moduleDebug===!0,u={};u[t]={path:i,debug:e,combine:!1,ignorePackageNameInUri:!0,charset:"utf-8"};r==null||r===!1||(u[t].tag=r===!0?f.getTime().toString():r.toString());typeof KISSY=="undefined"&&(KISSY=modulex,KISSY.ready||(KISSY.ready=function(n){typeof addEventListener=="undefined"||!addEventListener||addEventListener(window,"load",n)}));KISSY.config({packages:u})},n.setup=function(t,i){var e,f,r,u;n._loaded||(n._loaded=!0,e=new Date,f=n.moduleDebug===!0,typeof KISSY=="undefined"&&(KISSY=modulex,KISSY.ready||(KISSY.ready=function(n){typeof addEventListener=="undefined"||!addEventListener||addEventListener(window,"load",n)})),r=!1,u={},!t||t==""||(u.quark={path:t,debug:f,combine:!1,ignorePackageNameInUri:!0,charset:"utf-8"},n.addAliasPrefix("~/libs/quark/","quark/"),r=!0),!i||i==""||(u["quark-bindings"]={path:i,debug:f,combine:!1,ignorePackageNameInUri:!0,charset:"utf-8"},r=!0),r&&(KISSY.config({packages:u}),n.addAliasPrefix("~/libs/quark-","quark-")),n._define||define===n.regModule)||(n._define=define,define=n.regModule,!KISSY||n._getRequires||!KISSY.Loader.Utils.getRequiresFromFn||(n._getRequires=KISSY.Loader.Utils.getRequiresFromFn,KISSY.Loader.Utils.getRequiresFromFn=function(t){return!t.raw?[]:n._getRequires(t.raw)}))},n.enable=function(t){t===!1||t===0||t==="disable"||t==="f"||t==="F"?(!n._define||(define=n._define),!KISSY||!n._getRequires||(KISSY.Loader.Utils.getRequiresFromFn=n._getRequires)):define=n.regModule},n.regModule=function(t,i,r){typeof t!="string"&&(r=i,i=t,t=null);i instanceof Array||(r=i,i=null);var u=r;if(!t||!!t&&!!i&&i.length>2&&(i[0]==="require"&&i[1]==="exports"||i[0]==="exports"&&i[1]==="require")){!!i&&i.length>=2&&(i.length>2||i[0]==="exports"&&i[1]==="require")&&(r=function(t,r,f){var a,s,e,h,c,o,l,v;i[0]==="exports"&&i[1]==="require"&&(a=t,t=r,r=a);s=[t,r];e=f.name;f.requires||(f.requires=[]);e||(e=f.id);h=e.split("/");i.forEach(function(i,r){var y,a,v,c,p,w;if(i&&!(r<2)){var u=i.toString(),l=0,o=i;if(i.indexOf("./")===0)l=1,o=o.replace("./","");else if(i.indexOf("../")===0){for(;;){if(y=o.replace("../",""),o.length===y.length)break;o=y}l=(i.length-o.length)/3+1}if(l>0)if(a=u.split("/"),u="",h.length>l){for(c=0;c<h.length-l;c++)u+=h[c]+"/";for(v=a.length-l,v<0&&(v=0),c=v;c<a.length-1;c++)u+=a[c]+"/";u+=a[a.length-1];u=n.applyAliasPath(u)}else if(h.length===l){if(p=n.applyAliasPath("~/"+o),p=="~/"+o){s.push(null);return}u=p}else{s.push(null);return}f.requires.push("depPath");w=t(u);typeof w!="undefined"||!console||!console.error||console.error("Failed to load module. ("+e+" -> "+u+")",f);s.push(w)}});try{if(c=0,!!f&&!!f.exports)for(v in f.exports)c++;if(o=u.apply(f,s),!o&&!!f&&f.exports){l=0;for(v in f.exports)l++;c<l&&(o=f.exports)}return o||!console||!console.error||console.error("Failed to resolve module. ("+e+")",f),f.exports=o,o}catch(y){!console||!console.error||console.error("Failed to load module. ("+e+")",y);throw y;}});r.raw=u;n._define(r);return}n._define(t,i,r)},n.regModule.amd={jQuery:!0},n.addAliasPrefix=function(t,i){t&&i&&t!=""&&(n._aliasPref.some(function(n){return!n||n.key!==t||!n.value?!1:(n.value=i,!0)})||n._aliasPref.push({key:t,value:i}))},n.applyAliasPath=function(t){return n._aliasPref.some(function(n){return!n||!n.key||n.key==""||t.indexOf(n.key)<0?!1:(t=t.replace(n.key,n.value),!0)}),t},n}();n.KissyLoader=t;t.setup()})(t=n.Runtime||(n.Runtime={}))})(AliHub||(AliHub={}));typeof define=="function"&&(define.amd?define(["exports"],function(){return AliHub.Runtime.KissyLoader}):typeof KISSY!="undefined"&&define(function(){return AliHub.Runtime.KissyLoader}));
  