text: /*
  Copyright 2014, KISSY v5.0.0
  MIT Licensed
  build time: Aug 8 13:34
  */
  var KISSY=function(c){var n;n={__BUILD_TIME:"20140808133439",Env:{host:this,mods:{}},Config:{debug:"",packages:{},fns:{}},version:"5.0.0",config:function(i,m){var k,j,o=n.Config,f=o.fns;if("string"===typeof i)k=f[i],m===c?j=k?k.call(this):o[i]:k?j=k.call(this,m):o[i]=m;else for(var b in i)m=i[b],(k=f[b])?k.call(this,m):o[b]=m;return j}};var p=n.Loader={};"undefined"!==typeof location&&-1!==location.search.indexOf("ks-debug")&&(n.Config.debug=!0);p.Status={ERROR:-1,INIT:0,LOADING:1,LOADED:2,ATTACHING:3,
  ATTACHED:4};return n}();(function(c){function n(c){var j={},o;for(o in i)(function(f,b){f[b]=function(l){return m.log(l,b,c)}})(j,o);return j}var p={},i={debug:10,info:20,warn:30,error:40},m={config:function(c){return p=c||p},log:function(){},getLogger:function(c){return n(c)},error:function(){}};c.LoggerMangaer=m;c.getLogger=m.getLogger;c.log=m.log;c.error=m.error;c.Config.fns.logger=m.config})(KISSY);
  (function(c){function n(a){var d=0;return parseFloat(a.replace(/\./g,function(){return 0===d++?".":""}))}function p(a){var d=a.split(/\//);"/"===a.charAt(0)&&d[0]&&d.unshift("");"/"===a.charAt(a.length-1)&&1<a.length&&d[d.length-1]&&d.push("");return d}function i(a){var d=[],e;for(e in a)d.push(e);return d}function m(a,d){for(var e in d)a[e]=d[e];return a}var k=c.Loader,c=c.Env,j=c.mods,o=Array.prototype.map,c=c.host,f=k.Utils={},b=c.document,l,g,c=(c.navigator||{}).userAgent||"";if(((l=c.match(/AppleWebKit\/([\d.]*)/))||
  (l=c.match(/Safari\/([\d.]*)/)))&&l[1])f.webkit=n(l[1]);if(l=c.match(/Trident\/([\d.]*)/))f.trident=n(l[1]);if(l=c.match(/Gecko/))if(f.gecko=0.1,(l=c.match(/rv:([\d.]*)/))&&l[1])f.gecko=n(l[1]);if((l=c.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(g=l[1]||l[2]))f.ie=n(g),f.ieMode=b.documentMode||f.ie,f.trident=f.trident||1;var h=/http(s)?:\/\/([^/]+)(?::(\d+))?/,q=/(\/\*([\s\S]*?)\*\/|([^:]|^)\/\/(.*)$)/mg,s=/[^.'"]\s*require\s*\((['"])([^)]+)\1\)/g,t=Array.isArray||function(a){return"[object Array]"===
  Object.prototype.toString.call(a)};m(f,{mix:m,noop:function(){},map:o?function(a,d,e){return o.call(a,d,e||this)}:function(a,d,e){for(var b=a.length,r=Array(b),c=0;c<b;c++){var l="string"===typeof a?a.charAt(c):a[c];if(l||c in a)r[c]=d.call(e||this,l,c,a)}return r},startsWith:function(a,d){return 0===a.lastIndexOf(d,0)},isEmptyObject:function(a){for(var d in a)if(void 0!==d)return!1;return!0},endsWith:function(a,d){var e=a.length-d.length;return 0<=e&&a.indexOf(d,e)===e},now:Date.now||function(){return+new Date},
  each:function(a,d){var e=0,b,r;if(t(a))for(r=a.length;e<r&&!1!==d(a[e],e,a);e++);else{b=i(a);for(r=b.length;e<r&&!1!==d(a[b[e]],b[e],a);e++);}},keys:i,isArray:t,indexOf:function(a,d){for(var e=0,b=d.length;e<b;e++)if(d[e]===a)return e;return-1},normalizeSlash:function(a){return a.replace(/\\/g,"/")},normalizePath:function(a,d){if("."!==d.charAt(0))return d;var e=p(a),b=p(d);e.pop();for(var r=0,c=b.length;r<c;r++){var l=b[r];"."!==l&&(".."===l?e.pop():e.push(l))}return e.join("/").replace(/\/+/,"/")},
  isSameOriginAs:function(a,d){var e=a.match(h),b=d.match(h);return e[0]===b[0]},docHead:function(){return b.getElementsByTagName("head")[0]||b.documentElement},getHash:function(a){var d=5381,e;for(e=a.length;-1<--e;)d=(d<<5)+d+a.charCodeAt(e);return d+""},getRequiresFromFn:function(a){var d=[];a.toString().replace(q,"").replace(s,function(a,b,r){d.push(r)});return d},createModule:function(a,d){var e=j[a];e||(e=a,"/"===e.charAt(e.length-1)&&(e+="index"),f.endsWith(e,".js")&&(e=e.slice(0,-3)),a=e,e=
  j[a]);return e?(d&&(m(e,d),d.requires&&e.setRequiresModules(d.requires)),e):j[a]=e=new k.Module(m({name:a},d))},createModules:function(a){return f.map(a,function(a){return f.createModule(a)})},attachModules:function(a){var d=a.length,e;for(e=0;e<d;e++)a[e].attachRecursive()},getModulesExports:function(a){var d=a.length,e,b=[];for(e=0;e<d;e++)b.push(a[e].getExports());return b},addModule:function(a,d,e){var b=j[a];b&&void 0!==b.factory||f.createModule(a,m({name:a,status:k.Status.LOADED,factory:d},
  e))}})})(KISSY);
  (function(c){function n(a){for(var d=[],e=0;e<a.length;e++)d[e]=a[e];return d}function p(a){if("function"===typeof a)return function(){a.apply(this,n(arguments).slice(1))};if(a&&a.success){var d=a.success;a.success=function(){d.apply(this,n(arguments).slice(1))};return a}}function i(a,d){return d in a?a[d]:f[d]}function m(a){t(this,a)}function k(a){var d=this;d.exports=void 0;d.status=b.INIT;d.name=void 0;d.factory=void 0;d.cjs=1;t(d,a);d.waits={};var e=d._require=function(a){if("string"===typeof a){var b=
  d.resolve(a);h.attachModules(b.getNormalizedModules());return b.getExports()}e.async.apply(e,arguments)};e.async=function(a){for(var e=0;e<a.length;e++)a[e]=d.resolve(a[e]).name;e=n(arguments);e[0]=a;e[1]=p(e[1]);c.use.apply(c,e)};e.resolve=function(a){return d.resolve(a).getUrl()};e.toUrl=function(a){var e=d.getUrl(),b=e.indexOf("//");-1===b?b=0:(b=e.indexOf("/",b+2),-1===b&&(b=0));var c=e.substring(b),a=h.normalizePath(c,a);return e.substring(0,b)+a};e.load=c.getScript}function j(a,d){for(var a=
  a||[],e=a.length,b=0;b<e;b++)a[b]=d.resolve(a[b]).name;return a}var o=c.Loader,f=c.Config,b=o.Status,l=b.ATTACHED,g=b.ATTACHING,h=o.Utils,q=h.startsWith,s=h.createModule,t=h.mix;m.prototype={constructor:m,reset:function(a){t(this,a)},getFilter:function(){return i(this,"filter")},getTag:function(){return i(this,"tag")},getBase:function(){return this.base},getCharset:function(){return i(this,"charset")},isCombine:function(){return i(this,"combine")},getGroup:function(){return i(this,"group")}};o.Package=
  m;k.prototype={kissy:1,constructor:k,require:function(a){return this.resolve(a).getExports()},resolve:function(a){return s(h.normalizePath(this.name,a))},add:function(a){this.waits[a.id]=a},remove:function(a){delete this.waits[a.id]},contains:function(a){return this.waits[a.id]},flush:function(){h.each(this.waits,function(a){a.flush()});this.waits={}},getType:function(){var a=this.type;a||(this.type=a=h.endsWith(this.name,".css")?"css":"js");return a},getExports:function(){return this.getNormalizedModules()[0].exports},
  getAlias:function(){var a=this.name;if(this.normalizedAlias)return this.normalizedAlias;var d;d=this.name;var e,b=this.alias;"string"===typeof b&&(this.alias=b=[b]);if(!b){(e=this.getPackage())&&e.alias&&(b=e.alias(d));if(!(e=b))b=d.indexOf("!"),-1!==b&&(e=d.substring(0,b),d=d.substring(b+1),b=s(e).attachRecursive().exports||{},b.alias&&(d=b.alias(c,d,e))),e=[d];b=this.alias=e}d=b;e=[];if(d[0]===a)e=d;else for(var b=0,l=d.length;b<l;b++){var h=d[b];if(h&&h!==a){var g=s(h).getAlias();g?e.push.apply(e,
  g):e.push(h)}}return this.normalizedAlias=e},getNormalizedModules:function(){return this.normalizedModules?this.normalizedModules:this.normalizedModules=h.map(this.getAlias(),function(a){return s(a)})},getUrl:function(){this.url||(this.url=h.normalizeSlash(c.Config.resolveModFn(this)));return this.url},getPackage:function(){if(!("packageInfo"in this)){var a=this.name;if(q(a,"/")||q(a,"http://")||q(a,"https://")||q(a,"file://")){this.packageInfo=null;return}var a=f.packages,b=this.name+"/",e="",c;
  for(c in a)q(b,c+"/")&&c.length>e.length&&(e=c);this.packageInfo=a[e]||a.core}return this.packageInfo},getTag:function(){return this.tag||this.getPackage()&&this.getPackage().getTag()},getCharset:function(){return this.charset||this.getPackage()&&this.getPackage().getCharset()},setRequiresModules:function(a){var a=this.requiredModules=h.map(j(a,this),function(a){return s(a)}),b=[];h.each(a,function(a){b.push.apply(b,a.getNormalizedModules())});this.normalizedRequiredModules=b},getNormalizedRequiredModules:function(){if(this.normalizedRequiredModules)return this.normalizedRequiredModules;
  this.setRequiresModules(this.requires);return this.normalizedRequiredModules},getRequiredModules:function(){if(this.requiredModules)return this.requiredModules;this.setRequiresModules(this.requires);return this.requiredModules},attachSelf:function(){var a=this.status,d=this.factory;if(a===b.ATTACHED||a<b.LOADED)return!0;"function"===typeof d?(this.exports={},a=d.apply(this,this.cjs?[c,this._require,this.exports,this]:[c].concat(h.map(this.getRequiredModules(),function(a){return a.getExports()}))),
  void 0!==a&&(this.exports=a)):this.exports=d;this.status=l;this.afterAttach&&this.afterAttach(this.exports)},attachRecursive:function(){var a;a=this.status;if(a>=g||a<b.LOADED)return this;this.status=g;this.cjs||h.each(this.getNormalizedRequiredModules(),function(a){a.attachRecursive()});this.attachSelf();return this},undef:function(){this.status=b.INIT;delete this.factory;delete this.exports}};o.Module=k})(KISSY);
  (function(c){function n(c){var f=0;if(m.webkit)c.sheet&&(f=1);else if(c.sheet)try{c.sheet.cssRules&&(f=1)}catch(b){"NS_ERROR_DOM_SECURITY_ERR"===b.name&&(f=1)}return f}function p(){for(var c in j){var f=j[c],b=f.node;n(b,c)&&(f.callback&&f.callback.call(b),delete j[c])}k=m.isEmptyObject(j)?0:setTimeout(p,i)}var i=30,m=c.Loader.Utils,k=0,j={};m.pollCss=function(c,f){var b;b=j[c.href]={};b.node=c;b.callback=f;k||p()};m.isCssLoaded=n})(KISSY);
  (function(c){var n=c.Env.host,p=n.document,i=c.Loader.Utils,m={},k=i.webkit,j;c.getScript=function(o,f,b){function l(){var a=d.readyState;if(!a||"loaded"===a||"complete"===a)d.onreadystatechange=d.onload=null,e(0)}var g=f,h=i.endsWith(o,".css"),q,s,t,a;"object"===typeof g&&(f=g.success,q=g.error,s=g.timeout,b=g.charset,t=g.attrs);if(h&&10>i.ieMode&&31<=p.getElementsByTagName("style").length+p.getElementsByTagName("link").length)n.console&&n.console.error("style and link's number is more than 31.ie < 10 can not insert link: "+
  o),q&&q();else{g=m[o]=m[o]||[];g.push([f,q]);if(1<g.length)return g.node;var d=p.createElement(h?"link":"script");t&&i.each(t,function(a,b){d.setAttribute(b,a)});b&&(d.charset=b);h?(d.href=o,d.rel="stylesheet",d.media="async"):(d.src=o,d.async=!0);g.node=d;var e=function(b){var e;if(a){clearTimeout(a);a=void 0}if(h)d.media="all";i.each(m[o],function(a){(e=a[b])&&e.call(d)});delete m[o]},f="onload"in d,b=c.Config.forceCssPoll||k&&536>k||!k&&!i.trident&&!i.gecko;h&&b&&f&&(f=!1);f?(d.onload=l,d.onerror=
  function(){d.onerror=null;e(1)}):h?i.pollCss(d,function(){e(0)}):d.onreadystatechange=l;s&&(a=setTimeout(function(){e(1)},1E3*s));j||(j=i.docHead());h?j.appendChild(d):j.insertBefore(d,j.firstChild);return d}}})(KISSY);
  (function(c){function n(b){return function(l){var g={},h;for(h in l)g[h]={},g[h][b]=l[h];c.config("modules",g)}}function p(b,c){b=k.normalizeSlash(b);c&&"/"!==b.charAt(b.length-1)&&(b+="/");if(o){if(k.startsWith(b,"http:")||k.startsWith(b,"https:")||k.startsWith(b,"file:"))return b;b=o.protocol+"//"+o.host+k.normalizePath(o.pathname,b)}return b}var i=c.Loader,m=i.Package,k=i.Utils,j=c.Config,o=c.Env.host.location,f=j.fns;j.loadModsFn=function(b,l){c.getScript(b.url,l)};j.resolveModFn=function(b){var c=
  b.name,g,h=b.path,f=b.getPackage();if(!f)return c;var k=f.getBase(),j=f.name,a=b.getType(),d="."+a;h||(c=c.replace(/\.css$/,""),g=f.getFilter()||"","function"===typeof g?h=g(c,a):"string"===typeof g&&(g&&(g="-"+g),h=c+g+d));"core"===j?c=k+h:c===j?c=k.substring(0,k.length-1)+g+d:(h=h.substring(j.length+1),c=k+h);if(b=b.getTag())c+="?t="+(b+d);return c};f.requires=n("requires");f.alias=n("alias");f.packages=function(b){var c=this.Config,g=c.packages;if(b)k.each(b,function(b,c){var f=b.name=b.name||
  c,l=b.base||b.path;l&&(b.base=p(l,!0));g[f]?g[f].reset(b):g[f]=new m(b)});else if(!1===b)c.packages={core:g.core};else return g};f.modules=function(b){b&&k.each(b,function(b,c){var h=b.url;h&&(b.url=p(h));h=k.createModule(c,b);h.status===i.Status.INIT&&k.mix(h,b)})};f.base=function(b){var c=j.packages.core;if(!b)return c&&c.getBase();this.config("packages",{core:{base:b}})}})(KISSY);
  (function(c,n){function p(b,d,c){var h=b&&b.length,f=[],k=[];g(b,function(b){var r,g={timeout:c,success:function(){k.push(b);r&&e&&(l(r.name,e.factory,e.config),e=n);--h||d(k,f)},error:function(){f.push(b);--h||d(k,f)},charset:b.charset};b.combine||(r=b.mods[0],"css"===r.getType()?r=n:a&&(u=r.name,g.attrs={"data-mod-name":r.name}));o.loadModsFn(b,g)})}function i(a){this.callback=a;this.head=this.tail=n;this.id="loader"+ ++d}function m(a,d){if(!a&&"function"===typeof d&&1<d.length){var e=b.getRequiresFromFn(d);
  e.length&&(a=a||{},a.requires=e)}else a&&a.requires&&!a.cjs&&(a.cjs=0);return a}function k(a,b){var d="";-1!==a.indexOf("//")&&(d=a.substring(0,a.indexOf("//")+2));for(var a=a.substring(d.length).split(/\//),b=b.substring(d.length).split(/\//),e=Math.min(a.length,b.length),c=0;c<e&&a[c]===b[c];c++);return d+a.slice(0,c).join("/")+"/"}var j=c.Loader,o=c.Config,f=j.Status,b=j.Utils,l=b.addModule,g=b.each,h=b.getHash,q=f.LOADING,s=f.LOADED,t=f.ERROR,a=b.ieMode&&10>b.ieMode,d=0,e,u;i.add=function(d,c,
  h,f){if(3===f&&b.isArray(c))var g=c,c=h,h={requires:g,cjs:1};if("function"===typeof d||1===f)if(h=c,c=d,h=m(h,c),a){for(var d=document.getElementsByTagName("script"),k,f=d.length-1;0<=f;f--)if(g=d[f],"interactive"===g.readyState){k=g;break}d=k?k.getAttribute("data-mod-name"):u;l(d,c,h);u=null}else e={factory:c,config:h};else a?u=null:e=n,h=m(h,c),l(d,c,h)};b.mix(i.prototype,{use:function(a){var d,c=o.timeout;d=this.getComboUrls(a);d.css&&p(d.css,function(a,d){g(a,function(a){g(a.mods,function(a){l(a.name,
  b.noop);a.flush()})});g(d,function(a){g(a.mods,function(a){a.status=t;a.flush()})})},c);d.js&&p(d.js,function(){g(d.js,function(a){g(a.mods,function(a){a.factory||(a.status=t);a.flush()})})},c)},calculate:function(a,b,d,c,e){var h,f,g,k,e=e||[],c=c||{};for(h=0;h<a.length;h++)g=a[h],f=g.name,c[f]||(k=g.status,k===t?b.push(g):k>s||(k!==s&&!g.contains(this)&&(k!==q&&(g.status=q,e.push(g)),g.add(this),this.wait(g)),this.calculate(g.getNormalizedRequiredModules(),b,d,c,e)),c[f]=1);return e},getComboMods:function(a){var d,
  c=a.length,e,g,f,l,j,i,m,o={},n={};for(d=0;d<c;++d)if(g=a[d],f=g.getType(),g.getUrl(),(e=g.getPackage())?(i=e.getBase(),j=e.getCharset(),l=e.getTag(),m=e.getGroup()):i=g.name,e&&e.isCombine()&&m){e=o[f]||(o[f]={});m=m+"-"+j;var p=e[m]||(e[m]={}),s=0;b.each(p,function(a,d){if(b.isSameOriginAs(d,i)){var e=k(d,i);a.push(g);if(l&&l!==a.tag)a.tag=h(a.tag+l);delete p[d];p[e]=a;s=1}});s||(e=p[i]=[g],e.charset=j,e.tag=l||"")}else f=n[f]||(n[f]={}),(e=f[i])?l&&l!==e.tag&&(e.tag=h(e.tag+l)):(e=f[i]=[],e.charset=
  j,e.tag=l||""),e.push(g);return{groups:o,normals:n}},getComboUrls:function(a){function d(a,l,j){function i(a){u.push({combine:1,url:a,charset:r,mods:p})}function m(){var a;a=q;var b=o,d=l,g=e,f=c,h=t;if(a&&1<b.length){for(var j=a.length,k=[],i=0;i<b.length;i++)k[i]=b[i].substring(j);a=d+a+g+k.join(f)+h}else a=d+g+b.join(f)+h;return a}for(var o=[],p=[],s=j.tag,r=j.charset,t=s?"?t="+encodeURIComponent(s)+"."+a:"",s=l.length,q,u=[],x=0;x<j.length;x++){var w=j[x],v=w.getUrl();if(!w.getPackage()||!w.getPackage().isCombine()||
  !b.startsWith(v,l))u.push({combine:0,url:v,charset:r,mods:[w]});else if(v=v.slice(s).replace(/\?.*$/,""),o.push(v),p.push(w),q===n?q=-1!==v.indexOf("/")?v:"":""!==q&&(q=k(q,v),"/"===q&&(q="")),o.length>f||m().length>h)o.pop(),p.pop(),i(m()),o=[],p=[],q=n,x--}o.length&&i(m());g[a].push.apply(g[a],u)}var e=o.comboPrefix,c=o.comboSep,g={},f=o.comboMaxFileNum,h=o.comboMaxUrlLength,l=this.getComboMods(a),j,i,a=l.normals,l=l.groups,m;for(j in a)for(i in g[j]=g[j]||[],a[j])d(j,i,a[j][i]);for(j in l)for(m in g[j]=
  g[j]||[],l[j])for(i in l[j][m])d(j,i,l[j][m][i]);return g},flush:function(){if(this.callback){for(var a=this.head,b=this.callback;a;){var d=a.node,e=d.status;if(e>=s||e===t)d.remove(this),a=this.head=a.next;else return}this.callback=null;b()}},isCompleteLoading:function(){return!this.head},wait:function(a){this.head?(a={node:a},this.tail=this.tail.next=a):this.tail=this.head={node:a}}});j.ComboLoader=i})(KISSY);
  (function(c){var n=c.Loader,p=n.Utils,i=p.createModule,m=n.ComboLoader;p.mix(c,{getModule:function(c){return i(c)},getPackage:function(k){return c.Config.packages[k]},add:function(c,j,i){m.add(c,j,i,arguments.length)},use:function(k,j){function i(){++l;var k=[];h=f.calculate(h,k);var m=h.length;if(k.length){if(b)try{b.apply(c,k)}catch(a){setTimeout(function(){throw a;},0)}}else if(f.isCompleteLoading()){if(p.attachModules(n),j)try{j.apply(c,[c].concat(p.getModulesExports(g)))}catch(d){setTimeout(function(){throw d;
  },0)}}else f.callback=i,m&&f.use(h)}var f,b,l=0;"string"===typeof k&&(k=k.replace(/\s+/g,"").split(","));"object"===typeof j&&(b=j.error,j=j.success);var g=p.createModules(k),h=[];p.each(g,function(b){h.push.apply(h,b.getNormalizedModules())});var n=h;f=new m(i);i();return c},require:function(c){return i(c).getExports()},undef:function(c){c=i(c).getNormalizedModules();p.each(c,function(c){c.undef()})}})})(KISSY);KISSY.add("i18n",{alias:function(c,n){return n+"/i18n/"+c.Config.lang}});
  (function(c){function n(c){var g=c.src||"";if(!g.match(b))return 0;var c=(c=c.getAttribute("data-config"))?(new Function("return "+c))():{},h=c.comboPrefix||j,i=c.comboSep||o,n,p=g.indexOf(h);-1===p?n=g.replace(f,"$1"):(n=g.substring(0,p),"/"!==n.charAt(n.length-1)&&(n+="/"),h=g.substring(p+h.length).split(i),m.each(h,function(a){if(a.match(b))return n+=a.replace(f,"$1"),!1}));"tag"in c||(h=g.lastIndexOf("?t="),-1!==h&&(g=g.substring(h+1),c.tag=m.getHash(k+g)));c.base=c.base||n;return c}function p(){var b=
  i.getElementsByTagName("script"),c,f;for(c=b.length-1;0<=c;c--)if(f=n(b[c]))return f;return null}var i=c.Env.host&&c.Env.host.document,m=c.Loader.Utils,k="20140808133439",j="??",o=",",f=/^(.*)(seed|loader)(?:-debug|-coverage)?\.js[^/]*/i,b=/(seed|loader)(?:-debug|-coverage)?\.js/i;c.config({comboPrefix:j,comboSep:o,charset:"utf-8",filter:"",lang:"zh-cn"});c.config("packages",{core:{filter:c.Config.debug?"debug":""}});i&&i.getElementsByTagName&&c.config(m.mix({comboMaxUrlLength:2E3,comboMaxFileNum:40},
  p()));c.add("logger-manager",function(){return c.LoggerMangaer})})(KISSY);
  