forked from newzqy/rubylouvre.github.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmass_min.js
161 lines (161 loc) · 80.4 KB
/
mass_min.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
!function(R,G){function u(b,f){if("function"===typeof b&&b.call)return u.require(ha+",ready",b);u.fn||u.error("\u5fc5\u987b\u52a0\u8f7dnode\u6a21\u5757");return new u.fn.init(b,f)}function ia(b,f){var d=[].slice.call(arguments),h=1,m,s="boolean"===typeof d[d.length-1]?d.pop():!0;1===d.length&&(b=!this.window?this:{},h=0);for(;f=d[h++];)for(m in f)if(U.call(f,m)&&(s||!(m in b)))b[m]=f[m];return b}function ja(b){var f;try{a.b.c()}catch(d){f=d.stack,!f&&window.opera&&(f=(String(d).match(/of linked script \S+/g)||
[]).join(" "))}if(f)return f=f.split(/[@ ]/g).pop(),f="("===f[0]?f.slice(1,-1):f.replace(/\s/,""),f.replace(/(:\d+)?:\d+$/i,"");f=(b?document:S).getElementsByTagName("script");for(var h=0,m;m=f[h++];)if((b||m.className===ka)&&"interactive"===m.readyState)return m.className=m.src}function la(b,f){for(var d in b)if("\u53f8\u5f92\u6b63\u7f8e"===b[d]&&2!==A[d].state&&(d===f||la(A[d].deps,f)))return!0}function V(){var b=W.length,f;a:for(;f=W[--b];){f=A[f];var d=f.deps,h;for(h in d)if(U.call(d,h)&&2!==
A[h].state)continue a;2!==f.state&&(W.splice(b,1),ma(f.id,f.args,f.factory),V())}}function na(b,f,d){var h=b.src;b.onload=b.onreadystatechange=b.onerror=null;if(f||d&&!A[h].state)setTimeout(function(){S.removeChild(b)}),u.log("\u52a0\u8f7d "+h+" \u5931\u8d25"+f+" "+!A[h].state,7);else return!0}function ra(b,f,d,h){if(/^(mass|ready)$/.test(b))return b;if(u.config.alias[b])d=u.config.alias[b],"object"===typeof d&&(h=d,d=d.src);else if(/^(\w+)(\d)?:.*/.test(b))d=b;else{f=f.substr(0,f.lastIndexOf("/"));
var m=b.charAt(0);if("."!==m&&"/"!==m)d=T+b;else if("./"===b.slice(0,2))d=f+b.slice(1);else if(".."===b.slice(0,2)){var s=f.replace(/\/$/,"").split("/"),m=b.replace(/\.\.\//g,function(){s.pop();return""});d=s.join("/")+"/"+m}else"/"===m?d=f+b:u.error("\u4e0d\u7b26\u5408\u6a21\u5757\u6807\u8bc6\u89c4\u5219: "+b)}var k=d.replace(/[?#].*/,""),q;/\.(css|js)$/.test(k)&&(q=RegExp.$1);q||(k+=".js",q="js");if("js"===q)return A[k]||(A[k]={id:k,parent:f,exports:{}},h?require(h.deps||"",function(){oa(k,function(){A[k].state=
2;A[k].exports=window[h.exports];V()})}):oa(k)),k;sa(k)}function oa(b,f){var d=G.createElement("script");d.className=ka;d[P?"onload":"onreadystatechange"]=function(){if(P||/loaded|complete/i.test(d.readyState)){var b=Z.pop();b&&b.delay(d.src);f&&f();na(d,!1,!P)&&u.log("\u5df2\u6210\u529f\u52a0\u8f7d "+d.src,7)}};d.onerror=function(){na(d,!0)};d.src=b;S.insertBefore(d,S.firstChild);u.log("\u6b63\u51c6\u5907\u52a0\u8f7d "+d.src,7)}function sa(b){var f=b.replace($,"");if(!G.getElementById(f)){var d=
G.createElement("link");d.rel="stylesheet";d.href=b;d.id=f;S.insertBefore(d,S.firstChild)}}function ma(b,f,d){for(var h=0,m=[],s;s=f[h++];)m.push(A[s].exports);f=Object(A[b]);d=d.apply(R,m);f.state=2;void 0!==d&&(A[b].exports=d);return d}function X(){A.ready.state=2;V();aa&&u.unbind(G,pa,aa);X=u.noop}function ba(){try{ca.doScroll("left"),X()}catch(b){setTimeout(ba)}}var da=R.$,$=/(#.+|\W)/g,ea=G.URL.replace($,""),Q=R[ea],P=G.dispatchEvent,ca=G.documentElement,S=G.head||G.getElementsByTagName("head")[0],
W=[],Z=[],K="",ta=1E5,ha="mass,lang,class,flow,data,support,query,node,attr,css,event,ajax,fx",ka="mass"+(new Date-0),U=Object.prototype.hasOwnProperty,fa={"[object HTMLDocument]":"Document","[object HTMLCollection]":"NodeList","[object StaticNodeList]":"NodeList","[object DOMWindow]":"Window","[object global]":"Window","null":"Null",NaN:"NaN",undefined:"Undefined"},qa=fa.toString,T,M;"function"!==typeof Q&&(Q=u,Q.uuid=1);if(1!==Q.mass){Q[1]=u;if(Q.mass||da&&null==da.mass)K="1".replace(/\D/g,"");
ia(u,{html:ca,head:S,mix:ia,rword:/[^, ]+/g,rmapper:/(\w+)_(\w+)/g,mass:1,hasOwn:function(b,f){return U.call(b,f)},"@bind":P?"addEventListener":"attachEvent",slice:P?function(b,f,d){return Z.slice.call(b,f,d)}:function(b,f,d){var h=[],m=b.length;if(void 0===d||"number"===typeof d&&isFinite(d)){f=parseInt(f,10)||0;d=void 0==d?m:parseInt(d,10);0>f&&(f+=m);d>m&&(d=m);0>d&&(d+=m);for(m=f;m<d;++m)h[m-f]=b[m]}return h},getUid:P?function(b){return b.uniqueNumber||(b.uniqueNumber=Q.uuid++)}:function(b){if(1!==
b.nodeType)return b.uniqueNumber||(b.uniqueNumber=Q.uuid++);var f=b.getAttribute("uniqueNumber");f||(f=Q.uuid++,b.setAttribute("uniqueNumber",f));return+f},bind:P?function(b,f,d,h){b.addEventListener(f,d,!!h);return d}:function(b,f,d){b.attachEvent&&b.attachEvent("on"+f,d);return d},unbind:P?function(b,f,d,h){b.removeEventListener(f,d||u.noop,!!h)}:function(b,f,d){b.detachEvent&&b.detachEvent("on"+f,d||u.noop)},type:function(b,f){var d=fa[null==b||b!==b?b:qa.call(b)]||b.nodeName||"#";"#"===d.charAt(0)&&
(d=b==b.document&&b.document!=b?"Window":9===b.nodeType?"Document":b.callee?"Arguments":isFinite(b.length)&&b.item?"NodeList":qa.call(b).slice(8,-1));return f?f===d:d},log:function(b,f,d){for(var h=1,m=!0;h<arguments.length;h++)d=arguments[h],"number"===typeof d?m=d<=u.config.level:!0===d&&(f=!0);m&&(!0===f?u.require("ready",function(){var d=G.createElement("pre");d.className="mass_sys_log";d.innerHTML=b+"";G.body.appendChild(d)}):window.opera?opera.postError(b):R.console&&(console.info&&console.log)&&
console.log(b));return b},oneObject:function(b,f){"string"===typeof b&&(b=b.match(u.rword)||[]);for(var d={},h=void 0!==f?f:1,m=0,s=b.length;m<s;m++)d[b[m]]=h;return d},config:function(b){for(var f in b)if(U.call(b,f)){var d=b[f];if("function"===typeof M.plugin[f])M.plugin[f](d);else M[f]=d}return this},exports:function(b){R.$=da;b=b||u.config.nick;u.config.nick=b;R[ea]=Q;return R[b]=this},noop:function(){},error:function(b,f){throw new (f||Error)(b);}});(function(){var b=ja(!0);b||(b=u.slice(document.scripts).pop().src);
var f=b.replace(/[?#].*/,"");M=u.config;M.plugin={};M.alias={};T=M.base=f.slice(0,f.lastIndexOf("/")+1);for(var f=G.getElementsByTagName("script"),d=0,h;h=f[d++];)if(h.src===b){M.nick=h.getAttribute("nick")||"$";break}M.level=9})();M.plugin.alias=function(b){var f=M.alias,d;for(d in b)if(U.call(b,d)){var h=b[d];f[d]&&u.error("\u6ce8\u610f"+d+"\u51fa\u7ecf\u91cd\u5199\u8fc7");f[d]=h}};"Boolean,Number,String,Function,Array,Date,RegExp,Window,Document,Arguments,NodeList".replace(u.rword,function(b){fa["[object "+
b+"]"]=b});var A=u.modules={ready:{exports:u},mass:{state:2,exports:u}};window.require=u.require=function(b,f,d){var h={},m=[],s=0,k=0,q=d||"cb"+(ta++).toString(32);d=d||T;String(b).replace(u.rword,function(b){if(b=ra(b,d))s++,A[b]&&2===A[b].state&&k++,h[b]||(m.push(b),h[b]="\u53f8\u5f92\u6b63\u7f8e")});A[q]={id:q,factory:f,deps:h,args:m,state:1};s===k?ma(q,m,f):W.unshift(q);V()};require.config=M;window.define=u.define=function(b,f,d){var h=u.slice(arguments);if("string"===typeof b)var m=h.shift();
if("boolean"===typeof h[0]){if(h[0])return;h.shift()}"function"===typeof h[0]&&h.unshift([]);b=A[b]&&1<=A[b].state?m:ja();d=h[1];d.id=m;d.delay=function(b){h.push(b);la(A[b].deps,b)&&u.error(b+"\u6a21\u5757\u4e0e\u4e4b\u524d\u7684\u67d0\u4e9b\u6a21\u5757\u5b58\u5728\u5faa\u73af\u4f9d\u8d56");delete d.delay;require.apply(null,h)};b?d.delay(b,h):Z.push(d)};u.define.amd=A;ha.replace(u.rword,function(b){u.config.alias["$"+b]=T+b+".js"});var aa,pa=P?"DOMContentLoaded":"readystatechange";if(!G.readyState)var ua=
G.readyState="loading";if("complete"===G.readyState)X();else if(u.bind(G,pa,aa=function(){if(P||"complete"===G.readyState)X(),ua&&(G.readyState="complete")}),ca.doScroll)try{self.eval===parent.eval&&ba()}catch(xa){ba()}R.VBArray&&"abbr,article,aside,audio,base,bdi,canvas,data,datalist,details,figcaption,figure,footer,header,hgroup,m,mark,meter,nav,output,progress,section,summary,time,video".replace(u.rword,function(b){G.createElement(b)});u.bind(R,"popstate",function(){ea=G.URL.replace($,"");u.exports()});
u.exports(u.config.nick+K);K=function(b){for(var f=[T+b+".js"],d=1;d<arguments.length;d++){var h=arguments[d];"string"!==typeof h&&f.push(h)}return u.define.apply(u,f)};"lang,class,flow,data,query,support,css,attr,node,event,fx,ajax".replace(u.rword,function(b){A[T+b+".js"]={state:1}});K("lang",Array.isArray?["mass"]:["lang_fix"],function(b){function f(b,c,e){b[c]||r(b,c,{configurable:!0,enumerable:!1,writable:!0,value:e})}function d(v){var c=b.type(v);switch(c){case "Array":case "Object":return b[c].clone(v);
default:return v}}function h(v,c,e){b.isPlainObject(v[c])?b.Object.merge(v[c],e):v[c]=d(e);return v}var m=this,s=m.execScript?"execScript":"eval",k=/\\?\#{([^{}]+)\}/gm,q=(m.open+"").replace(/open/g,""),r=Object.defineProperty;try{r({},"a",{get:function(){}}),b.supportDefineProperty=!0}catch(c){f=function(b,c,e){b[c]||(b[c]=e)}}var e={isPlainObject:function(v){if(!b.type(v,"Object")||b.isNative("reload",v))return!1;try{for(var c in v)if(!Object.prototype.hasOwnProperty.call(v,c))return!1}catch(e){return!1}return!0},
isNative:function(b,c){var e=c?c[b]:!1,g=RegExp(b,"g");return!(!e||!("string"!=typeof e&&q===(e+"").replace(g,"")))},isEmptyObject:function(b){for(var c in b)return!1;return!0},isArrayLike:function(v,c){var e=b.type(v);return"Array"===e||"Arguments"===e||"NodeList"===e||c&&"String"===e?!0:"Object"===e?(e=v.length,0<=e&&0===e%1&&v.hasOwnProperty("0")):!1},isFunction:function(b){return"[object Function]"===e.toString.call(b)},isArray:Array.isArray,each:function(c,e,y,g){var d,f=0,h=[];if(b.isArrayLike(c))for(var m=
c.length;f<m;f++)if(d=e.call(y||c[f],f,c[f]),g)null!=d&&(h[h.length]=d);else{if(!1===d)break}else for(f in c)if(d=e.call(y||c[f],f,c[f]),g)null!=d&&(h[h.length]=d);else if(!1===d)break;return g?h:c},map:function(c,e,g){return b.each(c,e,g,!0)},filter:function(b,c,e){for(var g=0,d=b.length,f=[];g<d;g++)if(c.call(e||b[g],b[g],g))f[f.length]=b[g];return f},format:function(c,e){var g=b.slice(arguments,1);return c.replace(k,function(b,c){if("\\"===b.charAt(0))return b.slice(1);var v=Number(c);return 0<=
v?g[v]:e&&void 0!==e[c]?e[c]:""})},range:function(b,c,e){e||(e=1);null==c&&(c=b||0,b=0);var g=-1;c=Math.max(0,Math.ceil((c-b)/e));for(var d=Array(c);++g<c;)d[g]=b,b+=e;return d},quote:String.quote||JSON.stringify,dump:function(c){var e=b.isNative("parse",window.JSON)?4:"\r\t",g=[];c=JSON.stringify(c,function(b,c){if("object"===typeof c&&null!==c){if(-1!==g.indexOf(c))return;g.push(c)}return"function"===typeof c?c+"":c},e);g=[];return c},parseJS:function(b){if(b&&/\S/.test(b))try{m[s](b)}catch(c){}},
parseJSON:function(c){try{return m.JSON.parse(c.trim())}catch(e){b.error("Invalid JSON: "+c,TypeError)}},parseXML:function(c,e,g){try{var d=document.documentMode;m.DOMParser&&(!d||8<d)?(g=new DOMParser,e=g.parseFromString(c,"text/xml")):(e=new ActiveXObject("Microsoft.XMLDOM"),e.async="false",e.loadXML(c))}catch(f){e=void 0}(!e||!e.documentElement||e.getElementsByTagName("parsererror").length)&&b.error("Invalid XML: "+c,TypeError);return e}};b.mix(e,!1);(function(b,c){for(var e in c)f(b,e,c[e])})(String.prototype,
{repeat:function(b){for(var c="",e=this;0<b;)b&1&&(c+=e),e+=e,b>>=1;return c},startsWith:function(b){return 0===this.indexOf(b)},endsWith:function(b){return this.lastIndexOf(b)===this.length-b.length},contains:function(b,c){return-1!=="".indexOf.call(this,b,c>>0)}});"String,Array,Number,Object".replace(b.rword,function(c){b[c]=function(e){var g="string"==typeof e;(g?e.match(b.rword):Object.keys(e)).forEach(function(d){b[c][d]=g?function(c){return c[d].apply(c,b.slice(arguments,1))}:e[d]})}});b.String({byteLen:function(b){return b.replace(/[^\x00-\xff]/g,
"ci").length},truncate:function(b,c,e){c=c||30;e=void 0===e?"...":e;return b.length>c?b.slice(0,c-e.length)+e:String(b)},camelize:function(b){return 0>b.indexOf("-")&&0>b.indexOf("_")?b:b.replace(/[-_][^-_]/g,function(b){return b.charAt(1).toUpperCase()})},underscored:function(b){return b.replace(/([a-z\d])([A-Z]+)/g,"$1_$2").replace(/\-/g,"_").toLowerCase()},capitalize:function(b){return b.charAt(0).toUpperCase()+b.substring(1).toLowerCase()},stripTags:function(b){return b.replace(/<[^>]+>/g,"")},
stripScripts:function(b){return b.replace(/<script[^>]*>([\S\s]*?)<\/script>/img,"")},escapeHTML:function(b){return b.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")},unescapeHTML:function(b){return b.replace(/"/g,'"').replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/&#([\d]+);/g,function(b,c){return String.fromCharCode(parseInt(c,10))})},escapeRegExp:function(b){return(b+"").replace(/([-.*+?^${}()|[\]\/\\])/g,
"\\$1")},pad:function(b,c,e,g,d){b=b.toString(d||10);for(e=e||"0";b.length<c;)b=g?b+e:e+b;return b}});b.String("charAt,charCodeAt,concat,indexOf,lastIndexOf,localeCompare,match,contains,endsWith,startsWith,repeat,replace,search,slice,split,substring,toLowerCase,toLocaleLowerCase,toUpperCase,trim,toJSON");b.Array({contains:function(b,c){return!!~b.indexOf(c)},removeAt:function(b,c){return!!b.splice(c,1).length},remove:function(c,e){var g=c.indexOf(e);return~g?b.Array.removeAt(c,g):!1},shuffle:function(b){var c=
[],e=b.length,g;for(b=b.slice(0);0<=--e;)g=Math.floor(Math.random()*e),c[c.length]=b[g],b[g]=b[e];return c},random:function(c){return b.Array.shuffle(c.concat())[0]},flatten:function(c){var e=[],g=b.Array.flatten;c.forEach(function(b){Array.isArray(b)?e=e.concat(g(b)):e.push(b)});return e},compact:function(b){return b.filter(function(b){return null!=b})},sortBy:function(c,e,g){c=c.map(function(b,c){return{el:b,re:e.call(g,b,c)}}).sort(function(b,c){var e=b.re,g=c.re;return e<g?-1:e>g?1:0});return b.Array.pluck(c,
"el")},pluck:function(b,c){var e=[],g;b.forEach(function(b){g=b[c];null!=g&&e.push(g)});return e},unique:function(b){var c=[],e=b.length,g,d;for(g=0;g<e;g++){for(d=g+1;d<e;d++)b[g]===b[d]&&(d=++g);c.push(b[g])}return c},merge:function(b,c){for(var e=~~b.length,g=0,d=c.length;g<d;g++)b[e++]=c[g];b.length=e;return b},union:function(c,e){return b.Array.unique(b.Array.merge(c,e))},intersect:function(b,c){return b.filter(function(b){return~c.indexOf(b)})},diff:function(b,c){for(var e=b.slice(),g=0;g<e.length;g++)for(var d=
0;d<c.length;d++)if(e[g]===c[d]){e.splice(g,1);g--;break}return e},min:function(b){return Math.min.apply(0,b)},max:function(b){return Math.max.apply(0,b)},clone:function(b){for(var c=b.length,e=[];c--;)e[c]=d(b[c]);return e},ensure:function(b,c){~b.indexOf(c)||b.push(c);return b},inGroupsOf:function(b,c,e){var g=b.length,d=Math.ceil(g/c),f=void 0!==e,h=[],m,k,l;for(m=0;m<d;m++){h[m]=[];for(k=0;k<c;k++)l=m*c+k,l===g?f&&(h[m][k]=e):h[m][k]=b[l]}return h}});b.Array("concat,join,pop,push,shift,slice,sort,reverse,splice,unshift,indexOf,lastIndexOf,every,some,filter,reduce,reduceRight");
var g={limit:function(b,c,e){c=[c,e].sort();b<c[0]&&(b=c[0]);b>c[1]&&(b=c[1]);return b},nearer:function(b,c,e){var g=Math.abs(b-c);b=Math.abs(b-e);return g<b?c:e},round:function(b,c){return c?(c=Math.pow(10,c),Math.round(b*c)/c):Math.round(b)}};"abs,acos,asin,atan,atan2,ceil,cos,exp,floor,log,pow,sin,sqrt,tan".replace(b.rword,function(b){g[b]=Math[b]});b.Number(g);b.Number("toFixed,toExponential,toPrecision,toJSON");b.Object({subset:function(b,c){var e={};c.forEach(function(c){e[c]=b[c]});return e},
forEach:function(b,c){Object.keys(b).forEach(function(e){c(b[e],e)})},map:function(b,c){return Object.keys(b).map(function(e){return c(b[e],e)})},clone:function(b){var c={},e;for(e in b)c[e]=d(b[e]);return c},merge:function(b,c,e){var g,d;if("string"===typeof c)return h(b,c,e);for(var f=1,m=arguments.length;f<m;f++)for(d in g=arguments[f],g)void 0!==g[d]&&h(b,d,g[d]);return b}});b.Object("hasOwnerProperty,isPrototypeOf,propertyIsEnumerable");return b});K("class",["lang"],function(b){function f(){}
function d(d){return b.factory(this,d)}var h=/mass/.test(function(){1})?/\b_super|_superApply\b/:/.*/,m={inherit:function(d,h){if("function"==typeof d){for(var q in d)this[q]=d[q];f.prototype=d.prototype;this.prototype=new f;this._super=d;this.__init__||(this.__init__=[d])}this.__init__=(this.__init__||[]).concat();h&&this.__init__.push(h);this.toString=function(){return(h||f)+""};q=this.fn=this.prototype;q.extend=m.extend;q.setOptions=function(){var d=arguments[0];"string"===typeof d?(d=this[d]||
(this[d]={}),[].splice.call(arguments,0,1,d)):[].unshift.call(arguments,this);b.Object.merge.apply(null,arguments);return this};return q.constructor=this},extend:function(b){var d=this;Object.keys(b).forEach(function(f){var m=d[f],c=b[f];if("funciton"===typeof m&&"function"===typeof c&&h.test(c)){var e=function(){return m.apply(this,arguments)},g=function(b){return m.apply(this,b)};d[f]=function(){var b=this._super,d=this._superApply;this._super=e;this._superApply=g;var f=c.apply(this,arguments);
this._super=b;this._superApply=d;return f}}else d[f]=c});return this}};b.factory=function(f,h){1===arguments.length&&(h=f,f=null);var q=h.statics,r=h.init;delete h.init;delete h.statics;var c=function(){for(var b=0,e;e=c.__init__[b++];)e.apply(this,arguments)};m.inherit.call(c,f,r);var r=c.fn,e=c.__init__;b.mix(c,q);c.prototype=c.fn=r;c.__init__=e;c.fn.extend(h);c.mix=b.mix;c.extend=d;return c};b.mix(b.factory,m);return b});K("flow",["class"],function(b){b.Observer=b.factory({init:function(b){this._events=
{};if("string"===b){this._target=this;var d=this;b.replace(/(\w+)(?:\(([^\)]+)\))*/ig,function(b,f,h){isFinite(h)?d[b]=+h:d[b]=h||!0})}else this._target=b},bind:function(b,d){var f=this._events[b];f?f.push(d):this._events[b]=[d];return this},once:function(b,d){var f=this,k=function(){d.apply(f,arguments);f.unbind(b,k)};this.bind(b,k);return this},unbind:function(b,d){var f=arguments.length;if(0===f)this._events={};else if(1===f)this._events[b]=[];else for(var f=this._events[b]||[],k=f.length;-1<--k;)if(f[k]===
d)return f.splice(k,1);return this},fire:function(d){var f=(this._events[d]||[]).concat();if(f.length){var s=this._target,k=b.slice(arguments);this.rawFire?k.shift():k[0]={type:d,target:s};for(var q=0,r;r=f[q++];)r.apply(s,k)}}});b.Flow=b.Observer.extend({init:function(b){this._fired={}},fire:function(d,m){for(var s=this._events,k=2,q,r;k--;)if(r=k?d:f,(q=s[r])&&q.length){m=b.slice(arguments,1);k&&(this._events[r]&&(this._fired[r]=m.concat()),m.unshift({type:d,target:this._target}));r=0;for(var c;c=
q[r++];)c.apply(this,m)}else break;return this},refresh:function(){Array.prototype.push.call(arguments,!1);d.apply(this,arguments);return this},reload:function(){Array.prototype.push.call(arguments,!0);d.apply(this,arguments);return this},order:function(b){if(this._events[b]){var d=this._queue.shift();this.timestamp||(this.timestamp=new Date-0);var f=!0;this.timeout&&new Date-this.timestamp>this.timeout&&(f=!1);b===d&&f?this.fire.apply(this,arguments):(this._queue=this._order.concat(),this._fired=
{},delete this.timestamp)}},repeat:function(d,f,s){var k=f,q=[];this.bind(d,function(){q.push.apply(q,b.slice(arguments,1));0===--f&&(s.apply(this._target,q),f=k,q=[])});return this},done:function(d){var f=this;return function(s,k){if(s)return f.fire("error",s);if("string"===typeof d)return f.fire(d,k);if(2>=arguments.length)return d(k);var q=b.slice(arguments,1);d.apply(null,q)}},fail:function(b){var d=this;d.once("error",function(f){d.unbind();b(f)});return this}});b.Flow.create=function(d,f,s){var k=
new b.Flow;d=d.match(b.rword)||[];"function"===typeof s&&k.fail(s);d.push(f);k.refresh.apply(k,d);return k};var f="$"+Date.now(),d=function(d,m,s){function k(b){q.bind(b,function(){c[b]||(c[b]=!0,r++)})}var q=this,r=0,c={},e=d.match(b.rword),g=e.length;if(!e.length)return this;this._queue=e.concat();this._order=e;for(d=0;d<g;d++)k(e[d]);q.bind(f,function(){if(!(r<g)){for(var b=[],d=0;d<g;d++)b.push.apply(b,q._fired[e[d]]);s&&(c={},r=0);m.apply(q,b)}})};return b});K("data",["lang"],function(b){function f(d,
f,r,c){var e=h.indexOf(d);-1===e?(e=h.push(d),e=m[e-1]={data:{}}):e=m[e];var g="string"===typeof f,v=e;c||(e=e.data);f&&"object"===typeof f?b.mix(e,f):g&&void 0!==r&&(e[f]=r);if(g){if(f in e)return e[f];if(!c&&d&&1==d.nodeType)return b.parseData(d,f,v)}else return e}function d(b,d,f){b=h.indexOf(b);if(-1<b){var c="string"===typeof d,e=m[b],g=e;c&&(f||(e=e.data),e&&(c=e[d],delete e[d]),'{"data":{}}'===JSON.stringify(g)&&(h.splice(b,1),m.splice(b,1)));return c}}var h=[],m=[],s=/^(?:null|false|true|NaN|\{.*\}|\[.*\])$/;
b.mix({hasData:function(b){return-1<h.indexOf(b)},data:function(b,d,h){return f(b,d,h)},_data:function(b,d,h){return f(b,d,h,!0)},removeData:function(b,f){return d(b,f)},_removeData:function(b,f){return d(b,f,!0)},parseData:function(d,f,h,c){var e,g,v=b.String.camelize(f);if(h&&v in h)return h[v];if(4!==arguments.length){var m="data-"+f.replace(/([A-Z])/g,"-$1").toLowerCase();c=d.getAttribute(m)}if("string"===typeof c){if(s.test(c)||+c+""===c)g=!0;try{e=g?eval("0,"+c):c}catch(y){e=c}h&&(h[v]=e)}return e},
mergeData:function(d,f){if(b.hasData(d)){var h=b._data(f),c=b._data(d),e=h.events;b.Object.merge(c,h);if(e){c.events=[];for(h=0;c=e[h++];)b.event.bind(d,c)}}}});return b});K("query",["mass"],function(b){function f(b,c){return b===c?(f.hasDuplicate=!0,0):!b.compareDocumentPosition||!c.compareDocumentPosition?b.compareDocumentPosition?-1:1:b.compareDocumentPosition(c)&4?-1:1}function d(b,c){return String.fromCharCode(parseInt(c,16))}function h(b){var c=b;b=b.replace(/^\+|\s*/g,"");b=("even"===b&&"2n"||
"odd"===b&&"2n+1"||!/\D/.test(b)&&"0n+"+b||b).match(/(-?)(\d*)n([-+]?\d*)/);return h[c]={a:b[1]+(b[2]||1)-0,b:b[3]-0}}function m(c,l,e){var n="getElementsByTagName",p=[],d={},g;e&&(0<c.indexOf(":")&&l.length&&l[0].lookupNamespaceURI)&&(c=c.split(":"),g=c[0],c=c[1],n="getElementsByTagNameNS",g=l[0].lookupNamespaceURI(g));switch(l.length){case 0:return p;case 1:l=g?l[0][n](g,c):l[0][n](c);for(var t=e=0,f;f=l[e++];)1===f.nodeType&&(p[t++]=f);return p;default:for(t=e=0;f=l[e++];){f=g?f[n](g,c):f[n](c);
for(var J=0,F;F=f[J++];){var h=b.getUid(F);d[h]||(d[h]=p[t++]=F)}}return p}}function s(b,c,l){var e=[];try{if(r.DOMParser)for(var n=l.evaluate(b,c,null,7,null),p=0,d=n.snapshotLength;p<d;p++)e[p]=n.snapshotItem(p);else{n=c.selectNodes(b);p=0;for(d=n.length;p<d;p++)e[p]=n[p]}}catch(g){return!1}return e}function k(b,c,l){c=c?"nextSibling":"previousSibling";var e={type:[" tagName = el.nodeName;",c,"nodeName","tagName"],child:["",c,"nodeType","1"]}[b];return{exec:new Function("flags","lastResult",("var result = [], flag_not = flags.not, node, el, tagName, i = 0, ri = 0, found = 0; for (; node = el = lastResult[i++];found = 0) {{0} while (!found && (node=node.{1})) { (node.{2} === {3}) && ++found; }"+
(l?" node = el;while (!found && (node = node.previousSibling)) { node.{2} === {3} && ++found; }":"")+"!found ^ flag_not && (result[ri++] = el); } return result").replace(/{(\d)}/g,function(b,c){return e[c]}))}}function q(b,c){return{exec:function(l,e){for(var n=[],p=c?l.not:!l.not,d=0,g=0,t;t=e[d++];)t[b]^p&&(n[g++]=t);return n}}}var r=this,c=r.document;b.mix({isXML:function(b){return"p"===(b.ownerDocument||b).createElement("p").nodeName},contains:function(b,c,l){if(b===c)return!!l;if(!c.parentNode)return!1;
if(b.contains)return b.contains(c);if(b.compareDocumentPosition)return!!(b.compareDocumentPosition(c)&16);for(;c=c.parentNode;)if(b===c)return!0;return!1},getText:function(){return function va(b){b=b.nodeType?[b]:b;for(var c=0,l="",e;e=b[c++];)3===e.nodeType||4===e.nodeType?l+=e.nodeValue:8!==e.nodeType&&(l+=va(e.childNodes));return l}}(),unique:function(b){if(2>b.length)return b;var c=[],l=[],e={},n=b[0],p,d=0;p="number"===typeof n.sourceIndex;var g="function"==typeof n.compareDocumentPosition;if(!p&&
!g){g=(n.ownerDocument||n).getElementsByTagName("*");for(p=0;n=g[p];p++)n.setAttribute("sourceIndex",p);p=!0}if(p){for(var g=0,t=b.length;g<t;g++)n=b[g],p=(n.sourceIndex||n.getAttribute("sourceIndex"))+1E8,e[p]||((l[d++]=new String(p))._=n,e[p]=1);for(l.sort();d;)c[--d]=l[d]._;return c}b.sort(f);if(f.hasDuplicate)for(g=1;g<b.length;g++)b[g]===b[g-1]&&b.splice(g--,1);f.hasDuplicate=!1;return b}});var e=/^\s*([>+~,\s])\s*(\*|(?:[-\w*]|[^\x00-\xa0]|\\.)*)/,g=/^\s+/,v=/\s+$/,H=/^(^|[#.])((?:[-\w]|[^\x00-\xa0]|\\.)+)$/,
y=/^\s*,\s*/,B=/^([#\.:]|\[\s*)((?:[-\w]|[^\x00-\xa0]|\\.)+)/,E=/^\(\s*("([^"]*)"|'([^']*)'|[^\(\)]*(\([^\(\)]*\))?)\s*\)/,w=/^\s*(?:(\S?=)\s*(?:(['"])(.*?)\2|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,u=/\\([0-9a-fA-F]{2,2})/g,z=/^(title|id|name|class|for|href|src)$/,O=/\\/g,l=/^((?:[-\w\*]|[^\x00-\xa0]|\\.)+)/,p={"=":1,"!=":2,"|=":3,"~=":4,"^=":5,"$=":6,"*=":7};g.test("\u00a0")&&(g=/^[\s\xA0]+/,v=/[\s\xA0]+$/);var t=Array.prototype.slice,J=function(c,l,e){c=t.call(c,0);l?l.push.apply(l,c):l=c;return e?
b.unique(l):l};try{t.call(b.html.childNodes,0)[0].nodeType}catch(I){J=function(c,l,e){l=l||[];for(var n=l.length,p=0,d;d=c[p++];)l[n++]=d;return e?b.unique(l):l}}var n=b.oneObject("action,cite,codebase,data,href,longdesc,lowsrc,src,usemap",2),F=b.oneObject("autofocus,autoplay,async,checked,controls,declare,disabled,defer,defaultchecked,contenteditable,ismap,loop,multiple,noshade,open,noresize,readonly,selected"),C,D,ga,L,wa=new Function("els","return els[0]."+(b.html.textContent?"textContent":"innerText"));
new function(){var l=c.createElement("select"),e=l.appendChild(c.createElement("option"));e.setAttribute("selected","selected");e.className="x";C="x"!==e.getAttribute("class");l.appendChild(c.createComment(""));L=2===l.getElementsByTagName("*").length;for(var n=c.getElementsByTagName("*"),p,d,g=[],t=0,f=0;p=n[t++];)d=p.nodeType,1===d?b.getUid(p):8===d?g.push(p):0;for(;p=g[f++];)p.parentNode.removeChild(p);D=l.hasAttribute?!e.hasAttribute("selected"):!0;l=c.createElement("div");e="fixId"+(new Date).getTime();
n=b.html;l.innerHTML="<a name='"+e+"'/>";n.insertBefore(l,n.firstChild);ga=!!c.getElementById(e);n.removeChild(l)};var N=b.query=function(n,p,d,t,f,F,h){d=d||[];p=p||c;var I=J;if(p.nodeType)p=[p];else if(p=I(p),!p.length)return d;t=p[0];var C=t.ownerDocument||t,D,k,w,B,q,r;n=n.replace(g,"").replace(v,"");if((f=void 0!==f?f:b.isXML(C))&&"body"===n&&t.body)return I([t.body],d,F);if(!f&&C.querySelectorAll){k=n;if(2<p.length||8==C.documentMode&&1==t.nodeType){2<p.length&&(t=C);k=".fix_icarus_sqa "+k;
for(var E=0,x;x=p[E++];)1===x.nodeType&&(x.className="fix_icarus_sqa "+x.className)}if(8!==C.documentMode||"object"!==t.nodeName.toLowerCase())try{return I(t.querySelectorAll(k),d,F)}catch(z){}finally{if(0===k.indexOf(".fix_icarus_sqa"))for(E=0;x=p[E++];)1===x.nodeType&&(x.className=x.className.replace("fix_icarus_sqa ",""))}}if(x=n.match(H))if(E=x[2].replace(O,""),x=x[1],""==x?D=m(E,p,f):"."===x&&1===p.length?f?D=s("//*[@class='"+E+"']",t,C):t.getElementsByClassName&&(D=t.getElementsByClassName(E)):
"#"===x&&1===p.length&&(f?D=s("//*[@id='"+E+"']",t,C):9==t.nodeType&&(x=C.getElementById(E),D=!x?[]:!ga?[x]:x.getAttributeNode("id").nodeValue===E?[x]:!1)),D)return I(D,d,F);t=p;if(t.length)a:for(;n&&void 0!==n;){h=!1;w=null;k={};if(x=n.match(e))switch(n=RegExp.rightContext,w=[],B=(f?x[2]:x[2].toUpperCase()).replace(O,"")||"*",q=E=0,D="*"===B,x[1]){case " ":if(n.length||x[2])w=m(B,t,f);else{w=t;break a}break;case ">":for(;x=t[E++];)for(x=x.firstChild;x;x=x.nextSibling)if(1===x.nodeType&&(D||B===x.nodeName))w[q++]=
x;break;case "+":for(;x=t[E++];)for(;x=x.nextSibling;)if(1===x.nodeType){if(D||B===x.nodeName)w[q++]=x;break}break;case "~":for(;x=t[E++];)for(;x=x.nextSibling;)if(1===x.nodeType&&(D||B===x.nodeName))if(r=b.getUid(x),k[r])break;else k[r]=w[q++]=x;w=b.unique(w)}else if(x=n.match(l))n=RegExp.rightContext,w=m(x[1].replace(O,""),t,f);if(n){w=N.filter(n,w,t,C,f);n=w[0];w=w[1];w||(h=!0,w=m("*",t,f));if(n.match(y))return n=RegExp.rightContext,I(w,d),N(n,p,d,[],f,!0,h);t=w}}if(F){if(w.length)return I(w,d,
F)}else if(c!==C||L&&h){d=[];for(E=q=0;x=w[E++];)1===x.nodeType&&(d[q++]=x);return d}return w},A=b.oneObject("eq,gt,lt,first,last,even,odd");b.mix(N,{getAttribute:!C?function(b,c){return b.getAttribute(c)||""}:function(b,c,l){if(l)return b.getAttribute(c)||"";c=c.toLowerCase();if(n[c])return b.getAttribute(c,2)||"";if("style"===c)return b.style.cssText.toLowerCase();if("INPUT"===b.tagName&&"type"==c)return b.getAttribute("type")||b.type;l=F[c]?b.getAttribute(c)?c:"":(b=b.getAttributeNode(c))&&b.value||
"";return z.test(c)?l:l.toLowerCase()},hasAttribute:!D?function(b,c,l){return l?!!b.getAttribute(c):b.hasAttribute(c)}:function(b,c){c=c.toLowerCase();b=b.getAttributeNode(c);return!(!b||!b.specified&&!b.nodeValue)},filter:function(c,e,n,t,g,f){for(var F=J,I=h,C,D,v;C=c.match(B);){c=RegExp.rightContext;D=(C[2]||"").replace(O,"");if(!e){if(1===n.length&&n[0]===t)switch(C[1]){case "#":if(!g){v=t.getElementById(D);if(!v){e=[];continue}if(ga?v.id===D:v.getAttributeNode("id").nodeValue===D){e=[v];continue}}break;
case ":":switch(D){case "root":e=[t.documentElement];continue;case "link":e=F(t.links||[]);continue}}e=m("*",n,g)}var k=0,y=!1,H;switch(C[1]){case "#":k=["id","=",D];break;case ".":k=["class","~=",D];break;case ":":v=N.pseudoHooks[D];if(C=c.match(E))c=RegExp.rightContext,H=~D.indexOf("nth")?I[C[1]]||I(C[1]):C[3]||C[2]||C[1];if(v)k=v;else if("not"===D)if(y=!0,"*"===H)e=[];else if(l.test(H)){v=[];C=g?H:H.toUpperCase();for(var q=0,r=0,x;x=e[q++];)C!==x.nodeName&&(v[r++]=x);e=v}else v=N.filter(H,e,n,
t,g,!0),k=v.filter,H=v.args;else b.error('An invalid or illegal string was specified : "'+D+'"!');break;default:if(k=[D.toLowerCase()],C=c.match(w))c=RegExp.rightContext,C[1]&&(k[1]=C[1],k[2]=C[3]||C[4],k[2]=k[2]?k[2].replace(u,d).replace(O,""):"")}if(f)return{filter:k,args:H};if(e.length&&k){v=[];r=q=0;if("function"===typeof k)if(A[D])for(H=void 0===H?e.length-1:~~H;x=e[q];)k(q++,H)^y&&(v[r++]=x);else for(;x=e[q++];)!!k(x,H)^y&&(v[r++]=x);else if("function"===typeof k.exec)v=k.exec({not:y,xml:g},
e,H,t);else{D=k[0];C=p[k[1]];var k=k[2]||"",s,L;if(!g&&"class"===D&&4===C)for(k=" "+k+" ";x=e[q++];)D=x.className,!!(D&&-1<(" "+D+" ").indexOf(k))^y&&(v[r++]=x);else{!g&&(C&&k&&!z.test(D))&&(k=k.toLowerCase());for(4===C&&(k=" "+k+" ");x=e[q++];){if(C)if(""===k&&3<C)s=!1;else switch(L=N.getAttribute(x,D,g),C){case 1:s=L===k;break;case 2:s=L!==k;break;case 3:s=L===k||L.substr(0,k.length+1)===k+"-";break;case 4:s=L&&0<=(" "+L+" ").indexOf(k);break;case 5:s=L&&0===L.indexOf(k);break;case 6:s=L&&L.substr(L.length-
k.length)===k;break;case 7:s=L&&0<=L.indexOf(k)}else s=N.hasAttribute(x,D,g);s^y&&(v[r++]=x)}}}e=v}}return[c,e]}});var Y=function(c,l,e){return{exec:function(n,p,d){var t=[];n=n.not;var g={},f={},J=d.a;d=d.b;var F=0,C=0,h,I;if(!e&&1===J&&0===d)return n?[]:p;for(var D=e?"nodeName":"nodeType";h=p[F++];){var v=h.parentNode,k=b.getUid(v);if(!f[k]){I=f[k]=1;for(var m=e?h.nodeName:1,v=v[c];v;v=v[l])v[D]===m&&(k=b.getUid(v),g[k]=I++)}I=g[b.getUid(h)]-d;I=0===J?0===I:0===I%J&&0<=I/J;I^n&&(t[C++]=h)}return t}}};
N.pseudoHooks={root:function(b){return b===(b.ownerDocument||b.document).documentElement},target:{exec:function(b,c,l,e){l=[];b=b.not;e=(e.defaultView||e.parentWindow).location.hash.slice(1);for(var n=0,p=0,d;d=c[n++];)if((d.id||d.name)===e^b)l[p++]=d;return l}},"first-child":k("child",!1,!1),"last-child":k("child",!0,!1),"only-child":k("child",!0,!0),"first-of-type":k("type",!1,!1),"last-of-type":k("type",!0,!1),"only-of-type":k("type",!0,!0),"nth-child":Y("firstChild","nextSibling",!1),"nth-last-child":Y("lastChild",
"previousSibling",!1),"nth-of-type":Y("firstChild","nextSibling",!0),"nth-last-of-type":Y("lastChild","previousSibling",!0),empty:function(b){for(b=b.firstChild;b;b=b.nextSibling)if("@"<b.nodeName||3===b.nodeType||4===b.nodeType)return!1;return!0},link:{exec:function(c,l){var e=(l[0].ownerDocument||l[0].document).links;if(!e)return[];for(var n=[],p={},d=c.not,t=0,g=0,f;f=e[t++];)p[b.getUid(f)]=1;for(t=0;f=l[t++];)p[b.getUid(f)]^d&&(n[g++]=f);return n}},lang:{exec:function(b,c,l){var e=[];l=RegExp("^"+
l,"i");b=b.not;for(var n=0,p=0,d;d=c[n++];){for(var t=d;t&&!t.getAttribute("lang");)t=t.parentNode;t=!(!t||!l.test(t.getAttribute("lang")));t^b&&(e[p++]=d)}return e}},active:function(b){return b===b.ownerDocument.activeElement},focus:function(b){return(b.type||b.href)&&b===b.ownerDocument.activeElement},indeterminate:function(b){return!0===b.indeterminate&&"checkbox"===b.type},enabled:q("disabled",!1),disabled:q("disabled",!0),checked:q("checked",!0),contains:{exec:function(c,l,e){var n=[],p=c.xml?
b.getText:wa;c=c.not;for(var d=0,t=0,g;g=l[d++];)!!~p([g]).indexOf(e)^c&&(n[t++]=g);return n}},selected:function(b){b.parentNode&&b.parentNode.selectedIndex;return!0===b.selected},header:function(b){return/h\d/i.test(b.nodeName)},button:function(b){return"button"===b.type||"BUTTON"===b.nodeName},input:function(b){return/input|select|textarea|button/i.test(b.nodeName)},parent:function(b){return!!b.firstChild},has:function(c,l){return!!b.query(l,[c]).length},first:function(b){return 0===b},last:function(b,
c){return b===c},even:function(b){return 0===b%2},odd:function(b){return 1===b%2},lt:function(b,c){return b<c},gt:function(b,c){return b>c},eq:function(b,c){return b===c},hidden:function(b){return 0>=b.offsetWidth||0>=b.offsetHeight||"none"==(b.currentStyle||{}).display}};N.pseudoHooks.visible=function(b){return!N.pseudoHooks.hidden(b)};"text,radio,checkbox,file,password,submit,image,reset".replace(b.rword,function(b){N.pseudoHooks[b]=function(c){return(c.getAttribute("type")||c.type)===b}});return N});
K("support",["mass"],function(b){var f=document,d=f.createElement("div");d.setAttribute("className","t");d.innerHTML=' <link/><a href="/nasami" style="float:left;opacity:.25;">d</a><object><param/></object><table></table><input type="checkbox" checked/>';var h=d.getElementsByTagName("a")[0],m=h.style,s=f.createElement("select"),k=d.getElementsByTagName("input")[0],q=s.appendChild(f.createElement("option")),r=b.support={insertTbody:!d.getElementsByTagName("tbody").length,checkOn:"on"===k.value,optSelected:!!q.selected,
attrInnateHref:"/nasami"===h.getAttribute("href"),attrInnateStyle:h.getAttribute("style")!==m,attrInnateName:"t"!==d.className,attrInnateValue:""==k.getAttribute("checked"),cssOpacity:"0.25"==m.opacity,cssFloat:!!m.cssFloat,traverseAll:!!d.getElementsByTagName("param").length,noscope:!d.getElementsByTagName("link").length,cloneHTML5:"<:nav></:nav>"!==f.createElement("nav").cloneNode(!0).outerHTML,focusin:"attachEvent"===b["@bind"],innerHTML:!1,insertAdjacentHTML:!1,fastFragment:!1,inlineBlock:!0,
pixelPosition:!0,transition:!1};k.checked=!0;r.cloneChecked=!0===k.cloneNode(!0).checked;r.appendChecked=k.checked;s.disabled=!0;r.optDisabled=!q.disabled;d.style.backgroundClip="content-box";d.cloneNode(!0).style.backgroundClip="";r.cloneBackgroundStyle="content-box"===d.style.backgroundClip;h=d.getElementsByTagName("table")[0];try{h.innerHTML="<tr><td>1</td></tr>",r.innerHTML=!0,h.insertAdjacentHTML("afterBegin","<tr><td>2</td></tr>"),r.insertAdjacentHTML=!0}catch(c){}h=s=h=q=m=null;require("ready",
function(){var c=f.body;if(c){try{var g=f.createRange();g.selectNodeContents(c.firstChild||c);r.fastFragment=!!g.createContextualFragment("<a>");b.cachedRange=g}catch(h){}d.style.cssText="position:absolute;top:-1000px;left:-1000px;";c.insertBefore(d,c.firstChild);g='<div style="height:20px;display:inline-block"></div>';d.innerHTML=g+g;r.inlineBlock=40>d.offsetHeight;window.getComputedStyle&&(d.style.top="1%",g=window.getComputedStyle(d,null)||{},r.pixelPosition="1%"!==g.top);d.innerHTML="<a href='#'></a>";
r.focusin||(g=d.firstChild,g.addEventListener("focusin",function(){r.focusin=!0},!1),g.focus());d.style.width=d.style.paddingLeft="10px";r.boxModel=20===d.offsetWidth;c.removeChild(d);d=null}});return b});K("css",this.getComputedStyle?["node"]:["css_fix"],function(b){function f(c,e){if(c&&1===c.nodeType&&0>=c.offsetWidth){if("none"===y(c,"display")){var d={node:c},g;for(g in v)d[g]=c.style[g],c.style[g]=v[g]||b.parseDisplay(c.nodeName);e.push(d)}f(c.parentNode,e)}}function d(b,c,e,d){c=g[c];var f=
H(b);c.forEach(function(c){1>d&&(e-=parseFloat(f["padding"+c])||0);2>d&&(e-=parseFloat(f["border"+c+"Width"])||0);3===d&&(e+=parseFloat(y(b,"margin"+c,f))||0);"padding-box"===d&&(e+=parseFloat(f["padding"+c])||0);"border-box"===d&&(e+=parseFloat(f["padding"+c])||0,e+=parseFloat(f["border"+c+"Width"])||0)});return e}function h(b,c,e){var g=[];f(b,g);e=d(b,c,b["offset"+c],e);for(var h=0,n;n=g[h++];)for(c in b=n.node,n)"string"===typeof n[c]&&(b.style[c]=n[c]);return e}function m(c,e){for(var d,g=[],
f=[],n=0,F=c.length;n<F;n++)d=c[n],d.style&&(g[n]=b._data(d,"olddisplay"),f[n]=b.isHidden(d),g[n]||(g[n]=f[n]?b.parseDisplay(d.nodeName):y(d,"display"),b._data(d,"olddisplay",g[n])));for(n=0;n<F;n++)d=c[n],d.style&&(e=-1===e?!f[n]:e,d.style.display=e?g[n]:"none");return c}function s(c){return b.type(c,"Window")?c:9===c.nodeType?c.defaultView||c.parentWindow:!1}var k=b.cssHooks||(b.cssHooks={}),q=/^([\-+])=([\-+.\de]+)/,r=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,c=b.cssName("transform"),e=b.cssName("box-sizing"),
g={Width:["Left","Right"],Height:["Top","Bottom"]},v={position:"absolute",visibility:"hidden",display:""};b.cssNumber=b.oneObject("columnCount,fillOpacity,fontSizeAdjust,fontWeight,lineHeight,opacity,orphans,widows,zIndex,zoom,rotate");window.getComputedStyle&&(b.getStyles=function(b){return window.getComputedStyle(b,null)},k["_default:get"]=function(c,e,d){var g,f;if(d=d||H(c)){g="filter"===e?d.getPropertyValue(e):d[e];var n=c.style;""===g&&!b.contains(c.ownerDocument,c)&&(g=n[e]);/^margin/.test(e)&&
r.test(g)&&(c=n.width,e=n.minWidth,f=n.maxWidth,n.minWidth=n.maxWidth=n.width=g,g=d.width,n.width=c,n.minWidth=e,n.maxWidth=f)}return g});var H=b.getStyles,y=k["_default:get"];delete b.getStyles;k["_default:set"]=function(b,c,e){b.style[c]=e};k["zIndex:get"]=function(b){for(;9!==b.nodeType;){if("static"!==(y(b,"position")||"static")){var c=parseInt(y(b,"zIndex"),10);if(!isNaN(c)&&0!==c)return c}b=b.parentNode}return 0};k["rotate:get"]=function(c){return b._data(c,"rotate")||0};c&&(k["rotate:set"]=
function(e,d,g){b._data(e,"rotate",g);e.style[c]="rotate("+g*Math.PI/180+"rad)"});k["boxSizing:get"]=function(b,c){return e?y(b,c):"BackCompat"===document.compatMode?"border-box":"content-box"};b.css=function(c,e,d,g){if(c.style){var f=/\_/.test(e)?b.String.camelize(e):e;e=b.cssName(f)||f;g=g||H(c);if(void 0===d)return(k[f+":get"]||y)(c,e,g);var n=typeof d,F;if("string"===n&&(F=q.exec(d)))d=+(F[1]+1)*+F[2]+parseFloat(b.css(c,e,void 0,g)),n="number";if("number"!==n||isFinite(d+""))"number"===n&&!b.cssNumber[f]&&
(d+="px"),""===d&&(!b.support.cloneBackgroundStyle&&0===e.indexOf("background"))&&(c.style[e]="inherit"),(k[f+":set"]||k["_default:set"])(c,e,d,g)}};b.fn.css=function(c,e){return b.access(this,b.css,c,arguments)};"Height,Width".replace(b.rword,function(c){var e=c.toLowerCase(),g="client"+c,f="scroll"+c,v="offset"+c;b.cssHooks[e+":get"]=function(b){return h(b,c,0)+"px"};b.cssHooks[e+":set"]=function(e,p,g){var f=b.css(e,"box-sizing");e.style[p]="content-box"===f?g:d(e,c,parseFloat(g),f)+"px"};"inner_1,b_0,outer_2".replace(b.rmapper,
function(n,d,C){b.fn["b"===d?e:d+c]=function(n){C="outer"===d&&!0===n?3:Number(C);n="boolean"===typeof n?void 0:n;if(void 0===n){var k=this[0];return b.type(k,"Window")?k["inner"+c]||k.document.documentElement[g]:9===k.nodeType?(n=k.documentElement,Math.max(k.body[f],n[f],k.body[v],n[v],n[g])):h(k,c,C)}for(var m=0;k=this[m++];)b.css(k,e,n);return this}})});var B=b.oneObject("a,abbr,b,span,strong,em,font,i,kbd","inline"),E=b.oneObject("div,h1,h2,h3,h4,h5,h6,section,p","block"),w,u,z,O;b.applyShadowDOM=
function(c){w||(w=document.createElement("iframe"),w.style.cssText="width:0px;height:0px;border:0 none;");b.html.appendChild(w);O||(z=w.contentWindow,u=z.document,u.write("<!doctype html><html><body>"),u.close(),O=window.VBArray||window.opera);c(z,u,u.body);setTimeout(function(){b.html.removeChild(w)},1E3)};b.mix(B,E);b.parseDisplay=function(c){c=c.toLowerCase();B[c]||b.applyShadowDOM(function(b,e,d,g){e=e.createElement(c);d.appendChild(e);g=b.getComputedStyle?b.getComputedStyle(e,null).display:e.currentStyle.display;
B[c]=g});return B[c]};window.getDefaultComputedStyle&&(b.parseDisplay=function(b){b=b.toLowerCase();if(!B[b]){var c=document.createElement(b),c=window.getDefaultComputedStyle(c,null).display;B[b]=c}return B[b]});b.isHidden=function(c){return 0===c.sourceIndex||"none"===y(c,"display")||!b.contains(c.ownerDocument,c)};b.fn.show=function(){return m(this,1)};b.fn.hide=function(){return m(this,0)};b.fn.toggle=function(b){return m(this,"boolean"===typeof b?b:-1)};b.fn.offset=function(c){if(arguments.length)return!c||
!isFinite(c.top)&&!isFinite(c.left)?this:this.each(function(){if(this&&1===this.nodeType){var e=y(this,"position");"static"===e&&(this.style.position="relative");var n=b(this),d=n.offset(),g=y(this,"top"),p=y(this,"left"),f={},t={};("absolute"===e||"fixed"===e)&&-1<[g,p].indexOf("auto")?(t=n.position(),e=t.top,p=t.left):(e=parseFloat(g)||0,p=parseFloat(p)||0);parseFloat(c.top)&&(f.top=c.top-d.top+e);parseFloat(c.left)&&(f.left=c.left-d.left+p);n.css(f)}});var e=this[0],d=e&&e.ownerDocument,g={left:0,
top:0};if(!d)return g;var e=e.getBoundingClientRect(),f=s(d),d=navigator.vendor||"BackCompat"===d.compatMode?d.body:d.documentElement,n=d.clientLeft>>0,F=f.pageXOffset||d.scrollLeft;g.top=e.top+(f.pageYOffset||d.scrollTop)-(d.clientTop>>0);g.left=e.left+F-n;return g};b.fn.position=function(){var b,c=this[0],e={top:0,left:0};if(c&&1===c.nodeType){if("fixed"===y(c,"position"))b=c.getBoundingClientRect();else{b=this.offset();var d=this.offsetParent();"HTML"!==d[0].tagName&&(e=d.offset());d=H(d[0]);e.top+=
parseFloat(d.borderTopWidth)||0;e.left+=parseFloat(d.borderLeftWidth)||0}return{top:b.top-e.top-parseFloat(y(c,"marginTop",d))||0,left:b.left-e.left-parseFloat(y(c,"marginLeft",d))||0}}};b.fn.offsetParent=function(){return this.map(function(){for(var b=this.offsetParent;b&&9!==b.parentNode.nodeType&&"static"===y(b,"position");)b=b.offsetParent;return b||document.documentElement})};b.fn.scrollParent=function(){var c,e=y(this[0],"position");c=window.VBArray&&/(static|relative)/.test(e)||/absolute/.test(e)?
this.parents().filter(function(){return/(relative|absolute|fixed)/.test(y(this,"position"))&&/(auto|scroll)/.test(y(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0):this.parents().filter(function(){return/(auto|scroll)/.test(y(this,"overflow")+b.css(this,"overflow-y")+b.css(this,"overflow-x"))}).eq(0);return/fixed/.test(e)||!c.length?b(document):c};"scrollLeft_pageXOffset,scrollTop_pageYOffset".replace(b.rmapper,function(c,e,d){b.fn[e]=function(c){var g,n,l="scrollTop"===
e;return void 0===c?(g=this[0],!g?null:(n=s(g))?d in n?n[d]:n.document.documentElement[e]:g[e]):this.each(function(){(n=s(this))?n.scrollTo(!l?c:b(n).scrollLeft(),l?c:b(n).scrollTop()):this[e]=c})}});return b});K("attr",this.getComputedStyle?["node"]:["attr_fix"],function(b){function f(b,e){var d=b.tagName+":"+e;return d in q?q[d]:q[d]=document.createElement(b.tagName)[e]}function d(b){var e=b.tagName.toLowerCase();return"input"===e&&/checkbox|radio/.test(b.type)?"checked":e}var h=/\r/g,m=/^(a|area|button|input|object|select|textarea)$/i,
s=/\S+/g,k=b.support,q={};b.fn.extend({addClass:function(b){if("string"==typeof b)for(var e=0,d;d=this[e++];)if(1===d.nodeType)if(d.className){var f=(d.className+" "+b).match(s);f.sort();for(var h=f.length-1;0<h;--h)f[h]===f[h-1]&&f.splice(h,1);d.className=f.join(" ")}else d.className=b;return this},removeClass:function(b){if(b&&"string"===typeof b||void 0===b)for(var e=(b||"").match(s),d=e.length,f=0,h;h=this[f++];)if(1===h.nodeType&&h.className)if(b){for(var k=" "+h.className.match(s).join(" ")+
" ",m=0;m<d;m++)k=k.replace(" "+e[m]+" "," ");h.className=k.slice(1,k.length-1)}else h.className="";return this},hasClass:function(c,e){var d=RegExp("(\\s|^)"+c+"(\\s|$)");return b.slice(this)[!0===e?"every":"some"](function(b){return(b.className||"").match(d)})},toggleClass:function(c,e){var d=typeof c,f="string"===d&&c.match(s)||[],h,k,m="boolean"===typeof e;return this.each(function(q,w){k=0;if(1===w.nodeType){var r=b(w),s=e;if("string"===d)for(;h=f[k++];)s=m?s:!r.hasClass(h),r[s?"addClass":"removeClass"](h);
else if("undefined"===d||"boolean"===d)w.className&&b._data(w,"__className__",w.className),w.className=w.className||!1===c?"":b._data(w,"__className__")||""}})},replaceClass:function(b,e){for(var d=0,f;f=this[d++];)if(1===f.nodeType&&f.className){for(var h=f.className.match(s),k=[],m=0;m<h.length;m++)k.push(h[m]===b?e:h[m]);f.className=k.join(" ")}return this},val:function(c){var e=r["option:get"];arguments.length&&(c=Array.isArray(c)?c.map(function(b){return null==b?"":b+""}):isFinite(c)?c+"":c||
"");return b.access(this,function(g){if(this===b)return g=(r[d(g)+":get"]||b.propHooks["@default:get"])(g,"value",e),"string"===typeof g?g.replace(h,""):null==g?"":g;1===g.nodeType&&(r[d(g)+":set"]||b.propHooks["@default:set"])(g,"value",c,e)},0,arguments)}});b.mix({fixDefault:b.noop,propMap:{"accept-charset":"acceptCharset","char":"ch",charoff:"chOff","class":"className","for":"htmlFor","http-equiv":"httpEquiv"},prop:function(c,e,d){if(b["@bind"]in c){1===c.nodeType&&!b.isXML(c)&&(e=b.propMap[e.toLowerCase()]||
e);var f=void 0===d?"get":"set";return(b.propHooks[e+":"+f]||b.propHooks["@default:"+f])(c,e,d)}},attr:function(c,e,d){if(b["@bind"]in c){if("undefined"===typeof c.getAttribute)return b.prop(c,e,d);var h=!b.isXML(c),m="@w3c";if(h){e=e.toLowerCase();var y=b.propMap[e]||e;k.attrInnateName||(m="@ie");var q="boolean"===typeof c[y]&&"boolean"===typeof f(c,y)}if(h){if(null===d||!1===d&&q)return b.removeAttr(c,e)}else if(null===d)return c.removeAttribute(e);var r=void 0===d?"get":"set";q&&(m="@bool",e=y);
return(h&&b.attrHooks[e+":"+r]||b.attrHooks[m+":"+r])(c,e,d)}},removeProp:function(c,e){1===c.nodeType?(k.attrInnateName||(e=b.propMap[e.toLowerCase()]||e),c[e]=f(c,e)):c[e]=void 0},removeAttr:function(c,e){e&&1===c.nodeType&&(e=e.toLowerCase(),k.attrInnateName||(e=b.propMap[e]||e),"boolean"!==typeof c[e]&&c.setAttribute(e,""),c.removeAttribute(e),!0===c[e]&&(c[e]=!1,b.fixDefault(c,e,!1)))},propHooks:{"@default:get":function(b,e){return b[e]},"@default:set":function(b,e,d){b[e]=d},"tabIndex:get":function(b){var e=
b.tabIndex;0===e&&(e=m.test(b.nodeName)?0:-1);return e}},attrHooks:{"@w3c:get":function(b,e){var d=b.getAttribute(e);return null==d?void 0:d},"@w3c:set":function(b,e,d){b.setAttribute(e,""+d)},"@bool:get":function(b,e){return b[e]?e.toLowerCase():void 0},"@bool:set":function(c,e){c.setAttribute(e,e.toLowerCase());c[e]=!0;b.fixDefault(c,e,!0)}}});"Attr,Prop".replace(b.rword,function(c){b.fn[c.toLowerCase()]=function(e,d){return b.access(this,b[c.toLowerCase()],e,arguments)};b.fn["remove"+c]=function(e){return this.each(function(){b["remove"+
c](this,e)})}});"accessKey,allowTransparency,bgColor,cellPadding,cellSpacing,codeBase,codeType,colSpan,contentEditable,dateTime,defaultChecked,defaultSelected,defaultValue,frameBorder,isMap,longDesc,maxLength,marginWidth,marginHeight,noHref,noResize,noShade,readOnly,rowSpan,tabIndex,useMap,vSpace,valueType,vAlign".replace(b.rword,function(c){b.propMap[c.toLowerCase()]=c});k.optSelected||(b.propHooks["selected:get"]=function(b){for(var e=b;"number"!==typeof e.selectedIndex;e=e.parentNode);return b.selected});
var r={"option:get":function(b){var e=b.attributes.value;return!e||e.specified?b.value:b.text},"select:get":function(b,e,d){for(var f=b.options,h=b.selectedIndex,m=(b="select-one"===b.type||0>h)?null:[],q=b?h+1:f.length,r=0>h?q:b?h:0;r<q;r++)if(e=f[r],(e.selected||r===h)&&!(k.optDisabled?e.disabled:/ disabled=/.test(e.outerHTML.replace(e.innerHTML,"")))){e=d(e);if(b)return e;m.push(e)}return m},"select:set":function(b,e,d,f){d=[].concat(d);e=0;for(var h;h=b.options[e++];)h.selected=!!~d.indexOf(f(h));
d.length||(b.selectedIndex=-1)}};k.checkOn||(r["checked:get"]=function(b){return null===b.getAttribute("value")?"on":b.value});r["checked:set"]=function(b,e,d){if(Array.isArray(d))return b.checked=!!~d.indexOf(b.value)};"function"===typeof b.fixIEAttr&&b.fixIEAttr(r,b.attrHooks);return b});K("node",["support","class","query","data"].concat(this.dispatchEvent?[]:"node_fix"),function(b){function f(){for(var b=0,c;b<arguments.length;b++)if(c=arguments[b]){if(c.nodeType)return 9===c.nodeType?c:c.ownerDocument;
if(c.setTimeout)return c.document}return document}function d(c,e,d){if(l[c])return l[c];e=e||b.html.style;for(var f=0,p=O.length;f<p;f++)if(d=b.String.camelize(O[f]+c),d in e)return l[c]=d;return null}function h(b,c,e){for(var d=0,l;l=b[d];d++)e(l,d?r(c,!0,!0):c)}function m(b,c,e,d){for(var l=0,f;f=b[l++];)c.nodeType?d(f,c.cloneNode(!0)):e(f,c)}function s(b,c,e,d){e=e.createDocumentFragment();for(var l=0,f;f=b[l++];){for(var p=d,g=c,t=1<l,h=e.cloneNode(!1),J=!g.item,k=0,m=void 0;m=g[k];J&&k++)h.appendChild(t&&
r(m,!0,!0)||m);p(f,h)}}function k(c,e,d,l){var f=b.filter(c,function(b){return 1===b.nodeType}),p=J[e];d.nodeType?h(f,d,p):"string"===typeof d?("replace"!==e&&b.support[u]&&!w.test(d)||(d=b.parseHTML(d,l)),m(f,d,J[e+"2"],p)):d.length&&s(f,d,l,p);return c}function q(c){b._removeData(c);c.clearAttributes&&c.clearAttributes()}function r(c,e,d){if(1===c.nodeType){var l=b.fixCloneNode(c);if(e&&(b.mergeData(l,c),d)){c=c[z]("*");e=l[z]("*");for(d=0;c[d];d++)b.mergeData(e[d],c[d])}return l}return c.cloneNode(!0)}
function c(b){switch(b.nodeType+""){case "1":case "9":return"xml"in b?b.xml:(new XMLSerializer).serializeToString(b);case "3":case "4":return b.nodeValue;default:return""}}function e(c,e,d,l){var f=[];l=!!l;if("string"===typeof e)var p=b.query(e,d),f=b.filter(c,function(b){if(1===b.nodeType)return-1!==p.indexOf(b)^l});else{if(b.type(e,"Function"))return b.filter(c,function(b,c){return!!e.call(b,b,c)^l});if(e.nodeType)return b.filter(c,function(b){return b===e^l})}return f}function g(c,e,d){for(var l=
[],f=0;c=c[e];)if(c&&1===c.nodeType)if(l[f++]=c,!0===d)break;else if("string"===typeof d&&b.match(c,d)){l.pop();break}return l}var v=/^[a-zA-Z]+$/,H=/<([\w:]+)/,y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,B=b.support.noscope?/(<(?:script|link|style|meta|noscript))/ig:/[^\d\D]/,E=b.oneObject("text/javascript","text/ecmascript","application/ecmascript","application/javascript","text/vbscript"),w=/<(?:tb|td|tf|th|tr|col|opt|leg|cap|area)/,u="insertAdjacentHTML",z="getElementsByTagName";
b.fixCloneNode=b.fixCloneNode||function(b){return b.cloneNode(!0)};b.fixParseHTML=b.fixParseHTML||b.noop;b.fn=b.prototype;b.fn.extend=b.factory.extend;b.extend=b.mix;b.fn.extend({init:function(c,e){if(!c)return this;var d;if(b.isArrayLike(e))return b(e).find(c);if(c.nodeType)return this.ownerDocument=9===c.nodeType?c:c.ownerDocument,b.Array.merge(this,[c]);this.selector=c+"";if("string"===typeof c){d=this.ownerDocument=!e?document:f(e,e[0]);var l=e||d;c=c.trim();"<"===c.charAt(0)&&">"===c.charAt(c.length-
1)&&3<=c.length?(d=b.parseHTML(c,d),d=d.childNodes):d=v.test(c)?l[z](c):b.query(c,l);return b.Array.merge(this,d)}this.ownerDocument=f(c[0]);b.Array.merge(this,b.isArrayLike(c)?c:[c]);delete this.selector},mass:b.mass,length:0,valueOf:function(){return Array.prototype.slice.call(this)},size:function(){return this.length},toString:function(){for(var c=this.length,e=[],d=b.type;c--;)e[c]=d(this[c]);return e.join(", ")},labor:function(c){var e=new b;e.context=this.context;e.selector=this.selector;e.ownerDocument=
this.ownerDocument;return b.Array.merge(e,c||[])},slice:function(c,e){return this.labor(b.slice(this,c,e))},get:function(b){return!arguments.length?this.valueOf():this[0>b?this.length+b:b]},eq:function(b){return-1===b?this.slice(b):this.slice(b,+b+1)},gt:function(b){return this.slice(b+1,this.length)},lt:function(b){return this.slice(0,b)},first:function(){return this.slice(0,1)},last:function(){return this.slice(-1)},even:function(){return this.labor(b.filter(this,function(b,c){return 0===c%2}))},
odd:function(){return this.labor(b.filter(this,function(b,c){return 1===c%2}))},each:function(c){return b.each(this,c)},map:function(c){return this.labor(b.map(this,c))},clone:function(b,c){b=null==b?!1:b;c=null==c?b:c;return this.map(function(){return r(this,b,c)})},html:function(e){return b.access(this,function(d,l){if(this===b){var f;if("innerHTML"in d)f=d.innerHTML;else{f=d;for(var p=0,g,t=[];g=f.childNodes[p++];)t.push(c(g));f=t.join("")}return f}l=null==e?"":e+"";if(b.support.innerHTML&&!B.test(l)&&
!w.test(l))try{for(f=0;d=this[f++];)1===d.nodeType&&(b.each(d[z]("*"),q),d.innerHTML=l);return}catch(h){}this.empty().append(l)},null,arguments)},text:function(c){return b.access(this,function(e){if(this===b)return"SCRIPT"===e.tagName?e.text:e.textContent||e.innerText||b.getText([e]);this.empty().append(this.ownerDocument.createTextNode(c))},null,arguments)},outerHTML:function(e){return b.access(this,function(d){if(this===b)return"outerHTML"in d?d.outerHTML:c(d);this.empty().replace(e)},null,arguments)}});
b.fn.init.prototype=b.fn;"push,unshift,pop,shift,splice,sort,reverse".replace(b.rword,function(c){b.fn[c]=function(){Array.prototype[c].apply(this,arguments);return this}});"remove,empty,detach".replace(b.rword,function(c){b.fn[c]=function(){for(var e="empty"!==c,d=0,l;l=this[d++];){if(1===l.nodeType){var f=b.slice(l[z]("*")).concat(e?l:[]);"detach"!==c&&f.forEach(q)}if(e)l.parentNode&&l.parentNode.removeChild(l);else for(;l.firstChild;)l.removeChild(l.firstChild)}return this}});"append,prepend,before,after,replace".replace(b.rword,
function(c){b.fn[c]=function(b){return k(this,c,b,this.ownerDocument)};b.fn[c+"To"]=function(e){b(e,this.ownerDocument)[c](this);return this}});b.fn.insertAfter=function(c){b.log("insertAfter is deprecated, instead of afterTo");return this.afterTo(c)};b.fn.insertBefore=function(c){b.log("insertBefore is deprecated, instead of beforeTo");return this.beforeTo(c)};var O=" -webkit- -o- -moz- -ms- WebKit- moz- webkit- ms- -khtml-".split(" "),l={"float":b.support.cssFloat?"cssFloat":"styleFloat",background:"backgroundColor"},
p=d("matchesSelector",b.html);b.mix({cssName:d,match:function(c,e){try{return c[p](e)}catch(d){return c.parentNode?-1!==b.query(e,c.ownerDocument).indexOf(c):!1}},access:function(c,e,d,l){var f=c.length,p=l[0],g=l[1];if(0===l.length||1===l.length&&"string"===typeof d)return(c=c[0])&&1===c.nodeType?e.call(b,c,p):void 0;if(null===d)e.call(c,l);else if("object"===typeof p)for(var t in p)for(d=0;d<f;d++)e.call(c,c[d],t,p[t]);else for(d=0;d<f;d++)e.call(c,c[d],p,g);return c},parseHTML:function(c,e){e=
e||9===this.nodeType&&this||document;c=c.replace(y,"<$1></$2>").trim();if(b.cachedRange&&e===document&&!B.test(c)&&!w.test(c))return b.cachedRange.createContextualFragment(c);b.support.noscope&&(c=c.replace(B,"<br class=fix_noscope>$1"));var d=(H.exec(c)||["",""])[1].toLowerCase(),l=t[d]||t._default,d=e.createDocumentFragment(),f=e.createElement("div");f.innerHTML=l[1]+c+(l[2]||"");var p=f[z]("script");if(p.length)for(var g=e.createElement("script"),h,J=0,k;k=p[J++];)if(!k.type||E[k.type]){h=g.cloneNode(!1);
for(var m=0,v;v=k.attributes[m++];)v.specified&&(h[v.name]=[v.value]);h.text=k.text;k.parentNode.replaceChild(h,k)}for(J=l[0];J--;f=f.lastChild);for(b.fixParseHTML(f,c);l=f.firstChild;)d.appendChild(l);return d}});var t={area:[1,"<map>"],param:[1,"<object>"],col:[2,"<table><tbody></tbody><colgroup>","</table>"],legend:[1,"<fieldset>"],option:[1,"<select multiple='multiple'>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>"],td:[3,"<table><tbody><tr>"],_default:b.support.noscope?[1,"X<div>"]:
[0,""]},J={prepend:function(b,c){b.insertBefore(c,b.firstChild)},append:function(b,c){b.appendChild(c)},before:function(b,c){b.parentNode.insertBefore(c,b)},after:function(b,c){b.parentNode.insertBefore(c,b.nextSibling)},replace:function(b,c){b.parentNode.replaceChild(c,b)},prepend2:function(b,c){b[u]("afterBegin",c)},append2:function(b,c){b[u]("beforeEnd",c)},before2:function(b,c){b[u]("beforeBegin",c)},after2:function(b,c){b[u]("afterEnd",c)}};t.optgroup=t.option;t.tbody=t.tfoot=t.colgroup=t.caption=
t.thead;t.th=t.td;b.fn.extend({data:function(c,e){if(void 0===c){if(this.length){var d=this[0],l=b.data(d);if(1===d.nodeType&&!b._data(d,"parsedAttrs")){for(var f=0,p=d.attributes,g;g=p[f++];){var t=g.name;t.indexOf("data-")||b.parseData(d,t.slice(5),l,g.value)}b._data(d,"parsedAttrs",!0)}}return l}return b.access(this,function(d,l){if(/^[^238]$/.test(d.nodeType))return b.data(d,c,e)},c,arguments)},removeData:function(c){return this.each(function(){b.removeData(this,c)})}});b.fn.extend({find:function(c){return this.labor(b.query(c,
this))},filter:function(b){return this.labor(e(this,b,this.ownerDocument,!1))},not:function(b){return this.labor(e(this,b,this.ownerDocument,!0))},has:function(c){var e=b(c,this.ownerDocument);c=b.filter(this,function(c){for(var d=0;d=e[d++];)return b.contains(c,d)});return this.labor(c)},closest:function(c,e){for(var d=b(c,e||this.ownerDocument).valueOf(),l=0,f=[],p;p=this[l++];)for(;p;)if(~d.indexOf(p)){f.push(p);break}else if(p=p.parentNode,!p||!p.ownerDocument||p===e||11===p.nodeType)break;f=
1<f.length?b.unique(f):f;return this.labor(f)},is:function(c){c=b.query(c,this.ownerDocument);for(var e={},d,l=0;d=c[l++];)d=b.getUid(d),e[d]=1;return this.valueOf().some(function(c){return e[b.getUid(c)]})},index:function(c){var e=this[0];return!c?e&&e.parentNode?this.first().prevAll().length:-1:"string"===typeof c?b(c).index(e):this.valueOf().indexOf(c.mass?c[0]:c)}});var I=b.oneObject("children","contents","next","prev");b.each({parent:function(b){return(b=b.parentNode)&&11!==b.nodeType?b:[]},
parents:function(b){return g(b,"parentNode").reverse()},parentsUntil:function(b,c){return g(b,"parentNode",c).reverse()},next:function(b){return g(b,"nextSibling",!0)},nextAll:function(b){return g(b,"nextSibling")},nextUntil:function(b,c){return g(b,"nextSibling",c)},prev:function(b){return g(b,"previousSibling",!0)},prevAll:function(b){return g(b,"previousSibling").reverse()},prevUntil:function(b,c){return g(b,"previousSibling",c).reverse()},children:function(c){return b.filter(c.childNodes,function(b){return 1===
b.nodeType})},siblings:function(b){return g(b,"previousSibling").reverse().concat(g(b,"nextSibling"))},contents:function(c){return"IFRAME"===c.tagName?c.contentDocument||c.contentWindow.document:b.slice(c.childNodes)}},function(c,e){b.fn[c]=function(d){for(var l=[],f=0,p;p=this[f++];){var g=p.nodeType;if(1===g||11===g||9===g)l=l.concat(e(p,d))}/Until/.test(c)&&(d=0);l=1<this.length&&!I[c]?b.unique(l):l;l=this.labor(l);return d?l.filter(d):l}});return b});K("event",window.dispatchEvent?["node"]:["event_fix"],
function(b){function f(){try{return document.activeElement}catch(b){}}function d(c,e){if(!(this instanceof b.Event))return new d(c,e);this.originalEvent={};c&&c.type?(this.originalEvent=c,this.type=c.type):this.type=c;this.defaultPrevented=!1;e&&b.mix(this,e);this.timeStamp=new Date-0}var h=b.event={special:{load:{noBubble:!0},click:{trigger:function(){if("INPUT"===this.nodeName&&"checkbox"===this.type&&this.click)return this.click(),!1}},focus:{trigger:function(){if(this!==f()&&this.focus)return this.focus(),
!1},delegateType:"focusin"},blur:{trigger:function(){if(this===f()&&this.blur)return this.blur(),!1},delegateType:"focusout"},beforeunload:{postDispatch:function(b){void 0!==b.result&&(b.originalEvent.returnValue=b.result)}}},fixMouse:function(b,e){if("mousewheel"===b.type)if("wheelDelta"in e){var d=e.wheelDelta;window.opera&&10>opera.version()&&(d=-d);b.wheelDelta=Math.round(d)}else"detail"in e&&(b.wheelDelta=40*-e.detail)}},m=h.special,s=/^(?:focusinfocus|focusoutblur)$/,k=/^([^.]*)(?:\.(.+)|)$/,
q=b.eventMap=b.oneObject("contextmenu,click,dblclick,mouseout,mouseover,mouseenter,mouseleave,mousemove,mousedown,mouseup,mousewheel,","Mouse");b.eventSupport=function(c,e){e=e||b.html;c="on"+c;var d=c in e;e.setAttribute&&!d&&(e.setAttribute(c,""),d="function"===typeof e[c],e.removeAttribute(c));return d};d.prototype={toString:function(){return"[object Event]"},preventDefault:function(){this.defaultPrevented=!0;var b=this.originalEvent;b&&b.preventDefault&&b.preventDefault();b.returnValue=!1;return this},
stopPropagation:function(){var b=this.originalEvent;b&&b.stopPropagation&&b.stopPropagation();b.cancelBubble=this.propagationStopped=!0;return this},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=!0;this.stopPropagation();return this}};b.Event=d;b.mix(h,{add:function(c,e){var d=b._data(c),f=e.type,q=e.selector,y=e.handler;if(!(3===c.nodeType||8===c.nodeType||!f||!y)){e.uniqueNumber=b.getUid(y);var r=d.events||(d.events=[]),s=d.handle;s||(d.handle=s=function(c){return"undefined"!==
typeof b&&(!c||h.triggered!==c.type)?h.dispatch.apply(s.elem,arguments):void 0},s.elem=c);f.replace(b.rword,function(d){var f=k.exec(d)||[];d=f[1];var g=(f[2]||"").split(".").sort(),v=m[d]||{};d=(q?v.delegateType:v.bindType)||d;var v=m[d]||{},f=b.mix({},e,{type:d,origType:f[1],namespace:g.join(".")}),l=r[d];l||(l=r[d]=[],l.delegateCount=0,(!v.setup||!1===v.setup.call(c,g,s))&&b["@bind"]in c&&b.bind(c,d,s));v.add&&v.add.call(c,f);q?l.splice(l.delegateCount++,0,f):l.push(f);h.global[d]=!0});c=null}},
global:{},remove:function(c,e){var d=b._data(c),f,q;if(f=d.events){var y=e.selector,r=e.handler;(e.type||"").replace(b.rword,function(s){var w=k.exec(s)||[],u=q=w[1],w=w[2];if(u){s=m[u]||{};for(var u=(y?s.delegateType:s.bindType)||u,z=f[u]||[],A=z.length,w=w?RegExp("(^|\\.)"+w.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null,l=0,p;l<z.length;l++)if(p=z[l],q===p.origType&&(!r||r.uniqueNumber===p.uniqueNumber)&&(!w||w.test(p.namespace))&&(!y||y===p.selector||"**"===y&&p.selector))z.splice(l--,
1),p.selector&&z.delegateCount--,s.remove&&s.remove.call(c,p);0===z.length&&A!==z.length&&((!s.teardown||!1===s.teardown.call(c,w,d.handle))&&b["@bind"]in c&&b.unbind(c,u,d.handle),delete f[u])}else for(u in f)h.unbind(c,b.mix({},e,{type:u+s}))});b.isEmptyObject(f)&&(delete d.handle,b._removeData(c,"events"))}},trigger:function(c){if(!this||!(3===this.nodeType||8===this.nodeType)){var e=b.hasOwn(c,"type")?c.type:c,d=b.hasOwn(c,"namespace")?c.namespace.split("."):[],f,k,q,r;if(!s.test(e+h.triggered)&&
(0<=e.indexOf(".")&&(d=e.split("."),e=d.shift(),d.sort()),this||h.global[e])){c="object"===typeof c?c.originalEvent?c:new b.Event(e,c):new b.Event(e);c.type=e;c.isTrigger=!0;c.namespace=d.join(".");c.namespace_re=c.namespace?RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;k=0>e.indexOf(":")?"on"+e:"";c.result=void 0;c.target||(c.target=this);var u=b.slice(arguments);u[0]=c;var w=m[e]||{};if(!(w.trigger&&!1===w.trigger.apply(this,u))){r=[[this,w.bindType||e]];if(!w.noBubble&&!b.type(this,
"Window")){q=w.delegateType||e;d=s.test(q+e)?this:this.parentNode;for(f=this;d;d=d.parentNode)r.push([d,q]),f=d;if(f===(this.ownerDocument||document))r.push([f.defaultView||f.parentWindow||window,q])}for(f=0;f<r.length&&!c.propagationStopped;f++)d=r[f][0],c.type=r[f][1],(q=(b._data(d,"events")||{})[c.type]&&b._data(d,"handle"))&&q.apply(d,u),(q=k&&d[k])&&(q.apply&&!1===q.apply(d,u))&&c.preventDefault();c.type=e;if(!c.defaultPrevented&&(!w._default||!1===w._default.apply(this.ownerDocument,u))&&!("click"===
e&&"A"===this.nodeName)&&k&&b.isFunction(this[e])&&this.nodeType){(f=this[k])&&(this[k]=null);h.triggered=e;try{this[e]()}catch(A){}delete h.triggered;f&&(this[k]=f)}return c.result}}}},dispatch:function(c){var e=c.type,d=(b._data(this,"events")||{})[e]||[];if(d.length){var f=b.event.fix(c),k=d.delegateCount,q=b.slice(arguments),r=m[e]||{},s=[],w,u,z,A;q[0]=f;f.delegateTarget=this;if(!(r.preDispatch&&!1===r.preDispatch.call(this,f))){if(k&&!(f.button&&"click"===e))for(var l=f.target;l!=this;l=l.parentNode||
this)if(!0!==l.disabled||"click"!==e){w={};u=[];for(var p=0;p<k;p++)z=d[p],A=z.selector+" ",void 0===w[A]&&(w[A]=0<=b(A,this).index(l)),w[A]&&u.push(z);u.length&&s.push({elem:l,matches:u})}d.length>k&&s.push({elem:this,matches:d.slice(k)});for(p=0;p<s.length&&!f.propagationStopped;p++){d=s[p];f.currentTarget=d.elem;for(k=0;k<d.matches.length&&!f.isImmediatePropagationStopped;k++)if(z=d.matches[k],!f.namespace||f.namespace_re&&f.namespace_re.test(z.namespace))f.handleObj=z,e=((m[z.origType]||{}).handle||
z.handler).apply(d.elem,q),z.times--,0===z.times&&h.unbind(d.elem,z),void 0!==e&&(f.result=e,!1===e&&(f.preventDefault(),f.stopPropagation()))}r.postDispatch&&r.postDispatch.call(this,f);return f.result}}},fix:function(c){if(!c.originalEvent){var e=c;c=b.Event(e);for(var d in e)d in c||(c[d]=e[d]);c.target||(c.target=c.srcElement||document);3===c.target.nodeType&&(c.target=c.target.parentNode);c.metaKey=!!c.ctrlKey;d=h["fix"+q[c.type]];"function"===typeof d&&d(c,e)}return c}});h.bind=h.add;h.unbind=
h.remove;b.fn.extend({hover:function(b,d){return this.mouseenter(b).mouseleave(d||b)},delegate:function(b,d,f,h){return this.on(d,b,f,h)},live:function(c,d,f){b.log("$.fn.live() is deprecated");b(this.ownerDocument).on(c,this.selector,d,f);return this},one:function(b,d){return this.on(b,d,1)},undelegate:function(b,d,f){return 1===arguments.length?this.off(b,"**"):this.off(d,f,b)},die:function(c,d){b.log("$.fn.die() is deprecated");b(this.ownerDocument).off(c,d,this.selector||"**",d);return this},
fire:function(){var b=arguments;return this.each(function(){h.trigger.apply(this,b)})}});b.fn.trigger=b.fn.fire;"on_bind,off_unbind".replace(b.rmapper,function(c,d,f){b.fn[d]=function(c,k,m){if("object"===typeof c){for(var q in c)b.fn[d](this,q,k,c[q],m);return this}var r={};for(q=0;q<arguments.length;q++){var s=arguments[q];switch(typeof s){case "number":r.times=s;break;case "function":r.handler=s;break;case "object":b.mix(r,s,!1);break;case "string":"type"in r?r.selector=s.trim():r.type=s.trim()}}r.type||
b.error("\u5fc5\u987b\u6307\u660e\u4e8b\u4ef6\u7c7b\u578b");"on"===d&&!r.handler&&b.error("\u5fc5\u987b\u6307\u660e\u4e8b\u4ef6\u56de\u8c03");r.times=0<r.times?r.times:Infinity;return this.each(function(){h[f](this,r)})};b.fn[f]=function(){return b.fn[d].apply(this,arguments)}});"contextmenu,click,dblclick,mouseout,mouseover,mouseenter,mouseleave,mousemove,mousedown,mouseup,mousewheel,,keypress,keydown,keyup,blur,focus,focusin,focusout,abort,error,load,unload,resize,scroll,change,input,select,reset,submit".replace(b.rword,
function(c){q[c]=q[c]||(/key/.test(c)?"Keyboard":"HTML");b.fn[c]=function(b){return b?this.bind(c,b):this.fire(c)}});(!+"\v1"||!b.eventSupport("mouseenter"))&&"mouseenter_mouseover,mouseleave_mouseout".replace(b.rmapper,function(c,d,f){m[d]={delegateType:f,bindType:f,handle:function(c){var d,e=c.relatedTarget,h=c.handleObj;if(!e||e!==this&&!b.contains(this,e))c.type=h.origType,d=h.handler.apply(this,arguments),c.type=f;return d}}});b.support.focusin||"focusin_focus,focusout_blur".replace(b.rmapper,
function(c,d,f){var k=0,q=function(c){c=h.fix(c);b.mix(c,{type:d,isSimulated:!0});h.trigger.call(c.target,c)};m[d]={setup:function(){0===k++&&document.addEventListener(f,q,!0)},teardown:function(){0===--k&&document.removeEventListener(f,q,!0)}}});try{document.createEvent("MouseScrollEvents"),m.mousewheel={bindType:"DOMMouseScroll",delegateType:"DOMMouseScroll"},b.eventSupport("mousewheel")&&delete m.mousewheel}catch(r){}"function"===typeof b.fixEvent&&b.fixEvent();return b});K("fx",["css"],function(b){function f(c){if(c.queue){for(var e=
1,g=y.length,h;h=y[--g];)if(h.node===c.node){h.positive.push(c);e=0;break}e&&y.unshift(c)}else y.push(c);null===f.id&&(f.id=setInterval(d,1E3/b.fps))}function d(){for(var b=y.length;0<=--b;)if(!y[b].paused){var c;if(c=y[b].node)a:{c=y[b];var d=b,e=c.node,g=+new Date;if(c.startTime){var g=(g-c.startTime)/c.duration,h=c.gotoEnd||1<=g,k=A.updateHooks;if(c.update)for(var m=0,r=void 0;r=c.props[m++];)(k[r.type]||k._default)(e,g,h,r);if(h){c.after&&c.after(e,c);c.complete&&c.complete(e,c);c.revert&&c.negative.length&&
(Array.prototype.unshift.apply(c.positive,c.negative.reverse()),c.negative=[]);e=c.positive.shift();if(!e){c=!1;break a}y[d]=e;e.positive=c.positive;e.negative=c.negative}else c.step&&c.step(e,c)}else c.before&&c.before(e,c),c.props&&q(c.node,c,d),c.props=c.props||[],E[c.method||"noop"](e,c),c.startTime=g;c=!0}c||y.splice(b,1)}y.length||(clearInterval(f.id),f.id=null)}function h(c){if(isFinite(c))return{duration:c};for(var d={},e=1;e<arguments.length;e++){var f=d,g=arguments[e];switch(b.type(g)){case "Object":m(f,
g,"after");m(f,g,"before");b.mix(f,g);break;case "Number":f.duration=g;break;case "String":f.easing=g;break;case "Function":f.complete=g}}d.duration="number"===typeof d.duration?d.duration:400;d.queue=!!(null==d.queue||d.queue);d.easing=b.easing[d.easing]?d.easing:"swing";d.update=!0;return d}function m(b,c,d){if("function"===typeof c[d]){var e=b[d];b[d]=e?function(b,f){e(b,f);c[d](b,f)}:c[d]}delete c[d]}function s(c,d){if(isFinite(c[d]))return c[d];var e=b.css(c,d);return!e||"auto"===e?0:e}function k(b){for(var c in v)if(v[c].test(b))return c;
return"_default"}function q(c,d,e){var f,h,n,m=[],r=[],q={},v=b.isHidden(c),w=d.props,y=d.easing;if(!w.length){for(var z in w)if(w.hasOwnProperty(z)){f=w[z];var A=k(z),B=s(c,z);"toggle"===f&&(f=v?"show":"hide");"show"===f?(d.method=f,f=B,B=0,b.css(c,z,0)):"hide"===f&&(d.method=f,q[z]=B,f=0);if("color"===A)h=[g(B),g(f)];else if(B=parseFloat(B),h=u.exec(f)){f=parseFloat(h[2]);n=b.cssNumber[z]?0:h[3]||"px";if(h[1]){h=h[1].charAt(0);if(n&&"px"!==n&&("+"===h||"-"===h))b.css(c,z,(f||1)+n),B*=(f||1)/parseFloat(b.css(c,
z)),b.css(c,z,B+n);h&&(f=eval(B+h+f))}h=[B,f]}else h=[0,0];B=h[0];f=h[1];B+""!==f+""&&(A={name:z,from:B,to:f,type:A,easing:b.easing[y],unit:n},m.push(A),r.push(b.mix({},A,{to:B,from:f})))}d.props=m;d.revertProps=r;d.orig=q}if(d.record||d.revert){c={};for(z in d)c[z]=d[z];delete c.revert;c.props=d.revertProps.concat();c.revertProps=d.props.concat();b.timeline[e].negative.push(c)}}function r(b,c){var d={};w.concat.apply([],w.slice(0,c)).forEach(function(c){d[c]=b;~c.indexOf("margin")&&(A.updateHooks[c]=
function(b,d,e,f){d=e?f.to:f.from+f.easing(d)*(f.to-f.from);b.style[c]=Math.max(d,0)+f.unit})});return d}function c(c,d){var e=b.css(c,"position"),f=b.css(c,"width"),g=b.css(c,"height"),h=b.css(c,"left"),k=b.css(c,"top"),m=b.css(c,"opacity");c.style.position="relative";b.mix(d.props,{width:"*=1.5",height:"*=1.5",opacity:"hide",left:"-="+0.25*parseInt(f),top:"-="+0.25*parseInt(g)});d.after=function(){c.style.position=e;c.style.width=f;c.style.height=g;c.style.left=h;c.style.top=k;b.css(c,"opacity",
m)}}function e(c){var d;b.applyShadowDOM(function(b,e,f){b=f.createTextRange();f.style.color=c;d=b.queryCommandValue("ForeColor")});return[d&255,(d&65280)>>8,(d&16711680)>>16]}function g(b){b=b.toLowerCase();var c=[];if(z[b])return z[b];if(0===b.indexOf("rgb")){var d=b.match(/(\d+%?)/g),f=-1!==d[0].indexOf("%")?2.55:1;return z[b]=[parseInt(d[0])*f,parseInt(d[1])*f,parseInt(d[2])*f]}return"#"===b.charAt(0)?(4===b.length&&(b=b.replace(/([^#])/g,"$1$1")),b.replace(/\w{2}/g,function(b){c.push(parseInt(b,
16))}),z[b]=c):window.VBArray?z[b]=e(b):z.white}var v={color:/background$|color/i,scroll:/scroll/i},u=/^([+\-/*]=)?([\d+.\-]+)([a-z%]*)$/i;b.easing={linear:function(b){return b},swing:function(b){return-Math.cos(b*Math.PI)/2+0.5}};b.fps=30;var y=b.timeline=[];f.id=null;var A=b.fn.animate=b.fn.fx=function(c){var d=h.apply(null,arguments),e,g;for(g in c)e=b.cssName(g)||g,g!==e&&(c[e]=c[g],delete c[g]);for(e=0;g=this[e++];)f(b.mix({positive:[],negative:[],node:g,props:c},d));return this};A.updateHooks=
{_default:function(c,d,e,f){b.css(c,f.name,(e?f.to:f.from+f.easing(d)*(f.to-f.from))+f.unit)},color:function(b,c,d,e){var f=e.easing(c);c=d?e.to:e.from.map(function(b,c){return Math.max(Math.min(parseInt(b+(e.to[c]-b)*f,10),255),0)});b.style[e.name]="rgb("+c+")"},scroll:function(b,c,d,e){b[e.name]=d?e.to:e.from+e.easing(c)*(e.to-e.from)}};var E={noop:b.noop,show:function(c,d){if(1===c.nodeType&&b.isHidden(c)){var e=b._data(c,"olddisplay");if(!e||"none"===e)e=b.parseDisplay(c.nodeName),b._data(c,"olddisplay",
e);c.style.display=e;if(("width"in d.props||"height"in d.props)&&"inline"===e&&"none"===b.css(c,"float"))b.support.inlineBlockNeedsLayout?"inline"===e?c.style.display="inline-block":(c.style.display="inline",c.style.zoom=1):c.style.display="inline-block"}},hide:function(c,d){if(1===c.nodeType&&!b.isHidden(c)){var e=b.css(c,"display"),f=c.style;"none"!==e&&!b._data(c,"olddisplay")&&b._data(c,"olddisplay",e);var g;if("width"in d.props||"height"in d.props)g=[f.overflow,f.overflowX,f.overflowY],f.overflow=
"hidden";var h=d.after||b.noop;d.after=function(c,d){if("hide"===d.method){c.style.display="none";for(var e in d.orig)b.css(c,e,d.orig[e])}g&&["","X","Y"].forEach(function(b,c){f["overflow"+b]=g[c]});h(c,d)}}},toggle:function(c,d){b[b.isHidden(c)?"show":"hide"](c,d)}};b.fn.delay=function(b){return this.fx(b)};b.fn.pause=function(){return this.each(function(){for(var b=0,c;c=y[b];b++)c.node===this&&(c.paused=new Date-0)})};b.fn.resume=function(){var b=new Date;return this.each(function(){for(var c=
0,d;d=y[c];c++)d.node===this&&(d.startTime+=b-d.paused,delete d.paused)})};b.fn.stop=function(b,c){var d=parseInt((b?"1":"")+(c?"1":"0"),2);return this.each(function(){for(var b=0,c;c=y[b];b++)if(c.node===this)switch(c.gotoEnd=!0,d){case 0:c.update=!1;c.revert&&c.negative.shift();break;case 1:c.revert&&c.negative.shift();break;case 2:delete c.node;break;case 3:c.positive.forEach(function(b){b.gotoEnd=!0}),c.negative.forEach(function(b){b.gotoEnd=!0})}})};var w=["height marginTop marginBottom borderTopWidth borderBottomWidth paddingTop paddingBottom".split(" "),
"width marginLeft marginRight borderLeftWidth borderRightWidth paddingLeft paddingRight".split(" "),["opacity"]],G={slideDown:r("show",1),slideUp:r("hide",1),slideToggle:r("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}};b.each(G,function(c,d){b.fn[c]=function(){var b=[].concat.apply([d],arguments);return this.fx.apply(this,b)}});["toggle","show","hide"].forEach(function(c,d){var e=b.fn[c];b.fn[c]=function(b){if(!arguments.length||"boolean"===typeof b)return e.apply(this,
arguments);var d=[].concat.apply([r(c,3)],arguments);return this.fx.apply(this,d)}});b.fn.puff=function(){var b=[].concat.apply([{},{before:c}],arguments);return this.fx.apply(this,b)};var z={black:[0,0,0],gray:[128,128,128],white:[255,255,255],orange:[255,165,0],red:[255,0,0],green:[0,128,0],yellow:[255,255,0],blue:[0,0,255]};b.parseColor=g;try{b.query.pseudoHooks.animated=function(b){for(var c=0,d;d=y[c++];)if(b===d.node)return!0}}catch(K){}return b});K("ajax",this.FormData?["flow"]:["ajax_fix"],
function(b){function f(c){c=b.Object.merge({},K,c);if("boolean"!==typeof c.crossDomain){var d=v.exec(c.url.toLowerCase());c.crossDomain=!(!d||!(d[1]!==u[1]||d[2]!==u[2]||(d[3]||("http:"===d[1]?80:443))!==(u[3]||("http:"===u[1]?80:443))))}c.data&&"object"!==typeof c.data&&b.error("data\u5fc5\u987b\u4e3a\u5bf9\u8c61");d=b.param(c.data);c.querystring=d||"";c.url=c.url.replace(/#.*$/,"").replace(/^\/\//,u[1]+"//");c.type=c.type.toUpperCase();c.hasContent=!e.test(c.type);c.hasContent||(d&&(c.url+=(g.test(c.url)?
"&":"?")+d),!1===c.cache&&(c.url+=(g.test(c.url)?"&":"?")+"_time="+Date.now()));return c}function d(b){var c=typeof b;return null==b||"object"!==c&&"function"!==c}var h=this,m=h.document,s=/%20/g,k=/\r?\n/g,q=encodeURIComponent,r=decodeURIComponent,c=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,e=/^(?:GET|HEAD)$/,g=/\?/,v=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,u=v.exec(m.URL.toLowerCase())||[],y=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(u[1]),B=["XMLHttpRequest","ActiveXObject('Msxml2.XMLHTTP.6.0')",
"ActiveXObject('Msxml2.XMLHTTP.3.0')","ActiveXObject('Msxml2.XMLHTTP')"];"1"[0]||(B[0]="file:"===location.protocol?"!":B[0]);for(var A=0,w;w=B[A++];)try{if(eval("new "+w)){b.xhr=new Function("return new "+w);break}}catch(G){}var z={xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript",script:"text/javascript, application/javascript","*":["*/"]+["*"]},K={type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",async:!0,jsonp:"callback"};
b.ajax=function(c){(!c||!c.url)&&b.error("\u53c2\u6570\u5fc5\u987b\u4e3aObject\u5e76\u4e14\u62e5\u6709url\u5c5e\u6027");c=f(c);var d=new b.XMLHttpRequest(c);"complete success error".replace(b.rword,function(b){"function"===typeof c[b]&&(d.bind(b,c[b]),delete c[b])});var e=c.dataType,g=b.ajaxTransports;b.mix(d,g[c.form?"upload":e]||g.xhr);d.preproccess&&(e=d.preproccess()||e);c.contentType&&d.setRequestHeader("Content-Type",c.contentType);d.setRequestHeader("Accept",z[e]?z[e]+", */*; q=0.01":z["*"]);
for(var h in c.headers)d.setRequestHeader(h,c.headers[h]);c.async&&0<c.timeout&&(d.timeoutID=setTimeout(function(){d.abort("timeout")},c.timeout));d.request();return d};"get,post".replace(b.rword,function(c){b[c]=function(d,e,f,g){b.isFunction(e)&&(g=g||f,f=e,e=void 0);return b.ajax({type:c,url:d,data:e,success:f,dataType:g})}});b.mix({ajaxTransports:{xhr:{request:function(){var c=this,d=this.options;b.log("XhrTransport.request.....");var e=this.transport=new b.xhr;d.crossDomain&&!("withCredentials"in
e)&&b.error("\u672c\u6d4f\u89c8\u5668\u4e0d\u652f\u6301crossdomain xhr");d.username?e.open(d.type,d.url,d.async,d.username,d.password):e.open(d.type,d.url,d.async);this.mimeType&&e.overrideMimeType&&e.overrideMimeType(this.mimeType);this.requestHeaders["X-Requested-With"]="XMLHTTPRequest";for(var f in this.requestHeaders)e.setRequestHeader(f,this.requestHeaders[f]);f=this.options.dataType;"responseType"in e&&/^(blob|arraybuffer|text)$/.test(f)&&(e.responseType=f,this.useResponseType=!0);e.send(d.hasContent&&
(this.formdata||this.querystring)||null);!d.async||4===e.readyState?this.respond():null===e.onerror?e.onload=e.onerror=function(b){this.readyState=4;this.status="load"===b.type?200:500;c.respond()}:e.onreadystatechange=function(){c.respond()}},respond:function(c,d){var e=this.transport;if(e)try{var f=4===e.readyState;if(d||f)if(e.onerror=e.onload=e.onreadystatechange=b.noop,d)!f&&"function"===typeof e.abort&&e.abort();else{var g=e.status;this.responseText=e.responseText;try{var h=e.responseXML}catch(k){}this.useResponseType&&
(this.response=e.response);h&&h.documentElement&&(this.responseXML=h);this.responseHeadersString=e.getAllResponseHeaders();try{var m=e.statusText}catch(r){m="firefoxAccessError"}!g&&y&&!this.options.crossDomain?g=this.responseText?200:404:1223===g&&(g=204);this.dispatch(g,m)}}catch(q){d||this.dispatch(500,q+"")}}},jsonp:{preproccess:function(){var c=m.URL.replace(/(#.+|\W)/g,""),d=this.options,e=this.jsonpCallback=d.jsonpCallback||"jsonp"+setTimeout("1");d.url=d.url+(g.test(d.url)?"&":"?")+d.jsonp+
"="+c+"."+e;h[c][e]=function(c){b[e]=c};return"script"}},script:{request:function(){var c=this.options,d=this.transport=m.createElement("script");b.log("ScriptTransport.sending.....");c.charset&&(d.charset=c.charset);var e=this;d.onerror=d[null===d.onerror?"onload":"onreadystatechange"]=function(){e.respond()};d.src=c.url;b.head.insertBefore(d,b.head.firstChild)},respond:function(c,d){var e=this.transport;if(e){var f=/loaded|complete|undefined/i.test(e.readyState);if(d||f)e.onerror=e.onload=e.onreadystatechange=
null,(f=e.parentNode)&&f.removeChild(e),d||this.dispatch.apply(this,"function"===typeof b[this.jsonpCallback]?[500,"error"]:[200,"success"])}}},upload:{preproccess:function(){var c=this.options,d=new FormData(c.form);b.each(c.data,function(b,c){d.append(b,c)});this.formdata=d}}},ajaxConverters:{text:function(b){return b||""},xml:function(c,d){return void 0!==d?d:b.parseXML(c)},html:function(c){return b.parseHTML(c)},json:function(c){return b.parseJSON(c)},script:function(c){b.parseJS(c)},jsonp:function(){var c=
b[this.jsonpCallback];delete b[this.jsonpCallback];return c}},getScript:function(c,d){return b.get(c,null,d,"script")},getJSON:function(c,d,e){return b.get(c,d,e,"jsonp")},upload:function(c,d,e,f,g){b.isFunction(e)&&(g=f,f=e,e=void 0);return b.ajax({url:c,type:"post",dataType:g,form:d,data:e,success:f})},param:function(c,e){if(!b.isPlainObject(c))return"";e="boolean"===typeof e?e:!0;var f=[],g,h;for(g in c)if(c.hasOwnProperty(g))if(h=c[g],g=q(g),d(h))f.push(g,"=",q(h+""),"&");else if(Array.isArray(h)&&
h.length)for(var k=0,m=h.length;k<m;k++)d(h[k])&&f.push(g,e?q("[]"):"","=",q(h[k]+""),"&");f.pop();return f.join("").replace(s,"+")},unparam:function(c,d){var e={};if(!c||!b.type(c,"String"))return e;c=c.replace(/^[^?=]*\?/ig,"").split("#")[0];for(var f=c.split("&"),g,h,k,m=0,q=f.length;m<q;++m){g=f[m].split("=");h=r(g[0]);try{k=r(g[1]||"")}catch(s){b.log(s+"decodeURIComponent error : "+g[1],3),k=g[1]||""}h=h.replace(/\[\]$/,"");g=e[h];void 0===g?e[h]=k:Array.isArray(g)?g.push(k):e[h]=[g,k]}return d?
e[d]:e},serialize:function(c){var d={};b.filter(c||[],function(b){return b.name&&!b.disabled&&(!0===b.checked||/radio|checkbox/.test(b.type))}).forEach(function(c){var e=b(c).val(),e=Array.isArray(e)?e:[e],e=e.map(function(b){return b.replace(k,"\r\n")});c=d[c.name]||(d[c.name]=[]);c.push.apply(c,e)});return b.param(d,!1)}});B=b.ajaxTransports;b.mix(B.jsonp,B.script);b.mix(B.upload,B.xhr);b.XMLHttpRequest=b.factory(b.Observer,{init:function(c){b.mix(this,{responseHeadersString:"",responseHeaders:{},
requestHeaders:{},querystring:c.querystring,readyState:0,uniqueID:setTimeout("1"),status:0});this.addEventListener=this.bind;this.removeEventListener=this.unbind;this.setOptions("options",c)},setRequestHeader:function(b,c){this.requestHeaders[b]=c;return this},getAllResponseHeaders:function(){return 4===this.readyState?this.responseHeadersString:null},getResponseHeader:function(b,d){if(4===this.readyState){for(;d=c.exec(this.responseHeadersString);)this.responseHeaders[d[1]]=d[2];d=this.responseHeaders[b]}return void 0===
d?null:d},overrideMimeType:function(b){this.mimeType=b;return this},toString:function(){return"[object XMLHttpRequest]"},abort:function(b){this.transport&&this.respond(0,b||"abort");return this},dispatch:function(c,d){if(this.transport){this.readyState=4;var e="error";if(200<=c&&300>c||304===c)if(e="success",204===c)d="nocontent";else if(304===c)d="notmodified";else if("undefined"===typeof this.response){var f=this.options.dataType||this.options.mimeType;f||(f=this.getResponseHeader("Content-Type")||
"",f=f.match(/json|xml|script|html/)||["text"],f=f[0]);try{this.response=b.ajaxConverters[f].call(this,this.responseText,this.responseXML)}catch(g){e="error",d="parsererror : "+g}}this.status=c;this.statusText=d;this.timeoutID&&(clearTimeout(this.timeoutID),delete this.timeoutID);this.rawFire=!0;this._transport=this.transport;"success"===e?this.fire(e,this.response,d,this):this.fire(e,this,d);this.fire("complete",this,d);delete this.transport}}});"function"===typeof b.fixAjax&&b.fixAjax();return b})}}(self,
self.document);