text: this.seajs={_seajs:this.seajs},seajs.version="1.3.1",seajs._util={},seajs._config={debug:"%DEBUG%",preload:[]},function(e){var t=Object.prototype.toString,i=Array.prototype;e.isString=function(e){return"[object String]"===t.call(e)},e.isFunction=function(e){return"[object Function]"===t.call(e)},e.isRegExp=function(e){return"[object RegExp]"===t.call(e)},e.isObject=function(e){return e===Object(e)},e.isArray=Array.isArray||function(e){return"[object Array]"===t.call(e)},e.indexOf=i.indexOf?function(e,t){return e.indexOf(t)}:function(e,t){for(var i=0;e.length>i;i++)if(e[i]===t)return i;return-1};var n=e.forEach=i.forEach?function(e,t){e.forEach(t)}:function(e,t){for(var i=0;e.length>i;i++)t(e[i],i,e)};e.map=i.map?function(e,t){return e.map(t)}:function(e,t){var i=[];return n(e,function(e,n,r){i.push(t(e,n,r))}),i},e.filter=i.filter?function(e,t){return e.filter(t)}:function(e,t){var i=[];return n(e,function(e,n,r){t(e,n,r)&&i.push(e)}),i};var r=e.keys=Object.keys||function(e){var t=[];for(var i in e)e.hasOwnProperty(i)&&t.push(i);return t};e.unique=function(e){var t={};return n(e,function(e){t[e]=1}),r(t)},e.now=Date.now||function(){return(new Date).getTime()}}(seajs._util),function(e){e.log=function(){if("undefined"!=typeof console){var e=Array.prototype.slice.call(arguments),t="log",i=e[e.length-1];if(console[i]&&(t=e.pop()),"log"!==t||seajs.debug){if(console[t].apply)return console[t].apply(console,e),void 0;var n=e.length;1===n?console[t](e[0]):2===n?console[t](e[0],e[1]):3===n?console[t](e[0],e[1],e[2]):console[t](e.join(" "))}}}}(seajs._util),function(e,t,i){function n(e){var t=e.match(m);return(t?t[0]:".")+"/"}function r(e){if(g.lastIndex=0,g.test(e)&&(e=e.replace(g,"$1/")),-1===e.indexOf("."))return e;for(var t,i=e.split("/"),n=[],r=0;i.length>r;r++)if(t=i[r],".."===t){if(0===n.length)throw Error("The path is invalid: "+e);n.pop()}else"."!==t&&n.push(t);return n.join("/")}function s(e){e=r(e);var t=e.charAt(e.length-1);return"/"===t?e:("#"===t?e=e.slice(0,-1):-1!==e.indexOf("?")||y.test(e)||(e+=".js"),e.indexOf(":80/")>0&&(e=e.replace(":80/","/")),e)}function o(e){if("#"===e.charAt(0))return e.substring(1);var i=t.alias;if(i&&p(e)){var n=e.split("/"),r=n[0];i.hasOwnProperty(r)&&(n[0]=i[r],e=n.join("/"))}return e}function a(i){var s=t.map||[];if(!s.length)return i;for(var o=i,a=0;s.length>a;a++){var l=s[a];if(e.isArray(l)&&2===l.length){var h=l[0];(e.isString(h)&&o.indexOf(h)>-1||e.isRegExp(h)&&h.test(o))&&(o=o.replace(h,l[1]))}else e.isFunction(l)&&(o=l(o))}return c(o)||(o=r(n(x)+o)),o!==i&&(b[o]=i),o}function l(e){return b[e]||e}function h(e,i){if(!e)return"";e=o(e),i||(i=x);var r;return c(e)?r=e:u(e)?(0===e.indexOf("./")&&(e=e.substring(2)),r=n(i)+e):r=d(e)?i.match(v)[1]+e:t.base+"/"+e,s(r)}function c(e){return e.indexOf("://")>0||0===e.indexOf("//")}function u(e){return 0===e.indexOf("./")||0===e.indexOf("../")}function d(e){return"/"===e.charAt(0)&&"/"!==e.charAt(1)}function p(e){var t=e.charAt(0);return-1===e.indexOf("://")&&"."!==t&&"/"!==t}function f(e){return"/"!==e.charAt(0)&&(e="/"+e),e}var m=/.*(?=\/.*$)/,g=/([^:\/])\/\/+/g,y=/\.(?:css|js)$/,v=/^(.*?\w)(?:\/|$)/,b={},L=i.location,x=L.protocol+"//"+L.host+f(L.pathname);x.indexOf("\\")>0&&(x=x.replace(/\\/g,"/")),e.dirname=n,e.realpath=r,e.normalize=s,e.parseAlias=o,e.parseMap=a,e.unParseMap=l,e.id2Uri=h,e.isAbsolute=c,e.isRoot=d,e.isTopLevel=p,e.pageUri=x}(seajs._util,seajs._config,this),function(e,t){function i(e,t){"SCRIPT"===e.nodeName?n(e,t):r(e,t)}function n(e,i){e.onload=e.onerror=e.onreadystatechange=function(){p.test(e.readyState)&&(e.onload=e.onerror=e.onreadystatechange=null,e.parentNode&&!t.debug&&c.removeChild(e),e=void 0,i())}}function r(t,i){m||g?(e.log("Start poll to fetch css"),setTimeout(function(){s(t,i)},1)):t.onload=t.onerror=function(){t.onload=t.onerror=null,t=void 0,i()}}function s(e,t){var i;if(m)e.sheet&&(i=!0);else if(e.sheet)try{e.sheet.cssRules&&(i=!0)}catch(n){"NS_ERROR_DOM_SECURITY_ERR"===n.name&&(i=!0)}setTimeout(function(){i?t():s(e,t)},1)}function o(){}var a,l,h=document,c=h.head||h.getElementsByTagName("head")[0]||h.documentElement,u=c.getElementsByTagName("base")[0],d=/\.css(?:\?|$)/i,p=/loaded|complete|undefined/;e.fetch=function(t,n,r){var s=d.test(t),l=document.createElement(s?"link":"script");if(r){var h=e.isFunction(r)?r(t):r;h&&(l.charset=h)}i(l,n||o),s?(l.rel="stylesheet",l.href=t):(l.async="async",l.src=t),a=l,u?c.insertBefore(l,u):c.appendChild(l),a=null},e.getCurrentScript=function(){if(a)return a;if(l&&"interactive"===l.readyState)return l;for(var e=c.getElementsByTagName("script"),t=0;e.length>t;t++){var i=e[t];if("interactive"===i.readyState)return l=i,i}},e.getScriptAbsoluteSrc=function(e){return e.hasAttribute?e.src:e.getAttribute("src",4)},e.importStyle=function(e,t){if(!t||!h.getElementById(t)){var i=h.createElement("style");t&&(i.id=t),c.appendChild(i),i.styleSheet?i.styleSheet.cssText=e:i.appendChild(h.createTextNode(e))}};var f=navigator.userAgent,m=536>Number(f.replace(/.*AppleWebKit\/(\d+)\..*/,"$1")),g=f.indexOf("Firefox")>0&&!("onload"in document.createElement("link"))}(seajs._util,seajs._config,this),function(e){function t(e){return e.replace(/^\s*\/\*[\s\S]*?\*\/\s*$/gm,"").replace(/^\s*\/\/.*$/gm,"")}var i=/(?:^|[^.$])\brequire\s*\(\s*(["'])([^"'\s\)]+)\1\s*\)/g;e.parseDependencies=function(n){var r,s=[];for(n=t(n),i.lastIndex=0;r=i.exec(n);)r[2]&&s.push(r[2]);return e.unique(s)}}(seajs._util),function(e,t,i){function n(e,t){this.uri=e,this.status=t||0}function r(e,i){return t.isString(e)?n._resolve(e,i):t.map(e,function(e){return r(e,i)})}function s(e,r){var s=t.parseMap(e);return L[s]?(r(),void 0):b[s]?(x[s].push(r),void 0):(b[s]=!0,x[s]=[r],n._fetch(s,function(){L[s]=!0;var i=m[e];i.status===v.FETCHING&&(i.status=v.FETCHED),C&&(n._save(e,C),C=null),w&&i.status===v.FETCHED&&(m[e]=w,w.realUri=e),w=null,b[s]&&delete b[s];var r=x[s];r&&(delete x[s],t.forEach(r,function(e){e()}))},i.charset),void 0)}function o(e,i){var s=m[e]||(m[e]=new n(e));return s.status<v.SAVED&&(s.id=i.id||e,s.dependencies=r(t.filter(i.dependencies||[],function(e){return!!e}),e),s.factory=i.factory,s.status=v.SAVED),s}function a(e,t){var i=e(t.require,t.exports,t);void 0!==i&&(t.exports=i)}function l(e){return!!g[e.realUri||e.uri]}function h(e){var i=e.realUri||e.uri,n=g[i];n&&(t.forEach(n,function(t){a(t,e)}),delete g[i])}function c(e){var i=e.uri;return t.filter(e.dependencies,function(e){S=[i];var t=u(m[e]);return t&&(S.push(i),d(S)),!t})}function u(e){if(!e||e.status!==v.SAVED)return!1;S.push(e.uri);var t=e.dependencies;if(t.length){if(p(t,S))return!0;for(var i=0;t.length>i;i++)if(u(m[t[i]]))return!0}return S.pop(),!1}function d(e,i){t.log("Found circular dependencies:",e.join(" --> "),i)}function p(e,i){var n=e.concat(i);return n.length>t.unique(n).length}function f(e){var t=i.preload.slice();i.preload=[],t.length?O._use(t,e):e()}var m={},g={},y=[],v={FETCHING:1,FETCHED:2,SAVED:3,READY:4,COMPILING:5,COMPILED:6};n.prototype._use=function(e,i){t.isString(e)&&(e=[e]);var n=r(e,this.uri);this._load(n,function(){f(function(){var e=t.map(n,function(e){return e?m[e]._compile():null});i&&i.apply(null,e)})})},n.prototype._load=function(e,i){function r(e){(e||{}).status<v.READY&&(e.status=v.READY),0===--l&&i()}var o=t.filter(e,function(e){return e&&(!m[e]||m[e].status<v.READY)}),a=o.length;if(0===a)return i(),void 0;for(var l=a,h=0;a>h;h++)(function(e){function t(){if(i=m[e],i.status>=v.SAVED){var t=c(i);t.length?n.prototype._load(t,function(){r(i)}):r(i)}else r()}var i=m[e]||(m[e]=new n(e,v.FETCHING));i.status>=v.FETCHED?t():s(e,t)})(o[h])},n.prototype._compile=function(){function e(e){var t=r(e,i.uri),n=m[t];return n?n.status===v.COMPILING?n.exports:(n.parent=i,n._compile()):null}var i=this;if(i.status===v.COMPILED)return i.exports;if(i.status<v.SAVED&&!l(i))return null;i.status=v.COMPILING,e.async=function(e,t){i._use(e,t)},e.resolve=function(e){return r(e,i.uri)},e.cache=m,i.require=e,i.exports={};var n=i.factory;return t.isFunction(n)?(y.push(i),a(n,i),y.pop()):void 0!==n&&(i.exports=n),i.status=v.COMPILED,h(i),i.exports},n._define=function(e,i,s){var o=arguments.length;1===o?(s=e,e=void 0):2===o&&(s=i,i=void 0,t.isArray(e)&&(i=e,e=void 0)),!t.isArray(i)&&t.isFunction(s)&&(i=t.parseDependencies(""+s));var a,l={id:e,dependencies:i,factory:s};if(document.attachEvent){var h=t.getCurrentScript();h&&(a=t.unParseMap(t.getScriptAbsoluteSrc(h))),a||t.log("Failed to derive URI from interactive script for:",""+s,"warn")}var c=e?r(e):a;if(c){if(c===a){var u=m[a];u&&u.realUri&&u.status===v.SAVED&&(m[a]=null)}var d=n._save(c,l);a?(m[a]||{}).status===v.FETCHING&&(m[a]=d,d.realUri=a):w||(w=d)}else C=l},n._getCompilingModule=function(){return y[y.length-1]},n._find=function(e){var i=[];return t.forEach(t.keys(m),function(n){if(t.isString(e)&&n.indexOf(e)>-1||t.isRegExp(e)&&e.test(n)){var r=m[n];r.exports&&i.push(r.exports)}}),i},n._modify=function(t,i){var n=r(t),s=m[n];return s&&s.status===v.COMPILED?a(i,s):(g[n]||(g[n]=[]),g[n].push(i)),e},n.STATUS=v,n._resolve=t.id2Uri,n._fetch=t.fetch,n._save=o;var b={},L={},x={},C=null,w=null,S=[],O=new n(t.pageUri,v.COMPILED);e.use=function(t,i){return f(function(){O._use(t,i)}),e},e.define=n._define,e.cache=n.cache=m,e.find=n._find,e.modify=n._modify,n.fetchedList=L,e.pluginSDK={Module:n,util:t,config:i}}(seajs,seajs._util,seajs._config),function(e,t,i){function n(){e.debug=!!i.debug}function r(e){if(-1===e.indexOf("??"))return e;var i=e.split("??"),n=i[0],r=t.filter(i[1].split(","),function(e){return-1!==e.indexOf("sea.js")});return n+r[0]}function s(e,i,n){e&&e!==i&&t.log("The alias config is conflicted:","key =",'"'+n+'"',"previous =",'"'+e+'"',"current =",'"'+i+'"',"warn")}var o="seajs-ts=",a=o+t.now(),l=document.getElementById("seajsnode");if(!l){var h=document.getElementsByTagName("script");l=h[h.length-1]}var c=l&&t.getScriptAbsoluteSrc(l)||t.pageUri,u=t.dirname(r(c));t.loaderDir=u;var d=u.match(/^(.+\/)seajs\/[\.\d]+(?:-dev)?\/$/);d&&(u=d[1]),i.base=u,i.main=l&&l.getAttribute("data-main"),i.charset="utf-8",e.config=function(r){for(var l in r)if(r.hasOwnProperty(l)){var h=i[l],c=r[l];if(h&&"alias"===l){for(var u in c)if(c.hasOwnProperty(u)){var d=h[u],p=c[u];/^\d+\.\d+\.\d+$/.test(p)&&(p=u+"/"+p+"/"+u),s(d,p,u),h[u]=p}}else!h||"map"!==l&&"preload"!==l?i[l]=c:(t.isString(c)&&(c=[c]),t.forEach(c,function(e){e&&h.push(e)}))}var f=i.base;return f&&!t.isAbsolute(f)&&(i.base=t.id2Uri((t.isRoot(f)?"":"./")+f+"/")),2===i.debug&&(i.debug=1,e.config({map:[[/^.*$/,function(e){return-1===e.indexOf(o)&&(e+=(-1===e.indexOf("?")?"?":"&")+a),e}]]})),n(),this},n()}(seajs,seajs._util,seajs._config),function(e,t,i){function n(){var e=[],n=i.location.search;return n=n.replace(/(seajs-\w+)(&|$)/g,"$1=1$2"),n+=" "+document.cookie,n.replace(/seajs-(\w+)=[1-9]/g,function(t,i){e.push(i)}),t.unique(e)}e.log=t.log,e.importStyle=t.importStyle,e.config({alias:{seajs:t.loaderDir}}),t.forEach(n(),function(t){e.use("seajs/plugin-"+t),"debug"===t&&(e._use=e.use,e._useArgs=[],e.use=function(){return e._useArgs.push(arguments),e})})}(seajs,seajs._util,this),function(e,t,i){var n=e._seajs;return n&&!n.args?(i.seajs=e._seajs,void 0):(i.define=e.define,t.main&&e.use(t.main),function(t){if(t)for(var i={0:"config",1:"use",2:"define"},n=0;t.length>n;n+=2)e[i[t[n]]].apply(e,t[n+1])}((n||0).args),i.define.cmd={},delete e.define,delete e._util,delete e._config,delete e._seajs,void 0)}(seajs,seajs._config,this);